.no-margin {
    margin: 0;
}

.showcasesection {
    padding: 0 0 60px 0;
    background-position: center center;
    background-size: cover;
}

.loaded.webp .showcasesection {
    background-image: url(/wp-content/themes/charlie-child/images/wood-bg.webp);
}

.loaded.no-webp .showcasesection {
    background-image: url(/wp-content/themes/charlie-child/images/wood-bg.jpg);
}

.purple-box {
    background: #a250b0;
    padding: 40px 15px 15px 15px;
}

.purple-box h2 {
    color: #fff;
    font-size: 24px;
    line-height: 30px;
}

.showimg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    position: relative;
}

.showhover {
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25% 5%;
    position: absolute;
    background: #ffffff;
}

.showhover p {
    color: #00469d;
    font-size: 18px;
}

.purple-box:hover .showhover {
    top: 0;
}

.showcase {
    max-width: 436px;
    margin: 0 auto;
}

.home .main-wrap {
    padding: 60px 0;
}

.home .main-wrap h1 {
    margin-bottom: 0;
    text-align: center;
}

.home .main-wrap h3 {
    padding-bottom: 40px;
    text-align: center;
    border-bottom: 4px solid #724daa;
    margin-bottom: 1em;
}

.reviewsection {
    padding: 100px 0;
    background-position: center center;
    background-size: cover;
}

.loaded.webp .reviewsection {
    background-image: url(/wp-content/themes/charlie-child/images/leaf-pattern-bg.webp);
}

.loaded.no-webp .reviewsection {
    background-image: url(/wp-content/themes/charlie-child/images/leaf-pattern-bg.jpg);
}

.five-friends {
    margin-left: -15px;
}

.reviews-content {
    padding-right: 40%;
}

.reviewsection h2 {
    color: #fff;
}

.reviewsection h3 {
    color: #fff;
}

.hr-white {
    display: block;
    height: 1px;
    border: 0;
    border-top: 4px solid #fff;
    margin: 1em 0;
    padding: 0;
}

.reviewsection .slides {
    color: #fff;
    min-height: 200px;
}

h2.patient-name {
    font-size: 18px;
    line-height: 28px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
}

.reviewsection .number-crumb-container, .reviewsection .arrow {
    display: none;
}

.reviewsection p {
    margin: 0;
}

.reviewsection {
    padding: 100px 0;
    background-position: center center;
    background-size: cover;
}

.loaded.webp .reviewsection {
    background-image: url(https://www.orthodontichealthcenter.com/wp-content/themes/charlie-child/images/leaf-pattern-bg.webp);
}

.loaded.no-webp .reviewsection {
    background-image: url(/wp-content/themes/charlie-child/images/leaf-pattern-bg.jpg);
}

.five-friends {
    margin-left: -15px;
}

.reviews-content {
    padding-right: 40%;
}

.reviewsection h2 {
    color: #fff;
}

.reviewsection h3 {
    color: #fff;
}

.hr-white {
    display: block;
    height: 1px;
    border: 0;
    border-top: 4px solid #fff;
    margin: 1em 0;
    padding: 0;
}

.reviewsection .slides {
    color: #fff;
    min-height: 200px;
}

h2.patient-name {
    font-size: 18px;
    line-height: 28px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
}

.reviewsection .number-crumb-container, .reviewsection .arrow {
    display: none;
}

.reviewsection p {
    margin: 0;
}

.affiliatesection img {
    margin: 50px 30px;
}

.affiliatesection .row {
    justify-content: center;
    padding: 0 15px;
}

.kids-adult-section {
    padding: 40px 0;
}



.kids-adult-section .no-gutter {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    border-right: 3px solid #fff;
}

.kids-box, .adult-box {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.purple-hover {
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10% 5%;
    position: absolute;
    background: #a250b0;
    line-height: 28px;
    z-index: 2;
}

.purple-hover h3 {
    color: #fff;
}

.purple-hover h2 {
    color: #fff;
}

.purple-hover p {
    color: #fff;
}

.child-text-right {
    color: #FFFFFF;
    right: 5%;
    bottom: 5%;
    font-size: 40px;
    position: absolute;
    text-transform: uppercase;
    line-height: 28px;
}

.child-text-right span {
    font-size: 20px;
}

.kids-adult-section .bord-to-left {
    border-left: 3px solid #fff;
    border-right: 0;
}

.child-text-left {
    color: #FFFFFF;
    left: 5%;
    bottom: 5%;
    font-size: 40px;
    position: absolute;
    text-transform: uppercase;
    line-height: 28px;
}

.child-text-left span {
    font-size: 20px;
}

.adult-box:hover .purple-hover, .kids-box:hover .purple-hover {
    top: 0;
}

.kids-box, .adult-box {
    max-width: 1020px;
    margin: 0 auto;
}



/* RESPONSIVE 
-----------------------------------------------*/
@media (min-width: 1200px) and (max-width: 1400px) {
}

@media only screen and (min-width: 980px) {
} 

@media all and (max-width: 1500px) {
    .affiliatesection img {
        margin: 50px 25px;
        max-width: 50%;
    }
    
}

@media all and (max-width: 1400px) {
    .affiliatesection img {
        margin: 50px 20px;
    }
    
    .reviews-content {
        padding-right: 0;
    }
}

@media (max-width: 1300px) {
    .purple-hover {
        padding: 5%;
    }
}

@media only screen and (max-width: 1200px) {
    .showhover p {
        font-size: 14px;
        line-height: 18px;
    }
    
    .kids-box, .adult-box {
        margin: 20px auto;
    }

    .kids-adult-section .no-gutter, .kids-adult-section .bord-to-left {
        border: 0;
    }
}

@media (max-width: 1025px) {
}

@media only screen and (max-width: 979px){
    .showcase {
        margin: 40px auto;
    }
    
    .affiliatesection img {
        margin: 40px 10px;
    }
    
    .five-friends {
        margin-left: -15px;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 767px) {
    
    .affiliatesection img {
        max-width: 100%;
    }
} 

@media (max-width: 600px) {
    .kids-box, .adult-box {
        min-height: 315px;
    }

    .kids-box img, .adult-box img {
        object-fit: cover;
        height: 315px;
        width: 100%;
    }

    .purple-hover h2 {
        margin: 0;
    }

    .purple-hover p {
        font-size: 15px;
        margin: 0;
    }

    .purple-hover {
        padding: 3%;
    }
}

@media only screen and (max-width: 480px) {
    .affiliatesection img {
        margin: 40px 0px;
    }
}
