/*
 Theme Name:   Twenty Ninteen Child
 Theme URI:    https://stevenphillipsmd.com
 Description:  Custom design for Steven Phillips
 Author:       Jessie Glass
 Author URI:   http://glassfoundry.com
 Template:     twentynineteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

body {
	font-family: "Montserrat";
	font-size: 0.8em;
	color: #7b7b7b;
	line-height: 1.4em;
}

strong {
	font-size: 1.2em;
}



column_quarter,
columm_half,
column_threeQuarters,
column_third,
column_twoThirds {
	display: block;
	float: left;
}

column_quarter {
	width: 25%;
}
columm_half {
	width: 50%;
}

column_threeQuarters {
	width: 75%;
}

column_third {
	width: 33%;
}

column_twoThirds {
	width: 66%;
}



.clearMe {
	clear: both;
}

h1 {
	font-weight: 200;
	border-bottom: 1px solid #DDD;
	font-size: 2.5em;
	color: #999;
}

h2 {
	font-weight: 300;
	font-size: 2em;
}


h3 {
	font-size: 1.5em;
	text-transform: uppercase;
}

#video_container h3 {
	font-size:1.2em;
}



a.keep_reading {
	display: block;
	margin-top: 0.5em;
	font-weight: 700;
	font-size: 0.7em;
	text-transform: uppercase;
}

a:link,
a:visted {
	color: #63b9f0;
}

a:hover, a:active {
	color: #bf8b5e;
}

.page_anchor {
	display: block;
    position: relative;
    top: -150px;
}

.entry .entry-content .wp-block-separator, 
.entry .entry-content hr  {
	background-color: #DDD;
	max-width: 25em;
	
}

.site-header {
	padding: 2%;
}

.logo {
	float: left;
	font-size: 2em;
}

.logo a {
	color: #000;
}

#masthead {
	position: fixed;
	z-index: 20;
	width: 100%;
}

#masthead_bg {
	background-color: #FFF;
	opacity: 0.8;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}


@media only screen and (min-width: 768px) {
	.site-header.featured-image {
		min-height: 0;
	}
}


.main-navigation .menu-top-navigation-container {
	display: block;
    float: right;
}

.menu-main-menu-container {
	position: absolute;
	right: 0;
}


.main-navigation .main-menu > li a {
    color: #000;
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 400;
    margin-right: 2em;
}

.main-navigation .main-menu > li a:hover {
    color: #0695cf;
}

.main-navigation .sub-menu {
    background-color: #FFF;
   -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
	box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
}

.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus, .main-navigation .sub-menu > li > .menu-item-link-return:hover, .main-navigation .sub-menu > li > .menu-item-link-return:focus {
    background: #EEE;
    margin-right: 0;
}



h2::before,
.entry .entry-title::before {
	display: none;
}




.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}



body:not(.home) #primary {
	padding-top: 150px;
}

.entry .entry-content .wp-block-separator, .entry .entry-content hr.wp-block-separator.is-style-wide {
	margin: 6em auto;
}

/*////// HOME PAGE  //////// */


.story_01 {
	position: relative;
	background-image: url("/wp-content/uploads/2019/09/stevenphillipsmd.jpg");
	background-size: cover;
	background-position: center center;
	color: #FFF;
	min-height: 80vh;
}

.story_01 .entry-content {
	position: absolute;
	bottom: 0;
	text-align: center;
    width: 100%;
    padding: 30% 2% 3em;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+97&0+4,0+4,0.65+97 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 4%, rgba(0,0,0,0.65) 97%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 4%,rgba(0,0,0,0.65) 97%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 4%,rgba(0,0,0,0.65) 97%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */

}

.story_01 h2 {
	font-weight: 600;
	font-size: 2.5em;
	margin-bottom: 0.5em;
}


.story_01 .entry-content p,
.story_01 .entry-content h2 {
	max-width: 40em;
	margin: 0 auto;
}

.story_02 {
	background-color: #bf8a5e;
	padding: 50px 2%;
	color: #FFF;
}

.story_02 column_twoThirds {
	padding: 0 5%;
}

.story_02 a {
	color: #FFF;
}

.story_02 a:hover {
	color: #000;
}



.story_03 {
	background-color: #faf6f2;
}

.story_03 .recent_post {
	padding: 5% 2%;
	border-bottom: 1px solid #dcc0a8;
}

.story_03 h3 {
	margin-top: 0;
}

.story_03 .recent_post column_third img {
	transform: translateX(-10%);
	padding-bottom: 30px;
}




.story_04 {
	padding: 100px 0;
}

.story_04 h2 {
	text-align: center;
}


.story_04 #video_container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.story_04 #video_container .video_thumbnail {
	flex-grow: 1;
	flex-basis: 28%;
	padding: 3%;
	text-align: center;
	
}

.story_04 #video_container .video_thumbnail h3 {
	margin-bottom: 0;
	font-weight: 600;
}




.story_05 {
	padding: 100px 2%;
	background-image: url('/wp-content/uploads/2019/09/mailing_list_bg.jpg');
	background-size: cover;
	text-align: center;
	color: #FFF;
}

.story_05 h2 {
	margin-bottom: 0.5em;
	text-align: center;
	color: #FFF;
	font-weight: 300;
}

.story_05 #mc_embed_signup form input[type="text"],
.story_05 #mc_embed_signup form input[type="email"],
.story_05 #mc_embed_signup form input[type="submit"] {
	width: 10em;
    display: inline;
    font-family: "Montserrat";
    font-size: 0.8em;
    line-height: 2em;
    height: 3em;
    padding: 0.5em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-bottom: 0.5em;
}


@media only screen and (max-width: 1000px) {

	.story_05 #mc_embed_signup form input[type="text"],
	.story_05 #mc_embed_signup form input[type="email"],
	.story_05 #mc_embed_signup form input[type="submit"] {
		width: 80%;
	}

}


.story_05 #mc_embed_signup .mc-field-group,
#mc_embed_signup .clear {
	text-align: center;
}

.story_05 #mc_embed_signup form #mc-embedded-subscribe {
	background-color: #FFF;
	color: #000;
	border-radius: 0;
}

.story_05 #mc_embed_signup .mc-field-group {
	padding-bottom: 0;
}

.story_05 #mc_embed_signup form .response {	
	width: 100%;
    text-align: center;
    color: #FFF;
    font-weight: 40
}

/*////// END HOME PAGE  //////// */





/*////// CONTACT PAGE  //////// */

#contact_form {
	max-width: calc(100% - 550px);
}

#contact_form div {
	margin-bottom: 15px;
	max-width: 100%;
}

#contact_form div input {
	width: 100%;
}

#contact_form div input[type="submit"] {
	background-color: #0073aa;
	color: #FFF;
}

#contact_form div input[type="submit"]:hover {
	background-color: #bf8a5e;
}


/*////// END CONTACT PAGE  //////// */




/*////// FOOTER  //////// */

.site-footer {
	border-top: 1px solid #DDD;
}

#colophon .site-info,
#colophon .widget-area {
	text-align: center;
	margin: 1em;
    line-height: 1.3em;
}

@media only screen and (min-width: 1168px) {
	#colophon .widget-column .widget {
	    margin-right:0;
	    width: 100%;
	    text-align: center;
	}
}



/*////// END FOOTER  //////// */







/*////// MOBILE MENU  //////// */


.main-menu-more {
	display: none !important;
}



.mobile-nav-toggle {
    z-index: 30;
    position: absolute;
    top: 35%;
    right: 25px;
    padding: 0;
    line-height: 16px;
    cursor: pointer;
    user-select: none;
    color: #0073aa;
    width: 22px;
    height: 22px;
    display: none;
}

.mobile-nav-toggle .top-bar, 
.mobile-nav-toggle .middle-bar,
.mobile-nav-toggle .bottom-bar {
    width: 22px;
    height: 2px;
    background-color: #0073aa;
    transform-origin: 50% 50%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
    transition: 0.1s ease-in;
}

.mobile-nav-toggle .middle-bar {
    top: 7px;
}

.mobile-nav-toggle .bottom-bar {
    top: 14px;
}

.mobile-nav-toggle.toggled-on .top-bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 7px;
}

.mobile-nav-toggle.toggled-on .middle-bar {
	opacity: 0;
}
.mobile-nav-toggle.toggled-on .bottom-bar {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 7px;
}


.main-navigation.show-mobile .menu-top-navigation-container #menu-top-navigation  {
	transition: 0.3s ease-out;
}

/*////// END MOBILE MENU  //////// */





/*////// POSTS  //////// */

.site-header.featured-image .site-branding-container:after, 
.site-header.featured-image .site-featured-image:before, 
.site-header.featured-image .site-featured-image:after, 
.site-header.featured-image:after {
    display: none;
}


body.single header.entry-header {

}



body.hfeed article h2, 
body.hfeed article h3,
body.hfeed article h4 {
	clear: none;
}

@media only screen and (min-width: 1000px) {
	body.single .attachment-post-thumbnail {
		max-width: 400px;
	    margin-left: 40px;
	    margin-top: 40px;
	}
	
	body.single article .entry-content h2,
	body.single article .entry-content h3,
	body.single article .entry-content h4 {
		clear: none;
		margin-right: 0;
	}

}


/*////// END POSTS  //////// */




/*////// OUR PRACTICE  //////// */


.bio img {
	max-width: 300px;
	float: right;
	margin-left: 2em;
	margin-bottom: 2em;
}


/*////// END OUR PRACTICE  //////// */



/*////// LYME & BARTONELLA  //////// */


.parent-pageid-113 p,
.parent-pageid-113 ul {
	padding-left: 2em;
}





/*////// END LYME & BARTONELLA  //////// */


/*////// DOWNLOADS  //////// */


body.page-id-48 .entry .entry-content .wp-block-file {
	position: relative;
	width: 21em;
}
body.page-id-48 .entry .entry-content .wp-block-file .wp-block-file__button {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 0.8em;
	padding: 0.5em;
	background-color: #CCC;
	margin-top: 0;
}



/*////// END  //////// */


/*////// MEDIA QUERIES  //////// */


@media only screen and (min-width: 1168px) {
	.entry .entry-content > *, 
	.entry .entry-summary > *,
	.entry header.entry-header {
    	max-width: 1200px;
	}

}

@media only screen and (min-width: 1500px) {
	.site-footer .social-navigation {
	    right: 30%;
	}
}

@media only screen and (min-width: 1000px) {
	.entry .post-thumbnail,
	body.single article .attachment-post-thumbnail {
		width: 40%;
		float: right;
		margin: 40px 20px 20px 20px;
		border: 1px solid #CCC;
	}
}


@media only screen and (min-width: 768px) {
	.site-branding {
	    margin: 0 auto;
	}

}


@media only screen and (max-width: 1300px) {
	
	.mobile-nav-toggle {
	    display: block;
	}
	
	#menu-top-navigation {
		position: absolute;
		right: 0;
		top: 30px;
		background-color: #FFF;
		padding: 20px;
	}
	
	#menu-top-navigation li {
		display: block;
		text-align: right;
		padding-bottom: 20px;
	}
	
	.site-branding .main-navigation .menu-top-navigation-container #menu-top-navigation {
		right: -500px;
	}
	
	
	.main-navigation .main-menu > li a {
		margin-right: 0;
	}

	.main-navigation.show-mobile .menu-top-navigation-container #menu-top-navigation,
	.social-navigation.show-mobile {
		right: 0;
	}
	.main-navigation .main-menu > li.menu-item-has-children {
		position: relative;
	}
	.main-navigation .sub-menu {
	    position: relative;
	    left: 0;
	    right: auto;
	    opacity: 1;
        -webkit-box-shadow: none;
	    -moz-box-shadow: none;
	    box-shadow: none;
		background-color: #DDD;
		padding-top: 1em;
	}
	
	.main-navigation .sub-menu > li.mobile-parent-nav-menu-item {
		display: block;
	}
	
	#menu-top-navigation ul.sub-menu li:first-of-type {
		display: none;
	}	

	.main-navigation .sub-menu > li > a {
		padding: 0 1em 0 10px;
	}
	
	.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu, .main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu, .main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu {
		position: relative;
	}
	
	
	.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus, .main-navigation .sub-menu > li > .menu-item-link-return:hover, .main-navigation .sub-menu > li > .menu-item-link-return:focus {
		background-color: transparent;
	}
	
	
	body:not(.home) #primary {
	    padding-top: 60px;
	}
	
	
	#contact_form {
		clear: both;
		padding-top: 25px;
		max-width: 100%;
	}

	
}



@media only screen and (max-width: 1000px) {
	
	column_quarter,
	columm_half,
	column_threeQuarters,
	column_third,
	column_twoThirds {
		width: 100%;
	}

	
	.story_02 {
		display: block;
	}	
	
	.story_03 .recent_post column_third img {
		transform:none;
	}
	
	.story_04 #video_container .video_thumbnail {
		flex-basis: 100%;
		padding: 0 3%;
	}
	
	.site-footer .social-navigation {
		position: relative;
    	right: auto;
	}
	
	.logo {
		font-size: 1.5em;
	}
	

	.wp-block-image .alignright {
    	float: none;
    	clear: both;
	    margin-left: 0;
	}

	
	
	
}



