
#topnav {
 
  margin-top: 45px;
}

#topnav #rsmenu .menu-lbox > ul > li.mit_UR > a > span {
  border-bottom: solid 1px transparent;
}

div#podbody[class^="pgkt-urvy"] #topnav #rsmenu .menu-lbox > ul > li.mit_UR:hover > a > span {
  border-bottom: solid 1px grey;
}

div#podbody[class^="pgkt-urvy"] #topnav #rsmenu .menu-lbox > ul > li.mit_U1 > a > span {
  border-bottom: solid 1px transparent;
}

#topnav #rsmenu .menu-lbox > ul > li::after {

  position: relative;

  top: 5px;
  left: 5px;

  font: normal normal normal 20px/1 FontAwesome;

    font-weight: normal;
    font-size: 20px;
    font-family: FontAwesome;

  font-weight: normal;

  font-size: 20px;

  font-family: FontAwesome;

  content: "\f054";

  font-size: 17px;

  color: #6d6d6d;

  font-family: "Font Awesome 5 Free";

  font-weight: 900;
  align-self: center;
}




#topnav #rsmenu .menu-lbox > ul > li > a::after {
  display:none;

}
#topnav #rsmenu .menu-lbox > ul > li:last-of-type::after {
  display: none;
}

#topnav #rsmenu .menu-lbox > ul > li {
  display: flex;
  vertical-align: bottom;
  text-align: center;
  
  
  position: static;
  border-top: none;
  border-bottom: none;
}




/*
#leftnav .has-sub > a::before {
    content: "\f0d7";
    font-family: "Font Awesome 5 Free";
    display: block;
    position: absolute;
    right: 30px;
   top: 7px;
    color: white;
    font-weight: 900;
    font-size: 140%;
} 

#leftnav .mit_URZP > a::before {
   
    top: 16px;
   
}*/

#topnav #rsmenu .menu-lbox > ul > li.mit_UR {
    /*background-color: #00a0d2;*/
    /*border-top: 5px solid #ff1010;*/
    
}

#topnav #rsmenu .menu-lbox > ul > li > a {
 
  font-size: 24px;
  font-weight: normal;
  padding: 33px 20px 20px 20px;
 
}

#topnav #rsmenu .menu-lbox > ul > li.has-sub > a {
  padding-right: 15px;
}

.pgkt-u1 #topnav #rsmenu .menu-lbox > ul > li.mit_UR  {
    background-color: white;
}

#topnav #rsmenu .menu-lbox > ul > li > a > span {
  /*padding: 25px 0px;*/
}

#topnav #rsmenu .menu-lbox > ul > li.mit_UR > a  {
   border-bottom: solid 1px transparent;
  /*  font-weight: bold;
  color: #d10000;*/
  background-image: url(images/znba.png);
  background-position: center -9px;
  background-repeat: no-repeat;
  background-size: 200px;
}

div#podbody[class^="pgkt-urvy"]  #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a  {
 
 background-image: url(images/spacer.gif);
 
}

div#podbody[class^="pgkt-urvy"] #topnav #rsmenu .menu-lbox > ul > li.mit_U1 > a  {
 
  border-bottom: solid 1px transparent;
  
  background-image: url(images/znba.png);
  background-position: center -9px;
  background-repeat: no-repeat;
  background-size: 200px;
  
 }
/*
 div#podbody[class^="pgkt-urvy"] {
  background: #ffff00;
  border:solid;
}*/

.pgkt-u1 #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a > span {
    border-bottom: solid 1px white;
}

#topnav #rsmenu .menu-lbox > ul > li.mit_UR > a  {
   /* color: white;*/
}

.pgkt-u1 #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a  {
    color: #555;
	text-decoration: none !important;
}


#topnav #rsmenu .menu-lbox > ul > li.mit_UR > a::after {
    
   /* color: white;*/
  
}

.pgkt-u1  #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a::after {
    
   color: #6d6d6d;
  
}


#topnav .mit_UR .level2::before {

    display:none;

}

#topnav .mit_UR .level2::after {

    display:none;

}



/*  Chci si zaridit - rucne */



/*   menitko - 3000 - město  */

#mainnav, #mainnav li, #mainnav ul li a, #mainnav #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 400;
  }

  #mainnav {
    display: flex !important;
flex-wrap: wrap;
  }

  #mainnav h4.amenu {
   width:100%;
   margin-bottom: 10px;
  } 

  #mainnav > .mitem  {
    width: 24%;
    align-items: center;
    display: flex;
    text-align: center;
    align-content: center;
    margin-right: 1%;
    box-sizing: border-box;
    flex-flow: column;
    margin-bottom: 30px;
    margin:0px 0.5% 30px 0.5%;
  }

  #mainnav >.mitem.sep4  {
  display: none;
  
}

  #mainnav > .mitem .mtitle {
    width: 90%;
    
  }

  #podbody:not(.pgkt-ur)  #mainnav > .mitem .mtitle {
    width: 100%;
    
  }

  

  

  #mainnav  .mitem a {
    
    border-bottom: solid #10bcff 6px !important;
   
    display: flex;
/*width: 80%;*/
font-size: 1.5em;
min-height: 3em;
justify-content: center;
align-items: center;
text-decoration: none;
    
  }

  #podbody:not(.pgkt-ur) #mainnav > .mitem {
  /*border-top: 1px solid #919191;*/
}

  #mainnav  .mitem:nth-of-type(3n+1) a {
    
    border-bottom: solid #ff1010 6px !important;
  
    
  }

 
  #mainnav .mitem:nth-of-type(3n+2) a {
    
   
    border-bottom: solid #fdb60c 6px !important;
  
    
  }

  #mainnav  .mitem .mabst {
    margin-top: 15px;
    font-size: 1em;
    width: 90%;
  }
  @media only screen and (min-width: 923.99px) {
#podbody:not(.pgkt-ur)  #mainnav > .mitem  {
    width: 31%;
    
    margin: 0px 1% 50px 1%;
  }


  }

  @media only screen and (max-width: 923px) {
    #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a {
      color: white;
  background-color: #db0404;
    }

    div#podbody[class^="pgkt-urvy"]  #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a {
       background-color: transparent;
  color: #555;
    }

    div#podbody[class^="pgkt-urvy"]    #topnav #rsmenu .menu-lbox > ul > li.mit_U1 > a {
      color: white;
  background-color: #db0404;
    }




    #topnav #rsmenu .menu-lbox > ul > li.has-sub::after, #topnav #rsmenu .menu-lbox > ul > li::after {
      
      content: "";
      display: none;
      
    }
    

    #mainnav > .mitem {
      width: 32%;
      
    }
    #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
      width: 16.5%;
    }
  }

  @media only screen and (max-width: 800px) {
    #mainnav > .mitem {
      width: 49%;
      
    }
    #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
      width: 20%;
    }
  }

  @media only screen and (max-width: 500px) {
    #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
      width: 33.2%;
    }
  }


  @media only screen and (max-width: 360px) {
    #mainnav > .mitem {
      width: 99%;
      
    }
    #podbody #portmain .typ-vypis-x5 .vitem {
      width: 49% !important;
    }
  }

  

  