.navbar-custom .topnav-menu .nav-link.active {background-color: rgba(255, 255, 255, 0.2);}
.navbar-custom,.logo-box {
    background-color:#1394d5;/* สีหลัก navbar */
}
.content-page {
    margin-left:0!important;
}
.content-page .footer {
    left: 0!important; 
}
.enlarged .content-page {
    margin-left: 0px !important; }
.enlarged .footer {
    left: 0px !important; }
.back-to-top {position: fixed;bottom: 25px;right: 25px;display: none;z-index:9999;opacity:0.5;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;}
.badge-normal {color: #fff;background-color: #08bb34; }
.badge-abnormal {color: #fff;background-color: #eb0e0e; }
.highlight{background-color:rgb(255, 238, 0);}
.form-control.is-required {
    border-color: rgba(0, 153, 255, 0.5);
    padding-right: calc(1.5em + 0.9rem);
    /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f1556c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23f1556c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E"); */
    background-image: url("../images/is-required.png");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.is-required:focus {
    border-color: rgba(0, 153, 255, 0.8);
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 0, 0,0.25);
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.25); 
}
textarea.form-control.is-required {
    padding-right: calc(1.5em + 0.9rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}
.custom-select.is-required {
    border-color: rgba(0, 153, 255, 0.5);
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    /* background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f1556c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23f1556c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);  */
    background-image: url("../images/is-required.png") no-repeat right 0.75rem center/8px 10px;
}
.custom-select.is-required:focus {
    border-color: rgba(0, 153, 255, 0.8);
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.25);
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.25); 
}
#md_confirm .modal-dialog {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
}
.page-link{cursor:pointer;}
.close-jq-toast-single {background-color:transparent!important;}
.modal-90 {min-width: 90%;}
.modal-90 .modal-content {min-height: 100vh;}
/* เปลี่ยนสีปุ่ม Confirm ของ SweetAlert2 เป็น Theme Primary*/
.swal2-confirm {background-color: #1471b7!important;} 
.icon-container {
    position: relative;
    display: inline-block;
}
.icon-container .fa {
    font-size: 48px; /* ขนาดไอคอน */
}
.icon-container .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: rgba(0, 0, 0, 0.5); *//* สีพื้นหลังของตัวหนังสือ */
    border-radius: 3px;
}
.icon-container .overlay-text-rightbuttom {
    position: absolute;
    bottom:2px;
    right:2px;
}