/*---------------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: 400px;
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%;
border-top: rgb(79, 129, 189) solid 15px;
border-bottom: rgb(79, 129, 189) solid 15px;
}

.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;
}

.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------*/
.banner_closed {
    background: #65a4cd !important;
}


.wrap__locationsHeader .location__phone {
    text-align: right;
}

.socialmedia_header__container {
    display: flex;
    justify-content: end;
}

.socialmedia_header__container li {
    display: inline-block;
    padding: 5px;
}

.socialmedia__link:hover {
    text-decoration: none;
    background-size: 100%!important;
    transition: 0.2s;
    background: linear-gradient(to right, #65a4cd 40%, transparent 100%);
}

.socialmedia__link:hover:before {
    color: #fff;
}

.slider__text {
    top: 75%;
}

.twocolumns-section--inner .wide-col {
    width: 100%;
}

.staff-member__image {
    background-size: cover;
}

img.img-thumbnl.polaroid.floatright.smImg, .staff-member__image {
    width: 165px!important;
    height: 169px !important;
    background-position: 50% 50%;
    border-radius: 100%;
    border: 3px solid #e97f2a;
    background-size: cover;
    position: relative;
    object-fit: cover;
    float: left;
    margin: 0 10px 0;
}

.staff__item {
    list-style-type: none;
}

.staff-member__image {
    background-position: 50% 11%;
}

p.location__email {
    margin: 0 0px 5px;
    color: #fff;
}

p.text-center.borders img {
    padding: 5px 5px;
    margin: 5px;
    box-shadow: 0px 0px 10px;
    border-radius: 7px;
}

.mm-navbar .mm-title {
    font-size: 13px;
}

.fullwidth-layout .staff-member__image {
    background-size: cover !important;
}

.tcenter, .tcenter * {
    text-align: center!important;
}

.cta_map_btn__container--inner.cta__container--inner {
    padding: 25px 25px 25px 185px;
}

@media (max-width: 1024px) {
    .wrap__offer .form {
        max-width: 100%;
    }

    .wrap__newslettersignup .form {
        max-width: 100%;
    }

    .wrap__form.appointment .form, .wrap__form.contact .form {
        max-width: 100%;
    }
}
@media (max-width: 768px){
.wrap__slider .bx-viewport, .slider__image--fixed {
    height:360px!important;
}
.slider__item {
    min-height: 360px;
}
.slider__image, .slider__image--fixed {
    background-position: 48% 68%;
}
}
/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    .staff-member__text {
        clear: both;
    }
}
@media (max-width: 360px){
.wrap__slider .bx-viewport, .slider__image--fixed {
    height: 230px!important;
}
}

.annc-con {
    width: 100%;
    background-color: #0087c3;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    margin: 15px auto;
    border-radius: 24px;
}