/* Non-Mobile */
@media (min-width:801px)  {
    .menu-search-and-login{
        display: none !important;
    }

    .menu-between-sites{
        display: none !important;
    }

    .hamburger{
    display: none !important; 
    }

    .cross{
        display: none !important; 
    }

    #ramec-horizontal-menu{
        display: block !important;
        top: auto !important;
    }
    
        .mobile-show{
            display: none !important;
        }
}

/* Mobile */
@media (max-width:801px)  { 
    *, *:before, *:after {
        -webkit-box-sizing: border-box !important;
		-moz-box-sizing: border-box !important;
         box-sizing: border-box !important;
      }

    html{
        width: 100% !important;
        max-width: 100%;
        min-width: unset !important;
    }

	
	body{
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        max-height: 100% !important;
        font-size: 14px !important;
        overflow-x: hidden;
        overflow-y: auto !important;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        position: relative;
        overflow-y: scroll;
        background-color: #fff;
        font: 1em/1.25 Arial,sans-serif;
        min-width: unset !important;
    }
	
	  iframe{
        max-width: 100%;
        min-width: unset !important;
    }
    
    .logo {
        float: left;
        border: none;
        width: 80% !important;
    }

	img{
        max-width: 100% !important;
        height: auto;
	}

	.mobile-hidden{
		display: none !important;
	}

	.mobile-show{
		display: block !important;
    }
    
    .mobile-menu-iframe{
        margin: 0 auto;
    }

    #top_bar {
        display: none !important;
    }

    .hamburger{
        display: block;
        background: none;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        padding-right: 0.25em;
        /*color: #FF6419;Jirka*/
		color: #c65318;
        border: 0;
        font-size: 3.4em;
        font-weight: bold;
        cursor: pointer;
        outline: none;
        z-index: 10000000000000;
      }
      .cross{
        display: block;
        background: none;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        padding-right: 0.25em;
        /*color: #FF6419;Jirka*/
		 color: #c65318;
        border: 0;
        font-size: 3.4em;
        font-weight: bold;
        cursor: pointer;
        outline: none;
        z-index: 10000000000000;
      }
      #ramec-horizontal-menu{
        display: none;
        z-index: 1000000;
        font-weight: bold;
        font-size: 0.8em;
        width: 100%;
		/*background: #ffcf9f;Jirka*/
        /*position: absolute;Jirka*/
        text-align: center;
        font-size: 1em;
        top: 0px !important;
		background-color: #c65318;
		
        }
      #ramec-horizontal-menu ul {margin: 0; padding: 0; list-style-type: none; list-style-image: none;}
      #ramec-horizontal-menu li {display: block;   padding:15px 0 15px 0; border-bottom:#ff8040 1px solid;}
      #ramec-horizontal-menu li:hover{
	  display: block;    
	  /*background:#ffffff; Jirka*/
	  padding:15px 0 15px 0; 
	  border-bottom:#dddddd 1px solid;}
      #ramec-horizontal-menu>ul>li>a
	  { text-decoration:underline;  
	  text-transform: uppercase;
	 /* margin: 5px !important;Jirka*/ 
	  /*color:#000; Jirka*/
	  color:#FFF; 
	  text-align:left;
	  font-size:1.3em;
	  display:inline-block;/*Jirka*/}
	  
      #ramec-horizontal-menu ul li a:hover {  color: #666; text-decoration:none;}
      #ramec-horizontal-menu a{text-decoration:none; color:#666;}
      #ramec-horizontal-menu a:hover{text-decoration:none; color:#666;}
      
      .glyphicon-home{
        color:white; 
        font-size:1.5em; 
        margin-top:5px; 
        margin:0 auto;
      }

    #ramec-horizontal-menu li#h_item_home {
        background-image: none;
        background-repeat: no-repeat;
    }
    #ramec-horizontal-menu>ul>li {
        display: block;
        white-space: nowrap;
        padding: 1em;
        margin: 0 0 0 0;
        background-image: none; 
        background-repeat: no-repeat;
        position: relative;
        width: 100%;
		text-align:left;
        /*background: #fff;*/
    }

    #ramec-horizontal-menu li#h_item_home A {
        display: inline-block;
        text-indent: initial;
        width: initial;
        margin: 0px;
        padding: 0px;
    }

    #ramec-obsah-cely {
        width: 100% !important;
        min-width: initial !important;
        float: left;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .upoutavky_bez_ramecku{
        display: none;
    }

    .upoutavky{
        display: none;
    }

    #page{
        margin: 0;
        border: none;
        width: 100% !important;
    }

    .banner_top{
        display: none;
    }

    #ramec-horizontal-submenu{
        display: none;
    }

    #obrazek-vlevo{
        display: none;
    }

    #spic-container{
        padding-left: 0;
        padding-right: 0;
        position: relative;
        z-index: 0;
        width: 100% !important;
        overflow: visible;
    }

    #ramec-sloupec-1,#ramec-sloupec-2,#ramec-sloupec-3,#ramec-sloupec-4 {
        width: 100% !important;
        padding: 0;
        right: 0;
        margin-left: 0;
        font-size: 1em;
        overflow: hidden;
    }

    #ramec-obsah-vpravo {
        margin-right: 0;
        margin-left: 0px;
        display: block;
        width: 100% !important;
        padding: 0;
        display: block !important;
    }

    #obsah-info, #obsah-fotoalba, #obsah-neprehlednete, #obsah-vlevo-blok1-vlevo, #obsah-denicky, #obsah-linky, #obsah-poslechnetesi, #obsah-kamsdetmi, #obsah-napady, #obsah-uvasdoma, #obsah-dnesni, #obsah-detiamy, #obsah-necoprovas, #obsah-soutezite, #obsah-reklama-1, #obsah-reklama-2, #obsah-reklama-3, #obsah-seznamclanku, #obsah-nejnej, #obsah-fotoalba, #obsah-fotkypodleobdobi, #obsah-ranges {
        margin-bottom: 0;
        background-repeat: no-repeat;
        background-size: cover;
        font-size: 1em;
        border-bottom: 1px solid silver;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: 0;
        padding-bottom: 1em;
        width: 100% !important;
    }

	
	.navigace{
        display: none !important;
    }

	
    .navigace a {
        display: block;
        color: black;
        text-decoration: none;
        vertical-align: left;
        background-repeat: no-repeat;
        text-align: left;
        font-size: 1em;
        padding: 1em !important;
    }

	
/* Horizontální HAMBURHER menu Jirka*/	
/*    #ramec-horizontal-menu ul li a:hover {
        background: #FAEFC2 !important;
    }Jirka*/

	 #ramec-horizontal-menu ul.horiz_nav_box li a:hover
{
color:red;
background-color:silver !important;

padding:0 !important;
}
	
    #ramec-horizontal-menu ul {
        padding: 0 !important;
       /* width: 65%;Jirka*/
        /*float: right;Jirka*/
		width: auto;
    }

    .menu-between-sites{
        /*display: block;Jirka*/
		display:none;/*Jirka*/
        width: 35% !important;
        float: left;
    }

    .menu-between-sites ul{
        display: block;
        width: 100% !important;
        float: left;
    }

    .menu-between-sites ul li{
        display: block;
        width: 100% !important;
        float: left;
        border: none !important;
        margin: 0 !important;
    }

    .menu-between-sites ul li a{
        display: block;
        padding-top: .25em;
        padding-bottom: .25em;
        line-height: 1.5;
        font-size: 0.72222em;
        text-transform: uppercase;
    }

    #ramec-horizontal-menu li {
        padding: 0 !important;
    }

    #ramec-horizontal-menu a {
        padding: 0.5em !important;
        /*display: block !important;Jirka*/
    }

    .navigace ul ul a,.first_level #c1,.first_level #c2,.first_level #c3,.first_level #c4{
        background-image: none !important;
    }

    #ramec-obsah-novinky .clanek {
        padding: 1em;
        color: black;
        margin-bottom: 0;
        display: block;
        z-index: 100;
    }

    DIV.navigace_h DIV {
        margin-top: 2px;
        height: 20px;
        margin: 1em 0;
        display: table;
    }

    #ramec-obsah-novinky .clanek-data {
        color: red;
        border-bottom: none;
        border-top: none;
        margin-bottom: 1em;
        padding: 0;
        /*background-color: #fff;Jirka*/
        font-size: 1.1em;
    }

    #ramec-obsah-novinky .clanek-telo {
        color: black;
        font-size: 1.4em;
        line-height: 1.5;
    }

    DIV.navigace_h{
        font-size: 1.1em;
    }

    DIV.navigace_h .horizontal_oddelovac {
        /* padding: 0px 6px 0px 6px; */
        padding: 0px 8px 2px 6px;
        background-image: url(/img/separator_orange.png);
        background-position: center;
        background-repeat: no-repeat;
        margin: 0px 6px 0px 8px;
        width: 40px;
    }

    #clanek-operace {
        display: block;
        list-style: square;
        color: #ff641a;
        text-align: right;
        float: right;
        font-size: 1.3em;
        margin-top: 1em;
        margin-bottom: 1em;
        font-family: Arial;
    }

    #komentare TABLE {
        background-color: white;
        clear: both;
        padding: 0px;
        font-size: 1.3em;
        border: 1px solid #009999;
        width: 100%;
    }

    #clanek-operace .clanek-zpet,
    #clanek-operace .clanek-nahoru,
    #clanek-operace .clanek-tisk,
    #clanek-operace .clanek-doporucit {
        background-size: contain;
    }

    #clanek-operace A{
        margin-left: 1em;
        padding-left: 1.4em;
    }

    #komentare TABLE TR TD:last-child{
        display: none;
    }

    #komentare TABLE TR TD:first-child{
        display: table-cell !important;
    }
    #komentare H6 {
        font-size: 1.0em;
        font-weight: bold;
        color: #009999;
        margin: 2px 0px 0px 3px;
    }

    #komentare H6  span{
        font-size: 0.9em !important;
    }

    #komentare #binsert, #komentare_podle_casu #binsert {
        BACKGROUND-COLOR: #009999;
        color: white;
        font-weight: bold;
        FONT-SIZE: 1em;
        text-align: center;
        cursor: hand;
        cursor: pointer;
        width: 100%;
    }

    #komentare INPUT.b, #komentare_podle_casu INPUT.b {
        FONT-SIZE: 1em;
        font-weight: normal;
        BORDER: #acacac 1px solid;
        PADDING: 1px 2px 1px 2px;
        margin: 2px 2px 2px 1px;
        COLOR: #000000;
        TEXT-ALIGN: center;
        background-color: #ededed;
        min-width: 140px;
        width: 100%;
        padding: 1em !important;
        border-radius: 0 !important;
    }

    #komentare .komentare_text_pod, .komentare_text_pod A {
        text-align: right;
        font-size: 1em;
        color: #636363;
        margin: 1em;
    }

    .galerie_box {
        display: none;
    }

    #clanky-podobne{
        font-size: 1.2em;
    }

    .clps li {
        color: red;
        margin-bottom: 1em;
    }

    #vyhledavani_ranges_box select, #vyhledavani_ranges_box input {
        padding: 1em;
        font-size: 1em;
    }

    #vyhledavani_ranges_box input {
        padding: 1em !important;
        font-size: 1em !important;
    }

    input,select,textarea{
        padding: 0.2em !important;
        font-size: 1em !important;
    }

    .zpetne_odkazy {
        font-size: 1.1em;
    }

    .zpetne_odkazy H5 {
        font-size: 1em;
    }

    #top_bar UL, #top_bar LI {
        text-align: center;
    }

    #ramec-horizontal-menu li ul.horiz_nav_box{
        /*display: none !important;Jirka*/
		display: block !important;/*Jirka*/
		position:static !important;/*Jirka*/
		width:auto !important;/*Jirka*/
		column-count:1;
		text-align:left;
		 white-space: normal !important;
		 padding-left:2em !important; 
		 background:none !important;
		 
    }
	
	#ramec-horizontal-menu .horiz_nav_box li {
	display:inline-block;
	padding-right: 0.7em !important; 
	padding-left: 0.7em !important; 
	border: none !important;
	border-right: 1px solid #ffffff !important;
	}

#ramec-horizontal-menu .horiz_nav_box li.menu_label/*Jirka*/
{
/*background-color:#4c4c4c;
color:white; 
padding:4px;Jirka*/
/*width:auto;Jirka*/
/*display:inline;Jirka*/
display:none;
}


#ramec-horizontal-menu li:hover ul.horiz_nav_box
{ 
border:none !important;;
}

    #ramec-horizontal-menu .horiz_nav_box {
        padding: 0px !important;
        /*display: block !important;Jirka*/
    }
	
	 #ramec-horizontal-menu .horiz_nav_box li a {
        padding: 0px !important;
		color:#ffffff;
    }
	
	.horiz_active>A
{
border:none !important;
background:none !important;
/*color:#ff0000 !important;Jirka*/
color:#ffff80 !important;
}


    #obsah-fotoalba h2, #obsah-neprehlednete h2, #obsah-info h2, #obsah-vlevo-blok1-vlevo h2, #obsah-denicky h2, #obsah-linky h2, #obsah-poslechnetesi h2, #obsah-kamsdetmi h2, #obsah-napady h2, #obsah-uvasdoma h2, #obsah-dnesni h2, #obsah-detiamy h2, #obsah-necoprovas h2, #obsah-soutezite h2, #obsah-reklama-1 h2, #obsah-reklama-2 h2, #obsah-reklama-3 h2, #obsah-seznamclanku h2, #obsah-nejnej h2, #obsah-fotkypodleobdobi h2, #obsah-ranges h2 {
        margin: 0;
        padding: 0.5em !important;
        color: white;
        letter-spacing: 0px;
        background: #388CD1 !important;
        width: 100% !important;
    }

    #obsah-ranges {
        background-image: none !important;
        padding: 0 !important;
    }

    #ramec-pevnasirka, #ramec-970 {
        background-size: cover !important;
        position: relative !important;
    }

    .menu-search-and-login{
        display: table;
        width: 100% !important;
    }

    .menu-search{
        /*float:right;*/
        padding-top: 1em;
		
    }

    .menu-login{
        float:right;
		margin:3px;
		color:#ffffff;
    }

    .menu-login a{
        /*float:right;Jirka*/
        font-size: 1em;
		color:#ffff80 !important;
    }

    /* Homepage */

    #sluzby4 ul a {
        BACKGROUND-COLOR: #FFF7CF;
        width: 25%;
        float: left;
        height: 3.5em;
        text-align: center;
        vertical-align: middle;
        display: block;
        display: inline-block;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9em;
    }

    #ramec-obsah-novinky {
        margin-left: 0;
        float: left;
        width: 100%;
        margin-bottom: 1em;
    }

    #obsah-vlevo-ramec {
        width: 100%;
        float: left;
        margin-bottom: 0px;
    }

    #ramec-obsah-novinky .clanek .i-vlevo, #ramec-obsah-novinky .clanek .i-vpravo {
        border: 1px solid black;
        /* display: none; */
    }

    #obsah-vlevo-blok3-vlevo {
        width: 100% !important;
        float: left;
        margin-bottom: 1em;
        color: black;
        margin-top: 0;
    }

    #obsah-vlevo-blok3-vpravo {
        width: 100% !important;
        float: left;
        margin-bottom: 1em;
        color: black;
        margin-top: 0;
    }

    #obsah-fotoalba p.textik {
        text-align: center;
        background: #faffe4;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-bottom: 0px;
        width: 90%;
        padding: 1em;
        margin: 5%;
    }

    #obsah-denicky li {
        display: block;
        padding: 1em;
        margin: 0;
        border-bottom: 1px solid #b2b2b2;
        /* color: #ff600a; */
    }

    #obsah-denicky {
        background-image: url(/img/ico-bg-denicky.png);
        padding: 0 !important;
        width: 100% !important;
        margin-top: 0px !important;
        float: right;
        padding-bottom: 0 !important;
    }

    #obsah-denicky a:link, #obsah-denicky a:active, #obsah-denicky a:visited {
        color: #505050;
        text-decoration: none;
        font-weight: bold;
        font-size: 100%;
    }

    #obsah-uvasdoma ul, #obsah-soutezite ul, #obsah-poslechnetesi ul{
        padding:0;
    }

    #obsah-uvasdoma li, #obsah-soutezite li, #obsah-poslechnetesi li {
        display: block;
        padding: 1em;
        margin: 0;
        border-bottom: 1px solid #b2b2b2;
        list-style-type: none
    }

    #obsah-uvasdoma, #obsah-soutezite,#obsah-poslechnetesi {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #obsah-napady h3 {
        margin-bottom: 0px;
        margin-top: 10px;
        color: #D77552;
        padding: 0;
        padding-left: 1em;
    }

    #obsah-napady ul {
        margin-top: 1em;
        padding-top: 0px;
        margin-bottom: 1em;
    }

    #obsah-seznamclanku {
        background-image: none !important;
        background-color: #fff;
        clear: both;
    }

    .box_odkazy_1 A {
        border: 0;
        color: #000000;
        font-weight: bold;
        font-size: 100%;
    }

    #obsah-neprehlednete li {
        color: #008cc7;
        padding: 1em !important;
        margin: 0 !important;
    }

    #obsah-soutezite H3 {
        font-size: 14px;
        margin-bottom: 0px;
        padding: 1em;
    }


}