.community_banner{
    height: 470px;
    background-size: cover;
    position: relative;
    background-position: center top;
    background-repeat: no-repeat;
    object-fit: cover;
    object-position: center;
    margin-top: 100px;
}
.mission-statement{
    background-size: cover;
    background-position: center;
}
.mission-image {
    right: -140px;
    position: relative;
    margin-top: 25px;
}
.america-section{

    background-size: cover;
    background-position: center;
}
.america-title span {
    display: block;
    font-size: 32px;
    text-transform: initial;
    letter-spacing: initial;
    font-weight: 400;
}
.america-title {
    margin-bottom: 20px;
}
.blue-text{
    color: #0E4D80;
}
.america-image.text-center {
    margin-top: 40px;
}
.meet_team {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* height: 100%; */
    padding-left: 15%;

}

/* .meet_team::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 0; 
    background: linear-gradient(
        to bottom,
        rgba(11, 60, 102, 0) 0%,
        rgba(11, 60, 102, 0.6) 50%,
        rgba(11, 60, 102, 1) 100%
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
} */



.meet_team h2{
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 22px;
    margin-left: 20px;
}
.meet_team .title{
    font-size: 50px;
    line-height: 100%;
    color: #fff;
    text-transform: capitalize;
    text-align: center;
}
.meet_team .designation{
    font-weight: 500;
    font-size: 18px;
    line-height: 35px;
    color: #fff;
    text-align: center;
    margin-bottom: 73px;
}
.meet_team p{
    color: #fff;
    font-size: 18px;
    line-height: 35px;
    font-weight: 400;
}
.meet_team .img{
    height: 630px;
    object-fit: cover;
}
.meet_team .blue_btn{
    display: flex;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    justify-content: center;
}
.meet_team .inner_content{
    margin-left: 110px;
    margin-top: -30px;
}
#team_slider .slick-slide{
    margin-left: 20px;
}
#team_slider{
    margin-top: 30px;
}
.meet_team .slick-slide img{
    height: 350px;
    object-fit: cover;
}
.team_slider_inr{
    position: relative;
}
.team-name{
    /* font-family: Crimson Pro; */
    font-weight: 500;
    font-size: 28px;
    line-height: 35px;
    color: #fff;
    position: absolute;
    bottom: 17px;
    left: 28px;
}
.team_slider p{
    margin-bottom: 10px;
    margin-left: 20px;

}
.meet_team .attorney_wrap{
    margin-top: -71px;
}
.meet_team .slick-arrow{
    background: none;
    border: 1px solid #fff;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -100px;
    position: absolute;
}
.meet_team .prev-arrow{
    left: 20px;
}
.meet_team .next-arrow{
    left: 107px;
}
.meet_team .slick-arrow:hover{
    opacity: 0.7;
}
.meet_team .slick-arrow svg{
    width: 17px;
    height: 20px;
}
.meet_team .slick-dots {
    display: flex;
    flex-wrap: wrap;
    bottom: -92px;
    left: 21%;
    width: 79%;
}
.meet_team .slick-dots li button {
    width: 100%;
    height: 1px;
    padding: 0;
    background: #cdcdcd66;
    opacity: 1;
    border-radius: 0
}
.meet_team  .slick-dots li {
    flex: 1;
    margin: 0
}
.meet_team .slick-dots li.slick-active {
    width: 100%
}
.meet_team  .slick-dots li.slick-active button {
    background: #d9d9d9;
    opacity: 1;
    height: 3px;
    margin-top: -2px
}
.meet_team .slick-dots li.slick-active button:before, .meet_team  .slick-dots li button:before {
    opacity: 0
}
.get-involved-section {
    background-color: #0c3c66;
    background-size: cover;
    background-position: right center;
}
.investing_sec{
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-bottom: 135px;
}
/* .investing_sec h2{
    color: #0E4D80;
    text-transform: capitalize;
} */
.investing_sec #invest_slider{
    margin-top: 40px;
}
.investing_sec .slick-slide{
    border: 2px solid #0B3C66;
    margin: 0 10px 10px 10px;
}
.investing_sec .invest_wrap p{
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    margin-top: 10px;
}
.investing_sec .invest_wrap{
    padding: 50px 40px;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #696969;
    flex-direction: column;
}
.invest_wrap svg{
    width:70px;
    height: 70px;
}
.invest_wrap svg path{
    fill: #706f6f;
}
/* .investing_sec .invest_wrap:hover{
    box-shadow: 0px 0px 12px 1px #00000047;
    background: #0C3C66;
    cursor: pointer;
}
.investing_sec .invest_wrap:hover p{
    color: #fff;
} */
.investing_sec .slick-dots{
    bottom: -65px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.investing_sec .slick-dots li{
    width: 15px;
    height: 15px;
    margin: 0 4px;
    border: 1px solid #706F6F;
    border-radius: 50%;
}
.investing_sec .slick-dots li button:before{
    opacity: 0;
}
.investing_sec .slick-dots li.slick-active{
    width: 28px;
    height: 28px;
    border: 1px solid #0B3C66;
}
.investing_sec .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #0b3c66;
    top: 0px;
    left: 3.5px;
    width: 0px;
    height: 0px;
    font-size: 61px;
}
.invest-wrap {
    height: 100%;
    background: #F5F5F5;
    padding: 40px 30px;
    border-left: 1px solid #0C3C66;
}
/*.invest-icon svg path {
    fill: #706F6F;
}*/
.invest-icon img,
.invest-icon svg {
    width: 80px;
    height: 80px;
}
.invest-list{
    padding-top: calc(var(--bs-gutter-x) * .5);
    padding-bottom: calc(var(--bs-gutter-x) * .5);
}
.invest-title {
    color: #000;
    font-weight: 500;
    font-family: "Campton";
    font-size: 25px;
    text-transform: uppercase;
    margin: 0;
}
.invest-icon {
    margin-bottom: 15px;
}
/* .investing_sec .slick-dots li:hover{
    background: #706F6F;
} */

.event_sec{
    background: url(/wp-content/themes/dyer_law/community-page/images/event_bg.png) no-repeat;
    background-size: cover;
    background-position: center;
    width:100%;
    padding-bottom: 135px;
}
.event_sec::after{
    position: absolute;
    content: "";
    top:0;
    right:0;
    background: url(/wp-content/themes/dyer_law/community-page/images/blue_bg.png) no-repeat;
    background-size: cover;
    background-position: center;
    width:566px;
    height: 100%;
    /* z-index: -9; */
}
.inner_content{

}
.event_sec .img_block{
    display: flex;
    justify-content: end;
}
.event_sec .img{
    border: 1px solid #E0E0E0;
    padding: 30px;
    z-index: 9;
    position: relative;
    overflow: hidden;
    background: #E0E0E0;
    height: 765px;
    object-fit: cover;
    width: 500px;
    margin: 0px 55px 0px 0px;
}
.event_sec h2{
    /* text-transform: capitalize;
    color: #0E4D80; */
    margin-bottom: 40px;
}
.event_sec .sub_heading{
    font-family: Crimson Pro;
    font-weight: 500;
    font-size: 40px;
    line-height: 100%;
    color: #262626;
    margin-bottom: 45px;
}
.event_sec .content{
    width:85%;
}
.event_sec .slick-arrow{
    border: 0px;
    background: #1D90CF;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -115px;
}
.event_sec .slick-arrow svg{
    width: 16px;
    height: 19px;
}
.event_sec .slick-arrow:hover{
    background: #dbdbdb;
}
.event_sec .slick-arrow:hover svg path{
    fill: #2626265c;
}
.event_sec .prev-arrow{
    left: 0px;
}
.event_sec .next-arrow{
    left: 81px;
}
.event_sec .slick-dots {
    display: flex;
    flex-wrap: wrap;
    bottom: -104px;
    left: 19%;
    width: 66%;
}
.event_sec .slick-dots li button {
    width: 100%;
    height: 1px;
    padding: 0;
    background: #0000009c;
    opacity: 1;
    border-radius: 0
}
.event_sec .slick-dots li {
    flex: 1;
    margin: 0
}
.event_sec .slick-dots li.slick-active {
    width: 100%
}
.event_sec .slick-dots li.slick-active button {
    background: #1D90CF;
    opacity: 1;
    height: 3px;
    margin-top: -2px
}
.event_sec .slick-dots li.slick-active button:before,.event_sec .slick-dots li button:before {
    opacity: 0
}



.mission-content .large-content {
    font-size: 26px;
}
.directors-sec, .past-community-events {
    background: #f2f5f6;
}


.directors-sec .team-data-wrap a, .card-item-static{
    display:flex;
    position:relative;
    align-items:center;
    width:100%;
    flex-flow:column;
    transition:0.5s ease all;
    overflow:hidden;
}
.directors-sec .team-data-wrap a:after, .card-item-static::after {
    content:'';
    background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    width:100%;
    height:50%;
    left:0;
    right:0;
    bottom:0;
    position:absolute;
}
.directors-sec .team-data-wrap{
    overflow:hidden;
}
.directors-sec .team-data-wrap a:hover, .card-item-static:hover {
    overflow:hidden;
}

.directors-sec .team-data-wrap img{
    height:auto;
    width:100%;
}
.directors-sec .team-data-wrap a .teamcontent, .card-item-static .teamcontent{
    position:absolute;
    bottom:10px;
    left:0;
    right:0;
    text-align:center;
    padding:5px 40px;
    z-index:1;
}
.directors-sec .team-data-wrap a .teamcontent .director-name, .card-item-static .teamcontent .director-name {
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: capitalize;
}
.directors-sec .team-data-wrap a:hover img, .card-item-static:hover img{
    transform:scale(1.05);
}
.directors-sec .team-data-wrap a img, .card-item-static img {
    transition: 0.5s;
    object-fit: cover;
    object-position: center top;
}
.directors-sec .team-data-wrap *{
    color:#fff;
}
.directors-sec .team-data-wrap:hover *{
    color: #fff;
}
.directors-sec .team-data-wrap:hover svg path{
    stroke: #fff;
}
.directors-sec .teamcontent .get_the_content .content {
    margin-top: 10px;
    margin-bottom: 10px;
}
.directors-sec .team-data-wrap a .teamcontent .get_the_content, .card-item-static .teamcontent .get_the_content{
    display:none;
    line-height: 1.5;
}
.directors-sec .team-data-wrap a:hover .get_the_content, .card-item-static:hover .get_the_content{
    display:block;
}


.investing-slider .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 20px;
}
.investing-slider {
    margin-bottom: 70px;
}
.investing-slider .slick-slide {
    height: auto;
}
.investing-slider .invest-wrap {
    height: 100%;
}
.investing-slider .slick-arrow {
    background: none;
    border: 1px solid #7F99A5;
    width: 50px;
    height: 50px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    right: 1px;
    position: absolute;
    top: -60px;
    bottom: auto;
}
.investing-slider .prev-arrow {
    left: auto;
    right: 60px;
}
.investing-slider .slick-arrow svg path {
    fill: #7F99A5;
}
.investing-slider .slick-arrow:hover {
    border: 1px solid #7F99A5;
    background: #7F99A5;
}
.investing-slider .slick-arrow:hover svg path {
    fill: #fff;
}

.modal-content .director-name {
    font-size: 27px;
    font-weight: 600;
    color: #1D1D1B;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: capitalize;
}
.modal-content {
    border: none;
}
.modal-body {
    background: #F6F6F6;
    padding: 50px 40px;
    position: relative;
}
.btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
}
.btn-close:focus {
    box-shadow: none;
}







.community-events-box {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px;
    height: 100%;
}
.community-events-image {
    width: 40%;
}
.community-events-image img {
    display: block;
    height: 350px;
    object-fit: cover;
    object-position: top center;
}
.community-events-content {
    width: 60%;
}
.community-events-title a {
    font-size: 25px;
    font-weight: 600;
    color: #222;
    line-height: 1.2;
    text-transform: capitalize;
    margin-bottom: 15px;
    display: block;
}
.community-events-description {
    color: #222;
    line-height: 1.8;
}

.upcoming-community-events .community-events-box {
    background: #f2f5f6;
}

@media (max-width:991px){
    .get-involved-section {
        background-position: left center;
    }
}
@media (max-width:767px){
    .community-events-box {
        flex-flow: wrap;
    }
    .community-events-image {
        width: 100%;
    }
    .community-events-content {
        width: 100%;
    }
    .investing-slider {
        margin-bottom: 0;
        margin-top: 80px !important;
    }
}