:root {
  --color-primary: #CD1F30;
}


.button--primary {
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}
.button--primary:hover {
  color: #fff !important;
}


.button {
  position: relative;
  z-index: 10;
  background: none;
}
.button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #595959;
  transform-origin: left;
  transform: scaleX(0);
  transition: .3s;
  z-index: -1;
}
.button:hover {
  background: none;
  border-color: #595959;
}
.button:hover::before {
  transform: scaleX(1);
}

.button--primary::before {
  background-color: var(--color-primary);
}


.examination-cta .color-primary {
  color: #CD1F30;
}

.examination-cta {
  width: 1171px;
  max-width: 100%;
  margin: 65px auto;
  background: #FFFFFF;
  box-shadow: 5px 5px 60px #00000029;
  padding: 40px 65px 25px;
}

.examination-cta__title {
  margin: 0;
  text-align: center;
  color: #CD1F30;
  font-size: 40px;
  font-weight: bold;
}

.examination-cta__subtitle {
  text-align: center;
  text-transform: uppercase;
  font-weight: lighter;
  font-size: 25px;
  margin: 0 0 25px;
  color: #595959;
}

.examination-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
}

.examination-cta__grid p {
  margin: 15px 0 25px;
}

.examination-cta__right {
  text-align: center;
}

.examination-cta__right .button--primary {
  margin: 5px auto 0;
  color: #CD1F30;
  border-color: #CD1F30;
  border-width: 2px;
  font-weight: bold;
}
.examination-cta__right .button--primary:hover {
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .examination-cta {
    margin: 45px auto;
    background: #FFFFFF;
    padding: 45px 20px 15px;
  }

  .examination-cta__title {
    font-size: 28px;
  }

  .examination-cta__subtitle {
    font-size: 22px;
    margin-top: 15px;
  }

  .examination-cta__grid {
    display: block;
    text-align: center;
  }
  .examination-cta__grid p {
    font-size: 16px;
  }
}







/* LP */
.textbox-foto {
  margin-top: -10px;
  display: grid;
  grid-template-columns: 9fr 10fr;
  align-items: center;
}
.textbox-foto__left {
  margin: 30px 0;
  position: relative;
  padding: 40px 52px;
  background: #FFFFFF;
  box-shadow: 5px 5px 60px #00000029;
}
.textbox-foto__left h4 {
  text-transform: uppercase;
  font-weight: 300;
  margin: 0;
  font-size: 30px;
}
.textbox-foto__left h3 {
  margin: 0 0 25px;
  font-size: 50px;
  letter-spacing: 0px;
  color: var(--color-primary )
}
.textbox-foto__left p {
  margin-bottom: 15px;
}
.textbox-foto__left p strong {
  font-size: 16px;
  line-height: 24px;
  /* display: block; */
}
.textbox-foto__left p {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0px;
}
.textbox-foto__image {
  margin-left: -80px;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 1000px) {
  .textbox-foto {
    margin-top: 45px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }
  .textbox-foto__image {
    margin-left: 0;
    height: 250px;
  }
  .textbox-foto__left {
    margin: 0;
    padding: 40px 20px;
  }
  .textbox-foto__left h4 {
    font-size: 18px;
  }
  .textbox-foto__left h3 {
    font-size: 42px;
  }
}

.examination-to-map {
  margin: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.examination-to-map__left p {
  font-size: 25px;
  line-height: 32px;
}
.examination-to-map__left p strong {
  color: #CD1F30;
  font-weight: bold;
}
.examination-to-map .button {
  font-size: 25px;
  font-weight: 700;
  height: 56px;
  padding: 0 35px;
  text-align: center;
}
@media only screen and (max-width: 1300px) {
  .examination-to-map .button {
    padding: 0 2em;
    height: 40px;
    font-size: 1.06rem;
  }
}
@media only screen and (max-width: 1000px) {
  .examination-to-map {
    padding-left: 20px;
    padding-right: 20px;
    display: block;
    text-align: center;
  }
  .examination-to-map__left p {
    font-size: 18px;
    line-height: 1.5;
  }
  .examination-to-map .button {
    margin: 25px auto 0;
  }
}



.before-map {
  text-align: center;
}
.before-map::after {
  content: '';
  display: block;
  margin: 15px auto;
  width: 238px;
  height: 6px;
  background: var(--color-primary);
}
.before-map h2 {
  text-align: center;
  margin: 0;
  color: #595959;
  font-weight: 700;
  font-size: 38px;
}
.before-map h2 strong {
  text-align: center;
  color: #CD1F30;
}
.before-map h3 {
  color: #595959;
  margin: 10px 0;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 25px;
}
@media only screen and (max-width: 1000px) {
  .before-map {
    padding-left: 20px;
    padding-right: 20px;
  }
  .before-map h2 {
    font-size: 24px;
  }
  .before-map h3 {
    font-size: 18px;
  }
  .before-map::after {
    width: 140px;
    height: 3px;
    background: var(--color-primary);
  }
}








.map {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 320px auto;
  grid-gap: 76px;
}
.map__aside {
  padding-right: 15px;
  border-right: 2px solid #E2E2E3;
}

.map-location {
  margin: 5px 0;
  padding-left: 45px;
  position: relative;
}
.map-location__toggle {
  cursor: pointer;
  position: relative;
}
.map-location__toggle::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 32px;
  border: 3px solid #CD1F30;
  padding: 0;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}
.map-location__toggle:hover::before {
  opacity: .7;
}
.map-location__toggle::after {
  content: '';
  position: absolute;
  left: -34px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 16px;
  background: var(--color-primary);
  opacity: 0;
  transition: .3s;
}
.map-location.active .map-location__toggle::after {
  opacity: 1;
}

.map-location h3 {
  margin: 0;
  font-size: 18px;
}

.map-location__cta {
  padding-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: .5s;
}
.map-location__cta p {
  margin: 10px 0;
}
.map-location__cta .badania-okulistyczne, .map-location__cta .badania-optometryczne {
  font-size: 14px;
}
.map-location__cta small {
  font-size: 12px;
  color: #595959;
}
.map-location__cta .button {
  margin-bottom: 5px;
  height: 28px !important;
  border-color: var(--colo-primary);
  color: var(--colo-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.map-location.active .map-location__cta {
  max-height: 600px;
}

.map-location.active {
}

.map__right {
  padding-top: 80px;
}

.map__right img {
}

.map-wrapper {
  position: relative;
}

.map-pin {
  position: absolute;
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 32px;
  border: 3px solid #CD1F30;
  background: #fff;
  cursor: pointer;
  transition: .3s;
}
.map-pin__text {
  position: absolute;
  bottom: 30px;
  width: 160px;
  left: calc(50% - 80px);
  text-align: center;
  font-weight: bold;
  transition: .3s;
  opacity: 0;
  pointer-events: none;
}
.map-pin.active {
  background: var(--color-primary);
}
.map-pin:hover {
  background: var(--color-primary);
}
.map-pin:hover .map-pin__text {
  opacity: 1;
  z-index: 10;
}
.static-info {
  font-size: 14px;
}
@media only screen and (max-width: 1000px) {
  .map {
    padding-left: 20px;
    padding-right: 20px;
  }
  .map {
    display: block;
  }
  .map__aside {
    padding-right: 0;
    border-right: none;
  }
  .map__right {
    display: none;
  }
  .map-location p {
    font-size: 16px;
  }
  .map-location__cta .badania-okulistyczne, .map-location__cta .badania-optometryczne {
    font-size: 16px;
  }
  .map-location__cta small {
    font-size: 14px;
  }

  .static-info {
    font-size: 16px;
  }
}








.after-map {
  margin: 120px 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 76px;
  align-items: center;
}
.after-map::before {
  position: absolute;
  content: '';
  width: 60%;
  right: 0;
  top: -50px;
  height: calc(100% + 100px);
  background: #F3F3F3;
  z-index: -1;
}
.after-map__left {
  background: #FFFFFF;
  box-shadow: 5px 5px 60px #00000029;
}
.after-map__left__inner {
  padding: 40px 60px;
}
.after-map__left iframe {
  display: block;
}
.after-map__left__inner h4 {
  text-transform: uppercase;
  font-weight: 300;
  margin: 0 0 5px;
}
.after-map__left__inner h3 {
  margin: 0;
  color: #595959;
  font-size: 55px;
  line-height: 55px;
  letter-spacing: -1.5px;
  font-weight: 700;
}
.after-map__left__inner h3 strong {
  color: #CD1F30;
}
.after-map__right {
  padding-right: 80px;
}
.after-map__right p {
  margin: 20px 0;
}
@media only screen and (max-width: 1000px) {
  .after-map {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
  }
  .after-map__left__inner {
    padding: 40px 30px;
  }
  .after-map__right {
    padding-right: 0;
  }
  .after-map iframe {
    max-width: 100%;
  }
  .after-map__left__inner h4 {
    font-size: 18px;
  }
  .after-map__left__inner h3 {
    font-size: 42px;
  }
  .after-map::before {
    width: 100%;
    height: calc(100% + 100px);
  }
}









/* ---------------------------------------------------- Zbadaj Wzrok */
body.page-template-template-examination {
	
}
@media screen and (max-width: 1280px) {
	.examination-to-map .button {
		padding: 2em;
	}
	.after-map__right {
		padding-right: 40px;
	}
	.textbox-foto__left h3 {
		line-height: 42px;
	}
}
@media screen and (max-width: 1000px) {
	body.page-template main.main, body.page-template-template-examination main.main {
		padding-top: 0;
	}
	body.page-template-template-examination .textbox-foto {
		margin-top: 0;
	}
	body.page-template-template-examination .textbox-foto__image {
		width: 100%;
	}
	body.page-template-template-examination .after-map__left iframe {
		width: 100%;
	}
	body.page-template-template-examination .textbox-foto > div {
		width: 100%;
		padding: 0 3%;
	}
	body.page-template-template-examination .textbox-foto__left h4 {
		text-align: center;
	}
}
@media screen and (max-width: 800px) {
	
}
@media screen and (max-width: 540px) {
	
}