/* Fixes */
.main-content{
    padding-bottom:0;
}
.main-content ul li{
    margin-bottom: 7px;
}
/* Reusable Classes */
.heading-border:after{
    content: '';
    display: block;
    margin-top: 15px;
    height: 7px;
    width: 125px;
    background-color: var(--porto-secondary-color);
}
.heading-border-center:after{
    margin: 15px auto 0;
}
.link{
    font-weight: 700;
    color: var(--porto-tertiary-color);
}
.link:hover{
    color: var(--porto-primary-color);
}
.box-content{
    margin-bottom: 30px;
}
.box-content > .wpb_wrapper.vc_column-inner{
    background: #fff;
    padding: 40px 25px !important;
    border-radius: 25px;
    box-shadow: 3px 3px 7px -5px rgba(0, 0, 0, 0.15);
}
.as-contact .box-content > .wpb_wrapper.vc_column-inner{
    border:2px solid #eee;
}
.as-services .box-content > .wpb_wrapper.vc_column-inner{
    border:2px solid #eee;
}
.as-about-box .box-content > .wpb_wrapper.vc_column-inner{
    border:2px solid #eee;
}
.as-image img{
    border-radius: 25px;
    box-shadow: 3px 3px 7px -5px rgba(0, 0, 0, 0.15);
}

/* Header */
#header .header-main .container, #header.sticky-header .header-main .container{
    min-height: auto;
}
#header .top-cta{
    color:var(--porto-primary-color);
    font-size:15px;
}
#header .top-cta a{
    color:var(--porto-tertiary-color);
}
#header .top-cta a:hover{
    color: var(--porto-secondary-color);
}

/* Page Heading */
.as-page-title {
    color:#fff;
}
.yoast-breadcrumbs{
    color:#fff;
}
.yoast-breadcrumbs a{
    color:#ccc;
}
.yoast-breadcrumbs a:hover{
    color:#fff;
}

/* Services Menu */
.sidebar-menu>li.menu-item:hover {
    background: var(--porto-tertiary-color);
}
.sidebar-menu>li.menu-item>a{
    border:0;
}
.sidebar-menu .menu-custom-block a:last-child:hover, .sidebar-menu>li.menu-item:last-child:hover {
    border-radius: 0;
}
.sidebar-menu li {
    overflow: hidden;
    list-style: none;
}
.sidebar-menu li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-40px); 
}
.sidebar-menu li a i {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-align: center;
}
.sidebar-menu li:hover a {
    transform: translateX(0);
}
.sidebar-menu li:hover a i {
    opacity: 1;
}

/* Dentist Grid */
.dentist-grid > .wpb_wrapper.vc_column-inner{
    background: #fff;
    padding: 25px 25px 0 0 !important;
    border-radius: 25px;
    border: 3px solid var(--porto-tertiary-color);
    box-shadow: 3px 3px 7px 0px rgba(0, 0, 0, 0.15);
}
.dentist-grid img{
    border-bottom-left-radius: 25px;
}

/* Page Sidebar */
.vc_row.as-sidebar .vc_column_container > .wpb_wrapper.vc_column-inner{
    border: 1px solid #ddd;
    padding: 35px 25px 0 25px;
    border-radius: 25px;
}

/* Forms */
.gform_wrapper.gravity-theme .gfield input.large, .gform_wrapper.gravity-theme .gfield select.large{
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 50px;
    padding: 12.5px 25px 12.5px 25px;
    font-weight: 500;
}
.gform_wrapper.gravity-theme .gfield textarea.medium{
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 25px;
    padding: 12.5px 25px 12.5px 25px;
    font-weight: 500;
}
.gform_wrapper.gravity-theme .ginput_container_date input{
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 50px;
    padding: 12.5px 25px 12.5px 25px;
    font-weight: 500;
    width: 100%;
}
.form-notice{
    border: 2px solid var(--porto-tertiary-color);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 0;
}

/* Blog */
.blog .main-content{
    padding: 75px 0;
}
.single.single-post .main-content{
    padding:75px 0;
}
/* Bottom CTA */
.bottom-cta .dir-arrow.hlb{
    filter: brightness(0) invert(1);
}
.rotate-neg-15 img{
    rotate:-15deg;
}

/* Modal */
.modal-header{
    border-bottom: 0;
}

/* Footer */
.footer .porto-info-list li {
    align-items: start;
    margin-bottom: 10px;
}
.footer-menu{
    list-style-type: none;
    padding:0;
}
.footer-menu li{
    margin-bottom: 2.5px;
}
.footer .copyright{
    display: flex;
    justify-content: space-between;
    padding:20px;
    color:#eee;
}

/* FAQS */
.afaq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.afaq-item {
    border: none;
    background: transparent;
}
.afaq-heading {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem;
    line-height: 1.4;
}
.afaq-trigger {
    all: unset;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    padding: 4px 0;
}
.afaq-title {
    font-weight: 700;
    color: #222529;
    font-size: 1.05rem;
}
.afaq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--porto-primary-color);
    color: #ffffff;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
}

.afaq-icon::before, .afaq-icon::after {
    content: "";
    position: absolute;
    background-color: #ffffff;
    transition: transform 0.25s ease;
}
.afaq-icon::before {
    width: 10px;
    height: 2px;
}
.afaq-icon::after {
    width: 2px;
    height: 10px;
}
.afaq-item.afaq-open .afaq-icon::after {
    transform: scaleY(0);
}
.afaq-trigger:focus-visible {
    outline: 2px dashed #0386b4;
    outline-offset: 4px;
    border-radius: 2px;
}
.afaq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s step-end;
    visibility: hidden;
    overflow: hidden;
}
.afaq-item.afaq-open .afaq-panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}
.afaq-panel-inner {
    min-height: 0;
    padding-left: 32px;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #444444;
    line-height: 1.6;
}
.afaq-panel-inner p {
    font-size: 0.9em;
}
.afaq-panel-inner p:last-child {
    margin-bottom: 0;
}


/* Media Queries */
@media (max-width: 1399.98px) {

}

@media (max-width: 1169.98px) {
    .dentist-grid > .wpb_wrapper.vc_column-inner{
        padding:25px !important;
    }
    .dentist-grid h5:first-child{
        margin-top:15px;
    }
    .dentist-grid img{
        border-radius: 25px;
    }
    #header .main-menu > li.menu-item > a{
        font-size: 14px !important;
        padding-right: 12px !important;;
        padding-left: 12px !important;;
    }
    .book-btn{
        font-size:13px !important;
        padding: 13px 15px !important;
    }
}
@media (max-width: 991.98px) {

}
@media (max-width: 767.98px) {
    .dentist-grid:first-child{
        margin-bottom:35px;
    }
    .dentist-grid img{
        width: 200px;
    }
}
@media (max-width: 575.98px) {

}
@media (max-width: 425.98px) {

}
@media (max-width: 389.98px) {

}