/**
 * Theme Name:  Many Hats
 * Theme URI:   http://hatsproductions.com
 * Author: Jamie Sanchez
 * Author URI:  http://jamiesanchez.com
 * Description: Custom theme for The Men Who Wear Many Hats
 * Version:     1.0
 */


/* TYPOGRAPHY
-------------------------------------------------------------------------------*/
body {
	font-size: 18px;
}
@media screen and (max-width: 599px) {
	body {
		font-size: 15px;
	}
}
html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	line-height: 1.45em;
	font-weight: 300;
}
body, select, input, textarea {
	color: #636361;
}
p {
	margin-bottom: 1em;
}
h1, h2, h3, h4 {
	line-height: 1.2em;
	font-weight: 600;
}
h1 {
	font-family: "Sanchez", Georgia, serif;
	font-size: 1.65em;
	font-weight: 600;
	line-height: 1.25em;
}
h2 {
	font-family: "Sanchez", Georgia, serif;
	font-size: 1.35em;
	font-weight: 600;
	line-height: 1.35em;
	margin: 2em 0 .5em 0;
	border-bottom: 1px solid rgba(52, 52, 52, .15);
	padding-bottom: .25em;
}
h3 {
	text-transform: uppercase;
	font-size: .9em;
	font-weight: 700;
	line-height: 1.5em;
}
blockquote, .blockquote {
	color: inherit;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: .7rem;
	padding-left: 2em;
	border-left: 4px solid #b9b9b7;
}
blockquote, .blockquote,
blockquote p, .blockquote p {
	font-size: 1.15rem;
}
blockquote p, .blockquote p {
	margin-bottom: 1.5em;
}
.alignleft {
	float: left;
	margin-right: 1em;
}
.alignright {
	float: right;
	margin-left: 1em;
}
.aligncenter {
	margin: 0 auto;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}


/* LINKS
-------------------------------------------------------------------------------*/
a {
	color: #1d8b99;
	text-decoration: none;
}
a:hover {
	color: #105D67;
	text-decoration: underline;
}
::-moz-selection {
	background: rgba(255,255, 210, 0.3);
	text-shadow: none;
}
::selection {
	background: rgba(255,255, 210, 0.3);
	text-shadow: none;
}
a:link {
	-webkit-tap-highlight-color: rgba(255,255, 210, 0.3);
}
input:-moz-placeholder {
	color: #a9a9a9;
}
textarea:-moz-placeholder {
	color: #a9a9a9;
}
.button,
button {
	display: inline-block;
	text-decoration: none;
	background-color: #119faa;
	border-radius: 5px;
	border: 0;
	font-family: "Sanchez", Georgia, serif;
	font-size: .9em;
	color: #FFF;
	margin: 0 .5em;
	padding: .35em 1em;
	text-transform: uppercase;
}
.button:hover {
	background-color: #2CAEBC;
}


/* STRUCTURE
-------------------------------------------------------------------------------*/
body {
	background-color: #F5F2EC;
}
.main {
	padding-top: 2em;
	padding-bottom: 4em;
}
iframe {
	max-width: 100%;
	height: auto;
}


/* HEADER
-------------------------------------------------------------------------------*/
.header {
	position: relative;
	width: 100%;
	background-color: rgba(68,68,68,.8);
	font-size: 16px;
	line-height: 1.5em;
	text-align: left;
}
.header-nav li {
	display: inline-block;
	margin: 0 .5em;
	text-transform: uppercase;
	opacity: .4;
}
.header-nav li a {
	font-family: "Sanchez", Georgia, serif;
	text-decoration: none;
	letter-spacing: .03em;
	font-weight: 300;
	color: #FFF;
}
.header-nav li:hover {
	opacity: .7;
}
.header-nav .current-menu-item,
.header-nav .current-menu-item:hover {
	opacity: 1;
}
@media screen and (max-width: 699px) {
	.header {
		text-align: center;
		padding: 1em;
	}
	.header-nav {
		margin-top: .5em;
	}
}
@media screen and (min-width: 700px) {
	.header {
		position: absolute;
		z-index: 2;
		height: 70px;
		padding-top: 15px;
	}
	.header-logo {
		position: absolute;
		left: 3%;
		width: 230px;
	}
	.header-nav {
		position: absolute;
		right: 3%;
		top: 23px;
	}
}


/* GAMES
-------------------------------------------------------------------------------*/
.games {
	overflow: hidden;
	position: relative;
	width: 100%!important;
	text-align: center;
	background-color: #545454;
	background-image: url('_img/bg-damask.png');
	background-size: 200px 200px;
	padding: 25px 0 90px 0;
}
@media screen and (min-width: 700px) {
	.games {
		padding: 110px 0 90px 0;
	}
}
.games-list li img {
	background-image: url('_img/bg-frame.png');
	background-repeat: no-repeat;
	background-size: contain;
	text-align: center;
	padding: 20px;
	-webkit-box-shadow: 0px 14px 8px -10px rgba(0,0,0,0.51);
	-moz-box-shadow: 0px 14px 8px -10px rgba(0,0,0,0.51);
	box-shadow: 0px 14px 8px -10px rgba(0,0,0,0.51);
}
.flexslider-controls-custom {
	display: flex;
	z-index: 100;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 50px;
	line-height: 50px;
	align-items: center;
	background-color: #FFF;
}
.flex-control-nav {
	position: static !important;
}
.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
	height: 40px;
	line-height: 0px;
}
.flex-direction-nav a {
	margin-top: -23px !important;
}
.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
	opacity: .2 !important;
}
.flex-direction-nav .flex-prev:hover,
.flex-direction-nav .flex-next:hover {
	opacity: 1 !important;
}
.flex-direction-nav a:before {
	font-size: 30px !important;
}
.flex-prev {
	text-align: left;
}
.flex-direction-nav .flex-prev {
	left: 10px !important;
}
.flex-direction-nav .flex-next {
	right: 10px !important;
}




/* BLOG
-------------------------------------------------------------------------------*/
.home-title {
	margin-top: 3em;
	margin-bottom: 2em;
	height: 74px;
	background-image: url('_img/title-blog.png');
	background-size: 4000px 74px;
	background-position: center center;
	background-repeat: no-repeat;
	text-transform: uppercase;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 1.15em;
	line-height: 74px;
	font-weight: 600;
	text-align: center;
	letter-spacing: .1em;
	color: #C6A877;
}

@media screen and (min-width: 700px) {
	.home.paged .content,
	.archive .content {
		padding-top: 100px;
	}
}


/* CONTENT
-------------------------------------------------------------------------------*/
p:last-child {
	margin-bottom: 0;
}
.post {
	margin-bottom: 1em;
}
.post-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0;
	text-align: center;
	color: #636361;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c3b6a3+0,e1dad1+50,c3b6a3+100 */
	background: #c3b6a3; /* Old browsers */
	background: -moz-linear-gradient(left,  #c3b6a3 0%, #e1dad1 50%, #c3b6a3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#c3b6a3), color-stop(50%,#e1dad1), color-stop(100%,#c3b6a3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #c3b6a3 0%,#e1dad1 50%,#c3b6a3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #c3b6a3 0%,#e1dad1 50%,#c3b6a3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #c3b6a3 0%,#e1dad1 50%,#c3b6a3 100%); /* IE10+ */
	background: linear-gradient(to right,  #c3b6a3 0%,#e1dad1 50%,#c3b6a3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c3b6a3', endColorstr='#c3b6a3',GradientType=1 ); /* IE6-9 */
}
@media screen and (min-width: 700px) {
	.post-banner {
		padding: 110px 0 40px 0;
	}
}
@media screen and (max-width: 699px) {
	.post-banner {
		padding: 20px 0 20px 0;
	}
	.post-banner img {
		max-width: 15%;
	}
}
.post-title {
	width: 75%;
}
.post h2 {
	margin-top: 0;
}
.excerpt-title {
	margin: 1em 0 0 0;
	border-bottom: none;
	padding-bottom: 0;
}
.excerpt-entry {
	float: right;
	width: 74%;
	margin-bottom: 2em;
}
.excerpt-thumb,
.post-thumb {
	float: left;
	width: 17%;
	max-width: 150px;
	border-radius: 14px;
	margin-top: .5em;
}
.post-meta,
.excerpt-meta {
	display: block;
	font-size: .6rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #444444;
	margin-top: 0;
}

.sidebar {
	font-size: .8em;
	line-height: 1.5em;
}



/* Pagination
-------------------------------------------------------------------------------*/
.pagination {
	text-align: center;
	background-color: #FFFFFF;
	padding: 1em 0 0 0;
}
.pagination a:hover {
	text-decoration: none;
}
.pagination	.page-numbers {
	display: inline-block;
	padding: .25em .5em;
	border-radius: 3px;
	border: 1px solid #F5F2EC;
	margin: 0 .15em;
}
.pagination	.page-numbers:hover {
	background-color: #F5F2EC;
}
.pagination .dots,
.pagination .dots:hover,
.pagination .current,
.pagination .current:hover {
	background-color: #FFFFFF;
}
.pagination .dots,
.pagination .dots:hover {
	color: #CCCCCC;
}
.pagination .current {
	color: #444444;
}



/* Contact
-------------------------------------------------------------------------------*/
.contact-content {
	padding-right: 5% !important;
}
.contact-form label {
	display: block;
	font-size: .8em;
	font-weight: 600;
	text-transform: uppercase;
}
.contact-form input[type="text"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	border-radius: 3px;
	margin-bottom: 1em;
	padding: .65em;
	border: 0;
}
.contact-form input.input-human {
	width: 80px;
}
.contact-form .field-verify,
.contact-form .field-submit {
	text-align: center;
}
.contact-form .button {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 1.3em;
}
.required {
	color: #DD0473;
}
.notice {
	padding: .75em 1em;
	margin-bottom: 1em;
	color: #c09853;
	background-color: #fcf8e3;
	border: 1px solid #c09853;
	border-radius: 3px;
}
.info {
	color: #3a87ad;
	background-color: #d9edf7;
	border-color: #3a87ad;
}
.success {
	color: #62B762;
	background-color: #dff0d8;
	border-color: #70D670;
}
.alert {
	color: #c09853;
	background-color: #fcf8e3;
	border-color: #c09853;
}
.error {
	color: #d64240;
	background-color: #ffdada;
	border-color: #d64240;
}


/* DETAILS
-------------------------------------------------------------------------------*/
.error404 .content {
	text-align: center;
}


/* FOOTER
-------------------------------------------------------------------------------*/
.footer {
	position: relative;
}
.footer-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	line-height: 0;
	border-top: 20px solid #FFF;
	background-color: #136873;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#119faa+0,09454d+100 */
	background: #119faa; /* Old browsers */
	background: -moz-linear-gradient(top,  #119faa 0%, #09454d 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#119faa), color-stop(100%,#09454d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #119faa 0%,#09454d 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #119faa 0%,#09454d 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #119faa 0%,#09454d 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #119faa 0%,#09454d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#119faa', endColorstr='#09454d',GradientType=0 ); /* IE6-9 */
}
.footer-left,
.footer-right {
	flex: 1 25%;
}
.footer-center {
	text-align: center;
	align-self: center;
	flex: 2 50%;
	padding: 2em 4%;
}
@media screen and (max-width: 699px) {
	.footer-block img {
		max-height: 300px !important;
	}
	.footer-block {
		flex: 1 0 45%;
	}
	.footer-center {
		flex: 0 1 100%;
		z-index: 100;
		padding-left: 10%;
		padding-right: 10%;
	}
	.footer-left {
		order: 2;
		margin-top: -12%;
	}
	.footer-right {
		order: 3;
		margin-top: -12%;
	}
}

.footer-block img {
	display: block;
	margin-top: -40px;
	max-height: 380px;
}
.footer-right img {
	float: right;
}
.footer a {
	color: #FFF;
}
.footer p {
	font-family: "Sanchez", Georgia, serif;
	line-height: 1.35em;
	color: #DBC6A9;
	margin-bottom: 1.5em;
}
@media screen and (min-width: 1000px) {
	.footer p {
		font-size: 1.2em;
	}
}

.footer-legal {
	position: absolute;
	z-index: 1000;
	width: 100%;
	bottom: 1em;
	text-align: center;
	font-size: .55rem;
	color: #FFF;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	opacity: .1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.footer-legal:hover {
	opacity: .6;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.footer-legal a {
	color: #FFF;
	text-decoration: underline;
}