
.gallery-row {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
   
}

.gallery .grid-container .gallery-row {
     background: rgb(255 255 255 / 50%);
}

.gallery_home__container--inner span.gallery-item--expand-icon {
    display: none;
}


.staff__item{
    width: 100%
}
    
.staff-member__text{
    width: 100%;
}

.staff-member__description, .staff-member__description p{
    max-height: unset!important;
    overflow-wrap: unset!important;
    text-align: justify;
}
    

@media only screen and (min-width: 1201px){
    .staff__list {
        display: flex;
        flex-wrap: wrap;
    }
    
    .staff-member__image-wrapper{
        float: left;
    }
    
    
    .staff-member__text{
        max-width: 80%;
        float: right;
    }
}

.ic-con {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.ic-item {
    width: 17%;
    padding: 10px;
}

@media (max-width: 414px) {
    .ic-item {
        width: 30%;
    }
}

@media (min-width: 320px) and (max-width: 767px){
    .wrap__testi-embedcode .hidden--s{
        display: block !important;
    }
    .wrap__home .wrap__testimonials--inner .hidden--s{
        display: block !important;
    }
}

.wrap__testi-embedcode iframe{
    max-width: 100% !important;
}

.wrap__home .wrap__testimonials--inner iframe{
    max-width: 100% !important;
    margin: 50px;
}


/*---------------Pop up css------------*/
.sbContainer .page-content #slot-main { z-index:unset; }
.sbContainer .slider_wrapper, .sbContainer .slider, .sbContainer .page-content .main-content, .sbContainer-innerWrapper { z-index:unset; }

#css-only-modals {
position: fixed;
pointer-events: none;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 10000000;
text-align: center;
white-space: nowrap;
height: 100%;
}

#css-only-modals:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -.25em;
}

.css-only-modal-check {
pointer-events: auto;
display: none;
}

.css-only-modal-check:checked~.css-only-modal {
opacity: 1;
pointer-events: auto;
}

.css-only-modal {
width: 700px;
background: #fff;
z-index: 1;
display: inline-block;
position: relative;
pointer-events: auto;
padding: 25px;
text-align: right;
border-radius: 4px;
white-space: normal;
display: inline-block;
vertical-align: middle;
opacity: 0;
pointer-events: none;
max-width: 90%;
}

.css-only-modal h2 {
text-align: center;
margin-bottom:20px;
}

.css-only-modal p {
text-align: left;
}

.btn-primary:hover {
color: #fff;
background-color: #999;
border-color: #999;
}

.btn-primary {
color: #fff;
background-color: #777;
border-color: #777;
border-radius: 4px;
padding: 6px 12px;
float: right;
}

.css-only-modal-check:checked~#screen-shade {
opacity: .5;
pointer-events: auto;
}

#screen-shade {
opacity: 0;
background: #000;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
transition: opacity .8s;
}
/*------------End pop up css------*/