/* 
Theme Name: Education Resources Awards
Description: Theme specifically designed as a CMS for ERA
Author: Penny Day
Author URI: http://www.drday.co.uk
Version: 1.0 
. 
General comments/License Statement if any. 
. 
*/

html, body
	{
	box-sizing: border-box;
	height: 100%;
	}

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

.clearfix:after 
	{ 
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; 
	}

.clearfix 
	{ 
	display: inline-block;  
	}

* html .clearfix 
	{  
	height: 1%;  
	}

 /* Hides from IE-mac \*/
.clearfix 
	{  
	display: block;  
	}

.wp-block-separator
	{
	width: 100%;
	clear: both;
	margin: 0.5em 0;
	}


.wp-embed-aspect-21-9.wp-has-aspect-ratio div{
	position: relative;
	padding-bottom: 42.86%; /* 21:9 */
	padding-top: 25px;
	height: 0;
	z-index: 98;
}

.wp-embed-aspect-16-9.wp-has-aspect-ratio div {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	z-index: 98;
}

.wp-block-embed
	{
	margin-left: 0;
	margin-right: 0;	
	}

.wp-block-embed .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


body
	{
	background-color:  #fff;
	background-image:  url(img/era_bg-400.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100%;
	color: #555;
	font-family: poppins, lato, arial, verdana, helvetica, sans-serif;
	margin: 1em 0 1em 0;
	padding: 0;
    width: 100%;
    height: 100%;
	position: relative;
	}



a img
	{
	border: 0;
	}

a
	{
	outline: none;
	text-decoration: none;
	}


#gallery_div
	{
	width: 19em;
	}

#content #gallery, #index_content #gallery
	{
	color: #000;
	text-transform: uppercase;
	background: #d71921;
background: -moz-linear-gradient(right, #a11117 0%, #a2141a 31%, #d71921 100%);
background: -webkit-linear-gradient(right, #a11117 0%,#a2141a 31%,#d71921 100%);
background: linear-gradient(to left, #a11117 0%,#a2141a 31%,#d71921 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a11117', endColorstr='#d71921',GradientType=1 );
	padding: 0.5em;
	margin-bottom: 0.5em;
	display: flex;
	align-items: center;
	font-size: 120%;
	font-weight: 500;
	}

#gallery img, #index_content #gallery img
	{
	padding: 0 1em 0 0.2em;
	display: inline-block;
	}

.clear_div
	{
	clear: both;
	height: 15px;
	font-size: 0px;
	}

#wrapper
	{
	width: 96%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	font-family: poppins, lato, arial, verdana, helvetica, sans-serif;
	line-height: 1.5em;
	padding: 0;
	}

#countdown_container
	{
	float: left;
	clear: left;	
	color: #555;
	}

#countdown_container h2
	{
	color: #000;
	font-weight: 600;
	}

#header
	{
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 1;
	padding: 1em 0 0 0;
	background: transparent;
	color: #000;
	position: relative;
	}

#header.index_header
	{
	width: 100%;
	left: 0;
	background: url(img/flip_bg.png) no-repeat right transparent;
	background-position: 100% 0;
	}

#index_content
	{
	margin-left:50px; 
	padding-top: 20vh; 
	position: relative; 
	z-index: 100;
	width: 96%;
	width: -webkit-calc(100% -50px);
	width: -moz-calc(100% -50px);
	width: calc(100% -50px);
	}

#index_content img
	{
	max-width: 92%;
	height: auto;
	}

#index_title
	{
	font-family: Lato,  poppins, lato, arial, verdana, helvetica, sans-serif;
	text-transform: uppercase;
	margin: 0.4em 0 0 0;
	padding: 0;
	line-height: 1.2em;
	}

#index_h2
	{
	font-weight: 500;
	color: #d71921;
	margin: 0 0 15px 0;
	padding: 0;
	}

#index_h2 #clicktoenter, #index_h2 #clicktoenter:link, #index_h2 #clicktoenter:visited
	{
	font-size: 24px;
	color: #000;
	font-weight: 600;
	padding: 7px 0 7px 0;
	}

#index_h2 #clicktoenter:hover
	{
	color: #d71921;
	}



/* Pop */
@-webkit-keyframes pop {
  20% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  40% {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }
  60% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  80% {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pop {
  20% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  40% {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }
  60% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  80% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.pop {
  display: inline-block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.pop:hover, .pop:focus, .pop:active {
  -webkit-animation-name: pop;
  animation-name: pop;
  -webkit-animation-duration: 0.8s;
  animation-duration: 0.8s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}


#index_title a:link, #index_title a:visited
	{
	color: #000;
	}

#index_title a:hover
	{
	color: #d71921;
	}


#index_h2 a:link, #index_h2 a:visited
	{
	color: #d71921;
	}

#index_h2 a:hover
	{
	color: #000;
	}

#inner_wrapper
	{
	color: #555;
	margin: 0 0 -5px 0;
	padding: 0;
	z-index: 70;
	background: transparent;
	overflow: hidden;
	display: flex;
	flex-wrap: nowrap;
	}

#content
	{
	margin:0;
	padding: ;
	z-index: 12;
	width: 100%;
	}



.sponsor_title_logo
	{
	padding-top: 1em;
	}

#share_this
	{
	position: absolute;
	right: 0;
	bottom: -0.3em;
	}

#share_this p
	{
	display: inline;
	margin: 0;
	padding: 0;
	font-style: italic;
	}

#share_this a img
	{
	opacity: 0.7;
	display: inline;
	}

#share_this a:hover img
	{
	opacity: 1;
	}

#content_inner
	{
	background: #fff;
	padding: 1em 1em 2em 2em;
	}

#navigation
	{
	text-align: left;
	width: 280px;
	float: left;
	text-transform: uppercase;
	position: relative;
	z-index: 90;
	padding: 0;
	margin: 0 7px 0 0;
	}

.new_menu
	{
	font-weight: 600;
	color: #000;
	}

#nav
	{
	margin: 0;
	padding: 0;
	}

#logo_container
	{
	text-align: left;
	}

#logo_container img
	{
	max-width: 100%;
	height: auto;
	}

#era_logo
	{
	margin: 0;
	padding: 0;
	font-size: 0px;
	display: inline-block;
	vertical-align: bottom;
	width: auto;
	}

#header_tagline
	{
	display: inline-block;
	vertical-align: top;
	margin: 0;
	padding: 0.6em 1em 0.6em 1em;
	color: #000;
	}

#header_tagline h1, #header_tagline h2
	{
	margin: 0;
	padding: 0;
	font-size: 18px;
	color: #000;
	font-weight: 500;
	line-height: normal;
	}

#header_tagline h1
	{
	font-size: 30px;
	font-family: Lato,  poppins, lato, arial, verdana, helvetica, sans-serif;
	padding: 0 0 0.2em 0;
	}

#menu_btn
	{
background: #282828;
background: -moz-linear-gradient(left, #282828 0%, #808080 81%, #dedede 100%);
background: -webkit-linear-gradient(left, #282828 0%,#808080 81%,#dedede 100%);
background: linear-gradient(to right, #282828 0%,#808080 81%,#dedede 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d7043', endColorstr='#eab96c',GradientType=1 );
	color: #fff;
	display: none;
	margin-top: 0.3em;
	padding: 0.3em;
	float: left;
	font-size: 1.2em;
	}

#menu-menu-1 li.red_btn, #menu-menu-1 li.red_btn a
	{
background: #c00000 !important;
	}

#menu_btn h2, #menu_btn .dashicons-menu-alt3
	{
	display: inline-block;
	padding-top: 0.15em;
	margin-right: 0.3em;
	}

#menu_btn h2
	{
	display: inline-block;
	font-weight: 500;
	color: #fff;
	margin: 0;
	padding: 0 0.5em;
	font-size: 1.2em;
	}

#menu_btn a:link, #menu_btn a:visited
	{
	color: #fff;
	}

#header_tagline #menu_btn a:hover h2
	{
	color: #d71921;
	}

#menu_btn a:hover svg rect
	{
	fill: #d71921;
	}

#navigation ul
	{
	width: 240px;
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 0;
	}



#content h1
	{
	font-weight: 500;
	font-size: 150%;
	text-transform: uppercase;
	padding: 0.3em;
	margin-left: -0.3em;
	border-bottom: 1px solid #999;
	font-family: Lato,  poppins, lato, arial, verdana, helvetica, sans-serif;
	line-height: 1.3em;
	}

#content h1.page_title
	{
	padding: 0 0.3em 0.3em 0.3em;
	margin-top: 0;
	}

#content h1.page_title .title_span
	{
	text-transform: none;
	display: block;
	line-height: 2em;
	}

#content h2
	{
	font-weight: 500;
	font-size: 110%;
	text-transform: uppercase;
	padding: 0.3em;
	margin-left: -0.3em;
	}

#content h3
	{
	font-size: 110%;
	padding: 1em 0 0 0;
	margin: 0;
	}

#content p span
	{
	color: #d71921;
	font-size: 110%;
	margin-top: 0;
	}

#content p
	{
	font-size: 100%;
	padding: 0.3em;
	margin-left: -0.3em;
	margin-top: 0;
	margin-bottom: 0.7em;
	}

#content a:link, #content a:visited
	{
	font-weight: 600;
	color: #d71921;
	}

#content a:hover
	{
	font-weight: 600;
	color: #26333e;
	}

#content_inner ul
	{
	margin-top: 0;
	}

#content ul
	{
	font-size: 100%;
	list-style-type: square;
	margin: 0;
	padding: 0;
	display: inline;
	}

#content ul li
	{
	line-height: 1.6em;
	margin: 0 0 0 30px;
	}

#content ul ul
	{
	font-size: 80%;
	font-style: italic;
	}

#content .r1, #content .r1 p, #content .r1 h2
	{
	background: #efefef;
	}

#content .testimonial
	{
	}

#content .testimonial_award_category_link
	{
	display:inline-block;
	font-style: italic;
	}

#content .testimonial img
	{
	float: left;
	margin-top: 5px;
	margin-left: 5px;
	padding-left: 0.5em;
	}

#content .h2_testimonial
	{
	margin: 0.5em 0 0.8em 0.5em;
	border-bottom: 1px solid #999;
	padding-bottom: 0.5em;
	font-weight: 600;
	}

#content .testimonial h2 a
	{
	color: #000;
	}

#content .testimonial h2 a:hover
	{
	color: #d71921;
	}

#content .testimonial_content
	{
	margin-left: 90px;
	}

#content .testimonial p
	{
	margin-top: 12px;
	margin-bottom: 5px;
	}

#content .feature_img
	{
	float: right;
	margin: 0 0 1em 1em;
	padding: 0.5em;
	background: #dfdfdf;
	max-width: 50%;
	height: auto;
	}

#content .img_right
	{
	float: right;
	margin: 0 0 12px 12px;
	max-width: 50%;
	height: auto;
	}

#content .img_left
	{
	float: left;
	margin: 0 12px 12px 0;
	max-width: 50%;
	height: auto;
	}

#content img
	{
	max-width: 96%;
	height: auto;
	}

#footer
	{
	width: 100%;
	max-width: 1200px;
	margin: 1em 0 1em 0;
	padding: 0;
	clear: both;
	border-top: 1px solid #000;
	}

#footer_inner
	{
	position: relative;
	background: #fff;
	padding: 0 0.5em 3em 0.5em;
	margin: 0;
	}

#footer_inner figure, #footer_inner .wp-block-image
	{
	margin-bottom: 0;
	}

#index_footer h1, #footer h1
	{
	display: inline;
	font-size: 16px;
	text-transform: uppercase;
	color: #000;
	font-weight: 500;
	margin: 0;	
	padding: 3px 0px 1.5em 3px;
	}


#privacypolicy
	{
	position: absolute;
	bottom: 0;
	right: 0;
	text-decoration: none;
	background: #929497;
	color: #fff;
	font-size: 16px;
	padding: 0.6em 1em;
	}

#privacypolicy:hover
	{
	background: #cc2623;
	}

#sponsors_logos h1
	{
	display: block;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #555;
	font-family: poppins, lato, arial, verdana, helvetica, sans-serif;
	font-size: 16px;
	}

#sponsors_logos
	{
	top: 2em;
	text-align: left;
	padding: 0.5em 0.5em 0.3em 0.5em;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: flex-start;
	}

#sponsors_logos .logos
	{
	display: inline-block;
	margin: 1.7em 1em 0.5em 0;
	padding: 0;
	}

#sponsors_logos .logos img
	{
	margin: 0.8em 4px 5px 4px;
	padding: 0;
	max-width: 96%;
	display: inline-block;
	}


.pop
	{
	display: inline-block;
	vertical-align: bottom;
	}

#content .sponsor
	{
	width: 240px;
	margin-right: 14px;
	margin-bottom: 14px;
	float: left;
	padding-left: 7px;
	background: url(img/arrow_right.gif) no-repeat right;
	line-height: 30px;
	display: block;
	font-size: 18px;
	}

.img_flex_container
	{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	}

.img_flex_item
	{
	margin-top: 1em;
	flex-basis: 50%;
	}

.img_flex_item img
	{
	height: auto;
	}

#content .winner_div
	{
	width: 96%;
	margin: 12px 6px 0 6px;
	padding: 7px;
	float: left;
	height: 150px;
	background: #fff;
	}

#content .winner_full_div
	{
	width: 96%;
	margin: 0px 6px 0 0px;
	padding: 1.5em 7px 2em 18px;
	clear: both;
	}

#content .winner_full_div:nth-child(2n+2)
	{
	background: #f2f2f2;
	}

#content .winner_full_div h1
	{
	font-size: 16px;
	margin: 0;
	padding: 0;
	width: 140px;
	border-bottom: 0;
	font-weight: 600;
	}

#content .winner_full_div h5
	{
	font-weight: 600;
	font-size: 14px;
	}

#content .winner_full_div h5.gold
	{
	color: #b08a2a;
	}

#content .winner_full_div h1, #content .winner_full_div h1 a,
#content .finalist_full_div h1, #content .finalist_full_div h1 a
	{
	color: #555;
	}

#content .winner_full_div h1 a:hover,
#content .finalist_full_div h1 a:hover
	{
	color: #d71921;
	}

#judges .winner_full_div h1
	{
	font-weight: 600;
	padding-bottom: 0.2em;
	}

#content .winner_div h1 span, #content .winner_full_div h1 span
	{
	color: #555;
	text-transform: none;
	display: block;
	font-size: 12px;
	}

#content .winner_full_div h1 span
	{
	text-transform: none;
	display: inline;
	font-size: 12px;
	}

#content .winner_full_div h5
	{
	margin: 0.8em 0 0.3em 0;
	}

#content .winner_full_div p
	{
	margin-bottom: 0;
	padding-bottom: 0;
	width: 95%;
	font-size: 16px;
	}

#content .winner_full_div p span
	{
	font-size: 100%;
	}

#content .winner_full_div p
	{
	padding: 0 0 0 2em;
	margin-top: 0;
	font-weight: 600;
	}

#content .winner_full_div.judge p
	{
	font-weight: normal;
	font-size: 15px;
	color: #555;
	}

#content .winner_full_div.judge
	{
	padding-top: 1em;
	padding-bottom: 1.5em;
	}

#content .winner_full_div p 
	{
	color: #555;
	}

#content .winner_full_div h1, #content .winner_full_div p
	{
	width: 96%;
	}

#content .winner_div img
	{
	float: right;
	padding-left: 12px;
	}

#content img.judge_profile
	{
	border: 1px solid #555;
	padding: 5px;
	background: #fff;
	float: right;
	width: 30%;
	max-width: 170px;
	height: auto;
	margin: 0 4px;
	}

#content .winner_full_div:nth-child(2n+2) img.judge_profile
	{
	background: #f2f2f2;
	}

#content .finalist_full_div
	{
	width: 305px;
	margin: 12px 6px 0 6px;
	padding: 7px;
	}

#content .finalist_full_div
	{
	width: 90%;
	}

#content .finalist_div h1, #content .finalist_full_div h1
	{
	font-size: 1.2em;
	text-transform: uppercase;
	padding: 0.3em;
	margin-left: -0.3em;
	border-bottom: 1px solid #999;
	}

#content .finalist_div h1 span, #content .finalist_full_div h1 span
	{
	color: #555;
	text-transform: none;
	display: block;
	font-size: 16px;
	}

#content .finalist_full_div h1 span
	{
	display: inline;
	}

#content .finalist_div p, #content .finalist_full_div p
	{
	margin-bottom: 0;
	padding-bottom: 0;
	color: #d71921;
	font-size: 16px;
	}

#content .finalist_full_div p
	{
	margin: 0em 1em 0.4em 2em;
	}

#content .finalist_div p span, #content .finalist_full_div p span
	{
	margin-bottom: 0;
	padding-bottom: 0;
	color: #555;
	font-style: italic;
	font-size: 16px;
	}

/* Award Category
----------------------------------------------------------------------------------*/

#content_inner .award_category_group
	{
	margin-bottom: 1.8em;
	padding: 1em 0 1em 1em;
	background: #f2f2f2;
	}

#content_inner .award_category_group .winner_full_div
	{
	border-bottom: 1px solid #555;
	}

#content_inner .award_category_group .winner_full_div:last-child
	{
	border-bottom: 0;
	}

.current_winner_div
	{
	background: #f2f2f2;
	padding: 1em 2em;
	margin-top: 1.6em;
	}

.sponsor_association
	{
	font-weight: 500;
	font-style: italic;
	color: #555;
	}

#content h1.page_title .sponsor_association
	{
	text-transform: none;
	font-size: 0.8em;
	display: block;
	}

.current_winner_div h3
	{
	margin-bottom: 0.2em;
	margin-top: 0.2em;
	}

.enternow
	{
	float: right;
	margin: 0 0 1em 1em;
background: #c00000;
	}

.enternow:hover
	{
background: #282828;
transition: all 0.5s ease;
	}

.category_sponsor
	{
	float: right;
	margin: 0 0 0.5em 0.5em;
	background: #fff;
	padding: 0 0 0.5em 0.5em;
	}

.new_category, .new_criteria
	{
	padding-left: 1em;
	margin: 0;
	color: #555;
	}

.dashicons-star-filled
	{
	color: #555;
	}

.single_category .dashicons-star-filled
	{
	color: #282828;
	}

.single_category.new_category, .single_category.new_criteria
	{
	padding-left: 0;
	color: #282828;
	}



@media only screen and (min-width: 400px) {

	body
	{
	background-image:  url(img/era_bg-600.jpg);
	}
}

@media only screen and (min-width: 600px) {

	body
	{
	background-image:  url(img/era_bg-900.jpg);
	}
}

@media only screen and (min-width: 850px) {
	body
	{
	background-image:  url(img/era_bg.jpg);
	}
}

@media only screen and (max-width: 960px), only screen and (max-device-width: 960px) {


	#header_tagline h1
	{
	font-size: 2vw;
	}

	#header_tagline h2
	{
	font-size: 1.7vw;
	}
}

@media only screen and (max-width: 890px), only screen and (max-device-width: 890px) {
	#menu_btn{
	display: block;
	}

	#nav, #navigation
	{
	display: none;
	}

	#content
	{
	width: 100%;
	clear: both;
	margin: 0;
	}

	#content_inner
	{
	padding-top: 0;
	padding-left: 5px;
	padding-right: 5px;
	}

	#era_logo, #header_tagline
	{
	vertical-align: top;
	}

	#header
	{
	margin: 0 0 1em 0;
	padding: 0;
	}

	#footer
	{
	margin-top: 0;
	}

	#content
	{
	margin:0;
	padding: 0;
}

@media only screen and (max-width: 730px), only screen and (max-device-width: 730px) {

	#index_content
	{
	margin-left:0;
	}
	
	#header_tagline
	{
	padding-left: 0;
	padding-top: 0.5em;
	display: block;
	}

	#header_tagline h1
	{
	font-size: 5vw;
	margin-left: 0.5em;
	}

	#header_tagline h2
	{
	display: inline-block;
	font-size: 3.5vw;
	}

	#content_inner
	{
	padding-top: 0.4em;
	padding-bottom: 50px;
	}

	#logo_container
	{
	text-align: center;
	}
}

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {

	#content .team .img_right
	{
	display: none;
	}

	#content .sponsor_title_logo
	{
	max-width: 50%;
	float: right;
	margin-left: 7px;
	margin-right: 0px;
	padding-left: 0;
	}

	.index_header
	{
	display: none;
	}
	
	#index_content
	{
	padding-top: 16px;
	margin-left: 20px;
	}

	#content .team .img_right
	{
	display: none;
	}
}

@media only screen and (max-width: 454px), only screen and (max-device-width: 454px) {

	#content img.judge_profile
	{
	width: 33%;
	}

	#content .team .textbox, #content .team .textbox2, #content .team .textbox3
	{
	margin: 0 25px 0 0; 
	}

	#content .testimonial p
	{
	margin-left: 0;
	}

	#content .team p, #content .team h3
	{
	padding-left: 0;
	word-wrap: break-word;
	}

	#era_logo
	{
	max-width: 100%;
	height: auto;
	}

	body
	{
	margin-top: 0.5em;
	}

	#content, #footer, #wrapper
	{
	width: 100%;
	}

	#header
	{
	padding: 0 0.5em 0 0.5em;
	}
}

@media only screen and (max-width: 350px), only screen and (max-device-width: 350px) {
	#content .testimonial img
	{
	display: none;
	}

}


#inner_wrapper .gfield_label
	{
	font-weight: 700 !important;
	color: pink !important;
	}
