html, body {
	background-color: #f8f8f8;
	height : 100%;
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: OpenSans;
	src:url(/fonts/OpenSansCondBold.ttf) format('truetype'),
		url(/fonts/OpenSans.woff) format('woff');
	font-weight: bold;
	font-style: normal;
}

* {
	font-family: Arial, Sans-serif;
}

#main {
	width: 988px;
	height: 100%;
	display: block;
	background-color: #ffffff;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

#left_menu {
	width: 182px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	border-left: 4px solid #009cd5;
	background-color: #f8f8f8;
	border-right: 1px solid #ededed;
	height : 100%;
}

#content-box {
	width: 800px;
	display: block;
	background-color: #ffffff;
	position: absolute;
	top: 0;
	left: 188px;
	padding-left: 27px;
	padding-bottom : 25px;
}

#logo {
	width: 120px;
	position: relative;
	margin-left: 30px;
	margin-right: auto;
	margin-top: 25px;
	margin-bottom: 20px;
}

#errors {
	color: red;

}

#items {
	position: relative;
	list-style: none;
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

#items li:first-child {
	border-top: 1px solid #ededed;
}

.left_menu_item {
	border-bottom: 1px solid #ededed;
	height: 49px;
	vertical-align: baseline;
	line-height: 49px;
	font-size: 20px;
	padding-left: 60px;
}

.left_menu_item a {
	color: #6e6e6e;
	text-decoration : none;
}

.left_menu_item.selected , .left_menu_item:hover {
	background-color: #ffffff;
}

.left_menu_item.selected a, .left_menu_item:hover a {
	color: #000000;
}

.left_menu_item.kick_boxing, .left_menu_item.kickboxing {
	background-image : url(/images/kickbox.png);
	background-repeat: no-repeat;
	background-position: 20px 10px;
}

.left_menu_item.e_fighting, .left_menu_item.e_kickboxing {
	background-image : url(/images/eKickboxing.png);
	background-repeat: no-repeat;
	background-position: 20px 10px;
}

.left_menu_item.e_fighting, .left_menu_item.e_fighting {
	background-image : url(/images/efighting.png);
	background-repeat: no-repeat;
	background-position: 20px 10px;
}

.extend-list {
	width: 100%;
	text-align: center;
}

.extend-list a, .blue-link {
	text-decoration: none;
	color: #2694d1;

	font-size: 11px;
}

.gray-link {
	text-decoration: none;
	color: #888;
	font-weight: bold;
	font-size: 11px;
}

.register-button {
	display : block;
	background-color: #9ad16c;
	text-align: center;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	width: 160px;
	height: 26px;
	font-size: 11px;
	font-weight: bold;
	vertical-align: baseline;
	line-height: 26px;
	margin-top: 20px;
	text-decoration : none;
}

.register-button.blue {
	background-color: #6c9ad1;
}

#content-box h1 {
	font-size: 28px;
	margin-bottom: 7px;

}

.left_menu_item a, .extend-list a {
	font-family: OpenSans, Arial, Sans-serif;
}

.green-button {
	display: block;
	color: #ffffff;
	background-color: #9cd06b;
	font-family: OpenSans, Arial, Sans-serif;
	border-radius: 3px;
	text-decoration: none;
	vertical-align: baseline;
	line-height: 24px;
	text-align: center;
	border : none;
	cursor: pointer;
}

.green-button.blue {
	background-color: #6c9ad1;
	padding: 5px 10px;
}

.green-button[disabled] {
	background-color: gray;
}

.gray-button {
	display: block;
	color: #ffffff;
	background-color: gray;
	font-family: OpenSans, Arial, Sans-serif;
	border-radius: 3px;
	text-decoration: none;
	vertical-align: baseline;
	line-height: 24px;
	text-align: center;
	border : none;
	cursor: pointer;
}

/* Logged-in info */

.logged-in-info {
	margin-left : 15px;
	margin-top : 15px;
}

.logged-in-info .green-button,
.logged-in-info .gray-button {
	margin-right: 10px;
	margin-top: 5px;
}


.logged-in-text {
	color : #7b7b7b;
	font-size : 10px;
}

.logged-in-name {
	font-family : OpenSans, Arial, Sans-serif;
}

.logged-in-club {
	font-family : OpenSans, Arial, Sans-serif;
	color : #7b7b7b;
	size : 10px;
}

.logged-in-logout {
	color : #ff1619;
	text-decoration : none;
	font-size : 11px;

}

/* Event info */

#info {
	font-size: 15px;
	color: #6e6e6e;
	font-family: OpenSans, Arial, Sans-serif;

}

#content {
	width: 780px;
	min-height: 500px;
	background-color: #f5f5f5;
	margin-top: 15px;
	overflow: auto;
}

.tabs {
	width: 100%;
	border-bottom: 3px solid #2694d1;
}

.tabs a {
	display: inline-block;
	border-right: 2px solid #ffffff;
	text-transform: uppercase;
	height: 30px;
	vertical-align: baseline;
	line-height: 30px;
	text-align: center;
	padding-left: 12px;
	padding-right: 12px;
	text-decoration: none;

	color: black;
}

.tabs a:hover {
	background-color: #2694d1;
	color: #ffffff;
}

.tabs a.selected {
	background-color: #2694d1;
	color: #ffffff;
}

.add-contest {
	float : right;
	width : 180px;
	margin-right : 9px;
	margin-bottom : 12px;
}

/* Category / user add */

#tree {
	border-top: 2px solid #ffffff;
	width: 100%;
}

.category {
	float: left;
	width: 180px;
	border-right: 2px solid #eaeaea;
	border-left: 2px solid #ffffff;
}

#tree .category:first-child {
	border-left: none;
}

#tree .d-form input[type=text] {
	width : 150px;
}

#tree .d-form input[type=submit], #tree .submit-button {
	float: left;
	margin: 0 auto;
	margin-left: 7px;
	margin-top: 3px;
	border: none;
	text-decoration: none;
	background-color: #9ad16c;
	text-align: center;
	color: #ffffff;
	min-width: 35px;
	width: 50px;
	height: 26px;
	font-size: 18px;

	border-radius: 2px;
	cursor: pointer;
	padding: 0;
}

#tree .d-form input[type=submit].danger,
.d-form input[type=submit].danger,
.d-form button.danger,
input[type=submit].danger {
	background-color: #F04848;
}

#rings .fc-header-right input {
	display: none;
	border: 2px solid gray;
	height: 30px;
	width: 140px;
	margin-right: 5px;
	text-align: center;
	font-size: 16px;
}

#rings .selected-category {
	background-color: #b22222;
	border: 1px solid #8b0000;
}

#rings .event-loading {
	background-color: #afafaf !important;
	border: 1px solid #696969 !important;
}

#rings .marked-event {
	border: 2px solid black;
}

.category-title {
	height: 20px;
	display: block;
	background-color: #eaeaea;
	text-transform: uppercase;
	text-align: center;

	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
}

.category-title.selected {
	color: #ffffff;
	background-color: #2495d1;
}

.category ul {
	list-style: none;
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

.category li {
	display: flex;
	border-bottom: 2px solid #ffffff;
	height: 35px;
	padding-left: 35px;
	border-right: 2px solid #ffffff;
	color: #838383;
	vertical-align: baseline;
	line-height: 35px;
	background-image: url(/images/circle_grey.png);
	background-repeat: no-repeat;
	background-position: 15px 10px;
}

.category li a {
	color: #838383;
	text-decoration: none;
	display: block;
}

.category li.selected, .category li:hover {
	background-color: #ebf4e3;
	color: #679236;
	background-image: url(/images/circle_green.png);
}

.category-item-last, .add-contestant {
	padding-left: 10px !important;
	background-image: none !important;
	font-size: 13px;
	color: #000000 !important;
}

.category-item-last a {
	float: right;
	margin-right: 10px;
}

.add-contestant {
	padding: 2px !important;
}

.add-contestant-form {
	border: 1px solid #eaeaea;
	background-color: #ffffff;
	border-radius: 3px;
}

.add-contestant-form input {
	border: none;
	width: 110px;
	padding-left: 5px;
}

.add-button {
	display: block;
	width: 50px;
	height: 24px;
	color: #ffffff;
	background-color: #9cd06b;
	font-family: OpenSans, Arial, Sans-serif;
	border-radius: 3px;
	text-decoration: none;
	float: right;
	vertical-align: baseline;
	line-height: 24px;
	text-align: center;
	margin: 5px 2px auto 0;
}

.category-title, .category li a, #content-box h1, .tabs a {
	font-family: OpenSans, Arial, Sans-serif;
}

/* Tables */
table.d-table {
	background-color: #f8f8f8;
	width: 100%;
	border-collapse: collapse;
	margin-bottom : 50px;
}

table.d-table th:first-child {
	background-color: #2694d1;
	color: #ffffff;
	text-transform: uppercase;
	font-family: OpenSans, Arial, Sans-serif;
	width: 224px;
}

.clubs-wrapper {
	border-top: 3px solid #2694D1;
	height: 720px;
	overflow-x: hidden;
	overflow-y: scroll;
}
.club-table-header {
	background-color: #2694D1;
	color: white;
	text-transform: uppercase;
	font-family: OpenSans,Arial,sans-serif;
	font-weight: bold;
	width: 570px;
	height: 40px;
}

.club-table-header span {
	height: 40px;
	line-height: 40px;
	margin-left: 30px;
}

.club-table-header > input {
	border: none;
	margin: 3px 3px 0 0;
	height: 34px;
	width: 280px;
	float: right;
	padding-left: 10px;

}

table.d-table th:last-child {
	width: 120px;
}

table.d-table td:last-child a {
	color: #2694d1;
	font-size: 13px;
	text-decoration: none;
}

table.d-table td .actions {
	text-align: right;
	width: 114px;
}


table.d-table tr td:first-child a {
	font-family: OpenSans, Arial, Sans-serif;
	color: #2694d1;
	padding-left: 10px;
	text-decoration : none;
}

table.d-table tr {
	border-bottom: 2px solid #ffffff;
	height: 45px;
}

table.d-table thead tr:first-child {
	border-bottom: 3px solid #2694d1;
	height : 35px;
}

.no-data-text {
	margin-bottom : 50px;
	text-align : center;
	font-style : italic;
}

.contests-separator {
	margin-top : 150px;
	margin-bottom : 10px;
}

/* Contest show */
.contest-description {
	padding : 20px 14px 20px 14px;
	font-size : 14px;
	text-align : justify;
	position: relative;
}

#flayers {
	position: absolute;
	right: 10px;
	top: -25px;
	font-weight: bold;
	color: #2694D1;
	list-style: none;
}

#flayers :after {
	clear: both;
}

form.contest a {
	font-weight: bold;
	color: #2694D1;
}

.google-map {
	border-top : 2px solid white;
}

.google-map-location {
	padding : 17px 14px 12px 14px;
	font-size : 13px;
	font-weight : bold;
}

.google-map-location a {
	color : #2294d3;
	text-decoration : none;
	font-size : 13px;
	font-weight : bold;
}

.google-map-container {
	margin-left : auto;
	margin-right : auto;
	width : 542px;
}

.no-items, .google-map-unavailable {
	padding-top : 50px;
	text-align : center;
	font-style : italic;
}

/* Login popup */
.login-registration-text {
	font-size : 11px;

}

.login-registration-link {
	color: #2694D1;
	font-size: 11px;
	text-decoration: none;
}

.login-input {
	margin-bottom : 10px;
	margin-top : 5px;
}

.login-input label, .d-form label {
	font-size : 12px;
	font-weight : bold;
}

.login-input input, .d-form input[type=text], .d-form input[type=password] {
	width : 260px;
	height : 20px;
	background-color : #f5f5f5;
	border : 1px solid #e9e9e9;
	border-radius : 3px;
	padding : 5px 10px 5px 10px;
}

.d-form textarea {
	border : 1px solid #e9e9e9;
	border-radius : 3px;
	background-color : #f5f5f5;
	padding: 5px;
}

.login-white-wrapper {
	background-color : white;
	padding : 30px;
}

/* Designed form */

.d-form h2 {
	font-family : OpenSans, Arial, Sans-serif;
	font-size : 20px;
}

.d-form {
	background-color : white;
}

.d-form label{
	display : inline-block;
	width : 130px;
	text-align : right;
}

.d-form input[type=submit], .submit-button {
	min-width : 200px;
	padding : 8px;
	min-height : 30px;
	line-height: 30px;
	font-size : 14px;
	text-transform : uppercase;
	margin : 10px 0px 15px 0px;
}

.d-form input, .d-form select, .d-form textarea {
	margin : 4px 0px 3px 4px;
}

.d-form select {
	padding : 4px 9px 4px 4px;
}

.hr {
	width : 100%;
	height : 1px;
}

/* Tehtanje / weighin / weigh-in */

.category-long {
	width : 550px;
	border-right : none;
}

.weigh-in-discipline,
.weigh-in-section,
.weigh-in-category,
.weigh-in-pos {
	font-family : OpenSans, Arial, Sans-serif;
	color: #838383;
	width : 100px;
	display : inline-block;
}

.weigh-in-category {
	width: 90px;
	position: relative;
}

.weigh-in-pos {
	text-align: center;
	width: 60px !important;
	font-size: 1.3em;
}

.weighin-clubs {
	font-size : 13px;
}

.weigh-in-original-category {
	position: absolute;
	display: block;
	top: 24px;
	height: 12px;
	line-height: 12px;
	font-size : 9px; 
}

.weigh-in-name {
	font-family : OpenSans, Arial, Sans-serif;
	color: #000;
	width : 160px;
	display : inline-block;
}

.category-no-image li, .category-no-image li:hover, .category-no-image li.selected {
	background-image : none;
	font-family : OpenSans, Arial, Sans-serif;
}

.weigh-in-actions {
	float : right;
	margin : 8px 5px 0 0;
}

.weigh-in-link {
	display : inline-block;
	width : 160px;
	height : 25px;
	line-height : 25px;
	padding-left : 10px;
	vertical-align : baseline;
	background-color : #eaeaea;
	color : #757575;
	font-size : 11px;
	font-weight : bold;
	text-decoration : none;
}

.weigh-in-print {
	background-image: url(/images/print.png);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	padding-left : 30px;
}

.weigh-in-save {
	background-image: url(/images/save.png);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	padding-left : 30px;
}

.weighin-image {
	width : 16px;
	height : 16px;
	border : 2px solid transparent;
}

.weighin-ok {
	border-color : #7fc628;
}

.weighin-dsq {
	border-color : red;
}

.weighin-category-select {
	padding : 5px;
	min-width : 80px;
	margin : 7px;
}

#selections_container {
	display : none;
}

#category-select-weighin {
	padding : 4px 12px;
}

/* Results */

#prev-category-link {
	margin-top : 15px;
	margin-left : 9px;
	float : left;
}

#next-category-link {
	margin-top : 15px;
	margin-right : 9px;
	float : right;
}

.current-category {
	float : left;
	margin-top : 15px;
	margin-left : 135px;
	font-family : OpenSans, Arial, Sans-serif;
	font-size : 22px;
}

/* Rings */
#rings-list {
	background-color: white;
	padding: 5px;

}

#rings-list h2 {
	font-size: 20px;
	margin: 4px 0;
}

#rings-list .row {
	margin: 4px 0;
}

#rings-list .row form {
	display: inline;
}

#rings-list input[type=text] {
	width : 260px;
	height : 20px;
	background-color : #f5f5f5;
	border : 1px solid #e9e9e9;
	border-radius : 3px;
	padding : 5px 10px 5px 10px;
}

#rings-list input[type=submit] {
	cursor: pointer;
	display: inline;
}

#rings-list input[type=submit]:hover {
	background-color: #A1F551;
}
#rings-list input[type=submit].danger:hover {
	background-color: #F00409 !important;
}

/* Judges */
#judges-list, #contestants-list {

}

.judge, .contestant {
	font-family: OpenSans, Arial, Sans-serif;
}

.judge-delete {
	width : 50px;
	display: inline-block;
	background-color: #F00409 !important;
	margin-left : 15px;
	font-size : 12px;
	height : 21px;
}

#trophy-image {
	width : 16px;
	height : 16px;
}

.favourite {
	padding : 2px 4px;
}

.draw-button {
	width : 200px;
	height : 25px;
}

.contestants-list {
	padding : 5px;
	min-width : 200px;
}

#category-quick-select {
	text-align : center;
}

#category-select {
	padding : 5px;
}

/* validator */
form span.error {
	color: #EE0000;
	font-size: 14px;
	display: block;
}

a.bolded-blue {
	color: #2694D1;
	font-weight: bold;
}

#confirm-click-popup button.danger {
	width: 184px;
	height: 38px;
	padding: 8px;
	line-height: 21px;
	font-size: 14px;
	margin: 10px 0 15px;
	min-height: 30px;
	min-width: 200px;
	padding: 8px;
	text-transform: uppercase;
}

.clear { clear: both; }


.flag-slo, .flag-uk {
	background-position: -2px -13px;
	width: 60px;
	height: 40px;
	background-repeat: no-repeat;
}
.flag-slo { background-image: url(/images/flags/slo.png); }
.flag-uk { background-image: url(/images/flags/uk.png); }

a.lost-password {
	position: relative;
	top: -30px;
	left: 170px;
	color: #2694D1;
	font-size: 11px;
	text-decoration: none;
}

a.general {
	color: #2694D1;
}

.weighin-contestant a img {
	border: 2px solid transparent
}
.weighin-contestant a.weighin-dsq img.checked {
	border: 2px solid red !important;
}

.weighin-contestant a.weighin-ok img.checked {
	border: 2px solid green !important;
}

#member-list .add-result-ac span.member.type-contestant {
	color: green !important;
}

#member-list .add-result-ac span.member.type-recreative {
	color: red !important;
}
