/* Fomularz kontaktu */
.form-container {
  position: relative;
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  font-family: "Fira Sans", sans-serif;
  padding: 0 8em 1.5em 8em;
  height: auto;
  background: url("../images/bg-form.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 100%;
  z-index: 20;
}

.remove-form-container {
  display: none;
}

.form-contact {
  width: 35em;
  height: auto;
}

.form-contact > p {
  padding: 0.5em 0.4em;
  text-align: center;
  font-size: 1.45em;
  width: 14em;
  color: #ffb03b;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #fff;
}

.wpcf7 {
  width: 100%;
  height: auto;
}

.wpcf7 label {
  display: block;
  font-size: 0.8em;
  color: #468966;
  margin: 2.5em 0;
}

.wpcf7-form p:nth-child(6) label {
  margin: 0;
  padding: 0;
}

.wpcf7-form p:nth-child(6) label .wpcf7-form-control-wrap .zalacznik {
  min-width: 300px;
}

.wpcf7-not-valid-tip {
  line-height: 0;
  margin-top: 1em;
}

.wpcf7 .wpcf7-validation-errors {
  font-size: 0.8em;
  line-height: 1em;
  margin: 0.8em 0 0 0;
  padding: 0;
}

.wpcf7 label br {
  display: none;
}

.wpcf7-textarea {
  width: 100%;
  height: 160px;
  border: none;
  resize: none;
  font-family: "Fira Sans", sans-serif;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
  -webkit-appearance: none;
  display: block;
  width: 25em;
  line-height: 2.5em;
  font-family: "Fira Sans", sans-serif;
}

.wpcf7 input[type="submit"] {
  padding: 0.2em 2em;
  text-transform: uppercase;
  margin-top: 0.8em;
  text-align: center;
  font-size: 1.05em;
  outline: none;
  border: none;
  cursor: pointer;
  font-family: "Fira Sans", sans-serif;
  background-color: #fff;
  border-radius: 18px;
  color: #468966;
  font-weight: 600;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.wpcf7 input[type="submit"]:hover {
  border-left: 5px solid #ffb03b;
  opacity: 0.8;
}

.wpcf7-textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
  border: none;
  font-size: 1.3em;
  padding: 0.4em 1em;
  padding-left: 35px;
}

.wpcf7-textarea::placeholder,
.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder {
  color: #ffb03b;
  font-size: 1em;
  opacity: 1;
}

.wpcf7-textarea:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus {
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(70, 137, 102, 0.8);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(70, 137, 102, 0.8);
  box-shadow: inset 0px 0px 5px 0px rgba(70, 137, 102, 0.8);
}

.wpcf7-textarea:focus::placeholder,
.wpcf7 input[type="text"]:focus::placeholder,
.wpcf7 input[type="email"]:focus::placeholder {
  color: #fff;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-weight: 400;
  color: #ff3333;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ok {
  border: none;
  font-weight: 400;
  color: #ff3300;
}

.wpcf7 form .wpcf7-response-output {
  border: none !important;
  font-weight: 400;
  color: #37af37 !important;
  padding: 0 !important;
  margin: 2em 0 1em !important;
  font-size: 18px;
  line-height: 2;
}

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

  .form-contact {
    width: 30em;
    height: auto;
  }

  .form-contact > p {
    padding: 0.4em 0.4em;
    font-size: 1.3em;
    width: 13em;
  }

  .info-container > .form-contact p {
    color: #ffb03b;
    font-weight: 400;
  }

  .wpcf7 {
    width: 100%;
    height: auto;
  }

  .wpcf7 label {
    font-size: 0.7em;
  }

  .wpcf7 input[type="submit"] {
    padding: 0.1em 1.8em;
    font-size: 1em;
  }

  .wpcf7-textarea,
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"] {
    border: none;
    font-size: 1.2em;
    padding: 0.4em 1.6em;
  }

  .wpcf7-textarea::placeholder,
  .wpcf7 input[type="text"]::placeholder,
  .wpcf7 input[type="email"]::placeholder {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 980px) {
  .form-container {
    padding: 0 1.6em 1.5em 1.6em;
  }

  .form-contact > p {
    padding: 0.3em 0.4em;
    font-size: 1.1em;
    width: 13em;
  }

  .wpcf7 label {
    font-size: 0.65em;
  }

  .wpcf7 input[type="submit"] {
    padding: 0.1em 1.5em;
    font-size: 0.95em;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"] {
    width: 24em;
  }
  
  .wpcf7 form .wpcf7-response-output {
    font-size: 16px;
  }
  
  .form-page-contact .wpcf7-response-output{
	visibility: visible !important;
  }
}

@media screen and (max-width: 736px) {
  .form-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 1em 1.5em 1em;
    background: url("../images/bg-form-mobile.jpg");
    height: auto;
  }

  .form-contact {
    width: 100%;
    height: auto;
  }

  .form-contact > p {
    padding: 0.5em 0.6em;
    font-size: 1.2em;
    width: 13em;
  }

  .wpcf7 {
    width: 100%;
    height: auto;
  }

  .wpcf7 label {
    font-size: 0.7em;
  }

  .wpcf7-textarea {
    width: 100%;
    height: 140px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"] {
    width: 85%;
    line-height: 2.5;
  }

  .wpcf7 input[type="submit"] {
    padding: 0.2em 1.8em;
    font-size: 0.9em;
  }

  .wpcf7-textarea,
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"] {
    font-size: 1.2em;
    padding-left: 20px;
  }
}


@media screen and (max-width: 338px) {
  .form-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 1em 1.5em 1em;
    height: auto;
  }

  .form-contact {
    width: 100%;
    height: auto;
  }

  .form-contact > p {
    padding: 0.4em 0.6em;
    font-size: 2vh;
    width: 14em;
  }

  .wpcf7 {
    width: 100%;
    height: auto;
  }

  .wpcf7 label {
    font-size: 0.6em;
  }

  .wpcf7-textarea {
    width: 100%;
    height: 140px;
  }

  .wpcf7-validation-errors {
    margin: 0;
    padding: 0;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"] {
    width: 20em;
    line-height: 2.5;
  }

  .wpcf7 input[type="submit"] {
    padding: 0.1em 1.3em;
    font-size: 0.8em;
  }

  .wpcf7-textarea,
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"] {
    font-size: 1.1em;
    padding-left: 20px;
  }

}


/* Loklalizacja firmy */

.get-location {
  position: relative;
  width: 20em;
  height: auto;
  margin-left: 8em;
}

/* Chmurka */

.cloud {
  position: absolute;
  width: 140px;
  height: 130px;
  background-color: #fff;
  color: #000;
  border: 2px solid #468966;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 0 5px #fff;
  bottom: 4em;
  left: 2.5em;
}

.cloud-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #ffb03b;
  font-weight: bold;
  font-size: 1.1em;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/* Ikonka lokalizacji */

.icon-location {
  position: relative;
  font-size: 2.5em;
  color: #ffb03b;
  cursor: pointer;
}

.icon-location:hover + .box-location {
  opacity: 1;
}

/* Informacja firmy */

.box-location {
  opacity: 0;
  position: absolute;
  top: 30px;
  left: 55px;
  width: 20em;
  height: auto;
  background-color: #ffb03b;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.box-location:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #ffb03b;
}

.location-info {
  padding: 0.6em 1em;
  height: auto;
}

.location-info p {
  font-size: 1.075em;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}

.location-info p:nth-child(1) {
  font-size: 1.15em;
  font-weight: bold;
}

.box-location img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
}

/* Partnership */
.CompanySlider {
  font-family: "Fira Sans", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding: 4rem 2rem;
  background-color: #fff;
  margin: 0 20em;
}

.CompanySlider__leftBox {
  flex: 1 1 40%;
  max-width: 500px;
  background-color: #ecf3ef;
  padding: 2em 1.5em;
  border-radius: 2em;
}

.CompanySlider__title p {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #ff9800;
}

.CompanySlider__description p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #555454;
}

.ProductsSlider__button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #468966;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  color: #fff;
  border-radius: 18px;
}

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

.CompanySlider__rightBox {
  flex: 1 1 55%;
  display: flex;
  
  position: relative;
  overflow: hidden;
}

.swiper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slider-item {
  display: flex;
  justify-content: center;
  align-items: center;     
  height: 100%;             
  min-height: 200px;       
  overflow: hidden;
}

.slider-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;     
}

.prev-swiper,
.next-swiper {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.prev-swiper::after,
.next-swiper::after {
  content: '';
  display: inline-block;
  border: solid #ff9800;
  border-width: 0 3px 3px 0;
  padding: 8px;
  transform: rotate(135deg);
  margin: 12px;
}

.next-swiper::after {
  transform: rotate(-45deg);
}

.prev-swiper {
  left: -5px;
}

.next-swiper {
  right: -5px;
}

@media screen and (max-width: 1680px) {
  .CompanySlider {
	margin: 0 13em;
  }
}

@media screen and (max-width: 1440px) {
  .CompanySlider {
	margin: 0 10em;
  }
}

@media screen and (max-width: 1280px) {
  .CompanySlider {
	margin: 0 3em;
  }
}

@media screen and (max-width: 1080px) {
  .CompanySlider {
	margin: 0 1em;
  }
}

@media screen and (max-width: 980px) {
  .CompanySlider {
	margin: 0;
  }
	
  .slider-item img {
	max-width: 80%;
  }
}

@media screen and (max-width: 736px) {
  .CompanySlider {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .CompanySlider__leftBox,
  .CompanySlider__rightBox {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .slider-item {
    padding: 0 0.5rem;
  }
  
  .prev-swiper {
    left: 0px;
  }

  .next-swiper {
	right: 0px;
  }
}
