/* 
    Created on : 4.1.2016, 15:56:24
    Author     : compo
*/

#main {
    width: 700px;
    height: 500px;
    background: radial-gradient(#FFFFFF, #07FEF3);
    overflow: hidden;
    margin: auto;
    border: 1px solid;
    border-radius: 5px;
}

#top {
    height: 70px;
    background: #ff7600;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}



#hra {
    height: 360px;
    background-image: url(images/bg.png)
}

#hra_delka {
    height: 360px;
    display: none;
}

#hra_delka_top {
    height: 208px;
    border-bottom: 2px solid;

}

#hra_delka_top_up,
#hra_delka_top_down {
    height: 104px;
    float: left;
    width: 700px;
}

#hra_delka_top_up {
    background-image: url('images/zadani.png');
}

#hra_delka_top_down {
    background-image: url('images/vysledek.png');
}

#pasmo_1,
#pasmo_2 {
    height: 50px;
    width: 600px;
    border: solid 1px;
    margin-top: 5px;
    margin-left: 50px;
    opacity: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 2px 2px 3px;
}

#jed_1,
#jed_2 {
    height: 40px;
    width: 40px;
    /* border: solid 1px; */
    margin-top: 5px;
    margin-right: 5px;
    float: right;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    box-shadow: 2px 2px 3px inset;
    border-radius: 5px;
    background-color: #aefffc;
}

#jed_2 {
    color: #293939;
}

#jed_1 {
    color: #5b8f8d;
}

#pasmo_1 {
    background-color: #ff7600;
}

#meritko_1,
#meritko_2 {
    height: 20px;
    width: 600px;

    margin-top: 15px;
    margin-left: 50px;
    opacity: 0;
}

#hra_delka_down_hodnota_1,
#hra_delka_down_hodnota_2 {
    flex: 1;
    height: 150px;
}

#hra_delka_down_hodnota_r {
    flex: 0.2;
    height: 150px;
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    line-height: 150px;
}

#hodnota_1,
#hodnota_2 {
    width: 100px;
    height: 50px;
    border: 1px solid;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    background-color: white;
    float: left;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

#hodnota_2 {
    height: 48px;
}

#jednotka_1,
#jednotka_2 {
    width: 50px;
    height: 50px;
    border: 1px solid;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    float: left;
    background-color: whitesmoke;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

#hodnota_11,
#hodnota_111 {
    width: 80px;
    height: 40px;
    border: 1px solid;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    float: left;
    margin-left: 10px;
}

#jednotka_11,
#jednotka_111,
#spoj {
    width: 40px;
    height: 40px;
    border: 1px solid;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    float: left;
}

#spoj {
    width: 30px;
    margin-left: 10px;
}

#hra_delka_down_hodnota_1_pole,
#hra_delka_down_hodnota_2_pole {
    margin: auto;
    height: 52px;
    width: 160px;
    margin-top: 50px;
}

#hra_delka_down_hodnota_1_pole_roz,
#hra_delka_down_hodnota_2_pole_roz {
    margin: auto;
    height: 42px;
    width: 310px;
    margin-top: 50px;
}

#hra_delka_down_hodnota_1_pole_roz {
    display: none;
}

#hra_delka_down {
    height: 150px;
    display: flex;
}

#down {
    height: 70px;
    background: #ff7600;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;

}

.but {
    width: 60px;
    height: 60px;
    box-shadow: 2px 2px 3px;
    border-radius: 5px;
    margin-left: 10px;
    margin-top: 5px;
    cursor: pointer;
    background-size: contain;
    background-color: #cbcece;
}

.but:hover,
.but1:hover,
#but8:hover {
    box-shadow: 1px 1px 1px;
}

ul {
    position: relative;
    left: -30px;
    margin: 0px;
}

li {
    float: left;
    list-style: none;
}

#but_delka {
    background-image: url('images/but_delka.png');
}

#but_hmotnost {
    background-image: url('images/but_hmotnost.png');
}

#but_objem {
    background-image: url('images/objem.png');
}

#but6 {
    background-image: url('images/bt1.png');
    margin-left: 50px;
}

#but_obsah {
    background-image: url('images/but_obsah.png');
}

#but2 {
    background-image: url('images/bt3.png');
}


#but8 {
    background-image: url(images/bdalsi.png);
    width: 100px;
    background-size: cover;
    height: 27px;
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 3px;
    cursor: pointer;
}

#but_vyuka {
    background-image: url('images/but_vyuka.png');
    float: right;

}

#textik {
    width: 500px;
    height: 50px;
    margin: 0 auto;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding-top: 7px;
    line-height: 50px;
}

#vyuka {
    width: 700px;
    height: 405px;
    background: #cbcece;
    margin: 0 auto;
    position: relative;
    top: -430px;
    z-index: 100;
    font-size: 20px;
    font-weight: bold;
    color: black;
    display: none;
}

#vyuka_title {
    width: 700px;
    height: 100px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;

}

#vyuka_left {
    width: 300px;
    height: 320px;
    float: left;
}

#vyuka_vzor {
    width: 240px;
    height: 150px;
    margin: 85px 0 0 75px;

}

#vyuka_hodnota {
    width: 145px;
    height: 154px;
    box-shadow: 2px 2px 3px inset;
    font-size: 52px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    float: left;
}

#vyuka_vzor_jednotka {
    width: 90px;
    height: 150px;
    float: left;
}

.vzor_jednotky {
    width: 50px;
    height: 25px;
    margin: 0px 0 2px 0px;
    box-shadow: 1px 1px 2px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 25px;
    cursor: pointer;
}

.vzor_jednotky:hover {
    box-shadow: -1px -1px 2px;
}

#vyuka_right {
    width: 400px;
    height: 320px;
    float: left;
}

.vyuka_jednotky {
    width: 200px;
    height: 40px;
    margin: 10px 0 0 100px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    box-shadow: 1px 1px 2px inset;
    border-radius: 5px;
}

.vyuka_jednotky_label {
    width: 20px;
    height: 40px;
    margin: 10px 0 0 70px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    float: left;
}

#ousko {
    width: 40px;
    height: 40px;
    position: relative;
    top: -300px;
    left: 660px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #cbcece;
    cursor: pointer;
    background-image: url(images/kriz.png);
    background-size: 70%;
    background-position: center center;
    background-repeat: no-repeat;
}

#help {
    width: 600px;
    background: #cbcece;
    margin: 0 auto;
    position: relative;
    top: -450px;
    z-index: 100;
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    color: black;
    display: none;
}

#kriz {
    float: right;
    margin: 5px;
    cursor: pointer;
}

#popup_text {
    font-size: 22px;
    margin: 5px;
    font-weight: bold;
    text-align: justify;

}