/*
* Basic
*/
html {
	height: 100%;
	width: 100%;
	font-size: 16px;
/*	font-family: lapland;*/
	font-family: arial;
	text-rendering: optimizelegibility;
	color: #000;
}
body {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}
/*
* Nav
*/
#nav {
	background: rgba(255,255,255,0.5);
	border-width: 0px 1px;
	border-style: solid;
	border-color: #888;
	box-shadow: 0px 0 15px #000;
}
#nav a {
	display: block;
	padding: 0.25em 1em;
	margin: 1px 0;
	background: rgba(255,255,255,0.5);
}
#nav a:hover, #nav a.active {
	background: #FFF;
}
#nav a.active {
	color: #321;
}
/*
* Desktop-specific
*/
#desktop {
	width: 100%;
	height: 100%;
}
#desktop #main {
	position: relative;
	margin: auto;
	min-height: 100%;
	height: 100%;
	width: 1024px;
	display: table;
}
#desktop #nav {
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 16%;
}
#desktop #content {
	position: absolute;
	top: 0;
	left: 18%;
	width: 82%;
	min-height: 100%;
	background: rgba(255,255,255,0.7);
	border-width: 0px 1px;
	border-style: solid;
	border-color: #888;
	box-shadow: 0px 0 15px #000;
}
#desktop #header {
	position: relative;
	height: 120px;
	background-color: #CCC;
	background: url('../images/header.jpg');
	background-position: center top;
	border-bottom: #888 solid 1px;
}
#top-nav {
	background-color: rgba(0, 0, 0, 0.6);
	border-bottom: #888 solid 1px;
}
#top-nav a {
	color: #FFF;
}
#top-nav a:hover {
	color: #FEA;
}
#desktop #inner {
	min-height: 20em;
	padding: 0.5em 2em;
}
/*
* Mobile-specific
*/
#mobile {
	width: 100%;
	height: 100%;
}
#mobile #main {
	width: 100%;
	height: 100%;
}
/*
* Common
*/
#footer {
	margin: 0.5em 1em;
	padding: 0.5em;
	color: #642;
	border-top: #642 solid 1px;
	text-align: center;
	font-size: 80%;
}


img {
    width: auto;
}
a {
	text-decoration: none;
}
table {
	border-spacing: 0;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
}
div.table {
	display: table;
	width: 100%;
}
ul {
	margin: 0;
	padding: 0;
}
li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.row {
	display: table-row;
	width: 100%;
}
ul.row li {
	display: table-cell;
}
/*
* Input and Buttons
*/
input.watermark {
	color: #999;
	font-style: oblique;
}
input.attention {
	color: #F88;
}
button.textButton {
	padding: 2em 1em;
	margin: 1em;
}
a img {
	border:0;
}
input[type="text"],
input[type="password"],
select {
	width: 18em;
	display: inline-block;
	height: 2em;
	padding: .25em .35em;
	margin-bottom: .5em;
	font-size: 110%;
	line-height: 1.5em;
	color: #555555;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear .2s, box-shadow linear .2s;
	-moz-transition: border linear .2s, box-shadow linear .2s;
	-o-transition: border linear .2s, box-shadow linear .2s;
	transition: border linear .2s, box-shadow linear .2s;
}
textarea {
	width: 18em;
	display: inline-block;
	padding: 4px 6px;
	margin-bottom: 9px;
	font-size: 110%;
	line-height: 20px;
	color: #555555;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
form button,
input[type="submit"],
input[type="button"] {
    font-weight: normal;
    line-height: 22px;
    padding: 6px 10px;
    font-size: 120%;
    margin: 10px 0px;
    vertical-align: middle;
}
a {
	text-decoration: none;
	color: #531;
	font-weight: bold;
}
a:hover {
	color: #531;
}
#login_message,
.error {
	font-size: 125%;
	font-weight: bold;
	color: #600;
}
input.wimp-validate,
input.wimp-validate-water,
select.wimp-validate {
	background-color: #FFF2E3;
	border-color: #AAA;
}
input[type=checkbox].wimp-validate {
	outline-color: #EFE2C3;
	outline-style: solid;
	outline-width: 4px;
}
input.is-valid,
select.is-valid {
	background-color: #FFF;
}
input[type=checkbox].is-valid {
	outline-color: #E3F2FF;
}
.alert {
	width: 76%;
	padding: .5em 2em .5em 1em;
	margin: 1.5em auto;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #c09853;
}
.alert-info {
    background-color: #D9EDF7;
    border-color: #BCE8F1;
    color: #3A87AD;
}
.alert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #468847;
}
#wimp-error h1 {
	margin-top: 0.5em;
	margin-bottom: 0;
	padding-bottom: 0;
	border-top: #777 solid 1px;
	padding-top: 0.5em;
}
img.loading {
	margin: 1em;
}
/*
* Contest details
*/
.contest-details {
	padding: 1em 2em;
}
.contest-details h1 {
	text-align: center;
	width: 100%;
}
.contest-details .description {
	font-style: oblique;
}
.contest-details .event-title {
	font-weight: bold;
	cursor: pointer;
	position: relative;
	display: inline-block;
	text-shadow: none;
}
.contest-details .event-title:hover {
	text-shadow: 0 2px 3px #333;
}
.contest-details .event-desc {
	font-size: 90%;
	padding: 0em 1em 1em 1em;
}
.contest-details table {
	
}
.contest-details table tr {
	vertical-align: top;
}
.contest-details table tr td {
	padding-bottom: 10px;
}
.contest-details table tr td p {
	margin: 0;
	padding: 0;
}
.contest-details table tr td:first-child {
	width: 25%;
	font-weight: bold;
	padding-right: 1em;
	text-align: right;
}
.contest-details li img {
	margin-bottom: -3px;
}
.contest-reg {
	text-align: center;
}
.contest-reg button {
	font-size: 125%;
	padding: 0.5em;
}
a.video {
	display: block;
	padding: 0;
	margin: 0;
}
a.video img {
	width: 32px;
}