body
{
    text-align: center;
    margin: 0;
    padding: 0;
    background-image: url(../img/ben_poz.png);
    background-repeat: repeat-x;
}   

.logo
{
    margin-left: auto;
    margin-right: auto;
    height: 200px;
    width: 900px;
    background-image: url(../img/ben_logo.png);
}

#menu li {
    display: flex;
    flex-grow: 1;
    height: 100%;
}

#menu {
    height: 40px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
}

#onas{
    margin: 0;
    padding: 0;
    position: relative;
}

#horniObr{
    padding-top: 10px;
    text-align: center;
}

#mapa {
    margin-top: 20px;
}

#DolniObr{
    text-align: center;
}

#text3 h2{
    margin-top: 0px;
    color: black;
    font-size: 21px;
}

#text3 h3{
    margin-bottom: 0px;
    font-size: 18px;
}

#text3 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

#text2 {
    text-align: center;
    font-weight: bold;
}

#text1 {
    padding-left: 220px;
}

#text1 h3 {
    margin-bottom: -15px;
}

.hlava
{

    margin-left: auto;
    margin-right: auto;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-radius: 8px 8px 0px 0px;
    border-radius: 8px 8px 0px 0px;
    border-top: 5px solid #ed1b24;
    border-left: 5px solid #ed1b24;
    border-right: 5px solid #ed1b24;
    height: 40px;
    width: 900px;
    background-color: #ed1b24;
    color: black;

}

.hlava a {
    text-align: center;
    font-size: 22px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
    line-height: 42px;
    padding-left: 30px;
    padding-right: 30px;
    border-top: 4px solid transparent;
}

.hlava a:hover {
    color: black;
    background-color: white;
    border-top: 4px solid #ed1b24;    
}

.telo
{
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    padding: 5px;
    display: block;
    width: 890px;
    _width: 900px;
    text-align: left;
    border-left: 5px solid #ed1b24;
    border-right: 5px solid #ed1b24;

}


.telo h1 {
    text-align: center;
    margin: 0;
    padding-top: 12px;
    font-size: 20px;
    color: red;
    font-family: sans-serif;

}
.telo h1 a {
    text-decoration: none;
    color:grey;
    font-size: 14;

}
.telo p {
    margin: 0;
    padding-top: 0px;
    font-size: 12px;
    color: black;
    font-family: sans-serif;
}
.patka
{
    margin-left: auto;
    margin-right: auto;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    -webkit-border-radius: 0px 0px 8px 8px;
    border-radius: 0px 0px 8px 8px;
    border-bottom: 5px solid #ed1b24;
    border-left: 5px solid #ed1b24;
    border-right: 5px solid #ed1b24;
    height: 20px;
    width: 900px;
    text-align: left; 
}
.patka table{
    height: 100%;
    width: 100%;
}

.patkastred{
    color: grey;
    text-align: center;   
}

.patkastred a {
    text-decoration: none;
    color: grey;
}

#galerie {
    background-color: white;
    background-repeat:repeat;
    display: none;
    position: fixed;
    padding: 10px;
    width: 800px;
    margin-top: -18em;
    margin-left: 2em;
    color: white;
    font-size: 14px;
    z-index: 1;   
    border: 3px solid #ed1b24;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    text-align: right;
}

#galerie a {
    color: #6F6F6F;
    font-family: sans-serif;
    text-decoration: none;
}

#zobrObr{
    width:800px; 
}
