/*
Theme Name: MedicalCoralix
Theme URI: http://coralixthemes.com
Description: Medical is a premium theme, designed primarily for Medical Centers, Clinics, or any business with health professionals It can also be used for any other website, especially those linked to the Doctors or health professionals It is a Responsive Template and its code is clean and well organized.
Author: <a href="http://www.coralixthemes.com">CoralixThemes</a>
Author URI: http:/www.coralixthemes.com
Version: 1.6
License: Comercial
License URI: http://coralixthemes.com
Tags: fluid-layout, theme-options, translation-ready
Text Domain: medical
*/


/*Add your own styles here:*/

body {
  color: #002D57 !important;
}

.wpb_wrapper p {
  color: #002D57 !important;
}

.list-none {
  list-style: none;
}

.white-text {
  color: #fff !important;
}

p:empty {
  display: none;
}


/* Remove Leadboxes popup. Does not want to remove itself using the plugins settings. */

#toTop+div, #toTop+div+iframe {
  display: none!important;
}

.top-bar .nav>li:first-child a {
  padding: 3px 15px;
  font-size: 14px;
  font-weight: 700;
}

.list-features .text-title {
  margin-bottom: 5px;
  line-height: 1.35;
  margin-top: 5px;
}

.list-features article>p {
  font-size: 13px;
}

.list-features article:nth-child(5) {
  clear: both;
}

.cta-button, .top-bar .nav>li:first-child a {
  background-color: #f95c00;
  color: #ffffff;
}

.cta-button:hover, .top-bar .nav>li:first-child a:hover {
  background-color: #ff4500;
  color: #ffffff;
}

.homepage-banner {
  width: 100%;
  height: auto;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.banner-content-wrap {
  padding: 30px 20px;
  z-index: 10;
}

.banner-content {
  padding: 0 30px 30px;
  margin-top: 0;
}

.banner-content-wrap .cta-button {
  padding: 16px 32px;
  margin-left: 30px;
  font-size: 1.65em;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
}

.banner-content {
  color: #ffffff;
  font-weight: 700;
  font-size: 3em;
  line-height: 1.25;
  max-width: 600px;
}

.section-blue {
  background-color: #0b396f;
  padding: 5em 0;
}

.section-lightblue {
  background-color: #0392ef;
  padding: 2em 0;
}

.heading-section-blue {
  color: white;
  font-size: 2.5em;
  line-height: 1.5;
  max-width: 400px;
  margin: 0;
}

.btn {
  font-size: 16px;
}

.btn-blue {
  background-color: #0a335f;
  color: white;
}

.btn-blue:hover {
  background-color: #1262b9;
  color: white;
}

.footer-list {
  padding-left: 0;
}

.services-row .text-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 24px;
  color: white;
  margin-top: 0;
}

.services-row .col-md-4 {
  text-align: center;
  color: white;
  font-size: 1em;
  padding: 10px 30px;
  min-height: 79px;
}

.services-row {
  background-color: #0392ef;
  padding: 2em 0;
}

.services-row .col-md-4 {
  border-right: 1px dashed white;
  border-bottom: 1px dashed white;
}

.services-row .col-md-4:nth-of-type(3n) {
  border-right: none;
}

.services-row .col-md-4:nth-of-type(7), .services-row .col-md-4:nth-of-type(8), .services-row .col-md-4:last-of-type {
  border-bottom: none;
}

.vc_separator {
  clear: both;
}

.drevan-cta-box {
  overflow: hidden;
  padding: 20px;
  background-color: #e6eefa;
}

.drevan-cta-box h4 {
  font-size: 1.6em;
  line-height: 2;
  margin-top: 0;
}

.dr-light, .dr-light h3 {
  color: white;
}

.noicon {
  padding-left: 0;
  list-style: none;
}

.dr-banner-overlay {
  background-color: rgba(51, 51, 51, 0.35);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.banner.homepage-banner {
  background-position: center;
}

.banner.homepage-banner, .banner-content-wrap {
  position: relative;
}

.contact-hours {
  padding-top: 0;
  margin-bottom: 30px;
}

.dr-clean-title, .contact-hours h3 {
  margin-top: 0;
}

.contact-page-sidebar .bg-primary {
  margin-left: 15px;
}

.nav.sf-menu > li a {
    font-size: 16px;
    padding: 10px;
}

/* #Homepage new patient offer plus some good stuff for reusing down the road */

.kb-cta--centered {
  text-align: center;
  padding: 1.5em 0;
  margin-top: auto;
}

.kb-container--offer {
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}

.kb-container--emphasize:before {
    position: absolute;
    top: 25px;
    right: -40px;
    content: "Value offer";
    background-color: #00bb22;
    color: white;
    padding: 0 35px;
    transform: rotate(45deg);
    font-size: 18px;
}

.cta-button--regular {
    padding: 8px 24px;
    display: inline-block;
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2.kb-heading--center {
    text-align: center;
    font-size: 2.5em;
}

h2.kb-heading--center:before {
    left: 47%;
}

.kb-list--offer li {
    list-style-type: none;
    padding: 7px 0;
}

.kb-list--offer li:last-child {
    border-bottom: none;
}

.kb-list--offer {
    padding: 0 3em;
}

.kb-text--offer-price {
    font-size: 1.4em;
}

.kb-list--offer .kb-list--empasize {
    font-weight: 700;
    font-size: 1.2em;
    border-bottom: none;
}

.kb-container--emphasize {
    background-color: #f9faff;
    border: 1px solid #ddeeff;
}

.kb-flex {
    display: flex;
}

.kb-list--offer .kb-list--plus {
    border-bottom: none;
    font-size: 2em;
    padding: 0;
}

/* Homepage redesign CSS */

.page-id-2129 .top-bar {padding: 5px 15px;background-color: #0a376d;color: #fff;}

.page-id-2129 .smalldev .nav-pills > li a {
    padding: 8px 24px;
    font-size: 15px;
}

.page-id-2129 .top-bar .row {
    display: flex;
    align-items: center;
}

.page-id-2129 .top-bar p a {
    color: #ddeeff;
}

.page-id-2129 .top-bar p a:hover {
    border-bottom: 1px solid #ffffff; */
    color:;
    color: #ffffff;
}

.page-id-2129 ol.flex-control-nav.flex-control-paging,ul.flex-direction-nav {
    display: none;
}

.page-id-2129 .flexslider {
    overflow: hidden;
}

.page-id-2129 header.navbar {
    padding: 10px 0;
    margin-bottom: 20px;
}

.page-id-2129 .quoted {
    overflow: hidden;
    position: relative;
    padding: 15px;
}

.page-id-2129 .vc_btn3.vc_btn3-color-warning.vc_btn3-style-flat {
  background-color: #f95c00;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.page-id-2129 .kb-services .vc_btn3:after {
  display: none;
}

.page-id-2129 .vc_btn3.vc_btn3-color-warning.vc_btn3-style-flat:hover {
  background-color: #ff4500;
}

.page-id-2129 .quoted {
    text-align: center;
    font-size: 1.5em;
}

.page-id-2129 h1 {
    line-height: 1.35;
}

.page-id-2129 .quoted-top,
.page-id-2129 .quoted-bottom {
  width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: block;
  opacity: 0.6;
}

.page-id-2129 .quoted-bottom {
  text-align: right;
}

.page-id-2129 .quoted-top span,
.page-id-2129 .quoted-bottom span {
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: rgba(15, 58, 134, 0.3);
}

.page-id-2129 .quoted-top span {
    left: 40px;
}

.page-id-2129 .quoted-bottom span {
    right: 40px;
}

.page-id-2129 .kb-section--gray {
    background-color: #f6f9fc;
    padding: 3em 0;
    border-bottom: 1px solid #e6e9ec;
    background: -moz-linear-gradient(-85deg, #ffffff 12%, #f6f9fc 12%);
    background: -webkit-linear-gradient(-85deg, #ffffff 12%,#f6f9fc 12%);
    background: linear-gradient(175deg, #ffffff 12%,#f6f9fc 12%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f9fc',GradientType=1 );
    padding-top: 160px;
  }

.page-id-2129 .kb-text--emphasized p {
    font-size: 1.2em;
    text-align: center;
}

.page-id-2129 .kb-services h3 {
    font-size: 1em;
    text-align: center;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    color: #0a376d;
}

.page-id-2129 .kb-services a:after {
    display: inline-block;
    font-family: 'FontAwesome';
    content: '\f061';
    padding-left: 8px;
    opacity: 0.8;
    font-size: 0.8em;
    position: relative;
    bottom: 1px;
}

.page-id-2129 .kb-services p > a {
    font-size: 1.1em;
}

.page-id-2129 .kb-services .wpb_text_column .wpb_wrapper {
    padding: 2.5em;
    background-color: #f9f9f9;
}

.page-id-2129 .kb-services p {
    font-size: 0.9em;
}

.page-id-2129 .kb-services p > a:hover {
    text-decoration: underline;
}

.page-id-2129 .kb-services .kb-services--emphasized .wpb_text_column .wpb_wrapper {
    background-color: #0a376d;
}

.page-id-2129 .kb-services--emphasized .wpb_wrapper p {
    color: #ffffff!important;
}

.page-id-2129 .kb-services--emphasized h3 {
    color: #ffffff;
}

.page-id-2129 .kb-services--emphasized .wpb_wrapper a {
    color: #e3f3ff;
}

.page-id-2129 .kb-services--emphasized .wpb_wrapper a:hover {
    color: #ffffff;
}

.page-id-2129 .kb-section--emphasized h2 {
    margin-bottom: 35px;
}

.page-id-2129 .kb-section--emphasized .wpb_wrapper p {
    font-size: 1.2em;
}

.page-id-2129 .kb-section--diagonal-blue {
  background: #ffffff;
  background: -moz-linear-gradient(-85deg, #ffffff 20%, #c7e5ff 55%);
  background: -webkit-linear-gradient(-85deg, #ffffff 20%,#c7e5ff 55%);
  background: linear-gradient(175deg, #ffffff 20%,#c7e5ff 55%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c7e5ff',GradientType=1 );
  padding-bottom: 80px;
} 

.page-id-2129 footer.primary:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 180%;
    top: 0;
    transform: skewY(-12deg);
    background: #003069;
    left: 0;
}

.page-id-2129 footer.primary {
    position: relative;
    z-index: 0;
    padding-top: 160px;
    background: none!important;
}

.page-id-2129 iframe[name='google_conversion_frame'] { 
    height: 0 !important;
    width: 0 !important; 
    line-height: 0 !important; 
    font-size: 0 !important;
    margin-top: -13px;
    float: left;
}

.page-id-2129 section.bottom-bar {
    color: #ffffff;
}

.page-id-2129 section.bottom-bar a {
    color: #ddeeff;
}

.page-id-2129 section.bottom-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-id-2129 section.bottom-bar .social-links a {
    background-color: white;
    color: #003069;
    border: 3px solid #ffffff;
    padding-left: 5px;
}

.page-id-2129 section.bottom-bar .social-links a:hover {
    background-color: #003069;
    color: #ffffff;
}

.page-id-2129 section.bottom-bar .social-links a i {
    font-size: 18px;
}

.page-id-2129 section.container.carousel-section.separated-bottom {
    margin-bottom: 0;
}

.page-id-2129 .bx-wrapper {
    z-index: 10;
}

.superheading {
    font-size: 0.6em;
    display: inline-block;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 400;
}

.kb-heading--small {
    font-weight: 700;
    font-size: 28px;
}

.page-id-2129 .kb-container--offer .vc_btn3-container.vc_btn3-inline {
    padding-bottom: 1.5em;
    margin-top: auto;
}

.page-id-2129 .kb-container--offer > .vc_column-inner, .kb-container--offer > div > .wpb_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

section .kb-section--size-medium {
    max-width: 800px;
    margin: 0 auto;
}

/* Because some shitty JS adds overflow:hidden to body and disables scrolling */
body {
    overflow: scroll!important;
}

.kb-offer .kb-heading--small {
    margin: 0;
    align-self: center;
    border-radius: 25px;
    padding: 0 0 10px;
    margin-right: 20px;
}

.kb-offer .kb-offer-heading {
    font-size: 24px;
    align-self: center;
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.flex-heading {
    background-color: #e3f6ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.kb-offer .kb-flex .kb-container--offer {
    padding: 10px 20px;
    background-color: #ceeeff;
    flex: 1;
    border: none;
}

.kb-offer .kb-container--offer li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    margin-right: 8px;
    font-size: 14px;
}

li.kb-bolded {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.kb-offer .kb-cta--centered {
    display: flex;
    background-color: #ddf3ff;
}

.kb-offer .kb-cta--centered a.cta-button.cta-button--small {
    align-self: center;
    padding: 4px 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.kb-offer .cta-button {
    padding: 6px 12px;
    text-align: center;
    font-size: 16px;
    width: auto;
    align-self: center;
}

.kb-offer ul {
    font-size: 14px;
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

.kb-offer ul li {
    line-height: 1.5;
}

.kb-offer .kb-container--emphasize {
    position: relative;
}

.kb-offer li.kb-list--plus:before {
    content: '';
}

.kb-offer li.kb-list--plus {
    text-align: center;
}

.page-header .kb-offer {
    background-color: white;
    margin-top: 80px;
    padding: 20px 20px 0;
}

.kb-offer .kb-flex {
    margin: 0 auto;
    flex-direction: row;
    max-width: 900px;
}

.kb-offer-separator {
    position: relative;
}

.kb-offer-separator:after {
    position: absolute;
    width: 1px;
    height: 80%;
    background-color: #c1e1ff;
    content: '';
    right: 25px;
    top: 10%;
}

.kb-offer .kb-flex {
    display: flex;
}

.page-header.kb-offer-wrapper {
  padding-bottom: 0;
}

/* #Media queries */

@media only screen and (max-width: 1200px) {
/* Fix alignment of diagonal gradient */
.page-id-2129 .kb-section--gray {
    background: -moz-linear-gradient(-85deg,#fff 7%,#f6f9fc 7%);
    background: -webkit-linear-gradient(-85deg,#fff 7%,#f6f9fc 7%);
    background: linear-gradient(175deg,#fff 7%,#f6f9fc 7%);
}
}

@media only screen and (max-width: 1200px) and (min-width: 789px) {
	/* Fix menu alignment between desktop/tablet sizes, else breaks and looks ugly */

	.container .navbar-header, .navbar-right .navbar-nav, .navbar-brand, .sf-menu>li {
	    float: none;
	}

	.container .navbar-header {
	    text-align: center;
	}

	.sf-menu {
	    display: flex;
	    justify-content: space-between;
	}

	.container .navbar-right.collapse {
	    float: none!important;
	}

}

@media only screen and (max-width: 768px) {
  .services-row .col-md-4 {
    border: none;
    min-height: auto;
  }
  .services .col-sm-3 {
    margin-bottom: 27px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dddddd;
  }
  .contact-page-sidebar .bg-primary {
    margin-left: 0;
  }
  .kb-flex {
    display: block;
	}
  .flex-heading {
      flex-basis: 100%;
      padding: 20px 0;
  }

  .kb-offer .kb-flex .kb-container--offer {
      flex-basis: 50%;
  }

  .kb-offer .kb-flex {
      flex-wrap: wrap;
  }
}

@media only screen and (max-width: 480px) {
  iframe {
    width: 100%;
  }
  .banner-content {
    font-size: 2em;
  }
  .heading-section-blue {
    font-size: 1.75em;
  }
  .banner-content-wrap .cta-button {
    font-size: 1em;
    padding: 12px 24px;
    letter-spacing: 1px;
  }
  .dr-banner-overlay {
    background-color: rgba(51, 51, 51, 0.5);
  }
  .home .top-bar .container .row .smalldev {
    display: none;
  }
  .top-bar {
    padding-bottom: 0;
  }
  .top-bar p {
    margin-bottom: 10px;
  }
  .heading-section-blue {
    margin-bottom: 15px;
  }
  .section-blue {
    padding: 3em 0;
  }
  .services.separated-bottom {
    margin-bottom: 0;
  }
  .services .col-sm-3:Last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .services-row .row .col-sm-12:after, .features .col-xs-12:after {
    margin: 0 auto;
    content: "";
    height: 1px;
    display: block;
  }
  .services-row .row .col-sm-12:after {
    background-color: #50b2f1;
    margin-top: 15px;
  }
  .features .col-xs-12:after {
    background-color: #eeeeee;
    position: absolute;
    width: 94%;
    bottom: 0;
    left: 3%;
  }
  .features .col-xs-12 {
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  .drevan-cta-box h4 {
    font-size: 1em;
  }
  .wpb_text_column img.alignleft, .wpb_text_column img.alignright {
    margin-bottom: 15px;
  }
  img.alignleft, img.alignright {
    float: none;
    display: block;
  }
  .page-id-2129 .quoted {
  	font-size: 1.15em;
  }
  .page-id-2129 .kb-text--emphasized p,
  .page-id-2129 .kb-section--emphasized .wpb_wrapper p {
  	font-size: 1.05em;
  }
  .page-id-2129 .top-bar .row {
    display: block;
}

span.header-call-text {
    display: block;
}
.kb-offer-separator:after {
  display: none;
}
.kb-offer .kb-flex .kb-container--offer {
    flex-basis: 100%;
}
.kb-offer .kb-flex .kb-container--offer.kb-container--emphasize {
    background-color: #9eddff;
}
}

@media only screen and (max-width: 320px) {
  .banner-content-wrap .cta-button {
    margin-left: 0;
  }
  .banner-content {
    padding: 0;
  }
  .header-address {
  	display: block;
  }
  .vertical-separator {
  	display: none;
  }
}
