/*
Theme Name: Surge Init
Version: 1.0
Theme URI: http://optimized360.com
Template: optizign-framework
Author: Belinda Tran
Author URI: http://optimized360.com/about-us
Tags: featured-images, custom-menu
License: Copyright Optimized360 LLC - All Rights Reserved © 2013-2016
*/

/*

Image Sizes:
Wordpress Thumbnail: 1200x900;

PHP Output:

<?php get_template_part ('framework/outputs/promo-1') ?>

PHP Hide Class:

<div class="<?php echo get_option( 'hide_promos','show-it' ); ?>">
	<?php get_template_part ('framework/outputs/promo-1') ?>
</div>

*/

/*========================================================================
								Main Elements
========================================================================*/
/* == WP Editor == */
.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:10px 0 35px 30px}a img.alignnone{margin:5px 20px 20px 0}a img.alignleft{float:left;margin:15px 75px 30px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignleft{margin:15px 35px 30px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:13px;color:#888; margin: 20px 0;}#post_name{display:none}/* Text meant only for screen readers. */.screen-reader-text { clip: rect(1px, 1px, 1px, 1px);position: absolute !important;height: 1px;width: 1px;overflow: hidden;}.screen-reader-text:focus {background-color: #f1f1f1;border-radius: 3px;box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);clip: auto !important;color: #21759b;display: block;font-size: 14px;font-size: 0.875rem;font-weight: bold;height: auto;left: 5px;line-height: normal;padding: 15px 23px 14px;text-decoration: none;top: 5px;width: auto;z-index: 100000; /* Above WP toolbar. */}

.carousel .wp-post-image{
	display: block;
    max-width: 100%;
    height: auto;
}

@import url(https://fonts.googleapis.com/css?family=Raleway:200);

body{
	font-size: 17px;
	color: #756c5d;
	font-family: Lato;
	font-weight: 300;
    line-height: 28px;
}

h1, h2,.h2{
	font-size: 200%;
	font-family: Dancing Script;
  color: #20bec9;
  

}
h1{font-size: 220%;}
h3{font-size:160%;}
h4{font-size:140%;}
h5{font-size:120%;}
h6{font-size: 120%;}

a,
a:focus, a:hover, a:active {
	color: #756c5d;
}


#headerbar .container {
  max-width: 1920px;
  width: 100%;
}

#hero > a {
  bottom: 20px;
  left: 50%;
  position: absolute;
}


.glyphicon{ color:#00bcbc; font-size:40px; }


/*SLIDER -------------------*/

.theme-default .nivo-directionNav a{ background:url(mods/images/images/arrows.png) no-repeat  !important; }
.theme-default a.nivo-nextNav {background-position: 100% 0 !important;}
/*.theme-default a.nivo-prevNav {background-position: 100% 0 !important;}
.theme-default a.nivo-prevNav { background-position: left top !important;}*/




/*---------------------------*/


/* Bootstrap */

/* Carousel */
.carousel{
	padding: 60px 0;
	background-color: #dcf0ee;
}

.carousel h2{
	margin-bottom: 40px;
}
.carousel-control.left{
	background: transparent;
}
.carousel-control.right{
	background: transparent;
}
.carousel-indicators{}
.carousel-control .glyphicon{
	background: #70b4b4;
    height: 40px;
    width: 40px;
    line-height: 38px;
    text-align: center;
    padding: 0;
    border-radius: 40px;
    text-shadow: none;
}
.theme-default .nivo-directionNav a{
	opacity: 1 !important;
}



/*========================================================================
								Modules
========================================================================*/

#headerbar{
	padding:20px 0 0;
	border-top: 8px solid #70b4b4;
    left: 0;
    width: 100%;
    z-index: 2;
}

#hero{
	overflow: hidden;
	position:relative;
}
#slider{}

.nivo-caption h1{
	text-transform: uppercase;
}

.nivo-caption{
	padding: 10px 20px!important;
    background: transparent!important;
    color: #756c5d!important;
    width: 100%!important;
    height: 100%;
    overflow: auto!important;
    margin: auto;
    top: 0;
    left: auto!important;
    bottom: 0!important;
    right: 0!important;
    font-weight: 300!important;
    position: relative!important;
}

.nivo-caption p{
	padding: 0!important;
	margin-bottom: 10px!important;
}

.nivo-caption h1{
	font-family: 'Lato', sans-serif !important;
	font-weight: 200!important;
	margin-bottom: 20px!important;
}

/*Divi*/

.et_divi_builder #et_builder_outer_content .et_pb_toggle_title:before{
	color: transparent!important;
}

.et_pb_code .et_pb_module.et_pb_toggle.et_pb_toggle_close.et_pb_accordion_item_16,
.et_divi_builder #et_builder_outer_content .et_pb_accordion .et_pb_toggle {
	    border: 1px solid #ededed!important;
	        background-color: #ffffff!important;
    margin-bottom: 10px;
    background: transparent;
    border-color: #444;
    border-radius: 6px!important;
}

h5.et_pb_toggle_title {
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    color: #20bec9 !important;
}

.et_divi_builder #et_builder_outer_content .et_pb_toggle_close h5.et_pb_toggle_title{
	color: #00bcbc;
}

.et_divi_builder #et_builder_outer_content .et_pb_section{
	padding: 0!important;
}

#services .homelvl.one{
	background-image: url(mods/images/images/sections/bg-face.jpg);
	background-position: top right;
}

#services .homelvl.two{
	background-image: url(mods/images/images/sections/bg-breast.jpg);
	background-position: right center;
	background-color: #d9d9da;
}

#services .homelvl.three{
	background-image: url(mods/images/images/sections/bg-body.jpg);
}

#services .homelvl.four{
	background-image: url(mods/images/images/sections/bg-non-surgical.jpg);
	background-position: top right;
}

#services .homelvl.five{
	background-image: url(mods/images/images/sections/bg-men.jpg);
	background-color: #dcf0ee
}

#services .homelvl{
	background-position: left center;
	background-repeat: no-repeat;
	padding: 20px 0;
}

.section-headings{
	position: relative;
}
.section-headings .h2{
	position: absolute;
    bottom: -20px;
    opacity: 0.2;
    margin-bottom: 0px;
    font-family: Dancing Script;
    text-transform: lowercase;
    font-size: 300%;
}



.sign-img{
    position: absolute;
    bottom: -10px;
    left: 6%;
    width: 50%;
}

.doc-img{
	position: absolute;
    bottom: 0;
    right: 0;
}

.home #main-content{
	position: relative;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e3dacf+0,a7a097+100 */
	background: rgb(227,218,207); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(227,218,207,1) 0%, rgba(167,160,151,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(227,218,207,1) 0%,rgba(167,160,151,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(227,218,207,1) 0%,rgba(167,160,151,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3dacf', endColorstr='#a7a097',GradientType=0 ); /* IE6-9 */
	padding: 60px 0 130px;
/*	background-image: url(mods/images/images/sections/doctor-signature.png);
	background-repeat: no-repeat;
	background-position: bottom center;*/
	color: white;
	background-repeat: no-repeat;
    background-position: bottom left;
}

#main-content{padding: 80px 0;}
.page-id-3220 #main-content .blog #content .home-content .blog-list .post{ margin-top:10px;}
.page-id-3220 #main-content .blog #content .home-content .blog-list .post .date{ background:#4a4a4a; padding:3px 10px; color:#fff; display:inline-block;} 
.page-id-3220 #main-content .blog #content .home-content .blog-list .post .post-excerpt h4 a{ text-decoration:none; color:#4a4a4a !important;} 
.page-id-3220 #main-content .blog #content .home-content .blog-list .post .post-excerpt a{ text-decoration:none; color:#00bcbc;}

#sidebar{}
#footer-top {}
#footer-main {
	padding:80px 0;
	background-color: #70b4b4;
	color: white;
}
#footer-bottom {
	padding:20px 0;
	color: white;
	width: 100%;
	background: #00bcbc;
	font-weight: 200;
	font-size: 16px;
}

#footer-bottom a{
	color: white;
}

#footer-top .testimonial-call{
	box-shadow: 0px 4px 8px 2px rgba(0,0,0,0.1);
	position: relative;
    z-index: 1;
}

.testimonial-call{
	background: #00bcbc;
	padding: 16px 0;
	color: white;
}

#footer-top .testimonial-call{
	background: #76e1e1;
}

.testimonial-call a{
	color: #fff;
}

.testimonial-call .col-md-4{
	font-weight: lighter;
	font-size: 120%;
}

.testimonial-call i{

  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 40px;
  font-size: 20px;
  padding-left: 5px;
  color: rgba(0,0,0,0.2);

}

.mid-center{
	padding-top: 5px;
	font-weight: 300;
	font-size: 110%;
}

.menu-footer-menu-container ul{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 80%;
    font-weight: 400;
}

.menu-footer-menu-container li {
    margin-left: 8px;
    display: inline-block;
}

#menu-main{
	list-style: none;
	padding: 0;
	margin: 0;
}

/*========================================================================
							Theme Classes
========================================================================*/

.btn{
	padding: 6px 20px;
	text-transform: uppercase;
	font-size: 60%;
}

#hero .btn-default{
	margin-right: 10px;
	border-color: white;
	color: white;
	background-color: #70b4b4;
	padding: 12px;
	font-size: 12px;
}

#main-content .btn-default{
	background-color: transparent;
	margin-right: 10px;
}

.home #main-content .btn-default:hover{
	background-color: #9c9388;
	color: white;
}

.btn-default{
	border-color: white;
	color: white;
	background-color: #00bcbc;
}

.widget-wrap{
	line-height: 36px;
	border: 1px solid #70b4b4;
	margin-bottom: 20px;
}

.widget-title{
	border-bottom: 1px solid #70b4b4;
	padding: 10px 0 10px 20px;
	text-transform: uppercase;
}

.widget-content{
	padding: 10px 0 10px 20px;
}

#sidebar .btn-default{
	background-color: transparent;
	border-color: #00bcbc;
	color: #00bcbc;
}

.page-id-99 .widget-content a{
	display: none;
}

#footer-main{ position:relative; }
.modal-dialog { left: 50%; margin:-275px 0 0 -300px !important; top: 50%; width: 600px;}
.modal-title { color: #2d2d2d; }

#services .homelvl.one .hentry #et_builder_outer_content .et_pb_text,
.homelvl.two .hentry .et_builder_outer_content .et_pb_text,
.homelvl.three .hentry .et_builder_outer_content .et_pb_text,
.homelvl.four .hentry .et_builder_outer_content .et_pb_text,
.homelvl.five .hentry .et_builder_outer_content .et_pb_text
{ display:none;}

/*========================================================================
							Output Classes
========================================================================*/

/* Action */
.action {}

/* Additional Logos */
.add-logos{}
.add-logos img {max-width:200px;margin:0 25px;}

/* Address */
.address {}
.ba-address {display: block;}
#footer-bottom .ba-address{
	display: inline-block;
}
.ba-city{}
.ba-state{}
.ba-zip{}
#footer-bottom .address {
	list-style: none;
    padding: 0;
    margin: 0;
    font-size: 80%;
    font-weight: 400;
}
/* Email */
.email{}

/* Excerpt */
.excerpt {}
.excerpt-title {
	font-size: 200%;
	display:block;
	position: relative;
	margin-bottom: 20px;
	font-family: Raleway;
	font-weight: 200;
}
.excerpt-title::after{
	content: 'Consultations';
	position: absolute;
	margin-bottom: 0px;
	left: 0;
	font-weight: 200;
    bottom: -14px;
    
    opacity: 0.2;
    font-family: Dancing Script;
    text-transform: lowercase;
    font-size: 200%;
}
.excerpt-subtitle {
	display: none;
	font-size: 120%;}
.excerpt p {}
.excerpt  a {
	display: none;
}

/* Form */
.form {}
.form-title {
	margin-top: 20px;
	display:block;margin-bottom:20px;font-size:140%;}

/* Legal */
.legal {
	font-size: 10px;
}
.legal a {
	color: white;
}

/* Links */
.links {}
.links ul {padding: 0;list-style: none;}
.links li {margin-bottom: 10px;}
.links a {}

/* Main Logo */
.logo{}

/* Map */
.map{}
.map iframe{}

/* Name */
#headebar .name {font-size:260%;font-weight:700;margin: 5px 0;}
#footer-bottom .name{
	text-transform: uppercase;
	list-style: none;
    padding: 0;
    margin: 0;
    font-size: 80%;
    font-weight: 400;
}

/* Phone */
.phone {}
#footer-bottom .phone{list-style: none;
    padding: 0;
    margin: 0;
    font-size: 80%;
    font-weight: 400;
    }

/* Promos */
.promo-output{}
.promo-title {font-size: 140%;display:block;}
.promo-subtitle {font-size:120%;display:block;}
.promo-1{}
.promo-2{}
.promo-fineprint {font-size: 80%;}

/* Services */
.service-output {}
.service-title{font-size:140%;margin-bottom:20px;display:block;}
.service-subtitle{font-size:120%;display:block;}
.service-output a{}
.service-1{}
.service-2{}
.service-3{}
.service-4{}

.testimonial-output{}
.testimonial-text{}
.testimonial-name{}
.testimonial-link{}
.testimonial-1{}
.testimonial-2{}
.testimonial-3{}

/* Social */
.social{}
.social a {
	display: inline-block;
	width: 36px;
	height: 36px;
	margin-right: 5px;
	border-radius: 36px;
	text-align: center;
	line-height: 36px;
	color: white;
}

/* System Output */
.system-output{margin: 0 0 80px}
article #post-ID .post_class{}
.page-links{}
.page-links-title{}
.archive-header{}
.taxonomy-description{}
.thumbnail{}
.read-more{}
i .fa{}

/* Tagline */
.tagline {display:block;font-size: 180%;}



/* NEW CSS */

#headerbar.scroll #navbar {
  margin-top: 20px;
}


.home #headerbar, #headerbar {
  position: fixed !important; top:0px;
}
#navbar, .logo, #headerbar{ transition:all 1s ease-in-out; -moz-transition:all 1s ease-in-out; -webkit-transition:all 1s ease-in-out; -ms-transition:all 1s ease-in-out; -o-transition:all 1s ease-in-out; }
.scroll .logo {
  max-width: 290px;
}
#headerbar.scroll {
  background: #fff;
}
#main-content{ padding-top:300px}
.home #main-content{ padding-top:0} 

.navbar ul ul li:hover > ul {
  border-radius: 0;
  float: right;
  left: 100%;
  margin-top: 0;
  top: -1px;
  display: block;
}



.modal{ top:0px !important; min-height:500px}
.modal-dialog{ margin:75px 0 0 -300px !important}
.page-id-3220 .date {
  float: left;
  width: 10%;
}
.page-id-3220 .post-thumbnail {
  float: left;
  width: 90%;
  height: 430px;
  display: block;
  overflow: hidden;
}


.page-id-3220 #main-content .blog #content .home-content .blog-list .post .post-excerpt h4 a {
  margin-top: 20px !important;
  display: inline-block;
}
.page-id-3220 .post-excerpt {
  margin-left: 10%;
}
#post-2716 img {
  width: 100%;
  height: auto;
}


/*========================================================================
						Bootstrap 3 Media Queries
========================================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */ /* Most used. Size of iPad Mini non-retina and iPhone 6 Plus */
@media only screen and (min-width : 768px) {
	
	.form-title {
		margin-top: 0;
	}
	
	#services .homelvl{
		padding: 80px 0;
	}
	

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	
	.nivo-caption{
		padding: 0!important;
	    width: 40%!important;
	    height: 62%;
	    overflow: auto!important;
	    margin: auto;
	    top: 140px;
	    left: auto!important;
	    bottom: 0!important;
	    right: 8%!important;
	    font-weight: 300!important;
	    position: absolute!important;
	}
	
	.home #headerbar{
		position: absolute;
	}
	
	.sign-img{
		bottom: -22px;
		left: 10%;
	}
	
	.logo {
    	margin-left: 50px;
	}
	
 .home #headerbar .logo{ 
    display:none
 }


  
 .home #headerbar.scroll  .logo{
		display: block;
	}
	
	#headerbar .logo {
  display: block;
}

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {



}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {


}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	
	.home #headerbar, #headerbar { background:#fff;
}
	
	#services .homelvl.one { background-position: -700px center;}
	#services .homelvl.two { background-color: #dbd1cd;}
	#services .homelvl.three { background: #e0cabe;}
	#services .homelvl.four { background-position: -200px center;}
	#services .homelvl.five { background-color: #cfeeec;}
	
	#hero { padding-top: 199px; background: url(http://markelovmd.com/wp-content/uploads/2016/08/mobile-1.jpg); background-size: cover; height: 400px; background-position-y: 138px; background-repeat: no-repeat; }
	#hero .metaslider {display: none;}
	.nivo-caption { display: none !important;}
	.navbar-collapse.collapse.in {background: #00bcbc ;}
	
	
	#services .homelvl.four{
	background-image: url(mods/images/images/sections/bg-non-surgical-mobile.jpg);
	background-position: top right;}
	#services .homelvl.three{
	background-image: url(mods/images/images/sections/bg-body-mobile.jpg);
	background-position: center center;
	background-size: cover; background: #f3e4db;}
	#services .homelvl.two{
	background-size: cover;}	
	
	.metaslide {display: none}
	
#services .homelvl.one .hentry #et_builder_outer_content .et_pb_text,
.homelvl.two .hentry .et_builder_outer_content .et_pb_text,
.homelvl.three .hentry .et_builder_outer_content .et_pb_text,
.homelvl.four .hentry .et_builder_outer_content .et_pb_text,
.homelvl.five .hentry .et_builder_outer_content .et_pb_text
{ display:block;}
	
	
}


@media only screen and (max-width : 360px) {

#services .homelvl.four { background-position: -960px center;}	
	
	
}


/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	
	#services .homelvl.one { background-position: -990px center;}
	#services .homelvl.three {background-position: -1250px center; display: none;}
	#services .homelvl.five {background-position: -1040px center;}
	#services .homelvl.four { background-position: -1100px center;}

}

/* Only for mobile Center */
/* Small Devices, Tablets */
@media only screen and (max-width : 768px){
	
	
/*Custom Mobile Nav*/

  .mobile-center{
    text-align: center;
  }

}

@media only screen and (max-width : 991px){
#hero > a{ display:none;}
#navbar {margin:0px;}

}


@media only screen and (max-width : 767px){

.navbar .navbar-nav > li > a{ color:#fff !important;}
.navbar-collapse.collapse.in {background: #00bcbc ;}
#navbar .navbar { position:static;}
.navbar li .dropdown-menu > li > a {
  padding: 12px 50px 12px 35px !important;
  font-size: 16px;
  color: #fff;
}
.navbar li .dropdown-menu .dropdown-menu > li > a {
  padding: 12px 15px 12px 45px !important;
  font-size: 16px;
  color: #fff;
}

.home #headerbar, #headerbar{ position:absolute !important;}
.scroll .logo {
  max-width: 100%;
}

.navbar .dropdown-menu {
  display:block !important;
  transition:all 0.5s ease; -moz-transition:all 0.5s ease; -webkit-transition:all 0.5s ease; height:0; overflow:hidden;
}
.navbar .menu-open > .dropdown-menu, .navbar .menu-open-sub > .dropdown-menu {
  display: block !important;
  transition:all 0.5s ease; -moz-transition:all 0.5s ease; -webkit-transition:all 0.5s ease; height:auto; overflow: visible;
}
.submenu-main{ position:absolute; top:0; right:0; background:url(mods/images/images/arrow-doun.png) no-repeat center center  !important; width:47px; height:47px; font-size:0;transition:all 0.5s ease; -moz-transition:all 0.5s ease; -webkit-transition:all 0.5s ease; background-size:15px auto !important;}
.menu-open-sub .submenu-main {
  transform: rotate(180deg); -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg);
}

.navbar-nav .dropdown-menu, .navbar-nav .dropdown-menu {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  float: none;
  margin-top: 0;
  position: static;
  width:100% !important;
}



}