/* @override 
	http://2018.weheartgames.com/wp-content/themes/whg2018/style.css?* */

/*
Theme Name: We Heart Games 2018
Theme URI: http://underscores.me/
Author: 26 Projects
Author URI: http://weheartgames.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weheartgames
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

We Heart Games is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600&amp;display=swap');

/* @group Layout */

.container-inner{
	max-width: 1100px;
	margin: 0 auto;
}
.halfcol{
	width: 49%;
	margin: 0 2% 0 0;
	float: left;
}
.column-third{
	width: 30%;
	margin-right: 5%;
	float: left;
}
.last{
	margin-right: 0;
}

/* @end */

/* @group reCaptcha */
.grecaptcha-badge{
	display: none !important;	
}
.page-id-7 .grecaptcha-badge{
	display: block !important;
}
/* @end */
/* @group Normalize */
input {
    -webkit-appearance: none;
}

html {
	font-family: 'Barlow Semi Condensed', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 600;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
	display: block;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	font-weight: 600;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/* @end */

/* @group Typography */

body,
button,
input,
select,
textarea {
	color: #404040;
  font-family: 'Barlow Semi Condensed', sans-serif;	
  font-weight: 400;
	font-size: 16px;
	font-size: 1.3 rem;
	line-height: 1.8;
}
strong {
	font-weight: 600;
}

a {
	color: #696969;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h3 {
	color: #9b4041;
}

h4 {
	color: #6d6d6d;
	text-transform: uppercase;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.entry-title {
	text-align: center;
}
/* @end */

/* @group Elements */

html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.video-header iframe{margin: 0 auto; width: 100%; height: auto; min-height: 500px;}

/* @end */

.designer-credit{
	margin-bottom: 30px;
}

.wp-block-button__link{
	border-radius: 0;
	font-weight: 600;
	color: #fff;
	background-color: #32373c;
}
.wp-block-button__link:hover{
	background-color: #f29729;
	color: #fff;
}
.wp-block-button__link:visited{
  color: #fff;
}

/* @group Forms */

input:focus {
	outline: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	background: #e6e6e6;
	font-size: 13px;
	line-height: 1;
	padding: 10px 20px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #696969;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #c7c6c6;
	color: #efefef;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 0px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	padding: 10px 20px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/* @end */

/* @group Navigation */

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #696969;
}

a:visited {
	color: #696969;
}

a:hover,
a:focus,
a:active {
	color: #ba3726;
}

a:focus,
a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
ul.nav-menu {
	padding-top: 30px;
}
ul.nav-menu li {
	display: block;
	width: 100%;
	text-align: center;
}
ul.nav-menu li a {
	color: #000;
	padding: 10px 0;
	font-weight: 600;
	letter-spacing: 2px;
}

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	text-transform: uppercase;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	float: left;
	width: 100%
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	font-weight: 400 !important;
	text-transform: none;
	padding: 0;
	display: none;
}
.main-navigation ul li.current-menu-ancestor ul a,
.site.portfolio .main-navigation ul li#menu-item-3512 ul a,
.site.blog .main-navigation ul li#menu-item-1338 ul a
 {
	display: block;
}
.main-navigation ul li.current-menu-ancestor ul li:last-child {
	margin-bottom: 20px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	color: #fff;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a {
	color: #fff;
}

/* Small menu. */
.menu-toggle {
	display: none !important;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* @end */

/* @group Accessibility */

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/* @end */

/* @group Alignments */

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* @end */

/* @group Clearings */

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.container:before,
.container:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/* @end */

/* @group Widgets */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* @end */

/* @group Header */
#masthead {
	width: 300px;
	position: fixed;
	height: 100vh;
	background-color: #f29729;
}
h1.site-title a {
	background: url('img/WHG-Logo.png') no-repeat center center;
	background-size: contain;
	position: absolute;
	bottom: 40px;
	right: 0px;
	font-size: 0;
	width: 300px;
	height: 50px;
}
h1.page-title {
	
}
.site-subtitle {
	text-align: center;
	width: 100%;
	position: absolute;
	bottom: 10px;
	color: #737373;	
	text-transform: lowercase;
}

/* @end */

/* Content */

#content {
	width: calc(100% - 300px);
	float: right;
}

/* @group Posts as Thumbnails */
ul.posts-as-thumbs {
	margin: 0;
	padding: 0;
}

ul.posts-as-thumbs li {
	float: left;
	width: 10%;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.title-hover {
	display: none;
	pointer-events: none;
	justify-content: center;
	align-items: flex-end;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	color: #fff;
  background: rgba(0, 0, 0, 0.7);

}
ul.posts-as-thumbs li:hover .title-hover{
	display: flex;
}

.title-hover .the-title {
	width: 90%;
	text-align: center;
	font-weight: bold;
	padding-bottom: 20px;
}


/* @end */

/* @group Posts and Pages */

.entry-header {
	margin-bottom: 30px;
}

.entry-date {
	text-align: center;
	display: block;
	font-size: 10px;
	margin-top: 10px;
}

.tags-links {
	display: block;
	text-align: center;
}

.tags-links a {
	display: inline-block;
	color: #696969;
	background-color: #e6e6e6;
	text-decoration: none;
	padding: 5px 8px;
	letter-spacing: 2px;
	margin: 0 5px;
}

article img.attachment-post-thumbnail {
	margin: 0 auto;
}

.testimonial {
	background: #e6e6e6;
	padding: 18px 30px;
}
.testimonial p {
	margin: 0;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em auto 0;
	width: 600px;
	max-width: 95%;
}

.page-id-8398 .entry-content{
	width: 800 px;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.related-portfolio-post,
.posts-from-this-project {
	margin-top: 60px;
}
.related-portfolio-post h3,
.posts-from-this-project h3 {
	text-align: center;
}
.posts-from-this-project ul {
	margin: 0;
	padding: 0;
}
.related-project-posts img {
	list-style: none;
	margin: 0 0 20px;
}

/* @end */

/* @group Contact */

.wpcf7-form input,
.wpcf7-form textarea {
	width: 100%;
	box-sizing: border-box;
}
.wpcf7-form label {
	font-weight: 600;
	text-transform: lowercase;
	letter-spacing: 2px;
	color: #b3b3b3;
	font-size: 13px;
}


/* @end */

/* @group Infinite Scroll */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* @end */

/* @group Media */

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* @end */

/* @group Captions */

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* @end */

/* @group Galleries */

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* @end */

/* @group Footer */

.site-footer {
	text-align: center;
	float: right;
	width: calc(100% - 300px);
	box-sizing: border-box;
	padding: 40px 20px 20px;
	font-size: 10px;
}

/* @end */

@media screen and (max-width:3000px){
	ul.posts-as-thumbs li {
		width: 11.11111111%;
	}
}
@media screen and (max-width:2700px){
	ul.posts-as-thumbs li {
		width: 12.5%;
	}
}
@media screen and (max-width:2400px){
	ul.posts-as-thumbs li {
		width: 14.2857142857%;
	}
}
@media screen and (max-width:2100px){
	ul.posts-as-thumbs li {
		width: 16.666666666%;
	}
}
@media screen and (max-width:1800px){
	ul.posts-as-thumbs li {
		width: 20%;
	}
}
@media screen and (max-width:1500px){
	ul.posts-as-thumbs li {
		width: 25%;
	}
}

@media screen and (max-width:1200px){
	ul.posts-as-thumbs li {
		width: 33.3333333%;
	}
}

@media screen and (max-width:1120px){
	.container-inner{
		max-width: 96%;
		margin: 0 auto;
	}
}

@media screen and (max-width:900px){
	ul.posts-as-thumbs li {
		width: 50%;
	}
}

@media screen and (max-width:768px){
	#masthead {
		width: 100%;
		height: 100px;
		position: fixed;
		bottom: 0;
		z-index: 9999;
	}
	h1.site-title a {
		
		position: absolute;
		bottom: 4px;
		right: 0px;
		font-size: 0;
		width: 100%;
		height: 22px;
	}
	.site-subtitle {
		display: none;
	}
	
	#content {
		width: 100%;
		float: right;
	}
	ul.posts-as-thumbs li {
		width: 33.333333%;
	}
	ul.posts-as-thumbs li:hover .title-hover{
		display: none;
	}
	
	/* Mobile Nav */
	ul.nav-menu {
		padding-top: 0px;
	}
	ul.nav-menu li {
		width: 25%;
		position: relative;
	}
	.main-navigation ul ul a {
		padding: 10px 0;
		display: block;
	}
	ul.nav-menu li ul {
		display: none;
	}
	ul.nav-menu li:hover ul {
		display: block !important;
	}
	ul.nav-menu li ul {
		position: absolute;
		bottom: 40px !important;
		background: #eeeeee;
		padding-top: 15px;
		min-width: 150px;
	}
	ul.nav-menu li ul li {
		width: 100%;
	}
}

@media screen and (max-width:600px){
	.column-third{
		width: 100%;
		margin-right: 0;
	}
	.halfcol{
		width: 100%;
		margin-right: 0;
	}
	ul.nav-menu > li a {
		font-weight: 600;
		letter-spacing: 0px;
	}
}