#ftrArea{
	margin-bottom:0px;
}

#ftrRot{
	border:1px solid #D1D1D1;
}
.check640{
		display:none;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/
@font-face {
	font-family:'Futura Medium Header';
	src:url('http://cookson.housecreativeagency.co.uk/advent-2017/assets/css/splat/fonts/FTR35.otf') format('opentruetype');
    font-weight: normal;
    line-height:1em;
}

/*Bottom Ad*/

.red{
	color: #df3a5a !important;
}
.gold{
	color: #c8b597 !important;
}
a.no_underline,a.no_underline a {
	text-decoration:none !important;
	color:#000;
}
h4{
	text-align:center;
	font-weight:bold;
	font-size:1em;
}
.align-left{
	text-align:left;
	margin-right:auto;
	margin-left:0;
}

/*Ads*/

.top-ad{
	width:99%;
	text-align:center;
	margin:auto;
	padding:60px 20px 20px 20px;
	background:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/top-header.jpg) center center no-repeat transparent;
	background-size:cover;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    font-family:"Futura Medium Header",sans-serif !important;
}
.top-ad img, .top-ad p{
	text-align:center;
	margin:auto;
}
.top-ad p{ font-size:1.3em; color:#FFFFFF;}
.top-ad img{
	max-width:80%;
}
.top-ad p{
	padding-top:20px;
	width:60%;
}

.bottom-ad{
	width:98%;
	padding:0 !important;
	margin:20px auto;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	text-align:center;
	position:relative;
}
.bottom-ad .inner{
	background:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/bottom-header.jpg) center center no-repeat #fff;
	background-size:cover;
	height:auto;
	width:100%;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	text-align:center;
	position:relative;
}
.bottom-ad .inner img { text-align: center; margin: 0 auto; max-width: 100%; padding: 3% 0;}
.fbtn.gold{
	background-color:#c8b597;
}
.fbtn.gold span{
	color:#fff;
	background-color:#b39d7c;
}
.bottom-ad .fbtn{
	position:absolute;
	bottom:0;
	right:0;
	margin: 0 0 0 auto;
    width: 220px !important;
}
.bottom-ad .fbtn span{
	width:20% !important;
}
.bottom-ad .fbtn p{
	width:80% !important;
	color:#fff !important;
}
.bottom-ad .fa-chevron-right:before {
    margin-left: 5px;
}

.clear{
	clear:both;
}

/*SEO TEXT at bottom */
#brand_seo_wrapper{
	margin:25px auto 25px auto;
	clear:both;
	color: #5d5b5b;
	width:99%;
}

.brand_seo_full{
	display:block;
	font-size: 0.875em;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    padding-left:100px;
    padding-right:100px;    
	margin:30px auto;
}
.brand_seo_col{
	width:50%;
	float:left;
	display:inline-block;
	font-size: 0.875em;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    padding-right:25px;
}
h4.brand_seo{
	margin-bottom:10px;
}

/*Calendar*/
.calendar{
	margin:10px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
	    display: inline-block;
}
.calendar .box,.calendar .box-tall{
	width:25%;
	padding:5px;
	display:inline-block;
	vertical-align:top;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    float:left;
}
.calendar .box.wide{
	width:50%;
	
}
.calendar .box-tall{
	padding:0 !important;	
}
.calendar .box-tall .box{
	padding:5px;
	width:100%;
	display:block;
	vertical-align:top;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.calendar .box .inner{
	background-color:#fff;
	min-height:50px;
	position:relative;
	background-position: center;
	margin:auto;
	
}

/*.calendar .box .inner .imagerevealer{
	width:59px;
	height:59px;
	max-width:300px;
	display:block;
	padding:0;
	margin:0 auto;
	text-align:center;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	transition: all .3s ease;
	overflow:hidden;
	background: url() center center no-repeat;
}
.calendar .box .inner .imagerevealer.open{
	width:150px;
	height:150px;
}*/
/*.calendar .box .inner .imagerevealer img{
	display:block;
	max-width:300px;
	padding:0;
	text-align:center;
	margin:0;
}*/
.calendar .box .inner a.image-link{
	width:100%;
	height:100%;
	margin:auto;
	text-align:center;
	transition: all .3s;
	/*opacity: 0.0;
    filter: alpha(opacity=0);*/ /* For IE8 and earlier */
    background:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/popup-background.jpg) center center no-repeat #fff;
    background-size:cover;
	}
.calendar .box .inner a.image-link.show{
	display:block;
	/*opacity: 1.0;
	position:static;*/
    /*filter: alpha(opacity=100);*/ /* For IE8 and earlier */
	/*transition: all .3s;*/
}
.calendar .box .inner a.image-link img{
	display:none;
}
.calendar .box .inner a.image-link .btn{
	position:absolute;
	bottom:0;
	right:0;
	background:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/btn-arrow.png) center center no-repeat #b61e30;
	width:50px;
	height:50px;
	color:#fff;
	display:none;
}
.calendar .box .inner a.show .btn{
	position:absolute;
	bottom:0;
	right:0;
	background:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/btn-arrow.png) center center no-repeat #b61e30;
	width:50px;
	height:50px;
	color:#fff;
	display:block;
}
/*.calendar .box .inner a.image-link img{
	margin:auto;
	width:100%;
}*/
.calendar .box .inner .image{
	width:100%;
	/*max-width:300px;*/
	height:auto;
	display:block;
	padding:0px;
	margin:0 auto;
	text-align:center;
	margin:auto;
	
}
.calendar .box.wide .inner .image{
	width:100%;
	max-height: 700px !important;
	
	
}

.calendar .box .inner img.scaffolding{
	width:100%;
	/*max-width:300px;*/
	margin:auto;
	pointer-events:none;
	
	
}
.calendar .box.wide .inner img.scaffolding {
    width: 99.89%;
    /*max-width: 610px;*/
}
.calendar .box .inner{
	background-position: center;
}
.calendar .box.wide .inner{
	background:#e5e5e5;
	min-height:220px;
}
.calendar .box .inner.off{
	background-color:#e5e5e5;
	background-position:center center;
	background-size: 100%;
	background-repeat: no-repeat;
	padding: 0;
    margin: 0;
}
.hide_on_tablet{
	display:block;
}

.hide_on_mobile{
	display:block;
}
.show_on_mobile{
	display:none;
}
.box #today-box,.box #today-box-mobile{
	background-size: 100%;
	background-position:center;
	cursor:pointer;
}
.box.wide #today-box,.box.wide #today-box-mobile{
	background-size:auto 100%;
	background-position:center;
	background-repeat:no-repeat;
	background-color:#c8b597;
	
}

/*Page Curl*/
.curl {
	pointer-events: none;
	width:60px;
	height:60px;
	position: absolute;
	top:0;
	left:0;

	transition: all .3s;
			/*rgba(0,0,0,0),
			rgba(0,0,0,0) 45%,*/
	/*linear-gradient( 135deg, #e5e5e5,#e5e5e5 45%, rgba(0, 0, 0, 0.25) 50%, #aaa 50%, #bbb 56%, #ccc 62%, #f3f3f3 80%, #fff 100% ) */
	background : 
		linear-gradient(
			135deg, 
			#c2c6d1,#fff 45%,
			#ccc 50%, 
			#aaa 50%, 
			#bbb 56%, 
			#ccc 62%, 
			#f3f3f3 80%,
			#fff 100%
		);
	box-shadow : 0 0 10px rgba(0, 0, 0, .1);
	transition: all .3s;
}
.boxbgplain{
	/*background:#e5e5e5 !important;*/
	background: url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/popup-background.jpg) center center no-repeat #fff !important;
    background-size: cover !important;
}
.openbox,.popup .inner .innermore .left img{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.curl:before,
.curl:after {
	content: '';
	position: absolute;
	z-index: -1;
	left: 12.5%;
	bottom: 5.8%;
	width: 70%;
	max-width: 300px;
	max-height: 100px;
	height: 55%;
	box-shadow: 0 12px 15px rgba(0, 0, 0, .3);
	transform: skew(-10deg) rotate(-6deg);
}
.curl:after {
	left: auto;
	right: 5.8%;
	bottom: auto;
	top: 14.16%;
	transform: skew(-15deg) rotate(-84deg);
}

/*.curl:hover,*/
.curl.click {
	width: 100%;
	height: 100%;
}
/*.curl:hover:before,*/
.curl.click:before,
/*.curl:hover:after,*/
.curl.click:after {
	box-shadow: 0 24px 30px rgba(0, 0, 0, .3);
}
.popup .title {
    color: rgb(28, 26, 49);
    text-transform: uppercase;
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1em;
    font-family: "Futura Medium Header", sans-serif;
}
.popupbg{
	width:100%;
	height:100%;
	position:fixed;
	z-index:998;
	display:none;
	background-color:rgba(0,0,0,0.8);
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.popup{
	top:50%;
	left:50%;
	width:60%;
	position:fixed;
	z-index:999;
	text-align:center;
	margin:auto;
	margin-left:-30%;
	margin-top:-15%;
	display:none;
	background-color:#fff;
	background:#FFF url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/pop_bg.jpg) center center;
	background-size:cover;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.popup .inner{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
	position:relative;
	padding:0 60px 0 0;
}
.popup .inner .innermore{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
	position:relative;
	padding:70px 0px;
	white-space:nowrap;
}
.quitmark{
	position:absolute;width:90px;height:90px;right:0;background:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/popupquit.png) center transparent;cursor:pointer;background-size: 100% 100%;
}
.popup .inner .innermore .left,.popup .inner .innermore .right{
	width:49%;
	display:inline-block;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
	white-space:normal;
    vertical-align: middle;
	text-align:left;
}
.popup .inner .innermore .left{
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width:49%;
    vertical-align:middle;
    text-align:center;
    margin:auto;
}
.popup .inner .innermore .left img{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    vertical-align:middle;
    text-align:center;
	max-width:70%;
	margin: auto;
}
.popup .right{
	padding:30px 0px 0px 0;
}
.popup .offer {
    background-color: #b61e30;
    display: inline-block;
    margin: 0 auto 0 0;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.3em;
    margin-bottom: 15px;
    line-height: 1em;
    font-weight: bold;
}
.popup a.social{
	width:49px;
	height:49px;
	background-image:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/social.png);
	margin:0 20px 0 0px;
	cursor:pointer;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    display:inline-block;
    text-decoration:none;
}
.popup .social.f{background-position:0 0;}
.popup .social.t{background-position:-49px 0;}
.popup .social.g{background-position:-98px 0;width:73px;}
.popup .social.i{background-position:-171px 0;}
.popup .social.p{background-position:-220px 0;}
.popup .info{
	color:#5d5b5b;
	font-size:1em;
	padding-bottom:20px;
}
.popup .info.orange{
	color:#f18208;
	margin-top:30px;
	margin-bottom:23px;
	padding-bottom:0;
}

.popup a.shop-button{
	color:#fff;
	background-color:#1c1a31;
	font-size:1.2em;
	margin-bottom:10px;
	border:0;
	text-align:center;
	line-height:1em;
    text-decoration: none;
    padding: 10px 60px;
    display:inline-block !important;
}
.popup a.goldbtn {background-color:#b61e30;}
@media screen and (min-width:1301px) and (max-width:1700px){
	.popup{
		width:70%;
		margin-left:-35%;
	}
}
@media screen and (min-width:1301px) and (max-width:1400px){
	.popup{
		width:76%;
		margin-left:-38%;
	}
}
@media screen and (min-width:800px) and (max-width:1300px){
	.popup{
		width:80%;
		margin-left:-40%;
	}
}
@media screen and (min-width:800px) and (max-width:1100px){
	.calendar .box,.calendar .box-tall .box{
		padding:5px 5px;
	}
}
@media screen and (min-width:800px) and (max-width:1000px){
	.popup .inner .innermore .left{
		width:30%;
		display:block;
		margin-bottom:0;
		padding-bottom:0;
		margin-top:0;
		padding-top:0;
	}
	.popup .inner .innermore .right{
		width:100%;
		display:block;
		padding-left:10px;
		padding-right:10px;
	}
	.popup .title, .popup .offer{
		font-size:25px;
	}
	/*.popup a.shop-button{
		font-size:20px;
		padding:10px 15px;
	}*/
	.popup .info{
		    padding-bottom: 30px;
	}
	.popup .inner .innermore{
		padding:70px 10px 30px 10px;
	}
	.popup .inner{
		    padding: 0 0 0 0;
	}

	.popup .inner .innermore .right{
		text-align:center;
	}
	.popup a.shop-button{
		display:inline-block !important;
	}
	.popup .info.orange {
	    margin-top: 0px;
	}
}
@media screen and (min-width:0px) and (max-width:799px){
	.popup .inner .innermore .left{
		display:none;
	}
	.popup .inner .innermore .right{
		width:100%;
		padding-left:20px;
		padding-right:20px;
		text-align:center;
	}
	.popup .title, .popup .offer{
		font-size:1.1em;
	}
	.popup {
    	width: 90%;
    	margin-left: -45%;
	}
	a.bottom-head{
		width: 50%;
	}
	.popup .inner{
		    padding: 0 0 0 0;
	}
	.popup .info {
	    font-size: 1.2em;
	    padding-bottom: 20px;
	}
	.popup .info.orange {
   	 	margin-top: 0px;
	}
	.popup a.shop-button {
	    margin-bottom: 10px;
	}
	.popup a.social{
		width:24px;
		height:24px;
		background-image:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/social_small.png);
		margin:0 10px 0 0px;
		cursor:pointer;
	    -webkit-box-sizing:border-box;
	    -moz-box-sizing:border-box;
	    box-sizing:border-box;
	    display:inline-block;
	    text-decoration:none;
	    border-radius:5px;
	}
	.popup .social.f{background-position:0 0;}
	.popup .social.t{background-position:-25px 0;}
	.popup .social.g{background-position:-49px 0;width:37px;}
	.popup .social.i{background-position:-171px 0;}
	.popup .social.p{background-position:-110px 0;}
}
@media screen and (min-width:640px) and (max-width:799px){
	.hide_on_tablet{
		display:none;
	}
	.show_on_tablet{
		display:block;
	}
}
@media screen and (min-width:400px) and (max-width:799px){

	.calendar .box,.calendar .box-tall{
		width:50%;
		display:inline-block;
	}
	.calendar .box.wide{
		width:100%;
		
	}	
	.hide_on_mobile{
		display:none;
	}
	.show_on_mobile{
		display:block;
	}
	.calendar .box .inner.off{
		background-size: 100%;
	}
	.calendar .box .inner .image .calendar .box.wide .inner .image{
		width:100%;
		/*max-width:300px;*/
		height:auto;
		display:block;
		padding:0;
		margin:0 auto;
		text-align:center;
		margin:auto;
	}
}

@media screen and (max-width:870px){	

	.bottom-ad .fbtn p {
		display:none;
	}
	.bottom-ad .fbtn span {
	    width: 100% !important;
	}
	.bottom-ad .fbtn {
    	width: 50px !important;
	}
	.top-ad p{
		font-size:0.9em;
		width:80%;
	}	
	.top-ad img{
		max-width:80%;
	}
	
}

@media screen and (min-width:0px) and (max-width:640px){
	.bottom-ad.fbtn{
		margin-top:20px;
	}
	.popup .info {
	font-size: 0.8em;}
	.brand_seo_wrapper { display:none;}
	h4.brand_seo, .brand_seo_col
	{ display:none;}
	.brand_seo_col{
		width:100%;
		margin-bottom:20px;
	}
	.brand_seo_full{
	    padding-left:25px;
	    padding-right:25px;
	}
	
	.top-ad p{
		font-size:0.8em;
		width:80%;
	}
	.top-ad img{
		max-width:75%;
	}
	

}

@media screen and (min-width:0px) and (max-width:625px){
	
	.top-ad p{ font-size:0.7em}
	.bottom-ad .fbtn {
    	display:none;
	}
	.brand_seo_wrapper { display:none;}

}


@media screen and (min-width:0px) and (max-width:640px){
	
	.popup a.social{
		width:24px;
		height:24px;
		background-image:url(http://cookson.housecreativeagency.co.uk/advent-2017/assets/img/advent_calendar/social_small.png);
		margin:0 10px 0 0px;
		cursor:pointer;
	    -webkit-box-sizing:border-box;
	    -moz-box-sizing:border-box;
	    box-sizing:border-box;
	    display:inline-block;
	    text-decoration:none;
	    border-radius:5px;
	}
	.popup .social.f{background-position:0 0;}
	.popup .social.t{background-position:-25px 0;}
	.popup .social.g{background-position:-49px 0;width:37px;}
	.popup .social.i{background-position:-171px 0;}
	.popup .social.p{background-position:-110px 0;}
	.top-head{
	    padding: 100px 20px 5px 20px;
	}
	.scrollToTop i{
		display:none !important;
	}

	.calendar .box,.calendar .box-tall{
		width:50%;
		display:inline-block;
	}
	.calendar .box.wide{
		width:100%;
	}	
	.hide_on_mobile{
		display:none;
	}
	.show_on_mobile{
		display:block;
	}
	.calendar .box .inner.off{
		background-size: 100%;
	}	
	.calendar .box .inner .image .calendar .box.wide .inner .image{
		width:100%;
		/*max-width:300px;*/
		height:auto;
		/*max-height:300px;*/
		display:block;
		padding:0;
		margin:0 auto;
		text-align:center;
		margin:auto;
	}

	.popup {
    	width: 100%;
    	margin-left: -50%;
		padding:3px;
	}
	.popup .inner .innermore .right, .popup .inner .innermore .left{
		padding-right:10px;
		padding-left:10px;
	}
	.popup a.shop-button,.popup .offer{
		font-size:15px;
	}
	.quitmark {
    	top: 0px;
    	right: 0px;
	}
	.quitmark.inline {
    	display:inline-block;
    	margin-left:8px;
    	background-color:#c8b597;
		color:#fff;
		text-transform:uppercase;
		font-family:"Futura Medium Header",sans-serif !important;
		font-size:15px;
		text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
		display:block;
		margin-bottom:65px;
		border:2px solid #c8b597;
		border-radius:3px;
		display: inline-block;
	    text-decoration: none;
	    padding: 10px 20px;
	    position: static;
	    text-align: center;
	    display: inline;
	    background-image: none;
	}
	.popup .title {
	    margin-bottom: 25px;
	}
	.popup .info{
	    padding-bottom: 10px;
	}
	.popup .inner .innermore .right, .popup .inner .innermore .left {
    	padding-top: 25px;
    	padding-bottom: 10px;
	}

	.daymark {
    	width: 100px;
    	height: 100px;
	    top: 0px;
	    left: 0px;
    	display:none;
	}

}

/* Samsung Landscape */
@media 
  (max-device-width: 1280px) 
  and (orientation: landscape) { 
  .calendar .box .inner.off, #today-box {
    max-height: 340px;
}

}
/* iPhone Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {  
.popup .info { font-size:0.7em;padding-bottom: 5px}
.popup a.shop-button { margin-bottom:10px;}
.popup .title { margin-top:0px;}
.popup .title, .popup .offer {
    font-size: 1.2em;
}
.popup .offer { padding:15px;}
} 


