/*
	Theme Name: bbcearthmagazine.co.uk
	Theme URI: www.bbcearthmagazine.co.uk
	Description: Wordpress theme for www.bbcearthmagazine.co.uk
	Version: 1.0
	Author: SMACK
	Author URI: http://smackagency.com
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	 background: url(/wp-content/themes/bbcearth/img/BBC_EARTH_PMS_GRAD-2.jpg) no-repeat center center fixed; 
 	 -webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
}
body {
	color:#444;
	font-family: 'PreloSlablight';
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#339ecc;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

body {
    color:#FFFFFF;
    margin-top:20px;
    font-family:"PreloSlablight", Arial, sans-serif;
}

p strong {font-family:"Kamerik105bold", Arial, sans-serif;}

h2 { line-height:inherit; font-weight:inherit; font-size:inherit; text-transform:uppercase;}
ol { padding:0px; margin:15px; }
ul {list-style:outside; list-style-type:disc; padding:0px; }
ul li { margin-left:20px;}

img {border:0px;}

.container { min-width:320px; max-width:940px; margin:auto;}

.logo {margin-left:20px; margin-right:20px; margin-top:40px; margin-bottom:20px;}
.logo img {max-width:100%;}
.sell { color:#010101; font-size:15px; padding:20px 20px 0px 20px; line-height:20px;}
.sell span { font-size:17px; line-height:normal;}
.topnav {padding-top:30px; float:none; width:100%; font-family:'Kamerik105bold'; padding-bottom:0px;}
.foot {padding-top:20px; float:left; width:100%; font-family:'Kamerik105bold'; padding-bottom:60px;}
.foot #follow { padding-top:20px;}
.foot #follow li {display:inline; list-style:none; padding:0px; margin:0px;}
.competitions { font-size:30px;  font-family: 'Kamerik105book'; color:#EB008B; background-color:#fff;}
.compbody {background-color:#ffffff;}
.topsplash {padding-top:20px;}
.topsplash img  {width:100%;}
.comp-page-title { font-size:26px; margin-bottom:10px;  font-family:'Kamerik105bold'; color:#010101; line-height:27px; text-transform:uppercase;}
.comp-page-selltc {color:#010101; font-size:15px;}
.formspot { margin-top:15px; margin-bottom:15px; color:#050202;}
.footertc {color:#333; font-size:10px; line-height:16px; padding-bottom:20px;}
.footertc_title {font-size:16px;  font-family: 'Kamerik105bold'; color:#010101;}
.footertc p, .footertc li {font-family: 'Kamerik105book';}

@media screen and (max-width: 650px) {
 .col {background-color: #fff; width:100%; display:block;}
 .col img {width:100%;}
 .innerl { padding:15px 15px 15px 15px;}
 .innerr { padding:0px 15px 0px 15px;}
 .hide-holder { display:none;}
 .competitions {padding-bottom:0px;}
 .foot, .topnav {font-size:13px;}

 }
 
@media screen and (min-width: 651px) {
 .col {background-color: #fff; width:100%; float:left; display:block;}
 .col img {width:100%;}
 .innerl { padding:20px 20px 20px 20px;}
 .innerr, .col:nth-child(2n+1) .innerl { padding:20px 20px 20px 20px;}
 .hide-holder { display: inline;}
 .competitions {padding:20px 20px 0px 20px;}
 .foot, .topnav {font-size:16px;}

 }

@font-face {
    font-family: 'coconregular';
    src: url('fonts/ufonts.com_cocon-regular-opentype-webfont.eot');
    src: url('fonts/ufonts.com_cocon-regular-opentype-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ufonts.com_cocon-regular-opentype-webfont.woff') format('woff'),
         url('fonts/ufonts.com_cocon-regular-opentype-webfont.ttf') format('truetype'),
         url('fonts/ufonts.com_cocon-regular-opentype-webfont.svg#coconregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
	font-family: 'Kamerik105book';
	src: url('fonts/Kamerik105-Book.eot');
	src: url('fonts/Kamerik105-Book.eot?#iefix') format('embedded-opentype'),
		url('fonts/Kamerik105-Book.woff') format('woff'),
		url('fonts/Kamerik105-Book.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Kamerik105bold';
	src: url('fonts/Kamerik105-Bold.eot');
	src: url('fonts/Kamerik105-Bold.eot?#iefix') format('embedded-opentype'),
		url('fonts/Kamerik105-Bold.woff') format('woff'),
		url('fonts/Kamerik105-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'PreloSlablight';
	src: url('fonts/PreloSlab-Light.eot');
	src: url('fonts/PreloSlab-Light.eot?#iefix') format('embedded-opentype'),
		url('fonts/PreloSlab-Light.woff') format('woff'),
		url('fonts/PreloSlab-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*------------------------------------*\
    cookie
\*------------------------------------*/

#catapult-cookie-bar, .privacycookie { background-color:#40a2be; font-family:"Kamerik105bold", Arial, sans-serif; color:#fff; font-size:12px;}