/* vars */
/* hide show mixin */
/* global  styles */
nav {position: relative; z-index: 1;}
nav li{margin: 0;}
nav label{display: contents; cursor: default; margin: 0;}
.fa{
	display: inline-block;
	width: 2rem; height: auto;
}
.fa.fa-caret-down{
	background-image: url(/media/svg/caret.svg#bottom);
	background-size: 16px;
	background-position: center;
	background-repeat: no-repeat
}
.fa.fa-caret-right{
	background-image: url(/media/svg/caret.svg#right);
	background-size: 16px;
	background-position: center;
	background-repeat: no-repeat
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#tmen{color: #fff; }
.menu,.menu a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

.menu a {
	display: block;
	white-space: nowrap;
}

.menu-dropdown,
.menu input[type=checkbox] {
  display: none;
}

.menu label:hover {
  cursor: pointer;
}

/* narrow styles */
@media screen and (max-width: 724px) {
  .menu > ul,
.menu-righticon {
    display: none;
  }

  input[type=checkbox]:checked + ul {
	display: block;
	-webkit-animation: grow 0.5s ease-in-out;
	animation: grow 0.5s ease-in-out;
	
	position:absolute;
	z-index: 1002;background-color: #035e8d;
	width: 100%;
  }
}
/* large styles */
@media screen and (min-width: 725px) {
  .menu > label,
input[type=checkbox] {
    display: none;
  }

  .menu a {
    padding: 15px 20px;
  }

  .menu > ul > li {
    display: inline-block;
  }

  .menu-hasdropdown {
    position: relative;
  }
  .menu-hasdropdown:hover > ul {
    display: block;
    -webkit-animation: grow 0.5s ease-in-out;
            animation: grow 0.5s ease-in-out;
  }

  .menu-hasdropdown > ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #035e8d;
  }

  .menu-hasflyout > ul {
    left: 100%;
    top: 0;
  }

  .menu-hasflyout .menu-downicon {
    display: none;
  }
}
/*Menu stranky*/
#navlist_ad{
	position:relative; z-index: 50; margin: -15px 0 10px 0; width: 100%; display: flex;
}
#navlist_ad ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0080ff;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

#navlist_ad li {
  float: left;
  margin: 0;
}

#navlist_ad li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#navlist_ad li a:hover {
  background-color: #111;
}

#navlist_ad .active {
  background-color: #160e83;
}

/* look and feel only, not needed for core menu*/
@-webkit-keyframes grow {
  0% {
    display: none;
    opacity: 0;
  }
  50% {
    display: block;
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes grow {
  0% {
    display: none;
    opacity: 0;
  }
  50% {
    display: block;
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
html {
  font-size: 100%;
}

.menu-dropdown a {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
}

/* narrow  */
@media screen and (max-width: 724px) {
	.menu {position: relative; z-index: 1001; display: block; min-width: 70%;}
	.menu > label {
		display: block;
		padding: 15px 20px;
		text-align: right;
	}

	.menu a {
		padding: 15px 20px;color: #f5f5f5;
	}

  .menu > ul i {
    float: right;
    padding: 5px 10px;
    background: #012c42;
  }

  .menu-dropdown a {
    background: #024d74;
  }

  .menu-hasflyout > ul a {
    background: #023d5b;
  }
}
@media screen and (min-width: 725px) {
  .menu {
    max-width: 1024px;
    margin: 0 auto;
  }
}