/**
Theme Name: Summit SUD Child Theme
Author: Summit BHC Webteam
Author URI: https://summitbhc.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: summit-bhc-child-theme
Template: hello-elementor
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/****************** Gravity Forms *****************/
.gfield_select {
	border: none;
	color: #5C5E6C;
	background-color: #F7F9FA;
	height: 34px;
}

.home-form .gform_legacy_markup_wrapper .gform_footer {
	text-align: center;
}

/****************** Insurance Logo ****************/

.insurance-logo .elementor-widget-wrap{
    display:grid!important;
    grid-template-columns: repeat(4, 1fr);
    grid-gap:24px!important;
}

.insurance-logo .elementor-widget-wrap .elementor-element.elementor-widget-image{
    width:100%!important;
}


.insurance-logo .elementor-widget-image{
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    display:inline-block;
}

.insurance-logo .elementor-widget-image.active,
.insurance-logo.show .elementor-widget-image{
    display:inline-block;
}

@media only screen and (max-width:767px){
    .insurance-logo .elementor-widget-wrap{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width:640px){
    .insurance-logo .elementor-widget-wrap{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width:420px){
    .insurance-logo .elementor-widget-wrap{
        grid-template-columns: repeat(1, 1fr);
    }
}

/****************** Testimonial Slider ****************/

.testimonial-slider{
    overflow: hidden;
    width:1130px;
    margin:0 auto;
}

.mobile-slider{
    display:none;
}

.testimonial-slider .swiper-slide,
.mobile-slider .swiper-slide{
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(153, 153, 153, 0.5);
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 30px;
    padding: 50px;
}

.testimonial-slider .swiper-slide p,
.mobile-slider .swiper-slide p{
    font-family: var(--e-global-typography-text-font-family);
    font-size: 25px;
    font-weight: 400;
    font-style: italic;
    line-height: 34px;
    letter-spacing: -0.015em;
    color:#003e4e;
    text-align: center;
}

.testimonial-slider .swiper-slide p:last-child,
.mobile-slider .swiper-slide p:last-child{
    margin-bottom:0;
}

.testimonial-slider .swiper-slide{
    filter: blur(2px) drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    width: 450px;
    height:auto;
    -webkit-transform: scale(0.8)!important;
    -moz-transform: scale(0.8)!important;
    -ms-transform: scale(0.8)!important;
    transform: scale(0.8)!important;
    opacity: 0;
}

.testimonial-slider .swiper-slide.swiper-slide-prev,
.testimonial-slider .swiper-slide.swiper-slide-active,
.testimonial-slider .swiper-slide.swiper-slide-next{
    -webkit-transform: scale(0.8)!important;
    -moz-transform: scale(0.8)!important;
    -ms-transform: scale(0.8)!important;
    transform: scale(0.8)!important;
    opacity: 0.9;
}

.testimonial-slider .swiper-slide.swiper-slide-active,
.mobile-slider .swiper-slide.swiper-slide-active{
    transform: scale(1)!important;
    position: relative;
    z-index: 2;
    filter:none;
    opacity: 1;
}

.testimonial-slider .swiper-slide.swiper-slide-prev{
    position: relative;
    right:-80px;
}

.testimonial-slider .swiper-slide.swiper-slide-next{
    position: relative;
    left:-80px;
}

.testimonial-slider .swiper-pagination-bullets,
.mobile-slider .swiper-pagination-bullets{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 7px;
    grid-gap: 7px;
    margin-top:24px;
    left:0;
}

.testimonial-slider .swiper-pagination-bullet,
.mobile-slider .swiper-pagination-bullet{
    width: 13px;
    height: 13px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.testimonial-slider .swiper-pagination-bullet-active,
.mobile-slider .swiper-pagination-bullet-active{
    background: #ffffff;
}

@media only screen and (max-width:1600px){
    
    .testimonial-slider .swiper-slide p,
    .mobile-slider .swiper-slide p{
        font-size: 20px;
        line-height: 1.6;
    }
}

@media only screen and (max-width:1200px){
    .testimonial-slider{
        width:calc(100% + 200px)!important;
        margin-left:-100px;
    }
}

@media only screen and (max-width:767px){
    .testimonial-slider{
        display:none;
    }
    
    .testimonial-slider .swiper-slide p,
    .mobile-slider .swiper-slide p{
        font-size:18px;
    }
    
    .mobile-slider{
        width:100%!important;
        display:block;
        overflow:hidden;
    }
    
    .mobile-slider .swiper-slide{
        padding:40px 30px 30px;
        font-size:16px;
        line-height:26px;
        height:auto;
    }
    
    .mobile-slider .swiper-slide.swiper-slide-active {
        background: rgba(255,255,255,0.9);
        border: 1px solid rgba(153, 153, 153, 0.5);
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 30px;
        opacity:1;
    }
}

/****************** Custom Members ****************/

.members-container {
    display:grid!important;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:100px 110px!important;
}

.members-box {
    width:100%;
    text-align: center;
}

.members-box img{
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

h4.members-name{
    font-family: var(--e-global-typography-primary-font-family)!important;
    font-weight: 600!important;
    font-size: 24px!important;
    line-height: 29px!important;
    letter-spacing: -0.015em!important;
    color: #003E4E!important;
    margin-top:16px!important;
    margin-bottom:0!important;
}

.members-box a{
    color: #003E4E;
    outline:none;
    text-decoration:none!important;
}

.members-box a:hover{
    color:#EF4136;
}

.members-box > a {
	position: relative;
	display: block;
	max-width: 329px;
	display: inline-block;
}
.members-box > a::after {
	display: block;
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	border: 3px solid transparent;
	top: 0;
	left: 0;	
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}
.members-box > a:hover::after {
	border: 3px solid #003E4E;
}

.members-position{
    font-family: var(--e-global-typography-primary-font-family)!important;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: #003E4E;
    margin-top:10px;
}

.team-lightbox {
    padding: 75px 85px;
    width: 1190px;
    background: rgba(255, 255, 255, 0.9)!important;
    display: flex;
    align-items: flex-start;
    position:relative;
}

.team-lightbox .profile-box{
    flex:0 0 330px;
    text-align: center;
    margin-right:54px;
}

.team-lightbox .profile-box img{
    border: 1px solid #BBBBBB;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.team-lightbox .content-box{
    flex:0 0 calc(100% - 384px);
}


.team-lightbox .content-box h2 {
    font-family: var(--e-global-typography-primary-font-family)!important;
    font-weight: 700;
    font-size: 35px;
    line-height: 43px;
    letter-spacing: -0.015em;
    color: #003E4E;
    margin-bottom:5px;
}

.team-lightbox .content-box h5{
    font-family: var(--e-global-typography-primary-font-family)!important;
    font-weight: 600;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: #003E4E;
    margin-bottom:20px;
}

.team-lightbox .content-box{
    font-family: var(--e-global-typography-text-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.015em;
    color: #003E4E;
}

.team-lightbox .content-box a{
    font-family: var(--e-global-typography-text-font-family);
    color:#EF4136;
    text-decoration: underline;
}

.team-lightbox .content-box p:last-child{
    margin-bottom:0;
}

.elementor-editor-active .team-lightbox {
    display: none
}

.lity-active body {
    overflow: hidden
}

.lity-inline .lity-content>* {
    max-height: none!important
}

.lity-inline .lity-wrap {
    overflow: auto
}

.lity-inline .lity-content {
    margin: 20px 0
}

a.closeme {
    position: absolute;
    top: 29px;
    right: 37px;
}

button.lity-close{
    display:none;
}

@media only screen and (max-width:1200px){
    .team-lightbox{
        width:95%;
        margin:0 auto;
        padding:60px;
    }
    
    .members-container {
        grid-gap: 80px!important;
    }
    
    .team-lightbox .content-box h2{
        font-size:30px;
        line-height:35px;
    }
}

@media only screen and (max-width:1024px){
    .members-container {
        grid-gap: 40px!important;
    }
    
    .team-lightbox{
        padding:40px;
    }
    
    .team-lightbox .profile-box{
        flex:0 0 280px;
        margin-right:30px;
    }
    
    .team-lightbox .content-box {
        flex: 0 0 calc(100% - 310px);
    }
    
    .team-lightbox .content-box h2{
        font-size:27px;
        line-height:30px;
    }
    
    .team-lightbox .content-box h5{
        font-size:22px;
        line-height:28px;
    }
    
    .team-lightbox .content-box p{
        font-size:20px;
        line-height:30px;
    }
    
    a.closeme{
        top:20px;
        right:20px;
    }
}

@media only screen and (max-width:767px){
    .team-lightbox {
        padding: 30px;
        flex-direction: column;
        width:100%;
        max-width:450px;
    }
    
    .team-lightbox .profile-box,
    .team-lightbox .content-box{
        flex:0 0 100%;
        width:100%;
    }
    
    .team-lightbox .profile-box{
        margin-bottom:20px;
    }
    
    .team-lightbox .content-box h2{
        font-size:24px;
        line-height:29px;
        margin-bottom:5px;
    }
    
    .team-lightbox .content-box h5,
    .members-name{
        font-size:20px;
        line-height:30px;
        margin-bottom:20px;
    }
    
    .team-lightbox .content-box p{
        font-size:20px;
        line-height:30px;
        margin-bottom:20px;
    }
    
    .lity-inline .lity-content{
        margin:80px 0 50px;
    }
    
    .members-container{
        padding:40px 24px;
    }
    
    .members-container{
        grid-template-columns: repeat(2, 1fr);
    }
    
    a.closeme{
        width:32px;
        height:32px;
        top: -40px;
        right: 5px;
    }
    
    a.closeme img{
        webkit-filter: brightness(0) invert(1);
        filter: brightness(0) invert(1);
    }
}

@media only screen and (max-width:640px){
    .members-container{
        grid-template-columns: repeat(1, 1fr);
    }
    
    .members-container {
        grid-gap: 60px!important;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .members-box{
        padding-bottom:20px;
    }
}

@media only screen and (max-width:480px){
    .team-lightbox{
        max-width:calc(100% - 50px);
        margin:0 auto;
        padding:30px 25px;
    }
    
    .members-container{
        justify-content:center;
    }
    
    .team-lightbox .content-box img{
        max-width: 190px;
    }
    
}