/*#topnav #rsmenu .menu-lbox > ul > li.mit_UR > a > span {
    border-bottom: solid 1px grey;
}*/


#podbody.pgkt-ur #topnav #rsmenu .menu-lbox > ul > li.mit_UR:hover > a > span {
  border-bottom: solid 1px #ffffff;
}
.pgkt-u1 #topnav #rsmenu .menu-lbox > ul > li.mit_UR  {
    background-color: white;
}

#topnav #rsmenu .menu-lbox > ul > li.mit_UR {
  background-color: #00923f;
}

#topnav #rsmenu .menu-lbox > ul > li.mit_UR > a::before {
 
  color: #00923f;
  
}



#podbody:not(.pgkt-urvy)  #topnav #rsmenu .menu-lbox > ul > li.mit_UR > a > span {
  
  color: rgb(255, 255, 255);
 

}





/*.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-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;

}



/*   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 > .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.mit_URVY {
    /*display:none;*/
  }

  /*#podbody:not(.pgkt-ur)  #mainnav > .mitem  {
    width: 31%;
    
    margin: 0px 1% 50px 1%;
  }*/

  #mainnav > .mitem .mtitle {
    width: 80%;
   
    
  }

  #mainnav > .mitem  .mtitle {
    container-type: inline-size;
   
    
  }



  #podbody:not(.pgkt-ur)  #mainnav > .mitem .mtitle {
    width: 100%;
    
  }

  

  

  #mainnav  .mitem a {
    
    border-bottom: solid #c6c6c6 6px !important;
    display: flex;
/*width: 80%;*/
font-size: 1.5em;
min-height: 3em;
justify-content: space-around;
align-items: center;
text-decoration: none;
flex-direction: column-reverse;
    
  }

  #mainnav  .mitem:nth-of-type(3n+1) a {
    
    border-bottom: solid #c80303 6px !important;
   
    
  }
  #mainnav  .mitem:nth-of-type(3n+2) a {
    
    border-bottom: solid #efb223 6px !important;
   
    
  }
  #mainnav  .mitem:nth-of-type(3n+3) a {
    
    border-bottom: solid #2f6ccd 6px !important;
   
    
  }

  #mainnav  .mitem a::after {
    
    display: block;
    margin-right: 0px;
    min-height: 30px;
  line-height: 30px;
    
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    position: relative;
    top: 3px;
    content: "\f279";
    background-color: #2f6ccd;
    width: 30px;
    color: white;
    text-align: center;
    
    margin-left: auto;
    
  }
  @container (max-width: 260px) {
    
  #mainnav  .mitem a::after {
    
    display: none;
     
  }
  }

  #mainnav  .mitem a[href="/oumysliv/kontakty.asp"]::after {
     
    content: "\f017";    
  }
  #mainnav  .mitem a[href="/oumysliv/zapisy.asp"]::after {
     
    content: "\f0c0";    
  }
  #mainnav  .mitem a[href="/oumysliv/urednideska.asp"]::after {
     
    content: "\f328";    
  }
  #mainnav  .mitem a[href="/oumysliv/vyhlasky.asp"]::after {
     
    content: "\f0a1";    
  }
  #mainnav  .mitem a[href="/oumysliv/rozpocet.asp"]::after {
     
    content: "\f51e";    
  }
  #mainnav  .mitem a[href="/oumysliv/verejnezakazky.asp"]::after {
     
    content: "\f51e";    
  }
  #mainnav  .mitem a[href="/oumysliv/povinne.asp"]::after {
     
    content: "\f129";    
  }
  #mainnav  .mitem a[href="/oumysliv/uloziste.asp"]::after {
     
    content: "\f7b9";    
  }
  #mainnav  .mitem a[href="/oumysliv/vodnihospodarstvi.asp"]::after {
     
    content: "\f043";    
  }
  #mainnav  .mitem a[href="/oumysliv/odpadovehospodarstvi.asp"]::after {
     
    content: "\f1b8";    
  }
  #mainnav  .mitem a[href="/oumysliv/chcisizaridit.asp"]::after {
     
    content: "\f508";    
  }

  #mainnav  .mitem:nth-of-type(3n+1) a::after {
    
    background-color: hsl(0, 97%, 40%);
       
  }
  #mainnav  .mitem:nth-of-type(3n+2) a::after {
    
    background-color: #efb223;
       
  }

  #mainnav  .mitem:nth-of-type(3n+2) a::after {
    
    background-color: #efb223;
       
  }






  #mainnav  .mitem .mabst {
    margin-top: 15px;
    font-size: 1em;
    width: 70%;
  }

  @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%;
          
        }
        #mainnav > .mitem .mtitle {
          width: 90%;
        }
        #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
          width: 25%;
        }
      }
    
      @media only screen and (max-width: 500px) {
        #podbody #portmain .typ-vypis-x5.i-vypis .vitem {
          width: 33.2%;
        }
      }
    
    
      @media only screen and (max-width: 400px) {
        #mainnav > .mitem {
          width: 99%;
          
        }
        #podbody #portmain .typ-vypis-x5 .vitem {
          width: 49% !important;
        }
     
      }
    
      

  

  