div.mainContainer{
   padding:0px;
}
.sideBoxes{
   padding: 40px 20px;
   padding-top:0px;
}

.aside-box{
  background: #f2f2f2;
  padding: 13px;
  border-radius: 10px;
  font-family: 'Verdana', sans-serif;
  margin-bottom:20px;
}

.aside-box:last-child{
  position: sticky;
    top: 20px;
}

.aside-box img{
  width:100%;
}

.aside-box:first-child{
  margin-top:20px;
}

aside .promoBox{
  font-size: 15px;
  text-align: center;
  line-height: 25px;
  height:100%;
}


.d-flex{
   display:flex;
}

.mainHeaderContent{
  background: #f8fcff;
}

.greenHeader{
  background:#00A21A;
  height:60px;
  box-sizing:border-box;
  flex-direction: row;
  align-items:center;
  padding:0px 20px;
}

.greenHeader span{
  color:#fff;
  font-size:22px;
  font-weight:300;
  align-items:center;
}

.greenHeader span.number img{
  margin-left:20px;
  margin-right:10px;
}

span.socialMedia{
  margin-left:auto;
  align-items:center;
}

span.socialMedia img{
  margin-left:15px;
}

div.main{
  padding:0px;
}

.mainContent > .container{
  padding:10px;
}

.mainHeaderContent{
  height:auto;
}

.logoContent{
      display:flex;
      flex-direction:row;
}
.logoContent img {
    padding: 20px 50px 20px 30px;
    background: #f8fcff;
}
.logoContent__menu {
    background: url(../img/bg_gray.jpg) no-repeat;
    background-size: cover;
    width: 100%
    
}

.logoContent__menu ul{
  display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    padding-bottom: 10px;
    padding-left: 20px;
}
.logoContent__menu ul li a {
    padding: 0px 30px 0px 0px;
    color: #000;
    text-decoration: none;
    font-size: 23px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    margin-right: 50px;
}

.logoContent__menu ul li a:after {
    content: '';
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    margin: auto;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #F18D30;
    height: 0px;
}

/*POPUP AMORTYZEN*/

.popupContent {
   width: 100%;
   max-width: 850px;
   margin:15px;
   max-height: 100%;
   overflow: auto;
}

.popupProduct {
   position: absolute;
   width: 220px;
   height: 390px;
   right:0px;
}

.popupProduct img {
   width:initial;
   height:initial;
   max-width: 100%;
   max-height: 100%;
}

.priceDiscPopup {
   background: #FAD228;
   color:#000;
}

.popupText h3 {
   font-weight: 400;
   color:#004A98;
   font-size:55px;
   line-height:1.2;
   padding:0px 0px 5px; 
}

.changeColorPopup{
   color:#004A98;
}
.mainPopupTextCont span.firstDesc{
   font-size:27px;
   line-height: 35px;
}


@media screen and (max-width:1040px){
  .logoContent__menu ul li a {
    padding: 0px 25px 0px 0px;
    font-size: 23px;
    margin-right: 30px;
  }
}

@media screen and (max-width:920px){
  .greenHeader span {
    font-size: 22px;
  }

  .logoContent img {
    padding: 20px 10px 20px 10px;
    background: #f8fcff;
    width: 250px;
  }
}

@media screen and (max-width:800px){
  div.mainHeaderContent{
    display:flex;
    flex-direction:column-reverse;
  }

  .logoContent__menu{
    display:none;
  }

  .logoContent img {
    width: 60%;
    margin: 0 auto;
    max-width: 280px;
    box-sizing: border-box;
    padding: 20px 0px;
    display: block;
}

  .greenHeader{
    flex-direction:column;
    height:auto;
    padding: 10px 20px;
  }

  span.socialMedia {
    margin-left: initial;
    align-items: center;
    margin-top: 10px;
  }
}

@media screen and (max-width:700px){
   .only-desktop{
      display:none;
   }

   .mainPopupTextCont span.firstDesc{
      font-size:22px;
      line-height: 29px;
   }
 
   .popupText h3 {
       font-weight: 700;
       color:#5E17EB;
       font-size:48px;
    }
 
    .changeColorPopup{
       color:#5E17EB;
    }
}

@media screen and (max-width:520px){

   .popupContent{
      padding: 10px;
   }

   .mainPopupTextCont{
      padding:0px !important;
   }
  .greenHeader span {
    font-size: 19px;
  }
  .greenHeader span.socialMedia img, .greenHeader span.number img{
    width:30px;
  } 

  .greenHeader span.socialMedia{
    display:none;
  }

  .promo{
   font-size: 27px !important;
   line-height: 1.2 !important;
  }

}

@media screen and (max-width:460px){
  .greenHeader span.number {
    flex-direction:column;
    display:flex;
  }

  .greenHeader span.number img{
    display:none;
  }

  .logoContent img {
      width: 50%;
      padding: 5px 0px;
   }

   .mobileContent{
      margin-top:8px;
   }

   .sideBoxes {
      padding: 10px 10px;
      padding-top: 0px;
  }

  .sideBoxes .mainContent {
   padding-top: 10px;
}

   .mobileContent > p:first-of-type{
      display:none;
   }
   .mobileContent > p:nth-child(2){
      margin-top:0px;
   }

   .mobileContent > p:nth-child(3){
      display:none;
   }
   .greenHeader {
      padding: 2px 10px;
  }
}