.favs{
margin:1px;
}
#logo{
max-width:272px;
}
.imgButtomPrev{
width:30px;position:absolute;left:10px;top:0;bottom:0;background-image:url(/styles/w-prev.png);background-repeat:no-repeat;background-position:center center;cursor:pointer;
}
.imgButtomNext{
width:30px;position:absolute;right:10px;top:0;bottom:0;background-image:url(/styles/w-next.png);background-repeat:no-repeat;background-position:center center;cursor:pointer;
}
.imgButtomPrev:hover,.imgButtomNext:hover{
opacity:1;
}
#responseSwitch{
width:100%;
box-sizing:border-box;
padding:20px 10px 20px 10px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
#superMenu{
display: none;
list-style-type: none;
padding:10px;
background-color: rgb(93,104,147);
}
#LangFlags{
/*display: none;*/
position:relative;
width:100%;
text-align:center;
clear:both;
}
#LangFlags a{
display: inline-block;
margin:0 2px 0 2px;
}
#HiddenGlobalMenu{
display:block;
position:relative;
float:right;
width:40px;
height:40px;
}
#ForGlobalMenuSwitch,#ForLangMenuSwitch{
display:block;
width:40px;
height:40px;
}
#GlobalMenuSwitch:checked~#superMenu{
display:block;
}
#LangMenuSwitch:checked~#LangFlags{
display:block;
}
#GlobalMenuSwitch:checked~#HiddenGlobalMenu img
{
transform:rotate(270deg);
-ms-transform:rotate(270deg);
-moz-transform:rotate(270deg);
-webkit-transform:rotate(270deg);
-o-transform:rotate(270deg);
}
#DocMenu>ul>li > a,#DocMenu>ul>li > label{
display:block;
box-sizing: border-box;
padding:10px 5px 10px 5px;
text-transform: uppercase;
font-size:14px;
color:rgb(255,255,255);
}
#superMenu>li>ul>li a{
display:block;
width:100%;
margin-top:6px;
padding-left:15px;
color:rgb(255,255,255);
}
#superMenu>li>ul>li:hover a{
color: rgb(255,130,0);
}
#superMenu>li:hover>a, #superMenu>li:hover>label, .fantom:checked~label{
background-color: rgb(255,130,0);
}
label.aInMenu{
display:block;color:rgb(71,73,106);;
}
.fulFlex{
 -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
@media screen and (min-width:500px) and (max-width:800px){
    /*searcher*/
   #SearcherTable{
    width:100%;
    box-sizing:border-box;
    padding:20px;
    background-color: rgb(255,100,0);/*255,130,0*/
    position: relative;
    margin-bottom:0px;
    }
    #searcher{
    position: relative;
    }
    #banners + #searcher{margin-top:-53px;}
    #searcherTollsBlock{
   display:block;
    width:100%;
    height:100px;
    }
    #searcherTollsBlock:after{
        content: " ";
        display:table;
        width:100%;
    }
    .toolsActive,.toolsUnActive{
    width:49%;
    float:left;
    height:50px;
    line-height: 50px;
    font-size:14px;
    text-align: center;
    color:white;
    font-weight:bold;
    text-transform: uppercase;
    box-sizing: border-box;
    }
    #searcherTollsKontakt.toolsActive,#searcherTollsKontakt.toolsUnActive{
    width:100%;
    float:none;
    height:50px;
    clear:both;
    }
    .toolsActive span,.toolsUnActive span{
    padding-left:30px;
    background-repeat: no-repeat;
    display:block;
    width:100%;
    height:100%;
    background-position: 15px center;
    box-sizing: border-box;
    }
    .toolsActive{
    background-color: rgb(255,100,0);
    cursor: default;
    }
    .toolsUnActive{
    background: #ff8200; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff8200 0%, #ff8200 85%, #a54d00 98%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ff8200 0%,#ff8200 85%,#a54d00 98%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ff8200 0%,#ff8200 85%,#a54d00 98%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
    #searcherTollsHledat{
    border-radius: 0px 10px 0px 0px;
    -moz-border-radius: 0px 10px 0px 0px;
    -webkit-border-radius: 0px 10px 0px 0px;
    margin-right:2%;
    }
    #searcherTollsHledat.toolsUnActive span{
    background-image: url(/styles/lupa-seda.png);
    cursor: pointer;
    }
    #searcherTollsHledat.toolsActive span{
    background-image: url(/styles/lupa-zluta.png);
    }
    #searcherTollsMoje{
    border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;    
    }
    #searcherTollsMoje.toolsUnActive span{
    background-image: url(/styles/srdce-sede.png);
    cursor: pointer;
    }
    #searcherTollsMoje.toolsActive span{
    background-image: url(/styles/srdce-zlute.png);
    }
    #searcherTollsKontakt{
    border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
    text-decoration: none;
    }
    #searcherTollsKontakt span{
    background-image: url(/styles/telefon.png);
    cursor: pointer;
    }
    .paramTable{
    padding-bottom:20px;
    margin:0px 5px 0px 5px;
    flex: 0 0 30%;
    min-width:230px;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    #kalendarText{
    font-size: 16px;
    }
}
@media screen and (max-width:499px){
    input, select, textarea{
    font-size: 16px;
    }
    .formRow{
    width:100%;
    margin:2px 0 2px 0;
    }
    .formRow span{
    display:block;
    width:100%;
    }
    /*searcher*/
   .localCom{
       height:auto;
   }
   #SearcherTable{
    width:100%;
    box-sizing:border-box;
    padding:0 20px 0 20px;
    background-color: rgb(255,100,0);/*255,130,0*/
    position: relative;
    margin-bottom:0px;
    }
   #banners{display:none;}
    #searcher{
    position: relative;
    }
    #searcherTollsBlock
    {
    display:block;
    width:100%;
    }
    .toolsActive,.toolsUnActive{
    width:100%;
    height:50px;
    line-height: 50px;
    font-size:16px;
    text-align: center;
    color:white;
    font-weight:bold;
    text-transform: uppercase;
    box-sizing: border-box;
    cursor: pointer;
    }
    .toolsActive span,.toolsUnActive span{
    padding-left:30px;
    background-repeat: no-repeat;
    display:block;
    width:100%;
    height:100%;
    background-position: 15px center;
    box-sizing: border-box;
    }
    .toolsActive{
    /*background-color: rgb(255,130,0);*/
    background-color: rgb(255,100,0);
    cursor: default;
    }
    .toolsUnActive{
    background: #ff8200; /* Old browsers */
    
    }
    #searcherTollsHledat{border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    }
    #searcherTollsHledat.toolsUnActive span{
    background-image: url(/styles/lupa-seda.png);
    cursor: pointer;
    }
    #searcherTollsHledat.toolsActive span{
    background-image: url(/styles/lupa-zluta.png);
    }
    #searcherTollsMoje.toolsUnActive span{
    background-image: url(/styles/srdce-sede.png);
    cursor: pointer;
    }
    #searcherTollsMoje.toolsActive span{
    background-image: url(/styles/srdce-zlute.png);
    }

    #searcherTollsKontakt span{
    background-image: url(/styles/telefon.png);
    }
    div.searchFlex .forhid{display:none;}
    #prep4:checked ~ #unitSearchDiv{
    display:none;
    }
    .elSel select,#orderForm select{
    padding:3px;
    margin: 0;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    background: #f8f8f8;
    color:rgb(50,50,50);
    border:1px solid;
    display: inline-block;
    -webkit-appearance:menulist;
    -moz-appearance:menulist;
    appearance:menulist;
    cursor:pointer;
    }
    .elSel label:after,label.forced:after{
    content:'';
    }
    .elSel label:before {
    content:'';
    right:6px; top:0px;
    width:20px; height:20px;
    background:#f8f8f8;
    position:absolute;
    pointer-events:none;
    display:none;
    }
    #pataBlock{
    display:none;
    }
    .paramTable{
        padding-bottom:20px;
        margin:0 5px 0 5px;
    flex: 0 0 50%;
    min-width:230px;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    /*.forSwitchLabel{display:none;}*/
    .clancelLabel{display:block;position:absolute;color:rgb(255,255,255);font-size:50px;width:23px;height:30px;}
    /*.prepLabel{display:block;position:absolute;right:20px;top:20px;width:21px;height:21px;background-image:url('/styles/dolu.png');}
    .ForPrep:not(:checked)~.prepLabel{background-image:url('/styles/nahru.png');}*/
    .prepLabel{
    display:none;
    }
    .forAparams{display:block;width:100%;height:30px;text-align: center;}
    .forAparams label{display:block;width:21px;height:21px;margin:0 auto}
    #Aparams:not(:checked)~.forAparams label{background-image:url('/styles/nahru.png');}
    #Aparams:checked~.forAparams label{background-image:url('/styles/dolu.png');}
    #adrsNav .forSwitchLabel{display:none;}
    .AdrInfoLinks {
        float:none;
        font-size: 14px;
        color: rgb(255,100,0);
        padding-top: 20px;
    }
    .LocalityHead{
    float:none;
    }
    #Aparams:checked~.ApartmanParams{
        display:none;
    }
    .FlexStretch{
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .forUnit>div{width:100%;min-width: 200px;}
    .FlexStretch
    {
      -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
    }
    #myordForm table,#myordForm tbody,#myordForm tr,#myordForm th,#myordForm td{
    display:block;
    box-sizing: border-box;
    width: 100%;
    }
    #myordForm tbody.hdnsfld{
    display:none;
    }
    .hidme .imgButton{float: left;}
    #kalendarText{
    font-size: 12px;
    }
}
.galleryDiv{
margin:1px 1px 1px 1px;cursor:pointer;height:120px;
}

