/**************
  General css
**************/

#body {
    font-family: "Open Sans",sans-serif;
    box-sizing: border-box;
    margin: 0px;
}

/* header */
#header{
    background-color: #293551;
    color: white;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

#header-image{
	background-image:url(../images/Header/header-image.jpg);
	background-repeat:no-repeat;
	z-index:2;
	height:100px;
	width:750px;
	clear:none;
	margin: auto;
	/*float:left;
	margin-left:20px;
	margin-right:0px;
	padding:0px;*/
}

/**********************************
 *
 *  Footer
 *
 ********************************/
#footer {
        /*background-color: #293551;
        color: #5CA0D6;
        padding: 4px;
        height: 40px;*/
}
#footer a {
        color: inherit;
        text-decoration: none;
}
#footer span.left {
        float:left;
        width:20%;
        text-align: left;
        padding-left: 10px;
        padding-top: 20px;
}
#footer span.right {
        float:right;
        width:20%;
        text-align: right;
        padding-right: 10px;
        padding-top: 20px;
}
#footer span.middle {
        float: left;
        margin: 0 auto;
        width: 60%;
        text-align: center;
        padding-top: 20px;
}

#content {
    padding: 15px;
}

/* menu results */
#menu_results{
        width: 300px;
        float: left;
}

#menu_results .event, #menu_results .event a {
    background-color: #293551;
    color: white;
    margin: 0px;
    padding: 5px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-decoration: none;
    font-weight: normal;
    display: block;
}

#menu_results .event:hover, #menu_results .event a:hover, #menu_results .schedule:hover {
    background-color: lightgrey;
    color: #5CA0D6;
}

#menu_results .teampoints, #menu_results .teampoints a, #menu_results .schedule {
    background-color: #5CA0D6;
    color: white;
    margin: 0px;
    padding: 5px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-decoration: none;
    display: block;
}

#menu_results br {
    display: none;
    line-height: 0px;
}

#menu_results_table {
    margin-bottom: 40px;
    line-height: 2em;
}

#menu_results .eventname a {
    border-left: 5px solid #5CA0D6;
    font-size: 0.9em;
    padding-left: 20px;
    margin: 0px;
    /*padding-top: 4px;
    padding-bottom: 4px;*/
    color: inherit;
    text-decoration: none;
    font-weight: normal;
    display: block;
    text-transform: inherit;
}

#menu_results .eventname a:hover {
    background-color: lightgray;
    color: #5CA0D6;
}

#content_results {
    /*margin-left: 340px;*/
}

#version{
	display: none;
}

.rounds{
  overflow:auto;
  position:relative;
}

div.rounds, div.heats {
    text-align: center;
}

a.menulink, a.menueventlink {
	color: inherit;
	text-decoration: none;
	font-weight: normal;
        display: block;
}

a.menulink {
	font-size: 1.1em;
}

a.menueventlink {
	border-left: 5px solid #5CA0D6;
	font-size: 0.9em;
	padding-left: 20px;
	margin: 0px;
	padding-top: 4px;
	padding-bottom: 4px;
}

a.menueventlink:hover {
    background-color: rgb(211, 211, 211);
    color: #5CA0D6;;
}

/*.menulink{
	font-size:1.1em;
}

.menueventlink{
	font-size:0.9em;
}*/

/* events-div */
/*#event{
	margin-left: 200px;
	width: 670px;
}*/

#heat-times{
	display: none;
}

.content_round{
	background-color: white;
}

.content_heat{
	background-color: white;
}

/* Scheduletable */
/*.scheduletable{
	background-color:white;
	width:100%;
	border-collapse:collapse;
	border: 1px solid lightgrey;
}

.scheduletable table{
	border: 1px solid lightgrey;
}

.scheduletable td{
	background-color:white;
	text-align: center;
	border-bottom: 1px solid #005D9C;
	padding: 5px 5px;
}

.scheduletable th{
	background-color: #005D9C;
	text-align: center;
	color: white;
	padding: 5px 1px;
}*/

/********************
  Style results-div
********************/
#content_results h3 {
    margin-top: 15px;
}

#content_results_inner
{
    width: 100%;
}

#content_results_inner th
{
	background-color: #5CA0D6;
	text-align: center;
	color: white;
	padding: 5px;
}

#content_results_inner td
{
	background-color: white;
	text-align: center;
	border-bottom: 1px solid lightgray;
	padding: 5px;
}

#content_results_inner td a {
	display: block;
	color: inherit;
	text-decoration: none
}

#content_results_inner td.eventname:hover {
        /*background-color: lightgrey;*/
}

#competition_name h2 {

    text-align: center;
    text-decoration: underline;
    color: #293551;

}

/************
  Heattable
************/
/* Hide/show table-columns */
/*.heattable{
	width:100%;
	border-collapse:collapse;
	border: 1px solid black;
}

.heattable table{
	border: 1px solid black;
}

.heattable td{
	border-top: 1px solid #ddd;
	padding: 0px 5px;
}

.place{
	display:table-cell;
	text-align: left;
	border-right: 1px solid #ddd;
}

.lane{
	display:table-cell;
	text-align: left;
	border-right: 1px solid #ddd;
}

.bib{
	display:table-cell;
	text-align: right;
	border-right: 1px solid #ddd;
}

.name{
	display:table-cell;
	text-align: left !important;
}

.date{
	display:table-cell;
	text-align: right;
}

.team{
	text-align: center;
	display:none;
}

.club{
	display:table-cell;
	text-align:center;
}

.result{
	display:table-cell;
	text-align: right;
	border-left: 1px solid #ddd;
}

.attempt,.height{
	display:table-cell;
	border-left: 1px solid #005D9C;
}

td.height, td.attempt{
	background-color:#C0C0C0;
}*/

/*#photofinish_image {
	background-color: lightgray;
}

#photofinish_image img {
	max-height: 450px;
	max-width: 100%;
}*/

#photofinish_button
{
	float: right;
	background-color: #5CA0D6;
	color: white;
	border-radius: 4px;
	border: 0;
	box-shadow: none;
	text-align: center;
	text-transform: uppercase;
	left: 5px;
	top: 5px;
}

/* Event */

#round_button {
    color: rgb(255,255,255);
    background-color: #5CA0D6;
}

#heat_button {
    color: rgb(255,255,255);
    background-color: #5CA0D6;
}

.photofinishbutton {

    float: right;
    padding-left: 40px;

}

/*table.participationstable thead, table.combinedeventtotaltable thead {
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 3px solid rgb(92, 160, 214);
    border-bottom: 3px solid rgb(92, 160, 214);
}

table.participationstable, table.combinedeventtotaltable {
    font-size: 1.2em;
    border-collapse: collapse;
    border-spacing: 0px;
}

table.participationstable td, table.combinedeventtotaltable td {
    background-color: white;
    border-bottom: 2px solid rgb(230, 230, 230);
}

table.participationstable td.rank, table.participationstable th.rank, table.combinedeventtotaltable td.rank, table.combinedeventtotaltable th.currentorder_combined {
    font-weight: bold;
    border-bottom: none;
}

td.initialorder, th.initialorder {
    width: 26px;
    text-align: center;
}

td.bib, th.bib {
    width: 80px;
    text-align: center;
}

td.team, th.team {
    width: 60px;
    text-align: center;
}

td.name, th.name {
    text-align: center;
}

td.personalbest, th.personalbest {
    width: 140px;
    text-align: center;
}

td.result, th.result {
    width: 150px;
    text-align: right;
    padding-right: 8px;
}

td.points, th.points {
    width: 120px;
    text-align: center;
}

td.attempt, th.attempt, td.height, th.height, td.combinedeventpoints, th.combinedeventpoints {
    color: rgb(100, 100, 100);
    background-color: rgb(250, 250, 250);
}*/

.result {
    color: rgb(83, 109, 254);
    font-weight: bold;
}
