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

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

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

/* ipad pion   ,(max-height:700px)  */



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

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

@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(221,216,208); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(221,216,208,1) 0%, rgba(200,200,200,1) 24%, rgba(221,216,208,1) 76%, rgba(200,200,200,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(221,216,208,1)), color-stop(24%,rgba(200,200,200,1)), color-stop(76%,rgba(221,216,208,1)), color-stop(100%,rgba(200,200,200,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(221,216,208,1) 0%,rgba(200,200,200,1) 24%,rgba(221,216,208,1) 76%,rgba(200,200,200,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(221,216,208,1) 0%,rgba(200,200,200,1) 24%,rgba(221,216,208,1) 76%,rgba(200,200,200,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(221,216,208,1) 0%,rgba(200,200,200,1) 24%,rgba(221,216,208,1) 76%,rgba(200,200,200,1) 100%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(221,216,208,1) 0%,rgba(200,200,200,1) 24%,rgba(221,216,208,1) 76%,rgba(200,200,200,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd8d0', endColorstr='#c8c8c8',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
    }
}