.clear
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
body {
    font-family: verdana;
    font-size: 14px;
    width: 100%;
    margin: 0 auto;
}

.login {
    text-align: right;
    /*float: right;*/
    margin: 10px 0;;
    /*width: 300px;*/
    padding-right: 40px;}

h1 {
    text-align: center;
    color: #444444;

}

footer {
    font-size: 11px;
    text-align: center;
    padding-top: 30px;
    min-width: 400px;
}

article {
    /*text-shadow: 3px 3px 3px #aaaaaa;*/
}

nav ul {
    list-style-type: none;
}

nav li {
    float: left;
    margin-right: 15px;
}

nav a {
    background: #6FA4F8;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

nav a:hover {
    background: #9DC2F8;
    color: #EEEEEE;
    text-decoration: none;
}

#menu{

}

#obsah {
    max-width: 100%;
    min-height: 300px;
    margin: auto;
    margin-top: 30px;
    background: white;
    /*    border: 1px solid #afafaf;*/
    border-radius: 10px;
    border-collapse:collapse;
    color: black;
}

#text{
    margin: 10px;
}

#produkt{
    text-align: right;
    padding-right: 40px;
}

#produkt select option{
    padding: 5px;
}

dl dt {
    display: inline;
}

dl {
    display: nono;
    margin: 0;
}

.zprava {
    border: 1px solid #9DC2F8;
    background: #DBE8F8;
    padding: 3px;
}

.zprava_err {
    border: 1px solid #9DC2F8;
    background: #FF0000;
    padding: 3px;
}


table{
    font-size: 12px;

    margin: auto;
    width: 96%;
    border-collapse: collapse;
}

#tabulka th{
    background: #D6D6D6;
    min-width: 5em;
    border: 0.1em solid #D6D6D6;
}
/*
#tabulka td{
 padding: 3px;
  border: 0.1em solid #B6B6B6;
}*/

#tabulka table{
    margin: auto;
    border-collapse: collapse;
    border: 0.2em solid #D6D6D6;
}

#tabulka caption{
    font: 9pt Tahoma, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
}

.historie{
    vertical-align: top;
    width:70%;
    float: left;
}
.historie_div
{
    float: left;
    width: 30%;
}
.clear:after
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.skryvany {display: none;}

.center {text-align: center;}

.cervena {background: #F9A2A2;}
.oranzova {background: #F4D092;}

.ikona {width: 20px; height: 20px;}

.width_auto {width: auto; margin: 0 auto; }

.width_auto td { padding: 5px 10px; }

.res_center {text-align: center;}


input#genheslo[type="text"] { border: none }


input#genheslo:focus {outline: none;}

.mobile-menu {
    line-height: 1.8em;
    margin-bottom: 30px;
    margin-top: 30px;
}
/*Strip the ul of padding and list styling*/
.mobile-menu ul {
    list-style-type: none;

    padding-left: 0;
    text-align: center;
    max-width: 833px;

    margin: auto;
    margin-bottom: 30px;
    margin-top: 30px;
}

/*Style for menu links*/
.mobile-menu li a {
    display:block;
    min-width:100px;
    text-align: center;
    color: #fff;
    background: #6FA4F8;
    text-decoration: none;
    /*margin:-5px;*/
    padding: 5px 0;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

/*Hover state for top level links*/
.mobile-menu li:hover a {
    color: #4db3ff;
    background-color:#ccddee;
}

/*Style for dropdown links*/
.mobile-menu li:hover ul a {
    background: #f3f3f3;
    color: #2f3036;
    height: 40px;
    line-height: 40px;
}

/*Prevent text wrapping*/
.mobile-menu li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}


/*Style 'show menu' label button and hide it by default*/
.mobile-menu .show-menu {
    text-decoration: none;
    color: #fff;
    background: #6FA4F8;
    text-align: center;
    padding: 10px 15px;
    display: none;
    cursor: pointer;
}

.mobile-menu .show-menu span{
    padding-left: 35px;
}

/*Hide checkbox*/
.mobile-menu input[type=checkbox]{
    display: none;
}
input[type=button]
{
    position: absolute;
    width: 110px;
    height: 35px;
    background-color: rgb(106, 106, 106);
    border:none;
    color: white;
    font-size: 140%;
    bottom: 0;
    right: 0;

}

input[type=text]
{
    width: 100%;
    height: 25px;
    margin-top: 10px;
    margin-bottom:  10px;
    border: 1px solid #7daf39;
}
/*Show menu when invisible checkbox is checked*/
.mobile-menu input[type=checkbox]:checked ~ #menu{
    display: block;
}
#loginTab
{
    width: 250px;
    margin: auto;
    position: relative;
    height: 210px;
}
#loginTab label
{

    font-size: 121%;
    text-shadow: none;

}
#loginTab tr:last-of-type
{

    height: 40px;

}
#loginTab input[type=text]
{
    width: 100%;
    height: 25px;
    margin-top: 10px;
    margin-bottom:  10px;
    border: 1px solid #7daf39;
}
#loginTab input[type=password]
{
    width: 100%;
    height: 25px;
    margin-top: 10px;
    margin-bottom:  10px;
    border: 1px solid #7daf39;
}
#loginTab input[type=submit]
{
    position: absolute;
    width: 110px;
    height: 35px;
    background-color: rgb(106, 106, 106);
    border:none;
    color: white;
    font-size: 140%;
    bottom: 0;
    right: 0;

}

#loginTab_dalsi
{
    width: 250px;
    margin: auto;
    display: none;
    position: relative;
    height: 210px;
}
#loginTab_dalsi tr:last-of-type
{

    height: 40px;

}
#loginTab_dalsi label
{

    font-size: 121%;
    text-shadow: none;

}
#loginTab_dalsi input[type=text]
{
    width: 100%;
    height: 25px;
    margin-top: 10px;
    margin-bottom:  10px;
    border: 1px solid #7daf39;
}
#loginTab_dalsi input[type=submit]
{
    position: absolute;
    width: 110px;
    height: 35px;
    background-color: rgb(106, 106, 106);
    border:none;
    color: white;
    font-size: 140%;
    bottom: 0;
    right: 0;

}

/*styly pro formulář*/
#title
{
    width: calc(98vw - (100vw - 100%));
    display: table;
    padding: 1vw;
    min-width: 400px;
}
#logo
{
    display: table-cell;
    vertical-align: middle;
}
#titulek
{
    display: table-cell;
    vertical-align: middle;
    min-width: 17%;
}
#titulek p
{
    float: right;
    margin-right: 4vw;
}
#obsah_form
{
    max-width: 100vw;
    min-height: 300px;
    margin: auto;
    margin-top: 30px;
    background: white;
    /* border: 1px solid #afafaf; */
    border-radius: 10px;
    border-collapse: collapse;
    color: black;
    min-width: 400px;
}
#obsah_form form
{
    max-width: 300px;
    min-height: 420px;
    margin: auto;
    position: relative;
    margin-top: 40px;

}
#obsah_form input[type=text]
{
    width: 99%;
    outline: none;
    height: 35px;
    margin-top: 10px;
    margin-bottom:  10px;
    border: 1px solid #7daf39;
}
#obsah_form select
{
    margin-top: 10px;
    margin-bottom: 10px;
    outline: none;
    width: 100%;
    height: 39px;
    border: 1px solid #7daf39;
    cursor: pointer;
    font-size: 110%;
}
#obsah_form input[type=submit]
{
    position: absolute;
    width: 220px;
    height: 45px;
    background-color: #7daf39;
    border: 2px solid #7daf39;
    color: white;
    font-size: 140%;
    bottom: 0;
    right: 0;
    outline: none;
    cursor: pointer;

}
#obsah_form input[type=submit]:hover
{
    position: absolute;
    width: 220px;
    height: 45px;
    font-size: 140%;
    background-color: transparent;
    border: 2px solid #7daf39;
    color: #7daf39;
}
#obsah_form .zprava_err {
    border: none;
    background: #FF0000;
    padding: 13px;
    width: 300px;
    margin: auto;
    text-align: center;
    color: white;
    font-size: 120%;
}
#obsah_form .zprava {
    border: none;
    background: #92f0ff;
    padding: 13px;
    width: 300px;
    margin: auto;
    text-align: center;
    color: black;
    font-size: 120%;
}
#obsah_form #cenap {
    margin-top: 10px;
}
#obsah_form label {
    font-size: 110%;
}
/*Responsive Styles*/
@media (max-width: 700px)
{
    .mobile-menu .lines {
        border-bottom: 15px double #f8f8f8;
        border-top: 5px solid #f8f8f8;
        content:"";
        height: 5px;
        width:20px;
        padding-right:15px;
        float: right;
    }

    /*Make dropdown links appear inline*/
    .mobile-menu ul {
        position: static;
        display: none;
    }

    /*Make all menu links full width*/
    .mobile-menu ul li, .mobile-menu li a {
        width: 100%;
    }
    #menu {
        margin-left: 0px;

    }
    /*Display 'show menu' link*/
    .mobile-menu .show-menu {
        display:block;
    }
    nav a {
        border-radius:0;
    }
}
@media (max-width: 1700px){

    .historie{
        vertical-align: top;
        width:100%;
        float: left;
    }
    .historie_div
    {
        float: left;
        width: 100%;
    }
}
@media
only screen and (max-width: 930px){
    .historie{
        display: none;
    }
    .width_auto input{width: 90%; padding: 0; }

    .width_auto input[type="submit"]{width: 100px; padding: 0; }
    .width_auto textarea{width: 90%; padding: 0; }
    .width_auto td { padding: 5px 10px;  text-align: center;}

    .historie p{

        width: 100%;

    }
    .res_center a
    {
        position: relative;
        z-index: 1;
    }
    /* Force table to not be like tables anymore */
    table.main_table, thead, tbody, th, td, tr {
        display: block;
    }

    table.main_table {
        width:95%;
    }

    table.main_table tr:nth-of-type(odd) {
        background: #eee;
    }
    table.main_table tr:nth-of-type(odd)  td{
        border-bottom: 1px solid white;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table.main_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.main_table tr { border: 1px solid #ccc; }

    table.main_table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 150px;
    }

    table.main_table td:before {
        position: absolute;
        left: 6px;
        width: 150px;
        padding-right: 10px;
        white-space: nowrap;
    }


    #obsah{
        width:100%;
    }

    #tabulka table{

        margin: auto
    }

    .res_center {text-align: left;}
    td{padding:none;}

    #obsah {
        margin: 10px auto;
    }
    #text {
        margin: 0px;
    }
}
@media (max-width: 900px){
    #title h1
    {
        display: none;
    }
}
@media (max-width: 400px){
    #title
    {

        display: table;
        padding: 0;
        min-width: 400px;
    }
    #obsah_form .zprava_err {
        border: none;
        background: #FF0000;
        padding: 13px;
        width: 89%;
        margin: auto;
        text-align: center;
        color: white;
        font-size: 120%;
    }
    #obsah_form .zprava {
        border: none;
        background: #92f0ff;
        padding: 13px;
        width: 89%;
        margin: auto;
        text-align: center;
        color: black;
        font-size: 120%;
    }
    #obsah_form form
    {
        max-width: 400px;
        width: 95%;
        min-height: 330px;
        margin: auto;
        position: relative;
        margin-top: 40px;

    }
}