/* Announcement Baner */
.banner {
  position: relative;
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 12em;
  background: rgb(49, 96, 71);
  background: linear-gradient(
    180deg,
    rgba(49, 96, 71, 1) 0%,
    rgba(68, 135, 100, 1) 50%
  );
}

.banner-image {
  width: 65%;
  height: auto;
  align-self: flex-end;
  padding: 2em 0 0 0;
}

.banner-image img {
  display: block;
  width: 100%;
}

.banner-offered {
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-transform: uppercase;
  padding: 1.25em 0;
}

.banner-box h1 {
  color: #ffab40;
  font-weight: 400;
  font-size: 1.5em;
  margin-bottom: 0.3em;
  letter-spacing: 0.03em;
}

.banner-box h2 {
  color: #fff;
  font-weight: 700;
  font-size: 1.9em;
  margin-bottom: 0.3em;
  letter-spacing: 0.05em;
}

.banner-box p {
  color: #fff;
}

.banner-box:nth-child(2) {
  background-color: #ffb03b;
  padding: 0.3em 0.6em 0.45em 0.6em;
  color: #fff;
  font-size: 3em;
  font-family: "Open Sans", sans-serif;
}

.banner-boxes1 {
  margin: 0.3em 0;
  font-weight: 300;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

.banner-boxes2 {
  font-weight: 700;
  margin: 0.4em 0;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

.banner-boxes3 {
  font-weight: 700;
  margin: 0.3em 0;
  font-size: 0.9em;
  letter-spacing: 0.05em;
}

.banner-button {
  position: relative;
  display: inline-block;
  background-color: #fff;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  padding: 0.6em 1.5em;
  text-decoration: none;
  color: #468966;
  font-size: 1.2em;
  font-weight: 700;
  transition: color 0.2s;
  z-index: 0;
}

.banner-button::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: -50%;
  width: 200%;
  height: 250%;
  background: #ffb03b;
  transform: rotate(360deg);
  transition: bottom 0.4s;
  z-index: -1;
  border-radius: 0 0 18px 18px;
}

.banner-button:hover::before {
  bottom: 0;
}

.banner-button:hover {
  color: #fff;
}

/* Container side main */

.container-main-side {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Oferta */
.offer {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 9;
  font-family: "Fira Sans", sans-serif;
}

.box-offer {
  position: relative;
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 0 12.5em;
  overflow: hidden;
}

.box-offer:nth-child(even) {
  background-color: #ecf3ef;
}

/* Informational Offer */
.box-info {
  width: 80%;
  height: auto;
  padding: 1em 0;
}

.box-info h2 {
  font-family: "Fira Sans", sans-serif;
  font-size: 1.45em;
  font-weight: bold;
  color: #468966;
  margin-top: 0.4em;
  margin-bottom: 0.5em;
}

.box-info p {
  font-family: "Fira Sans", sans-serif;
  font-size: 1em;
  margin-bottom: 1em;
  line-height: 1.8;
  color: #555454;
}

.button-info {
  padding: 0.6em 1.2em;
  background-color: #468966;
  color: #fff;
  font-size: 0.95em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s;
  border-radius: 18px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.button-info:hover {
  background-color: #ffb03b;
}

/* Offer Box Aside */
.box-image {
  align-self: flex-end;
  width: 160px;
  height: 210px;
  margin: 1.2em 0 0 0;
}

.box-image .offer-image {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.box-image .offer-image2 {
  display: block;
  width: 105px;
  height: 210px;
  margin: 0 auto;
}

/* Informacje i lokalizacja o firmie */
.info-container {
  position: relative;
  width: 100%;
  height: auto;
}

/* Mapa lokalizacji firmy */
.map-container {
  display: none;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 510px;
}

.map {
  width: 100%;
  height: 100%;
  border-top: 2px solid #e2ebe6;
  border-bottom: 2px solid #efefef;
}

.map-container:before,
.map-container:after {
  position: absolute;
  content: "";
  display: block;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.map-container:before {
  top: -5px;
  left: 0;
  right: 0;
  height: 5px;
}

.map-container:after {
  bottom: -5px;
  left: 0;
  right: 0;
  height: 5px;
}

/* Powrót do poprzedniej strony */
.back_btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  background-color: #468966;
  color: #fff;
  font-family: "Fira Sans", sans-serif;
  font-size: 1.2em;
  z-index: 30;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.back_btn i {
  margin-right: 0.4em;
}

.back_btn:hover {
  background-color: #ffb03b;
}

/* Usługi Firmy */
.service-container {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: auto;
  z-index: 10;
  padding: 7em 0;
  background-color: #ecf3ef;
}

.service-box {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  grid-column-gap: 260px;
  grid-row-gap: 80px;
  width: auto;
  height: auto;
}

.service-boxes {
  text-align: center;
}

.service-boxes p {
  margin-top: 1em;
  color: #468966;
}

.service-boxes span {
  margin-left: 0.3em;
  color: #ff9800;
}

.service-image {
  display: block;
  width: 100%;
  height: 180px;
}

.service-boxes:nth-child(6) .service-image {
  display: block;
  margin: 0 auto;
  width: 80%;
  height: 180px;
}

/* HP Dzialdowo Offer */
.contact-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  background: #fca836;
  padding: 40px 20px;
  color: #fff;
}

.contact-content {
  display: flex;
  flex-direction: row;
  align-items: center;
}


.phone-icon img {
  width: 12em;
}

.contact-banner .text {
  margin-left: 50px;
}

.contact-banner .text h2{
  font-size: 2em;
  color: #fff;
}

.contact-banner .big {
  font-size: 3em;
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
}

.highlight {
  background: white;
  color: #266048;
  font-weight: bold;
  padding: 0 5px;
}

.bold-highlight {
  background: #a0381c;
  font-weight: bold;
  padding: 6px;
  margin: 10px 0;
  display: inline-block;
  color: #fff;
}

.question {
  margin-top: 10px;
  font-size: 1.6em;
  color: #fff;
}

.phone-number{
  text-align: center;
}

.cta {
  margin-top: 20px;
  background: white;
  color: #266048;
  padding: 10px 15px;
  font-size: 2.5em;
  font-weight: bold;
  display: inline-block;
  border-radius: 5px;
}

@media screen and (max-width: 1440px) {
  .banner,
  .box-offer {
    padding: 0 8em;
  }
}

@media screen and (max-width: 1280px) {
  .banner {
    justify-content: space-between;
    align-items: center;
    padding: 0 5em;
  }

  .icon-search .icon {
    line-height: 1.52em;
  }

  .box-offer {
    padding: 0 5em;
  }

  .box-info {
    margin-left: 0;
  }
  
  .service-container {
    padding: 5em 0;
  }
  
  .service-box {
    grid-template-columns: repeat(3, 160px);
    grid-column-gap: 180px;
    grid-row-gap: 80px;
  }

  .service-image {
    height: 160px;
  }

  .service-boxes:nth-child(6) .service-image {
    height: 160px;
  }
  
}

@media screen and (max-width: 1080px) {
  .banner {
    padding: 0 3em;
  }

  .banner-offered {
    padding: 1em 0;
  }
  
  .box-offer {
    padding: 0 3em;
  }

  .box-info {
    margin-left: 0;
  }
  
  .info-container > .form-contact p {
    color: #ffb03b;
    font-weight: 400;
  }
  
  .service-container {
    padding: 3.5em 0;
  }
  
  .service-box {
    grid-row-gap: 65px;
  }
  
  .contact-banner .big {
	line-height: 1.2em;
  }
  
  .banner-button:hover::before {
    bottom: 100% !important;
  }

  .banner-button:hover {
    color: #468966 !important;
  }
}

@media screen and (max-width: 980px) {
  .banner {
    margin-top: 40px;
    padding: 1em 1em 0 1em;
    justify-content: space-around;
  }

  .banner-offered {
    padding: 0.75em 0;
  }

  .banner-image {
    padding: 4em 0 0 0;
  }

  .banner-box h1 {
    font-size: 1.3em;
  }

  .banner-box h2 {
    font-size: 1.5em;
  }

  .banner-box:nth-child(2) {
    font-size: 2em;
  }

  .banner-button {
    font-size: 0.9em;
    padding: 0.6em 1.5em;
  }

  .box-offer {
    justify-content: space-between;
    padding: 0 2em;
  }

  .box-info {
    width: 75%;
    margin-left: 0;
  }

  .box-info p {
    font-size: 0.95em;
    line-height: 1.65;
  }
  
  .back_btn {
    top: 15px;
    right: 10px;
    padding: 0.3em 0.6em;
  }

  .back_btn i {
    margin-left: 0.1em;
  }

  .back_btn .back_text {
    display: none;
  }
  
  .service-container {
    padding: 3em 0;
  }

  .service-box {
    grid-template-columns: repeat(2, 180px);
    grid-column-gap: 180px;
    grid-row-gap: 55px;
  }

  .service-boxes p {
    font-size: 1.1em;
  }

  .service-image {
    height: 180px;
  }

  .service-boxes:nth-child(6) .service-image {
    height: 180px;
  }
  
  .contact-banner .big {
	text-align: center;
  }
  
  .phone-number {
	text-align: left;
  }
  
  .cta {
	font-size: 2em;
  }

}

@media screen and (max-width: 736px) {
  .banner {
    justify-content: center;
    padding: 2em;
  }

  .banner-box h1 {
    font-size: 5.5vw;
  }

  .banner-box h2 {
    font-size: 6.5vw;
  }

  .banner-image {
    display: none;
  }

  .banner-box:nth-child(2) {
    font-size: 7.5vw;
    padding: 0.5em 0.8em 0.45em 0.8em;
  }
  
  .banner-button {
    font-size: 1.2em;
  }

  .banner-boxes1 {
    font-size: 1em;
  }

  .banner-boxes2 {
    font-size: 1em;
  }

  .box-offer {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 0;
  }

  .box-info {
    box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.1);
    -moz-box-box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.1);
    order: 2;
    width: 90%;
    padding: 1em 0.5em 2em 0.5em;
    margin-left: 0;
  }

  .box-info h2 {
    font-size: 1.5em;
  }

  .box-image {
    order: 1;
    align-self: center;
    margin-left: 0;
    margin: 1.2em 0 0 0;
  }

  .box-image .offer-image {
    width: 100%;
    height: 100%;
  }

  .box-image .offer-image2 {
    width: 105px;
    height: 210px;
  }
  
  .service-container {
    padding: 3em 0;
  }
  
  .service-box {
    grid-template-columns: repeat(2, 110px);
    grid-column-gap: 85px;
    grid-row-gap: 55px;
  }

  .service-boxes p {
    font-size: 0.8em;
  }

  .service-image {
    height: 110px;
  }

  .service-boxes:nth-child(6) .service-image {
    height: 110px;
  }
  
  .contact-banner .big {
    font-size: 2em;
  }

  .contact-content{
	flex-direction: column;
  }
  
  .contact-banner .text {
	margin-left: 0;
  }

}

@media screen and (max-width: 480px) {
  
  .banner-button {
    font-size: 1em;
  }
}

@media screen and (max-width: 338px) {
  
  .service-container {
    padding: 2em 0;
  }
  
  .service-box {
    grid-template-columns: repeat(2, 80px);
    grid-column-gap: 80px;
    grid-row-gap: 35px;
  }

  .service-boxes p {
    font-size: 0.7em;
    line-height: 1.5;
  }

  .service-image {
    height: 80px;
  }

  .service-boxes:nth-child(6) .service-image {
    height: 80px;
  }
}
