/*
Theme Name: An Thịnh Dental Lab
Text Domain: anthinhdentallab.com
Version: 1.0
Requires PHP: 8.3.0
Description: The template is designed and developed by TrongDZ
Tags: Phục hình nha khoa - Tinh hoa bàn tay Việt
Author: TrongDZ
Author URI: https://anthinhdentallab.com/
Theme URI: https://anthinhdentallab.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

    0.  CSS Reset
    1.  Document Setup
    2.  Element Base
    3.  Helper Classes
    4.  Site Header
    5.  Menu Modal
    6.  Search Modal
    7.  Page Templates
        a.  Template: Cover Template
        c.  Template: Full Width
    8.  Post: Archive
    9.  Post: Single
    10. Blocks
    11. Entry Content
    12. Comments
    13. Site Pagination
    14. Error 404
    15. Widgets
    16. Site Footer
    17. Media Queries

----------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*  0. CSS Reset
/* -------------------------------------------------------------------------- */
/* Centered texts in each section
    * --------------------------------------- */
:root {
    /* ===== Colours ===== */
    --color-main: #edc251;
    --color-main2: #fee475;
    --color-text-menu: #234992;
    --White: #fff;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
img{
    max-width: 100%;
}
section{
    padding: 30px 0px;
}
/*a:hover{
    color: var(--color-main) !important;
}*/
.wrapLanguage {
    transition: 0.3s;
    margin-left: 15px;
}
.wrapLanguage {
    height: 30px;
    display: flex;
    align-items: center;
    margin: 0 10px;
    position: relative;
    z-index: 991;
}
.wrapLanguage .contentLanguage {
    position: relative;
}
.wrapLanguage .titleLanguage {
    cursor: pointer;
    position: relative;
    padding-right: 15px;
}
.wrapLanguage .titleLanguage img {
    display: block;
}
.wrapLanguage .dropdownLanguage {
    position: absolute;
    top: 100%;
    left: -15px;
    z-index: 993;
    display: none;
    margin-top: 15px;
}
.wrapLanguage .contentDropdown {
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1019607843);
    padding: 7px 0;
    background-color: white;
}
.wrapLanguage .contentDropdown a {
    padding: 7px 15px;
    display: block;
    transition: 0.5s;
    text-align: center;
}
.wrapLanguage .contentDropdown a img {
    display: block;
}

#mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-item:last-child ul.mega-sub-menu{
    right: 0;
}
/*nav#menu-desktop {
    display: flex;
    align-items: center;
}*/
#menu-desktop{
    display: inline-flex;
    margin-left: auto;
    background: linear-gradient(180deg, rgba(253, 184, 19, 0.6) 0%, rgba(254, 212, 113, 0.6) 100%);
    border-radius: 100px 0 0 0;
    padding: 0px 0 0px 80px;
    position: relative;
    align-items: center;
}
#menu-desktop:before {
    content: "";
    background: linear-gradient(180deg, #FDB813 0%, #FED471 100%);
    border-radius: 100px 0px 0px 0px;
    height: 100%;
    width: calc(100% - 30px);
    position: absolute;
    left: 30px;
    top: 0;
    z-index: -1;
}
#mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-flyout ul.mega-sub-menu{
    box-shadow: 0px 2px 3px #ccc;
}
#mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item {
    margin: 0 5px 0 5px;
}
#mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item:nth-child(1), #mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item:nth-child(2) {
    float: left;    
}
#mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item > a.mega-menu-link {
    border: solid 1px #fdba19;
    border-radius: 6px;
}
#mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item:nth-child(1) > a.mega-menu-link{
    border-radius: 20px 5px 5px 5px;
    font-weight: 600;
}
#mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item:nth-child(2) > a.mega-menu-link{
    border-radius: 5px 5px 20px 5px;
    font-weight: 600;
}
/*#mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-item > a.mega-menu-link {
    font-weight: 500;
}
#mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-item > a.mega-menu-link:focus {
    font-weight: 500;
}*/
.tungdien {
    width: 50px;
    text-align: center;
    position: relative;
    border: solid 1px #fdba19;
    padding: 0;
    line-height: 37px;
    border-radius: 6px;
    margin-left: 5px;
}

.skip-link-fix {
    color: #EFA92F;
    padding: 5px 14px;
    font-size: 18px;
    cursor: pointer;
}
#searchtop {
    display: none;
    position: absolute;
    width: 500px;
    top: -2px;
    right: -2px;
    background: #f8f8f8;
    max-height: 40px;
    border: solid 1px #e9e9e9;
    border-radius: 8px;
    z-index: 9;
    transition: all 8s linear;
}
.skip-link-fix:hover {
    color: var(--bs-btn-hover-color);
    /*background-color: #fed105;
    border-color: #cd9c1f;*/
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
#searchtop .form-control {
    width: 80%;
    height: 40px;
    background: none !important;
    font-size: 14px;
}
nav#top-nav {
    width: 100%;
}
.radius-20{
    border-radius: 20px;
}
.radius-10{
    border-radius: 10px;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 25px;
    color: #666;
}
.swiper-button-next, .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
}
.title-index{
    text-transform: uppercase;
    color: #FDB813;
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: bold;
}
.title-index:before {
    content: "";
    width: 50px;
    height: 2px;
    background-color: #7E8083;
    position: absolute;
    bottom: 0;
    left: 0;
}
.form-floating-fix>label {
    left: 12px;
}
.form-bg {
    background: var(--color-main);
    padding: 20px 15px;
    margin-top: 20px;
    border-radius: 10px;
}
.form-bg h4{
    text-transform: uppercase;
    padding-bottom: 15px;
    color: #fff;
}
.form-bg p{
    color: #fff;
}
.btn-form{
    text-transform: uppercase;
    font-weight: bold;
    min-height: 50px;
  /*  background-color: black;
    border: black;*/
}
.mab {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    position: relative;
    height: 255px;
}
p.product-title {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    padding: 10px 0px;
    font-weight: bold;
    font-size: 20px;
    display: -webkit-box;
    max-height: 2.8rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 1;
}
a.link{
    text-decoration: none;
    color: #000;
}
p.product-title a{
    text-decoration: none;
    color: #000;
}
.post-exp{
    text-align: center;
    display: -webkit-box;
    max-height: 5rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 3;
}
.widget-header{
    width: 100%;
}
.title-index.text-center{
    display: block;
    text-align: center;
}
.title-index-center:before{
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.khung {
    border: solid 1px #ccc;
    padding: 30px;
    border-radius: 10px;
}
article.sp_cat {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    position: relative;
    height: 400px;
}

article.sp_cat .tag-catergory {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 21.14%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 40px;
}
article.sp_cat .tag-catergory a {
    text-decoration: none;
    color: #fff;
    font-size: 40px;
}
article.sp_cat .tag-catergory a.xemthem{
    font-size: 20px;
    text-transform: uppercase;
    color: var(--color-main);
}
.col-fix:nth-child(1){
    width: 100% !important;
    display: flex;
    column-gap: 30px;
    margin-bottom: 25px;
}
.col-fix:nth-child(1) .thumbnail {
    width: 50%;
    min-width: 50%;
}
.col-fix:nth-child(1) .noidung-index{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.col-fix:nth-child(1) p.post-title {
    font-size: 30px;
    line-height: 130%;
    max-height: 6rem;
}
.col-fix p.post-title {
    font-size: 20px;
    line-height: 130%;
    font-weight: 700;
    display: -webkit-box;
    max-height: 5rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
}
.col-fix .noidung-index {
    margin-top: 10px;
}
.col-fix:nth-child(1) .noidung-index {
    margin-top: 0px;
}
.col-fix p.post-title a {
    text-decoration: none;
    color: #000;
}
footer#footer-top {
    background: var(--color-main);
    padding: 30px 0px 10px;
    color: #000;
}
footer#footer-top ul, footer#footer-top ul li{
    list-style: none;
    margin: 0;
    padding: 0;
}
footer#footer-top h3{
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 20px;
}
footer#footer-top a{
    text-decoration: none;
    color: #000 !important;
}
footer#footer-top a:hover{
    color: #fff !important;
}
button#btn-back-to-top {
    padding: 0;
    border-radius: 100%;
    background: none;
    border: none;
    position: fixed;
    z-index: 9;
    bottom: 20px;
    right: 20px;
}
ul.share-icon {
    display: flex;
    column-gap: 5px;
    padding: 20px 0px;
}
footer#footer-top .input-group {
    width: 80%;
}
.copy {
    padding: 10px 0px 0px;
    border-top: solid 1px #917800;
    margin-top: 30px;
}
div#page-templates {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
div#page-templates h1 {
    color: #4F4F4F;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 3.5rem;
}
#contact iframe{
    height: 400px !important;
}
#contact .mab {
    margin-top: 0px;
    height: 400px;
}
#contact .contact {
    position: absolute;
    top: -10%;
    left: 100px;
    z-index: 99;
    width: 30%;
    max-width: 100%;
    height: 120%;
    border-radius: 50px 0px 50px 0px;
    background: var(--color-main);
    padding: 50px 30px;
    box-shadow: 2px 1px 6px #000;
    color: #000;
    font-size: 18px;
}
#breadcrumb {
    text-transform: uppercase;
    margin-bottom: 30px;
}
#breadcrumb a {
    text-decoration: none;
    color: #666;
}
p.post-title {
    font-weight: 600;
    font-size: 18px;
    margin: 10px 0px;
    display: -webkit-box;
    max-height: 5rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    line-height: 150%;
}
.desc{
    display: -webkit-box;
    max-height: 5rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 3;
    line-height: 150%;
    margin: 0px 0px 30px;
}
.cat-time{
    color: var(--color-main);
}
.radius-30p {
    border-radius: 30px 0px 30px 0px;
}
.sidebar-right-widget {
    border: solid 1px var(--color-main);
    margin-bottom: 30px;
    border-radius: 6px;
    padding: 30px 20px;
}

.sidebar-right-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
p.post-title-widget {
    font-weight: 600;
    font-size: 16px;
}
ul.widget_news_detail li {
    display: flex;
    margin-bottom: 20px;
    column-gap: 10px;
}
p.tieudefix {
    color: var(--color-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 20px;
}
ul.pagination {
    column-gap: 10px;
}
li.page-item {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-item:first-child .page-link {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}
.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}
a.page-link {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 50px;
}
.page-link {
    background: none;
    border-color: #234992;
    color: #234992;
}
.page-item:last-child .page-link {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}
.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--color-main);
    border-color: var(--color-main);
}
h1.entry-title {
    color: var(--color-main);
    margin-bottom: 30px;
}
.aligncenter {
    margin: 0 auto;
    display: block;
}
#ez-toc-container {
    margin: 2em 0em;
    width: 100%;
}
p.item-title {
    text-transform: uppercase;
    font-weight: bold;
    margin: 20px 0px;
    font-size: 20px;
}
.swiper.swiper-thumbs {
    margin-top: 10px;
}
.warranty-hide{
    display: none !important;
}
.warranty-show{
    display: block !important;
}
.xemsp{
    text-decoration: none;
    color: var(--color-main);
    font-size: 18px;
    font-weight: bold;
}
.videos {
    position: relative;
}
.play-video {
    position: absolute;
    z-index: 9;
    width: 68px;
    height: 48px;
    background: green;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: url(./img/play.webp) no-repeat center center;
    background-size: 100% auto;
    cursor: pointer;
}
#youtube .modal-dialog {
    max-width: 800px !important;
}
.justify-content-center {
    display: inline-flex;
    padding: 7px 30px;
    background: #e5e6e6;
    border-radius: 60px 10px 60px 10px;
    margin-bottom: 30px;
}
a.tab-cat.nav-link{
    padding-left: 30px;
    padding-right: 30px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}
a.tab-cat.nav-link:hover{
    background-color: var(--color-main);
    border-radius: 40px 7px 40px 7px;
    color: #fff;
}
a.tab-cat.nav-link.active {
    border-radius: 40px 7px 40px 7px;
    background-color: var(--color-main);
}
#header-page{
    min-height: 100px;
}
@media only screen and (max-width: 1399px) {
    #mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 20px;
    }
}
@media only screen and (max-width: 1199px) {
    #mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 10px;
    }
}
@media only screen and (max-width: 1180px) {
    #menu-desktop {
        float: right;
    }
}
@media only screen and (max-width: 720px) {
    article.col-lg-4.col-12{
        margin-bottom: 30px;
    }
    #mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item:nth-child(1), #mega-menu-wrap-top-nav #mega-menu-top-nav > li.mega-menu-item:nth-child(2) {
        display: none;
    }
    .site-logo img{
        max-height: 70px !important;
    }
    #searchtop{
        width: 300px;
    }
    .widget_abount .title-index {
        margin-top: 30px;
    }
    .title-index {
        font-size: 26px;
    }
    .khung{
        border: none;
        padding-bottom: 0;
    }
    .khung .widget-swiper{
        margin-bottom: 30px;
    }
    article.sp_cat {
        height: 255px;
    }
    article.sp_cat .tag-catergory a {
        font-size: 30px;
    }
    article.sp_cat .tag-catergory {
        padding: 20px 20px;
    }
    .col-fix:nth-child(1) .thumbnail {
        width: 100%;
        min-width: 100%;
    }
    .col-fix:nth-child(1) {
        column-gap: 0px;
        margin-bottom: 10px;
        flex-direction: column;
    }
    .col-fix:nth-child(1) p.post-title {
        font-size: 20px;
        line-height: 130%;
        max-height: 5rem;
    }
    .auto .swiper-slide {
        width: 85%;
    }
    .widget-footer{
        margin-top: 20px;
    }
    #contact .contact {
        position: relative;
        top: 40px;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        box-shadow: none;
        font-size: 18px;
    }
    section {
        padding: 20px 0px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 15px;
    }
    div#page-templates h1 {
        font-size: 2rem;
    }
    #contact .col-lg-12.mt-5{
        margin-top: 0 !important;
    }
    h1.entry-title {
        margin-top: 30px;
    }
    #breadcrumb {
        font-size: 14px;
    }
    #mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-flyout ul.mega-sub-menu {
        box-shadow: none;
    }
    #mega-menu-wrap-site-nav #mega-menu-site-nav > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        padding: 0px 10px 0px 30px;
        border-bottom: solid 1px #eceaea;
    }
}
