@import url('https://fonts.googleapis.com/css?family=Muli:300,400,600,700,800&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface&subset=latin-ext');
/* =====[ GLOBAL STYLES ]======================================== */

html,body {min-height:100%;height: 100%;}
body {margin:0;font-family: 'Muli', sans-serif;color:#333; font-size:16px; font-weight:400; line-height: normal;}
div, p, span, h1, h2, h3, h4, h5, h6, img, dl, dt, dd, blockquote, pre, form, fieldset, label, a {margin:0; padding:0; border:0;}
img {vertical-align: middle;max-width: 100%; height: auto;}
img, a img {border:none;}
h1, h2, h3, h4,h5, h6 {font-family: 'Abril Fatface', cursive; color:#000;}
ul li{list-style: none;}
p { margin:0;padding:0;line-height: 26px; font-family: 'Muli', sans-serif;font-size: 16px;}
a { color:#00a8cd; text-decoration:none !important;outline: none;}
a:hover { color:#f2a104; text-decoration:underline;}
a.active{color: #00a8cd !important;}
a:focus{outline: none;}
.clearfix:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
html .clearfix {height:1%;}
.clearfix {display:block}
.clr {clear:both}
.center-block{float: none; margin:0 auto;}
::-moz-placeholder {color: #868686 !important; opacity: 1; font-size: 13px;font-style: italic;}
:-ms-input-placeholder {color: grey !important; opacity: 1;font-size: 13px;font-style: italic;}
::-webkit-input-placeholder {color: #868686 !important; opacity: 1;font-size: 13px;font-style: italic;}
section ul li {
    list-style: disc;
    margin: 10px 0;
}
/* =====[ MAIN STYLES ]====================================== */
    
.whitebg{
    background: #fff;
}
.navbar {
    display: block;
    box-shadow: 0px 0px 5px rgba(0,0,0,.1);
    width: 100%;
    background: #fff;
}
section{
    padding:8rem 0;
    display: inline-block;
    width: 100%;
}
.carousel-control-next, .carousel-control-prev{
    display: none;
}
.navbar-brand{
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    color: #333;
}
header .nav-link {
    margin:6px 8px;
}
.nav-link{
    color: #333;position: relative; margin:0;padding:10px 0;text-align: center;    
    transition: .5s;
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.15, 0.29, 0.25, 1);
    transition-delay: 0s;
}
.banner {
    width: 100%;
    position: relative;
    float: left;
    background: url(../img/banner.jpg) no-repeat center center fixed;
        background-size: auto auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.banner-caption {
  position: relative;
  top: 0;
  width: 100%;
  float: left;
  left: 0;
  right: 0;
  text-align: center;
  display: table;
  height: 750px;
}
.badge-info {
    border-radius:2px;
    background-color: #00a8cd;
}
.Innerpage .banner-caption {
  height: 350px;
}

.banner-caption .InnerBlock {
  display: table-cell;
  vertical-align: middle;
  float: none;
}

.banner-caption h1 {
  font-weight: 500;
  color: #fff;
  font-size: 54px;
  line-height: 62px;
  margin-top: 20px;
}

.banner-caption p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 20px;
  margin: 10px 0 0;
  line-height: 30px;
}

.nav-item.active a,
.nav-item:hover a,
.nav-item a:hover{
    color:#fff;
    background:#00a8cd;
}
.btn-orange{
    background:#f2a104;color: #fff;
}
.btn-orange:hover{
    background:#f7a507;color: #fff;
}
.blueBg{
    background:#02aad1;
}
.doctorsBlock{
    position:relative;
    display: block;
    overflow:hidden;
    transition: 0.5s 0.2s;
    all-transition: 0.5s 0.2s;
    webkit-transition: 0.5s 0.2s;
    ms-transition: 0.5s 0.2s;
    moz-transition: 0.5s 0.2s;
}
.team-info{
    transition: 0.5s 0.2s;
    all-transition: 0.5s 0.2s;
    webkit-transition: 0.5s 0.2s;
    ms-transition: 0.5s 0.2s;
    moz-transition: 0.5s 0.2s;
    display: block;
}
.team-contact-info {
    position: absolute;
    background: rgba(0,0,0,.8);
    left: 0;
    right: 0;
    bottom:100%;
    margin:0;
    padding: 40px 0;
    transition: 0.5s 0.2s;
    all-transition: 0.5s 0.2s;
    webkit-transition: 0.5s 0.2s;
    ms-transition: 0.5s 0.2s;
    moz-transition: 0.5s 0.2s;
    opacity: 0;
}
.team-contact-info p{
    line-height:20px;color:#fff; margin:5px 0;
}
.doctorsBlock:hover .team-contact-info{
    opacity: 1;
    bottom:0;
}
.HeadingBlock {
    display:block;
    text-align: center;
}
.HeadingBlock h1 {
    position: relative;
    display: inline-block;
}
#testimonials{
    background:#d8e7ea;
    width:100%;
    float:left;
}
#testimonials img {
    max-width: 170px;
    border-radius: 500px;
    overflow: hidden;
    border:8px solid rgba(255,255,255,.8);
}
#testimonials .carousel-caption {
    bottom: 0;
    position: static;
    left: 0;
    right: 0;
}
 /* Blur + Gray Scale */
.itemBlock img {
   -webkit-filter: grayscale(0) blur(0);
   filter: grayscale(0) blur(0);
   -webkit-transition: .3s ease-in-out;
   transition: .3s ease-in-out;
}
.itemBlock:hover img {
   -webkit-filter: grayscale(100%) blur(2px);
   filter: grayscale(100%) blur(2px);
}


.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(6, 150, 188, 0.9) url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

.cd-top.cd-top--show {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-top--fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}

.cd-top:hover {
  background-color: #048dad;
  opacity: 1;
}
footer {
    background: #eff7f8;
    padding: 100px 0;
    display: inline-block;
    width: 100%;
}
footer ul {
    margin: 0;padding: 0
}
footer ul li{
    margin:5px 0;
    border-top: 1px dotted #ccc;
    margin-bottom: 10px;
    padding-bottom:0px;
    padding-top: 10px;
    max-width:180px;
    list-style: none;
}
footer ul li:first-child{
    border:none;
    padding-top:5px;
}
footer ul li a{
    font-size: 13px;
    color: #333;
}
.info{
    font-size: 13px;
}
.info ul{
    margin: 0;
    padding: 0;
}
.info ul li{
    padding: 0;
    margin: 10px 0;
    list-style: none;
    display: inline-block;
    width: 100%;
}
.info i {
    color: #f78e21;
    margin-right: 10px;
    font-size: 18px;
}

.boxes {
    width: 100%;
    background: #fafafa;
    z-index: 10;
    padding-bottom: 0;
    margin-top: -50px;
    padding-top: 0;
    padding-bottom:100px;
}
.box
{
    width: 100%;
    height: 287px;
    margin-top: -50px;
    background: #02aad1;
    padding-left: 42px;
    padding-top: 29px;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}
.box:hover
{
    box-shadow: 0px 10px 29px rgba(0,0,0,0.59);
}
.box_title
{
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
    margin-top: 11px;
}
.working_hours
{
    padding-top: 29px;
    padding-right: 60px;
}
.working_hours_list
{
    margin-top: 40px;
}
.working_hours_list ul li
{
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}
.working_hours_list ul li:not(:last-child)
{
    margin-bottom: 15px;
}
.box_icon
{
    width: 37px;
    height: 37px;
}
.box_icon img
{
    max-width: 100%;
}
.box_text
{
    font-size: 14px;
    line-height: 2.14;
    color: #FFFFFF;
    font-weight: 400;
    margin-top: 23px;
}
.box_phone
{
    font-size: 30px;
    font-weight: 400;
    color: #ffe139;
    margin-top: 20px;
}
.box_appointments
{
    padding-right: 30px;
}
.box_emergency
{
    padding-right: 30px;
}
.box_emergency_text
{
    font-size: 14px;
    line-height: 2.14;
    color: #FFFFFF;
    font-weight: 400;
    margin-top: 18px;
}
.working_hours_list ul {
    padding-left: 0;
}

.cta
{
    width: 100%;
    padding-top: 131px;
    padding-bottom: 116px;
    background: url(../img/testimonial.jpg) fixed left center no-repeat;
}
.cta_background
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.cta_content
{
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}
.cta_content h2
{
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
}
.cta_content p
{
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    margin-top: -3px;
}
.cta_button
{
    margin-top: 38px;
}



/* =====[ MEDIA QUERIES ]====================================== */

.navbar-toggler {
    padding:4px 8px 0px;
    font-size: 1rem;
    background-color: #333;
    border: 1px solid #333;
}
.fa.fa-navicon {
  color:white;
}

@media only screen and (max-width:991px){
    .box.box_appointments, .box.box_emergency {
        margin-top: 15px;
    }

    .box {
        padding-bottom: 30px;
        height: auto;
    }
}

@media only screen and (min-width:768px) and (max-width :991px) {
.FooterBlock {
    margin-bottom: 30px;
    display: inline-block;
}
.aboutImg {
    float: none !important;
}
header .container {
    max-width: 640px;
}



}


@media only screen and (max-width:767px){
.HeadingBlock h1,
.display-4,
.cta_content h2 {
    font-size: 30px;
}
.FooterBlock {
    margin-bottom: 30px;
    display: inline-block;
}
.HeadingBlock p {
    font-size: 13px;
}
section {
    padding: 3rem 0;
}
#Banner .carousel-indicators {
    bottom: 0;
}
.banner-caption {
    height: 550px;
}
.banner {
    background: url(../img/banner.jpg) no-repeat left 65% center fixed;
}
}

@media only screen and (max-width:576px){
.banner-caption {
    height:450px;
}
.banner {
    background: url(../img/banner.jpg) no-repeat left 75% center fixed;
}
.HeadingBlock h1,
.display-4,
.banner-caption h1 {
    font-size:21px;line-height: inherit;
}
#Banner .carousel-caption {
    bottom:20px;
}
.banner-caption p {
    font-size: 13px;
    line-height: 20px;
}
#Banner .carousel-caption h1 {
    font-size: 28px;
}
.box_phone {
    font-size: 22px;
}
.HeadingBlock h1::after{
    padding-left:5px;
}
.HeadingBlock h1::before{
    padding-right:5px;
}
.navbar-toggler {
    margin-right: 30px;
}
}


@media only screen and (min-width: 320px) and (max-width : 480px) {

}
