/*
Theme Name: Big Bear Studios
Author: Stuart Farnaby
Description: Big Bear Studios Website Theme
Version: 1.0
*/

/*
 * CSS Reset
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

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

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

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

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}


body {
  min-width: 320px;
  background-color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.clear {
	visibility: hidden;
	clear: both;
}

/*
 Base Font Styling
 */

a:hover {
  color: #FFC400 !important;
}

.site {
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1280px;
  background-color: #000000;
}

h1, h2, h3 {
  text-transform: uppercase;
  color: black;
  font-weight: 500;
  padding: 20px;
}

h1 {
  font-size: 36px;
  text-align: center;
  font-weight: 500;
}

h2 {
  font-size: 22px;
  text-align: left;
  font-weight: 400;
}

h3 {
  font-size: 18px;
  text-align: left;
  font-weight: 400;
}

p {
	font-size: 16px;
  color: #6c6d6e;
  font-weight: 300;
  line-height: 20px;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Bullet lists: real bullets, with wrapped lines indented under the text, not the bullet */
.feature-list {
  list-style: disc outside;
  padding: 10px 20px 10px 40px;
}

.feature-list li {
  font-size: 16px;
  color: #6c6d6e;
  font-weight: 300;
  line-height: 20px;
  padding: 2px 0;
}

a {
  text-decoration: none;
}

/* 
 * Header 
 */

header .navigation {
  height: 50px;
}

header .navigation__links {
  width: 100%;

  text-align: center;
  text-transform: uppercase;
}

header .navigation__links--mobile {
	display: none;
}

header .current-menu-item a {
  color: #FFC400 !important;
}

header .links {
  padding-top: 15px;
  padding-bottom: 15px;
}

header .menu-item {
	display: inline-block;
	margin-right: 10px;
	margin-left: 10px;
}

header .menu-item a {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

header .menu-item:hover {
  color: #FFC400;
}

header .hero {
  width: 100%;
  height: 200px;
  background-color: #FFC400;
  box-sizing: border-box;

  position: relative;
}

header .hero__image {
  width: 100%;
  height: 100%;
  background-color: #FFC400;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

header .social-links {
  position: absolute;
  right: 0px;
  top: 0px;
  margin-top: 30px;
  margin-right: 30px;
}

header .social-links__link {
  text-transform: none;
  text-decoration: none;
}

header .social-links__link img{
  width: 30px;
  height: 30px;
}

header .social-links__link:hover img{
  filter: invert(1);
}

@media (max-width: 1024px) {
  header .social-links {
    display: none;
  }

  header #menu-item-568 {
		display: none;
	}
	
	header #menu-item-567 {
		display: none;
  }
}

@media (max-width: 400px) {
	.hero {
		height: 100px;
  }
  
  .hero__image {
    background-size: 30%;
  }
}

/*
Footer
*/

footer {
  height: 50px;
  margin-top: 25px;
  position: relative;
}

footer span, footer a {
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.copyright {
  position: absolute;
  left: 0px;
}

footer nav {
  position: absolute;
  right: 0px;
  top: -15px;
}

footer a {
	margin-left: 10px;
}

@media (max-width: 700px) {
  footer span {
    margin-left: 10px;
  }
}

@media (max-width: 575px) {
  footer {
    height: 70px;
    text-align: center;
  }

  footer span {
    right: 0px;
  }

  footer nav {
    left: 0px;
  }

  .copyright {
    top: 45px;
  }
}

/*
Content
*/

.content {
  padding: 40px;
  padding-left: 60px;
  padding-right: 60px;
  overflow: hidden;
  color: #000000;
  background-color: #FFFFFF;
}

.content .page_description {
  text-align: center;
}

.content .padded-vertical--heavy {
	padding-top: 20px;
	padding-bottom: 20px;
}

@media (max-width: 1024px) { 
  .content {
    padding: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/*
Team/About Page
*/












/*
Blocks
*/

.blocks {
  padding-top: 50px;
}

.blocks__block {
  float: left;
  width: 25%;
  padding-bottom: 25%;
  position: relative;
  overflow: hidden;
}

.blocks--large .blocks__block {
  float: left;
  width: 33.3%;
  padding-bottom: 33.3%;
  position: relative;
  overflow: hidden;
}

.blocks__block--landscape {
  width: 50%;
}

.block__block-content {
  position: absolute;
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  margin-left: 10px;
  margin-top: 10px;
}

.block-content__game-text {
  position: absolute;
  bottom: 0px;
  background-color: rgba(1,1,1,0.8);
  padding-bottom: 20px;
  padding-top: 20px;
  width: 100%;
}

.block-content__game-text h2 {
  z-index: 1;
  text-align: center;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: 700;
  padding: 0px;
  margin: 0px;
}

.block-content__text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  color: #FFFFFF;
}

.block-content__text h2 {
  z-index: 1;
  padding-left: 25px;
  padding-right: 25px;

  margin-bottom: 10px;
  text-transform: uppercase;
}

.block-content__text p {
  z-index: 1;

  padding-left: 40px;
  padding-right: 40px;
}

.block-content__text label {
  text-transform: uppercase;
  padding-left: 20px;
  padding-right: 20px;
  line-height: normal;
}

.block-content__background-image {
  z-index: 0;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.block-content__cub_house_banner {
    width: 100%;
    height: 100%;
	z-index: 100;
}

.block-content__cub_house_banner img {
    width: 50%;
    height: 50%;
    position: absolute;
    top: 0px;
    right: 0px;
}

.block__block-content--yellow {
  background-color: #FFC400;
}

.block__block-content--grey {
  background-color: #6D6D6D;
}

.block__block-content--mustard {
  background-color: #D3A535;
}

.block__block-content--white {
  background-color: #FFFFFF;
}

.block__block-content--brown {
  background-color: #7A5F1C;
}

.block__block-content--blue {
  background-color: #8AA3B2;
}

.block__link:hover h2 {
  color: #FFC400;
}

/*
 * Links 
 */

.link-container {
  margin-top: 30px;
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
}

.link-container a {
  text-decoration: none;
  vertical-align: middle;
}

.google_link img {
  width: 146px;
}

.single_game_section .link-container  {
  text-align: center;
}

/*
Tablet
*/

@media (max-width: 1024px) {
  .block {
    width: 33.3%;
    padding-bottom: 33.3%;
  }

  .block--landscape {
    width: 66.6%;
    padding-bottom: 33.3%;
  }

  .block-content__game-text {

    padding-top: 10px;
    padding-bottom: 10px;
  }

  .block-content__game-text h2 {
    font-size: 12px;
  }

}

@media (max-width: 720px) {
  .block {
    width: 50%;
    padding-bottom: 50%;
  }

  .desktop-only {
    display: none;
  }

  .block__text--hovered {
    display: block;
  }
}

@media (max-width: 600px) {
  .blocks__block {
    width: 33%;
  }

  .header .menu-item a {
    font-size: 16px;
  }

  .blocks--large .block-content__game-text h2 {
    font-size: 14px;
  }

  .block-content__game-text h2 {
    font-size: 10px;
  }

  .block-content__game-text {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  footer span, footer a {
    font-size: 10px;
  }
}

@media (max-width: 575px) {
	.desktop-only {
		display: none;	
	}


  h1 {
    font-size: 26px;
  }
  
  p, .feature-list li {
    font-size: 12px;
    line-height: 14px;
  }
}

@media (max-width: 500px) {
  .blocks__block {
    width: 50% !important;
  }

  .ngg-gallery-thumbnail-box {
    width: 31%;
  }
}

@media (max-width: 450px) {

  .hero {
    height: 60px !important;
    padding: 5px !important;
  }

  .hero__image {
    background-size: contain !important;
  }

  header .links {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  header .menu-item a {
    font-size: 15px !important;
  }

  .blocks--large .blocks__block {
    width: 100% !important;
    padding-bottom: 50% !important;
  }

  .blocks__block {
    width: 50%;
  }

  .site {
    padding-left: 0px;
    padding-right: 0px;
  }

  .content {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* Clearfix */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

.fa-bars {
   position: absolute;
   right: 30px;
   color: white;
   top: 13px;
   font-size: 22px !important;
}

/*
 * Gallery
 */

.ngg-gallery-thumbnail a {
    margin: 0px !important;
}

.ngg-navigation .current {
  background-color: #FFC400 !important;
}

.ngg-navigation a.page-numbers:hover {
  background: #FFC400 !important;
}

.ngg-navigation a.next:hover, .ngg-navigation a.prev:hover, .ngg-navigation span.next, .ngg-navigation span.prev {
  color: #FFC400 !important;
}

/*
 * Override on the blocks for the homepage
 */
.no-padding {
	padding: 0px !important;
}

/*
 * Clearing
 */

.clear-both {
	clear: both;
}

/*
 * Prototype Upload Form
 */ 

.upload-form {
	
}

.error-banner {
  color: white;
  background-color: red;
  padding: 25px;
  text-transform: uppercase;
}

.form-section {
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.form-section input {
	margin-left: 20px;
}