#topnav #rsmenu {
 
  text-transform: none;
} 

#topnav #rsmenu .menu-lbox > ul > li.mit_UV > a::before {
  content: "\f015";
}
#topnav #rsmenu .menu-lbox > ul > li.mit_ON > a::before {
  content: "\f549";
}
#topnav #rsmenu .menu-lbox > ul > li.mit_ZS > a::before {
  content: "\f044";
}
#topnav #rsmenu .menu-lbox > ul > li.mit_MS > a::before {
  content: "\f61f";
}
#topnav #rsmenu .menu-lbox > ul > li.mit_JI > a::before {
  content: "\f2e7";
}
#topnav #rsmenu .menu-lbox > ul > li.mit_KO > a::before {
  content: "\f0e0";
}

#topnav #rsmenu .menu-lbox > ul > li:not(:last-child)::after {
  display: none;
}
/*
#topnav #rsmenu .menu-lbox > ul > li > a {
  padding: 39px 10px 10px;
 
}*/

#topnav #rsmenu .menu-lbox > ul > li.active {
  background-color: inherit;
  transition:
0.8s;
  color: inherit;
}

#podbody:not(.pgkt-tu) #topnav #rsmenu .menu-lbox > ul > li.mit_TU, #podbody.pgkt-tu #topnav #rsmenu .menu-lbox > ul > li.mit_AK {
  background-color: #00923f;
}

#topnav #rsmenu .menu-lbox > ul > li.active > a::before {
  color: #0075b8;
}
#podbody:not(.pgkt-tu) #topnav #rsmenu .menu-lbox > ul > li.mit_TU > a::before, #podbody.pgkt-tu #topnav #rsmenu .menu-lbox > ul > li.mit_AK > a::before {
  color: #00923f;
}

#podbody:not(.pgkt-tu) #topnav #rsmenu  .menu-lbox > ul > li.mit_TU:hover > a > span, #podbody.pgkt-tu #topnav #rsmenu .menu-lbox > ul > li.mit_AK:hover > a > span {

   
  border-bottom: solid 1px #ffffff;
  
  
}

/*#topnav #rsmenu .menu-lbox > ul > li.mit_TU > a > span {
  border-top: solid 3px #0476cb;
  padding-top: 6px;
}*/

/*.pgkt-uv #topnav #rsmenu .menu-lbox > ul > li.mit_UV > a > span {
    border-bottom: none;
  color: inherit;
}*/
#podbody:not(.pgkt-tu) #topnav #rsmenu .menu-lbox > ul > li.mit_TU > a > span, #podbody.pgkt-tu #topnav #rsmenu .menu-lbox > ul > li.mit_AK > a > span {
  /*border-bottom: solid 1px #c00;*/
  color: rgb(255, 255, 255);
  
}

.pgkt-ak #topnav #rsmenu .menu-lbox > ul > li.mit_UV > a > span {
  border-bottom: solid 1px #c00;
  color: #c00;
}


#topnav #rsmenu .menu-lbox > ul > li.mit_TU > a  {
  /*  color: white;*/
}

#topnav #rsmenu .menu-lbox > ul > li.mit_TU > a::after {
    
    /*color: white;*/
  
}

#leftnav ul li.menuh4 {
  display: none;
}


@media only screen and (max-width: 1200px) {
  @media only screen and (min-width: 923.9px) {
    #topnav #rsmenu .menu-lbox > ul > li > a {
      padding: 10px 15px 1px;
    }
    #topnav #rsmenu .menu-lbox > ul {
  
  flex-wrap: wrap;
margin-left:400px;
justify-content: center;
}
  }
}

@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%;
     
   }
 }

/*   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;
        }
     
      }
    
      





