* , input {
    /*font-family: 'Prompt', sans-serif;*/
    font-family: 'Bai Jamjuree', sans-serif!important;
    font-weight: 300!important;
}
html {
    /*font-family: 'Prompt', sans-serif;*/
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
}

#navbarCollapse .navbar-nav{
    font-size:1.1rem;
}

#collapseChangePassword input {
    font-size: 1rem;
    line-height: 1;
}
    #collapseChangePassword i{
        margin-left:-40px;
        cursor:pointer;
    }

.covid19-trigger, .covid19-trigger-icon {
    position: fixed;
    left: auto;
    background-image: url("../images/BTN_COVID-19.png");
    background-size: cover;
}
.covid19-trigger-icon {
    width: 220px;
    height: 144px;
    top: 101px;
    /* right: 121px; */
    right: 1%;
    border: 0;
    /* border: 1px solid rgb(220,20,60); */
    border-radius: 12px;
    padding: 0;
    text-align: center;
    z-index: 5;
    cursor: pointer;
    color: white;
}
/*#home_license .card-body img .text {
    height: 216px;
    
}

#home_license .card:hover, img:hover ,.text:hover{
    transition: transform .5s ease;
    transform: scale(1.1);
    color: red !important; 
    font-weight:600 !important;
}
*/

#home_license img {
    height: 210px;
    object-fit: contain;
    width: 100%;
    transition: all .3s ease;
}

    #home_license img:hover {
        transform: scale(1.2);
    }

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
position: relative;
min-height: 100%;
}

/*#profile-info{
    overflow:overlay;
}*/
/*body {
  margin-bottom: 60px;
}*/

#profile-info .nav .nav-link {
    color: #000000!important;
}
#profile-info .nav.nav-tabs {
    border:none!important;
}
    #profile-info .nav.nav-tabs .nav-link.active {
        font-weight: 500;
        background-color: #e5e5e5;
        color: #000000;
    }

.accordion-body{
    word-break:break-word;
}
.invalid {
    background-color: #ffdddd;
}
span {
    color: #b9b9b9;
}
.bg-profile-menu {
    background-color: #0C112E;
}
footer {
    background-color: #0C112E;
    color: #ffffff;
}
footer ul li{
    list-style:none; 
}
    footer ul li a {
        text-decoration: none;
        color: lightgray;
    }
footer ul{
    padding-left:0!important;
}
footer .social-bt span{
    font-size:.75rem;
}
footer .social-bt .terms a{
    font-size:.75rem;
    text-decoration:none;
    color:lightgray;
}
footer .social-bt img{
    width:35px;
}
#follow-up, #search-complain {
    /*background-color:#1abbf8;*/
    /*background-color: #98cedb;*/
    background-image: linear-gradient(to right, #1abbf8, #98cedb);
}

#search-complain {
    min-height:250px;
    color:#ffffff;
    position:relative;
    margin-bottom:900px;
}
#search-detail {
    position:absolute;
    background-color:#ffffff;
    color:#000000!important;
    left:0;
    right:0;
    margin:auto;
    top:100px;
    min-height: 250px;
    border:1px solid #b9b9b9;
    border-radius: 5px;
    max-width:900px;
}
#search-detail-summary svg{
    width:80px;
    margin:40px auto 40px;
}

#banner .carousel-item, #m_banner .carousel-item, .banner {
    max-height: 600px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#carouselExampleIndicators, #banner.carousel-inner, #mid_banner, #m_banner.carousel-inner, .banner-body {
    min-height: 450px;
}

.banner-body {
    margin-bottom: 75px;
}

#banner .carousel-item img, #m_banner .carousel-item img, .banner img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    object-fit: cover;
    max-height: none;
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

#m_banner .carousel-caption {
    top: 5.25rem;
    text-align: start;
    left: 25%;
}

    #m_banner .carousel-caption input {
        background-color: #000000;
        opacity: .7;
        color: #ffffff;
        margin-right: 15px;
        border: none;
        border-radius: 50px;
    }

        #m_banner .carousel-caption input:hover {
            opacity: 1;
        }
    #m_banner .carousel-caption p {
        font-size: 1em;
        text-align: start;
        margin-bottom: 1rem;
    }
.carousel-caption p {
    font-size: 1em;
    font-weight: 500;
}

.other .col-3 {
    overflow: hidden;
}

.other img {
    max-width: 180%;
    height: 500px;
    object-fit: cover;
    transform: translate(-45%, 0%);
    -ms-transform: translate(-45%, 0%);
    -webkit-transform: translate(-45%, 0%);
}

#address-content hr {
    opacity: .6 !important;
}

#address-content #contact p {
    line-height: 7.5px;
}

#address-content p{
    font-size:1rem;
    text-align:start;
    margin-bottom:1rem;
}
.nav-item {
    color: white !important;
}
#navbarCollapse .nav-item.nav-link:hover {
    color: #1abbf8!important;
}
.nav-item.nav-link {
    font-weight: 500;
}

.navbar-nav .nav-link img{
    border:1px solid lightgray;
    border-radius:5rem;
    background-color:lightgray;
}
.navbar-nav #profile .dropdown-menu{
    width: 8rem;
    min-width: 3rem;
    margin-left: -70px;
}
#News img {
    height: 350px;
    object-fit: contain;
    border-bottom: 1px solid lightgray;
}
#News a:hover {
    color: #1abbf8 !important;
}
#News .card{
    border:1px solid #eee;
}
#News .card-body p {
    text-align: start;
    font-size: 1rem;
    margin-bottom: 1rem;
}
#NewsContent .container p{
    text-align:start;
    margin:0 0 20px;
}
#NewsContent .container p span {
    color: black;
}

#complainchanel img {
    height: 210px;
    object-fit: contain;
    width: 100%;

    transition: all .3s ease;
}
    #complainchanel img:hover {
        transform: scale(1.2);
    }

/*============For Complain page form multiple step ============*/
/* Make circles that indicate the steps of the form: */
#regForm {
    background-color: #ffffff;
    margin: 50px auto;
    font-family: Raleway;
    /*padding: 40px;*/
    width: 80%;
    min-width: 300px;
}
#regForm .tab1 p {
    max-width:350px;
    margin:auto;
}
#regForm .tab1 select#contact_type option{
    text-align:center;
}
#regForm #prevBtn ,#regForm #nextBtn{
    border-radius:50px;
    
}
    #regForm #nextBtn {
        background-color: #333 !important;
    }
.regisDetail p{
    margin:0;
}
h1 {
    text-align: center;
}
input {
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: #ffdddd;
}
/* Hide all steps by default: */
.tab {
    display: none;
}
.tab p{
    margin-bottom:1rem;
    text-align:start;
    font-size:1rem;
}
.tab .form-input{
    height:38px;
    border-radius:5px;
}
.tab2 .form-switch{
    width:160px;
}
.tab.tab3 p{
    font-size:1rem;
}
.tab.tab3 textarea{
    height:auto;
}
.tab.tab3 .date #date, .tab.tab3 .date .input-group-addon .input-group-text {
    height: 38px;
}
.input-group-text svg{
    margin:0;
}
button {
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    font-family: Raleway;
    cursor: pointer;
}
button:hover {
    opacity: 0.8;
}

#prevBtn {
    background-color: #bbbbbb;
}
/* Make circles that indicate the steps of the form: */
.steps {
    display: flex;
    justify-content: space-between;
    margin:20px auto;
    width:70%;
}
.step {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
    .step::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 20%;
        margin-top: 15px;
        /* top: 21px; */
        /* left: -50%; */
        z-index: 2;
    }
    
.steps .step .step-counter {
    height: 30px;
    width: 30px;
    background-color: white;
    border: 1px solid #b9b9b9;
    border-radius: 50%;
    z-index:5;
    /*opacity: 0.5*/
}
.steps .step .step-name{
    font-weight:400;
}

    .step.active .step-counter {
        opacity: 1;
        background-color: #1abbf8;
    }
/* Mark the steps that are finished and valid: */
.step.finish .step-counter {
    /*background-color: #04AA6D;*/
    opacity: 1;
    background-color: #1abbf8;
}

#bottom-btn{
    display:flex;
    justify-content:space-between;
}

/* =============== Spinner =================*/
.spn {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    border: none;
    background-color: #1d3557;
    color: #f1faee;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, 0.445);
}

.spn__text {
    margin-left: 0.8rem;
}

.spinner {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    border: 3px solid #dddf00;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: spin 1s infinite;
}

#overlay {
    z-index: 9999;
    height: 100vh;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(180deg);
        border-top-color: #fcab41;
        border-bottom-color: #80ffdb;
        border-right-color: transparent;
        border-left-color: transparent;
    }

    100% {
        transform: rotate(360deg);
    }
}


/*============For Complain page form multiple step ============*/
/*========== tick icon svg =======================*/
svg {
    width: 100px;
    display: block;
    margin: 40px auto 0;
}

.path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
}

    .path.circle {
        -webkit-animation: dash .9s ease-in-out;
        animation: dash .9s ease-in-out;
    }

    .path.line {
        stroke-dashoffset: 1000;
        -webkit-animation: dash .9s .35s ease-in-out forwards;
        animation: dash .9s .35s ease-in-out forwards;
    }

    .path.check {
        stroke-dashoffset: -100;
        -webkit-animation: dash-check .9s .35s ease-in-out forwards;
        animation: dash-check .9s .35s ease-in-out forwards;
    }

p {
    text-align: center;
    margin: 20px 0 60px;
    font-size: 1.25em;
}

    p.success {
        color: #73AF55;
    }

    p.error {
        color: #D06079;
    }

@media screen and (min-width:300px) and (max-width:991px){
    /*for responsive menu*/
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }

    100% {
        stroke-dashoffset: 900;
    }
}

@keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }

    100% {
        stroke-dashoffset: 900;
    }
}
 
/*========== tick icon svg =======================*/

ul.timeline {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

    /* Timeline vertical line */
    ul.timeline:before {
        content: ' ';
        background: #fff;
        display: inline-block;
        position: absolute;
        left: 16px;
        width: 4px;
        height: 100%;
        z-index: 400;
        border-radius: 1rem;
    }

li.timeline-item {
    margin: 10px 15px;
}

/* Timeline item arrow */
.timeline-arrow {
    border-top: 0.5rem solid transparent;
    border-right: 0.5rem solid #fff;
    border-bottom: 0.5rem solid transparent;
    display: block;
    position: absolute;
    left: 2rem;
}

/* Timeline item circle marker */
li.timeline-item::before {
    content: ' ';
    background: #ddd;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    left: 11px;
    width: 14px;
    height: 14px;
    z-index: 400;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.modal-case-detail {
    /*background: #E8CBC0;
    background: -webkit-linear-gradient(to right, #E8CBC0, #636FA4);*/
    background: linear-gradient(to right, #E8CBC0, #636FA4);
    /*min-height: 100vh;*/
}
.svg-inline--fa.fa-calendar-days{
    margin:0!important;
    font-size:1rem!important;
}
.modal .svg-inline--fa{
    margin: 0 !important;
    font-size: 15px;
}
.modal-content-header{
    font-weight:500!important;
}
.swal2-html-container{
    text-align:start!important;
}
.swal2-html-container span svg.svg-inline--fa {
    font-size: 1.2rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
    .swal2-html-container span svg.svg-inline--fa.fa-circle-xmark {
        color: #dc3545;
    }
    .swal2-html-container span svg.svg-inline--fa.fa-circle-check {
        color: #198754;
    }