/*
	Theme Name: Corey Vilhauer Dot Com

*/

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

/* global box-sizing */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

*,
*: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 {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'rooney-web', sans-serif;
	color:#000;
    border-top: #ce7926;
    border-top-width: 2px;
    border-top-style: solid;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
	border: 0;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

hr {
    box-sizing: content-box;
    height: 0px;
    margin: 2em 0 2em 0;
	}

.pagination {
	
}

li {
	font-size: 1.5em;
	line-height: 1.5em;
	margin-bottom: 1em;
	margin-left: -1em;
}

iframe {
  	width: 100%;
	}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

.a11y {
	background: rgba(63,63,63,0.85);
    color: #F2F2F2;
	border: none;
    display: block;
    height: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.a11y:focus {
    color: #F2F2F2;
    height: auto;
    left: 0;
    overflow: visible;
    padding: 1em;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: auto;
    z-index: 1000;
}

.nav {
	background: url(/wp-content/themes/coreyvilhauerdotcom/img/navback.svg) repeat;
	-webkit-box-shadow: inset 0 -0.15em 0.75em rgba(0,0,0,0.08);
    box-shadow: inset 0 -0.15em 0.75em rgba(0,0,0,0.08);
	padding: 1em 1em 1.5em 0;
}

.masthead {
	align-items: center;
}

.masthead h1 {
    padding: 0 0 0 .75em;
    display: inline;
}

.masthead a {
	text-decoration: none;
}

.masthead img {
	vertical-align: middle;
}

.logo {
	margin-right: .25em;
	width: 30px;
}

.wordmark {
	margin-right: 0;
	width: 75px;
}

.nav-link {
	font-size: 0.95em;
	margin-top: .5em;
	-webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
	float: right;
	text-transform: uppercase;
	font-family: "brandon-grotesque";
}

.nav-link li {
    list-style: none;
    padding: 0 0.4em;
	display: inline;
	margin-left: 0em;
}

.nav-link li:first-child {
    margin-left: 0.5em;
}

.nav-link a {
    color: inherit;
    position: relative;
    text-decoration: none;
}



/*------------------------------------*\
    HOME
\*------------------------------------*/

.intro {
	width: 90%;
	margin: auto;
	padding: 2em 0 3em 0;
	}

.intro h1 {
	font-size: 5em;
	text-transform: uppercase;
	line-height: 1em;
	margin-top: 0em;
	margin-bottom: 0em;
	}

.my-name {
	font-family: "rooney-web";
    font-style: italic;
	font-size: .50em;
	font-weight: 100;
	text-transform: none;
	line-height: 0;
	}

.intro p {
	font-size: 1.75em;
	text-align: left;
	}

.intro a {
	font-style: italic;
	color: #ce7926;
	transition: all 0.1s ease-in-out;
	}

.intro a:hover {
	color: white;
    background: #29A5CE;
	}

.blog {
	background-color: #f7f7f7;
    border-top: #ce792650 1px solid;
	margin: auto;
	padding: 2em 0 3em 0;
	}


.listing {
	width: 90%;
	text-align: left;
	margin: auto;
	}

.listing h2 {
	font-size: 2em;
	text-transform: uppercase;
	}

.preview {
	margin: 4em 0 0 0;
	}

.preview a {
    font-size: 2em;
    text-transform: uppercase;
    color: black;
    line-height: 1.1em;
    transition: 0.1s ease-in-out;
	font-weight: 500;
	}

.preview a:hover {
	color: #ce7926;
	}

.preview h3 {
	margin: 1.5em 0 .5em 0;
	}

.date {
    background: #29A5CE;
    line-height: 0.1em;
	margin-bottom: 2em;
	font-size: 1.25em;
	width: 85%;
	}

.date-text {
	background: #f7f7f7;
    padding: .5em 1em .5em 0;
	font-family: "brandon-grotesque";
	font-weight: 300;
	}

.date-text-white {
	background: #fff;
    padding: .5em 1em .5em 0;
	font-family: "brandon-grotesque";
	font-weight: 300;
	}

.excerpt {
	display: block;
	padding: 0em 2em 0em 1em;
	font-size: 1.5em;
	}

.button {
	margin-bottom: 4em;
	margin-top: 6em;
	}

.button a {
	padding: .5em;
	font-size: 2em;
    text-decoration: none;
	text-transform: none;
    font-weight: bold;
    transition: 0.1s ease-in-out;
    background-color: #ce7926;
    font-family: "brandon-grotesque";
    text-transform: uppercase;
    border-radius: .25em;
    line-height: 1em;
	color: white;
	}

.button a:hover {
	color: black;
	}

.best-of {
	background-color: #fff;
    border-top: #ce792650 1px solid;
	margin: auto;
	padding: 3em 0 0 0;
	}

.selected {
	width: 90%;
	text-align: left;
	margin: 0 auto 4em auto;
	}

.selected h2 {
	font-size: 2em;
	text-transform: uppercase;
	}

.selected-preview {
	margin: 4em auto 0 auto;
	}

.selected-preview a {
    font-size: 2em;
    text-transform: uppercase;
    color: black;
    line-height: 1.1em;
    transition: 0.1s ease-in-out;
	font-weight: 500;
	}

.selected-preview a:hover {
	color: #ce7926;
	}

.selected-preview h3 {
	margin: 1.5em 0 .5em 0;
	}

.selected-preview .date {
	width: 85%;
	}

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

.blog-archive h1 {
	font-size: 5em;
	text-transform: uppercase;
	line-height: 1em;
	width: 90%;
	margin: auto;
	padding-top: .5em;
	}

#floatright {
	width: 100%;
    margin: 1em auto 2em auto;
	border-radius: .5em;
	background: rgba(206, 121, 38, 0.1);
	padding: 1.0em;
	line-height: 1.75em;
	}

#floatright p,
#floatright em, 
#floatright strong,
#floatright li {
	font-size: 1.5em;
	}

.post {
	margin: auto;
	}

.title h1 {
    font-size: 4em;
    margin: 1em auto .5em auto;
    text-transform: uppercase;
    text-align: center;
    line-height: 1em;
    width: 95%;
    font-weight: 600;
    color: black;
	}

.separate {
    width: 50%;
    margin: 3em auto 0 auto;
    border-bottom: 1px solid #29A5CE;
}

.entry {
	width: 90%;
	margin: 3em auto 5em auto;
	}

.entry p {
    font-size: 1.5em;
    line-height: 1.75em;
	}

.entry a {
	text-decoration: underline;
	color: #ce7926;
	transition: all 0.1s ease-in-out;
	}

.entry a:hover {
	color: white;
	background: #29A5CE;
	}

.entry h2 {
	font-size: 3em;
	text-transform: uppercase;
	margin-top: 1.5em;
	}

.entry h3 {
	font-size: 2.5em;
	text-transform: uppercase;
	color: #666;
	margin-top: 1.5em;
	}

.entry h4 {
	font-size: 2em;
	text-transform: uppercase;
	margin-top: 1.5em;
	font-weight: 400;
	}

.entry h5 {
	font-size: 2em;
	text-transform: uppercase;
	color: #666;
	margin-top: 1.5em;
	font-weight: 400;
	}

blockquote {
    font-style: italic;
    border-left: #CE7929 solid 3px;
	color: #666;
    padding-left: 2em;
	margin: 0 0 0 0;
	}

.timestamp {
    font-family: "brandon-grotesque";
	font-weight: 300;
	text-align: center;
	margin: 4em 0 5em 0;
	font-size: 1.5em;
	}

/*------------------------------------*\
    ARCHIVE
\*------------------------------------*/

.blog-archive h2 {
    font-size: 4em;
    margin: 1em auto 1.5em auto;
    text-transform: uppercase;
    text-align: center;
    line-height: 1em;
    width: 95%;
    font-weight: 600;
    color: black;
	}

.pagination {
    margin-bottom: 13em;
    margin-top: 5em;
	}

.page-older {
	float: right;
	}

.page-newer {
	float: left;
	}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

fieldset {
    border: 0px;
    margin: 0;
    padding: 0;
}

.footer-subscribe {
	background-color: #ce7926;
    position: relative;
    padding: 2em;
	}

.footer-subscribe h2 {
	margin: 0 0 .5em 0;
}

.footer-subscribe fieldset {
	font-family: "brandon-grotesque";
    color: black;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.footer-subscribe .form-title {
	width: 20%;
	font-size: 1.5em;
    line-height: 1.1em;
	text-transform: uppercase;
	font-weight: 500;
}

.footer-subscribe .form-field {
	width: 70%;
	font-size: 1.5em;
    line-height: 1.5em;
	font-weight: 300;
	text-align: left;
    padding: 0 0 0 10px;
}

.footer-subscribe .form-button {
	width: 20%;
    font-size: 1.2em;
    line-height: 1.8em;
    text-transform: uppercase;
    font-weight: 300;
    margin: 0 0 0 5px;
}

.footer {
	border-top: #ce792650 1px solid;
	background: rgba(206, 121, 38, 0.2);
	padding-top: 3em;
	display: flex;
	}

.footer-row {
	width: 85%;
	padding: 2em auto;
	margin: 0 auto;
	position: relative;
	}
	
.footer-left {
	width: auto;
	float: none;
	border-right: none;
	}
	
.footer-left p {
	margin-right: 0;
	text-align: center;
	font-size: 1.75em;
	}

.footer-left h2 {
	font-size: 2em;
	text-transform: uppercase;
	text-align: center;
	}

.footer-left a {
	text-decoration: underline;
    color: #ce7926;
    font-weight: bold;
    transition: all 0.1s ease-in-out;
	}

.footer-left a:hover {
	color: white;
	background: #ce7926;
	}

.footer-right {
	width: auto;
	float: none;
	}
	
.footer-right p {
	text-align: center;
	font-size: 1.5em;
	}

.copyright {
	margin: 2em 0 1em 0;
	}

.copyright-social {
	padding: 0;
    margin: 0 0 15px;
    list-style: none;
	text-align: center;
	}

.copyright-social li {
	display: inline-block;
	margin: 0 3px 5px;
	font-size: 0em;
    line-height: 0em;
}

.copyright-social img {
	width: 60px;
	}

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

.alignnone, 
a img.alignnone {
	margin:5px 20px 20px 0;
	}

.aligncenter,
div.aligncenter,
a img.aligncenter {
	width:auto;
	height:auto;
	display:block;
	margin:1em auto 1em auto;
	}

.alignright,
a img.alignright {
	display:block;
	width:auto;
	height:auto;
	margin:1em 0em 1em 0em;
	}

.alignleft,
a img.alignleft {
	display:block;
	width:auto;
	height:auto;
	margin:1em 0em 1em 0em;
	}

.wp-caption {
	background:#FFF;
	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 {

}


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

h1 {font-family: "brandon-grotesque";
}

h2 {font-family: "brandon-grotesque";

}

h3 {font-family: "brandon-grotesque";

}

h4 {font-family: "brandon-grotesque";

}

h5 {font-family: "brandon-grotesque";

}

/*------------------------------------*\
    GRID
\*------------------------------------*/

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  min-height: 0.125rem;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
	content: "";
	clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 33.75em) {  /* 540px */
  .container {
    width: 80%;
  }
}

@media only screen and (min-width: 56.25em) { /* 900px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 50%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 96%;
  }

  .hidden-sm {
    display: block;
  }

  .container {
    width: 75%;
    max-width: 60rem;
  }
}


/*------------------------------------*\
    FLEXBOX
\*------------------------------------*/



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

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

}
	
	

@media only screen and (min-width:480px) {
	
	.nav {
    	padding: 2em 1em 2em 0;
		}	

	.masthead h1 {
		padding: 0 0 0 1em;		
		}
	
	.nav-link {
		margin-top: 0;	
		}	

	.nav-link li:first-child {
		margin-left: 0.7em;
		}
	
	.nav-link li {
    	list-style: none;
    	padding: 0 0.5em;
    	display: inline;
		}
		
	.title h1 {
		width: 85%;
		font-size: 4em;
		}

	.blog-archive h2 {
		width: 85%;
		font-size: 4em;
		}
	
	.entry {
		width: 85%;
		}
	
	.entry p {
		font-size: 1.75em;
		}
	
	.entry h2 {
		margin-top: 1.75em;
		}

	.entry h3 {
		margin-top: 1.75em;
		}
	
	.entry h4 {
		margin-top: 1.75em;
		}

	.entry h5 {
		margin-top: 1.75em;
		}
	
	.timestamp {
    	margin: 3em auto 4em auto;
		}
	
	.post .separate {
		margin: 3em auto 3em auto;
		}
	
	li {
		font-size: 1.75em;
		}	

	blockquote {
		margin-right: 3em;
		}

	.footer-subscribe {
    	width: 95%;
    	margin: 2em 2.5% -2em;
		}
	
	
}

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

	.logo {
		margin-right: .25em;
		width: 50px;
		}

	.wordmark {
		margin-right: 0;
		width: 100px;
		}
	
	.nav-link {
		margin-top: .75em;
		}
	
	.intro {
		width: 100%;
		text-align: center;
		padding: 5em 0 10em 0;
		}

	.intro p {
		text-align: center;
		width: 70%;
		margin: auto;
		font-size: 2em;
		padding-top: 1em;
		}

	.intro h1 {
		font-size: 6em;
		}		
	
	.intro h1 span {
		font-size: .3em;
		line-height: 1em;
		}	

	.blog h2 {
		margin: 1em auto 0 auto;
		}
	
	.date {
		width: 550px;
		margin-top: 4em;
		}
	
	.best-of h2 {
		margin: .5em auto 0 auto;
		}
	
	.post .separate {
		width: 25%;	
		}	
	
}


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

	.nav {
		padding: 3em 2em 3em 2em;
		}
	
	.logo {
		width: 75px;
		}

	.wordmark {
		width: 150px;
		}
	
	.nav-link {
		margin-top: 1.75em;
		margin-right: 3em;
		}

	.intro h1 {
		font-size: 7em;	
		}	

	.intro p {
		width: 60%;
		}	
	
	.title h1 {
		width: 85%;
		font-size: 5em;
	    margin-top: .75em;
		}

	.blog-archive h2 {
		width: 85%;
		font-size: 5em;
	    margin-top: .75em;
		margin-bottom: 1em;
		}
	
	.entry {
		width: 75%;
		}
	
	.entry p {
		font-size: 1.75em;
		line-height: 1.75em;
		}
	
	.post .separate {
		margin: 4em auto 4em auto;
		}

	.footer-subscribe {
    	width: 75%;
    	margin: 2em 12.5% -2em;
		}	
	
}


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

	.intro p {
		width: 55%;
		}
	
	.selected-preview {
		width: 90%;
		}
	
	.selected-preview .date {
    	width: 100%;
		}
	
	.footer-subscribe {
    	width: 60%;
    	margin: 2em 20% -8em;
		}
	
	.footer {
		margin-top: 5em;
		padding-top: 5em;
		padding-bottom: 5em;
		display: flex;
		}

	.footer-row {
		width:90%;
		margin:0 auto;
		position:relative;
		}

	.footer-left {
    	float: left;
		width: 50%;
		border-right: rgb(255, 255, 255) 1px solid;
		text-align: center;
		padding: 0 3em 0 3em;
		}

	.footer-left p {
		font-size: 1.5em;
		}

	.footer-right {
    	float: right;
		width: 50%;
		}

	.copyright-social {
		padding: 0;
    	margin: 0 0 15px;
    	list-style: none;
		text-align: center;
		}

	.copyright-social li {
		display: inline-block;
		margin: 0 3px 5px;
		font-size: 0em;
    	line-height: 0em;
		}
	
	#floatright {
    	float: right;
    	width: 30%;
    	padding: 1.0em;
    	margin: 0 0 1em 2em;
    	border-radius: 1em;
		}


	#floatright p,
	#floatright em, 
	#floatright strong,
	#floatright li {
		font-size: 1em;
		}
	
	.title h1 {
		font-size: 5em;
		}

	.blog-archive h2 {
		font-size: 5em;
		}
	
	li {
		font-size: 1.75em;
		}	
	
	.entry {
		width: 65%;
		}

	#floatright {
		width: 40%;
   		margin: 0em -5em 1em 1.5em;
		border-radius: .5em;
		font-size: 1.25em;
		}

	.flexbox section.selected .selected-row,
	.flexbox section.selected .row {
		display: flex;
		}

	.flexbox section.selected .selected-row > .row {
		display: block;
		}

	.flexbox section.selected .selected-row .col-6,
	.flexbox section.selected .row .col-6 {
		position: relative;
		}

	.flexbox section.selected .selected-article {
		background-color: transparent;
		}	

	.alignright,
	a img.alignright {
		float: right;
		margin:1em -7em 1em 1em;
		}

	.alignleft,
	a img.alignleft {
		float: left;
		margin:1em 1em 1em -7em;
		}

}


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

	.masthead {
		width: 930px;
   		margin: auto;
		}	
	
	.intro p {
		width: 50%;
		}

	.listing {
		width: 930px;
    	margin: auto;
		}
	
	.selected {
		width: 930px;
    	margin: auto;
		}
	
	.footer-row {
		width: 930px;
		}
	
	
	.title h1 {
		font-size: 6em;
		width: 930px;
		}

	.blog-archive {
		width: 930px;
    	margin: auto;
		}	
	
	.blog-archive h2 {
		font-size: 6em;
		width: 930px;
		}
	
	.entry {
		width: 60%;
		}
	
	.post .separate {
		margin: 5em auto 6em auto;
		width: 25%;
		}
	
	.footer-subscribe {
    	width: 600px;
    	margin: 2em auto -9em;
		}

	
}

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

	.intro p {
		width: 45%;
		}

	.title h1 {
		font-size: 7em;
		}

	.blog-archive h2 {
		font-size: 7em;
		}
	
	.entry {
		width: 55%;
		}
	
	.post .separate {
		margin: 5em auto 5em auto;
		}	
	
}

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

	.intro p {
		width: 40%;
		}

	.entry {
		width: 50%;
		}
	
	.alignright,
	a img.alignright {
		margin:1em -10em 1em 1em;
		}

	.alignleft,
	a img.alignleft {
		margin:1em 1em 1em -10em;
		}
}

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

}

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

::selection {
	background:#006481;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#006481;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#006481;
	color:#FFF;
	text-shadow:none;
}



/*------------------------------------*\
    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;
	}
}
