
/* x-small 0.55em */
/* small 0.8em */
/* medium 0.9em */
/* large 1.1em */
/* x-large 1.5em */

body,html {
	margin: 0;
	padding: 0;
	border: none;
	background: whitesmoke;
	color: #444;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: subpixel-antialiased;
	touch-action: manipulation;
	height: 100%; 
}

/*div {
	border: solid black;
}*/

h4 {
	text-transform: uppercase;
	color: #2c506d;
}

.landing-container {
	/*border: solid red 1px;*/

  /* The image used */
  background-image: url("../images/landing.jpg");

  /* Full height */
  height: 100%; 
  

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  overflow: none;

}

.race-timer-landing-logo {
	font-size: 120px; 
	color: whitesmoke;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#footer_spacing {
	min-height: 50px;
}

#page_footer {
	/*position: absolute;*/
	height: 60px;
	width: 100%;
	position: fixed;
	bottom: 0;
	color: whitesmoke;
	background-color: #333;
	font-size: 12px;
	padding: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
}

#page_footer a {
	text-decoration: none;
	color: whitesmoke;
}

#page_footer_description {
	padding-top: 10px;
}

#page_footer_links {
	text-align: center;
	padding-top:10px;
	font-size: 24px;
}

.footer-link {
	padding: 5px;
}

.codename {
	text-transform: uppercase;
	font-family: 'Audiowide', cursive;	
}

#minimize {
	position: fixed;
	top: 7px;
	right: 10px;
	z-index: 1000;
	color: #fff;
}

#minimize-title {
	position: fixed;
	top: 7px;
	left: 5px;
	z-index: 1000;
	color: #fff;
	text-transform: uppercase;
	/*font-style: italic;*/
}

#minimized-adm-panel {
	position: fixed;
	top: 0;
	width: 100%;
	min-height: 25px;
	color: #fff;
	background-color: #333;
	text-transform: uppercase;
	/*font-style: italic;*/
	display: inline-block;
	z-index: 900;
	padding-top: 5px;
	padding-left: 5px;
}

#header-race-title {
	padding-left: 10px;
}

.trade-mark a {
	color: #fff;
	text-decoration: none;
}

.trade-mark a:visited {
	color: #fff;
	text-decoration: none;
}

.trade-mark a:active {
	color: #fff;
	text-decoration: none;
}

.trade-mark a:hover {
	color: #fff;
	text-decoration: none;
}

/* BUTTONS */

input[type="button"] {
	padding: 10px 12px;
	margin: 0;
	border: none;
	background: #333;
	color: #fff;
	font-size: 1.0rem;
	line-height: 1;
	border-radius: 5px;
	-webkit-appearance: none;
	min-width: 50px;
	cursor: pointer;
}

button {
	padding: 10px 12px;
	margin: 0;
	border: none;
	background: #333;
	color: #fff;
	font-size: 1.0rem;
	line-height: 1;
	border-radius: 5px;
	-webkit-appearance: none;
	min-width: 50px;
	cursor: pointer;
}

button a {
	color: #fff;
	text-decoration: none;
}

button a:visited {
	color: #fff;
	text-decoration: none;
}

@media (hover: hover) {
	button:hover {
		color: lime;
	}
	button a:hover {
		color: lime;
	}
	button:hover a {
		color: lime;
	}
}

.active_button {
	color: lime;
}

.inactive_button {
	color: #fff;
}

/* INTERNAL LINKS */

.anchor {
	position: relative;
	top: -150px;
	display: inline-block;
}

/* MAIN CONTAINERS */

#adm-panel {
	width: 100%;
	background-image: url("../images/alu.jpg") !important;
	-webkit-box-shadow:inset 0px 0px 0px 1px #333;
    -moz-box-shadow:inset 0px 0px 0px 1px #333;
    box-shadow:inset 0px 0px 0px 1px #333;
    position: fixed;
    top: 0;
    z-index: 500;
}

.race-timer-content-minimized-header {
	margin: 50px auto;
}

.race-timer-content {
	margin: 150px auto;
}

.race-timer-viewer-content {
	margin: 100px auto;
}

/* MAIN HOME PAGE */

.race-list ul li a {
	text-decoration: none;
	text-transform: uppercase;
}

/* HEADER STOP WATCH */

@font-face {
	font-family: 'Digital';
	src: url('./fonts/digital-7.ttf');
	/*src: url('../../fonts/ds_digital/DS-DIGII.TTF');*/
}

.stop-watch {
	background-color: #c2c2a3 !important;
	color: #404040 !important;
	padding: 5px;
	border-radius: 4px;
	padding-right: 10px;
	padding-left: 10px;
	box-shadow: 0px 0px 5px 0px yellow;
}

.stop-watch-info {
	font-size: 0.35rem;
	font-weight: bold;
}

.digital-header {
	font-family: 'Digital';/*, 'Lato', sans-serif;*/
	font-size: 1.0rem !important;
}

.digital-number {
	display: inline-block;
	width: 0.5em;
	text-align: right;
}

.digital-dash {
	display: inline-block;
	width: 0.2em;
	text-align: center;
}

.digital-colon {
	display: inline-block;
	width: 0.2em;
	text-align: center;
}

.sort-category-select {
	min-width: 120px;
}

/* TRAFFIC LIGHT */

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  border: solid #333 1px;
  vertical-align: -10%;
}

.red {
	background-color: red;
}

.yellow {
	background-color: yellow;
}

.green {
	background-color: lime;
}

.race-matrix-bib {
	border: 2px solid #8c8c8c;
	border-right: none;
	padding:10px;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
	min-width: 60px;
	text-align: center;
}

.lap-pause {
	color: red;
}

/* RACE MATRIX BIB STATUS COLOR */

.DNS {
	background-color: red;
	cursor: default;
}

.DNF {
	background-color: red;
	cursor: default;
}

.Inactive {
	color: #f2f2f2;
	cursor: default;
}

.Finish {
	background-color: green;
}

.LAP_0 {
	background-color: #4e3cc3;
}

.LAP_1 {
	background-color: #00e600;
}

.LAP_2 {
	background-color: #0066ff;
}

.LAP_3 {
	background-color: #ff9900;
}

.LAP_4 {
	background-color: #5c5c8a;
}

.LAP_5 {
	background-color: #A3A7AD;
	/*background-color: #ff0066;*/
}

.LAP_6 {
	background-color: #669999;
}

.LAP_7 {
	background-color: #ffff00;
}

.LAP_8 {
	background-color: #00e6e6;
}

.LAP_9 {
	background-color: #339966;
}

/* RACE MATRIX ENTRIES */

.race-matrix-info {
	font-size: 0.55rem;
	background-color: #f2f2f2;
	border-color: #f2f2f2;
	padding-left: 6px;
	padding-right: 6px;
	text-align: center;
	vertical-align: middle;
	min-width: 60px;

	/*background: #333;*/
	/*color: #fff;*/
}

.rmi-top {
	border-top: 2px solid #8c8c8c;
	padding-top: 5px;
}

.rmi-mid {
	padding-top: 3px;
}

.rmi-right {
	border-right: 2px solid #8c8c8c;	
}

.rmi-bottom {
	border-bottom: 2px solid #8c8c8c;
	font-family: 'Digital';
	font-size: 0.7rem;	
}

.race-matrix-table {
	border-collapse: collapse;
}

/* CONTAINERS */

.trail-race-timer-container {
	padding: 10px;
	/*padding-top: 0px;*/
}

.trail-settings-container {
	background: whitesmoke;
}

.advanced-settings-container {
	background: whitesmoke;
} 

.trail-container-upper {
	margin-bottom: 5px;
}

.trail-container-lower {
	margin-top: 5px;
}

.trail-container-header {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
}

.trail-container {
	margin-top: 5px;
	margin-bottom: 5px;
}

/* BUTTON GROUP */

.button-wrapper {
	display: inline-block;
	padding-right: 2px;
	padding-bottom: 6px;
}

.hidden-button-wrapper {
	display: none;
	padding-right: 0px;
	padding-bottom: 0px;
}

.button-group-left {
	padding-left: 10px;
}

.button-group-right {
	padding-right: 12px;
}

.button-group-wrapper {
	display: inline-block;
	padding: 10px;
}

.trail-button {
	border-radius: 10px;
 	background-color: #333;
 	border: none;
 	color: #fff;
 	padding: 16px 32px;
 	text-align: center;
 	text-decoration: none;
 	display: inline-block;
 	margin: 4px 2px;
 	cursor: pointer;
}

/* TEXT WRAPPER */

.trail-text-wrapper {
	width:100%;
	display: inline-block;
	padding: 10px;
}

.trail-text-wrapper h4 {
	margin-top: 0px;
}

.trail-table-wrapper {
	padding: 10px;
}

/* TRAIL HEADER */

.trail-header {
	font-size: 0.8rem !important;
	padding: 10px;
	background-color: #333 !important;
	color: #fff !important;
	border-radius: 6px;
}

.trail-sub-header {
	padding: 10px;
}

.trail-sub-header-text {
	padding-left: 10px;
	text-transform: uppercase;
	font-size: 0.6rem !important;
}

.trail-header-left {
	display: inline-block;
	font-size: 1.2rem;
}

.trail-header-mid {
	display: inline-block;
	font-size: 1.2rem;	
	padding-left: 10px;
	padding-right: 10px;
	text-transform: uppercase;
	/*font-style: italic;*/
}

.trail-header-right {
	float: right;
}

.trade-mark {
	text-transform: uppercase;
	font-size: 0.6rem;
}

.header-status-Started {
	color: #ffff00;
}

.header-status-Finish {
	color: lime;
}

.header-status-Not_Started {
	color: red;
}

/* TRAIL TABLE */

.result-list-entry {
	padding: 2px !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
}

.rle-mid {
	min-width: 40px !important;
}

.rle-mid {
	min-width: 60px !important;
}

.rle-long {
	min-width: 100px !important;
}

.trail-table {
	width: 100%;
	border-collapse:collapse;
	font-size: 0.8rem;
}

.trail-table th {
	font-size: 1.0rem !important;
	padding-left: 10px !important;
}

.trail-table input[type="button"] {
	font-size: 0.8rem;
	padding: 10px 10px;
	min-width: 95px;
}

.trail-table button {
	font-size: 0.8rem;
	padding: 10px 10px;
	min-width: 50px;
}

.trail-table td, th {
   padding: 5px;
   text-align: left;
   table-layout: auto;
   white-space: nowrap;
}

.trail-table td.expand {
  width: 99%
}

.trail-table th.expand {
  width: 99%
}

.trail-table th {
	font-weight: normal !important;
	background-color: #333 !important;
	color: #fff !important;
	text-transform: uppercase;
	font-size: 0.6rem !important;
}

.trail_row_even tr {
	background-color: #e6e6e6 !important;
}

.trail_row_odd tr {
	background-color: white !important;
}

/*.trail-table tr:nth-child(odd) {
	background-color: #e6e6e6;
}

.trail-table tr:nth-child(even) {
	background-color: white;
}

.trail-table tr:first-child {
	background-color: #e6e6e6;
}*/

/*.trail-table tr:first-child {
	background-color: #333 !important;
	color: #fff !important;
}*/

.summary-row td {
	padding-right: 6px;
	text-align: right;
}

.summary-row-group {
	text-align: left !important;
	padding-left: 16px !important;
	padding-right: 0px !important;
}

@media screen and (max-width: 600px) {
	table {font-size:0.6em;}
	select {font-size:0.4em;}
	select:focus, textarea:focus, input:focus {
        /*font-size: 16px;*/
        font-size:0.4em;
    }
	.trail-table td, th {
		padding-left: 2px;
		padding-right: 2px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.trail-calculator-container {
		padding: 1px;
	}
	.button-group-wrapper {
		padding: 2px;
	}
	.trail-table-wrapper {
		padding: 2px;
	}
	.trail-text-wrapper {
		padding: 2px;
	}
	.trail-main-header {
		margin-top: 50px !important;
	}

}

/*@media screen and (-webkit-min-device-pixel-ratio: 0) {
select:focus, textarea:focus, input:focus {
        font-size: 16px;
    }
}*/

/* MANUAL PAGE SPECIFIC CSS */

.small-button {
	padding: 5px 5px;
	font-size: 0.5rem;
	/*min-width: 20px;*/
	min-width: 25px;
	border-radius: 3px;
  	transform: translateY(-20%);
}

.button-number {
	position: absolute;
	color: lime;
	top: 90px;
	margin-left: 5px;
}

.manual-image {
	padding: 10px;
	width: 98%;
	-webkit-box-shadow:inset 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow:inset 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.manual-image-wrapper {
	padding-top: 10px;
	padding-bottom: 30px;
}

.manual-text {
	padding: 10px;
	padding-right: 40px;
	padding-left: 40px;
	line-height: 150%;
}

.manual-entry-wrapper {
	padding-top: 40px;
}

/*.manual-list ol {
  list-style: none; 
}

.manual-list ol li::before {
	color: red;
}*/

.button-list ul {
	list-style: none;
	line-height: 200%;
}

.button-list-spacing {
	width: 10px;
	display: inline-block;
}

.manual-list ol {
  list-style: none;
  counter-reset: my-awesome-counter;
  list-style-position: outside;
  padding-left: 40px;
  line-height: 200%;
}
.manual-list ol li {
  counter-increment: my-awesome-counter;
}
.manual-list ol li::before {
  content: counter(my-awesome-counter) " ";
  color: red;
  font-weight: bold;
  display: inline-block;
  width: 15px; 
  margin-left: -25px;
  margin-right: 10px;
  text-align: right;
}
.manual-list ol li ul {
	list-style: none;
	counter-reset: my-awesome-second-level-counter;
}
.manual-list ol li ul li {
	counter-increment: my-awesome-second-level-counter; 
}
.manual-list ol li ul li:before {
	content: "\26AC";
	color: #333;
	font-weight: bold; 
  	display: inline-block; 
  	width: 10px; 
  	margin-left: -10px;
}

