/*#zespol_galeria{
	text-align: center;
}*/
div#zespol_galeria{
	text-align: center;
}

#cover_zespol{
	width: 90%;
}

div.osoba_zespol{
	margin:10px;
}

img.zdjecie_zespol{
	display: inline-block;
	vertical-align: middle;
	height: 250px;
	width: 166px;
}

span.imie{
	font-size: 200%;
	font-weight: bold;
}
span.opis {
	display: inline-block;
	vertical-align: middle;
	width: 60%;
	
}

img.zdjecie_zespol {
    display:inline-block;
    vertical-align:middle;
    padding-right:5%;
}

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


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

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

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

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

}



@media screen and (max-width:1020px) {
body{
    background: rgb(95,95,95); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(95,95,95,1) 0%, rgba(38,38,38,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(95,95,95,1)), color-stop(100%,rgba(38,38,38,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(95,95,95,1) 0%,rgba(38,38,38,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  rgba(95,95,95,1) 0%,rgba(38,38,38,1) 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  rgba(95,95,95,1) 0%,rgba(38,38,38,1) 100%); /* IE10+ */
    background: radial-gradient(ellipse at center,  rgba(95,95,95,1) 0%,rgba(38,38,38,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5f5f5f', endColorstr='#262626',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

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

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


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

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


@media screen and (max-width:635px), (max-height:500px) {


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

}


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

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

    div.osoba_zespol{
        text-align: center;
    }

    span.opis{
        width: 100%;
    }

    div#tresc{
        margin-left: 0px;
    }

}

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


@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
   }

   img.zdjecie_zespol{
    padding-right: 0%;
   }

}

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