/*
Site: Hip Young Gunslingers Advent Calendar 2017
Author: Sean Bowen for Hip Young Gunslingers
Version: 1.2
*/


/*
Fonts
---------------------------------------
*/

@import url("//hello.myfonts.net/count/312fde");
  
@font-face {font-family: 'Manus';src: url('../fonts/312FDE_0_0.eot');src: url('../fonts/312FDE_0_0.eot?#iefix') format('embedded-opentype'),url('../fonts/312FDE_0_0.woff2') format('woff2'),url('../fonts/312FDE_0_0.woff') format('woff'),url('../fonts/312FDE_0_0.ttf') format('truetype');}


/*
Reset
---------------------------------------
*/

*, html, body { 
	margin:0; 
	padding:0; 
	overflow:hidden;
	}
	
html, body { 
	height: 100%;
	}

fieldset, img { 
	border:0; 
}

h1, h2, h3, h5, h5, h6 { 
	font-size:100%; 
	}

ul { 
	list-style:none; 
}


/*
General Styling
---------------------------------------
*/

body {
	font-family: 'Manus';
	background: #fff;
	font-size: 14px;
	color: #E7275A;
	padding-bottom:60px; 
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {

}

h1 {
	font-size: 32px;
}

.clear { 
	clear: both; 
}


/*
Site Strucutre
---------------------------------------
*/


.masthead {
	width: 100%;
	height: 110px;
	background: #E7275A;
	color: #fff;
}

.logo {
	float: left;
	padding: 0 0 0 30px;
	display: block;
	width: 300px;
	height: 108px;
}

.tag {
	float: right;
	padding: 0 30px 0 0;
}

.tag h2 {
	font-size: 28px;
	line-height: 100px;
	font-weight: normal;
}

.calendar-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #E7275A;
    z-index: 1;
}

.calendar {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.calendar-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url("../images/feative-background.jpg") no-repeat 0 0;
	background-position: 0;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	z-index: -1;
	overflow: hidden;
}

.advent-doors {
	margin: 0px auto;
	width: 960px;
	height: auto;
	padding-top: 5%;
	padding-top: 5.43vh; /* For modern browsers */
	z-index: 2;
}

.advent-doors ul li {
	position: relative;
	float: left;
	width: 140px;
	height: 140px;
	margin-right: 20px;
	margin-bottom: 20px;
	border: 1px solid #fff;
	color: #fff;
	text-align: center;
}

.advent-doors ul li:nth-child(6n){
	margin-right: 0;
}

.door-num {
	font-size: 92px;
	line-height: 140px;
	color: #fff;
}

.advent-doors img {
	width: 140px;
	height: 140px;
	background-position: center center;
	object-fit: cover;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.overlay {
    position:absolute;
    top:0;
    width:0;
    width:100%;
    height:100%;
    background-color:rgba(0, 0, 0, 0.5);
	 text-align: center;
    display:none;
}

.overlay p, .overlay a {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 20px;
	line-height: 140px;
	color: #fff;
	text-decoration: none;
}


.advent-doors ul li:hover .overlay {
    display:block;
}


.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: #E7275A;
	color: #fff;
	z-index: 100;
	overflow: hidden;
}

.mobile-open, .mobile-close {
	display: none;
}

.signup-wrapper {
	float: left;
	width: 80%;
}

.signup {
	width: 100%;
	padding-left: 41%;
}

.social {
	float: right;
	width: 16%;
	margin-right: 20px;
	margin-top: 12px;
}

.social  ul il {
	list-style: none;
	margin-left: 0;
}

.social li {
	float: left;
}

a.facebook, a.twitter, a.instagram, a.spotify, a.youtube {	
	display: block;
	width: 25px;
	height: 25px;
	margin-right: 15px;
   transition: all .2s ease-in-out;
}

a.facebook:hover, a.twitter:hover, a.instagram:hover, a.spotify:hover, a.youtube:hover {
	transform: scale(1.2);
}

a.facebook {
	background: transparent url("../images/fb.png") no-repeat 0 0;
	background-position: center;
}

a.twitter {
	background: transparent url("../images/twitter.png") no-repeat 0 0;
	background-position: center;
}

a.instagram {
	background: transparent url("../images/insta.png") no-repeat 0 0;
	background-position: center;
}

a.spotify {
	background: transparent url("../images/spotify.png") no-repeat 0 0;
	background-position: center;
}

a.youtube {
	background: transparent url("../images/yt.png") no-repeat 0 0;
	background-position: center;
}


/*
Forms
---------------------------------------
*/

input[type="text"] {
	float: left;
	width: 30%; /* WAS 45% */
	height: 44px;
	line-height: 44px;
	margin-top: 8px;
	padding: 0 1% 0 1%;
	background: #fff;
	color: #000;
	font-family: Arial, sans-serif;
	border: 0;
}

::-webkit-input-placeholder {
	font-family: 'Manus';
	font-size: 20px;
	line-height: 44px;
   color: #000;
}

:-moz-placeholder { 
	font-family: 'Manus';
	font-size: 20px;
	line-height: 44px;
   color: #000;  
}

::-moz-placeholder { 
	font-family: 'Manus';
	font-size: 20px;
	line-height: 44px;
   color: #000;  
}

:-ms-input-placeholder { 
	font-family: 'Manus'; 
	font-size: 20px;
	line-height: 44px;
   color: #000; 
}

input[type="submit"] {
	float: left;
	width: 80px;
	height: 44px;
	padding: 0 6px 0 0;
	margin-top: 8px;
	margin-left: 10px;
	background: transparent;
	border: 1px solid #fff;
	text-align: center;
	font-family: 'Manus'; 
	font-size: 24px;
	line-height: 45px;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.4s ease;
}

input[type="submit"]:hover {
	background: #fff;
	color: #E7275A;
}

label.error{
	display: none !important;
}

input.error, textarea.error { 
	background-color: #FFFF97;
}

.email_form {
	text-align: center;
}

.form-response {
	width: 100%;
	height: 70px;
}

.form-response h2 {
	font-size: 220%;
	font-size: 2.6vw; 
	font-weight: normal;
	padding-left: 7.5%;
}


/*
Responsive
---------------------------------------
*/


@media only screen and (min-device-width: 750px) and (max-device-width: 959px) and (orientation: portrait) {

body {
	overflow: auto;
}

.calendar-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.advent-doors {
	width: 90%;
	margin: 0 5% 0 5%;
	padding-top: 30px;
	padding-bottom: 120px;
}

.advent-doors ul li {
	float: left;
	width: 47%;
	height: 322px;
	margin-right: 5%;
	margin-bottom: 5%;
	border: 1px solid #fff;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.advent-doors ul li:nth-child(2n) {
	margin-right: 0;
}

.door-num {
	font-size: 160px;
	height: 322px;
	line-height: 322px;
	color: #fff;
	overflow: hidden;
}

.advent-doors img {
	width: 100%;
	height: 322px;
	background-position: center;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow: hidden;
}

.advent-doors ul li:hover .overlay {
    display:none;
}

.footer {
	display: none;
}

}

@media only screen and (min-device-width: 300px) and (max-device-width: 749px) and (orientation: portrait) {

body {
	overflow: auto;
}

.calendar-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.advent-doors {
	width: 70%;
	margin: 0 15% 0 15%;
	padding-top: 30px;
	padding-bottom: 120px;
}

.advent-doors ul li {
	float: none;
	width: 98%;
	height: 286px;
	margin-right: 5%;
	margin-bottom: 5%;
	border: 1px solid #fff;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.advent-doors ul li:nth-child(2n) {
	margin-right: 0;
}

.door-num {
	font-size: 160px;
	line-height: 286px;
	color: #fff;
	overflow: hidden;
}

.advent-doors img {
	width: 100%;
	height: 286px;
	background-position: center;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow: hidden;
}

.advent-doors ul li:hover .overlay {
    display:none;
}

.footer {
	display: none;
}

}



@media only screen and (min-device-width: 300px) and (max-device-width: 750px) and (orientation: landscape) {

body {
	overflow: auto;
}


.calendar-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.advent-doors {
	width: 90%;
	margin: 0 5% 0 5%;
	padding-top: 30px;
	padding-bottom: 120px;
}

.advent-doors ul li {
	float: left;
	width: 47%;
	height: 311px;
	margin-right: 5%;
	margin-bottom: 5%;
	border: 1px solid #fff;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.advent-doors ul li:nth-child(2n) {
	margin-right: 0;
}

.door-num {
	font-size: 160px;
	height: 311px;
	color: #fff;
	overflow: hidden;
}

.advent-doors img {
	width: 100%;
	height: 311px;
	background-position: center;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow: hidden;
}

.advent-doors ul li:hover .overlay {
    display:none;
}

.footer {
	display: none;
}

	
}

@media only screen and (min-device-width: 500px) and (max-device-width: 1024px) and (orientation: landscape) {

body {
	overflow: hidden;
}

.advent-doors {
	padding-top: 5px;
}

.advent-doors ul li {
	margin-bottom: 5px;
}

.door-num {
	font-size: 92px;
	line-height: 140px;
	color: #fff;
}

.advent-doors ul li:hover .overlay {
    display:none;
}

.footer {
	display: none;
}

}





/* Colours 

Site Pink								#E7275A

*/



