.contentarea img {
    height: auto;
}

.gallery .pics {
    margin: 5px;
}
.blog #main article {
    clear: both;
}
.blog .alignleft img {
    max-width: 320px;
    height: auto;
}
.single .alignleft img {
    max-width: 450px;
}
.contact-page-info {
    margin-top: 50px;
}
@supports (object-fit: cover) {
    .gallery .pics img {
        width: 380px;
        height: 380px;
    }
}
.ins {
    list-style: none;
}

.ins li {
    margin-bottom: 15px;
}

/* INTERNAL SIDEBAR CSS */
.main-wrap .container {
    max-width: 1500px;
}

.main-wrap {
    padding: 50px 0;
}

.sb {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.row.contentsection {
    padding: 0;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0;
    font-size: 105px;
    line-height: 120px;
    letter-spacing: normal;
}

.post_content {
    position: relative;
}

.inner-con {
    padding: 50px 0 50px;
}

.sb-outer {
    width: 100%;
    max-width: 415px;

    padding: 50px 10px;
}

.side-bar {
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
}

.side-bar h4 {
    text-transform: none;
    margin-bottom: 15px;
}

.side-bar .patient-name {
    font-weight: 400;
    font-size: 23px;
    line-height: 33px;
    color: #fff;
    letter-spacing: normal;
}

.side-rev {
    margin-bottom: 30px;
}

.side-rev .arrow,
.side-rev .number-crumb-container {
    display: none;
}

.side-frm {
    background: none;
    padding: 30px 10px;
    margin-top: 50px;
    border: 2px solid #c9cfce;
}

.side-hrs {
    font-size: 16px;
    line-height: 26px;
}

.side-frm input,
.side-frm select,
.side-frm textarea {
    border-radius: 0;
    border: 0.85px solid #d8dadb;
    box-shadow: inset 0px 3.41039px 3.41039px rgba(0, 0, 0, 0.25);
    background: #f4f6f4;
}

.side-frm .floating-label input:focus:invalid + span,
.side-frm .floating-label textarea:focus + span {
    background: #fff;
    color: #000;
}

.side-frm .floating-label input + span,
.side-frm .floating-label textarea + span {
    color: #5d6463;
    background: none;
}

.side-frm .bp-submit-wrap .main-btn {
    width: 100%;
    justify-content: center;

    background: #f1d7a2;
    width: 100%;
    max-width: 266px;
    margin: 30px auto 0;
}

.formatted-hours {
    width: 100%;
}

.side-form form .row > div[class*='col'] {
    padding: 0 0.2em;
}

.sfi h2 {
    margin-bottom: 30px;
}

/* GAL SECTION
-----------------------------------------------*/
.gal-section {
    padding: 100px 0;
}

.gal-section h5 {
    margin-bottom: 30px;
}

.bp-slider-box {
    max-width: 354px;
    width: 100%;
    height: 186px;
    background-color: #000;
    position: relative;
}
.bp-slider-box#bp-slider-box-0 {
    background: #000;
    background-size: cover;
}
.bp-slider-box#bp-slider-box-0 .resize-box {
    background: #1c6fad;
    background-size: cover;
}

.bp-slider-box .resize-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    background-color: #457893;
}

.bp-slider-outer {
    width: 100%;
    max-width: 354px;
    margin: 20px auto;
    position: relative;
}

.slide-title h3 {
    font-weight: 700;
    font-size: 27px;
    line-height: 37px;
    color: #434a49;
}

.slide-title {
    text-align: center;
    background-color: #c9cfce;
    margin-top: -1px;
    position: relative;
    z-index: 1;
}

/* .bp-slider-box::after,
.bp-slider-box::before {
    content: 'After';
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    padding: 5px 15px;
    z-index: 5;
}
.bp-slider-box::before {
    content: 'Before';
    left: 10px;
    right: inherit;
} */
.bp-slider-box .bp-slider {
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    margin: 0;
    width: 2px;
    cursor: ew-resize;
}
.bp-slider-box .bp-slider::after {
    content: '';

    position: absolute;
    top: 50%;
    margin: -16px 0 0 -17px;
    width: 36px;
    height: 36px;
    background: url(../images/dot.svg) no-repeat center center;
    background-size: contain;
}

@media only screen and (max-width: 480px) {
    .bp-slider-box {
        height: 210px;
    }
}

.no-webp.loaded .bp-slider-box#bp-slider-box-0 .resize-box {
    background: url(../images/ba01.jpg) no-repeat;
    background-size: cover;
}
.webp.loaded .bp-slider-box#bp-slider-box-0 .resize-box {
    background: url(../images/ba01.webp) no-repeat;
    background-size: cover;
}

.no-webp.loaded .bp-slider-box#bp-slider-box-0 {
    background: url(../images/ba04.jpg) no-repeat;
    background-size: cover;
}
.webp.loaded .bp-slider-box#bp-slider-box-0 {
    background: url(../images/ba04.webp) no-repeat;
    background-size: cover;
}

.no-webp.loaded .bp-slider-box#bp-slider-box-1 .resize-box {
    background: url(../images/ba02.jpg) no-repeat;
    background-size: cover;
}
.webp.loaded .bp-slider-box#bp-slider-box-1 .resize-box {
    background: url(../images/ba02.webp) no-repeat;
    background-size: cover;
}

.no-webp.loaded .bp-slider-box#bp-slider-box-1 {
    background: url(../images/ba05.jpg) no-repeat;
    background-size: cover;
}
.webp.loaded .bp-slider-box#bp-slider-box-1 {
    background: url(../images/ba05.webp) no-repeat;
    background-size: cover;
}

.no-webp.loaded .bp-slider-box#bp-slider-box-2 .resize-box {
    background: url(../images/ba03.jpg) no-repeat;
    background-size: cover;
}
.webp.loaded .bp-slider-box#bp-slider-box-2 .resize-box {
    background: url(../images/ba03.webp) no-repeat;
    background-size: cover;
}

.no-webp.loaded .bp-slider-box#bp-slider-box-2 {
    background: url(../images/ba06.jpg) no-repeat;
    background-size: cover;
}
.webp.loaded .bp-slider-box#bp-slider-box-2 {
    background: url(../images/ba06.webp) no-repeat;
    background-size: cover;
}

.gal-b .main-btn4 {
    width: 100%;
    max-width: 230px;
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0;
}

/* REV SECTION
-----------------------------------------------*/
.rev-section {
    padding: 100px 0 130px;
    background: #f0f3f3;
}

.rev-section .container {
    max-width: 1800px;
}

.rev-section h5 {
    color: #434a49;
    margin-bottom: 15px;
}

.rev-section h4 {
    color: #5d6463;
    font-size: 25px;
    line-height: 35px;
    letter-spacing: 2.9939px;
    margin-bottom: 30px;
}

.rev-section svg {
    width: 100%;
}

.rev-row {
    width: 100%;
}

.rev-pic {
    width: 100%;
    max-width: 71px;
    margin: 20px auto;
}

/* Review avatar (initials) + per-review star rating */
.rev-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #7BCCC4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 1px;
}

.rev.slick-slide.slick-current.slick-active.slick-center .rev-avatar {
    font-size: 34px;
}

.rev-section .rev-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.rev-section .rev-stars span {
    display: inline-flex;
    line-height: 0;
}

.rev-section .rev-stars svg {
    width: 18px;
    height: 18px;
    fill: #E0E6E5;
}

.rev-section .rev-stars .on svg {
    fill: #7BCCC4;
}

.rev-section .rev-con .p-name {
    font-style: normal;
    font-weight: 600;
    margin-bottom: 0;
}

.rev-inner {
    width: 100%;
    max-width: 375px;
    font-size: 11px;
    font-style: italic;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 1.73705px;
    opacity: 0.3;
    margin: 80px auto;
}

.rev.slick-slide.slick-current.slick-active.slick-center .rev-inner {
    opacity: 1;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 2.49px;
    max-width: 539px;
    margin: 20px auto;
}

.rev.slick-slide.slick-current.slick-active.slick-center .rev-pic {
    max-width: 103px;
}

.slick-prev {
    position: absolute;
    bottom: -30px;
    left: 50%;
    background: none;
    color: transparent;
    z-index: 5;
    padding: 0;
    margin: 0;
    width: 25px;
    margin-left: -80px;
}

.slick-prev::before {
    content: url(../images/arrow-l.svg);
    position: absolute;
    width: 51px;
    height: 51px;
    border-radius: 50%;
    transition: all 0.2s ease-in;
}

.slick-next {
    position: absolute;
    bottom: -30px;
    right: 50%;
    background: none;
    color: transparent;
    z-index: 5;
    padding: 0;
    margin: 0;
    width: 25px;
    margin-right: -50px;
}
.slick-prev:hover::before,
.slick-next:hover::before {
    background: #fff;
}
.slick-next::before {
    content: url(../images/arrow-r.svg);
    position: absolute;
    width: 51px;
    height: 51px;
    border-radius: 50%;
    transition: all 0.2s ease-in;
}

/******** internal pages ************/

.parent-pageid-248 .main-wrap,
.page-id-224 .main-wrap,
.page-id-226 .main-wrap,
.parent-pageid-228 .main-wrap,
.parent-pageid-236 .main-wrap
 {
    background: linear-gradient(180deg, #FFF 9.89%, rgba(255, 255, 255, 0.62) 100%), #7BCCC4;
}

.page-id-248 .main-wrap,
.page-id-228 .main-wrap, 
.page-id-236 .main-wrap {
    display: none;
}

.split-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.split-box h2 {
    margin-bottom: 32px;
}

.page-id-234 .video-container {
    margin: 20px auto 50px;
}

/*Services page*/

.explore-left {
    max-width: 596px;
    align-items: flex-start;
}

.no-webp.loaded .explore-bg.service-bg {
    background: url(../images/explore-pic.jpg) no-repeat center center;
    background-size: cover;
}
.webp.loaded .explore-bg.service-bg {
    background: url(../images/explore-pic.webp) no-repeat center center;
    background-size: cover;
}

.explore-bg {
    min-width: 600px;
    height: 330px;
    margin: 0 0 15px;
}

.explore-right {
    width: 100%;
    max-width: 596px;
}

/* Custom CSS to display the menu items vertically */
.vertical-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vertical-menu .menu-item {
    margin: 5px 0; /* Adjust the spacing between menu items */
}

/* Adjust the font size, color, and other styling as needed */
.vertical-menu .menu-item a {
    font-size: 23px;
    color: #294B85;
    text-decoration: none;
    font-weight: 400;
}
.vertical-menu .menu-item {
    list-style-image: url('../images/green-dot.png');
}
.vertical-menu .menu-item.menu-item-has-children {
    list-style-image: url('../images/blue-dot.png');
}
.vertical-menu .menu-item.menu-item-has-children > a {
    font-size: 32px;
    font-weight: 500;
    border-bottom: 1px solid  #294B85;
    
}
.vertical-menu .menu-item.menu-item-361 > a {
    font-size: 32px;
    font-weight: 500;
    border-bottom: 1px solid #294B85;
}
.vertical-menu .menu-item.menu-item-361 {
    list-style-image: url('../images/blue-dot.png');
}
.procedures-nav-container ul {
    margin: 0;
    list-style: none;
}

.procedures-nav-container ul li a {
    text-decoration: none;
}

.procedures-nav-container ul li a {
    display: block;
    padding: 5px 5px;
    text-align: left;
}

ul.sub-menu {
    margin: 0 26px;
}


/*Facial Esthetics page*/
.page-id-226 .explore-right {
    width: 100%;
    max-width: 557px;
}

.page-id-226 .explore-right h2 {
    margin-bottom: 32px;
}

/*Cosmetic Dentistry Page*/

/* SHOWCASE on internal pages
-----------------------------------------------*/
.showcase-inner {
    /*background: #f1d7a2;*/
    position: relative;
    background: linear-gradient(180deg, #FFF 9.89%, rgba(255, 255, 255, 0.62) 100%), #F1D7A2;
    padding: 100px 0 50px;
}

.showcase-inner .container {
    padding: 0 15px 0;
    max-width: 1350px;
    position: relative;
    z-index: 5;
}

/*.white-fade {*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(*/
/*        180deg,*/
/*        #ffffff 9.89%,*/
/*        rgba(255, 255, 255, 0.62) 100%*/
/*    );*/
/*}*/

.showcase-heading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-inner h5 {
    border-top: 3.99187px solid #c9cfce;
    padding-top: 30px;
    width: 100%;
    max-width: 637px;
}

.container.contain2 {
    max-width: 1300px;
    padding: 50px 0 50px;
}

.show-box {
    width: 100%;
    max-width: 336px;
    margin: 15px auto;
    background: #ffffff;
    border-top: 5.98781px solid #f1d7a2;
    box-shadow: -6px 7px 8px rgba(0, 0, 0, 0.25);
    min-height: 574px;
    padding: 20px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sb-inner {
    width: 100%;
    max-width: 280px;
}

.show-pic {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.show-title h4 {
    color: #294B85;
    font-size: 23px;
    line-height: 33px;
    letter-spacing: 2px;
    margin: 0 0 15px;
    font-weight: 700;
    text-decoration-line: underline;
}

.show-title {
    border-bottom: 0.997968px solid #f1d7a2;
}

.show-con {
    font-size: 16px;
    color: #434a49;
    text-align: center;
    margin: 15px 0;
    min-height: 112px;
}

.show-con p {
    margin-bottom: 0;
}

.showcase-blue {
    color: #294B85;
    text-decoration: underline;
}

.sb-inner .main-btn4 {
    width: 100%;
    padding: 15px 5px;
    color: #fff;
}

/*The two pages with 5 across*/

.row-five {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    justify-content: space-evenly;
}

.show-outer {
    flex: 0 0 336px;
}

.page-id-236 .container.contain2,
.parent-pageid-236 .container.contain2,
.page-id-248 .container.contain2,
.parent-pageid-248 .container.contain2 {
    max-width: 1920px;
}


/*Dental Bonding page*/
.no-webp.loaded .explore-bg.dent-bonding-bg {
    background: url(../images/dent-bonding-bg.jpg) no-repeat center center;
    background-size: cover;
}
.webp.loaded .explore-bg.dent-bonding-bg {
    background: url(../images/dent-bonding-bg.webp) no-repeat center center;
    background-size: cover;
}

/*Teeth Whitening page*/
.page-id-234 .explore-right {
    max-width: 596px;
}

/*Emergency Dental Care page*/
.no-webp.loaded .explore-bg.dent-emergency-bg {
    background: url(../images/dent-emergency-bg.jpg) no-repeat center center;
    background-size: cover;
}
.webp.loaded .explore-bg.dent-emergency-bg {
    background: url(../images/dent-emergency-bg.webp) no-repeat center center;
    background-size: cover;
}
.explore-right-btm {
    margin-top: 23px;
}

/*Sedation Dentistry page*/
.no-webp.loaded .explore-bg.dent-sedation-bg {
    background: url(../images/dent-sedation-bg.jpg) no-repeat center center;
    background-size: cover;
}
.webp.loaded .explore-bg.dent-sedation-bg {
    background: url(../images/dent-sedation-bg.webp) no-repeat center center;
    background-size: cover;
}







/* RESPONSIVE 
-----------------------------------------------*/
@media (min-width: 1200px) and (max-width: 1400px) {
}

@media only screen and (min-width: 980px) {
}

@media (max-width: 1300px) {

    .split-box {
        flex-direction: column;
    }
    
    .explore-left {
        max-width: 100%;
    }
    
    .explore-right {
        max-width: 100%;
    }
    
    .page-id-224 .explore-right {
        padding: 0 24px;
    }
    
    .explore-bg {
        min-width: auto;
    }
    .page-id-226 .explore-right,
    .page-id-234 .explore-right {
        max-width: 100%;
    }
}

@media (max-width: 1025px) {
    
    .inner-con {
        padding: 0;
    }
    
}

@media only screen and (max-width: 991px) {
    .side-frm {
        margin-top: 0;
    }
    .side-bar {
        max-width: 600px;
        margin-top: 50px;
    }
    .rev-section {
        padding: 50px 0 100px;
    }
    .rev-section {
        padding: 50px 0 100px;
    }
    .showcase-inner {
        padding: 50px 0 50px;
    }
    .split-box h2 {
        margin-bottom: 18px;
    }
}

@media only screen and (max-width: 767px) {
    
    .vertical-menu .menu-item.menu-item-has-children > a {
        font-size: 24px;
        
    }
    .vertical-menu .menu-item.menu-item-361 > a {
        font-size: 24px;
    }

    .vertical-menu .menu-item a {
        font-size: 18px;
    }
    
}

@media all and (max-width: 600px) {
}

@media only screen and (max-width: 480px) {
    .gallery .pics {
        margin: 0 0 10px;
    }

    @supports (object-fit: cover) {
        .gallery .pics img {
            width: 300px;
            height: 300px;
        }
    }
}