:root {
  --main-color: #041E33; /*#001020;*/
  /*--background: #477F90;*/
  --background: #12364D;
  --color-red: #9F433E;
  --color-blue: #48607E;
  --color-green: #5F815A;
  --color-orange: #C6935F;
}

.bold {
  font-weight: bold;
}

.white {
  color: white;
}
.black {
  color: black;
}
.red {
  color: var(--color-red);
}
.blue {
  color: var(--color-blue);
}
.green {
  color: var(--color-green);
}
.orange {
  color: var(--color-orange);
}

.floatLeft {
	float: left;
	margin-right: 1em;
}

.floatRight {
	float: right;
	margin-left: 1em;
}

.small {
	font-size: 90%;
}
.smaller {
	font-size: 80%;
}
.smallest {
	font-size: 70%;
}
.center {
	text-align: center;
}

body {
	font-family: 'Asap', calibri, sans-serif, arial;
	margin: 0;
	padding: 0;
  color: var(--main-color);
  background: var(--background);
}

a,
a:visited,
a:active
span.likeA {
	color: white;
  text-decoration: underline dashed 1px;
  cursor: pointer;
}
a:hover,
span.likeA:hover {
  color: #cccccc;
	text-decoration: underline solid 1px;
}

a.big-button {
  color: white;
  font-size: 2rem;
  padding: 0.5rem 2rem;
}
a.big-button:hover {
  border: solid 1px white;
}

a.red {
	color: red;
}

.new {
  margin-left: 1em;
  font-size: 80%;
  color: #ff0000;
  text-decoration: none;
}

h1, .likeH1, h2, h3, h4, h5, h6, h1 strong, h2 strong, h3 strong, h2 span, h3 a, .likeH1 strong {
  font-family: 'Jura', 'Asap', calibri, sans-serif, arial;
}

header {
	background: radial-gradient(
        circle at center,
        rgba(4,30,51,0.85),
        rgba(4,30,51,0.99)
    );
  /*background-color: rgba(4, 30, 51, 0.9);*/
  /*background-color: var(--main-color);*/
	color: white;
	padding: 0.25rem 0.5rem;
	text-align: center;
	position: sticky;
	top: 0;
	z-index: 100;
}
header img {
	width: auto;
	height: 100px;
	margin: 1rem;
	box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
}
header img.floatLeft {
	float: left;
}
header img.floatRight {
	float: right;
	-webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}
header h1 {
  cursor: pointer;
	color: #146DA2;
}
header h1 a {
  color: #146DA2 !important;
  text-decoration: none;
}
header h1 a:hover {
  text-decoration: none;
}
header p {
	font-style: italic;
	margin-top: -1em;
	color: #D3ECC7;
}

header div.logos {
	position: absolute;
	right: 5px;
	top: 5px;
}
header div.logos img {
	width: 25px;
	height: 25px;
	margin: 2px;
}

#menu-icon {
  display: none;
  float: right;
  font-size: 15px;
  color: white;
  cursor: pointer;
  padding: 5px;
}

nav ul {
	list-style: none;
	padding: 0;
}
nav ul li {
	display: inline;
	margin: 0 0.5rem;
	background: rgb(34,34,34);
	background: linear-gradient(90deg, rgba(34,34,34,1) 0%, rgba(17,17,17,1) 100%);
	padding: 0.25rem 0.5rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
}
nav ul li a:hover {
  color: yellow !important;
  text-decoration: underline;
}
/*nav ul li:hover {
  border: solid 1px white;
}*/
nav ul li a:visited {
  color: white;
  text-decoration: none;
}
nav ul li.selected a {
  color: yellow;
}

main {
  width: 100%;
	color: white;
  overflow: auto;
	background: var(--background) url('img_int/speed.jpg') no-repeat fixed center;
	background-size: 100% auto;
}
main .floatLeft {
  margin-right: 3em;
}
main .floatRight {
  margin-left: 3em;
}
main img.floatRight {
	-webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}
main p {
	font-size: 120%;
}
main ul li {
	/*list-style: inside;*/
}
main h1 {
	font-size: 3em;
	text-transform: capitalize;
}
main h2 {
	font-size: 2em;
	padding-top: -1em;
	text-transform: capitalize;
}

main h3 {
	font-size: 1.5em;
	padding-top: -0.75em;
	text-transform: capitalize;
}

section {
	/*background: rgba(0,20,40,0.75);*/
	padding: calc(100px + 1em) 15% 2em 15%;
	min-height: 100%;
}

section p {
	text-align: justify;
}
section div.text {
	overflow: auto;
	min-height: 20%;
}

section.welcome {
	font-size: 120%;
	color: #D3ECC7;
	padding-top: 1em;
}
section.welcome * {
	text-align: center;
}

section.first {
	padding-top: 2em;
}


header div.pf {
  margin-top: 2em;
  float: right;
  font-size: 200%;
  color: #acc;
}
header div.pf a {
  color: #acc;
  text-decoration: none;
}
header div.pf a:hover {
  text-decoration: underline solid 1px #aaa;
}

section.pf {
	padding-top: 0;
  text-align: center;
}
section.pf img {
  max-height: calc(100vh - 15em);
  max-width: calc(100% - 1em);
  width: auto;
  border: solid 1px #666;
  border-radius: 1em;
}

section div.subsection {
	border: solid 1px white;
	border-radius: 1em;	
	font-size: 90%;
	padding: 2em;
	margin-top: 2em;
	background: rgba(0,0,0,0.3);
}

.clearBoth {
	clear: both;
}

.qr_platba {
	max-width: 100px;
	max-height: 100px;
	float: right;
	margin-left: 0.5em;
}

div.contacts {
	float: left;
	min-height: 105px;
	width: auto;
	min-width: 400px;
	margin: 1em;
	padding: 0.5em;
	background-color: rgba(0,0,0,0.5);
	border: solid 1px #888;
	border-radius: 1em;
}

div.contacts address,
div.payment {
	padding-left: 1em;
}

article {
	/*width: 0;
	height: 0;*/
	background: rgba(0,20,40,0.6);
	padding-top: 3em;
	padding-bottom: 2em;
	min-height: 90vh;
	border-bottom: solid 2px #A2C4C9; /*#eeeeff;*/
	transition: all 0.5s;
}

article ul li {
	text-align: justify;
}

div.titleImage {
	background-color: rgba(0,0,0,0.5);
	border-radius: 1em;
	border: solid 2px white;
	max-width: 15%;
	max-height: 15%;
	margin: auto;
}

div.titleImage img {
	max-width: calc(100% - 17px);
	max-height: calc(100% - 17px);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5em;
	border-radius: 1em;
}

div.simulator {
	margin-top: 2em;
	background-color: rgba(0,0,0,0.5);
	border-radius: 1em;
	border: solid 2px white;
	max-width: 20%;
	max-height: 20%;
}
div.simulator img {
	max-width: calc(100% - 17px);
	max-height: calc(100% - 17px);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5em;
	border-radius: 1em;
}

div.sectionLogo {
	max-width: 20%;
	margin-top: 3em;
	/*min-height: 100%;*/
}
div.sectionLogo img {
	max-width: 100%;
	max-height: 100%;	
	border-radius: 2em;
	border: solid 2px white;
}

.video {
	margin-top: 2em;
	max-width: 400px;
	max-height: auto;
	border-radius: 1em;
	border: solid 2px white;
}

div.gameLogoContainer {
	clear: both;
	width: 100%;
	padding-top: 2em;	
	/*padding-bottom: 3em;*/
}
div.gameLogo,
div.gameLogoBlack,
div.simType {
	width: 150px;
	max-width: 40%;
	height: 85px;
	margin: 0.5em;
	border: solid 1px white;
	border-radius: 0.5em;
	float: left;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5em;
}
div.gameLogo,
div.simType {
	background-color: white;
	color: black;
	text-align: center;
}
div.gameLogo:has(img.gallery):hover,
a:hover div.gameLogo:has(img),
div.gameLogo:has(a):has(img):hover,
div.simType:has(a):has(img):hover {
	border-color: gray;
  background-color: #ddd;
}
div.gameLogoBlack {
	background-color: black;
}
div.gameLogo img,
div.simType img {
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	object-fit: cover;
	border-radius: 0.5em;
}
div.gameLogo a,
div.simType a {
	color: black;
}


div.simType {
  height: 170px;
  width: 170px;
  border-radius: 1em;
}
div.simType img {
	max-width: 150px;
	max-height: 150px;
}

img.gallery {
	cursor: pointer;
}

img.VRready {
	max-width: 150px;
	max-height: 150px;
}

address {
  font-style: normal;
}

footer {
  font-size: 100%;
	background-color: var(--main-color);
	color: white;
	text-align: left;
	padding: 0.25rem 1rem;
	position: fixed;
	width: 100%;
	bottom: 0;
}

footer div {
  margin: 0.5rem 3rem;
}

footer .autor {
  float: right;
}

footer .contact {
	float: left;
}
footer .contact2 {
	display: none;
}

footer .helpdesk {
	text-align: center;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 101;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}
#lightbox-text {
  color: yellow;
  font-size: 120%;
  text-align: center;
  height: 5%;
	padding-top: 1rem;
}
.lightbox img {
  margin: 0 auto;
  display: block;
  width: auto;
  height: auto;
  max-height: 90%;
  max-width: 90%;
	object-fit: cover;
	border: solid 2px white;
	background: white;
}

.close {
  color: white;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 60px;
  font-weight: bold;
  cursor: pointer;
	background: rgba(0,0,0,0.5);
	width: 60px;
	height: 60px;
	overflow: hidden;
	text-align: center;
}

.worldmap {
	/*border-radius: 1em;
	border: solid 1px black;*/
	max-width: calc(100% - 1em);
	margin: 1em;
}

#sideNav {
	position: fixed;
	top: 0;
	right: -100%;
	height: 100%;
	background-color: #1a1a1a;
	color: #fff;
	overflow-y: auto;
	transition: right 0.4s ease;
	z-index: 100;
	width: 20%;
}

#sideNav ul {
	padding-left: 1em;								
}

#sideNav a {
	color: white;
}

#navContent {
	padding: 20px;
}

#navTab {
	width: 1em;
	position: fixed;
	top: 40%; 
	right: 0;
	background-color: var(--main-color);
	color: #fff;
	padding: 10px;
	border-radius: 8px 0 0 8px;
	cursor: pointer;
	z-index: 10;
	font-weight: bold;
}

.video-crop {
    height: 140px;
    position: fixed;
    top: 0;
    left: 0;
    inset: 0;
    overflow: hidden;
    z-index: 99;
    background-color: rgb(4,30,51);
}

/* video je větší než viewport */
.video-crop video {
    width: 100%;
    height: 140px;
    margin: auto;
    position: relative;
    object-fit: cover;
    animation: zoomMove 40s ease-in-out infinite alternate;
}

div.pdf_file {
  float: left;
  margin: 0.5em 1em;
  border: solid 2px white;
  border-radius: 0.5em;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5em;
}
div.pdf_file img {
  height: 30px;
  float: left;
  margin-right: 0.5em;
}

img.aboutus {
  border-radius: 2em;
  max-width: calc(100% - 2em);
}

.filter {
  font-size: small;
  text-align: right;
  border-bottom: solid 1px silver;
  margin-bottom: 0.5em;
  padding-bottom: 0.25em;
}

@media (max-width: 600px) {

	#sideNav {
		width: 90%;
	}

	.floatLeft {
		margin-right: 0.25em;
	}

	.floatRight {
		margin-left: 0.25em;
	}

	header {
		/*position: static;*/
	}

  .video-crop {
    height: 4.9em;
  }

  .video-crop video {
    height: 4.9em;
  }

	header img {
		height: 3.5rem;
		margin: 0.5rem;
	}
	header img.floatRight {
		display: none;
	}
	header h1 {
		font-size: 120%;
	}
	header p {
		font-size: 80%;
		display: none;
	}

	header div.logos {
		display: none;
	}

  header div.pf {
    margin-top: 2.5em;
    float: right;
    font-size: 110%;
    color: #acc;
    margin-right: -2em;
  }

	main {
		background-size: auto 100%;
	}
	main p {
		font-size: 100%;
	}
	main h1 {
		font-size: 120%;
	}
	main h2 {
		font-size: 110%;
		/*padding-top: 2em;*/
	}
	main .floatLeft {
		margin-right: 0.5em;
	}
	main .floatRight {
		margin-left: 0.5em;
	}

	section {
		padding: 1em;
	}
	section img {
		/*max-width: 60%;*/
	}
	section iframe {
		max-width: calc(100% - 2em);
		margin-top: 2em;
		margin-bottom: 2em;
		margin-left: auto;
		margin-right: auto;
	}
	section div.text {
		overflow: none;
		display: inline;
	}
	section.welcome {
		padding-top: 0;
	}	
	
	article {
		min-height: 30%;
		padding-top: 1em;
		padding-bottom: 2em;
	}

  /*nav ul li {
  	display: block;
		margin: 2px 0;
		padding: 0;
  }*/
	
	#menu-icon {
    display: block;
		font-size: 30px;
  }

  #menu-list {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 40px;
    right: 0;
    background-color: #555555;
    width: 50%;
  }

	nav {
		padding: 0;
	}
	nav ul {
		margin-top: 0.25px;
	}
	nav ul li {
  	display: block;
		margin: 0;
		padding: 0.5em;
		font-size: 100%;
  }
	nav a {
		color: #ccc !important;
	}

	div.contact {
		display: none;
	}
	div.contact2 {
		display: block;
	}
	
	div.contacts {
		min-width: auto;
		width: calc(100% - 2em);
	}

	div.gameLogo {
		margin: 0.5em;
		color: black;
		text-align: center;
	}
	div.gameLogo a {
		color: black;
	}

	div.titleImage {
		max-width: 50%;
		max-height: 50%;
	}

	div.simulator {
		max-width: 50%;
		margin-top: 1em;
	}

	div.sectionLogo {
		max-width: 40%;
		margin-top: 1em;
	}

	img.VRready {
		max-width: 40%;
		max-height: 40%;
	}

  .autor {
    display: none;
  }

	footer .helpdesk {
		display: none;
	}

	.video {
		max-width: calc(100%);
		margin-top: 1em;
	}

	.lightbox {
		background-color: rgba(0,0,0,0.8);
	}
	.lightbox img {
    margin: 50% auto;
	}

	#lightbox-text {
		position: absolute;
		padding-bottom: 2rem;
		bottom: 1rem;
		text-align: center;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		background-color: black;
		width: calc(100% - 1rem);
	}
	
	.worldmap {
		max-width: calc(100% - 1em);	
	}
}

