/* 
	Theme Name: Lily Wong MD
	Theme URI: http://drlilywong.com
	Description: The theme for Lily Wong MD.
	Version: 1.0
	Author: Prosthesis Media/JoshuaJohnson
*/	


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*General*/

body {
	color: #006666;
	font-size: 18px;
	background: #fffdfb;
	font-family: 'Lato', Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}

#main {
	clear: both;
	max-width: 1200px;
	margin: 0 auto;
}

.section-content, .section-header {
	overflow: hidden;
	padding: 2em;
	border-bottom: 1px solid #99cc99;
}

.section-content:last-child {
	border: none;
}

.section-header {
	border: none;
	padding: 2em 2em 0 2em;
}

.section-header h2 {
	margin-bottom: 0;	
}	

.content-pad {
	margin: 0 1em;
}

.pad-bottom {
	margin-bottom: 2em;
}

.center {
	text-align: center;
	margin: 0 auto;
}

.content-pad p {
	max-width: 740px;
	line-height: 1.5em;
	margin-bottom: 1em;
}

.content-pad img {
	max-width: 100%;
}

.col-30 {
	width: 30%;
	float: left;
}

.col-33 {
	width: 33.333%;
	float: left;
}

.col-50 {
	width: 50%;
	float: left;
}

.col-66 {
	width: 66.666%;
	float: left;
}

.col-70 {
	width: 70%;
	float: left;
}

a.zocdoc-button {
	background: #99cc99;
	padding: .25em 1em;
	border-radius: 2px;
	color: #fffdfb !important;
	text-decoration: none;
	display: table;
	font-size: 1.25em;
}

a.email-link {
	color: #006666;
	text-decoration: none;
}

#main ul li {
	margin: .5em 0em;
	line-height: 1.3em;
}

#main ul li::before {
	content: '';
	background-image: url('./logo-mark.svg');
	background-size: 1em;
	background-repeat: no-repeat;
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: .5em;
}

.inactive {
	display: none !important;
}

/*Header*/

.header-wrapper {
	max-width: 1800px;
	margin: 0 auto;
}

#header {
	margin: 2em 2em 1em 2em;
	width: 300px;
	float: left;
}

h1#site-title {
	font-family: 'Nunito', Arial, sans-serif;
	font-size: 1.75em;
	line-height: 1.25em;
	position: relative;
	padding-left: 2.1em;
	font-weight: bold;
}

h1#site-title img {
	width: 2.1em;
	position: absolute;
	top: 0;
	left: 0;
}

h1#site-title a {
	text-decoration: none;
	color: #006666;	
}	

h1#site-title .site-description {
	font-family: 'Lato', Arial, sans-serif;
	font-size: .6em;
	line-height: 1em;
	display: block;	
	text-transform: capitalize;
}	

h2 {
	font-size: 1.75em;
	color: #993300;
	margin-bottom: .75em
}

h3, h4, h5, h6 {
	font-size: 1.25em;
	color: #006666;
	margin-bottom: 1em
}

a {
	color: #EF1919;
	text-decoration: none; 
}

strong, b {
	font-weight: 900;
}

em, i {
	font-style: italic;
}

.cf {
	clear: both;
}

/* Menu */

ul#menu {
	margin: 2em 2em 1em 2em;
	font-size: 1.25em;
	float: right;
}

ul#menu li {
	display: inline-block;
	margin-left: 1em;
}

ul#menu li a {
	color: #993300;
	text-decoration: none;
}

ul#menu li.current a {
	color: #EF1919;
	text-decoration: none;
}

ul#menu li:last-child {
	background: #99cc99;
	padding: .25em 1em .3em 1em;
	border-radius: 2px;
}

ul#menu li:last-child a {
	color: #fffdfb;
}

ul#menu li.current:last-child {
	background: #006666;
}


#mobile-button {
	position: fixed;
	top: 2em;
	right: 2em;
	z-index: 1000;
	display: none;
	background: #99cc99;
	border-radius: 2px;
	color: #fffdfb;
	width: 2em;
	height: 1em;
	text-align: center;
	vertical-align: middle;
	padding: .5em 0;
}

#mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255,253,251, .95);
	z-index: 2000;
}

#mobile-menu h1 {
	margin: 1.15em 1em 1em 1.15em;	
}	

#mobile-menu ul#menu {
	float: none;
}

#mobile-menu ul#menu li {
	display: table;
	margin: 1em 0;
}

.mobile-close {
	position: absolute;
	top: 2em;
	right: 2em;
	width: 2em;
	height: 1em;
	background: #99cc99;
	border-radius: 2px;
	color: #fffdfb;
	text-align: center;
	vertical-align: middle;
	padding: .5em 0;
	z-index: 3000;
}	

/* Splash */

#splash, .splash-img-gradient, .splash-img {
	width: 100%;
	height: 70vh;
	background: #99cc99;
	position: relative;
	clear: both;
}

.splash-img-gradient, .splash-img {
	position: absolute;
	top: 0;
	left: 0;
}

.splash-img-gradient {
	opacity: .5;
	background: #99cc99; 
	background: -moz-linear-gradient(-45deg, #99cc99 0%, #ffcc33 100%); 
	background: -webkit-linear-gradient(-45deg, #99cc99 0%,#ffcc33 100%); 
	background: linear-gradient(135deg, #99cc99 0%,#ffcc33 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99cc99', endColorstr='#ffcc33',GradientType=1 );
	z-index: 20;
}

.splash-img {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 10%;
	z-index: 10;
}

.splash-promo {
	position: absolute;
	bottom: 2em;
	right: 2em;
	z-index: 30;
	text-align: center;
}

.splash-promo-content {
	background: #fffdfb;
	padding: 1em 2em;
	border-radius: 2px;
}

.splash-promo-liner {
	background: #99cc99;
	border-radius: 2px;
	height: 8px;
	margin-top: 5px;
}

.splash-promo h2 {
	text-transform: uppercase;
	margin-bottom: .25em;	
}	

.splash-promo h2 a {
	text-decoration: none;
	color: #993300;
}	

.splash-message a {
	color: #006666;
	text-decoration: none;
}

/* About */

ul.gallery {
	margin-top: 2em;
}

ul.gallery li {
	display: inline-block;
	margin-right: 1em;
	
}

ul.gallery li img {
	max-height: 120px;
	max-width: 120px;
}

#main ul.gallery li::before {
	content: '';
	background-image: none;
	width: 0;
	height: 0;
	margin-right: .0;
}

/* Services */

.service-image, section-content.home-services .service-image {
	width: 100%;
	padding-top: 40%;
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	border-radius: 2px;
	margin-bottom: 2em;
}

.services.section-content:last-of-type .service-image, .col-50:last-of-type .service-image, .services.section-content:nth-child(4) .service-image, .col-50:nth-child(4) .service-image {
	background-position: center center;
}	
	
.service-header {
	background: rgba(255,253,251,0.8);
	width: calc(100% - 4em);
	position: absolute;
	top: 0;
	left: 0;
	padding: .5em 2em;
}

.service-header h3 {
	margin-bottom: 0;
}

.service-header h3 a {
	color: #006666;
	text-decoration: none;	
}

.service-image a.zocdoc-button {
	position: absolute;
	bottom: 1em;
	right: 2em;
}

.services ul li {
	float: left;
	padding: 0 2em 0 0;
	width: calc( 50% - 2em );
}

.video-wrapper {
	margin-top: 2em;
}

.map iframe {
	width: 100% !important;
	pointer-events: none;
}


/* Footer */

#footer {
	margin-top: 2em;
	border-top: 1px solid #99cc99;
	background: rgba(255,204,51,0.5);
	background: -moz-linear-gradient(top, rgba(255,204,51,0.5) 0%, rgba(255,253,251,0) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,204,51,0.5)), color-stop(100%, rgba(255,253,251,0)));
	background: -webkit-linear-gradient(top, rgba(255,204,51,0.5) 0%, rgba(255,253,251,0) 100%);
	background: -o-linear-gradient(top, rgba(255,204,51,0.5) 0%, rgba(255,253,251,0) 100%);
	background: -ms-linear-gradient(top, rgba(255,204,51,0.5) 0%, rgba(255,253,251,0) 100%);
	background: linear-gradient(to bottom, rgba(255,204,51,0.5) 0%, rgba(255,253,251,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffcc33', endColorstr='#fffdfb', GradientType=0 );
}

.footer-wrapper {
	max-width: 1800px;
	margin: 0 auto;
}

#footer .zocdoc-button {
	margin-top: 1em;
}

#footer ul#menu {
	margin: 0;
	float: none;
	font-size: 1.1em;
}

#footer ul#menu li {
	display: block;
	margin-left: 0;	
	line-height: 1.2em;
}

#footer ul#menu li.current a {
	color: #993300;
}	

#footer ul#menu li:last-child {
	background: none;
	padding: 0;
	border-radius: 0;	
}

#footer ul#menu li:last-child a {
	color: #993300;
}

#footer h1#site-title {
	font-size: 1.25em;	
}

.footer-address {
	margin-left: 2.7em;
	line-height: 1.2em;
	margin-top: .5em;
}

.footer-contact {
	line-height: 1.2em
}

ul.social-media {
	margin: .5em 0;
}

ul.social-media li {
	display: inline-block;
	font-size: 1.5em;
	margin-right: .5em;
}

ul.social-media li a {
	color: 	#993300;
}

ul.social-media li a i.fa-facebook-official {
	color: #3b5998;
}

ul.social-media li a i.fa-instagram {
	color: #8a3ab9;
}

ul.social-media li a i.fa-linkedin-square {
	color: #0077b5;
}

ul.social-media li a i.fa-twitter-square {
	color: #00aced;
}

ul.social-media li a i.fa-yelp {
	background: #d32323;
	color: #fffdfb;
	font-size: 1em;
	line-height: .9em;
	border-radius: 2px;
	padding: 0 .05em;
}			

@media only screen and (min-device-width : 1024px) 
and (max-device-width : 1366px) and (orientation:landscape) {
		
	
}	

	
@media screen and (max-width: 1024px), (max-width: 1024px) and (orientation:landscape) {
	
	body {
		font-size: 16px;
	}
	
	#footer .col-33 {
		width: 50%;
	}	
	
}

@media screen and (max-width: 768px), (max-width: 768px) and (orientation:portrait), (max-width: 1024px) and (orientation:portrait) {

	
	body.logged-in #mobile-button, body.logged-in .mobile-close  {
		margin-top: 46px;
	}
	
	body.logged-in #mobile-menu h1 {
		margin-top: 74px;	
	}	
	
	body.logged-in #wpadminbar {
		position: fixed !important;
	}	
	
	.header-wrapper ul#menu {
		display: none;
	}	
	
	#mobile-button {
		display: inline-block;	
	}
	
	.splash-promo {
		max-width: calc(100% - 4em);	
	}		
	
	.col-33 img {
		margin-bottom: 1em;
	}
	
	.col-33, .col-66 {
		width: 100%;
	}
	
	.home-services .col-50 {
		width: 100%;
	}
	
	.service-image a.zocdoc-button {
		right: auto;
		left: 50%;
		-ms-transform: translateX(-50%); /* IE 9 */
	    -webkit-transform: translateX(-50%); /* Chrome, Safari, Opera */
	    transform: translateX(-50%);	
	}	
	
	.service-image {
		padding-top: 60%;	
	}	
	
	.services ul li {
		float: left;
		padding: 0;
		width: 100%;
	}

	.section-content, .section-header {
		padding: 2em 1em;	
	}
	
	.logo-mark {
		width: 50%;
		margin: 2em auto 0 auto;
		display: block;
	}	

	#footer .col-33 {
		width: 100%;
	}
	
	#footer ul#menu {
		margin-bottom: 1em;
	}
	
	#footer ul#menu li {
		display: inline-block;
		margin-right: 1em;	
	}	
	
	#footer .col-33:last-child .content-pad {
		margin-left: 3.7em;
		margin-top: 1em;	
	}		
	
	
}	

@media screen and (max-width: 736px) {
	
	body {
		font-size: 14px;
	}
	
}	