:root {
--heightbar:90px;
--heightbar_shrink :60px;
}

.show_mobile {display:none !important}

#header.shrink {height:var(--heightbar_shrink);}
#header {height: var(--heightbar);}

body { min-height: 110vh;}
header nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: var(--heightbar);
  background: var(--sting);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
  transition: all 0.3s ease;
  padding: 0 20px;
 box-sizing: border-box;
}
header nav .shrink {height: var(--heightbar_shrink);  transition: all 0.3s ease;}

.search-box {display:none !important}

header nav .navbar {
  height: 100%;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
 }

.navbar .logo {
  color: #000;
	width:150px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.navbar .logo svg {
  fill: #000;
  width: 100px; /* Nastav šířku */
  height: auto; /* Zachová poměr stran */
  transition: all 0.3s ease;
}

.shrink .navbar .logo svg {
  fill: #fff;
  width: 60px; /* Nastav šířku */
  height: auto; /* Zachová poměr stran */
  transition: all 0.3s ease;
}

.call-box {border-radius: 20px ;padding: 0.3em 1em;font-size: 1.2em;margin-right: 0.3em;font-weight: bold}
.call-box a {text-decoration: none}

.kontakty-box {border-radius: 999px; padding: 0.5em 1.4em; font-size: 15px;font-weight: 500;border: 2px solid #fff;color: #000;margin-left:20px; transition: all 0.3s ease;}
.kontakty-box:hover {background-color:#fff; transition: all 0.3s ease;}


header nav.shrink  .kontakty-box {padding: 0.3em 1.4em; transition: all 0.3s ease;}

.call-box a, .kontakty-box a{text-decoration: none;  transition: all 0.3s ease;}

/*.kontakty-box a:hover{color:#;  transition: all 0.3s ease;}*/


header nav .nav-links a { position: relative;   text-decoration: none;  color: #000; }
header nav .nav-links a::after { content: '';   position: absolute;  left: 0%;   bottom: 10px;   width: 0;  height: 3px;    background: #000;  transition: all 0.3s ease-in;  transform: translateX(0%); }
header nav .nav-links ul.links ul a::after {  bottom: 7px;   }
header nav .nav-links ul.links a::after {  bottom: 10px;   }
header nav .nav-links a:hover::after { width: 100%; left: 0;  transform: translateX(0); }
header nav .nav-links .active ::after { width: 100%; left: 0;  transform: translateX(0); }
header nav .nav-links .active ul ::after { width: 0%; left: 0;  transform: translateX(0); }
header nav .nav-links ul a:hover::after { width: 100%; left: 0;  transform: translateX(0); }


header nav .navbar .nav-links {
  line-height: var(--heightbar);
  height: 100%;
  transition: all 0.3s ease;
	display: flex;
	justify-content:center;
	flex:1;
}

header nav.shrink .nav-links {
  line-height: var(--heightbar_shrink);
  height: 100%;
  transition: all 0.3s ease;
}

header nav .navbar .links {
  display: flex;
}
header nav .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}


 header nav .navbar .links li.active a {
	color:#fff; 

  } 
  header nav .navbar .links li.active ul a{
	color:#000;
  }
  
  
  
  header nav .navbar .links li.active a:hover {
	color:#fff;
  } 




header nav .navbar .links li a {
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #000;
  font-size: 15px;
  font-weight: 500;
}

header nav .navbar .links li a:hover {
  color: #fff;
  transition: all 0.3s ease;
}

.links li:hover .htmlcss-arrow, .links li:hover .js-arrow {transform: rotate(180deg);}

header nav .navbar .links li .arrow {
  height: 100%;
  width: 22px;
  line-height: var(--heightbar);
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}

nav.shrink .navbar .links li .arrow {
  line-height: var(--heightbar_shrink);
}

header nav .navbar .links li .sub-menu {
  position: absolute;
  top: 90px;
  left: 0;
  line-height: 40px;
  background: var(--sting);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
  display: none;
  z-index: 2;
  transition: all 0.3s ease;
}

nav.shrink .navbar .links li .sub-menu {
  top: 58px;
  transition: all 0.3s ease;
}

header nav .navbar .links li:hover .htmlCss-sub-menu1, header nav .navbar .links li:hover .htmlCss-sub-menu2 {display: block;}

.navbar .links li .sub-menu li {
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar .links li .sub-menu li:last-of-type {
  padding: 0 22px;
  border-bottom: 0px;
}


.navbar .links li .sub-menu a {
  color: #000;
  font-size: 15px;
  font-weight: 500;
}

.navbar .links li .sub-menu a:hover {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.navbar .links li .sub-menu li.active a{
	/*padding:0.2em 0.5em;*/
	/*background-color: #fff;
	border-radius:5px;*/
	}

.navbar .links li .sub-menu li.active a:hover{
	/*color:var(--sting);*/
	}
.navbar .links li .sub-menu .more-arrow {
  line-height: var(--heightbar_shrink);
}
.navbar .links li .htmlCss-more-sub-menu {

  /* line-height: 40px; */
}
.navbar .links li .sub-menu .more-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 8px 8px 8px;
  z-index: 1;
 display: none;

}
nav.shrink .navbar .links li .sub-menu .more-sub-menu {
  top: 0;
}

.links li .sub-menu .more:hover .more-sub-menu {
  display: block;
  color: red;

}
.navbar .search-box {
  position: relative;
  height: 40px;
  width: 40px;
}
.navbar .search-box i, .navbar .login i {
  /*position: absolute;*/
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

 .navbar .login i {
  font-weight: normal;
 	font-size: 28px

}
.navbar .search-box .input-box {
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: var(--color);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.navbar.showInput .search-box .input-box {
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: var(--color);
}
.search-box .input-box::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  background: var(--color);
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
   transition: all 0.3s ease;
  
}
.search-box .input-box input {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
}
.navbar .nav-links .sidebar-logo {
  display: none;
}
.navbar .bx-menu {
  display: none;
}


.navbar .login {padding: 0 20px 0 50px}



@media (max-width: 920px) {
  header nav .navbar { max-width: 100%;  }
  header nav .navbar .logo a { font-size: 27px;}
  header nav .navbar .links li {padding: 0 3px; white-space: nowrap;}
  header nav .navbar .links li a { font-size: 15px; }
  
}
@media (max-width: 1200px) {
	
	.show_mobile {display:block !important}
	.login, .kontakty {display:none}
	.call {margin:0 2em}
	.call-box {  font-size: 1.6em;}
	
  header nav { position: fixed;     box-sizing: border-box;
  }
  .navbar .bx-menu { display: block; }
  header nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
   /* max-width: 270px;*/
    width: fit-content;
    background: var(--sting);
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
 
  }
 nav.shrink .navbar .links li .sub-menu {top: 0px;} 
header nav .nav-links a::after {display: none }

  
  
  
  .navbar .logo { text-align: right; order: 4;}
.navbar .links li .sub-menu li {padding-left:20px }
  
  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-logo .logo-name {
    font-size: 25px;
    color: #fff; 
  	display: none
  }
  .sidebar-logo i,
  .navbar .bx-menu { 
    font-size: 35px;
    color: #000;
  }
  header nav .navbar .links {
    display: block;
    margin-top: 20px;
  }
  header nav .navbar .links li .arrow {
    line-height: 40px !important; 
  }
  header nav .navbar .links li.active {
    background-color: #fff;
  	border-radius:10px;
  }
  
  header nav .navbar .show1 .links li.active ,
  header nav .navbar .show3 .links li.active{
  	padding-bottom: 3px
  } 

  header nav .navbar .show1 .links .sub-menu li.active ,
  header nav .navbar .show3 .links .sub-menu li.active{
  	padding-bottom: 0px
  } 
  
  
  header nav .navbar .links li.active i{
    color: #000;

  }  
 	header nav .navbar .links li.active a {
	color:#000;
 	margin-left: 10px	
  }
  
  header nav .navbar .links li.active a:hover {
	color:var(--sting);
  } 
header nav .navbar .show1 .links .sub-menu li.active, 
header nav .navbar .show3 .links .sub-menu li.active
  {
	color:var(--sting);
  }

   
  header nav .navbar .links li {
    display: block;
  }
  
  
  header nav .navbar .links li .sub-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    display: none;
  }
  header nav .navbar .links li .sub-menu li {
    /*border-bottom: none;*/
  }
  
  header nav .navbar .links li .sub-menu li a:hover {
	color:#fff
  }
  
.navbar .links li .sub-menu li.active a:hover{
	color:var(--sting);
	}
  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
    position: relative;
    left: 0;
  }
  .navbar .links li .sub-menu .more-sub-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow {
    transform: rotate(0deg);
  }
  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
  }
  .navbar .links li .sub-menu .more span {
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .links li .sub-menu .more:hover .more-sub-menu {
    display: none;
  }
  header nav .navbar .links li:hover .htmlCss-sub-menu1,
  header nav .navbar .links li:hover .htmlCss-sub-menu2 {
    display: none;
  }
  .navbar .nav-links.show1 .links .htmlCss-sub-menu1,
  .navbar .nav-links.show3 .links .htmlCss-sub-menu2,
  .navbar .nav-links.show2 .links .more .more-sub-menu {
    display: block;
  }
  .navbar .nav-links.show1 .links .htmlcss-arrow1,
  .navbar .nav-links.show3 .links .htmlcss-arrow2 {
    transform: rotate(180deg);
  }
  .navbar .nav-links.show2 .links .more-arrow {
    transform: rotate(90deg);
  }
  
.navbar .links li .sub-menu li:last-of-type {
       border-bottom: 1px solid rgba(255, 255, 255, 0.4);

}
  
  
  
}
@media (max-width: 670px) {
  header nav .navbar .nav-links {
    max-width: 100%;
    box-sizing: border-box;
  	
  }
  .call {display: none}
  .kontakty-box {font-size: 0.8em;    margin-left: 0.5em;}
  .login {display: none}
  
  
  
}