/*
	Theme Name: Erika Stokes 2019
	Theme URI: http://erikastokes.com.com
	Description: 2019 Theme for ErikaStokes.com
	Version: 1.0.0
	Author: Erika Q. Stokes
	Author URI: http://erikastokes.com
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

:root	{
	--light-gray-backgrounds: #f2f2f2;
	--medium-gray-backgrounds: #cccccc;
	--shadow-color: #525252;
	--dark-blue-backgrounds: #19355d;
	--medium-blue-backgrounds: #7397b8;
	--light-blue-backgrounds: #d5f1f5;
	--header-color: #265290;
	--side-links: #1c68ae;
	--link-hover: #ad0011;
	--link-on-white: #2432b3;
	--white-backgrounds: #ffffff;
	--dark-green-contrast: #127160;
	}



/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	height: 100%;
	margin: 0;
	padding: 0;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; 
	height: 100%;
	margin: 0;
	padding: 0;
	background: #cccccc;
	background: -webkit-linear-gradient(top, #19355d 0%, #7397b8 50%);
	background: linear-gradient(to bottom, #19355d 0%, #7397b8 50%);
	background-repeat: no-repeat;
	background-attachment: fixed;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clearfix {
	height: 0px;
	font-size: 0%;
	clear: both;
}

img {
	max-width:100%;
	vertical-align:bottom;
}
a,
a:visited {
	color: #1c68ae;
	text-decoration:none;
}
a:hover,
a:active {
	color: #ad0011;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #1c68ae;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width: 100%;
	max-width:1100px;
	margin:25px auto;
	position:relative;
	font-family: 'Montserrat', sans-serif;
}

/* header */
.header {
	background-color: #7397b8;
	border-radius: 16px 16px 0px 0px;
	width: 100%;
	box-shadow: 2px 2px 2px #525252;
	position: relative;
}
/* logo */
.logo {
	margin: 15px;
	width: 555px;
	max-width: calc(100% - 30px);
	float: left;
}
.logo-img {
	height: auto;
}


div.allcontent {
		max-width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-content: flex-start;
		align-items: stretch;
		flex-wrap: wrap;
		justify-content: flex-start;
		box-shadow: 2px 2px 2px #525252;
		}

div.leftcolumn,
div.rightcolumn {
	padding: 15px 15px;
	background-color: #f2f2f2;
	}

div.mainsection {
	padding: 15px;
	background-color: #ffffff;
	}

div.mainsection a,
div.mainsection a:link,
div.mainsection a:visited {
	color: #2432b3;
	text-decoration: underline;
	}

div.mainsection a:hover,
div.mainsection a:active {
	color: #ad0011;
	}

@media screen and (max-width: 500px) {
	div.leftcolumn,
	div.rightcolumn,
	div.mainsection {
		width: 100%;
		}
}

@media screen and (min-width: 501px) {
	div.leftcolumn {
		width: 200px;
		}
	
	div.mainsection {
		width: calc(100% - 200px);
		}

	div.rightcolumn {
		width: 100%;
		}
}

@media screen and (min-width: 850px) {
	div.leftcolumn,
	div.rightcolumn {
		width: 210px !important;
		flex-basis: 220px;
		}

	div.mainsection {
		width: calc(100% - 440px);
		flex-basis: calc(100% - 440px);
		}

	body.page-template-template-wide div.mainsection,
	body.mysql-table-of-all-countries div.mainsection,
	body.selected-works div.mainsection,
	div.wide {
		width: calc(100% - 220px);
		flex-basis: calc(100% - 220px);
		}
}

@media screen and (min-width: 1000px) {
	div.leftcolumn {
		width: 240px !important;
		flex-basis: 245px;
		}

	div.rightcolumn {
		flex-basis: 245px;
		}

	div.mainsection {
		width: calc(100% - 490px);
		flex-basis: calc(100% - 490px);
		}

	body.page-template-template-wide div.mainsection,
	body.mysql-table-of-all-countries div.mainsection,
	body.selected-works div.mainsection,
	div.wide {
		width: calc(100% - 245px);
		flex-basis: calc(100% - 245px);
		}


}

@media screen and (min-width: 1110px) {
	div.leftcolumn {
		width: 275px !important;
		flex-basis: 290px;
		}

	div.rightcolumn {
		flex-basis: 250px;
		}

	div.mainsection {
		width: 560px;
		flex-basis: 560px;
		}

	body.page-template-template-wide div.mainsection,
	body.mysql-table-of-all-countries div.mainsection,
	body.selected-works div.mainsection,
	div.wide {
		width: calc(100% - 290px);
		flex-basis: calc(100% - 290px);
		}

}

div.archive-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	max-width: 100%;
	margin-top: 15px;
}

	div.archive-thumbnail {
		width: 120px;
		margin-right: 15px;
		flex-basis: 120px;
		}

	div.archive-summary {
		width: calc(100% - 135px);
		flex-basis: calc(100% - 135px);
		}

		div.archive-summary h3 {
			margin-top: 0px;
			}

div.redface {
	width: 90px;
	float: right;
	margin-left: 15px;
	}



/* nav */
.nav {
	width: 100%;
	}

	nav ul {
		font-size: 110%;
		}

	nav li {
		}

	nav ul,
	div.rightcolumn ul {
		list-style: none;
		padding-left: 0;
		position: relative;
		}

		nav ul li,
		div.rightcolumn ul li {
			margin-top: 6px;
			padding-left: 10px;
			}

			nav ul li:before,
			div.rightcolumn ul li:before {
				content: "\203a \0020";
				position: absolute;
				left: 0px;
				}

		nav ul li ul {
			font-size: 90%;
			margin-left: 10px;
			}


table.aspectratio {
	margin-top: 20px;
	font-size: 90%;
	}

table.aspectratio th {
	font-weight: bold;
	color: #127160;
	display: table-cell;
	padding: 4px 4px;
	}

table.aspectratio td {
	display: table-cell;
	padding: 4px 4px;
	}

table.aspectratio td.c, table.aspectratio th.c {
	text-align: center;
	}

table.aspectratio tr:nth-child(even)	{
	background-color: #f2f2f2;
}

table.bluerows tr:nth-child(2n+3) {
     background-color: #d5f1f5;
}

table.bluerows tr:nth-child(2n+2) {
	background-color: #ffffff;
	}


td.top, th.top {
	display: table-cell;
	vertical-align: top;
	}

/* sidebar */
.sidebar {

}


/* footer */
.footer {
	width: 100%;
	background-color: #19355d;
	border-radius: 0px 0px 16px 16px;
	color: #ffffff;
	text-align: center;
	padding: 8px;
	box-shadow: 2px 2px 2px #525252;
}

	.footer p {
		padding: 0px;
		margin: 0px;
		}



/*------------------------------------*\
    PAGES
\*------------------------------------*/

div.breadcrumbs {
	width: 100%;
	background-color: #f2f2f2;
	padding: 0px 4px;
	}


.breadcrumbs ul{
	list-style: none;
	margin: 0px;
	padding-left: 0px;
	font-size: 80%;
}
.breadcrumbs ul li{
	display: inline-block;
	vertical-align: middle;
	margin-right: 0px;
}

.breadcrumbs li.separator{
	font-size: 150%;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/

.error404 img {
	max-width: 100%;
	}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/


h1, h2, h3	{
	font-family: 'Mada', sans-serif;
	color: #265290;
	font-weight: normal;
	}

h1	{
	/*font-family: 'Playball', cursive; */
	margin-top: 0px !important;
	padding-top: 0px !important;
	font-size: 200%;
	line-height: 1.0;
	}

body.single-post h1 {
	margin-bottom: 6px !important;
	}


h2	{
	margin-top: 20px;
	font-size: 150%;
	padding-bottom: 0px;
	margin-bottom: 0px;
	}

h3	{
	margin-top: 15px;
	font-size: 130%;
	padding-bottom: 0px;
	margin-bottom: 0px;
	}

.leftcolumn h3 {
	font-family: 'Playball', cursive;
	margin-top: 0px !important;
	}

.leftcolumn ul {
	margin-top: 0px;
	}

.mainsection p,
.mainsection ul {
	line-height: 1.4;
	}

.mainsection li {
	margin-top: 6px;
	}

.center {
	text-align: center;
	}

.left {
	text-align: left;
	}

.right {
	text-align: right;
	}

.sideways {
	writing-mode: vertical-rl;
	text-orientation: mixed !important;
	}

.featured-image {
	float: right;
	margin-left: 15px;
	}

.featured-image-block {
	margin: 15px auto;
	text-align: center;
	display: block;
	}

p.byline {
	margin-top: 0px;
	margin-bottom: 25px;
	font-style: italic;
	color: #265290;
	}

p.quote {
	color: #127160;
	font-style: italic;
	font-size: 125%;
	font-family: 'Libre Baskerville', serif;
	line-height: 1.2;
	margin-bottom: 6px;
	}

p.quotesig {
	margin-top: 6px;
	text-align: right;
	font-size: 100%;
	}


.codebox {
	border: 1px solid black;
	background-color: #d5f1f5;
	width: 100%;
	max-width: 100%;
	overflow: auto;
	overflow-x: scroll;
	white-space: nowrap;
	padding: 10px;
	margin-bottom: 12px;
	font-family: 'Source Code Pro', monospace;
	border-radius: 5px;
	border: 1px solid #19355d;
	}

.codebox code {
	font-size: 90%;
	}

tt {
	font-family: 'Source Code Pro', monospace;
	background-color: #f2f2f2;
	}

div.mainsection a:not([href*='erikastokes.com']):not([href^='#']):not([href^='/']):not([href^='tel']):not([id]):after {
	content: url('img/external-link.png');
	padding-left: 2px;
	}


table.rates {
border: 2px solid #127160 !important;
font-size: 85%;
}

table.rates th,
table.rates td {
border: 1px solid #127160;
padding: 4px;
}

table.rates td.check {
	text-align: center;
	}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color: #ffffff;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color: #ffffff;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color: #ffffff;
	text-shadow:none;
}


/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background: #ffffff;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.floatleft {
	float: left;
	margin-right: 15px;
	margin-bottom: 0px;
	}

	.floatleft img {
		padding-bottom: 0px;
		margin-bottom: 0px;
		}

.floatright {
	float: right;
	margin-left: 15px;
	margin-bottom: 0px;
	}

	.floatright img {
		padding-bottom: 0px;
		margin-bottom: 0px;
		}


@media screen and (max-width: 375px) {
	.block-in-tiny {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		}
}


@media screen and (max-width: 550px) {
	.block-in-small {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		}

}



/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
