body{
    background-image: url('../backgrounds/002/001.jpg');
    background-size: cover;
}

a{
    color: rgb(210,210,210);
 }

#tresc{
    color:rgb(210,210,210);
}

@media screen and (max-width:980px) {

    #tresc {
        padding-right: 540px;
        margin-right: 0px;
    }
}


@media screen and (max-width:850px){
    #tresc {
        padding-right: 400px;
        margin-right: 0px;
    }
}


@media screen and (max-width:782px){
    li.menu-horizontal-item {
        padding-right: 0px;
    }
}



@media screen and (max-width:635px), (max-height:500px) {
body{
    background: rgb(131,122,122); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(131,122,122,1) 0%, rgba(74,68,68,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(131,122,122,1)), color-stop(100%,rgba(74,68,68,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(131,122,122,1) 0%,rgba(74,68,68,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  rgba(131,122,122,1) 0%,rgba(74,68,68,1) 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  rgba(131,122,122,1) 0%,rgba(74,68,68,1) 100%); /* IE10+ */
    background: radial-gradient(ellipse at center,  rgba(131,122,122,1) 0%,rgba(74,68,68,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#837a7a', endColorstr='#4a4444',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#header{
        margin-left: 0px;
    }
    #tresc {
        padding-right: 10px;
        margin-right: 0px;
        margin-left: 5px;
    }
}

@media screen and (max-width:590px){
    li.menu-horizontal-item {
        font-size: 100%;
    }
}

@media screen and (max-width:470px){
   div#header{
    margin:0px;
   }

   ul#menu-horizontal{
    margin-left: -40px;
   }

   li.menu-horizontal-item {
        padding-left: 15px;
    }

   div#podpis{
    text-align: center;
    margin-left: 0px;
   } 

   img#logo{
    max-height: 50px;
    padding-top: 0px;
   }

   div#tresc{
    padding-top: 15px
   }

}

@media screen and (max-height:450px){
    div#podpis{
        display: none;
    }
li.menu-horizontal-item {
        padding-top: 0px;
    }
body{
    margin-top: 0px
    }
}