
body {
	font-family: Arial, Helvetica, sans-serif;
	color: #e3fcf6; /* page text */
	background-color: #3f84a3; /* page background */
}

fieldset {
	border: none;
}

#content {
    background: #3f84a3 url("/img/header.png") no-repeat center top; /* page background */
    background-size: auto 400px;
    padding-top: 400px;
    position: relative;
}

header nav {
	padding-left: 20px;
	padding-right: 20px;
	margin-left: 10px;
	margin-right: 10px;
	/*text-align: center;*/
}

header ul {
	list-style-type: none;
	text-align: center;
	display: inline-block;
}

header li {
	display: inline;
	/*text-transform: uppercase;*/
	font-size: 16px;
	line-height: 1.432291667;
	padding-left: 10px;
	padding-right: 10px;
}

header span {
	display: none;
}

.content-zone {
	width: 1200px;
	margin: 0 auto;
	padding-top: 15px;
	padding-bottom: 10px;
	clear: both;
}

.content-zone-inner {
	padding-left: 10px;
	padding-right: 10px;
}

.block {
	float: left;
}

.block-inner {
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;
	/*border-radius: 10px;*/
}

.visible {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.white {
	color: white;
}

.full {
	width: 100%;
}

.golden-ratio {
	width: 61.8%;
}

.rest-of-golden-ratio {
	width: 38.2%;
}

.rest-of-2-fifths {
	width: 60%;
}

.half {
	width: 50%;
}

.third {
	width: 33.33%;
}

.quarter {
	width: 25%;
}

.fifth {
	width: 20%;
}

.sixth {
	width: 16.6666666%;
}

.seventh {
	width: 14.28571%;
}

a {
	color: #aad9df; /* link */
	text-decoration: none;
}

a:visited {
	color: #aad9df; /* link visited */
}

a:hover {
	text-decoration: underline;
}

a.inverted {
	/* color: #077ba4; table dark */
	color: #3c5e8a;
	text-decoration: none;
}

h2.inverted, h3.inverted, h4.inverted {
	/* color: #ffffff;  page background */
	color: #3c5e8a; /* page background */
}

a.inverted:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, .column-label {
	color: #aad9df; /* heading color */
	font-family: Arial, Helvetica, sans-serif; /* heading font */
	font-weight: 400;
	font-style: normal;
}

h1, h2, h3, h4, p, label {
	margin: 0;
	margin-bottom: 8px;
	padding-left: 10px;
	padding-right: 10px;
}

h1 {
	font-size: 48.828125px;
	line-height: 1.16785152;
	margin-bottom: 16.27604167px;
	/* text-shadow: -1px 0 #2d363d, 0 1px #2d363d, 1px 0 #2d363d, 0 -1px #ffffff;  page background */
	color: #aad9df;
}

h2 {
	font-size: 39.0625px;
	line-height: 1.216512;
	margin-bottom: 13.02083333px;
	color: #aad9df;
}

h3 {
	font-size: 31.25px;
	line-height: 1.2672;
	margin-bottom: 10.41666667px;
}

p {
	line-height: 1.375;
	margin-top: 10px;
	margin-bottom: 6.666666667px;
}

.p_1 {
	font-size: 25px;
	line-height: 1.32;
	margin-top: 12.5px;
	margin-bottom: 8.333333333px;
}

.p-1 {
	font-size: 16px;
	line-height: 1.432291667;
	margin-top: 8px;
	/*margin-bottom: 5.333333333px;	*/
	padding-bottom: 5.333333333px;
}

.p-2 {
	font-size: 12.8px;
	line-height: 1.491970486;
	margin-top: 6.4px;
	margin-bottom: 4.266666667px;
}

.h2 {
	font-family: Arial, Helvetica, sans-serif; /* heading font */
	font-weight: 400;
	font-style: normal;
	margin: 0;
	margin-bottom: 8px;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 39.0625px;
	line-height: 1.216512;
	margin-bottom: 13.02083333px;
}

label {
	display: block;
}

input, select {
	padding-left: 10px;
	padding-right: 10px;
	font-size: 20px;
	line-height: 1.32;
	font-family: Arial, Helvetica, sans-serif;
	border: 2px solid #496587; /* input field border */
	/* color: #ffffff; page background */
	color: #210002;
	box-sizing: border-box;
	border-radius: 5px;
	height: 50px;
}

select {
	font-size: 16px;
}

.block ul, .block-inner ul {
	padding-left: 40px;
}

.block li, .block-inner li {
	line-height: 1.375;
}

.formalert {
    margin-top: 2px;
    margin-bottom: 0;
    padding-left: 8px;
    padding-right: 8px;
    min-height: 16px;
    font-weight: bold;
    color: #b50000; /* form error */
}

.btn {
    cursor: pointer;
    align-items: center;
    height: 50px;
    border: 0;
    padding: 0 20px;
    margin: 0;
    background: #3c5e8a; /* button background */
    color: #deebff; /* button text color */
	width: auto;
}

.indent {
	margin-top: 30px;
}

.hidden {
	display: none;
}

.firewatch-0 {
	color: #616161; /* page text */
}

.firewatch-1 {
	color: #05216c;
}

.firewatch-2 {
	color: #616161; /* heading color */
}

.firewatch-3 {
	color: #1f1bff;
}

.firewatch-4 {
	/* color: #616161; heading color */
	color: #341bd5;
}

.firewatch-5 {
	color: #451b98; /* table light */
}

.firewatch-6 {
	color: #261b7a; /* table dark */
}

.firewatch-7 {
	color: #ffffff; /* page background */
}

.firewatch-8 {
	/* color: #ffffff; page background */
	color: #3c5e8a;
}

.bg-firewatch-0 {
	background-color: #616161;
}

.bg-firewatch-1 {
	background-color: #7573ff;
}

.bg-firewatch-2 {
	background-color: #deebff; /* button text color */
}

.bg-firewatch-3 {
	background-color: #1b50ff;
}

.bg-firewatch-4 {
	/* background-color: #616161; heading color */
	background-color: #3d1bd5;
}

.bg-firewatch-5 {
	/* background-color: #378fb5; table light */
	background-color: #deebff; /* button text color */
}

.bg-firewatch-6 {
	/* background-color: #261b7a; table dark */
	background-color: #9cc8fe;
}

.bg-firewatch-7 {
	background-color: #ffffff; /* page background */
}

.bg-firewatch-8 {
	background-color: #ffffff; /* page background */
}

.bg-lt-color-1 {
	/* background-color: #496587; input field border */
	background-color: #0079d0;
}

.bg-lt-color-2 {
	/* background-color: #b50000; form error */
	background-color: #605dff;
}

.bg-lt-color-3 {
	/* background-color: #9ffaad; box info */
	background-color: #4aa858; /* box info */
}

/* Customize the label (the container) */
.container {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #fff;
	border-radius: 5px;
	border: 2px solid #496587; /* input field border */
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
	background-color: #496587;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
	/* background-color: #ffffff; page background */
	background-color: #210002;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#team-settings fieldset {
	display: grid;
	align-items: end;

	/* Four columns
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(6, 1fr) 1.5fr;
    */
	/* Three columns */
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(6, 1fr) 1.5fr;

	justify-items: start;
}

#team-settings input {
	font-size: 16px;
}

#team-settings .btn {
	font-size: 25px;
}

.input-name, .aaa, .select {
	width: 100%;
}

label, .list-label {
	font-weight: bold;
	font-size: 20px;
	/* color: #ffffff; page background */
	color: #0c0a30;
}

.list-label {
	/* color: #f2ebd8;  page text */
	color: #aad9df;
}

#column-label-friday {
	grid-column-start: 2
}

.label-type-1 {
	display: none;
}

.label-type-2 {
	display: none;
}

.label-type-3 {
	display: none;
}

#team-list {
	display: grid;
	grid-template-columns: 2rem auto 3rem;
}

.odd-line, .even-line {
	display: contents;
	color:rgb(60, 94, 138);
}

.odd-line > p, .even-line > p {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 6px;
	padding-bottom: 6px;
}

.odd-line > p {
	/* background-color: #451b98; table light */
	background-color: #a5c8f6;
}

.odd-line.inactive > p {
	background-color: gray;
	text-decoration: line-through;
}

.even-line > p {
	/* background-color: #261b7a; table dark */
	background-color: #d1ddec;
}

.even-line.inactive > p {
	background-color: gray;
	text-decoration: line-through;
}

.nahled-tricka img {
	width: 100%;
}

#header-form-logout {
    display: inline-block;
    margin-left: 20px;
}

#header-form-logout input {
    font-size: 16px;
    padding: 5px 15px;
    background-color: #3c5e8a; /* button background */
    color: #deebff; /* button text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#header-form-logout input:hover {
    background-color: #2e4a6a;
}

.iframe-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
}
.iframe-container iframe {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}

.stonetown-news img {
	width: 100%;
}

/* TABLE */

.table {
	border-collapse: collapse;
	width: 100%;
}
.table th, .table td {
	padding: 6px 10px;
}
.table tr:nth-child(odd) {
	/* background-color: #451b98;  table light */
	/* background-color: #6568ff; */
	background-color: #b0b1fc;
}
.table tr:nth-child(even) {
	/* background-color: #261b7a;  table dark */
	/* background-color: #948cff; */
	background-color: #d2cfff;
}
.table tr:first-child {
	background-color: transparent;
}
.table .left {
	text-align: left;
}

/* FILE INPUT */

#file {
	border: none;
	padding: 0;
}

/* KM INPUT */

#mileage {
	width: calc(100% - 50px);
}


/* DENIK */
.locations, .bottom-row {
	width: 400px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.locations .location {
	display: inline-block;
	margin: 6px;
	width: 110px;
	/* background-color: #451b98; table light */
	background-color: #3c5e8a;
	/*background-color: #ffaf1b;*/
	border-radius: 5px;
}
.locations .location a {
	display: inline-block;
	width: 100%;
	text-align: center;
	line-height: 5rem;
	font-size: 4rem;
	font-weight: bold;
	border-bottom: solid 2px #ffffff; /* page background */
	color: #f2ebd8; /* page text */
	/* color: #e98681; link */
	/* color: #378fb5;*/
}
.locations .location.disabled {
	opacity: 0.3;
}
.locations .location.disabled a {
	pointer-events: none;
	cursor: default;
	color: black;
}
.locations .location p {
	padding: 6px 6px 0 6px;
	margin: 0;
	text-align: center;
	color: #f2ebd8;
}
.bottom-row .c-codes, .bottom-row .destination {
	display: inline-block;
	margin: 6px;
	width: 174px;
	/* background-color: #451b98; table light */
	background-color: #3c5e8a;
	/*background-color: #ffaf1b;*/
	border-radius: 5px;
}
.bottom-row .c-codes a, .bottom-row .destination a {
	display: inline-block;
	width: 100%;
	text-align: center;
	line-height: 5rem;
	font-size: 2rem;
	font-weight: bold;
	border-bottom: solid 2px #ffffff; /* page background */
	color: #f2ebd8; /* page text */
	/* color: #e98681; link */
	/* color: #378fb5;*/
}
.bottom-row .c-codes p, .bottom-row .destination p {
	padding: 3px 6px 3px 6px;
	margin: 0;
	color: #f2ebd8;
	text-align: center;
}

/* NAV HOME */
.home a {
	display: block;
	margin: 10px auto 20px;
    max-width: 140px;
	padding: 10px;
}
.home a svg {
    display: block;
	margin: auto;
}

fieldset[disabled="disabled"] {
	opacity: 0.4;
    pointer-events: none;
}

/* HINT BUTTON */
.hint-btn {
	font-size: 22px;
    height: 40px;
    max-width: 210px;
}


/* BREAKPOINTS */

@media screen and (max-width: 1200px) {

	#content {
	background-size: auto 400px;
    padding-top: 400px;
	}

	.content-zone {
		width: 100%;
	}

	#team-settings fieldset {
		display: grid;
		align-items: end;

		/* Four columns
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(10, 1fr) 1.5fr;
		*/
		/* Three columns */
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(10, 1fr) 1.5fr;
	}
	.label-type-1 {
		display: inline;
	}

	.label-type-2 {
		display: inline;
	}

}

@media screen and (max-width: 1100px) {


	input {
		width: 100%;
	}

}

@media screen and (max-width: 929px) {


	.golden-ratio {
		width: 100%;
	}

	.rest-of-golden-ratio {
		width: 100%;
	}

	.half {
		width: 100%;
	}

	.quarter {
		width: 50%;
	}

	/*.fifth {
		width: 33.33%;
	}*/

	.sixth {
		width: 25%;
	}

	h1 {
		font-size: 39.0625px;
		line-height: 1.216512;
		margin-bottom: 13.02083333px;
	}

	h2, .h2 {
		font-size: 31.25px;
		line-height: 1.2672;
		margin-bottom: 10.41666667px;
	}

	h3 {
		font-size: 25px;
		line-height: 1.32;
		margin-bottom: 8.333333333px;
	}

	input {
		/*width: 61.8%;*/
	}

	#team-settings fieldset {
		display: grid;
		align-items: end;

		/* Four columns
		grid-template-columns: 1fr 3fr;
		grid-template-rows: repeat(4, 1fr) 1.5fr repeat(3, 1fr) 1.5fr repeat(3, 1fr) 1.5fr repeat(3, 1fr) 1.5fr repeat(3, 1fr) 1.5fr;
		*/
		/* Three columns */
		grid-template-columns: 1fr 3fr;
		grid-template-rows: repeat(3, 1fr) 1.5fr repeat(2, 1fr) 1.5fr repeat(2, 1fr) 1.5fr repeat(2, 1fr) 1.5fr repeat(2, 1fr) 1.5fr;

		width: 61.8%;
		justify-items: end;
	}

	label {
		margin-bottom: 14px;
	}

	.label-type-1 {
		display: none;
	}

	.label-type-2 {
		display: none;
	}

	.label-type-3 {
		display: inline;
	}

	.label-type-4 {
		display: none;
	}

}

@media screen and (max-width: 700px) {

    body {
        display: flex;
        flex-direction: column;
    }

    #content {
        background: #3f84a3 url("/img/header_mobile.png") no-repeat center top;
        background-size: 100% auto;
        max-width: 1200px;
        min-height: 100vh;
    }

    input {
        width: 100%;
    }

    #team-settings fieldset {
        width: 100%;
        grid-template-columns: 1fr 3fr;
    }

    .rest-of-2-fifths {
        width: 100%;
    }

    .fifth {
        width: 50%;
    }


    header {
        order: 10;
        padding: 0;
        margin: 0;
        text-align: center;
    }

	/*	header ul {
        display: none;
    }*/

    #header-form-logout {
        padding: 20px;
        margin-top: 20px;
        margin-left: 0px;
    }

    #header-form-logout input {
        width: 100%;
        padding: 10px 20px;
        font-size: 18px;
        margin: 0;
    }

}

@media screen and (max-width: 375px) {

	#content {
		background: #305a6a url("/img/header_mobile.png") no-repeat center top;
		background-size: contain;
	}

	.content-zone-inner {
		padding: 0;
	}

	.third {
		width: 100%;
	}

	.quarter {
		width: 100%;
	}

	.sixth {
		width: 33.33%;
	}

	.fifth {
		width: 50%;
	}

	h1 {
		font-size: 31.25px;
		line-height: 1.2672;
		margin-bottom: 10.41666667px;
	}

	h2, .h2 {
		font-size: 25px;
		line-height: 1.32;
		margin-bottom: 8.333333333px;
	}

	h3 {
		font-size: 20px;
		line-height: 1.375;
		margin-bottom: 6.666666667px;
	}

}

/* Tooltip container */
.tooltip {
	position: relative;
	display: inline;
}

/* Tooltip text */
.tooltip .tooltiptext {
	visibility: hidden;
	width: 20px;
	background-color: rgb(181, 200, 248);
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 1px;
	position: absolute;
	z-index: 1;
	top: -30px; /* Adjust this value to position the tooltip above or below the text */
	left: 50%;
	margin-left: -10px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
	visibility: visible;
}
