/* ~~ RESET ~~ */
ul, ol, dl { 
	padding: 0;
	margin: 0;
	list-style-type: none;
}
h1, h2, h3, h4, h5, h6, p {
	margin: 0;	
	font-size: 1em;
}
a img { 
	border: none;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

/* ~~ REUSABLE ~~ */

.hide {
	text-indent: -998em;
	height: 0px;
}


body {
    font-family: 'Work Sans',Verdana, Geneva, sans-serif;
    width: 60%;
    margin: 0 auto;
    background: url(../_img/tlo.jpg) repeat-x;
    background-color: rgb(227,227,227);
}

nav{
    display: flex;
    justify-content: space-between; 
}


.navmenu{
    list-style: none;
    margin: 20px 0px 20px 0px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex: 8; /* width of nav menu area - 8/10 */
}

.navmenu li{
          flex: 1 1 auto;
}

.navmenu li a{
  display: flex;
  height: 35px; /* height of links */
  padding: 0 10px;
  margin: 3px 3px 3px 3px;
  color: black;
  text-transform: lowercase;
  font-weight: 500;
  background:; /* default background color */
  text-decoration: none;
  justify-content: center; /* center text horizontally */
  text-align: center;
  align-items: center; /* center text vertically */
  box-shadow: 0-10px 3px rgba(0,0,0,.1) inset;
  transition: all .3s;
  border-radius: 2px;
}

.navmenu li:nth-of-type(1) a{
  background: rgb(109,109,109);
}
.navmenu li:nth-of-type(2) a{
  background: rgb(217,7,13);
}
.navmenu li:nth-of-type(3) a{
  background: rgb(242,0,234);
}
.navmenu li:nth-of-type(4) a{
  background: rgb(76,68,251);
}
.navmenu li:nth-of-type(5) a{
  background: rgb(0,224,54);
}
.navmenu li:nth-of-type(6) a{
  background: rgb(249,195,0);
}
.navmenu li:nth-of-type(7) a{
  background: rgb(240,139,1);
}
.navmenu li:nth-of-type(8) a{
  background: rgb(217,7,13);
}

.navmenu li a:hover{
  opacity: .8;
  box-shadow: 0-10px 3px rgba(0,0,0,.2) inset, 0 15px 15px -5px gray;
  transform: rotateX(20deg);
  transform-origin: 50% 0;
  transition: all .3s;
}

nav .navmenu .current{
    color: white;
    text-shadow: 2px 2px 2px #000;
}

#glowna{    
    text-align: center;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}


#glowna div{
    flex: 1;
    background: #fff url(../_img/tesc.jpg) repeat-x;
    border: 2px solid white;
    margin: 5px;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 0px;
    border-radius: 5px;
}

#glowna h2{
    margin-top: 20px;
    color: red;
    
}

#glowna div img{
    margin: 20px;
    text-align: center;
}

#glowna div p{
    text-align: justify;
    padding: 0 20px;
}

#glowna div a{
    color: red;
    text-decoration: none;

}

.informacje .wrapper{
    background: #fff url(../_img/tesc.jpg) repeat-x;
    box-shadow: 4px 4px 6px 0px rgba(50, 50, 50, 0.75);
    margin: 5px;
    font-size: 16px;
    padding: 10px;
}

.informacje h1{
    color: red;
    padding: 10px;
}

.informacje p{
    padding: 18px;
}

.kontyner-katalog{
    height: 201px;
    align-self: center;
    padding: 18px;
}

.informacje .wrapper div{
    display: flex;
    
}
.informacje .wrapper div .centrowanie{
    align-self: center;
    padding: 18px;
}

.informacje .wrapper div span, .informacje .wrapper div icon{
    display: inline-block; 
    vertical-align: bottom;
    padding-left: 6px;
    line-height: 2;

}

.informacje .wrapper #mapa{
    align-self: center;
    flex: 1;
}

.galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    
}
.galeria img{
    padding: 2.5px;
    width: 120px;
    height: 150px;
}


#footer{
    display: flex;
    width: 100%;
    height: 100px;
    background: url(../_img/footer.jpg) no-repeat left bottom, url(../_img/footer-tlo.jpg) repeat-x;
    margin-top: 10px;
    border-top: 2px solid black;
    justify-content: flex-end;
    align-items: center;
}


#footer p {
	font-size: 16px;
	text-align: right;
	color: #fff;
    margin-right: 10px;
    line-height: 1.5;
    text-shadow: 2px 2px 2px #000;
}

#footer #tel{
    margin-right: 15px;
}


@media only screen and (min-width: 768px){
    #obrazekMOB{
        display: none;
    }
}

@media only screen and (max-width: 768px){
    body{
        width: 100%;
    }
    
    .slider{
        display: none; 
    }
}


@media only screen and (max-width: 1100px){
    .informacje .wrapper div{
        flex-direction: column;
}
    #odziez-katalogi{
        flex-direction: row;
        align-self: center;
    }
    
}