 body,html{margin: 0;padding: 0; font-family: 'Montserrat', sans-serif;font-size: 15px;height:100%}
    .slogan{
        position: absolute;
right: 15%;
top:175px;
z-index: 100;
    color: #fff;
   
    }
    .banner h1{color: #a5732f;font-weight: 800;font-size: 40px;}
    .banner div{font-size: 24px;width: 600px}
    #main h1{position:relative;font-weight: 700;color: #191919;padding-bottom: 36px;font-size:30px}
    #main h1:after{
        content: '';
        position: absolute; width: 88px;
        border-bottom: 2px solid  #a5732f;
        left: 50%;top: 70%;
        transform: translateX(-50%)
    }

    
     #main h2{color: #191919;text-align: center;font-size: 16px;font-weight: 800;letter-spacing: 2px;text-transform: uppercase;position: relative}
      #main h2.upperline{
        margin-top: 18px;
    }
   #main h2.upperline:before{
        content: '';
        position: absolute; width: 331px;
        border-bottom: 1px solid  #a5732f;
        left: 50%;top: -18px;
        transform: translateX(-50%)
    }
     #main h2.downline{margin-bottom:40px}
       #main h2.downline:before{
 content: '';
        position: absolute; width: 331px;
        border-bottom: 1px solid  #a5732f;
        left: 50%;top: 36px;
        transform: translateX(-50%)
    }
    #main .container{    margin-top: 50px;
    margin-bottom: 50px;}
    .center{text-align: center}
    #main{color: #787878}
    .uslugi{background-color: #f5f5f5;margin-bottom:100px;padding-bottom: 100px;padding-top: 10px;min-height:700px}
    #main .uslugi .container{margin-bottom:0px;
    margin-bottom:0px;}
    .partnerzy{background-color: #fff;margin-top: -20px;text-align: center}
    .uslugi h1{font-size: 24px;padding-bottom: 20px;font-weight:600}
    .partnerzy h1{font-size: 30px;padding-bottom: 10px;text-transform: capitalize}
    footer h1{font-size: 30px;padding-bottom: 10px;font-weight: 700;color: #171717}
    footer{    width: 100%;
    overflow-x: hidden;}
    .uslugi h1:before,.uslugi h1:after{display: none}
    .overlay{position: absolute;
    width: 100%;
      height: 98.6%;
 
    background-color: rgba(2, 2, 2, 0.12);
}
     .uslugi ul{  margin-left: 0px;
    padding: 0px;}
    .uslugi ul > li {
  text-indent: -10px;
  list-style: none;
  font-weight: 400;
  display:inline-block;

}
.uslugi ul > li:before {
  content: "-";
  text-indent: -10px;
  margin-right: 5px;
}
    .banner2{width: 100%;position: relative;background-color:#fff;margin-bottom:0;}
a{color: inherit}
a:hover{text-decoration: none}
nav{float:right}
nav ul li{list-style:none;display:inline-block;
line-height:55px;padding:10px;font-family: 'Montserrat', sans-serif;
font-weight: 500;       color: #fff;text-transform: uppercase;font-weight: 800;
    font-size: 13px;}
nav ul li a:hover{color:#a5732f;transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);transition: 0.2s;}
  .banner {
    height: 600px;
    width: 100%;

    display: block;
    position: relative;
	background-color:#f5f5f5;
	
}
header{    position: absolute;
    z-index: 1000;
    width: 100%;}
.fixed{position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;}
header.fixed #logo img{max-width:180px;margin-top: 20px;display:block}
.logos img{margin:0 auto;}
header.fixed nav ul li{color:#000}
header #logo img{max-width:180px;margin-top: 20px;display:none}
#main{

min-height:100px;

z-index:100;
position:relative;
width:auto;
    margin-bottom: 3em;
}
.createdby{width: 100%;padding-top: 2em;text-align: center;    border-top: 1px solid #d4d4d4;
    margin-top: 2em;}

  footer{background-color: #f5f5f5;padding-bottom: 2em}
  
        input,textarea{background-color: #fff;font-family: 'Montserrat', sans-serif;width: 100%;margin-top: 10px;padding: 10px;border: none;font-weight:600 }
        .half{width: 100%;display: inline-block;}
        .second {float: right;
        }
       input[type=button], input[type=reset], input[type=submit]{
            background-color: #a87938!important;
    color: #fff!important;
    width: 214px;
    padding-top: 1em;
    padding-bottom: 1em;
    float: right;
   font-family: 'Montserrat', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
    }
 
 .pl10{padding: 0em 0em 0em 10em;}
 .pr10{padding: 0em 10em 0em 0em;}
 .banner2 img{width: 100%}
 .ion-social-facebook{
        margin-left:2em;
    color: #fff;
    background-color: #a87838!important;
    margin-top: 1em;
    display: inline-block;
    position: relative;
    background-color: transparent;
    padding-bottom: 0;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 1px solid #a87838;
    border-radius: 99%;
    line-height: 30px;text-align: center
 }

  .slogan  div {
    animation-delay: 0.7s;
}
    .a1{animation-delay: 0.2s;}
    .a2{animation-delay: 0.4s;}
    .a3{animation-delay: 0.6s;}
    .a4{animation-delay: 0.8s;}
    #biglogo{animation-delay: 1s;animation-duration: 0.7s;}
    .banner img{ animation-duration: 2s;    margin-left: -200px;}
    .banner2 img{ animation-duration: 1.3s;}
    input[type=button], input[type=reset], input[type=submit] {
        animation-duration: 1.3s; animation-delay: 1s
    }
    .list ul li:nth-child(1) { animation-delay: .2s }
.list ul li:nth-child(4) { animation-delay: .4s }
.list ul li:nth-child(6) { animation-delay: .6s }
.list ul li:nth-child(8) { animation-delay: .8s }
    .list ul li:nth-child(10) { animation-delay: 1s }
    .list ul li:nth-child(12) { animation-delay: 1.2s }
    .list ul li:nth-child(14) { animation-delay: 1.4s }
    .list ul li:nth-child(16) { animation-delay: 1.6s }
     .list ul li:nth-child(18) { animation-delay: 1.8s }
        nav ul li:nth-child(1) { animation-delay: .2s }
nav ul li:nth-child(2) { animation-delay: .4s }
nav ul li:nth-child(3) { animation-delay: .6s }
nav ul li:nth-child(4) { animation-delay: .8s }
   nav ul li:nth-child(5) { animation-delay: 1s }
    nav ul li:nth-child(6) { animation-delay: 1.2s }
    nav ul li:nth-child(7) { animation-delay: 1.4s }

    #upbutton {
    position: fixed;
    right: 60px;
    bottom: 5%;
    z-index: 100;
    width: 50px;
    height: 50px;
    background-color: #aa783d;
    border-radius: 99%;
    cursor: pointer;
    display: none;
    -webkit-transition: all 400ms cubic-bezier(0.345, 0.855, 0.565, 1) 10ms;
    -moz-transition: all 400ms cubic-bezier(0.345, 0.855, 0.565, 1) 10ms;
    -o-transition: all 400ms cubic-bezier(0.345, 0.855, 0.565, 1) 10ms;
}
    #upbutton:after {
    content: '\f3d8';
    font-family: "Ionicons";
    color: #fff;
    font-size: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
    .partnerzy h1{    margin-bottom: -40px;}

@media screen and (max-width:1850px) {
       .banner img{margin-left:-300px}

}


@media screen and (max-width:1728px){
  
    .slogan{right: 5%;}
     .banner img{margin-left:-350px}
}

@media screen and (max-width:1517px) {
        .banner img{margin-left:-370px}
             #biglogo{max-width:60%;
    transform: translateX(70%);}
}



@media screen and (max-width:1481px){
    .banner img{margin-left:-450px}

}

@media screen and (max-width:1366px) {
       .banner img{margin-left:-550px}
  
}

@media screen and (max-width:1284px) {
    .banner img {
        margin-left: -600px;
    }
}




@media screen and (max-width:1130px){
    .banner img{margin-left:-700px}
        .banner div{padding: 10px;font-size: 18px}
        .overlay2{    width: 100%!important;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 99;
    padding: 0px!important;
    margin: 0!important;
    left: 0;}
        .slogan h1{color:#d9a359;text-align:right}
        .slogan div{text-align:right}
}

@media screen and (max-width:980px){
    .banner img{margin-left:-380px}
        .banner div{padding: 10px;font-size: 18px}
            .pl10{padding: 0em 0em 0em 0em;}
 .pr10{padding: 0em 0em 0em 0em;}
 .uslugi ul{margin-left: 0}
.uslugi h1{padding-left: 20px}
  .pl10{padding: 0em 0em 0em 0em;}
 .pr10{padding: 0em 0em 0em 0em;}
 #biglogo{width: 70%!important;
    margin-left: 0%!important;
    margin-top: 4em!important;
    text-align: right!important;
    /**margin-left: 150px!important;**/
        margin-left: 50%!important;
    transform: translateX(-50%);
 }
}
@media screen and (max-width: 794px) {
    #menu nav{display: none}
    .fixed{display:none}
}

@media screen and (max-width: 40em) {


.banner div{width: 100%;padding: 10px;font-size: 18px}
.banner img{    margin-left: -100%;}
.slogan{right: 0}
.slogan h1{color: #e5c9a3}
  
.container{padding: 2em}
.uslugi{padding: 50px 0px 0px 0px;margin-bottom:20px;}
.uslugi ul{margin-left: 0}
.uslugi h1{padding-left: 20px}
.banner2{margin-top: 50px}
.banner2 img{    height: 300px;
    margin-left: -200px;
    width: auto;
}
.partnerzy{padding-top:50px }
form{margin-top: 1em}
.half{width: 100%}
#main #oferta .col-md-4,.oferta-col-md-6{margin-top: 2em}
#main #ofirmie{margin-top: 50px;margin-bottom: 20px;}
#main .container{margin-top: 20px;margin-bottom: 20px;}
input[type=button], input[type=reset], input[type=submit]{width: 100%;margin-top: 2em}
#menu nav{display: none}
nav ul li{line-height: 5px}
}

@media screen and (max-width: 320px) {
    .banner img{    margin-left: -150%!important;}
}