/*
Theme Name: Elevated Safety Europe
Author: Foresite Group
Author URI: https://foresitegrp.com
Version: 1.0

font-family: "K2D", sans-serif;
font-family: "Lato", sans-serif;
*/

:root {
  --black: #444546;
  --darkgray: #363636;
  --gray: #939090;
  --lightgray: #D3D3D3;
  --white: #FFFFFF;
  --red: #A91E27;

  --header-height: 121px;

  --toggle-width: 32px;
  --toggle-height: 2.4px;
  --toggle-color: var(--red);

  --site-width: 1300px;
}

@import url("https://fonts.googleapis.com/css2?family=K2D:wght@400;800&family=Lato&display=swap");

.site-width {
  width: var(--site-width); margin: 0 auto;

  @media (max-width: 1330px) { & { width: 96%; } }
}

A { color: var(--red); }
A:hover { opacity: 0.7; }

BODY {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 1;
}

#header-spacer { height: var(--header-height); }

HEADER {
  display: flex; position: fixed; top: 0; left: 0; z-index: 900;
  height: var(--header-height); width: 100%; background: var(--white);
  box-shadow: 0 0 0.4375rem 0 rgb(0 0 0 / 16%);

  @media (max-width: 767px) { & { position: absolute; } }
}

HEADER .header-width {
  width: 1341px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;

  @media (max-width: 1400px) { & { width: 96%; } }
}

#header-logo {
  display: inline-block; width: 212px; aspect-ratio: 800 / 336;
  background: url(images/logo.webp) no-repeat center; background-size: contain;

  @media (max-width: 750px) { & { margin-left: 0; } }
}

#header-logo:hover { opacity: 0.7; }

#toggle-menu { display: none; }

LABEL[for="toggle-menu"] {
  position: absolute; right: 2%;
  display: none; margin: 0; padding: calc(var(--toggle-height) * 4) 0;
  width: var(--toggle-width); height: var(--toggle-height); cursor: pointer;
  background: linear-gradient(transparent, transparent calc(var(--toggle-height) * 4), var(--toggle-color) calc(var(--toggle-height) * 4), var(--toggle-color) calc(var(--toggle-height) * 5), transparent calc(var(--toggle-height) * 5), transparent ); transition: all 0.1s ease-in-out;

  @media (max-width: 767px) { & { display: inline-block; } }
}

LABEL[for="toggle-menu"]:before,
LABEL[for="toggle-menu"]:after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: var(--toggle-height); background: var(--toggle-color);
  transition: all 0.1s ease-in-out; transform-origin: 0% 0%;
}

LABEL[for="toggle-menu"]:after { top: auto; bottom: 0; }

#toggle-menu:checked + LABEL[for="toggle-menu"] { background: transparent; }

#toggle-menu:checked + LABEL[for="toggle-menu"]:before,
#toggle-menu:checked + LABEL[for="toggle-menu"]:after {
  top: 50%; left: 50%; transform: rotate(45deg) translate(-50%,-50%); width: 130%;
}

#toggle-menu:checked + LABEL[for="toggle-menu"]:after { transform: rotate(-45deg) translate(-50%,-50%); }

#toggle-menu:checked + LABEL[for="toggle-menu"] + NAV { display: flex; }

HEADER NAV {
  align-self: flex-end;

  @media (max-width: 767px) { & {
    display: none;
    justify-content: center; flex-direction: column-reverse;
    position: absolute; top: 100%; left: 0; width: 96%;
    background: var(--white); padding: 0.5rem 2%;
  } }
}

HEADER NAV UL {
  margin: 0; padding: 0; list-style-type: none; gap: 0 30px;
  display: flex; justify-content: flex-end; font-family: "K2D", sans-serif;
  font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
}

#menu-top {
  font-size: 10px;

  @media (max-width: 767px) { & { display: none; } }
}

#menu-main {
  font-size: 12px;

  @media (max-width: 767px) { & {
    justify-content: flex-start; flex-direction: column; font-size: 26px;
  } }
}

#menu-main LI UL {
  display: none; justify-content: center; flex-wrap: wrap; gap: 10px 40px;
  position: absolute; top: 100%; left: 0; width: 100%; padding: 25px 0;
  background: var(--white); box-shadow: 0 3px 4px 0 rgb(0 0 0 / 10%);

  @media (max-width: 767px) { & {
    position: static; box-shadow: none; flex-direction: column;
  } }
}

#menu-main LI:hover UL { display: flex; }

HEADER NAV UL A {
  color: var(--black); text-decoration: none; padding: 7px 0; display: inherit;
}

HEADER NAV UL A:hover { opacity: 0.7; }

#menu-main > LI > A {
  padding-bottom: 40px;

  @media (max-width: 767px) { & {
    padding: 30px 0; border-bottom: 1px solid #838181;
    display: flex; justify-content: space-between; align-items: center;
  } }
}

#menu-main > LI > A:after {
  content: ""; display: block; width: calc(100% - 3px); height: 3px;
  background: transparent;
}

#menu-main > LI:hover > A:after { background: var(--red); }

@media (max-width: 767px) {
  #menu-main > LI > A:after {
    width: 15px; height: 26.3667px;
    background: url(https://elevatedsafety.com/wp-content/themes/elevatedsafety/assets/img/es-right.png) no-repeat center; background-size: contain;
  }

  #menu-main > LI:hover > A:after {
    background: url(https://elevatedsafety.com/wp-content/themes/elevatedsafety/assets/img/es-left.png) no-repeat center; background-size: contain;
  }
}

#menu-main LI UL LI A {
  font-size: 14px; letter-spacing: 0; text-transform: none;

  @media (max-width: 767px) { & { letter-spacing: 3px; text-transform: uppercase; } }
}

#menu-main .courses UL {
  box-sizing: border-box; padding: 0 calc((100% - 1305px) / 2) 25px;

  @media (max-width: 1400px) { & { padding: 0 2% 25px; } }
}

#menu-main .courses > UL > LI {
  width: calc((100% / 4) - 30px);

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

#menu-main .courses UL LI .image {
  background-repeat: no-repeat; background-position: center; background-size: cover;
  aspect-ratio: 309 / 124; margin-bottom: 21px;

  @media (max-width: 767px) { & { display: none; } }
}

#menu-main .courses > UL > LI > A {
  font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
  pointer-events: none; padding-bottom: 13px;

  @media (max-width: 767px) { & { padding: 30px 0 13px; } }
}

#menu-main .courses UL LI UL {
  flex-direction: column; position: static; padding: 0;
  box-shadow: none;
}

#menu-main .courses UL LI UL A {
  letter-spacing: 1px;

  @media (max-width: 767px) { & { text-transform: none; } }
}

#menu-main .courses UL LI UL A:hover { opacity: 1; color: var(--red); }

#menu-main .gear UL {
  justify-content: flex-start; gap: 30px 98.75px;
  box-sizing: border-box; padding: 25px calc((100% - 1120px) / 2);

  @media (max-width: 1168px) { & { padding: 25px 2%; gap: 30px 9.4%; } }
  @media (max-width: 767px) { & { padding: 25px 0; gap: 25px 0; } }
}

#menu-main .gear UL LI {
  width: 145px;

  @media (max-width: 1168px) { & { width: 12.4143%; } }
  @media (max-width: 767px) { & { width: 100%; } }
}

#menu-main .gear UL LI.shopall {
  width: 100%; display: flex; justify-content: flex-end;

  @media (max-width: 767px) { & { justify-content: flex-start; } }
}

#menu-main .gear UL LI .image {
  position: relative; background-repeat: no-repeat; background-position: center;
  background-size: contain; aspect-ratio: 145 / 209.5; margin-bottom: 30px;

  @media (max-width: 767px) { & { display: none; } }
}

#menu-main .gear UL LI .image:after {
  content: ''; display: block; width: 100%; height: 2px; background: var(--black);
  position: absolute; bottom: -17px;
}

#menu-main .gear UL LI A {
  font-size: 16px; letter-spacing: 3px; text-transform: uppercase; padding: 0;

  @media (max-width: 950px) { & { font-size: 1.6vw; } }
  @media (max-width: 767px) { & { font-size: 14px; } }
}

#menu-main .gear UL LI.shopall A {
  padding-bottom: 0.5em; border-bottom: 2px solid var(--black);
  margin-bottom: 1em;

  @media (max-width: 767px) { & {
    padding-bottom: 0; border-bottom: 0; margin-bottom: 0;
  } }
}

#menu-main .gear UL LI.shopall A:after { content: '\00BB'; margin-left: 0.5em; }


FOOTER {
  background: var(--darkgray); color: var(--white); padding: 75px 0;
  font-family: "K2D", sans-serif; font-size: 14px; font-weight: 800;
}

FOOTER A { color: var(--white); text-decoration: none; }
FOOTER A:hover { opacity: 0.7; }

FOOTER .footer-width {
  width: 1341px; margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap;

  @media (max-width: 1400px) { & { width: 96%; } }
}

FOOTER .logos { width: 150px; }

FOOTER .logos IMG { max-width: 100%; height: auto; margin-bottom: 2rem; }

FOOTER NAV { width: 87.5%; }

FOOTER NAV UL {
  margin: 0; padding: 0; list-style-type: none; display: flex; flex-wrap: wrap;
  justify-content: flex-end; text-align: right;
}

FOOTER NAV > UL { gap: 30px 70px; }

FOOTER NAV > UL > LI > A { display: block; margin-bottom: 15px; }

FOOTER NAV UL LI.courses > A { display: none; }

FOOTER NAV UL LI UL { flex-direction: column; gap: 15px 0; }

FOOTER NAV UL LI.courses > UL { flex-direction: row; gap: 30px 70px; }

FOOTER NAV UL LI.courses > UL > LI > UL { gap: 15px 0; }

FOOTER NAV UL LI.courses > UL > LI > A, FOOTER NAV UL LI.services > A {
  color: var(--lightgray); pointer-events: none; font-size: 12px; display: block;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px;
}

FOOTER .footer-width-bottom {
  width: 1341px; margin: 0 auto; text-align: center;

  @media (max-width: 1400px) { & { width: 96%; } }
}

FOOTER .social {
  display: flex; justify-content: center; padding: 50px 0;
  border-bottom: 1px solid var(--gray); margin-bottom: 50px;
}

FOOTER .social A { margin: 0 0.4em; }

FOOTER .social IMG { width: 40px; height: auto; }

FOOTER .logo { width: 275px; height: auto; }

FOOTER .copyright {
  margin: 26px 0 10px; font-size: 12px; letter-spacing: 8px;
  text-transform: uppercase;
}




.course-intro { position: relative; margin-bottom: 50px; }

.course-intro .heading {
  width: 1200px; margin: 0 auto; padding: 27px 0 23px; color: var(--gray);
  font-family: "K2D", sans-serif; font-size: 14px; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase;

  @media (max-width: 1240px) { & { width: 96%; } }
}

.course-intro H1, H1.page-title {
  margin: 0; padding: 20px 40px 20px calc((100% - 1300px) / 2);
  max-width: calc(810px - ((100% - 1300px) / 2));
  background: var(--red); color: var(--white); font-family: "K2D", sans-serif;
  font-size: 50px; line-height: 1; letter-spacing: 4px; text-transform: uppercase;
  
  @media (min-width: 1600px) { & { max-width: 60%; } }
  @media (max-width: 1330px) { & { padding-left: 2%; max-width: calc(810px - 2%); } }
  @media (max-width: 875px) { & { max-width: calc(100% - 66px); font-size: 35px; } }
}

H1.page-title { margin: 65px 0 35px; }

.course-intro .image {
  position: absolute; top: 0; right: 0; z-index: -1; height: 100%; width: 65vw;
  background-repeat: no-repeat; background-position: center; background-size: cover;

  @media (max-width: 767px) { & {
    position: static; width: 96%; margin: 25px auto 0; aspect-ratio: 702 / 395;
  } }
}

.course-intro .image:before {
  content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, white 97%, white 100%);
}

.course-intro .image:after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 100%;
  background: linear-gradient(to right, white 0%, white 3%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 767px) {
  .course-intro .image:before, .course-intro .image:after { display: none; }
}

.course-intro .text {
  width: 50%; min-height: 480px; padding: 58px 0; box-sizing: border-box;
  line-height: 1.6;

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

.course-intro .text H3 {
  margin: 0; color: var(--red); font-family: "K2D", sans-serif; font-size: 15px;
  line-height: 1; letter-spacing: 2px; text-transform: uppercase;
}

.course-intro .text P, .course-content P { margin: 0 0 1.5em; }

.course-content { line-height: 1.6; }

.course-content H2, .course-content H3, .course-content H4 {
  margin: 0 0 1em; color: var(--red); font-family: "K2D", sans-serif;
  font-size: 36px; line-height: 1; letter-spacing: 2px; text-transform: uppercase;
}

.course-content H3 { font-size: 24px; }
.course-content H4 { font-size: 18px; margin-bottom: 0.5em; }

.course-content UL { margin: 0 0 1.5em 0.5em; padding: 0 0 0 0.5em; }

.course-content UL LI { padding-bottom: 0.5em; }

.course-content UL LI::marker { color: var(--red); }

.course-content IMG { max-width: 100%; height: auto; }

.upcoming-courses .course {
  display: flex; justify-content: space-between; align-items: center; gap: 1em;
  margin: 0 25px; padding: 20px 0; box-sizing: border-box; color: #5F6164;
  border-bottom: 1px solid #9C9A9A;
  font-family: "K2D", sans-serif; font-weight: 800; font-size: 16px; line-height: 1;

  @media (max-width: 900px) { & { flex-direction: column; align-items: flex-start; } }
  @media (max-width: 500px) { & { margin: 0; } }
}

.upcoming-courses .course .course-info SPAN { color: var(--red); font-size: 18px; }

.upcoming-courses .course .course-spaces {
  display: flex; align-items: center; white-space: nowrap; color: var(--gray);
}

.upcoming-courses .course .course-reg, #toggle {
  margin-left: 20px; border: 0; padding: 13px 50px; background: var(--red);
  color: var(--white); font-family: "K2D", sans-serif; font-weight: 800;
  font-size: 14px; line-height: 1; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s ease;
}

#toggle { display: inline-block; margin-left: 0; }

#toggle.show:before { content: "Show "; }
#toggle:before { content: "Hide "; }

.course-description { margin-top: 50px; padding: 50px 0; background: #F6F6F6; }





.single-espresso_events { background: #F5F5F5; }

.course-reg-header { position: relative; }

.course-reg-header .heading {
  width: 1200px; margin: 0 auto; padding: 27px 0 23px; color: var(--gray);
  font-family: "K2D", sans-serif; font-size: 14px; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase;

  @media (max-width: 1240px) { & { width: 96%; } }
}

.course-reg-header H1 {
  display: inline-block; margin: 0 0 35px; position: relative;
  padding: 20px 40px 20px calc(((100% - 1300px) / 2) + 150px);
  background: var(--red); color: var(--white); font-family: "K2D", sans-serif;
  font-size: 30px; line-height: 1; letter-spacing: 4px; text-transform: uppercase;
  
  @media (max-width: 1330px) { & { padding-left: calc(2% + 150px); } }
}

.course-reg-header H1.venue { margin-bottom: 70px; }

.course-reg-header H1.venue > DIV {
  position: absolute; top: calc(100% - 10px);
  left: calc(((100vw - 1300px) / 2) + 128px); padding: 10px 30px;
  background: var(--black); color: var(--red); font-size: 16px; line-height: 1;
  letter-spacing: 1px; text-transform: none;

  @media (max-width: 1330px) { & { left: calc(2% + 148px); } }
}

.course-reg-header H1.venue > DIV SPAN { color: var(--white); }

.course-reg-header .date {
  display: flex; flex-direction: column; justify-content: space-between;
  position: absolute; top: 54px; left: calc((100% - 1300px) / 2);
  height: 135px; width: 135px; padding: 18px 15px; box-sizing: border-box;
  background: var(--white); color: #5F6164; font-size: 24px; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase; text-align: center;
  box-shadow: 0px 0px 7.6px 0.4px rgba(3, 3, 3, 0.24);

  @media (max-width: 1330px) { & { left: 2%; } }
}

.course-reg-header .date .range {
  color: var(--red); font-size: 36px; line-height: 1; letter-spacing: 0;
  white-space: nowrap;
}

.course-reg-header .date .year { color: var(--gray); }

.course-reg-content {
  display: flex; justify-content: space-between; align-items: flex-start;

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

.course-reg-content .image {
  width: 440px; aspect-ratio: 440 / 400;
  background-repeat: no-repeat; background-position: center; background-size: cover;

  @media (max-width: 1270px) { & { width: 36%; } }
  @media (max-width: 850px) { & { width: 100%; margin-bottom: 2rem; } }
}

.course-reg-content .text {
  width: calc(100% - 472px); max-height: 400px; overflow-y: auto; background: var(--white); box-shadow: 0 0 7.6px 0.4px rgba(3, 3, 3, 0.24);
  font-size: 15px; line-height: 1.6;

  @media (max-width: 1270px) { & { width: 61%; } }
  @media (max-width: 850px) { & { width: 100%; } }
}

.course-reg-content .text P { margin: 0 0 1em; }

.course-reg-content .text .description-tabs {
  display: flex; position: sticky; top: 0; background: #f8f8f8;
}

.course-reg-content .text .description-tabs .tab {
  padding: 15px 20px; background: #f8f8f8; color: var(--gray);
  font-family: "K2D", sans-serif; font-weight: 800; font-size: 14px; line-height: 1;
  text-transform: uppercase; cursor: pointer;
  box-shadow: inset 0 -2px 6px 0 rgba(3, 3, 3, 0.25);
}

.course-reg-content .text .description-tabs .tab.active {
  box-shadow: none; color: var(--red); background: var(--white);
}

.course-reg-content .text .description-body { padding: 30px; }

.course-reg-content .text .description-body .tab-block { display: none; }

.course-reg-content .text .description-body .tab-block.active { display: block; }

.course-reg-content .text .description-body .tab-block H2 { display: none; }

.course-reg-content .text H3 {
  margin-bottom: 10px; color: var(--red); font-size: 16px; text-transform: uppercase;
}

.course-reg-content .text UL { margin-bottom: 25px; }

.course-reg-tickets {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 34px 0 99px;

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

.course-reg-tickets .pricing {
  width: 440px; box-sizing: border-box; padding: 23px 20px 0.5px;
  background: var(--red); color: var(--white);

  @media (max-width: 1020px) { & { width: 45%; } }
  @media (max-width: 768px) { & { width: 100%; margin-bottom: 2rem; } }
}

.course-reg-tickets .pricing H2, .course-reg-tickets .pricing H3 {
  margin: 0 0 20px; font-family: "K2D", sans-serif; font-size: 20px;
  letter-spacing: 3px; text-transform: uppercase;
}

.course-reg-tickets .pricing H3 {
  margin: 0; font-size: 18px; letter-spacing: 2px;
}

.course-reg-tickets .pricing > DIV P {
  margin: 0 0 1.5em; font-size: 15px; line-height: 1.6;
}

.course-reg-tickets .tickets {
  width: calc(100% - 472px); box-sizing: border-box; padding: 25px 20px 10px;
  background: #FFFFFF; box-shadow: 0 0 7.6px 0.4px rgba(3, 3, 3, 0.24);
  font-family: "K2D", sans-serif;

  @media (max-width: 1020px) { & { width: 52%; } }
  @media (max-width: 768px) { & { width: 100%; } }
}

.course-reg-tickets .tickets H2 {
  margin: 0; color: var(--red); font-size: 20px;
  letter-spacing: 3px; text-transform: uppercase;
}

.course-reg-tickets .tickets .inventory {
  margin-top: 7px; color: var(--gray);
  font-style: italic; font-size: 14px;
}

.course-reg-tickets .tickets .tkt-slctr-tbl-wrap-dv { margin-bottom: 0; }

.course-reg-tickets .tickets TABLE {
  width: 100%; border-collapse: collapse; font-size: 22px; font-weight: bold;
}

.course-reg-tickets .tickets TABLE THEAD { display: none; }

.course-reg-tickets .tickets TABLE .tckt-slctr-tbl-td-price {
  color: var(--red);
}

.course-reg-tickets .tickets TABLE .tckt-slctr-tbl-td-price .currency-code {
  display: none;
}

.course-reg-tickets .tickets TABLE .tckt-slctr-tbl-td-qty {
  padding-top: 12.4px; text-align: right;
}

.course-reg-tickets .tickets TABLE .tckt-slctr-tbl-td-qty:before {
  content: "ATTENDEES x "; font-size: 12px; color: var(--black); letter-spacing: 2px;
}

.course-reg-tickets .tickets TABLE .tckt-slctr-tbl-td-qty SELECT {
  outline: 0; border: 0; border-bottom: 2px solid var(--black);
  color: var(--black); font-family: "K2D", sans-serif; font-size: 18px;
  line-height: 1;
}

.course-reg-tickets .tickets .ticket-selector-submit-btn-wrap {
  float: none; width: 100%;
}

.course-reg-tickets .tickets INPUT[type="submit"] {
  float: none; width: 100%; outline: 0; border: 0; padding: 18px 25px;
  box-sizing: border-box; background-color: var(--red); color: var(--white);
  font-family: "K2D", sans-serif; font-weight: 800; font-size: 20px; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase; transition: all .25s ease;
  cursor: pointer;
}

.course-reg-tickets .tickets INPUT[type="submit"]:hover { opacity: 0.7; }
