/*Header*/

.header .box-search {
    max-width: 300px;
    width: 300px;
}

.header .box-search .form-control::placeholder {
    color: var(--base-color9);
    font-weight: 500;
}

.header .box-search button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: unset;
    cursor: pointer;
    z-index: 3;
}

/*Slide*/

.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--base-colord);
    background: var(--base-colord);
}

.carousel .carousel-indicators li.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel .control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
}

.carousel .control i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carousel .control.prev {
    left: 7%;
}

.carousel .control.next {
    right: 7%;
}

@media(max-width: 767.98px) {
    .carousel .carousel-indicators li {
        width: 10px;
        height: 10px;
    }
}

/* pageHome */

.pageHome .box2 .nav-tabs {
    border-color: var(--primary-color-border);
}

.pageHome .box2 .nav-tabs .nav-link {
    border-color: var(--primary-color-border) var(--primary-color-border) var(--primary-color-border);
    border-radius: 0;
    margin-left: 5px;
    padding: 10px 15px;
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark)
}

.pageHome .box2 .nav-tabs .nav-item.show .nav-link, .pageHome .box2 .nav-tabs .nav-link.active {
    background-color: var(--white);
    border-color: var(--primary-color-border) var(--primary-color-border) var(--white);
    color: var(--base-colorred);
}

.pageHome .box2 .tab-content {
    border-left: 1px solid var(--primary-color-border);
    border-bottom: 1px solid var(--primary-color-border);
    border-right: 1px solid var(--primary-color-border);
}

@media (max-width:575.98px) {
    .pageHome .box2 .nav-tabs .nav-item {
        width: 50%;
    }

    .pageHome .box2 .nav-tabs .nav-item .nav-link {
        margin-left: 0;
    }
}

.pageHome .box3 .nav-tabs .nav-link {
    padding: 0 10px 0 0;
    margin-right: 10px;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-right: 2px solid var(--primary-color);
    color: var(--primary-color-dark);
}

.pageHome .box3 .nav-tabs .nav-item .nav-link.active, .pageHome .box3 .nav-tabs .nav-item:hover .nav-link {
    color: var(--base-colorred);
    border-left: 0;
    border-bottom: 0;
    border-top: 0;
}

.pageHome .box3 .nav-tabs .nav-item:last-child .nav-link {
    padding: 0;
    margin-right: 0;
    border-right: 0;
}

/*FOOTER*/

.footer .block-editor-content {
    line-height: 1.5;
    font-weight: 500;
}

.footer .block-editor-content ul {
    margin: 0;
    padding: 0;
}

.footer .block-editor-content ul li {
    list-style: none;
}

.footer .block-editor-content a {
    color: var(--white);
}

.footer .block-editor-content iframe {
    width: 100% !important;
    height: 200px !important;
}

.footer-bot p {
    margin-bottom: 0;
}

.footer-bot a {
    color: var(--white);
}

/* PAGE CATALOG NEW */

.page-catalog-new .title-absolute {
    bottom: 0;
}

/* DETAIL NEW */

.page-detail-news .box-share {
    line-height: 0.9;
}

.page-detail-news .addthis_share {
    display: inline-block;
    padding-left: 70px;
}

.page-detail-news a.detail-email {
    color: var(--white);
    background: var(--base-color9);
    height: 20px;
    padding: 3px 8px;
    margin-left: 5px;
    border-radius: 3px;
    font-size: 11px;
}

.page-detail-news a.detail-email i {
    margin-right: 5px;
}

.page-detail-news .addthis_share .at-share-btn-elements .at-share-btn {
    display: inline-block;
}

.page-detail-news .at-share-tbx-element.at-share-tbx-native {
    float: left;
}

.page-detail-news .zalo-share-button {
    line-height: 20px;
    float: left;
    position: absolute;
    left: 0;
    top: 0;
    width: unset !important;
    background: #00a3fd;
    color: var(--white);
    font-size: 11px;
    padding-right: 5px;
    border-radius: 3px;
    cursor: pointer;
}

.page-detail-news .zalo-share-button>iframe {
    float: left;
    width: 20px;
    margin-right: 5px;
}

.page-detail-news .at-style-responsive .at-share-btn {
    padding: 4px !important;
}

/* .page-detail-news .box-share {
    bottom: 0;
} */

/*PAGE CONTACT*/

.page-contact .wInput {
    position: relative;
}

.page-contact .wInput i {
    position: absolute;
    top: 15px;
    margin-left: 15px;
}

.page-contact .block-editor-content ol, .page-contact .block-editor-content ul {
    margin-bottom: 15px;
    padding-left: var(--space-sm);
    margin-left: 15px;
    margin-top: 10px;
}

.page-contact .block-editor-content ol li, .page-contact .block-editor-content ul li {
    list-style: inherit;
    margin-bottom: 3px;
}

.page-contact .block-editor-content h1, .page-contact .block-editor-content h2, .page-contact .block-editor-content h3, .page-contact .block-editor-content h4 {
    margin-bottom: 10px;
    margin-top: 15px;
    font-weight: 600;
}

.page-contact .block-map object {
    width: 100%;
    height: 400px;
    margin-bottom: -5px;
}

.page-contact .form-control {
    font-size: var(--text-sm);
    border-radius: 0;
    border-color: var(--base-colorf1);
}

.page-contact input.form-control {
    height: 44px;
    padding-left: 50px;
}

.page-contact textarea.form-control {
    height: 132px;
}

.page-contact textarea.form-control {
    padding-left: 50px;
    padding-top: 9px;
}

.page-contact .form-control::placeholder {
    color: var(--base-color9);
}

.page-contact .error {
    font-size: var(--text-xs);
    position: absolute;
    bottom: 0;
    right: 5px;
}

.page-contact .captchare {
    position: relative;
}

.page-contact .captchare .captcha {
    position: absolute;
    left: 105%;
    background: var(--base-color);
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 44px;
    letter-spacing: 3px;
    color: var(--yellow);
}

@media (max-width:575.98px) {
    .page-contact .captchare .captcha {
        left: unset;
        right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-contact .captchare .error {
        right: 95px;
    }
}

.page-contact .btn-gui {
    background: var(--primary-color);
    font-size: var(--text-sm);
    padding: 10px 50px;
    color: var(--white);
    font-weight: 500;
    border-radius: 0;
}

/* Widget Icon */

.widget-icon {
    position: fixed;
    left: 5px;
    bottom: 80px;
    z-index: 999;
}

.widget-icon .messenger {
    margin-bottom: 10px;
}

.widget-icon .messenger .box {
    position: relative;
}

.widget-icon .messenger .box .text {
    position: absolute;
    background: rgba(29, 36, 62, 0.7);
    color: var(--white);
    width: 200px;
    left: 115%;
    border-radius: 5px;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
}

.widget-icon .messenger .box:hover .text {
    visibility: visible;
}

.widget-icon .messenger .box .text:before {
    content: "";
    left: -10px;
    transform: rotateZ(0);
    display: unset !important;
    border-color: transparent rgba(29, 36, 62, 0.7) transparent transparent !important;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
}

.widget-icon .cart {
    margin-bottom: 10px;
}

.widget-icon .cart .box {
    position: relative;
}

.widget-icon .cart .box .box-cart {
    position: relative;
}

.widget-icon .cart .box .box-cart .cart-ajax {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    text-align: center;
    font-size: 10px;
    border-radius: 50%;
    line-height: 18px;
    left: -2px;
    top: -5px;
    color: var(--white);
}

.widget-icon .cart .box .text {
    position: absolute;
    background: rgba(29, 36, 62, 0.7);
    color: var(--white);
    width: 200px;
    left: 115%;
    border-radius: 5px;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
}

.widget-icon .cart .box:hover .text {
    visibility: visible;
}

.widget-icon .cart .box .text:before {
    content: "";
    left: -10px;
    transform: rotateZ(0);
    display: unset !important;
    border-color: transparent rgba(29, 36, 62, 0.7) transparent transparent !important;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
}

.widget-icon .zalo {
    margin-bottom: 10px;
}

.widget-icon .zalo .box {
    position: relative;
}

.widget-icon .zalo .box .text {
    position: absolute;
    background: rgba(29, 36, 62, 0.7);
    color: var(--white);
    width: 200px;
    left: 115%;
    border-radius: 5px;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
}

.widget-icon .zalo .box:hover .text {
    visibility: visible;
}

.widget-icon .zalo .box .text:before {
    content: "";
    left: -10px;
    transform: rotateZ(0);
    display: unset !important;
    border-color: transparent rgba(29, 36, 62, 0.7) transparent transparent !important;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
}

.widget-icon .call {
    margin-bottom: 10px;
}

.widget-icon .call .box {
    position: relative;
}

.widget-icon .call .box .text {
    position: absolute;
    background: rgba(29, 36, 62, 0.7);
    color: var(--white);
    width: 200px;
    left: 115%;
    border-radius: 5px;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
}

.widget-icon .call .box:hover .text {
    visibility: visible;
}

.widget-icon .call .box .text:before {
    content: "";
    left: -10px;
    transform: rotateZ(0);
    display: unset !important;
    border-color: transparent rgba(29, 36, 62, 0.7) transparent transparent !important;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
}

#widget-icon-phone .modal-body {
    padding: 0;
}

#widget-icon-phone .modal-body .close {
    font-family: monospace;
    position: absolute;
    top: 3px;
    right: 10px;
}

#widget-icon-phone .modal-body .content {
    padding: 40px;
}

#widget-icon-phone .modal-body .content .title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

#widget-icon-phone .modal-body .content .form-control {
    padding-bottom: 10px;
    height: auto;
    border-right: unset;
}

#widget-icon-phone .modal-body .content .form-control::placeholder {
    font-size: var(--text-sm)
}

#widget-icon-phone .modal-body .content .btn-yeucau {
    background: transparent;
    border: 1px solid #ced4da;
    padding: 3px;
    border-left: 0;
}

#widget-icon-phone .modal-body .content .btn-yeucau>span {
    background: var(--primary-color);
    font-size: var(--text-sm);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    display: block;
}

#widget-icon-phone .modal-body .content .other {
    border-bottom: 1px solid var(--base-colord);
    height: 15px;
    opacity: 0.7;
    position: relative;
}

#widget-icon-phone .modal-body .content .other span {
    font-size: var(--text-xs);
    background: var(--white);
    color: var(--base-color9);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#widget-icon-phone .modal-body .content .info .hotline {
    font-size: var(--text-xl);
    font-weight: bold;
    font-family: sans-serif;
}

#return-to-top {
    display: none;
}

.block-editor-content.tableOfContent.mt-20 {
    line-height: 1.7;
}

.ads {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
}

.ads-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.ads-inner img {
    width: 100%;
}

.ads .title {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 15px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .ads-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .ads {
        padding: 15px;
    }

    .ads-inner {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 15px
    }

    .ads-inner .item .bg-img {
        width: 150px;
        height: 90px;
        min-height: 90px;
        margin-right: 15px;
        float: left;
        position: relative;
        padding-top: unset;
    }

    .ads-inner .item .title {
        float: left;
        width: calc(100% - 165px);
        text-align: left;
        margin-top: 0;
    }
}

@media (max-width: 450px) {
    .ads .title {
        font-size: 12px;
    }

    .ads-inner .item .bg-img {
        width: 130px;
    }

    .ads-inner .item .title {
        width: calc(100% - 145px);
    }
}

.btn-login, .btn-signup {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background-color: #31a550;
    border: 1px solid #257e3d;
    color: #fff;
}
.btn-signup {
    background-color: #ff9933;
    border: 1px solid #ff8000;
    color: #fff;
    margin-left: 10px;
}

.btn-login:hover,
.btn-signup:hover {
    color: #fff;
    background-color: #008dc9;
    border-color: #1b5bb7; 
}

.content-dropdown  {
    width: 280px;
}