img {
    vertical-align: middle;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/*-----*/

header:not(.home) {
    box-shadow: 1px 1px 6px #e8d7cb;
    background: url(https://bichnguyet.vn/themes/giaodienweb/images/bg-header.png) no-repeat center top;
    background-size: 100% auto;
}

/*-----*/

.swal2-popup {
    width: 25em;
    padding: 32px 20px;
}

.swal2-title {
    text-transform: uppercase;
    font-size: 22px;
    color: #000;
    font-weight: 600;
    padding: 0 1em 0;
}

.swal2-html-container {
    font-size: 15px;
    line-height: 22px;
    font-weight: 300;
    color: #333;
    padding: 0 10px;
}

.swal2-styled {
    margin: 0;
    font-size: 15px !important;
    font-weight: 400;
}

.swal2-actions {
    gap: 6px;
    margin-top: 16px;
}

/*-----*/

.content-html ul {
    padding-left: 20px;
    margin: 8px 0;
}

.content-html h1,
.content-html h2,
.content-html h3,
.content-html h4,
.content-html h5 {
    font-size: 30px;
    margin: 10px 0 20px;
    line-height: 40px;
    font-weight: 500;
}

/*-----*/

.lazyload {
    opacity: 0;
}

.lazyloaded {
    opacity: 1;
}

/*-----*/

.triangle-left-top {
    aspect-ratio: 1;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/*-----*/

#toast-container > div {
    box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    opacity: 1;
    padding: 16px 15px 15px 50px;
}

#toast-container>div:hover {
    box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    opacity: 1;
}

#toast-container .toast.toast-loading {
    background-image: none !important;
}

.toast-loading:before {
    border: solid 2px #fff;
    border-radius: 50%;
    border-left: solid 2px transparent;
    width: 20px;
    height: 20px;
    content: '';
    position: absolute;
    left: 14px;
    top: 14px;
    animation: toastrSpinner 1s infinite linear;
}

.toast .toast-message {
    font-size: 14px;
    font-weight: 300;
}

@keyframes toastrSpinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*-----*/

.owl-before-after .owl-dots.disabled {
    display: flex;
}
.owl-before-after .owl-dots:not(.disabled) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap: 10px;
}

.owl-before-after .owl-dots button span {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--ezs-site-color);
    border-radius: 100%;
    opacity: 0.70;
    transition: all .3s ease;
}

.owl-before-after .owl-dots button.active span {
    width: 22px;
    opacity: 1;
    border-radius: 20px;
}

.owl-before-after .owl-item {
    transition: width 1s;
}

.owl-before-after .owl-item.active {
    width: 400px !important;
}

.owl-before-after .owl-item.active.center {
    width: 500px !important;
}

.owl-before-after .owl-stage-outer {
    min-height: 430px;
}

.owl-before-after .owl-prev {
    background: url(/themes/_magic/images/arrow-left-2.png) no-repeat left center;
    background-size: 100% auto;
    width: 30px;
    height: 100px;
    position: absolute;
    top: calc(50% - 80px);
    left: -110px;
}

.owl-before-after .owl-next {
    background: url(/themes/_magic/images/arrow-right-2.png) no-repeat left center;
    background-size: 100% auto;
    width: 30px;
    height: 100px;
    position: absolute;
    top: calc(50% - 80px);
    right: -110px;
}

.owl-before-after .owl-next span,
.owl-before-after .owl-prev span {
    display: none;
}

/*-----*/

.owl-home-news .owl-dots:not(.disabled) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap: 10px;
}

.owl-home-news .owl-dots button span {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--ezs-site-color);
    border-radius: 100%;
    opacity: 0.70;
    transition: all .3s ease;
}

.owl-home-news .owl-dots button.active span {
    width: 22px;
    opacity: 1;
    border-radius: 20px;
}

.owl-home-news .owl-prev {
    background: url(/themes/_magic/images/arrow-left-2.png) no-repeat left center;
    background-size: 100% auto;
    width: 30px;
    height: 100px;
    position: absolute;
    top: calc(50% - 80px);
    left: -110px;
}

.owl-home-news .owl-next {
    background: url(/themes/_magic/images/arrow-right-2.png) no-repeat left center;
    background-size: 100% auto;
    width: 30px;
    height: 100px;
    position: absolute;
    top: calc(50% - 80px);
    right: -110px;
}

.owl-home-news .owl-next span,
.owl-home-news .owl-prev span {
    display: none;
}

/*-----*/

.owl-home-client .owl-dots:not(.disabled) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap: 10px;
}

.owl-home-client .owl-dots button span {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--ezs-site-color);
    border-radius: 100%;
    opacity: 0.70;
    transition: all .3s ease;
}

.owl-home-client .owl-dots button.active span {
    width: 22px;
    opacity: 1;
    border-radius: 20px;
}

.owl-home-client .owl-item {
    transition: all 1s;
}

.owl-home-client .owl-item.active.center {
    position: relative;
    width: 514px !important;
    margin-top: 170px;
}

.owl-home-client .owl-item:last-child {
    display: none;
}

.owl-home-client .owl-stage-outer {
    min-height: 730px;
}


/*-----*/

#button-contact-vr .button-contact {
    position: relative;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block
}

.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230,8,8,.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out
}

    .phone-vr-img-circle a {
        display: block;
        line-height: 37px
    }

    .phone-vr-img-circle img {
        max-height: 25px;
        max-width: 27px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%)
    }

#instagram-vr .phone-vr-circle-fill {
    background: rgb(17,143,253);
    background: linear-gradient(160deg,rgba(17,143,253,1) 20%,rgba(188,60,218,1) 50%,rgba(253,223,5,1) 80%);
    background-size: contain;
    box-shadow: 0 0 0 0 #c840c9;
    background-color: rgb(79 103 254);
    border: 0
}

#instagram-vr .phone-vr-img-circle {
    background: transparent
}

#telegram-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2c9fd8;
    background-color: rgb(44 159 216 / 74%)
}

#telegram-vr .phone-vr-img-circle {
    background: #2c9fd8
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.phone-bar a {
    position: absolute;
    margin-top: -65px;
    left: 30px;
    z-index: -1;
    color: #fff;
    font-size: 16px;
    padding: 7px 15px 7px 50px;
    border-radius: 100px;
    white-space: nowrap
}

    .phone-bar a:hover {
        opacity: .8;
        color: #fff
    }

@media(max-width: 736px) {
    .phone-bar {
        display: none
    }
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33,150,243,.7)
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3
}

#viber-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #714497;
    background-color: rgba(113,68,151,.8)
}

#viber-vr .phone-vr-img-circle {
    background-color: #714497
}

#contact-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33,150,243,.7)
}

#contact-vr .phone-vr-img-circle {
    background-color: #2196F3
}

div#whatsapp-vr .phone-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #1fd744;
    background-color: rgb(35 217 72 / 70%)
}

div#whatsapp-vr .phone-vr .phone-vr-img-circle {
    background: #1cd741
}

    div#whatsapp-vr .phone-vr .phone-vr-img-circle img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 50%
    }

#fanpage-vr img {
    max-width: 35px;
    max-height: 35px
}

#fanpage-vr .phone-vr-img-circle {
    background-color: #1877f2
}

#fanpage-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 rgb(24 119 242 / 65%);
    background-color: rgb(24 119 242 / 70%)
}

#gom-all-in-one .button-contact {
    transition: 1.6s all;
    -moz-transition: 1.6s all;
    -webkit-transition: 1.6s all
}

#button-contact-vr.active #gom-all-in-one .button-contact {
    margin-left: -100%
}

#all-in-one-vr .phone-bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    color: #fff;
    padding: 5px 15px 5px 48px;
    border-radius: 50px;
    margin-left: -64px;
    width: max-content;
    cursor: pointer
}

#popup-showroom-vr, div#popup-form-contact-vr {
    display: none
}
#popup-showroom-vr.active, div#popup-form-contact-vr.active {
    display: block;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 99999
}

.bg-popup-vr {
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(51 51 51 / 50%);
    width: 100%;
    height: 100vh
}

.content-popup-vr {
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 95%;
    border-radius: 5px;
    box-shadow: 0 0 14px 5px rgb(0 0 0 / 49%);
    max-width: 600px;
    display: flex
}

.content-popup-vr input, .content-popup-vr textarea {
    width: 100%;
    max-height: 100px;
    min-height: 38px;
    border: 1px solid #b1b1b1;
    margin-bottom: 10px;
    padding: 0 7px;
    background: #fff
}

.content-popup-vr label {
    width: 100%
}

.content-popup-vr input.wpcf7-form-control.wpcf7-submit {
    max-width: fit-content;
    padding: 5px 32px 2px;
    background: #2196f3;
    border: 0;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    margin: 10px auto 0;
    display: block;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 29%);
    font-weight: 400;
    min-height: auto;
    line-height: 30px
}

.content-popup-vr input.wpcf7-form-control.wpcf7-submit:hover {
    opacity: .7
}

.content-popup-vr .close-popup-vr {
    font-family: sans-serif;
    width: 23px;
    height: 23px;
    background: #000;
    position: absolute;
    top: -10px;
    right: -10px;
    color: #fff;
    text-align: center;
    line-height: 23px;
    font-size: 17px;
    border-radius: 50%;
    cursor: pointer
}

.content-popup-vr .close-popup-vr:hover {
    background: #b50000
}

.content-popup-vr .content-popup-div-vr {
    width: 100%;
    padding: 25px
}

.content-popup-vr .content-popup-img-vr {
    width: 100%;
    max-width: 45%;
    border-radius: 10px 0 0 10px;
    overflow: hidden
}

#loco-top, #loco-bottom {
    display: block
}

#loco-top .content-popup-img-vr, div#popup-form-contact-vr #loco-bottom .content-popup-img-vr {
    max-width: 100%;
    text-align: center
}

#contact-showroom.no-event a {
    pointer-events: none
}

.content-popup-vr .content-popup-div-vr ul {
    color: #333;
    list-style: none;
    font-size: 15px
}

/*-----*/

.nav-drill {
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    visibility: hidden;
}
  
.nav-is-toggled .nav-drill {
    transform: translateX(0);
    visibility: visible;
}
.nav-expand-content {
    transform: translateX(-100%);
    transition: 0.3s;
    visibility: hidden;
}

.nav-expand.active > .nav-expand-content {
    transform: translateX(0);
    visibility: visible;
}

/*-----*/

.select2-container--default .select2-selection--single {
    border: 1px solid #e6e7eb;
}

.select2-container .select2-selection--single {
    height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    font-size: 15px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    width: 40px;
}

.select2-dropdown {
    border: 1px solid #e6e7eb;
}

.select2-search--dropdown {
    padding: 10px 14px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e6e7eb;
    height: 40px;
    border-radius: 2px;
    padding: 0 10px;
    outline: none;
}

.select2-results__option {
    padding: 13px 14px;
    font-size: 15px;
    color: #3F4254;
    font-weight: 300;
}

.select2-dropdown {
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
}

.select2-container--default .select2-results__option--selected {
    background-color: #EBEDF3;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-weight: 400;
}

.select2-results__option.select2-results__message {

}


.owl-home-slider .owl-nav button {
    position: absolute;
    top: 50%;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    font-weight: 500;
    padding-top: 12px;
    transition: all .3s ease;
    width: 70px;
}

.owl-home-slider .owl-nav button:after {
    content: "";
    position: absolute;
    width: 70px;
    height: 1px;
    background: #fff;
    top: 0;
    transition: all .3s ease;
}

.owl-home-slider .owl-nav button:hover:after {
    width: 60px;
}

.owl-home-slider .owl-nav button.owl-prev:after {
    left: 0;
}

.owl-home-slider .owl-nav button.owl-next:after {
    right: 0;
}

.owl-home-slider .owl-nav button.owl-prev {
    left: 50px;
    text-align: left;
}

.owl-home-slider .owl-nav button.owl-prev:hover {
    left: 60px;
}

.owl-home-slider .owl-nav button.owl-next {
    right: 50px;
    text-align: right;
}

.owl-home-slider .owl-nav button.owl-next:hover {
    right: 60px;
}

