/* ------------------ Main ------------------ */

body {
	/*font-size: 13px;*/
	color: #4C4C4C;
}
#container {
	/*padding-top: 0;*/
}
#main {
	/*display: block;
	float: none;
	margin: 40px auto 0;
	width: 700px;*/
}
#content h1 {
	font-size: 44px;
	/*margin-bottom: 6px;*/
	font-weight: normal;
	color: #6A00AD;
}
#content h2 {
	font-family: 'Montserrat', 'montserratbold', sans-serif;
	font-size: 26px;
	color: #999999;
	text-transform: uppercase;
	font-weight: 700;
}
#content h3 {
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-size: 14px;
	color: #000;
	margin-bottom: 2px;
	text-transform: uppercase;
}
#content {
	display: block;
	width: auto;
	margin-top: 40px;
	text-align: center;
	float: none;
}
#content form {
	text-align: left;
}
#content .sections .head {
	color: #666;
	text-transform: uppercase;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}
#content .sections .head.selected {
	color: #f6f6f6;
}
.content h1, .content h2, .content h3 {
    font-family: 'Montserrat', 'montserratregular', sans-serif;
}
.menu, ul .menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.menu:before, .menu:after { content: ""; display: table; }
.menu:after { clear: both; }

/* ------------------ Main Header ------------------ */

#main-header {
	position: relative;
	background: #404040 url(/images/site/competition/competition-header.jpg) no-repeat center center;
	background-size: cover;
	z-index: 2;
}
#main-header .banner {
	position: relative;
	
	padding: 20px 20px 10px;
	min-height: 420px;
}
#main-header .logo {
	clear: both;
	float: right;
	display: inline;
}
#main-header .share {
	position: relative;
	overflow: hidden;
	clear: both;
	width: 200px;
	height: 115px;
	background: url(/images/site/competition/share.png) no-repeat left top;
}
#main-header .share a {
	position: absolute;
	overflow: hidden;
	width: 67px;
	height: 66px;
	text-indent: -999em;
}
#main-header .share .twitter {
	left: 18px;
	top: 0;
}
#main-header .share .facebook {
	left: 104px;
	top: 0;
}
#main-header .share.hover1 {
	background-position: 0 -120px;
}
#main-header .share.hover2 {
	background-position: 0 -240px;
}

#main-header .text {
	clear: both;
	float: left;
	padding: 14px 20px 0 20px;
	height: 40px;
	color: #fff;
	font-size: 16px;
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-weight: 700;
}
@media (max-width: 767px) {
	#main-header .share, #main-header .text {
		visibility: hidden;
	}
}
#main-header .nav {
	clear: both;
	padding: 15px 10px 0;
	font-family: 'Montserrat', 'montserratregular', sans-serif;
}
#main-header .nav .entries-badge {
	float: right;
	padding: 20px 0 0 0;
	width: 75px;
	/*height: 55px;*/
		height: 75px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	margin-left: 30px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	background-color: #e6e6e6;
	color: #000;
	text-transform: uppercase;
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-weight: 700;
	line-height: 13px;
	text-align: center;
}
#main-header .nav .upload-badge {
	float: right;
	padding: 6px 20px 4px;
	margin: 20px 0 0 40px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #a390c4;
	color: #000;
	text-transform: uppercase;
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-weight: 700;
	text-align: center;
	font-size: 18px;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2);
	border-bottom: 3px solid #8166AE;
}

#main-header .nav ul.menu {
	float: left;
	margin: 30px 0 5px 0;
	padding: 5px;
	/*background-color: #404040;*/
	text-transform: uppercase;
	color: #ccc;
	font-size: 14px;
}
#main-header .nav ul.menu li {
	float: left;
	display: inline;
	margin: 5px 20px 5px 0;
}
#main-header .nav ul.menu li a {
	display: block;
	color: #fff;
	padding: 3px 0;
	border-bottom: 2px solid #fff;
	text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}
#main-header .nav ul.menu li a:hover {
	text-decoration: none;
	color: #ccc;
	border-bottom-color: #ccc;
}
/*
#main-header .nav ul.menu li a.selected {
	border-bottom-style: dotted;
}
*/


#main-header .nav ul.menu li.active a {
	border-bottom-style: dotted;
}
#main-header .header-bar {
	clear: both;
	padding: 10px 20px 5px 20px;
	background-color: #404040;
	text-transform: uppercase;
	color: #656565;
	font-size: 15px;
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-weight: 700;
	background: url(/images/site/competition/zigzag.png) repeat-x center top;
}
#main-header .header-bar ul {
	margin: 0 12px;
	padding: 12px 0;
	background: #e6e6e6 url(/images/site/competition/line.gif) repeat-x center center;
}
#main-header .header-bar ul li {
	float: left;
	margin: 0;
	padding: 0 20px;
	background-color: #e6e6e6;
}
#main-header .header-bar ul li a {
	color: #656565;
	text-decoration: none;
}
#main-header .header-bar ul li.bar-location {
	padding: 0 30px;
	background: #e6e6e6 url(/images/site/competition/bullet.png) no-repeat left center;	
}
#main-header .header-bar ul li.bar-time {
	padding-left: 30px;
	float: right;
	color: #6A00AD;
}
#main-header .header-bar ul li.bar-deadline {
	float: right;
	text-align: center;
	background: #e6e6e6 url(/images/site/competition/bullet.png) no-repeat center center;
}
#main-header .header-bar ul li.bar-evaluation {
	float: right;
	padding-right: 30px;
	background: #e6e6e6 url(/images/site/competition/bullet.png) no-repeat right center;
}


@media (max-width: 767px) {
	#main-header .banner {
		padding-bottom: 5px;
	}
	#main-header .nav ul.menu {
		float: none;
		width: 100%;
		margin: 0 auto 5px auto;
		text-align: center;
	}
	#main-header .nav ul.menu li {
		/*width: 100%;*/
		display: inline-block;
		float: none;
		font-weight: 500;
	}
	#main-header .nav ul.menu li a {
		color: #404040;
		text-shadow: 0px 0px 2px rgba(255,255,255,0.9);
		border-bottom-color: #404040;
	}
	#main-header .nav ul.menu li a:hover {
		color: #fff;
		text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
	}
	#main-header .nav .entries-badge {
		margin-left: 0;
		    width: 60px;
			height: 60px;
			font-size: 12px;
			padding-top: 12px;
	}
	#main-header .nav .upload-badge {
		margin-top: 10px;
	}
	#main-header .header-bar ul {
		margin-left: 5px;
		margin-right: 160px;
	}
	#main-header .header-bar ul li.bar-location, 
	#main-header .header-bar ul li.bar-evaluation {
		display: none;
	}
	
}
@media (max-width: 480px) {
	#main-header .banner, #main-header .header-bar {
		padding-left: 5px;
		padding-right: 5px;
	}
	#main-header .header-bar ul {
		background: none;
	}
	#main-header .header-bar ul li.bar-time {
		display: none;
	}
}



.download-roundel a, a.download-roundel {
	display: block;
	display: inline-block;
	width: 124px;
	/*height: 82px;*/
		height: 124px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	padding-top: 42px;
	margin: 20px auto;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	color: #000;
	font-size: 16px;
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	background: #e6e6e6;
}
.download-roundel a:hover, a.download-roundel:hover {
	color: #000;
	text-decoration: none;
	-moz-box-shadow: 1px 1px 6px rgba(50, 50, 50, 0.5);
	-webkit-box-shadow: 1px 1px 6px rgba(50, 50, 50, 0.5);
	box-shadow: 1px 1px 6px rgba(50, 50, 50, 0.5);
}


a.button-hover:hover, .button-hover:hover a {
	display: inline-block;
	text-decoration: none;
	-moz-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
	opacity:0.9;
	filter:alpha(opacity=90);
}


/**** Content ****/
.bar-deadline {
	position:relative;
	text-decoration:none;
		/*display: block;*/
		width: 100px;
		font-size: 14px;
		text-align: center;
		margin-left: -8px !important;
		margin-right: -8px !important;
}
.bar-deadline a{
	position:absolute;
	display:block;
	text-indent: 0;
	background:#404040;
	background:rgba(0,0,0,.72);
	border-radius:5px;
	top:32px;
	color:#fff !important;
	content:attr(title);
	left:50%;
		width: 100%;
	margin-left: -50%;
	/*width: 100px;*/
	padding:5px 5px;
	line-height: 120%;
	text-align: center;
	color: #fff;
	/*white-space:nowrap;*/
	z-index:98;
	-webkit-box-shadow: 0 0 5px #aaa;
	box-shadow: 0 0 5px #aaa;
}
.bar-deadline a:before{
	border:solid;
	border-color:#404040 transparent;
	border-width: 0 10px 10px 10px;
	margin-left: -10px;
	top:-10px;
	content:"";
	display:block;
	left:50%;
	position:absolute;
	z-index:99;
}

/**** Uploads *****/

table.uploads-table td {
	vertical-align: middle !important;
}


/**** Results ****/

#results {
	margin: 30px 0;
}
#results .grid {
	margin: 0 auto;
}
#results .thumb {
	background-color: #fff;
	border: none;
	display: block;
	background:#fff;
	border:2px solid #ccc;
}
#results .thumb:hover {
	border-color: #999;
}
#comments {
	margin: 20px 0;
}
ul.grid, .grid ul {
	clear: both;
	list-style-type: none;
	margin: 0 -5px;
	padding: 0;
}
.grid li {
	display: block;
	float: left;
	margin: 5px;
	position: relative;
}
#results .grid li {
	float: none;
	display: inline-block;
	text-align: left;
}

.grid li a {
	display: block;
	background:#fff;
	width: 220px;
	max-height: 311px;
	overflow: hidden;
	/*border:2px solid #ccc;*/
}
.grid li a:hover {
	/*border-color: #999;*/
}
.grid li .caption {
	display: block;
	position: absolute;
	margin: 0;
	padding: 6px 6px;
	bottom: 0;
	left: 0;
	right: 0;
	background-color:#ccc;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	font-size: 14px;
	min-height: 75px;
	line-height: 1.1em;
}
.grid li a:hover .caption {
	background-color:#111;
}
.grid li .title {

}
.grid li .description {
	font-size: 80%;
	line-height: 1em;
}


.competition-entry {
	text-align: left;
	padding-bottom: 20px;
}
.competition-entry .entry-image {
	padding-left: 0;
	padding-right: 20px;
	padding-bottom: 20px;
}
.competition-entry .entry-image img {
	width: 100%;
	height: auto;
}
.competition-entry .entry-content {
	padding-left: 0;
}


/* tooltip */
.ui-tooltip {
    background: rgba(255, 255, 255, 0.9) !important;
	color: #333 !important;
    border: 2px solid #CCC !important;
    padding: 10px 20px;
    border-radius: 6px;

	line-height: 1.25em;
}
.ui-tooltip h3 {
	font-family: 'Montserrat', 'montserratregular', sans-serif;
	font-size: 14px;
	color: #000;
	margin-bottom: 6px;
	text-transform: uppercase;
}
.ui-tooltip p {
	margin: 0 0 6px 0;
}


