/* 
    Document   : styll
    Created on : 19.5.2014, 21:25:46
    Author     : Tonda Kozák
*/

body {margin: 0 auto; font: 100% Arial; color: #0000cc;}
h2 {
    font: bold 110% Arial;
    margin: 0;
}
h3 {
    font: bold 95% Arial;
    margin: 8px 0 0 0;
    
}
h4 {
    font: bold 80% Arial;
    margin: 0;
    display: inline-block;
}
input[type="text"], select {
    position: relative;
    width: 100%;
    height: 26px;
    border: 2px solid #0000cc;
    border-radius: 3px;
    background: transparent;
    z-index: 1;
    padding: 0;
    font-weight: bold;
    font-size: 100%;
    
}
input[type="submit"] {
    height: 30px;
    background: #0000cc; 
    color: white;
    font: bold 100% Arial;
    border: 0;
    display: block;
    width: 100%;
    margin: 5px 0;
    cursor: pointer;
}
textarea {
    position: relative;
    z-index: 1;
    width: 99%;
    height: 5em;
    border: 2px solid #0000cc;
    border-radius: 3px;
    font-size: 90%;
    background: transparent;
}
.policko {
    /*display: inline-block;*/
    position: relative;
    margin-right: 8px;
    margin-bottom: 4px;
}
.popisek {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    color: #66ccff;
    font: bold 90% Arial;
    background: white;
    height: 100%;
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 5px solid white;
    border-radius: 3px;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}


#vrsek {
    height: 20px; 
    background: #0000cc; 
    color: white; 
    font: bold 100% Arial;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-width: 240px;
    cursor: pointer;
}
#hlasky {
    display: none;
    background: #0000cc; 
    color: white; 
    font: bold 100% Arial;
    text-align: center;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    background: orange;
    text-align: center;
    font: bold 100% Arial;
    color: black;
    padding: 10px;
    z-index: 10;
}
#zpet {
    position: fixed;
    top: 0;
    height: 0;
    width: 20px;
    height: 20px;
    background: #66ccff url("obrazky/sprite-240.png") -112px 0px no-repeat;
    cursor: pointer;
}

#obsah {
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ccffff;
    overflow: auto;
    min-width: 240px;
}


/* ****** Úvodní okno ******* */
#uvodni-okno {display: none;}
.uvodni-tlacitko {
    width: 80%;
    height: 105px;
    margin: 10px auto;
    background: #66ccff;
    border: 1px solid transparent;
    font: bold 110% Arial;
    text-align: center;
    cursor: pointer;
}
    #tlacitko-najit div {
        width: 59px;
        height: 68px;
        background: #66ccff url("obrazky/sprite-240.png") no-repeat;
        margin: 10px auto 0px auto;
    }
    #tlacitko-pridat div {
        width: 54px;
        height: 68px;
        background: #66ccff url("obrazky/sprite-240.png") -59px 0px no-repeat;
        margin: 10px auto 0px auto;
    }
.uvodni-tlacitko ~ .nizke {
    height: 1.5em;
    padding-top: 0.25em;
}



/* ****** Přidat zmrzlinárnu ******* */
#pridat-zmrzlinarnu {
    display: none;
    padding: 10px;
}

/* ****** Upravit zmrzlinárnu ******* */
#upravit-zmrzlinarnu {
    display: none;
    padding: 10px;
}



/* ****** Vyhledat zmrzlinárnu ******** */
#vyhledat-zmrzlinarnu {
    display: none;
    padding: 10px;
}

/* ****** Další informace ******* */
#dalsi {
    display: none;
    padding: 10px;
}
#dalsi p {
    color: black;
    font-size: 75%;
    text-indent: 5ex;
}



/* ****** Detail zmrzlinárny ******** */
#detail-zmrzlinarny {
    display: none;
    padding: 10px;
}
/*#detail-zmrzlinarny div:nth-child(2) {
    position: relative;
}*/
#detail-zmrzlinarny div .editovat {
    position: absolute;
    top: 10px;
    right: 10px;
}
#tlacitko-pozice {
    font: bold 75% Arial;
    width: 9ex;
    padding: 3px 10px;
    background: #66ccff;
    text-align: center;
    margin-left: 5px;
    cursor: pointer;
}
#tlacitko-hodnotit {
    font: bold 65% Arial;
    width: 9ex;
    padding: 2px;
    background: #66ccff;
    text-align: center;
    float: left;
    margin-left: 10px;
    cursor: pointer;
}
#tlacitko-recenze {
    font: bold 85% Arial;
    width: 50%;
    padding: 3px 10px;
    background: #66ccff;
    text-align: center;
    margin: 10px auto;
    cursor: pointer;
}

.nabidka, .cena {
    margin: 0 auto;
    clear: both;
    /*width: 100%;*/
    font: bold 70% Arial;
    margin-top: 30px;
}
.nabidka td:nth-child(1) div {
    width: 7px;
    min-height: 10px;
    background: url("obrazky/sprite-240.png") -132px -17px no-repeat;
    margin: 0 auto;
}
.nabidka td:nth-child(1) {
    vertical-align: middle;
}
.nabidka td:nth-child(3) {
    min-width: 5ex;
    text-align: left;
    padding-left: 20px;
}
.cena {
    margin-top: 10px;
}
.cena .castka {
    padding-left: 50px;
}

#detail-pozice {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 10px;
    background: #66ccff;
    overflow: auto;
    padding: 10px;
    border: 1px solid white;
    z-index: 1;
}

#detail-hodnoceni {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 10px;
    background: #66ccff;
    overflow: auto;
    padding: 10px;
    border: 1px solid white;
}



#detail-recenze {
    display: none;
    position: fixed;
    top: 25px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: #66ccff;
    overflow: auto;
    padding: 10px;
    border: 1px solid white;
}
#detail-recenze h3 {
    text-align: center;
    margin-bottom: 10px;
}
.recenze {
    border-top: 2px solid #0000cc;
}
.jmeno {
    font: bold 80% Arial;
    float: left;
}
.datum {
    font: bold 75% Arial;
    float: right;
}
#detail-recenze p {
    clear: both;
    color: black;
    font-size: 75%;
    text-indent: 5ex;
}


.vzdalenost {
    font: bold 75% Arial;
    display: inline;
}
.foto-zmrzlinarna {
    width: 50%;
    max-width: 280px;
    float: right;
}            
.oteviraci-doba {
    font: bold 75% Arial;
    
}
.hodnoceni .hvezda {
    float: left;
}
.editovat {
    background: #66ccff url("obrazky/sprite-240.png") -114px -54px no-repeat;
    width: 13px;
    height: 13px;
    border: 6px solid #66ccff;
    cursor: pointer;
}
.zavrit {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 13px;
    height: 13px;
    background: url("obrazky/sprite-240.png") -135px -2px no-repeat;
    cursor: pointer;
}

.zjistit-polohu {
    display: block;
    float: left;
    background: #66ccff;
    width: 30%;
    font: bold 75% Arial;
    text-align: center;
    height: 30px;
    margin-right: 3px;
    cursor: pointer;
}
.zjistit-polohu-ikona {
    background: #66ccff url("obrazky/sprite-240.png") -114px -43px no-repeat;
    width: 10px;
    height: 10px;
    border: 3px solid #66ccff;
    display: inline-block;
    cursor: pointer;
}
.z-souradnice {
    float: left;
    width: 30%;
}
.dalsi {
    display: block;
    background: #66ccff;
    margin: 5px 0;
    padding: 2px;
    font: bold 90% Arial;
    text-align: center;
    cursor: pointer;
}
.cele {
    width: 99%;
}
.polovina {
    width: 47.5%;
    float: left;
}
.tretina {
    width: 30%;
}
.vysledek {
    border-top: 2px solid #66ccff;
    margin-top: 5px;
    cursor: pointer;
}
.vysledek span {
    font-size: 73%;
    display: block;
    clear: both;
}
.hvezda {
    width: 9px;
    height: 10px;
    background: url("obrazky/sprite-240.png") -113px -20px no-repeat;
    float: right;
    margin-top: 5px;
}
.hvezda-prazdna {
    width: 20px;
    height: 20px;
    background: url("obrazky/sprite-240.png") -136px -25px no-repeat;
    float: left;
    margin-top: 5px;
    margin-right: 2px;
    cursor: pointer;
}
#detail-hodnoceni .hvezda {
    width: 20px;
    height: 20px;
    background: url("obrazky/sprite-240.png") -136px -46px no-repeat;
    float: left;
    margin-right: 2px;
    cursor: pointer;
}

#hodnoceni-obal {
    clear: both; 
    margin: 5px auto 40px auto; 
    width: 110px;
}


@media screen and (min-width: 350px)/* and (max-width: 480px) */{
    .polovina {
        width: 47%;
    }
    .z-souradnice {
        width: 32.1%;
    }
    .zjistit-polohu {
        height: 23px;
        padding-top: 7px;
    }
    .nabidka {
        margin: 40px auto 10px auto;
        font-size: 78%;
        /*width: 80%*/
    }
    .cena {
        font-size: 78%;
        margin: 20px auto 15px auto;
    }
    .vysledek {
        margin: 5px auto 0px auto;
        width: 89%;
        padding: 0 10px;
    }
    #tlacitko-pozice {
        margin: 5px 0px 20px 20px;
    }
    #tlacitko-hodnotit {
        margin: 2px 0px 10px 20px;
        font-size: 66%;
        padding: 4px;
    }
    .zjistit-polohu-ikona {
        border-width: 5px;
    }
    .foto-zmrzlinarna {
        margin-right: 5%;
        width: 48%;
    }
    
}

@media screen and (min-width: 480px)/* and (max-width: 480px) */{
    body {
        font-size: 200%;
    }
    #vrsek {
        height: 58px;
        font-size: 120%;
        padding-top: 6px;
        
    }
    #hlasky, #obsah {
        top: 64px;
    }
    #zpet {
        height: 56px;
        width: 50px;
        border: 1px solid #66CCFF;
        border-width: 4px 7px;
        background: #66CCFF url("obrazky/sprite-720.png") no-repeat -337px 0 ; 
    }
    .uvodni-tlacitko {
        height: 310px;
        font-size: 120%;
        
    }
    #tlacitko-najit div {
        background: #66CCFF url("obrazky/sprite-720.png") no-repeat 0 0;                
        height: 199px;
        margin: 30px auto 0;
        width: 176px;
    }
    #tlacitko-pridat div {
        background: #66CCFF url("obrazky/sprite-720.png") no-repeat -178px 0;
        height: 199px;
        margin: 30px auto 0;
        width: 158px;
    }
    .zjistit-polohu {
        height: 55px;
        padding-top: 5px;
    }
    input[type="text"], select {
        height: 54px;
        border: 3px solid #0000cc;
                        
    }
    textarea {
        border-width: 3px;
        width: 99.9%;
    }
    
    input[type="submit"] { 
        height: 70px;
    }
    .popisek {
        border-width: 10px;
    }
    .hvezda {
        width: 25px;
        height: 25px;
        background: url("obrazky/sprite-720.png") -338px -62px no-repeat;
        margin-top: 10px;
    }
    .hvezda-prazdna {
        width: 50px;
        height: 50px;
        background: url("obrazky/sprite-720.png") -392px -100px no-repeat;
        border: 2px solid transparent;
        margin: 0;
        float: left;
    }
    #detail-hodnoceni .hvezda {
        width: 50px;
        height: 50px;
        background: url("obrazky/sprite-720.png") -393px -48px no-repeat;
        border: 2px solid transparent;
        margin: 0;
        margin-top: 1px;
    }
    #hodnoceni-obal {
        width: 270px;
        margin-bottom: 70px;
    } 
    
    .nabidka td:nth-child(1) div {
        width: 17px;
        min-height: 32px;
        background: url("obrazky/sprite-720.png") -338px -159px no-repeat;
        margin: 0 auto;
    }
    .nabidka td:nth-child(3) {
        min-width: 5.5ex;
    }
    .zavrit {
        width: 38px;
        height: 38px;
        background: url("obrazky/sprite-720.png") -404px 0 no-repeat;
        top: 10px;
        right: 10px;
    }
    .zjistit-polohu-ikona {
        background: #66ccff url("obrazky/sprite-720.png") -338px -127px no-repeat;
        width: 28px;
        height: 28px;
        border: 5px solid #66ccff;
    }
    .editovat {
        background: #66ccff url("obrazky/sprite-720.png") -337px -87px no-repeat;
        width: 37px;
        height: 37px;
        border: 5px solid #66ccff;
    }
    .nabidka, .vysledek {
        max-width: 1200px;
    }  
    
}

@media screen and (min-width: 900px) {
    #detail-zmrzlinarny {
        padding: 0 100px;
    }
}
