:root {
  --orange: #e58302;
  --blue-mid: #77b6e1;
  --navy: #003d59;
  --cream: #fff8eb;
  --navy-light: #eff7ff;
  --grey-light: #eeede9;
  --grey: #d6d3cb;
  --cards-sand: #ffeccc;
}

html,
body {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px;
  font-family: "Proxima Nova", sans-serif;
  font-weight: 400;
  border: none !important;
}

.bit-boxed {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.bit-padded {
  padding-left: 50px;
  padding-right: 50px;
}

.bit-boxed-narrow {
  max-width: 580px;
}

.bit-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.bl-header {
  --bl-header-pad-top: 72px;
  --bl-header-pad-bottom: 80px;
  --bl-photo-inset: 10px;
  --bl-photo-overlap: 20px;
  background: url("../img/back.svg") no-repeat center top;
  background-size: cover;
  overflow: visible;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .bit-padded {
    padding-left: 35px;
    padding-right: 35px;
  }
}
@media (max-width: 679px) {
  .bit-padded {
    padding-left: 15px;
    padding-right: 15px;
  }
}

html,
body.page-template-template-bookinglanding {
  font-size: 16px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  line-height: 1.1;
  color: var(--navy);
  margin-top: 0;
}

strong {
  font-weight: 700;
}

@media (max-width: 679px) {
  h2 {
    font-size: 1.35rem;
  }
}

header {
  padding: 72px 0 80px;
  background-color: var(--cream);
  background-size: cover;
}
header .header-text {
  max-width: 560px;
}

.bl-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.bl-header .header-text {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.bl-header .header-photo {
  flex: 1 1 auto;
  align-self: stretch;
  max-width: none;
  min-width: 430px;
  position: relative;
  z-index: 2;
}

.bl-header .header-photo img {
  position: absolute;
  left: 50%;
  top: calc(
    50% +
      (
        var(--bl-header-pad-bottom) + var(--bl-photo-overlap) -
          var(--bl-header-pad-top) + var(--bl-photo-inset)
      ) /
      2
  );
  transform: translate(-50%, -50%);
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(
    100% + var(--bl-header-pad-top) - var(--bl-photo-inset) +
      var(--bl-header-pad-bottom) + var(--bl-photo-overlap)
  );
}

header h1 {
  margin: 0 0 1.1rem;
  font-weight: 400;
  font-size: 3.25rem;
  line-height: 1.12;
  color: var(--navy);
}
header h1 strong {
  font-weight: 700;
}
p {
  line-height: 1.4em;
}
header .header-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 400;
  font-family: Georgia, serif;
}
header .header-points li {
  margin: 0;
}
header .header-cta .btn {
  margin-top: 0;
  text-transform: none;
}

@media (max-width: 960px) {
  header {
    padding: 48px 0 56px;
  }
  header h1 {
    font-size: 2.5rem;
  }
  header .header-points {
    font-size: 1.1rem;
  }
  .bl-header {
    background-image: url("../img/back-clear.svg");
  }
  .bl-header .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .bl-header .header-text {
    max-width: none;
  }
  .bl-header .header-photo {
    max-width: 420px;
    min-width: 0;
    margin: 0 auto;
    z-index: auto;
    align-self: auto;
  }
  .bl-header .header-photo img {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 679px) {
  header {
    padding: 36px 0 44px;
  }
  header h1 {
    font-size: 2rem;
    max-width: none;
  }
  header .header-points {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  header .header-cta .btn {
    padding: 0.75em 1.8em;
  }
  .bl-header .header-inner {
    gap: 28px;
  }
}

.scritta_caso {
  margin-top: 1.2em;
  color: #a8a8a8;
  font-size: 13px;
}

.intro {
  padding: 60px 0 40px 0;
}
.intro .bit-boxed-narrow {
  margin-left: auto;
  margin-right: auto;
}
.intro .intro-text {
  font-size: 0.9375rem;
  line-height: 1.5333em;
  color: #5d5d5c;
  margin: 2em 0;
}
.intro .scritta_caso {
  margin-top: 18px;
}
.intro .intro-video {
  width: 80%;
  padding-bottom: 56.25%;
  position: relative;
  margin: auto;
  margin-top: 40px;
}
.intro .intro-video iframe,
.intro .intro-video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.orari {
  margin-top: 70px;
}
.orari h2 {
  margin-bottom: 0.12em;
}
.orari .orari-tab {
  margin: 1.2em 0;
  display: flex;
  text-align: center;
  justify-content: center;
}
.orari .orari-tab .orari-tab-row {
  margin-bottom: 0.35em;
  position: relative;
}
.orari .orari-tab .orari-tab-row strong {
  display: inline-block;
  width: 150px;
  font-size: 20px;
  position: relative;
  z-index: 20;
  color: var(--navy);
}

@media (max-width: 679px) {
  .orari .orari-tab {
    display: block;
  }

  .orari .orari-tab .orari-tab-row {
    margin-bottom: 1.2em;
  }

  .orari .orari-tab .orari-tab-row strong {
    flex-basis: 55%;
    box-sizing: border-box;
    padding-right: 7px;
    flex-shrink: 0;
  }
  .intro .intro-video {
    width: 100%;
    margin-top: 0px;
  }
}

.intro-certifications {
  margin-top: 70px;
  display: none;
}
.intro-certifications h2 {
  font-size: 1.375rem;
}
.intro-certifications .intro-cert {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.4em;
  padding-top: 1.4em;
  border-top: solid 1px #bbb;
}
.intro-certifications .intro-cert img {
  width: 91px;
  height: auto;
  margin-right: 2em;
}
.intro-certifications .intro-cert div {
  line-height: 1.5333em;
}
.intro-certifications .intro-cert div p {
  margin: 0;
}
.intro-certifications h2 + .intro-cert {
  border-top: none;
}

.btn {
  background-color: var(--orange);
  border: solid 2px var(--orange);
  color: white;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 1.4em;
  padding: 0.5em 2em;
  text-decoration: none;
  font-weight: 800;
  border-radius: 30px;
}
.btn:hover {
  background-color: white;
  color: var(--orange);
}

.banner {
  background-color: var(--navy);
  padding-top: 130px;
  padding-bottom: 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  pointer-events: none;
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  top: 0;
  background-image: url("../img/landing/donbosco.png");
  background-repeat: no-repeat;
  background-position: left;
}
.banner .banner-link .btn {
  border-color: white;
  padding: 0.4em 2.5em;
}
.banner .big {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.5rem;
  line-height: 1.2em;
  font-weight: 700;
  color: white;
}
.banner .small {
  font-family: "Open Sans";
  color: white;
  font-size: 0.9375rem;
  margin-top: 2em;
}
.banner .btn {
  margin-top: 50px;
}
@media (max-width: 960px) {
  .banner::before {
    display: none;
  }
}
@media (max-width: 679px) {
  .banner {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .banner .big {
    font-size: 1.4rem;
  }
}

.blurrer {
  padding-top: calc(
    var(--openday-menu-height, 88px) + var(--openday-admin-bar, 0px)
  );
}

.background-blue {
  background-color: var(--navy) !important;
}

.screen-big {
  display: block;
}

.screen-small {
  display: none;
}

@media (max-width: 679px) {
  .screen-big {
    display: none !important;
  }

  .screen-small {
    display: block;
  }
}

.days-block {
  width: 180px;
  background-color: #003375;
  color: white;
  height: 180px;
  padding: 30px 5px 10px;
  border-radius: 130px;
}

.days-block .al-day {
  font-weight: 700;
  font-size: 4rem;
  line-height: 3.5rem;
}

.days-block .al-month {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2rem;
  margin-bottom: 10px;
}

@media (max-width: 679px) {
  .days-block {
    width: 135px;
    margin-bottom: 20px;
  }
}
