html,
body,
header,
#intro {
    height: 100%;
}
#intro {
    position: relative;
    overflow: hidden;
    cursor: default
}

#intro .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-attachment: fixed
}

#intro img, .view video {
    position: relative;
    display: block
}

#intro video.video-intro {
    z-index: -100;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: 1s opacity;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto
}

/*Universal*/
.dmciBgColor {
    background-color: #005CA2!important;
}

.dmciTextColor {
    color: #005CA2 !important;
}

/* Navbar*/
.iqsNav {
    padding: 0 !important;
    background-color: #005CA2;
}


.iqsnavBrandImg{
    width: 250px;
}

/* Mask */
#intro {
    /*background: url("../img/bg.jpg") no-repeat center center fixed;*/
    background: url("../img/bg.jpg");
    /*-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;*/
    background-size: cover;
    min-width: 100%;
    min-height: 100%;
}

.iqsHeaderShadow {
    text-shadow: 2px 2px rgba(0, 0, 0, 0.30);
}




/*Office Location*/
.iqsMap {
    height: 450px;
}

.iqsFrame {
   width: 400px;
}


/*Appointment form*/
.formBG {
    /*background: url("../img/book2.jpg") no-repeat center center fixed;*/
    background: url("../img/book2.jpg");
    /*-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;*/
    background-size: cover;
}

.AppointmentForm {
    opacity: .99;
    border-radius: 15px;
}

.iqsDivPadding {
    padding: 30px;
}


/*DAP Modal*/

.iqsDAPtextColor {
    color: black !important;
}


h1, h2, h3, h4, h5, h6, p, div {
    color: #005CA2;
}

.btn-primary {
    background-color: #005CA2 !important;
    color: white;
    font-weight: bold;
}

/*.btn-primary {
    background-color: #A8CFEC !important;
    color: #005CA2;
    font-weight: bold;
}*/

.ui-widget-header {
    background: none !important;
    border: none !important;
}

    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
        background: none !important;
        color: #005ca2 !important;
    }


        .ui-state-hover,
        .ui-widget-content .ui-state-hover,
        .ui-widget-header .ui-state-hover,
        .ui-state-focus,
        .ui-widget-content .ui-state-focus,
        .ui-widget-header .ui-state-focus,
        .ui-button:hover,
        .ui-button:focus {
            border: 1px solid #999999;
            background-color: #005CA2 !important;
            color: white !important;
            font-weight: normal;
        }

.btn-light.dropdown-toggle {
    background-color: white !important
}

/*.dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff!important;
    text-decoration: none;
    background-color: #005CA2!important;
}*/


.btnTime.btn:hover {
    outline: 0;
    box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.85) !important;
}

.modal-content {
    border-radius: 12px 12px 12px 12px !important;
}


}

.tblBooking{
    margin:0px 0px 0px 0px !important;
}


table.table-sm td, table.table-sm th {
     padding-top: .12rem; 
     padding-bottom: .12rem; 
}

.table-responsive {
    display: !important;
}





.returnToHomepage a {
    font-family: 'Kanit', sans-serif;
    color: #005CA2;
    font-weight: 200;
    text-decoration: none;
    border-bottom: 1px dashed #005CA2;
    border-radius: 2px;
    
}

.returnToHomepage{
    height: 100vh !important;
}

.returnToHomepage h2 {
    font-family: 'Kanit', sans-serif !important;
    margin-bottom: 45px;
}

.returnToHomepage h1 {
    font-family: 'Kanit', sans-serif !important;
    font-size: 186px;
    font-weight: 200;
    background: linear-gradient(130deg, #0094ff, #005CA2);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}


.btnTime {
    box-shadow: none!important;
}

.btnClose {
    padding: 0!important;
    margin:auto!important;
}




.btn {
    border-radius: .525rem !important;
    margin: .275rem !important;
    font-size: .85rem!important;
}

.alert {
    padding: 0!important;
}

.table thead th {
    border-bottom: none!important;
}

@supports (-webkit-overflow-scrolling: touch) {
    /* CSS specific to iOS devices */
}

@supports not (-webkit-overflow-scrolling: touch) {
    /* CSS for other than iOS devices */
}

/*// Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575px) {
    .btn {
        padding: .3rem 2rem !important;
        font-size: .75rem !important;
    }

    .mob {
        padding: 0.5rem 1rem !important;
    }
}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767px) {
    .btn {
        padding: .3rem 2rem !important;
        font-size: .85rem !important;
    }

    .mob {
        padding: 1.3rem 2rem !important;
    }
}

}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991px) {

    .btn {
        border-radius: .525rem !important;
        margin: .275rem !important;
        font-size: .85rem !important;
    }

}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199px) {
    .repCard, .clientCard {
        min-height: 366px !important;
    }

    .btn {
        border-radius: .525rem !important;
        margin: .275rem !important;
        font-size: .85rem !important;
    }

}

/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .repCard, .clientCard {
        min-height: 366px !important;
    }

    .btn {
        border-radius: .525rem !important;
        margin: .275rem !important;
        font-size: .85rem !important;
    }

}


.card, .navbar, .pagination .page-item.active .page-link {
    box-shadow: inset 0 1px 0px 0px rgba(255, 255, 255, 0), 0 2px 10px 0 rgba(0,0,0,.12)!important;
}


.pageNotFound {
    text-align: center;
}

.borderDefault {
    border-color: #ced4da;
}

.btnDisabled {
    background-color: #5F6368;
}