/*
Theme Name: Brower Youth Awards
Description: Custom theme for BYA
Author: Lilli Keinänen 
Author URI: http://keinaenen.com/
Version: 1.0
*/

/* Reset browser defaults */

* {
	margin: 0;
	padding: 0;
	border: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Custom styling to override browser defaults */


ul {
	list-style: none;
}


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

input {
    border: solid #000 1px;
}

p {
    margin: 0 0 1em 0;
}

/* Header styles */

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.2em 0;
    color: #20809E;
    display: block;
    font-weight: 300;
    
}


h1 {
    font-size: 35px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 25px;
    text-transform: uppercase;
}

h4 {
    font-size: 24px;
    color: #4a4c5b;
    text-transform: uppercase;
    font-weight: normal;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
    text-transform: uppercase;
    color: #4a4c5b;
}



/* Link styles */

a {
    color: #20809E;
}

a:link, a:visited {
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: underline;
    color: #20809E;
}

/* Wordpress styles */

.alignleft {
	float: left;
	padding: 0 10px 10px 0;
}

.alignright {
	float: right;
	padding: 0 0 10px 10px;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

/************************
 * Start editing here! *
 * ********************/

/* Body */

html, body {
    height: 100%;
    
}

body {
	background: #fff;
	font-family: helvetica, arial, sans-serif;
	color: #1e1e1e;
	font-size: 16px;
	font-family: lato, arial, helvetica, sans-serif;
	position: relative;
}

.left_side, .right_side, .left_bottom, .right_bottom {
	position: absolute;
	z-index: -1;
}

.left_side {
	top: 0px;
	left: 0;
}

.right_side {
	top: -64px;
	right: 0;
}

.right_side .slidered {
	top: 441px;
	right: 0;
}

.left_bottom {
	bottom: 0;
	left: 0;
}

.right_bottom {
	bottom: 0;
	right: 0;
}



/* Wrapper */

#wrapper {
	clear: both;
	margin: 0 auto 0px auto;
	overflow: hidden;
	width: 100%;
	min-height: 100%; 
	height: auto !important; 
	height: 100%; 
	overflow: hidden !important;
	position: relative;
}

/* Header */

header h1 {
	position: absolute;
	top:0;
	left: 0;
	z-index: 10000000;
}

@media (min-width: 1100px) {
	header h1 {
		left: 80px;
	}
}

header h1 img {
	height: 159px;
}

/* Navi */

nav#main {
	width: 100%;
	height: 70px;
	background: #20809E;
	z-index: 9999999;
}

nav ul {
	width: 950px;
	margin: 0px auto;
	line-height: 70px;
	font-size: 13px;
	text-transform: uppercase;
	text-align: right;
	font-weight: normal;
}

nav li {
	display: inline;
	padding: 27px 0px 23px 0px;
	margin: 0 15px;
	position: relative;
}

nav#main li a {
	color: #ffffe7;
	padding: 0 2px 0 3px;
}

nav#main li a:hover {
	color: #001a40;
	padding: 0 2px 0 3px;
}


nav#main li.current-menu-item a {
	border-bottom: 1px solid #001a40;
	text-decoration: none;
	color: #001a40 !important;
}

nav#main li.menu-item-431, nav#main li.menu-item-437  {
	border-right: 3px dotted #79b3c5;
	padding: 27px 15px 23px 15px;
	margin: 0;
}

nav#main li.menu-item-435 {
	font-weight: bold;
	text-transform: uppercase;
	line-height: 15px;
}

nav#main li.menu-item-430 {
	font-size: 20px;
	padding-right: 0;
}

#content nav.anchors ul {
	list-style-type: none !important;
	text-align: center;
	line-height: 1em;
	padding: 10px;
	position: relative;
	top: -50px;
}

#content nav.anchors ul li {
	display: inline !important;
	padding: 10px;
	background: #f6f6f6;
	margin: 0;
}

#content nav.anchors li:before {
	content: "";
	display: inline;
}

#footernav {
	clear: both;
}

#footernav ul {
	text-align: center;
	font-size: 11px;
}

#footernav a:link, #footernav a:visited {
	color: #4a4c5b;
}

#footernav li {
	margin: 5px; 
}

#footernav ul li a.red_underline {
	text-transform: none;
	color: #186178;
}

#footernav li.current_page_item a {
	color: #999;
	text-decoration: underline;
}

#footernav ul.bottom_nav {
	text-transform: none;
}

/* Twitter */

img.avatar, div.header time.dt-updated {
	display: none !important; 
}

/* Dropdown */

nav#main ul.sub-menu {
	width: 157px;
	height: 183px;
	padding: 5px 5px 5px 5px;
	position: absolute;
	line-height: 1em;
	font-size: 12px;
	text-transform: none;
	top: 66px;
	left: -9999px;
	color: #ffffe8;
	overflow: hidden;
	z-index: 10000000;
	background-color: #20809E;
}

ul.sub-menu li {
	display: block;
	padding: 10px 0;
	text-align: center;
	font-weight: normal;
	border-bottom: 3px dotted #79b3c5;
}


ul.sub-menu li a:hover {
	text-decoration: none;
}

#main li:hover ul {
	left: -6px;
	animation: drop 0.1s;
	-webkit-animation: drop 0.1s; /* Safari and Chrome */
	
}

#main li:hover a { 
	background: none;
	text-decoration: none;
}

@keyframes drop {
	from {height: 0px;}
	to {height: 163px;}
}

@-webkit-keyframes drop /* Safari and Chrome */
{
	from {height: 0px;}
	to {height: 163px;}
}

	
/* Content */

#content {
	clear: both;
	padding: 100px 0 20px 0;
	width: 950px;
	margin: 0 auto;
}

.home #content {
	padding-top: 40px;
}

#content ul, #content ol {
	padding-left: 20px;
	font-size: 18px;
}

#content ul li:before {
      content:'\2022';
      display: block;
      position: relative;
      max-width: 0px;
      max-height: 0px;
      left: -15px;
      top: -1px;
      color: #20809E;
}

.dot_bg, .query {
	/*background: url(img/content_bg_dots.gif);*/
	width: 100%;
	overflow: hidden;
	padding: 20px 0;
	margin: 0 0 60px 0;
	clear: both;
}



.centered {
	width: 950px;
	margin: 0 auto;
}
p span.ingres {
	font-size: 18px;
	font-family: 'open sans', arial, helvetica;
	color: #2f2f2f;
	padding: 5px 0;
	display: block;
}

.centered h2 {
	margin-bottom: 0.2em;
}

/* Post */

.post p {
	line-height: 1.5;
}

/* Awardees page */

#query .dropdown input {
	display: block;
	float: left;
	clear: both;
}

.dropdown {
	padding: 10px;
	float: left;
	width: 210px;
}

.dropdown p {
	line-height: 1;
}

#content .dropdown ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	position: relative;
	width: 220px;
}

#content .dropdown ul li {
	border: 5px solid #ccc;
	padding: 10px;
	border-radius: 25px;
}

#content .dropdown li:before {
	content: "";
}

#content .dropdown ul li ul {
	border: 1px #ccc solid;
	background: #fff;
	width: 180px;
	padding: 5px 3px 10px 0px;
	position: absolute;
	text-transform: none;
	top: 43px;
	left: -9999px;
	overflow: hidden;
	width: 165px;
}

#content .dropdown ul li ul li {
	display: block;
	border: none;
	padding-right: 5px;
	
}

#content .dropdown ul li ul.menu4 li {
	padding: 3px 10px;
}

.menu4 td {
	vertical-align: top;
	padding: 0 0 5px;
}

#content .dropdown ul li:hover ul {
	left: 25px;
}

#content .dropdown ul li:hover ul {
	left: 25px;
	animation: dropon 0.1s;
	-webkit-animation: dropon 0.1s; /* Safari and Chrome */

}

@keyframes dropon {
	from { 
		left: 25px;
		transform: scale(1,0);
		-ms-transform: scale(1,0); /* IE 9 */
	}
	to {
		left: 25px;
		transform: scale(1,1);
		-ms-transform: scale(1,1); /* IE 9 */
	}
}

@-webkit-keyframes dropon { /* Safari and Chrome */
	from {
		left: 25px;
		-webkit-transform: scale(1,0); /* Safari and Chrome */
	}
	to {
		left: 25px;
		-webkit-transform: scale(1,1); /* Safari and Chrome */
	}
}

ul.mouseout1, ul.mouseout2, ul.mouseout3, ul.mouseout4 {
	animation: dropoff 0.5s;
	-webkit-animation: dropoff 0.5s; /* Safari and Chrome */
}

@keyframes dropoff {
	from {
		left: 25px;
	}
	to {
		left: 25px;
	}
}

@-webkit-keyframes dropoff { /* Safari and Chrome */
	from {
		left: 25px;
	}
	to {
		left: 25px;
	}
}

p.filter a {
	font-size: 12px;
	color: #666;
	margin: 0;
	text-decoration: none;
}

p.filter {
	background: url(img/arrow.jpg) no-repeat center right;
	margin: 0;
}

p.header {
	color: #20809E;
	text-transform: uppercase;
}
p.checkbox {
	float: left;
	position: relative;
	top: -2px;
	padding: 0 0 0 5px;
	margin: 0;
	font-size: 12px;
}

input[type="submit"], input[type="button"]  {
	font-size: 14px;
	border-radius: 25px;
	border: none;
	margin: 0 5px;
	padding: 10px 20px;
}

input[type="submit"] {
	background: #20809E;
	color: #fff;	
}

input[type="button"] {
	background: #ccc;
	color: #999;	
}


input[type="submit"]:hover, input[type="button"]:hover {
	background: #000;
	text-decoration: none;
	
}

.buttons a:hover {
	text-decoration: none;
}

.buttons {
	text-align: center;
	clear: both;
	padding: 15px 0;
}

.awardees-block {
	clear: both;
}

.awardees-block h5 {
	margin: 2em 0;
}

td.awardee {
	width: 270px;
	padding: 0 18px 30px 18px;
	float: left;
	overflow: hidden;
	vertical-align: top;
}

.selectioncommittee {
	height: auto;
	overflow: hidden;
	width: 950px;
	clear: both;
	padding: 25px 0;
}

.selectioncommittee img {
	float: left;
	padding: 10px 25px 10px 0;
}

.selectioncommittee p {
	width: 705px;
	float: right;
}

.awardee h2, .selectioncommittee h2 {
	font-size: 32px;
}

.awardee h2.longtitle, .selectioncommittee h2.longtitle {
/*	font-size: 23px;
	line-height: 1;
	height: 45px;
	vertical-align: middle;
	margin-top: 5px;
*/
}

.awardee h3, .selectioncommittee h3 {
	font-size: 20px;
	color: #4a4c5b;
	text-transform: uppercase;
	font-weight: normal;
}

.awardee p a, .selectioncommittee p a {
	text-transform: uppercase;
}

a.book {
	text-transform: uppercase;
	font-size: 14px;
	background: url(img/book_bg.jpg);
	padding: 15px;
	color: #fff;
	margin: 20px auto;
}
/* Tables */


table img, .awardee img, .selectioncommittee img {
/*	border: 5px solid #fff;
	box-shadow: 0px 1px 5px #aaa;
	position: relative;
	left: 3px; */
}

td {
	vertical-align: top;
	padding: 0 20px 30px 0;
	
}

/* table.two_columns {
	width: 950px;
	margin: 0 auto;
}

.two_columns td {
	vertical-align: top;
	padding: 15px 140px 15px 0;
	width: 390px;
	text-transform: uppercase;
	font-weight: bold;
	color: #4a4c5b;
}

.two_columns_contact td {
	width: 300px;
	padding: 0 20px 10px 0;
	vertical-align: top;
}

.two_columns_contact img {
/*	border: none;
	box-shadow: none;
	position: relative;
	top: 7px;*//*
	padding: 0 25px 0 0;
}

.home .three_columns a:link, .home .three_columns a:visited {
	color: inherit;
	text-decoration: underline;
}

.three_columns td {
	vertical-align: top;
	padding: 15px 35px 15px 0;
	width: 295px;
}

.four_columns td {
	vertical-align: top;
	padding: 15px;
	width: 25%;
}
*/ 
/* Winner page styles */

.winnercaption {
	text-transform: uppercase;
	color: #4a4c5b;
	margin: 2em 0;
}

.video_title {
	margin-top: 40px;
}

#content iframe {
	margin-bottom: 20px;
/*	border: 5px solid #fff;
	box-shadow: 0px 1px 5px #aaa;
	position: relative;
	left: 3px; */

}

.left {
	float: left;
	width: 475px;
	padding: 0 65px 0 0;
}


.single-winner #content, .single-selection #content {
	background: url(img/content_divider.jpg) 540px 0px repeat-y;
	overflow: hidden;
	margin: 70px auto;
	padding: 0 0 40px 0;
}
/* Sidebar */

.right {
	float: left;
	width: 340px;
	padding: 0 0 0 70px;
}

.right section {
	overflow: hidden;
	padding: 0 0 60px 0;
}

.info_item {
	display: block;
	line-height: 25px;
	padding: 10px 0;
}

.info_item img {
	padding: 0 20px 0 0;
	position: relative;
	top: 8px;
}

/* Sponsors */

p.planethero {
	text-transform: uppercase;
	font-size: 22px;
	display: inline;
	padding-right: 100px;
}
.supporters section {
	width: 950px;
	margin: 0 auto;
	clear: both;
}

section.dots {
	width: 100%;
	background: url(img/horizontal_dots.jpg) repeat-x;
	height: 12px;
	margin: 15px 0;
}
.logos {
	text-align: center;
}
img.sponsor {
	padding: 20px 10px;
	vertical-align: middle;
	display: inline-block;
}

img.priority1 {
	max-height: 120px;
	max-width: 500px;
}

img.priority2 {
	max-height: 85px;
	max-width: 300px;
}

img.priority3 {
	max-height: 85px;
	max-width: 300px;
}

img.priority4 {
	max-height: 70px;
	max-width: 200px;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); 
	filter: gray;
	-webkit-filter: grayscale(100%)
}
.sponsor_text td {
	width: 260px;
	padding: 70px 85px 70px 0;
	vertical-align: top;
	font-size: 14px;
	color: #2f2f2f;
}

.sponsor_text td img {
	border: none;
	box-shadow: none;
	display: block;
}
.sponsor_text td.red_text {
	padding-right: 0;
	color: #20809E;
	text-transform: uppercase;
}
/* Footer */

footer {
	clear: both;
	margin: 0 auto;
	background: url(img/footer_bg.jpg) no-repeat;
	color: #2f2f2f;
	padding-top: 20px;
	padding-bottom: 100px;
	width: 950px;
}

footer section {
	float: left;
	width: 220px;
	padding: 0px 17px 40px 0; 
}

footer h5 {
	padding-bottom: 20px;
}

.connect p {
	line-height: 25px;
	font-size: 15px;
	font-weight: bold;
}

footer .connect a:link, footer .connect a:visited {
	color: inherit;
}

footer section.connect img {
	padding: 0 10px 0 0;
	position: relative;
	top: 7px;
}

footer section.aboutus {
	width: 200px;
	padding-right: 37px;
}

#search {
	width: 950px;
	margin: 0 auto;
	text-align: center;
}

#search input {
	padding: 3px 6px;
	border: 1px solid #999;
	border-radius: 25px;
}

#search input[type="submit"] {
	border: none;
	font-size: 10px;
}

/* Slider */

#slider {
	position: relative;
	margin: 0 auto;
	width: 100%;
	height: 435px;
	overflow: hidden;
}


/*
	root element for the scrollable.
	when scrolling occurs this element stays still.
*/

.scrollable, .top_image {

	/* required settings */
	position:relative;
	overflow:hidden;
	width: 100%;
	height: 435px;
	margin: 0 0px;
}

/*
	root element for scrollable items. Must be absolutely positioned
	and it should have a extremely large width to acommodate scrollable items.
	it's enough that you set the width and height for the root element and
	not for this element.
*/

.scrollable .items {
	/* this cannot be too large */
	width:20000em;
	position:absolute;
	clear:both;
	height: 435px;
}


/* single scrollable item */

.scrollable div {
	float: left;
	padding: 0px;
	position: relative;
}

.slide {
	position: relative;

}

img.slidercontent {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	display: block;
}

img.frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-height: 435px;
	height: auto;
	display: block;
}


.scrollable div.textbox {
	font-size: 14px;
	color: #fff;
	text-shadow: 1px 1px #000;
	width: 400px;
	margin: 0 auto;
	float: none;
	padding: 100px 550px 20px 0px;
}

.textbox h1 {
	font-size: 35px;
	color: #fff;
}

.text {
	font-size: 20px;
}

.note, .link {
	text-transform: uppercase;
}

.link a {
	color: #fff;
}

/* active item */

.scrollable .active {
	border:0px solid #000;
	position:relative;
	cursor:default;
}

/* Slider arrows */ 

/* prev, next, prevPage and nextPage buttons */
a.browse {
	display:block;
	float:left;
	margin:0px 0px;
	cursor:pointer;
	font-size:1px;
	padding: 50px;
}

/* right */
a.right {
	width: 21px;
	height: 28px; 
	background-position: 0 0px; clear:right; margin-right: 0px;
	background: url('img/slider_navigation_arrow_right.png') no-repeat center center;
	position: absolute;
	top: 150px;
	right: -15px;

}

/* left */

a.left { 
	width: 21px;
	height: 28px; 
	background: url('img/slider_navigation_arrow_left.png') no-repeat center center;
	margin-right: 0px;
	position: absolute;
	top: 150px;
	left: -15px;
} 


/* disabled navigational button */

a.disabled {
	visibility:hidden !important;		
}

