html, body 
{ 
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	/* background-color: #ffffff; */
	font-family: "poppinslight";
	font-size: 20px;
	-webkit-text-size-adjust: 100%;
	color: #004461;
	height: 100%;
	line-height: 140%;
	background-image: url("../images/podklad.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

@font-face {
    font-family: 'poppinsblack';
    src: url('poppins-black.eot');
    src: url('poppins-black.eot?#iefix') format('embedded-opentype'),
         url('poppins-black.woff2') format('woff2'),
         url('poppins-black.woff') format('woff'),
         url('poppins-black.ttf') format('truetype'),
         url('poppins-black.svg#poppinsblack') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsbold';
    src: url('poppins-bold.eot');
    src: url('poppins-bold.eot?#iefix') format('embedded-opentype'),
         url('poppins-bold.woff2') format('woff2'),
         url('poppins-bold.woff') format('woff'),
         url('poppins-bold.ttf') format('truetype'),
         url('poppins-bold.svg#poppinsbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinslight';
    src: url('poppins-light.eot');
    src: url('poppins-light.eot?#iefix') format('embedded-opentype'),
         url('poppins-light.woff2') format('woff2'),
         url('poppins-light.woff') format('woff'),
         url('poppins-light.ttf') format('truetype'),
         url('poppins-light.svg#poppinslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsregular';
    src: url('poppins-regular.eot');
    src: url('poppins-regular.eot?#iefix') format('embedded-opentype'),
         url('poppins-regular.woff2') format('woff2'),
         url('poppins-regular.woff') format('woff'),
         url('poppins-regular.ttf') format('truetype'),
         url('poppins-regular.svg#poppinsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsmedium';
    src: url('poppins-medium.eot');
    src: url('poppins-medium.eot?#iefix') format('embedded-opentype'),
         url('poppins-medium.woff2') format('woff2'),
         url('poppins-medium.woff') format('woff'),
         url('poppins-medium.ttf') format('truetype'),
         url('poppins-medium.svg#poppinsmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}



a:link
{
	color: #004461;
	text-decoration : none;
}

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

a:hover
{
	color: #aaaaaa;
	text-decoration : none;
}

b { font-family: 'poppinsbold'; }

.maintab
{
	width: 100%;
	height: 100%;
	text-align: center;	
}

.nadpis
{
	font-family: 'poppinsmedium';
	font-size: 26px;
}

.lightnadpis
{
	font-family: 'poppinslight';
	font-size: 26px;
}



.text
{
	padding-top: 2%;
	margin: auto;
	width: 90%;
	border-style: none;
}

.logo
{
	margin: auto;
	width: 40%;
}

hr
{
	color: #bf8e44;
	border: 0;
	background-color: #bf8e44;
	height: 2px;
	width: 60%;
}

.tlacitko_zajezdy
{
	border-style:solid;
	border-color: #bf8e44;
	background-color: #bf8e44;
	background-image: url("../images/sipka.png");
	background-repeat: no-repeat;
	background-position: 95% 50%;
	color: #ffffff;
	font-family: "poppinsmedium";
	padding: 15px 70px 15px 20px;
	border-radius: 35px;
	display: inline-block;
	text-align: center;
}


.hlavni
{
	position: fixed;
	top: 15%;
	width: 100%;
	text-align: center;
}




.opacityit
{
	opacity:1.0;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
	-moz-opacity: 1;
}

.opacityit:hover
{
	opacity:0.7;
	filter:alpha(opacity=70); /* For IE8 and earlier */
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
	-moz-opacity: 0.7;
}

.hidden
{
	display: none;
}


/*popup*/


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 20% auto;
  padding: 40px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 1s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: "poppinslight";
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}
.popup .close:hover {
  color: #bf8e44;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}

