body {
background-image: url('../images/tlo.svg');
background-repeat: no-repeat;
background-position: top center;
background-attachment: fixed;
background-size:cover;
max-width: 100%;
max-height: 100%;
 font-family: 'Barlow Condensed', sans-serif;
 margin: 10px !important;
    }
.scrollup{
 position: fixed;
 width: 40px;
 height: 1.5em;
 background:  #ffee90;
 bottom: 120px;
 right: 5px;
 text-decoration: none;
 text-align: center;
 line-height: 50px;
 color:#a8debc;
 font-size:30px;
 opacity: 0.4;
}

.header {
    position: static;
    width: 100%;
    height: 150px;
    top: 10px;
  }
.headerleft {
position: absolute;
    left: 5px;
    width: 20%;
    height: 150px;
    margin: 1em;
}

.headerright {
     position: absolute;
    width: auto;
    height: auto;
    left: 30%;
    margin: 15px;
}

.header img {
  position: relative;
    width: 100%;
    height: initial;
    background: #fff;
}

.header .headerleft h3 {
     position: relative;
     font-size: 1em;
         background: #FFC000;
         color: #1A2938;
         text-align: center;

}
.header .headerright h2 {
position: relative;
    text-align: center;
    color: #1A2938;
    margin: 2px;
    font-weight: 900;
}

.header .headerright h3 {
  position: relative;
    text-align: right;
        background: #FFC000;
        color: #1A2938;
  padding: 2px 10px;
}



nav{
 display: flex;
 float:right;
  height: 30px;
  width: 80%;
  margin: 5px;
}
nav ol{
  text-align: left;
}
nav ol li{
  display: inline-block;
  margin: 0 10px;
         border: outset;
    border-radius: 7px;
    border-color: #FFC000;
}
nav ol li ul{
  line-height: 30px;
padding: 5px 5px;
                border: outset;
    border-radius: 7px;
    border-color: #FFC000;
}
nav ol li a{
     color: #1A2938;
     background: #FFC000;
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
    margin: 5px;
}
a.active,a:hover{
  color: 	#FFC000;
  background: #1A2938;
   padding: 0 12px;
  transition: .5s;
    border: outset;
    border-radius: 7px;
}
.checkbtn{
  font-size: 30px;
  color: #fabc00;
  float: right;
  line-height: 10px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check{
  display: none;
}
.card{
width: 40%;
position: relative;
 display: block;
 box-sizing: content-box;
 margin: 10px 15px;
background: #E5F5FF;
background-position: center;
background-image:inherit;
 padding: 5% 0;
 color: #000;
 text-decoration:  overline;
     text-align: center;
}

.cardcontact{
 text-align: center;
 color: #000;
 font-size: medium;
 margin: 5%;
}
.cardprodukty{
 display: flex;
 position: relative;
 justify-content: center;
 flex-wrap: wrap;
 font-size: 20px;
 width: 100%;
}
.producent{
 margin: 2% 5%;
 width:90%;
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 background: #DDF5EE;
 opacity: 0.8;
}
.cardprodukty1{
 margin: 20px;
 width:calc(90% - 20px);
 position: relative;
 display: inline;
 background: red;
padding-bottom: 5px;
 
}

.cardpro1 {
    margin-bottom:2%;
    display: flex;
    width: 100%;
    height: 100%;
    float: left;
        text-align: left;
     border: double #ffd700 2px;    
 }
.cardpro1 a {
 text-decoration: none;
 color: #000;
 transition: all ease-out;
 width: 100%;
}
.cardpro1:hover{
  transform: scale(0.9);
}
.cardpro1 h1 {
 background: #ffd700;
     color: black;
      font-weight: 500;
}
.cardpro1 h2 {
 font-weight: 100;
 
}
.photopro1{
    width:300px;
    height: 194px;
    display: flex;
    float: left;

}
.textpro1{
 background: white;
}
.opis{
 max-width: 100%;
 margin: 1%;
}
#socials{
right: 20px;
bottom:20px;
 width: 3%;
 background-color: #DDF5EE;
 opacity: 0.7;
 float: right;
 position: fixed ;
   z-index: 100;
  display: block;
}

.fb{
background-color: #3b5999
}
.fb:hover{
 background-color: #3b5999;
}
.yt{
  background-color: #cd201f;
}
.yt:hover{
 background-color: #cd201f;
}
.ig{
 background-color: #008000;
}
.ig:hover{
 background-color: #008000;
}

#footer{
 clear: both;
 text-align: center;
 background-color: #ed8e00;
 color:#000;
 opacity: 0.8;
 padding: 1.5px 1.5px;
 position: fixed;
left:0;
bottom:0;
 z-index: 100;
 font-size: 15px;
}
@media (max-width: 750px){



h1.headtext1 {
  font-size: 0.6em;
 }
  h2.headtext2 {
  font-size: 1.2em;
   width: 50%;
 }
  h3.headtext3 {
  font-size: 0.1em;
 }
  h4.headtext4 {
  font-size: 0.1em;
 }
  .checkbtn{
    display: block;
  }
  ol{
    position: fixed;
    width: auto;
    height: auto;
    background:#1f2521;
    top:22%;
    left: -50%;
    text-align: left;
    transition: all .5s;
  }
  nav ol li{
    display: block;
    margin: 0.2em 1em;
    line-height: 20px;
  }
  nav ol li a{
    font-size: 12px;
  }
  a:hover,a.active{
    background: none;
    color: #a8debc;
  }
  #check:checked ~ ol{
    left: 0;
  }
.content{
   flex-flow: row wrap;
}
}
.contentarticle{
clear: both;
text-align: center;
 font-size: 2em;
  font-weight: 400;
 padding-top: 20px;
}
.contentarticleP{
 text-align: left;
 font-size: 2em;
  font-weight: 400;
 padding-top: 50px;
 display: flex;
 flex-flow: row wrap;
 width: 100%;
}
.contentarticleP p{
 text-align: center;
     margin: auto;
}
.content{
margin-left: 8%;
margin-right: 8%;
font-size: 1.1em;
    display: flex;

}
.imgix{
width: 50%;
}
.postcard
{
	display: flex;
padding: 38px 2px;
 text-align: center;
}

.photo1 a
{
 color: #000;
 text-decoration: none;
  font-size: 1em;
  text-transform: uppercase;
  font-weight: 500;
}

.photo1
{
 display: flex;
 height: 194px;
 width: 250px;
 transition: all 0.2s ease-in-out;
}
.imgphoto{
 height: 184px;
 width: 250px;
}

.photo1:hover
{
	-webkit-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
}


.contentkontakt{

clear: both;
 width: 90%;
 height: auto;
 text-align: justify;
 margin-right: auto;
 margin-left: auto;
 box-sizing: border-box;

 align-items: center;
 justify-content: center;
padding: 25px 20px;
}
.conkontakt{
  display: flex;
}
.product-small-img {
 
  display: flex;
   flex-flow: row wrap;
}
.product-small-img img{

 height: 51px;
 margin: 10px 7px;
 cursor: pointer;
 opacity: 1;
}
.product-small-img img:hover{
 opacity: .6;
}
.product{
  margin: auto;
   width: 250px;
   height: 400px;
}
.img-container img{

 height: 188px;
 margin-top: 3px;
 margin-bottom: -12px;
 opacity: 1;
}
.img-container img:hover{
 opacity: .6;
}


