/*
Theme Name: Eken Cup
Theme URI: http://www.ekencup.se
Description: Det officiella temat för Eken Cup i Stockholm.
Author: Orangelab
Author URI: http://www.orangelab.se/
*/

html, body {
	min-height: 100%;
	height: auto;
}

body {
	font-size: 12px;
	font-family: Arial, Sans-Serif;
	padding: 0;
	margin: 0;
	line-height: 1.4;
	letter-spacing: 0.3px;
	background: url(assets/img/grass_bottom.jpg) repeat-x center bottom #86C9EF;
	color: #111;
}
#page {
	width: 100%;
	margin: 0;
}
#innerPage {
	margin: 0 auto 0 auto;
	width: 928px;
	position: relative;
}
#main {
	clear: both;
	padding: 0;
	margin: 0;
}
#page-bg {
	height: 170px;
	background: url(assets/img/sky_bg.gif) repeat-x #86C9EF;
    background-image: -moz-linear-gradient(100% 100% 90deg, #86C9EF, #B3DEFF);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#B3DEFF), to(#86C9EF));
}
#header {
	position: absolute;
	top: -140px;
	left: 0;
	z-index: 50;
	clear: both;
	height: 130px;
	width: 928px;
	margin: 0 auto;
}
.box .box_top {
	background: #fff;
	width: 651px;
	height: 6px;
}
.box.wide .box_top {
	background: #fff;
	width: 928px;
}
.box {
	background: #ffffff;
	float: left;
	width: 651px;
}
.box.wide {
	width: 928px;
}
.box .box_foot {
	background: #fff;
	width: 651px;
	height: 6px;
	clear: both;
}
.box.wide .box_foot {
	background: #fff;
	width: 913px;
}
.paddingwrapper {
	padding: 20px;
}
.padding-10 {
	padding: 10px;
}
.inlinewrapper {
	display: inline;
}
#topad, #top_info, #important-post {
	margin-bottom: 15px;
}
#sidebar_top {
	background: #fff;
	width: 247px;
	height: 6px;
}
#sidebar {
	float: right;
	width: 247px;
	padding: 0;
	margin: 0 0 0 15px;
}
#sidebar .infos {
	background: #fff;
	width: 100%;
	padding: 0;
	margin: 0 0 0 15px;
}
#sidebar .ads {
	width: 100%;
	padding: 0;
	margin: 20px 0 0 15px;
}
#sidebar_foot {
	background: #fff;
	width: 247px;
	height: 6px;
}
.clear {
	clear: both;
	width: 100%;
}
#footer {
	width: 928px;
	margin: 40px auto;
}
#footer img {
	margin: 40px;
}
#logo {
	float: left;
	margin: 20px 0 0 20px;
}
/* --- */



/* Buttons */
a.button_big {
	background: url(assets/img/top_button.png) no-repeat scroll top right transparent;
	color: #ffffff;
	display: block;
	float: right;
	height: 49px;
	width: 177px;
	line-height: 49px;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	margin: 15px 10px 0 0;
	text-align: center;
}
a.button_big:hover {
	text-indent: 10px;
}
#header #searchform {
	display: inline;
}
#header #searchform .screen-reader-text {
	display: none;
}
#searchform .screen-reader-text {
	float: left;
	line-height: 20px;
	height: 20px;
	padding-right: 10px;
}
#searchsubmit {
	background-image: url('assets/img/search_button_white_bg.gif');
	height: 21px;
	width: 26px;
	border: 0;
	padding: 0;
	margin: 0 0 0 10px;
	cursor: pointer;
	text-indent: -9999px;
}
#header #searchsubmit {
	background-image: url('assets/img/search_button.gif');
}
#s {
	display: block;
	border: 1px solid #666;
	float: left;
	height: 17px;
	line-height: 17px;
	background: #ffffff;
	width: 130px;
	padding: 3px 0 0 5px;
	margin: 0;
	-moz-border-radius: 5px;
}
#header #s {
	border: 0;
}
/* --- */



/* Navigation */
#navbar{
	padding: 0;
	margin: 0;
	float: right;
	display: block;
	clear: right;
}
#navbar ul{
	padding: 0;
	margin: 0;
	float: left;
}
#navbar ul li{
	display: block;
	float: left;
	position: relative;
	border-right: 1px dotted #d2ddf8;
	padding: 0 5px;
}
#navbar ul li a {
	float: left;
	font-size: 12px;
	color: #203772;
	font-weight: bold;
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
}
#navbar ul li .navbarleft {
	float: left;
	padding: 0 15px;
}
#navbar ul li.navbarright {
	float: left;
	padding: 5px 15px 0 15px;
	border: 0;
}
#navbar ul li a img {
	margin: 4px 0 4px 4px;
}
#navbar ul li a:hover {
	color: #111;
}
#navbar ul li a.active {
	background: #fff;
}
#navbar ul li.active a {
	color: #333;
}
#navbar .submenu {
	position: absolute;
	top: 30px;
	left: 0;
}
#navbar .submenu ul {
	float: none;
	margin: 0;
	width: auto;
}
#navbar .submenu li {
	display: block;
	float: none;
	border-right: 0;
	width: 170px;
}
#navbar .submenu li.first {
	border-top: 0;
}
#navbar .submenu li a {
	display: block;
	float: none;
	width: auto;
	color: #203772;
	font-size: 11px;
	padding: 5px 10px;
	height: auto;
	line-height: 1;
	background: #ffffff;
}
#navbar .submenu li a:hover {
	background: #203772;
	color: #ffffff;
	text-decoration: none;
}
#languages ul {
	padding: 0;
	margin: 0;
}
#languages ul li {
	margin: 0;
	padding: 0;
	border: 0;
}
#languages ul li a {
	padding: 0;
	margin: 0;
}
#languages .qtrans_flag {
	height: 24px !important;
	width: 24px !important;
	margin: 3px 5px;
}

/* --- */



/* Text and headlines */
h1 {
	line-height: 1;
	margin-bottom: 20px;
	font-size: 28px;
	font-style: italic;
	color: #333;
}
h2 {
	line-height: 1;
	margin-bottom: 15px;
	font-size: 22px;
	font-style: italic;
	color: #111;
}
h3 {
	color: #111;
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 10px;
}
hr {
	margin: 20px 0;
	height: 0px;
	border: 0;
	border-bottom: 1px dotted #878787;
	clear: both;
}
small {
	color: #333;
	font-size: 11px;
}
p {
	margin-bottom: 15px;
}
/* --- */



/* Links */

a {
	color: #000;
	font-weight: bold;
}
a:hover {
	color: #203772;
}
#content h3 a, #content h1 a {
	color: #111;
	text-decoration: none;
}
#content h3 a:hover {
	color: #333;
	text-decoration: none;
}
/* --- */


/* Siderbar */

.widget {
	margin: 10px;
}

.widget.ad {
	margin: 0 0 20px 0;
}

.widget.ad .topcorners {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	height: 10px;
	width: 247px;
	background: url(assets/img/ad_corners.png) no-repeat 0 0 transparent;
}

.widget.ad .bottomcorners {
	position: absolute;
	z-index: 10;
	bottom: 0;
	top: auto;
	left: 0;
	padding: 0;
	margin: 0;
	height: 10px;
	width: 247px;
	background: url(assets/img/ad_corners.png) no-repeat 0 -10px transparent;
}

.widget .widget_content {
	margin: 0;
	padding: 10px;
	position: relative;
}

.widget.ad .widget_content {
	background: #fff;
	padding: 0;
	margin: 0;
}

.widget .widget_content .message {
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	background: #f77177;
	padding: 10px;
	-moz-border-radius: 10px;
}

.widget .sidebar_title {
	color: #000;
	padding-left: 10px;
	font-size: 11px;
}

.widget.ad .sidebar_title {
	color: #203772;
	padding-bottom: 3px;
	font-size: 10px;
}

#sidebar img {
	display: block;
	margin: 0 auto;
}

/* --- */

/* Image classes */

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-image {
	margin-bottom: 10px;
	width: auto;
	height: auto;
}

/* --- */

/* Submission styles */

#submission .form-section {
	padding: 20px 10px;
	margin-bottom: 20px;
	background: #efefef;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#submission th {
	text-align: left;
	font-weight: normal;
	font-size: 16px;
}

#submission td {
	padding: 5px 10px;
}

#submission td.label {
	padding: 5px 0;
	width: 140px;
}

#submission .full {
	width: 100%;
}

#submission .compact td {
	width: auto;
}

#submission input {
	background: #fff;
	border: 1px solid #ccc;
	padding: 5px;
	font-size: 12px;
	color: #000000;
	font-weight: normal;
}

#submission textarea {
	background: #fff;
	border: 1px solid #ccc;
	font-family: Arial, Sans-Serif;
	font-size: 12px;
	width: 100%;
	height: 200px;
}
#submission input.active {
	border: 1px solid #ffc669;
	background-color: #fbe9c6;
	color: #000000;
	width: auto;
	font-weight: normal;
	padding: 5px;
}

#submission button, #submission .button, #submission .button.active {
	border: 3px solid #ccc;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #203772;
	color: #fff;
	font-weight: bold;
	padding: 5px;
	cursor: pointer;	
}

#submission .team select {
	width: 65px;
}

#submission button.red {
	background-color: #fd666f;
	visibility: hidden;
}

#submission .description {
	background: url(assets/img/description_arrow.gif) no-repeat left 10px transparent;
	color: #000;
	visibility: hidden;
	position: absolute;
	z-index: 100;
	left: 360px;
	margin-top: -26px;
	width: 240px;
}

#submission .description p {
	margin: 0 0 0 10px;
	padding: 10px;
	background-color: #ffc669;
}

#submission #clubnames {
	position: absolute;
	float: left;
	background-color: #f1f1f1;
	border: 1px solid #ccc;
	border-top: 0;
	width: 173px;
	display: none;
}

#submission #clubnames a {
	display: block;
	color: #444;
	padding: 5px 5px;
	font-weight: normal;
}

#submission #clubnames a:hover {
	background-color: #2a8fd9;
	color: #fff;
	text-decoration: none;
}

#submission #clubnames a .match {
	background-color: #ffff00;
}

#submission #clubnames a:hover .match {
	background-color: transparent;
}

#submission .summary-line {
    width: 100%
}

#submission .summary-label {
    width: 50%
}

#submission .summary-formula {
    width: 30%;
    text-align: left;
}

#submission .summary-subsum {
    width: 20%;
    text-align: right;
}

#submission .summary-sum {
    width: 100%;
    text-align: right;
    font-size: 1.2em;
    font-weithg: bold;
    border-top: 1px solid black;
}

#submission div.form-error {
	background: url(assets/img/error_arrow.gif) no-repeat left 10px transparent;
	color: #ffffff;
	position: absolute;
	z-index: 99;
	left: 360px;
	margin-top: -26px;
	width: 240px;
}

#submission div.form-error p {
	margin: 0 0 0 10px;
	padding: 10px;
	background-color: #ff0000;
}

.widget_ekencup_login .widget_content div {
	color: #ffffff;
	background: #203772;
	padding: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	font-size: 11px;
}

.widget_ekencup_login .login-message {
	border: 1px solid #ffc669;
	background-color: #fbe9c6;
	padding: 5px;
	font-weight: bold;
}

.widget_ekencup_login td.login-label {
	padding-right: 10px;
}

.widget_ekencup_login a.logout-link {
	color: #ffffff;
	display: block;
	margin-top: 10px;
	text-align: right;
}

.widget_ekencup_login a.logout-link:hover {
	color: #000000;
}

.widget_ekencup_login input {
	background: #fff;
	border: 1px solid #ccc;
	font-size: 11px;
	width: 80px;
	margin-top: 5px;
}

.widget_ekencup_login input.button {
	width: auto;
	float: left;
	padding: 3px 10px;
	color: #203772;
	font-weight: bold;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/* --- */

/* Special ads and elements */

.sun {
	position: absolute;
	left: -10px;
	margin-top: -10px;
	z-index: 5;
}

#important-post .important {
	position: absolute;
	left: -10px;
	margin-top: -10px;
}

#important-post h3 {
	padding-left: 30px;
}

.button-2 {
	border: 0;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #203772;
	color: #fff;
	font-weight: bold;
	padding: 8px 20px;
	font-size: 12px;
	cursor: pointer;
	float: right;
	text-align: center;
	margin: 0 0 10px 0;
	text-decoration: none;
	float: none;
	display: block;
}

.button-2:hover {
	background-color: #A7BCF8;
	color: #203772;

}

#topad .paddingwrapper {
	padding-left: 120px;
}

#top_info .paddingwrapper {
	padding-left: 20px;
}

.weatherday {
	font-size: 11px;
}

.weatherday .timerow {
	background: #A7BCF8;
	clear: both;
	padding: 5px;
	border-left: 1px solid #203772;
	border-right: 1px solid #203772;
}

.weatherday strong, .yr {
	display: block;
	background: #203772;
	color: #fff;
	padding: 5px;
}

.yr {
	font-size: 11px;
}

.yr a {
	color: #fff;
}

.weatherday img {
	float: left;
	width: 35px;
	padding-right: 5px;
}

/* --- */


/* Gallery */

.navigation a {
	text-decoration: none;
}

.navigation .alignleft, .navigation .alignright {
	font-size: 35px;
}

.navigation .alignleft img, .navigation .alignright img {
	height: 100px;
	width: auto;
	vertical-align: middle;
}

#gallery-1 {
	margin: auto;
}

#gallery-1 .gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 305px !important;
}

#gallery-1 .gallery-caption {
	margin-left: 0;
} 

/* --- */

/* Comment styles */

#commentform input {
	background: #fff;
	border: 1px solid #ccc;
	padding: 5px;
	font-size: 12px;
}

#commentform textarea {
	background: #fff;
	border: 1px solid #ccc;
	font-family: Arial, Sans-Serif;
	font-size: 12px;
	width: 100%;
	height: 200px;
}
#commentform input.active {
	border: 1px solid #ffc669;
	background-color: #fbe9c6;
}

#commentform button, #commentform .button {
	border: 3px solid #ccc;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #203772;
	color: #fff;
	font-weight: bold;
	padding: 5px;
	cursor: pointer;	
}

/* --- */

/* Contact form */

span.wpcf7-list-item {
	display: block;
	margin: 5px 0 !important;
}

/* --- */

tr.registered-team td {
	padding-top: 5px;
}

tr.registered-team td.empty {
	color: #999;
}

tr.total-registered-teams td {
	padding-top: 15px;
}

/* Results tables */

ul.class-menu li {
	float: left;
	margin: 0 10px 10px 0;
}

ul.class-menu li.clear {
	margin: 0;
}

ul.class-menu li a {
	border: 0;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #203772;
	color: #fff;
	font-weight: bold;
	padding: 8px 10px;
	font-size: 12px;
	cursor: pointer;
	text-decoration: none;
	display: block;
}

ul.class-menu li a:hover {
	background-color: #A7BCF8;
	color: #203772;
}

div.crystalstyle div {
	position:absolute;
	z-index:25;
	background: #fff;
}

div.crystalstyle {
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
}

div.crystalstyle #Section1, div.crystalstyle #Section2 {
	display: none;
}

/* Webcam box */

#webcam #liveimage {
	width: 100%;
	height: auto;
}

#webcam.frontpage {
	width: 651px;
	height: 300px;
	overflow: hidden;
	position: relative;
}

#webcam.frontpage #liveimage {
	width: 100%;
	height: auto;
	bottom: 0;
	position: absolute;
	z-index: 2;
}

#webcam.frontpage .overlay {
	width: inherit;
	height: inherit;
	position: absolute;
	z-index: 3;
}

#webcam.frontpage .overlay.sv_SE {
	background: url(assets/img/webcam_box_round_layer_sv.png) no-repeat transparent;
}

#webcam.frontpage .overlay.en_US {
	background: url(assets/img/webcam_box_round_layer_en.png) no-repeat transparent;
}