/*
Theme Name: Dr. Calvert Landing Pages
Author: iSimplifyMe
Author URI: http://isimplifyme.com/
Description: A custom theme for landing pages for Dr. Calvert.
Version: 1.0
License: GNU General Public License
License URI: license.txt

Moderno FB Compressed Regular Italic
font-family: moderno-fb-compressed, serif;
font-weight: 400;
font-style: italic;

Brandon Grotesque Regular
font-family: brandon-grotesque, sans-serif;
font-weight: 400;
font-style: normal;

Brandon Grotesque Regular Italic
font-family: brandon-grotesque, sans-serif;
font-weight: 400;
font-style: italic;

Brandon Grotesque Bold
font-family: brandon-grotesque, sans-serif;
font-weight: 700;
font-style: normal;

Brandon Grotesque Bold Italic
font-family: brandon-grotesque, sans-serif;
font-weight: 700;
font-style: italic;

*/

/* =@font-face
-------------------------------------------------------------- */

@font-face {
	font-family: 'Dr Calvert Icons';
	src:  url('fonts/dr-calvert.eot?ngq56e');
	src:  url('fonts/dr-calvert.eot?ngq56e#iefix') format('embedded-opentype'),
		url('fonts/dr-calvert.woff2?ngq56e') format('woff2'),
		url('fonts/dr-calvert.ttf?ngq56e') format('truetype'),
		url('fonts/dr-calvert.woff?ngq56e') format('woff'),
		url('fonts/dr-calvert.svg?ngq56e#dr-calvert') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}


/* =Structure
-------------------------------------------------------------- */

* {
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html {
	height: 100%;
	scroll-behavior: smooth;
}
body {
	height: 100%;
	margin: 0;
	font-family: brandon-grotesque, sans-serif;
	font-size: 20px;
}
#page {
	display: block;
}
#primary {
	width: 100%;
}
#content {
}
#main .widget-area {
}
h1, h2, h3, h4, h5, h6 {
	color: #0a2a69;
	text-transform: uppercase;
	font-family: moderno-fb-compressed, serif;
	font-weight: 400;
	font-style: italic;
	line-height: .9;
}
a {
	text-decoration: none;
	color: #6fb1c8;
}
a.button {
	font-weight: bold;
	text-transform: uppercase;
	display: inline-block;
	line-height: 1;
}
a.button:after,
button.quform-submit span:after {
	font-family: 'Dr Calvert Icons';
	content: '\e90e';
	display: inline-block;
	margin-left: .6em;
	font-size: .8em;
}
.entry-header > h1 {
    margin: 0 auto 30px;
    line-height: 1em;
	padding-top: 40px;
	max-width: 1200px;
}
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6 {
    margin: 80px auto 30px;
	max-width: 1200px;
}
.entry-content > p {
    margin: 30px auto;
    line-height: 1.5;
	max-width: 1200px;
}
.entry-content {
	padding-bottom: 80px;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.page-banner {
    width: 100%;
    position: relative;
    padding-top: 42%;
}
#image-wrapper {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
#image-wrapper img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: 0;
}
#page-banner-header-wrap {
    width: 100%;
    height: 100%;
    padding-top: 180px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
#page-banner-header {
    width: 100%;
    height: 100%;
    display: table;
	padding: 20px;
	text-align: center;
}
#page-banner-header-inner {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	padding: 0;
}
#page-banner-header h1 {
	font-size: 4vw;
	margin: 20px 0;
}
#page-banner-header p {
    font-size: 22px;
	margin: 20px 0;
}

@media only screen and (max-width : 1220px) {
	.entry-header > h1,
	.entry-content > p {
		padding: 0 10px;
	}
}
@media only screen and (max-width : 1000px) {
	#page-banner-header p {
		font-size: 18px;
	}
}
@media only screen and (max-width : 800px) {
	.entry-header > h1,
	.entry-content > p {
		width: 90%;
	}
}
@media only screen and (max-width : 700px) {
	#page-banner-header p {
		font-size: 16px;
	}
}
@media only screen and (max-width : 600px) {
	.entry-header > h1,
	.entry-content > p {
		width: auto;
		margin: 0 10px 30px;
	}
	.page-banner {
		padding-top: 80%;
	}
	#page-banner-header-wrap {
		padding-top: 90px;
	}
	#page-banner-header h1.entry-title {
		font-size: 8vw;
	}
	#page-banner-header h1 {
		font-size: 8vw;
	}
}

/* =Header
-------------------------------------------------------------- */

#branding {
	padding: 20px;
	height: 120px;
	position: relative;
}
.site-title {
	height: 100%;
}
.site-title img {
	width: auto;
	height: 100%;
	display: block;
	margin: 0 auto;
}
@media only screen and (max-width : 1200px) {
	#branding {
		padding: 10px;
		height: 60px;
	}
}

/* =Menu
-------------------------------------------------------------- */

#access {
	background: #eee;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}

/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}

/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
	clear: both;
	display: block;
	width: 100%;
	padding: 0;
}
#footer-social {
	padding: 80px 10px;
	padding: 5.52vw 10px;
	text-align: center;
	font-size: 0;
}
#footer-social h6 {
	font-size: 80px;
	font-size: 5.52vw;
	margin: 0 0 40px;
	margin: 0 0 2.76vw;
}
#footer-social a {
	font-size: 40px;
	font-size: 2.76vw;
	display: inline-block;
	font-family: 'Dr Calvert Icons';
	margin: 0 30px;
	margin: 0 1.68vw;
}
#footer-columns {
	padding: 0 80px 80px;
	padding: 0 5.52vw 5.52vw;
	display: flex;
}
.footer-column {
	flex-grow: 1;
	padding: 0 20px;
	padding: 0 1.38vw;
}
#footer-info {
	font-size: 0;
	padding: 0 100px;
	padding: 0 6.9vw;
}
#footer-info a {
	color: #000;
}
#footer-info-inner {
	border-top: solid 1px #898a8d;
	padding: 40px 0;
	padding: 2.76vw 0
}
#footer-info-left,
#footer-info-middle,
#footer-info-right {
	display: inline-block;
	width: 33%;
	font-size: 14px;
	text-transform: uppercase;
	vertical-align: middle;
}
#footer-info-right {
	text-align: right;
}
#sticky-footer {
	padding: 0 50px;
	line-height: 100px;
	position: sticky;
	width: 100%;
	left: 0;
	bottom: 0;
	background-color: #FFF;
	border-top: solid 1px #efefef;
	font-size: 0;
	z-index: 100;
}
@keyframes homeStickyFooter {
    from { bottom: -101px; }
    to { bottom: 0px; }
}
.home #sticky-footer {
	bottom: -101px;
    animation-name: homeStickyFooter;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .5s;
}
#sticky-footer-left,
#sticky-footer-right {
	width: 50%;
	display: inline-block;
	vertical-align: middle;
}
#sticky-footer-left {
	font-size: 20px;
	color: #0a2a69;
	line-height: normal;
	text-transform: uppercase;
	font-weight: bold;
}
#sticky-footer-left p {
	margin: 0;
}
#sticky-footer-right {
	text-align: right;
	font-weight: bold;
	text-transform: uppercase;
}
#sticky-footer-right a {
	font-size: 10px;
	color: #000;
	margin-left: 30px;
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
	text-align: center;
}
#sticky-footer-right a:before {
	font-family: 'Dr Calvert Icons';
	color: #6fb1c8;
	display: block;
	font-size: 40px;
	font-weight: normal;
	margin: 0 auto 10px;
}
a#sticky-phone:before {
	content: '\e905';
}
a#sticky-appointment:before {
	content: '\e908';
}

@media only screen and (max-width : 1000px) {
	#footer-columns {
		flex-wrap: wrap;
		text-align: center;
	}
	#footer-social {
		padding: 80px 20px 0;
	}
	#footer-social h6 {
		font-size: 8vw;
	}
	.footer-column {
		flex: 50%;
		padding: 60px 0 0;
	}
	#sticky-footer-left {
		width: 60%
	}
	#sticky-footer-right {
		width: 40%;
	}
}
@media only screen and (max-width : 800px) {
	#footer-social h6 {
		font-size: 60px;
	}
	#footer-info {
		padding: 0 20px;
	}
	#sticky-footer {		
		display: flex;
		padding: 0 20px;
		align-items: center;
	}
	#sticky-footer-left {
		width: auto;
		flex: 1;
	}
	#sticky-footer-right {
		width: auto;
		text-align: right;
	}
}
@media only screen and (max-width : 600px) {
	#sticky-footer-left {
		font-size: 10px;
		white-space: nowrap;
		padding-right: 20px;
	}
	#sticky-footer-right {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: center;
	}
	#sticky-footer-right a {
		display: block;
		text-align: right;
		margin: 21px auto 14px;
		font-size: 16px;
	}
	#sticky-footer-right a:before {
		display: inline-block;
		vertical-align: middle;
		font-size: 30px;
		margin: -6px 10px 0 0;
	}
}
@media only screen and (max-width : 500px) {
	#footer-social a {
		font-size: 20px;
		margin: 0 15px;
	}
	#sticky-footer-left {
		display: none;
	}
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}
textarea,
input[type="text"],
input[type="email"],
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none !important;
     border-radius: 0 !important;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}

span.select {
	display: block;
	height: 40px;
	min-width: 100%;
	position: relative;
	vertical-align: top;
	margin-right: 40px;
}
span.select select {
	position: absolute;
	left: -10000px;
}
span.select-replace {
	border-radius: 4px;
	color: #FFF;
	display: block;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	box-sizing: border-box;
	outline: none;
	vertical-align: middle;
	zoom: 1;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	padding-left: 10px;
	background-color: #0055b7;
}
span.select-replace .toggle {
	position: absolute;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background: #0055b7;
}
span.select-replace .toggle:before {
	content: '';
	display: block;
	position: absolute;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 6px 4px 0 4px;
	border-color: #FFF transparent transparent transparent;
	top: 20px;
	right: 15px;
}
span.select-replace .toggle:after {
	content: '';
	display: block;
	position: absolute;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 4px 6px 4px;
	border-color: transparent transparent #FFF transparent;
	top: 10px;
	right: 15px;
}
span.select-replace-label {
	display: block;
	height: 100%;
	padding-right: 40px;
	overflow: hidden;
}
span.drop-replace {
	text-align: left;
	min-width: 100%;
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	background: #FFF;
	z-index: 5;
	max-height: 210px;
	overflow-y: scroll;
	border-radius: 4px;
	color: #0055b7;
	border: solid 2px #0055b7;
}
span.option-replace {
	display: block;
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	cursor: pointer;
}
span.option-replace.selected {
	background: #0055b7;
	color: #FFF;
}
span.option-replace:hover {
	background: #000;
	color: #FFF;
}
span.checkbox {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;
	margin: 5px 0;
	vertical-align: middle;
}
span.checkbox-replace {
	display: block;
	position: absolute;
	text-align: center;
	top: 0px;
	left: 0px;
	z-index: 2;
	width: 30px;
	height: 30px;
	line-height: 26px;
	cursor: pointer;
	border: solid 8px #0055b7;
	border-radius: 4px;
	background-color: #0055b7;
}
span.checkbox-replace.checked {
	background-color: #fff;
}
span.checkbox input {
	position: absolute;
	z-index: 4;
	width: 30px;
	height: 30px;
	margin: 0;
	opacity: 0;
}



/* =Featured Posts
-------------------------------------------------------------- */

#featured-posts {
    padding: 20px;
	height: 50vw;
	position: relative;
}
#hero_post {
    width: 67.5%;
    height: 100%;
    padding: 20px;
}
.sidekick {
    width: 100%;
    height: 50%;
    padding: 20px;
}
#hero_post a,
.sidekick a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
	color: #FFF;
}
#hero_post a h2,
.sidekick a h2,
.sidekick a h3 {
	color: #FFF;
	margin: 0;
}
.sidekick a h2,
.sidekick a h3 {
	font-size: 1.17em;
}
#hero_post a h2 span,
.sidekick a h2 span,
.sidekick a h3 span {
	display: block;
	font-size: .8em;
	margin-top: 10px;
}
.featured-img-wrapper {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
}
.featured-img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#featured-posts .title-table {
    position: absolute;
	width: 100%;
	height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.6);
    padding: 20px;
    color: #FFF;
	display: table;
}
#featured-posts .title-cell {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: bottom;
}
#sidekick_posts {
    position: absolute;
    top: 0;
    right: 0;
    width: 32.5%;
    padding: 20px 20px 20px 0;
    height: 100%;
}

@media only screen and (max-width:1000px) {
	#featured-posts {
		height: auto;
	}
	#hero_post {
		width: 100%;
		height: 60vw;
	}
	#sidekick_posts {
		position: static;
		width: 100%;
		padding: 0;
		font-size: 0;
	}
	.sidekick {
		width: 50%;
		height: 35vw;
		display: inline-block;
		vertical-align: top;
		font-size: 18px;
	}
}
@media only screen and (max-width:700px) {
	#featured-posts {
		padding: 10px 5px;
	}
	#hero_post,
	.sidekick {
		width: 100%;
		height: 70vw;
		display: block;
		padding: 10px 5px;
	    font-size: 14px;
	}
}