/*
Theme Name: iApteka

*/

:root {
  --color-red: #dc3545;
}

body {
  font-family: "Asap";
  color: #2f2f2f;
  font-size: 1.25rem;
}

@media (max-width: 991.98px) {
  body {
    font-size: 14px;
  }
}

.main-page {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
}

.main-page > section {
  min-height: 100vh;
  background: rgba(0, 31, 62, 0.83);
  padding-block: 3rem;
}

.alert {
  font-family: "Bebas Neue", serif;
  color: var(--color-red);
  font-size: 33px;
  text-align: center;
}
@media (max-width: 991.98px) {
  .alert {
    font-size: 25px;
  }
}

.upper {
  font-size: 25px;
}
@media (max-width: 991.98px) {
  .upper {
    font-size: 18px;
  }
}
.upper a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: bold;
}

.realizacja {
  font-size: 39px;
  font-weight: bold;
}
@media (max-width: 991.98px) {
  .realizacja {
    font-size: 18px;
  }
}

#logo-apteka img {
  max-height: 70px;
}

#apteki {
  display: flex;
  justify-content: space-between;
}
#apteki > div {
  width: 45%;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 991.98px) {
  #apteki > div {
    width: 50%;
  }
}
@media (max-width: 991.98px) {
  #apteki > div {
    width: 100%;
  }
}
#apteki > div#apteka-lewa,
#apteki > div#apteka-prawa {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas: "logo adres" ". koncesja";
}
#apteki > div#apteka-prawa {
  grid-template-columns: 2fr 1fr;
  grid-template-areas: "adres logo" "koncesja .";
}
@media (max-width: 991.98px) {
  #apteki > div#apteka-lewa,
  #apteki > div#apteka-prawa {
    grid-template-columns: 1fr 3fr;
    grid-template-areas: "adres adres adres adres" "logo koncesja koncesja koncesja";
  }
  #apteki > div#apteka-lewa {
    padding-bottom: 2rem;
  }
  #apteki > div#apteka-prawa {
    padding-top: 2rem;
    border-top: solid 2px rgba(255, 255, 255, 0.5);
  }
}
#apteki > div .logo {
  grid-area: logo;
}
#apteki > div .adres {
  grid-area: adres;
}
#apteki > div .koncesja {
  grid-area: koncesja;
  text-align: center;
}
@media (max-width: 991.98px) {
  #apteki > div .koncesja {
    align-self: center;
  }
}
@media (max-width: 991.98px) {
  #apteki {
    flex-direction: column;
  }
}

.btn {
  border-radius: 50px;
  padding-inline: 2rem;
  font-size: 1rem;
  font-weight: bold;
}

.btn-blue {
  background-color: #065db4;
  color: white;
}
.btn-blue:hover {
  background-color: #003f7d;
}

p a {
  text-decoration: none;
  color: white;
}

.kontakt #logo-apteka img {
  max-height: 60px;
}

.kontakt__kontener {
  display: flex;
  max-width: 1470px;
  padding: 0 24px;
  margin: 40px auto 100px;
  justify-content: space-between;
  gap: 24px;

  @media (max-width: 991.98px) {
    flex-direction: column;
  }
}

.kontakt__lewa {
  display: flex;
  flex-direction: column;
  width: 600px;

  @media (max-width: 991.98px) {
    width: 100%;
  }
}

.kontakt__dodatkowe {
  display: flex;
  flex-direction: column;
}
.kontakt__dodatkowe--desktop {
  @media (max-width: 991.98px) {
    display: none;
  }
}
.kontakt__dodatkowe--mobile {
  display: none;
  @media (max-width: 991.98px) {
    display: flex;
  }
}

.kontakt__prawa {
  width: 600px;

  @media (max-width: 991.98px) {
    width: 100%;
  }
}

.kontakt__prawa h2 {
  color: #dc3545;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 28px;
}

.kontakt__lewa h1 {
  color: #dc3545;
  font-family: Bebas Neue;
  font-weight: 400;
  font-size: 48px;
  line-height: 100%;
  margin-bottom: 26px;
}

.kontakt__p1 {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  max-width: 400px;
}
.kontakt__p2 {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  margin-top: 12px;
}
.kontakt__p2 strong {
  color: #dc3545;
  font-weight: 600;
}

.kontakt__tel-btn {
  color: #dc3545;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  display: inline-block;
  text-decoration: none;
}
.kontakt__tel-btn span {
  margin-left: 8px;
  display: inline-block;
}
.kontakt__tel-btn:hover span {
  text-decoration: underline solid;
}

.kontakt__bg-img {
  opacity: 0.06;
  width: 100%;
  max-width: 600px;
}

.kontakt__polityka-btn {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-decoration: underline;
  margin-bottom: 24px;
  margin-top: 140px;
  color: black;
  @media (max-width: 991.98px) {
    margin-top: 64px;
  }
}

.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7-form > p {
  padding-bottom: 0;
  margin-bottom: 0;
}


input:not([type="submit"]):not([type="checkbox"]),
textarea {
  border: 1px solid #dadada;
  width: 100%;
  outline: none;
  padding: 15px 15px;
  margin-top: 15px;
  font-weight: 400;
  font-size: 16px;
}
textarea{
	height:110px;
}

.wpcf7-form label {
  font-weight: 400;
  font-size: 16px;
  display: inline-block;
  width: 100%;
}

.wpcf7-checkbox .wpcf7-list-item.first {
  margin-left: 0;
	margin-bottom:8px;
}

input:not([type="submit"]):not([type="checkbox"]):active,
textarea:active,
input:not([type="submit"]):not([type="checkbox"]):focus,
textarea:focus {
  border: 1px solid #6b6b6b;
}

input[type="submit"] {
  width: 140px;
  border-radius: 200px;
  padding: 8px;
  background-color: #dc3545;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

input[type="submit"]:hover {
  background-color: #ac3a3f;
}
.kontakt__wyslij {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.wpcf7-checkbox label {
  cursor: pointer;
}

.kontakt__zgoda-lista {
  padding-left: 40px;
  margin-top: -10px;
  font-size: 16px;
  margin-bottom: 10px;
}
.kontakt__zgoda-lista p {
  margin-bottom: 0;
}

input:not([type="submit"]):not([type="checkbox"]).wpcf7-not-valid,
textarea.wpcf7-not-valid {
  color: #dc3545;
  border-color: #dc3545;
  background-color: #ffe6e9;
}

.wpcf7-checkbox.wpcf7-not-valid + .wpcf7-not-valid-tip {
  display: none;
}
.wpcf7-checkbox.wpcf7-not-valid {
  color: #dc3545;
}

.wpcf7-not-valid-tip {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 14px !important;
  transform: translateY(calc(100% + 5px));
  line-height: 1;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #dc3545;
  color: #dc3545;
  font-size: 16px;
}

.kontakt__tekst-pod {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin-top: 24px;
}

.apteki-pod-tekst{
	text-align:center;
	margin-top:32px;
  font-size: 14px;
}
