@font-face {
    font-family: 'eMaidFont';
    src: url('/frontend/fonts/Sports World-Regular.otf') format('otf'),
         url('/frontend/fonts/Sports World-Regular.ttf')  format('truetype');
}
body {
    font-family: 'Roboto', Helvetica, sans-serif;
    font-size: .8rem;
    background-color: #f5f8fa;
}

.news-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 9999;
}
.sticky-container {
    position: sticky;
    top: 0;
    z-index: 9999;
}
.news-sticky {
    max-height: 40px;
}
.offcanvas {
    z-index: 99999;
}

.form-control, .form-select {
    font-size: .8rem;
}
a {
    text-decoration: none;
}
#app {
    min-height: 100vh;
}
.emaid-logo {
    font-size: 34px;
    font-family: 'Anton', sans-serif;
    /* font-family: 'eMaidFont'; */
}
.emaid-logo .logo-text {
    line-height: 1;
}
.logo-sologan {
    font-family: 'Anton', sans-serif, 'Roboto';
    font-size: 12px;
    /* font-weight: bold; */
    max-width: 268px;
    width: 100%;
    letter-spacing: 0.5px;
    margin-top: -3px;
}
.logo-tm {
    font-family: 'Roboto';
    font-size: 8px;
    font-weight: bold;
    color: #000000;
    top: 10px;
}
.logo {
    max-width: 200px;
}
.mobile-logo .emaid-logo img {
    width: 100%;
    max-width: 250px;
}
/* .head-ad-img {
    max-width: 750px;
} */
#header_carousel img {
    max-width: 539px;
}
#header_carousel .ad-row {
    text-align: center;
}
.logo-grid,
.lang-grid {
    width: 300px;
}
.lang-item {
    font-size: 0.8rem;
}
.main-content-wrapper {
    min-height: 600px;
}
/* PC Nav */
#header #pc_nav {
    background-color: #004aad !important;
}
#header #pc_nav .nav-link {
    color: #ffffff;
    font-size: .9rem;
}
#header #pc_nav .nav-link.join-us {
    color: #ff3131;
    font-size: 1.2rem;
    font-weight: bold;
}
#header #pc_nav .nav-link:hover {
    color: #ff3131;
}
#header #pc_nav .nav-link i {
    font-size: .8rem;
}
#header #pc_nav .main-menu .nav-link.active {
    color: #ff3131;
    font-weight: 600;
}

.dropdown-item:focus, .dropdown-item:hover {
    background: none;
    color: #ff3131;
}
.main-menu .dropdown-menu a {
    font-size: .8rem;
}
.main-menu .dropdown-menu li.active a {
    color: #ff3131;
}
/* Mobile Nav */
#header #mobile_nav .nav-link {
    color: #004aad;
    font-size: .9rem;
}
#header #mobile_nav .nav-link.join-us {
    color: #ff3131;
    font-size: 1.2rem;
    font-weight: bold;
}
#header #mobile_nav .nav-link:hover {
    color: #ff3131;
}
#header #mobile_nav .nav-link.active {
    color: #ff3131;
}
#header #mobile_nav .nav-link i {
    font-size: .8rem;
}

#header.sticky-top .logo {
    max-width: 80px;
}
#header.sticky-top .navbar {
    padding-top: 3px;
    padding-bottom: 3px;
}
#mobile_nav .navbar-toggler {
    border: none;
    padding: 0;
}
#mobile_nav .navbar-toggler:focus {
    box-shadow: none;
}
/* .hide-logo-section {
    display: none;
} */
.btn-blue {
    background-color: #004aad;
}
.btn-red {
    background-color: #ff3131;
}
.bg-blue {
    background-color: #004aad;
    color: #ffffff;
}
.bg-yellow {
    background-color: #ffcd00;
}
.text-red {
    color: #ff3131;
}

.logo-blue {
    color: #004aad;
}
.text-blue {
    color: #004aad;
}
.text-blue:hover {
    color: #0d6efd;
}
.login-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

/* ms-tooltip */
.custom-popover {
    --bs-popover-max-width: 330px;
    --bs-popover-border-color: var(--bs-primary);
    /* --bs-popover-header-bg: var(--bs-primary); */
    /* --bs-popover-header-color: var(--bs-white); */
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: 1.5rem;
    --bs-popover-body-color: #ffffff;
    --bs-popover-bg: #004aad;
    /* --bs-popover-bg: rgba(220,53,69,0.8); */
  }
.maid-result-custom-popover {
    --bs-popover-max-width: 400px;
    --bs-popover-border-color: var(--bs-primary);
    --bs-popover-body-padding-x: 1.5rem;
    --bs-popover-body-padding-y: 1.5rem;
    --bs-popover-body-color: #dddddd;
    --bs-popover-bg: #004aad;
  }
.popover-link:hover {
    color: #ff3131;
}
.popover-content-wrapper {
    max-height: 500px;
    overflow-y: scroll;
}
.pop-lable {
    display: inline-block;
    width: 90px;
}

/* back to top */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 50%;
}
.login-btn {
    font-size: 1.3rem;
    /* color: #004aad; */
}
.login-btn:hover {
    color: #000000 !important;
    /* color: #ff3131; */
}
.register-btn {
    font-size: 1.3rem;
    color: #004aad;
}
.register-btn:hover {
    color: #ff3131;
}
.register-type .card a:hover,
.register-type .card:hover a {
    color: #000000 !important;
}
.employer-login-btn {
    font-size: 1.3rem;
    border: 2px solid #ff3131;
    border-radius: 5px;
}

/* New Detail page */
.news-detail img {
    width: 100%;
}
.news-detail p {
    text-align: justify;
}
/* Maid Agency */
/* .image-wrapper {
    height: 150px;
} */
.image-wrapper img {
    width: 100%;
    height: 140px;
    /* width: 150px;
    height: auto; */
    object-fit: contain;
}
.agency-list .image-wrapper img {
    width: 150px;
    height: auto;
}
.agency-title {
    font-size: .9rem;
}
/* .agency-list .card-body {
    min-height: 230px;
} */
.agency-list .card:hover {
    background-color: #f5f8fa;
}
/* home page */
#vertical_contact_button {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
     -ms-transform: rotate(-90deg);
     -o-transform: rotate(-90deg);
     filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
     margin-right: -85px;
}
.maid-list {
    margin-left: -5px;
    margin-right: -5px;
}
.maid-list .card a {
    overflow: hidden;
}
.maid-list .card:hover {
    background-color: #f5f8fa;
}
.maid-list p {
    font-size: 12px
}
.maid-list .card-body {
    padding-left: 8px;
    padding-right: 8px;
}
.maid-detail .card img.no-auth {
    filter: blur(10px);
    -webkit-filter: blur(10px);
}
.maid-list .card a img {
    max-width: 153px;
    max-height: 153px;
    width: 153px;
    height: 153px;
    transition: all 0.8s ease;
}
.maid-list .card a img:hover {
    scale: 1.1;
}
.maid-list .maid-agency-name {
    font-size: .7rem;
    color: #004aad;
}
.maid-list .maid-agency-name:hover {
    font-size: .7rem;
    color: red;
}
.maid-list .ref,
.maid-list .maid-ref,
.maid-list .maid-agency,
.maid-list .maid-type,
.maid-list .maid-upd {
    text-wrap: nowrap;
    overflow: hidden;
}
.checkbox-title {
    font-size: 1rem;
}
/* News */
.news-list .card-body img {
    max-width: 100%;
}
/* Maid Result */
.shortlist-remove:hover span {
    color: #000000 !important;
    cursor: pointer;
}
#maid_video iframe {
    width: 100%;
}
/* Maid Shortlist */
/* .maid-shortlist .shortlist-card {
    max-width: 200px;
    width: 25%;
} */
/* .maid-shortlist .col-3 {
    padding-left: 5px;
    padding-right: 5px;
} */
.maid-shortlist .shortlist-card .card-body {
    padding: .5rem;
}
.maid-shortlist .shortlist-card .card-body p {
    font-size: .7rem;
}
.maid-shortlist .card {
    overflow: hidden;
}
.maid-shortlist .card img {
    transition: all 0.8s ease;
}
.maid-shortlist .card img:hover {
    scale: 1.1;
}
.maid-remove-btn {
    font-size: .7rem;
    padding-top: 3px;
    padding-bottom: 3px;
}
.maid-shortlist .card img.no-auth {
    filter: blur(10px);
    -webkit-filter: blur(10px);
}
.add-to-shortlist {
    cursor: pointer;
}
/* bottom popup ads */
#bottom_popup_wrapper {
    width: 100%;
    position: fixed;
    bottom: 0;
}
#bottom_popup_wrapper.hide {
    bottom: -50%;
}
.bottom-popup-ads-label {
    position: absolute;
    right: 0;
    z-index: 1000;
}
.bottom-popup-ad-close {
    cursor: pointer;
    /* font-size: .9rem; */
}
.fa-circle-xmark {
    font-size: .9rem;
}
#bottom_popup_wrapper .ad-row img {
    max-width: 970px;
    width: 100%;
    height: 90px;
}

/* Home Right Ad Slide */

/* Login */
.auth-btn-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Footer */
.social-icon svg {
    width: 22px;
    height: 22px;
}
#footer .contact-list,
#footer .quick-link,
#footer .social-list {
    list-style: none;
}
#footer .social-list {
    display: inline-flex;
}
.contact-label {
    font-size: 1rem;
}
.copy-right {
    font-size: 1rem;
}
.footer-bottom {
    background-color: #323f48;
}
#footer a:hover {
    color: #ff3131 !important;
}
/* About Us */
.about-desc {
    font-size: 1rem;
}
.about-logo-text {
    font-size: 1.2rem;
}
.our-network a {
    font-size: 1rem;
}

.agency-item i {
    font-size: .6rem;
    color: #ff3131;
}
.btn-show-hide {
    cursor: pointer;
}
.maid-listing ul {
    list-style: none;
}
.maid-listing ul li a {
    font-size: 1rem;
}

.vertical-slick {
    list-style: none;
}
.right-ad ul {
    list-style: none;
    padding-left: 0;
}
.social-signin-btn a {
    font-size: .9rem;
}
.policy-item {
    margin-bottom: 30px;
}
.policy-item-title {
    margin-bottom: 10px;
}
.policy-subitem {
    margin-bottom: 15px;
}
.policy-subitem-title {
    margin-bottom: 10px;
}
.policy-item li {
    margin-bottom: 10px;
}
.maid-request-wrapper .envelope {
    font-size: 3.5rem;
}

.auth-advise {
    font-size: .7rem;
    /* line-height: 1; */
    margin-top: 5px;
    padding-top: 10px;
}
.divider-line {
    height: 1px;
    background-color: #ffffff;
}
.auth-btn-item .card {
    min-height: 240px;
}

.top-ad .ad-row {
    max-height: 80px;
}
.top-ad .ad-row img {
    max-height: 80px;
}

.register-type .card {
    min-height: 230px;
}

/* News Sticky */
#announcement-scroll {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}
.multi-announcement li {
    display: inline-block;
    margin-right: 50px;
}
#announcement-scroll p {
    margin-bottom: 0;
}
.tox-tinymce {
    height: 300px !important;
}
.text-pink {
    color: #f647fe;
}
.grecaptcha-badge {
    bottom: -300px !important;
}

.main-logo-wrapper {
    width: 180px;
}
.mobile-main-logo {
    width: 90px;
}

.swal2-container {
    z-index: 10010 !important;
}

@media screen and (max-width: 1360px) {
    #header_carousel img {
        max-width: 400px;
    }
}
@media screen and (max-width: 1100px) {
    .emaid-logo {
        font-size: 30px;
    }
    .logo-sologan {
        font-size: 10px;
    }
    .maid-list .card a img {
        height: 120px;
    }
}
@media screen and (max-width: 992px) {
    .main-content-wrapper {
        min-height: auto;
    }
    .logo {
        max-width: 100px;
    }
    .emaid-logo {
        font-size: 26px;
    }
    #btn-back-to-top {
        font-size: 11px;
        width: 40px;
        height: 40px;
    }
    #header_carousel img {
        max-width: 350px;
    }
    /* #header_carousel .ad-row {
        text-align: right;
    } */
    #maid_filter .filter-actions {
        justify-content: flex-start!important;
    }
    .playstore img,
    .appstore img {
        width: 100%;
    }
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    .copy-right {
        font-size: .9rem;
    }
    .footer-top h5 {
        font-size: 1.15rem;
    }
    .employer-login-btn {
        font-size: .9rem;
    }
    .employer-login-btn i {
        display: none;
    }
    .maid-list .card a img {
        height: 100px;
    }
}
@media screen and (max-width: 768px) {
    .main-content-wrapper {
        padding-top: 10px !important;
    }
    #bottom_popup_wrapper .ad-row img {
        height: auto;
    }
    #footer .social-list {
        display: initial;
    }
    .social-icon svg {
        width: 15px;
        height: 15px;
    }
    #footer .social-list li {
        display: inline-block;
        padding-right: 5px !important;
        margin-bottom: 5px !important;
    }
    .language-dropdown .dropdown-menu.show {
        position: absolute;
        inset: 0px 0px auto auto;
        margin: 0px;
        transform: translate3d(0px, 32.8px, 0px);
    }
    /* Login */
    .auth-btn-container {
        padding-top: 2rem;
        padding-bottom: 2rem;
        margin-top: 0;
        margin-bottom: 0;
    }
    .maid-list .card a img {
        max-width: 100%;
        max-height: 165px;
        height: 165px;
    }
}

@media screen and (max-width: 575px) {
    .maid-list .card a img {
        max-height: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .auth-modal .auth-btn-item a {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        font-size: 1rem !important;
    }
    .mobile-logo .emaid-logo img {
        width: 100%;
        max-width: 180px;
    }
    .employer-login-btn {
        font-size: .8rem;
    }
    .language-dropdown .btn {
        font-size: .8rem;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    .maid-list .card a img {
        max-height: 160px;
        height: 160px;
    }
}

@media screen and (max-width: 375px) {
    .auth-modal .auth-btn-item a {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    .mobile-logo .emaid-logo img {
        width: 100%;
        max-width: 170px;
    }
    .maid-list .card a img {
        max-height: 140px;
        height: 140px;
    }
}

@media screen and (max-width: 325px) {
    .auth-btn-container .auth-btn-item {
        width: 100% !important;
    }
    .mobile-logo .emaid-logo img {
        width: 100%;
        max-width: 150px;
    }
}

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}