
#topnav {
 
  margin-top: 41px;
}

#topnav #rsmenu .menu-lbox > ul > li.mit_TU > a > span {
  border-bottom: solid 1px transparent;
}
div#podbody[class^="pgkt-ak"] #topnav #rsmenu .menu-lbox > ul > li.mit_TU:hover > a > span {
  border-bottom: solid 1px grey;
 /* border-bottom: solid 1px transparent;*/
}

div#podbody[class^="pgkt-ak"] #topnav #rsmenu .menu-lbox > ul > li.mit_AK > a > span {
  border-bottom: solid 1px transparent;
}

#topnav #rsmenu .menu-lbox > ul > li::after {

  position: relative;

  top: 5px;
  left: 5px;

  

  content: "";

 
  align-self: center;
  background-image: url(ico/square.svg);
  width: 8px;
  height: 8px;
  opacity: 0.7;
  background-repeat: no-repeat;
}




#topnav #rsmenu .menu-lbox > ul > li > a::after {
 

}
#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;
}



#topnav #rsmenu .menu-lbox > ul > li > a {
 
  font-size: 24px;
  font-weight: normal;
 /* padding: 3px 60px 3px 60px;*/
  /*padding-right: 15px;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3px 60px 3px 60px;
  border-bottom: solid 0px transparent;
}



.pgkt-uv #topnav #rsmenu .menu-lbox > ul > li.mit_UR  {
    background-color: white;
}

 #topnav #rsmenu .menu-lbox > ul > li > a {
  
  border: solid 2px transparent;
 
}

#podbody:not(.pgkt-urak, .pgkt-urko) #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a, #podbody.pgkt-urak #topnav #rsmenu .menu-lbox > ul > li.mit_AK > a,  #podbody.pgkt-urko #topnav #rsmenu .menu-lbox > ul > li.mit_KO > a {
   border-bottom: solid 0px transparent;
   border: solid 2px #de8a32;
 /*border-width: 1px 1px 1px 1px;*/
 background-color: #fff6ea;
}

div#podbody[class^="pgkt-ak"]  #topnav #rsmenu .menu-lbox > ul > li.mit_TU > a  {
 
 background-image: url(images/spacer.gif);
 
}

div#podbody[class^="pgkt-ak"] #topnav #rsmenu .menu-lbox > ul > li.mit_AK > 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;
}



.pgkt-u1 #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a  {
    color: #555;
	text-decoration: none !important;
}




.pgkt-ak  #topnav #rsmenu .menu-lbox > ul > li.mit_TU > 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%;
  }

 .pgkt-ur #mainnav .mitem .mtitle::after, #mainnav .mitem .mtitle::after {
    display: block;
    min-height: 32px;
  line-height: 32px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    position: relative;
    bottom: 12px;
    content: "\f15b";
    background-color: #694511;
    width: 32px;
    color: white;
    text-align: center;
    border-radius:  26px;
    margin:  0 auto;
      margin-bottom: 0px;
    border:  solid 3px white;
    margin-bottom: -16px;
  }

  #mainnav  .mitem.mit_URON .mtitle::after {    
    content: "\f500";
    background-color: rgb(148, 191, 70);    
    }

  #mainnav  .mitem.mit_URDO .mtitle::after {    
     
      background-color: #694511;    
      }
   #mainnav  .mitem.mit_URCX .mtitle::after {    
     
        background-color: #de8a32; 
        content: "\f201";   
        }

  #mainnav  .mitem.mit_URCL .mtitle::after {    
     
    background-color: rgb(148, 191, 70); 
          content: "\f201";   
          }

  #mainnav  .mitem.mit_URNZ .mtitle::after {    
     
    background-color: #694511;   
                  content: "\f1b8";   
                  }
  #mainnav  .mitem.mit_URPM .mtitle::after {    
     
    background-color: #de8a32;  
    content: "\f2b5";   
                                  }
  #mainnav  .mitem.mit_URSL .mtitle::after {    
     
  background-color: rgb(148, 191, 70); 
  content: "\f201";   
                                          }

#mainnav  .mitem.mit_URPP .mtitle::after {    
     
  background-color: #694511;   
content: "\f0a1";   
}

  #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 #694511 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 rgb(148, 191, 70) 6px !important;
  
    
  }

  #mainnav  .mitem:nth-of-type(3n+1) .mtitle::after {
    
    background-color: rgb(148, 191, 70) ;
    
  }

 
  #mainnav .mitem:nth-of-type(3n+2) a {
    
   
    border-bottom: solid #de8a32 6px !important;
  
    
  }
  #mainnav  .mitem:nth-of-type(3n+2) .mtitle::after {
    
    background-color: #de8a32 ;
    
  }

  #mainnav  .mitem .mabst {
    margin-top: 15px;
    font-size: 1em;
    width: 90%;
  }

  #port-left #leftnav {
    padding: 15px 15px;
    background-color: #ececec;
    /*background-image: url(images/vez9.jpg);*/
    background-position: right -100px;
    background-repeat: no-repeat;
    background-color: rgb(255, 240, 204);
    background-color: rgb(230, 238, 248);
  }

  #port-left #leftnav ul {
    border-left: none;
  }

  #port-left #leftnav a.zvol::before {
    background-color: #c00;
    content:"";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  display:block;
  position: absolute;
  top: -8px;
  }
  @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_TU > 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;
    }
    div#podbody[class^="pgkt-ak"]  #topnav #rsmenu .menu-lbox > ul > li.mit_TU > a {
      background-color: transparent;
 color: #555;
   }

    div#podbody[class^="pgkt-ak"]    #topnav #rsmenu .menu-lbox > ul > li.mit_AK > 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%;
    }
    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6 .vitem {
      width: 24%;
      
    }

  }

  @media only screen and (max-width: 800px) {
    #mainnav > .mitem {
      width: 49%;
      
    }
    #podbody.pgkt-uv #portmain  .art-middle .typ-vypis-6.vypis1 .vitem {
      width: 49%;
      
    }

    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6.vypis1 .vsubj a {
      
      width: 100%;
      
    }
    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6.vypis1 .vabst {
          width: 90%;
     
    }

    #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
      width: 20%;
    }

  
    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6 .vitem {
      width: 32%;
      
    }



  }

  @media only screen and (max-width: 500px) {
    #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
      width: 33.2%;
    }
    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6 .vitem {
      width: 49%;
      
    }
  }


  @media only screen and (max-width: 360px) {
    #mainnav > .mitem {
      width: 99%;
      
    }

    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6.vypis1 .vitem {
      width: 99%;
    }
    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6.vypis1 .vabst {
     
      width: 90%;
     
      
    }
    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6.vypis1 .vsubj a {
     
      width: 100%;
     
    }


    #podbody #portmain .typ-vypis-x5 .vitem {
      width: 49% !important;
    }

    #podbody.pgkt-uv #portmain .art-middle .typ-vypis-6 .vitem {
      width: 100%;
      
    }
  }

  

  