.content h2 {
    color: #0F3B61;
    font-size: 2em;
    font-weight: 600;    
}
.content p {
    color: #0F3B61;
    font-size: 1.1em;
}
.content h4 {
    padding-top: 10px;
    font-size: 1.3em;
    color: #0F3B61;
}
.content a {
    text-decoration: none;
    color: rgb(50, 147, 231);
    font-size: 1em;
    cursor: pointer;
}

.content {
    padding: 80px 0;
}
@media only screen and (max-width: 991px) {
    .content {
        padding: 40px 0;
    }
}
.content img {
    padding-bottom: 50px;
}

/*Paediatric Parenteral Nutrition Toole*/
.ppn-details {
    padding-top: 0 !important;
}
.ppn-tool .submit{
    margin: 0px !important;
    background-color: #45BCC9;
    color: white !important;
    font-size: 1.2em;
    padding: 8px 20px !important;
    border: none;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.ppn-tool .submit-container {
    position: relative;    
}
@media only screen and (max-width: 580px) {
    .ppn-tool .submit-container {
        height: 100px;
    }
}
.ppn-tool .submit:focus {
    box-shadow: none !important;
    background-color: #45BCC9;
    color: white !important;
}
.ppn-tool label {
    color: #999999;
    font-size: 0.85em;
    padding-top: 40px;
    padding-left: 0 !important;
}
.ppn-tool .form-weight, .ppn-tool .form-date {
    max-width: 180px;
}
.ppn-tool .form-date {
    padding-left: 0;
}
.ppn-tool .form-weight {
    max-width: 115px;
    text-align: center;
}
.ppn-tool .outer-weight {
    text-align: left !important;
    width: fit-content !important;
    margin: 0 auto !important;
}
#weight_label {
    padding-left: 0 !important;
}
#premature-checkbox {
    padding-top: 10px;
    padding-left: 10px !important;
    font-size: 0.95em;
    color: #0f3b60;
}
.ppn-tool .form-weight:focus {
    box-shadow: none !important;
    border-bottom: 2px solid #45BCC9;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
  }
.form-control:disabled {
    color: #c9c9c9 !important;
    border-bottom: 2px solid #c9c9c9 !important;
}
#dob {
    cursor: pointer;
}
.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
    color: #0f3b60;
    background-color: #fff;
    border-bottom: 2px solid #4dbdc6;
    max-width: 110px;
    box-shadow: none !important;
}
.datepicker {
    background-color: white !important;
}
.datepicker table{
    background-color:#fff !important;
}
.datepicker thead tr:first-child th, .datepicker tfoot tr th {
    color: #0f3b60;
}
.datepicker.dropdown-menu th, .datepicker.dropdown-menu td {
    color: #4dbdc6;
}
.datepicker table tr td.today {
    color: #fff !important;
}
.datepicker table tr td.today, .datepicker table tr td.today:hover, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover {
    background-color: #0f3b60 !important;
    background-image: none !important;
}
.datepicker table tr td.old, .datepicker table tr td.new {
    color: #4dbec659 !important;
}
.table {
    margin-top: 50px;
}
/*--PPN Tool hide and show--*/
.table-data {
    display: none !important;
}
.show-table-data {
    display: block !important;
}
.space-bottom {
    padding-bottom: 50px;
    color: #0f3b60;
    margin-top: -50px;
}
/*Information float toggle*/
.floating-info {    
    padding: 7px 10px;    
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    max-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #B7B9BC;
    border-radius: 8px;    
    font-size: 0.86em;
}
.floating-info p {
    margin: 0;
}
.info-link i {
    color: #0F3B61 !important;
}
.info-link i:hover {
    color: #3DA6AF !important;
}
.icon-low i {
    color: #9E05BC !important;
}
.icon-low i:hover {
    color: #D507FF !important;
}
.icon-medium i {
    color: #D35F17 !important;
}
.icon-medium i:hover {
    color: #FF6F1C !important;
}
.icon-important i{
    color: #C60024 !important;
}
.icon-important i:hover{
    color: #FF002E !important;
}
.icon-mix i {
    color: #29A07C !important;
}
.icon-mix i:hover {
    color: #38D8A5 !important;
}
.info-link:hover + .floating-info {
    display: block !important;
}

/*Table style*/
.table {
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow: hidden;
    border-radius: 10px;    
}
.table thead {
    background-color: #362F4B;
    color: white;
}
.table thead th {
    border: none !important;
}
.table tbody {
    color: #7F7F7F;
}
.table td {
    border: none !important;
}
.table .row-dark {
    background-color: #F6F6F6;
}
.table tbody tr:hover {
    color: #2B2B2B;
    cursor: pointer;
}
.table th,table td {
    width:50%;
}

/*Fraction style*/
.frac {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    letter-spacing: 0.001em;
    text-align: center;
}
.frac > span {
    display: block;
    padding: 0.1em;
}
.frac span.bottom {
    border-top: thin solid black;
}
.frac span.symbol {
    display: none;
} 

/*Modal*/

/* The Modal (background) */
.ppn-tool .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1030; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
.ppn-tool .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    max-width: 900px;
    min-width: 700px;
}
  
  /* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}  
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}  
  
  /* The Close Button */
.close {
    position: absolute;
    right: 0;
    color: grey;  
    font-size: 28px;
    font-weight: bold;
    margin-right: 8px;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.ppn-tool .modal-body {
    padding: 4px 4px;
}
.ppn-tool #myBtn {
    background-color: transparent;
    border: none;
    color: #0F3B61;
}
.ppn-tool #myBtn:hover {
    color: #3DA6AF;
}

/*--Advice Guides--*/
.advice_guides img {
    border: 1px solid #cccccc;
    padding: 0;
}
.advice_guides img:hover {
    border-color: #45BCC9;
    
}
.advice_guides .image_row {
    padding-bottom: 50px;
}


/*--Advice Videos--*/
.advice-videos h2 {
    padding-bottom: 15px;
}
.iframe-container {
    position: relative;    
    height: 0;
    margin-bottom: 40px;
    width: 100%;
    padding-bottom: 56.25%;
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.advice-videos img {
    opacity: 1;
    width: 100%;
    padding: 10px 0px;
    cursor: pointer;
    -webkit-transition: opacity 0.5s ease; 
    transition: opacity 0.5s ease;
}
.advice-videos img:hover {
    opacity: 0.5;
}
.advice-videos h5 {
    font-weight: 400;
    font-size: 1em;
    padding-left: 5px;
}
@media only screen and (max-width: 991px) {
       .iframe-container {
        width: 100%;
        padding-bottom: 56.25%;
       }
       .advice-videos img {
        width: 30vw;
    }
}
@media only screen and (max-width: 767px) {
    .advice-videos img {
     width: 80vw;
    }
    .advice-videos .videos {
        text-align: center;
    }
}

/*--Contact page--*/
.content .contact h4 {
    text-align: center;
}
.content .contact-form, .content .announcement-form {
    padding: 20px 0;
    color: #999999;
}
.content label {
    font-size: 0.85em;
    padding-top: 16px;
    padding-left: 10px;
}
.content .contact-form input, .content .announcement-form input {
    color: #555555;
    font-weight: 500;
    padding: 15px 15px;
}
.content .contact-form textarea, .content .announcement-form textarea {
    color: #555555;
    font-weight: 500;
    padding: 15px 15px;
}
.content .form-control {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: unset;
    border-bottom: 2px solid #D9D9D9;
}
.content .submit {
    margin: 30px 0 0 15px;
    background-color: #45BCC9;
    color: white !important;
    font-size: 1.2em;
    padding: 8px 20px !important;
    border: none;
    border-radius: 25px;
    
}
.content .submit:hover {
    color: #D8D8D8 !important;
    background-color: #3DA6AF !important;
}
.content .contact-form input:focus, .content .announcement-form input:focus	 {
    box-shadow: none;
    border-bottom: 2px solid #45BCC9;
}
.content .contact-form textarea:focus, .content .announcement-form textarea:docus	 {
    box-shadow: none;
    border-bottom: 2px solid #45BCC9;
}
.submit-container {
    text-align: center;
}

/* Announcements page */
.announcements-title {
    text-align: center;
}

.announcement-form .row {
    justify-content: center;
}

.announcement__btn {
    margin-bottom: 10px;
    padding: 5px 15px;
    border-radius: 100px;
    border: none; 
    color: white !important;
    width: 100%;
}

.announcement__btn--edit {
    background: #45BCC9;
}

.announcement__btn--delete, .announcement__btn--delete:hover {
    /* background: rgb(155, 14, 14) ; */
    background: none;
    color:rgb(155, 14, 14) !important;
    text-decoration: none;
    display: block;
    text-align: center;
}

.announcement__btn--deactivate, .announcement__btn--deactivate:hover {
    background: rgb(155, 14, 14) ;
    text-decoration: none; 
    display: block;
    text-align: center;
}

.announcement__btn--activate, .announcement__btn--activate:hover {
    background: rgb(9, 143, 49) ;
    text-decoration: none; 
    display: block;
    text-align: center;
}

.form-control:focus {
    box-shadow: none !important;
}

#image {
    height: auto !important;
}
#current-image {
    margin-top: 10px;
}

#current-image > .image-preview {
    width: 200px;
    padding: 10px;
    border: 1px solid #45BCC9;
    border-radius: 8px;
}

.cancel-form__btn {
    display: none;
    background: rgb(155, 14, 14) !important;
    font-weight: 500;
    margin: 30px 0 0 15px;
    color: white !important;
    font-size: 1.2em;
    padding: 8px 20px !important;
    border: none;
    border-radius: 25px;
}

.cancel-form__btn:hover {
    color: #D8D8D8 !important;
    background-color: rgb(141, 14, 14) !important;
}

#current-image > .delete-image__btn {
    background: rgb(155, 14, 14);
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 100px;
    border: none;
    color: white !important;
    width: 200px;
}

.description-cell {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(3 * 1.8em);
}

.announcement-table__image {
    width: 100px;
    height: 100px;
}

/*--Published Guidelines--*/
.left-row i {
    float: left;
    font-size: 1.5em;
    padding: 5px 10px;  
}
.right-row {
    float: right;
    width: calc(100% - 3em);
}
#clear {
    clear: both;
}

.filter-btn {
    border-radius: 10px;
    padding: 4px 14px;
    margin: 5px;
    cursor: pointer;
    font-size: 16px; 
    background: transparent;
}

.filter-btn--category {
    color:#45BCC9;
    border: 1px solid #45BCC9;
}

.filter-btn--Gastroenterology {
    color:#DEC58D;
    border: 1px solid #DEC58D;
}

.filter-btn--Hepatology {
    color:#F0ACA9;
    border: 1px solid #F0ACA9;
}

.filter-btn--Nutrition {
    color:#C2D680;
    border: 1px solid #C2D680;
}

.filter-btn--category.active {
    background-color: #45BCC9;
    color: white;
}

.filter-btn--Gastroenterology.active {
    background-color: #DEC58D;
    color: white;
}

.filter-btn--Hepatology.active {
    background-color: #F0ACA9;
    color: white;
}

.filter-btn--Nutrition.active {
    background-color: #C2D680;
    color: white;
}

@media only screen and (max-width: 580px) {
    .left-row i {
        float: none;
        font-size: 1.8em;
        padding: 10px 10px 10px 10px;
        height: 1.5em;
        margin-left: calc(50% - 23.35px);
    }
    .right-row {
        float: none;
        width: 100%;
    }    
}

/*Quick Access*/
.quick-access img {
    max-width: 100%;
}
.quick-access h2 {
    padding-bottom: 30px;
}
.quick-access .mobile {
    display: none;
}
@media only screen and (max-width: 770px) {
    .quick-access .desktop {
        display: none;
    }
    .quick-access .mobile {
        display: block;
    }   
}