.white-filter { position: absolute; width: 100%; height: 309px; z-index: 4; background: white; opacity: .3; }
.red { background: #e3380e !important; }
.swiper-exact { width: 1140px !important; } 

#footer-copyright p { font-size: 16px; }

#footer3 .dform { margin-top: 0 !important; }
.dform_element { margin: 0 !important; }

.social-footer iconify-icon { font-size: 22px; }

.news-cyc { margin-top: -64px !important; }
nav li a.nav-option:hover { color: #fff !important; background: #4e4e4e !important;  }
.testimonials-text h5 { font-size: 18px font-weight: bold; letter-sapcing: .45px; }
.testimonials-text p { font-size: 18px; letter-sapcing: .45px; }

.page-cover { display: none; position: absolute; left: 0; top: 0; z-index: 10; }
.page-filter { position: absolute; top: 0; left: 0; background: black; opacity: .3; }
.side-menu { position: absolute; top: 0; left: 50%; background: #fff; flex-direction: column; }
.nav-wrapper:hover .nav-option { background: #4e4e4e; color: #fff; }
.side-menu a { display: flex; align-items: center; cursor: pointer; font-size: 19px; color: #4e4e4e; padding: 1.5em 2em; }

.side-menu a:hover { background: #504c4c; color: #fff !important;  }



.fa-bars { display: none !important; }

@media only screen and (max-width: 1300px) { 
.swiper-exact { width: 760px !important; } 
}

@media only screen and (max-width: 880px) { 
.swiper-exact { width: 360px !important; } 
}

@media only screen and (max-width: 960px) { 
.fa-bars { display: inline-block !important; cursor: pointer;font-size: 26px } 
.mobile-menu-button { display: flex; align-items: center; justify-content: center; width: 10%; background: #fff; }
#main-nav { display: none !important; }

#footer-wrapper { flex-direction: column !important; align-items: center; }
#footer2 { margin: 40px 0; }
#patient-forms { width: 180px !important; }
} 

#mission-statement h2 { font-size: 35px; letter-spacing: 7px; }
#mission-statement h3 { font-size: 42px; letter-spacing: 1.05px; }
#mission-statement p { font-size: 16px; letter-spacing: 0.4px; line-height: 28px; }

.carousel-wrapper1 h4 { font-size: 35px; letter-spacing: 7px; font-weight: 400; }
.carousel-wrapper1 h3 { font-size: 42px; letter-spacing: 1.05px; }

#patients-say h2 { font-size: 35px; letter-spacing: 7px; }
#patients-say h3 { font-size: 42px; letter-spacing: 1.05px; }

.home-news { background: #fff !important; }

.test-swiper { padding-top: 70px !important; }

.book-wrapper {
	width: 100%;
	display: grid;
    grid-template-columns: 1fr;
}

.booking-background-wrapper { grid-row-start: 1; grid-column-start: 1; display: flex;     filter: brightness(1.25) grayscale(1); height: 309px; }

.image-half { width: 50%; object-fit: cover; }
.image-half::before { content: ""; }
.book-button-wrapper { grid-row-start: 1; grid-column-start: 1; display: flex; align-items: center; justify-content: center; filter: grayscale(0); }
#book-button { margin: 0; display: block; font-size: 27.65px; letter-spacing: .675px; padding:12px 40px !important; }

#main-logo-nav { padding: 0 !important; height: 110px; }
#main-nav { height: 100%; width: 85%; }
#main-nav ul { height: 100%; justify-content: space-between !important; }
#main-nav ul li { height: 100%; align-items: center; }
#main-nav ul li a { height: 100%; display: flex; align-items: center; cursor: pointer; font-size: 19px !important; padding: 1em 1.2em !important; }

.nav-dropdown-wrapper { z-index: 4; background: white; position: absolute; display: none; flex-direction: column; }
.nav-dropdown-wrapper a { padding: 0.75em 1.75em .5em .5em; font-size: 19px; color: #4e4e4e; letter-spacing: 0.475px; }
.nav-dropdown-wrapper a:hover { color: #4e4e4e !important; background: #e8f4fc; cursor: pointer; }
#main-nav ul li a { padding: 1em 20px !important; }
@media only screen and (max-width: 1120px) {
#main-nav ul li a { padding: 1em 0 !important; }
}

@media only screen and (max-width: 960px) {
}
@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 520px) {
}

/* SWIPER SECTION */ 
.carousel-wrapper1 { background: #e5f6fd; width: 100%; padding: 2em 4em; display: flex; flex-direction: column; align-items: center; }
.carousel-wrapper1 h4 { font-size: 35px; letter-spacing: 7px; color: #00b3e4; }
.carousel-wrapper1 h3 { font-size: 42px; letter-spacing: 1.05px; color: #4e4e4e; margin-bottom: .75em; }

.swiper { width: 100%; }
.services-img { max-height: none; height: 70%; }
.services-text { min-height: unset; height: 100%; }
.services-text-wrapper { width: 100%; height: 30%; }
.services-text p { font-size: 16px; letter-spacing: 0.4px; color: #4e4e4e; }

.desc-button-wrapper { padding: 3em 0; }
.desc-wrapper { padding: 4em 6em 3em 6em; }
.desc-title-wrapper { display: flex; flex-direction: row-reverse; margin-bottom: 1.5em; }
.desc-title-wrapper img { width: 55%; }

.title-box h2 { 
	color: #fff;
    font-weight: bold;
    font-size: 42px;
    letter-spacing: 1.05px;
    text-transform: none;
}

/* GLOBAL */
.shadow {
  -moz-box-shadow:    3px 3px 6px 1px #8C8C8C;
  -webkit-box-shadow: 3px 3px 6px 1px #8C8C8C;
  box-shadow:         3px 3px 6px 1px #8C8C8C;
}
.container { width: 90%; margin: 0 !important; }
button { border: none; }
::placeholder { opacity: 40%;}


@media only screen and (max-width: 660px) {
    .shadow {
        -moz-box-shadow:    2px 2px 5px 0px #8C8C8C;
        -webkit-box-shadow: 2px 2px 5px 0px #8C8C8C;
        box-shadow:         2px 2px 5px 0px #8C8C8C;
    }
    .test-pad { padding-top: 30px; }
}

/*-----------------------------------------------------------------*/
/* HEADER STYLES */
#top-menu { max-width: none !important; }
/*#top-menu-list li a { font-size : 1em !important; white-space: nowrap; }*/
#logo { width: 200px; margin: 0 20px !important; height: 90px; display: flex; align-items: center; }
#main-logo-nav {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
}
#main-nav ul {
	white-space: nowrap;
    display: flex;
	flex-direction: row;
}
#main-nav ul li a {
    font-weight: bolder;
}

/* HEADER STYLES ALTERNATIVES */

@media only screen and (max-width: 960px) {
    #main-nav ul li a { font-size: small; }
    #main-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        max-width: 90%;
    }
    #main-nav ul li a {
        font-size: 11px;
        padding-left: 12px;
        padding-right: 8px;
    }
}
@media only screen and (max-width: 960px) {
    #main-nav ul {
    	width: 100%;
    }
}
@media only screen and (max-width: 660px) {
    #top-menu { height: 50px; }
    #top-menu-container { height: 50px; }
    #top-menu-list {
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }
    #main-logo-nav {
        padding-top: 2%;
        padding-bottom: 2%;
    }
	#top-menu-list li a { font-size : x-small; }
    #main-nav ul li a {
        font-size: 8px;
        padding-left: 3px;
        padding-right: 3px;
    }
}
@media only screen and (max-width: 420px) {
    #top-menu { height: 45px; }
    #top-menu-container { height: 45px; }
	#top-menu-list li a { font-size : 6px; padding: 20px; }
    #main-nav ul li a {
    	text-align: center;
        font-size: 6px;
        padding-left: 2px;
        padding-right: 2px;
    }
}

/*-----------------------------------------------------------------*/
/* CAROUSELS */

.cyc {
	width: 36px !important;
    height: 36px !important;
    color: white !important;
    background: #00b3e4;
    z-index : 2;
    box-shadow: 2px 2px 10px gray;
}

.cyc::after { font-size: .75em !important; }

.cycle {
	width: 72px;
    height: 44px;
    color: white !important;
    background: #00b3e4;
    z-index : 2;
}
.left { margin-right: -18px; }
.right { margin-left : -18px; }
.carousel-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

/* CAROUSELS STYLES ALTERNATIVES */
@media only screen and (max-width: 1280px) {
  .cycle { height: 36px; width: 60px; }
}
@media only screen and (max-width: 960px) {
  .cycle { height: 22px; width: 54px; }
  .left { margin-right: -14px; }
  .right { margin-left: -14px; }
}
@media only screen and (max-width: 660px) {
  .cycle { height: 16px; width: 40px; }
  .left { margin-right: -10px; }
  .right { margin-left: -10px; }
}
@media only screen and (max-width: 420px) {
  .cycle { height: 16px; width: 32px; }
  .left { margin-right: -8px; }
  .right { margin-left: -8px; }
}

/*-----------------------------------------------------------------*/
/* SERVICES */
#services-carousel {
	margin-top: 2%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.services-box {
    width: 100%;
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.services-img {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 70%;
    max-height: 70%;
}
.services-img img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.services-text {
	background: blue;
	background-image: linear-gradient(to right, #00b3e4, #00b3e4 6px, white 6px);
    font-weight: bold;
    color: rgb(90, 90, 90);
    text-align: left;
    display: flex;
    align-items: center;
    max-width: 100%;
    flex: 1;
    padding: 0 20px;
}

/* SERVICES STYLES ALTERNATIVES */
@media only screen and (max-width: 1280px) {
	.services-text {
    	font-size: 14px;
        min-height: 45px;
     	padding-left: 15px;
    	padding-right: 20px;
    }
    .services-box { height: 250px; }
}
@media only screen and (max-width: 960px) {
	.services-text {
        font-size: 11px;
        min-height: 50px;
    }
    .services-box { height: 200px; }
}
@media only screen and (max-width: 660px) {
	#services-carousel { width: 110%; margin-left: -5%; }
    .services-text {
        font-size: 10px;
        min-height: 35px;
    }
    .services-box { height: 160px; }
}

/*-----------------------------------------------------------------*/
/* News */
#news-carousel {
	margin-top: 2%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.news-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 450px;
    overflow: hidden;
}

.news-img {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 40%;
    width: 100%;
}
.news-img img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    width: 100%;
}

.news-text {
	text-align: left;
    color: white;
    background-image: linear-gradient(to right, white, white 6px, #00b3e4 6px);
    font-size: 18px;
    padding: 32px 28px;
    max-width: 100%;
    width: 100%;
    flex: 1;
}
.news-text h6 {
	margin-bottom: 14px;
    margin-top: 4px;
}
.news-paragraph { margin-bottom: 14px; }
.news-text a {
	margin-top: 14px;
    color: white;
    font-weight: bold;
}
.shadow-news {
  -moz-box-shadow:    0px 5px 6px 1px #8C8C8C;
  -webkit-box-shadow: 0px 5px 6px 1px #8C8C8C;
  box-shadow:         0px 5px 6px 1px #8C8C8C;
}



/*-----------------------------------------------------------------*/
/* TESTIMONIALS STYLES */
#testimonials-carousel {
	margin-top: 6%;
	display: flex;
    flex-direction: row;
    align-items: center;
    overflow: visible;
    height: 120%;
}
#test-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow-y: visible !important;
}
.testimonials-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    font-size: 24px;
    padding: 30px;
    padding-top: 0;
    text-align: left;
    line-height: 1.5;
    height: 300px;
}
.testimonials-img {
    display: flex;
    margin-top: -75px;
    border-radius: 50%;
    background: #00b3e4;
    padding: 7px;
}
.testimonials-img img {
	height: 143px;
    width: 143px;
    border-radius: 50%;
    margin-left: -1%;
    margin-bottom: -1%;
}
.testimonials-text {
	padding: 15px;
    padding-left: 15px;
}
.testimonials-text h5 { margin-bottom: 4px; }


/*-----------------------------------------------------------------*/
/* BOOK APPOINTMENT HOME */
#appointment-section {
    background: url(/images/uploads/paper_background.jpg) repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

#book-button {
	text-transform: uppercase;
    background: rgb(232,60,12);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 435px;
    height: 93px;
    cursor: pointer;
    font-size: 27.65px;
    letter-spacing: .675px;
    margin: 0;
}  



/*-----------------------------------------------------------------*/
/* FOOTER */
#footer {
	display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: space-evenly;
}
#footer-wrapper {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-address {
	display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}
#footer1 { width: 245px; }
.icon-logo {
	height: 58px;
    width: 58px;
    margin-right: 30px;
}

#footer2 {
	display: flex;
    align-items: center;
    width: 200px;
}

.address-footer p { font-size: 16px; }
.social-footer {
	display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.social-footer p {
	display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 3%;
}
.fab {
    font-size: 1.4vw;
    width: 1vw;
    height: .9vw;
    padding-bottom: 14%;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.fab:hover { opacity: 0.7; }
.fa-facebook {
	color: rgb(24,119,242);
    background: white;
}
.fa-twitter { color: rgb(29,161,242); }
.social {
	color: white;
    white-space: nowrap;
    font-size: 16px;
    padding-top: 1%;
    display: flex;
    justify-content: center;
    margin-left: .65vw;
    width: fit-content;
}
.social:hover { opacity: 0.7; }

#footer3 {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: 100%;
    font-size: 16px !important;
    white-space: nowrap;
}

#footer3 #new_submission {
	margin-top: 1.2vw;
    height: 40%;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

#footer3 #new_submission .dform {
	display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

#new_submission .dform .submit_button .dform_container .dfinput_full {
	display: flex;
    align-items: center;
}

#footer3 #new_submission .dform .submit_button {
	display: flex;
    justify-content: center;
    align-items: center;
	height: 36px;
    width: 108px;
    margin: 0px;
    padding-bottom: 0px;
}

#footer3 #new_submission .dform .submit_button .dform_container {
	height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0px;
}

.dfinput_full {
    width: 100%;
    height: 100%;
	min-height: 0px !important;
    margin-bottom: 0px !important;
    display: flex;
}

#footer3 #new_submission .dform .submit_button .dform_container .dfinput_full .submit {
	width: 108px;
    height: 36px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background: rgb(232,60,12);
    margin: 0;
}

#forms_field_6 .dform_container {
	width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

#ddform_6 {
    height: 36px;
    width: 208px;
    color: rgb(170, 170, 170);
    padding: 0.1vw 0;
    margin: 0;
    background-color: white;
}
#footer-copyright {
	display: flex;
    justify-content: space-between;
    flex-direction: row;
    border-top: 1px solid white;
    padding-top: 2%;
    padding-bottom: 2%;
    font-size: small;
    margin-top: 2%;
}

#patient-forms {
	width: 320px;
    font-size: 18px;
}

@media only screen and (max-width: 960px) {
    #footer3 {
        justify-content: space-around;
        white-space: nowrap;
        overflow: visible;
    }
}
@media only screen and (max-width: 660px) {
    #newsletter-form { height: 80%; }
    #footer3 {
        justify-content: space-around;
        white-space: nowrap;
        overflow: visible;
    }
}
@media only screen and (max-width: 420px) {
    #footer3 {
        justify-content: space-around;
        white-space: nowrap;
        overflow: visible;
    }
}
