.main-nav{
    position: absolute;
    width: 100%;
    z-index: 999;
}

.rev_slider img{
    width:100%
}

.rev_slider::after{ 
    width: 100%;
	height:30%;
	position: absolute;
	content: "";
	top: 0px;
	left: 0px;
    z-index:100;
    display:block;
    transition:all .3s ease;
    background: -moz-linear-gradient(bottom, rgba(0,0,0,0) 4%, rgba(0,0,0,30) 100%); 
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.6))); 
}

.no-padding{
    padding: 0px 15px 0px 15px;
}

.medical-front-panels{
    margin-top: -150px;
    position: relative;
}

.medical-front-panels h4{
    margin: 5px 0px 5px 0px;
}

.medical-panels-1, .medical-panels-2, .medical-panels-3{
    padding: 50px 20px 60px 20px;
    background: #50bbe2;
    text-align: center;
    color: #FFF;
}

.medical-panels-2{
    background: #24aadb;
}

.panel-icon{
    width: 40px;
    margin: auto;
}

.panel-icon img{
    width: 100%;
}

.about-medical h6{
    text-transform: uppercase;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.about-medical h1{
    font-weight: 600;
}

.about-medical p{
    margin-bottom: 10px;
    color: #808080;
    line-height: 1.7;
}

.medical-about-pic img{
    width: 100%;
}

.medical-signature{
    width: 200px;
    margin: 20px 0px 20px 0px;
}

.medical-signature img{
    width: 100%; 
}

.inner-medical-services{
    background: #FFF;
    padding: 50px 20px 60px 20px;
    text-align: center; 
    margin: 20px 0px 20px 0px;
}

.inner-medical-services h4{
    margin: 5px 0px 5px 0px;
}

.inner-medical-services p{
    color: #999999;
}

.service-icon{
    width: 50px;
    margin: auto;
}

.service-icon img{
    width: 100%;
}

hr.short{
    width: 80px;
    border-top: 3px solid #9ACBC6;
    margin: 10px 0px 15px 0px;
}

.tab-pane{
    color: #666;
    padding: 20px 0px 20px 0px;
    text-align: left;
}

.tab-pane p{
    color: #666;
    text-align: left;
    margin-bottom: 15px;
}

.nav-tabs {
    border-bottom: 2px solid #24aadb;
}

.nav-tabs > li {
    float: left;
    margin-bottom: -1px;
    width: 25%;
    text-align: center;
    height: 120px;
    background: #FAFCFC;
}

.nav-tabs > li > a {
    margin-right: 0px;
    line-height: 1.42857143;
    border: none;
    border-radius: 0px;
    font-size: 16px;  
    color: #333;
    transition: 0.3s;
    padding: 25px 0px 25px 0px;
    height: 120px;
}

.nav-tabs > li > a:hover {
    background-color: #24aadb;
    color: #fff;
    height: 120px;
    padding: 25px 0px 25px 0px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #fff;
    cursor: default;
    background-color: #24aadb;
    border: none;
    border-bottom-color: none;
    height: 120px;
    padding: 25px 0px 25px 0px;
}

.tab-icon, .tab-icon-2, .tab-icon-3, .tab-icon-4{
    width: 50px;
    height: 50px; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0px auto 5px auto;
}

.nav-tabs > li.active > a .tab-icon{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    transition: 0.3s;
}

.nav-tabs > li > a:hover .tab-icon{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    transition: 0.3s;
}

.nav-tabs > li > a .tab-icon{
    background-image: url("/theme/img/master/medical/heart-2.png");
}

.nav-tabs > li.active > a .tab-icon-2{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); 
    transition: 0.3s;
}

.nav-tabs > li > a:hover .tab-icon-2{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    transition: 0.3s;
}

.nav-tabs > li > a .tab-icon-2{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}

.nav-tabs > li.active > a .tab-icon-3{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    transition: 0.3s;
}

.nav-tabs > li > a:hover .tab-icon-3{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    transition: 0.3s;
}

.nav-tabs > li > a .tab-icon-3{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}

.nav-tabs > li.active > a .tab-icon-4{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    transition: 0.3s;
}

.nav-tabs > li > a:hover .tab-icon-4{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); 
    transition: 0.3s;
}

.nav-tabs > li > a .tab-icon-4{
    background-image: url("/theme/img/master/medical/pregnancy-2.png");
}

.nav-tabs.nav-justified {
    width: 100%;
    border-bottom: 0;
}

.nav-tabs.nav-justified > li {
    float: none;
}

.nav-tabs.nav-justified > li > a {
    margin-bottom: 5px;
    text-align: center;
}

.nav-tabs.nav-justified > .dropdown .dropdown-menu {
    top: auto;
    left: auto;
}

.inner-tab .col-md-7{
    margin-top: 30px;
}

.department-pic img{
    width: 100%;
}

.inner-tab p{
    color: #a6a6a6;
    line-height: 1.7;
    margin: 5px 0px 20px 0px;
}

hr.departments{
    width: 100%;
    border-top: 1px solid #e6e6e6;
    margin: 15px 0px 15px 0px;
}

.span-department p{
    color: #333;
    line-height: 2;
    margin: 0px 15px; 
}

.span-department .fa{
    color: #24aadb;
}

.medical-parallax{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    height: 450px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 120px;
}

.parallax-content{
    bottom: 50px;
    color: #00a4e6;
    max-width: 650px;
}

.parallax-content h1{
    font-weight: 600;
    font-size: 50px;
}

.counter-facts{
    margin-top: 30px;
}

.inner-facts{
    width: 200px;
    height: 70px;
    display: inline-block;
    margin-right: 10px;
}

.facts-icon{
    float: left;
    margin-right: 15px;
    width: 40px;
}

.facts-icon img{
    width: 100%;
}

.inner-facts .counter{
    margin: 0px;
    text-align: left;
    padding: 0px;
    color: #666;
    font-weight: 600;
}

.inner-facts p{
    margin-top: 5px;
}

.doctor-card {
  display: block;
  line-height: 1.42857143;
  background-color: #FAFCFC;
  -webkit-transition: border .2s ease-in-out;
       -o-transition: border .2s ease-in-out;
          transition: border .2s ease-in-out;
}

.doctor-card > img,
.doctor-card a > img {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

a.doctor-card:hover,
a.doctor-card:focus,
a.doctor-card.active {
  border-color: #337ab7;
}

.doctor-card .caption {
  padding: 15px 30px 30px 30px;
  color: #333;
  text-align: center;
}

.caption p.specialty{
    color: #999;
    height: 13px;
}

.caption p{
    color: #808080;
}

.inner-doctors-social{
    display: inline-block;
    margin-right: 5px;
}

.inner-doctors-social .fa{
    color: #24aadb;
    transition: 0.3s;
    font-size: 18px;
}

.inner-doctors-social .fa:hover{
    color: #FF404C;
}

.parallax-testimonials{
    background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    height: 500px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0px 80px 0px;
}

.testimonial-container{
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 768px;
    height: 350px;
}

.testimonial-container .gallery-cell{
    background: transparent;
}

.medical-blog {
  display: block;
  line-height: 1.42857143;
  background-color: #FAFCFC;
  -webkit-transition: border .2s ease-in-out;
       -o-transition: border .2s ease-in-out;
          transition: border .2s ease-in-out;
}

.medical-blog > img,
.medical-blog a > img {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

a.medical-blog:hover,
a.medical-blog:focus,
a.medical-blog.active {
  border-color: #337ab7;
}

.medical-blog .caption {
  padding: 20px;
  color: #333;
  text-align: left;
}

.medical-blog .caption h6{
  line-height: 2;
    font-weight: 600;
    color: #333;
}

.medical-blog .caption p{
  text-align: left;
}

.post-detail-bar{
    height: 20px;
    margin-bottom: 10px;
}

.post-detail-bar .fa{
    color: #24aadb;
}

.post-detail-bar p{
    color: #999;
}

.span-comment, .span-likes{
    display: inline-block;
    margin-right: 5px;
}





#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1031;
  background-color: #F2F2F2;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 3px solid transparent;
  border-top-color: #50bbe2;
  border-radius: 50%;
  animation: loader 2s linear infinite;
}
#loader::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 3px solid transparent;
  border-top-color: #50bbe2;
  border-radius: 50%;
  animation: loader 3s linear infinite;
}
#loader::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid transparent;
  border-top-color: #50bbe2;
  border-radius: 50%;
  animation: loader 1.5s linear infinite;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


hr.center{
    width: 80px;
    border-top: 3px solid #9ACBC6;
    margin: 15px auto 15px auto;
}

.footer-categories h6{
	color: #9ACBC6;
}

.subscribe-footer h6{
	color: #9ACBC6;
	margin-bottom: 10px;
}

.newsletter-box .button {
  	width: 25%;
  	height: 38px;
  	background-color: #9ACBC6;
  	border: none;
  	border-radius: 0 5px 5px 0;
  	font-family: inherit;
  	font-weight: 500;
  	color: inherit;
  	letter-spacing: 1px;
  	cursor: pointer;
  	color: #FFF;
  	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
}

.cd-top {
  background-color: #9ACBC6;    
}

.icon-fa:hover{
    background: #9ACBC6;
	border: solid 1px #9ACBC6;
}

.social-top .fa:hover{
	color: #9ACBC6;
}

.flickity-page-dots .dot.is-selected {
  background: #9ACBC6;
}

.btn-custom2 {
  color: #FFF;
  background-color: #9ACBC6;
  border-color: #9ACBC6;
  transition: 0.3s;
}
.btn-custom2:focus,
.btn-custom2.focus {
  color: #FFF;
  background-color: #50bbe2;
  border-color: #50bbe2;
}
.btn-custom2:hover {
  color: #FFF;
  background-color: #50bbe2;
  border-color: #50bbe2;
}
.btn-custom2:active,
.btn-custom2.active,
.open > .dropdown-toggle.btn-custom2 {
  color: #FFF;
  background-color: #50bbe2;
  border-color: #50bbe2;
}

@media (max-width:1060px) {
.medical-signature{
    width: 130px;
    margin: 10px 0px 10px 0px;
}
}

@media (max-width:992px) {
.medical-front-panels{
    margin-top: -15px;
}
   
.department-pic{
    margin-top: 30px;
}
    
.doctor-center{
    margin: 20px 0px 20px 0px;
}
    
.inner-tab .col-md-7{
    margin-top: 0px;
}

.medical-blog{
    margin: 20px 0px 20px 0px;
}
    
}

@media (max-width:768px) {
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
  width: 25%;
  height: 90px;
}

.nav-tabs > li > a {
  font-size: 14px;  
  padding: 15px 0px 15px 0px;
  height: 90px;
} 
    
.nav-tabs > li > a:hover {
    height: 90px;
    padding: 15px 0px 15px 0px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    height: 90px;
    padding: 15px 0px 15px 0px;
}
     
.tab-icon, .tab-icon-2, .tab-icon-3, .tab-icon-4{
    width: 30px;
    height: 30px; 
}
    
.parallax-content h1{
    font-size: 30px;
    line-height: 1.4
}
    
.parallax-content{
    color: #FFF;
    max-width: 100%;
}
    
.parallax-content p{
    font-size: 13px;
}
    
.testimonial-container{
    width: 576px;
    height: 350px;
}
    
}

@media (max-width:576px) {
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
  width: 25%;
  height: 70px;
}

.nav-tabs > li > a {
  font-size: 11px;  
  padding: 15px 0px 15px 0px;
  height: 70px;
} 
    
.nav-tabs > li > a:hover {
    height: 70px;
    padding: 15px 0px 15px 0px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    height: 70px;
    padding: 15px 0px 15px 0px;
}
     
.tab-icon, .tab-icon-2, .tab-icon-3, .tab-icon-4{
    width: 25px;
    height: 25px; 
}

.medical-parallax { 
    height: 550px; 
    padding-top: 80px;
}
    
.inner-facts{
    width: 200px;
    height: 70px;
    display: block;
    margin: 15px 0px 15px 0px;
}
    
.inner-facts .counter{
    font-size: 30px;
}
    
.inner-facts p{
    margin-top: 0px;
}
    
.testimonial-container{
    width: 450px;
    height: 350px;
}
    
.testimonial-quote p{
    line-height: 1.3;
    font-size: 13px;
}
    
}

@media (max-width:450px) {
.testimonial-container{
    width: 350px;
    height: 350px;
}  
    
.testimonial-container .section-title p{
    font-size: 12px;
    line-height: 1.4;
}
    
.avatar {
  width: 80px;
  height: 80px;
  margin: auto;
}
    
}

