/* SB 2014 Contest Stylesheet */

.page-template-contestscontest-php #content,
.page-template-contestsvote-php #content {
	padding:0 1px;
}
.page-template-contestscontest-php img.mfp-img,
.page-template-contestsvote-php img.mfp-img  {
	padding:5px 5px 40px 5px;
}
.page-template-contestscontest-php figure,
.page-template-contestsvote-php figure {
	background: #fff;
}
.page-template-contestscontest-php .mfp-title,
.page-template-contestsvote-php .mfp-title {
	color:#999;
	background: #fff;
	padding:0 10px 5px;
}
.page-template-contestscontest-php .mfp-title p,
.page-template-contestsvote-php .mfp-title p {
	margin:0;
	font-size: .8em;
	padding-top: 5px;
}
.page-template-contestscontest-php .mfp-title strong,
.page-template-contestsvote-php .mfp-title strong {
	color:#000;
}
.page-template-contestscontest-php .mfp-title a,
.page-template-contestsvote-php .mfp-title a {
	color:#0066cc;
}
.mfp-close {
	display:none !important;
}
#contest-menu {
	background:#eee;
	border-width:1px 0;
	border-color:#fff;
	border-style: solid;
	color:#9b9b9b;
	padding:5px;
	text-align: center;
	clear:both;
	z-index:10;
}
#contest-menu .middle {
	font-size: 1.5em;
	color: #000;
}
.left-menu {
	float:left;
	text-align: left;
	padding-top: 8px;
}
.left-menu a {
	color:#0066cc;
	display: inline-block;
	padding: 0 5px;
}
.vote .left-menu {
	padding-top:0px;
}
.vote .left-menu a {
	color:#0066cc;
	padding-top:5px;
}
.left-menu a:hover,
.left-menu a.active {
	color:#000;
	text-decoration: none;
}
.right-menu {
	float:right;
	position:relative;
	text-align: right;
}

.right-menu a.submit,
.right-menu a.vote,
html input.contest_submit,
html .contest-entry .vote-button {
	color:#fff;
	display: inline-block;
	width:110px;
	text-align: center;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	font-weight: bold;
	text-shadow: 1px 1px 0 black;
	font-size:18px;
	padding:7px 0;
	-webkit-appearance: none;
	border:none;
	box-shadow:none;
}
html input.contest_submit,
html .contest-entry .vote-button {
	padding: 10px 0;
}
html .contest-entry .vote-button {
	width: 100%;
	border-radius: 0;
	margin-bottom: 5px;
}
.right-menu a.submit,
.right-menu a.vote {
	margin-left: 3px;
}
.right-menu a:hover {
	color:#fff;
	text-decoration: none;
}
html .contest-entry .vote-button,
.right-menu a.vote {
	background:#0066cc;
}
html .contest-entry .vote-button:hover,
.right-menu a.vote:hover {
	background:#003366;
	border:none;
	box-shadow:none;
}
.right-menu a.submit,
html input.contest_submit {
	background:#cc0000;
}
.right-menu a.submit:hover,
html input.contest_submit:hover {
	background:#660000;
	border:none;
	box-shadow:none;
}
.contest_submit {
	display:block !important;
	width:50% !important;
	float:left;
}
#contest-submission-form {
	display:none;
	position: absolute;
	right: 10px;
	top:50px;
	width: 300px;
	background:transparent;
	text-align: left;
	z-index: 10;
}
#contest-submission-form:after {
	bottom: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(10, 41, 63, 0);
	border-bottom-color: #000;
	border-width: 10px;
	left: 95%;
	margin-left: -10px;
}
.submission-form-header {
	color:#fff;
	background:#000;
	font-size:12px;
	padding: 10px 0;
	text-align: center;
	border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;	
	margin-bottom:0px;
}
#contest-submission-form form {
	padding:10px;
	border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	border-bottom: solid 1px #ccc;
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
	background: #fff;
}

#contest-submission-form label {
	color:#000;
	display:block;
	font-size:13px;
	margin-bottom:1em;
	font-weight: bold;
}
#contest-submission-form #photo_caption {
	min-height: 5em !important;
	width: 100%;
}
p.terms {
	color:#000;
	font-size:10px;
	line-height: 1.2em;
	width:50%;
	float:left;
	margin-bottom:0;
}
p.terms a {
	color:#0066cc;
}
p.terms a:hover {
	color: #000;
	text-decoration: underline;
}
#submission-error,
#submission-notice {
	color:#000;
	font-size:12px;
}

#contest-photo-grid {
	padding:2%;
	min-height: 500px;
}
#contest-photo-grid .column img,
.contest-photo img {
	width:auto;
	max-width: none;
}
#contest-photo-grid .column .img-crop,
.contest-photo .img-crop {
	overflow:hidden;
	height:250px;
}
#contest-photo-grid .column {
	float:left;
	width:32%;
	margin-right:2%;
	border:1px solid #ccc;
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding:10px 10px 0 10px;
	text-align: center;
	margin-bottom:1em;
}
.contest-entry {
	float:left;
	width:45%;
}
.contest-photo {
	width:100%;
	border:1px solid #ccc;
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	float:left;
}
#contest-photo-grid .column.three {
	margin-right:0;
}
#contest-photo-grid .column:hover,
.contest-photo:hover {
	border-color:#999;
	box-shadow: 0 0 3px #ccc;
}
.column p {
	margin-bottom: 0.2em;
	color: #aaa;
}
.caption a {
	color:#999;
	font-size:1.2em;
}
.caption a:hover {
	color:#ffb000;
}
.caption-vote {
	float:left;
}
.caption-vote a:hover {
	text-decoration: none;
}
.caption-expand {
	float:right;
}
.caption {
	text-align: left;
}
.load-more-contest {
	background: #eeeeee;
	border: 1px solid #ccc;
	padding: 10px;
	margin: 0 2% 10px;
	position: relative;
	clear: both;
	display: block;
	text-transform: uppercase;
	color: #3b5998;
	width:96%;
}
.contest-entry .contest-photo img {
	width:100%;
	padding:10px 10px 0 10px;
}
.contest-entry .contest-vote {
	text-align: center;
	margin:1em 0 0 0;
	float: left;
	width: 100%;
}
#vs {
	width:10%;
	float:left;
	text-align: center;
	font-size: 4em;
	padding-top: 200px;
	font-weight: bold;
}
form.vs-form {
	width: 98%;
	margin: 1%;
}
.contest-entry .caption {
	padding:10px;
}
.contest-entry .caption p {
	margin: 0;
}
.contest-entry p {
	color:#666;
}
.contest-entry p strong{
	color:#000;
}
.photo-link {
	position:relative;
}
.photo-link .fa-search-plus {
	color:#fff;
	text-shadow:1px 1px 2px #000;
	position:absolute;
	left:20px;
	bottom:10px;
	font-size:1.5em;
}
@media screen and (max-width: 768px)  {
	.nomobile {
		display:none;
	}

	#contest-photo-grid .column {
		width:49%;
	}
	#contest-photo-grid .column.two {
		margin-right:0;
	}
	#contest-photo-grid .column.three {
		margin-right:2%;
	}
	#contest-submission-form {
		top:auto;
	}
	.vote .left-menu a {
		padding: 11px;
		display: inline-block;
		background: #000;
		color: #fff;
		font-weight: bold;
		text-shadow: 1px 1px 1px black;
	}
	.vote .left-menu {
		margin:0;
	}
	.contest-entry p {
		font-size:0.8em;
		line-height:1.2em;
	}
	.contest-entry {
		width:50%;
	}
	.contest-photo {
		padding:0;
	}
	.contest-entry .caption-expand {
		font-size:2em;
		width:20%;
	}
	.contest-entry .caption-vote {
		width:79%;
		margin-right:1%;
	}
	.contest-entry .contest-photo img {
		padding:0px;
	}
	#vs {
		display:none;
	}
	.contest-photo:hover {
		box-shadow: none;
	}
	.contest-entry {
		border-right: solid 1px #fff;
	}
	.page-template-contestsvote-php .contest-entry .vote-button {
		margin-bottom: 1px;
	}
	.page-template-contestsvote-php .contest-entry .caption {
		border-left: solid 1px #CCC;
		border-right: solid 1px #CCC;
		border-bottom: solid 1px #CCC;
		color: #000;
	}
	.page-template-contestsvote-php .contest-photo {
		border: none;
	}

}
@media screen and (max-width: 480px)  {
	#contest-photo-grid .column {
		width:100%;
		margin-right:0;
	}
	#contest-submission-form {
		right:0;
		top: 51px;
	}
	#contest-menu {
		padding: 0;
	}
	.right-menu {
		width:auto;
	}
	.right-menu a.submit,
	.right-menu a.vote {
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		width: 75px;
		font-size: 1em;
		padding:9px 0;
	}
	.fa.fa-square-o {
		display:none;
	}
	#contest-menu .fa-stack-1x {
		font-size:1.5em;
		color:white;
		background:#999;
		padding:0 2px;
	}
	#contest-menu .fa-stack-1x:hover,
	#contest-menu a.active .fa-stack-1x {
		background:#000;
	}
	.left-menu {
		font-size: .75em;
		padding-top: 12px;
		margin-left: 10px;
	}
	.right-menu a.submit,
	.right-menu a.vote {
	margin-left: -2px;
}
}