.block_cont {
  margin: 50px 50px;
}

.block_cont.full_width {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1200px) {
  .block_cont {
    margin: 50px 20px;
  }
  .block_cont.full_width {
    margin-left: 0;
    margin-right: 0;
  }
}


/* image block */

.image_block {
  margin: auto;
}

.image_block.inline {
  max-width: 1200px;
}

.image_block .image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left;
  max-height: 95vh;
  cursor: pointer;
}

.block_cont.full_width .image_block  .image {
  max-height: unset;
}

.image_block .caption {
  margin: 5px 0;
}

.image_block.full_width .caption {
  margin: 1em 50px;
}

@media (max-width: 1200px) {
  .image_block.full_width .caption {
    margin: 1em 20px;
  }
}


/* text block */

.text_block {
  max-width: 1200px;
  margin: auto;
}

.text_block.center {
  text-align: center;
}

.text_block.right {
  text-align: right;
}


/* two column block */

.two_column_block {
  max-width: 1200px;
  margin: auto;
}

.two_column_block:after {
  clear: both;
  content: " ";
  height: 0;
  display: block;
}

.two_column_block_70-30,
.two_column_block_30-70 {
  max-width: 1285px;
}

.two_column_block .col {
  width: calc(50% - 30px);
  float: left;
}

.two_column_block .col_70 {
  width: calc(70% - 30px);
}

.two_column_block .col_30 {
  width: calc(30% - 30px);
}

.two_column_block .col + .col {
  margin-left: 60px;
}

@media (max-width: 1200px) {
  .two_column_block .col {
    float: none;
    width: auto;
  }

  .two_column_block .col + .col {
    margin-left: 0;
    margin-top: 50px;
  }
}

.two_column_block .col .block_cont {
  margin: 40px 0 0;
  break-inside: avoid-column;
}

.two_column_block .col .block_cont:first-child {
  margin-top: 0;
}


/* anchor block */

.anchor_block {
  scroll-margin-top: 130px;/* clears the sticky .menu (up to 110px) plus a little breathing room */
}


/* accordion blocks */

/* inline accordion block */

.inline_accordion_block .accordion_title {
  max-width: 1200px;
  margin: auto;
  cursor: pointer;
  font-style: italic;
}
.inline_accordion_block .items_block {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1em;
}
.inline_accordion_block .items_block.active {
  display: block;
}

.inline_accordion_block .items_block .block_cont {
  margin: 50px 0;
}


/* boxed accordion block */

.boxed_accordion_block .heading {
  font-size: inherit;
  margin: 0;
}

.boxed_accordion_block .title {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  cursor: pointer;
  font-weight: bold;
  padding: 1em 2.5em 1em 1em;
  box-sizing: border-box;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1.2em;
  position: relative;
  text-decoration: none;
  border-radius: 10px;
}

.boxed_accordion_block.blue .title {
  background: var(--core_blue);
  border-color: var(--core_blue);
  color: var(--white);
}

.boxed_accordion_block.blue-text-border-white-background .title {
  background: var(--white);
  border-color: var(--core_blue);
  color: var(--core_blue);
}

.boxed_accordion_block.green .title {
  background: var(--secondary_green);
  border-color: var(--secondary_green);
  color: var(--white);
}

.boxed_accordion_block.green-text-border-white-background .title {
  background: var(--white);
  border-color: var(--secondary_green);
  color: var(--secondary_green);
}

.boxed_accordion_block.active .title {
  border-radius: 10px 10px 0 0;
}

.boxed_accordion_block .title:hover {
  opacity: 0.9;
}

.boxed_accordion_block .title:after {
  content: " ";
  position: absolute;
  right: 0.7em;
  top: 0.7em;
  width: 2em;
  height: 2em;
  background: url('/static/cms/images/chevron_right_white.svg') center/2em no-repeat;
  transform: rotate(90deg);
  transform-origin: center;
}

.dark_mode .boxed_accordion_block .title:after,
.boxed_accordion_block.blue-text-border-white-background .title:after,
.boxed_accordion_block.green-text-border-white-background .title:after {
  background: url('/static/cms/images/chevron_right_black.svg') center/2em no-repeat;
}

.boxed_accordion_block.active .title:after {
  transform: rotate(-90deg);
}

.boxed_accordion_block .items_block {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5em 2em 1em;
  box-sizing: border-box;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: var(--white);
}

.boxed_accordion_block.blue .items_block,
.boxed_accordion_block.blue-text-border-white-background .items_block {
  border: 2px solid var(--core_blue);
}

.boxed_accordion_block.green .items_block,
.boxed_accordion_block.green-text-border-white-background .items_block {
  border: 2px solid var(--secondary_green);
}

@media (max-width: 1200px) {
  .boxed_accordion_block .items_block {
    padding: 1.5em 1em 1em;
  }
}

.boxed_accordion_block.active .items_block {
  display: block;
}

.boxed_accordion_block .items_block .block_cont {
  margin: 50px 0;
}

.boxed_accordion_block .items_block .block_cont:first-child {
  margin: 0 0 15px;
}


/* button block */

.button_block_cont {
  margin: 1em 50px;
}

@media (max-width: 1200px) {
  .button_block_cont {
    margin: 1em 20px;
  }
}

.button_block {
  margin: auto;
  max-width: 1200px;
}

.two_column_block .button_block_cont {
  margin: 1em 0;
}

.inline_accordion_block .button_block_cont {
  margin: 1em 0;
}

.boxed_accordion_block .button_block_cont {
  margin: 1em 0;
}

.button_block .button {
  color: var(--white);
  background: var(--core_blue);
  border: 2px solid var(--core_blue);
  font-size: 1.2em;
  font-weight: 400;
  padding: 0.6em 2em;
  text-decoration: none;
  line-height: 1;
  display: inline-block;
  cursor: pointer;
  font-family: inherit;
  border-radius: 10px;
}

.button_block .button.blue {
  background: var(--core_blue);
  border: 2px solid var(--core_blue);
  color: var(--white);
}

.button_block .button.black {
  background: var(--secondary_black);
  border: 2px solid var(--secondary_black);
  color: var(--white);
}

.button_block .button.orange-border {
  background: var(--background_color);
  border: 2px solid var(--core_orange);
  color: var(--body_text_color);
  padding: 1em 1em;
  min-height: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.button_block.left {
  text-align: left;
}

.button_block.center {
  text-align: center;
}

.button_block.right {
  text-align: right;
}


/*
 * sponsors block
 */

.sponsors_block {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.sponsors_block.center {
  text-align: center;
}

.sponsors_block.right {
  text-align: right;
}

@media (max-width: 1200px) {
  .sponsors_block {
    max-width: 600px;
  }
}

.sponsors_block:after {
  clear: both;
  content: " ";
  height: 0;
  display: block;
}

.sponsors_block .sponsor {
  display: inline-block;
  /* 8 margins * 75px/margin / 4 columns = 150px/column */
  width: calc(25% - 150px);
  margin: 0 75px 20px;
  background: center/contain no-repeat;
  height: 150px;
  position: relative;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .sponsors_block .sponsor {
    /* 4 margins * 20px/margin / 2 columns = 40px/column */
    width: calc(50% - 40px);
    margin: 0 20px 20px;
  }
}

.sponsors_block .sponsor .text {
  text-decoration: none;
  font-size: 25px;
  color: #666;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.sponsors_block .sponsor .sub_image {
  width: 100%;
  margin: 30px 0 10px;
  height: calc(100% - 60px);
  background: center/contain no-repeat;
}


.sponsors_block .sponsor .caption {
  width: 100%;
  text-decoration: none;
  font-size: inherit;
  color: #666;
  text-align: center;
  line-height: 1.3;
}


/* embed block */

.embed_block.content_width {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.embed_block_cont.full_width {
  background: #000;
}
.embed_block.full_width {
  /* 
   * We dont want the height to be more than 100vh - 80px:
   * A) height = 56.25% width
   * B) height < 100vh - 80px
   * Solving:
   *         height < 100vh - 80px
   * 0.5625 * width < 100vh - 80px
   *          width < (100vh - 80px) / 0.5625
   *          width < (100vh - 80px) * 1.7777
   *          width < 177.77vh - 141.216px
   */
  max-width: calc(177.77vh - 141.216px);
  margin: auto;
}
.embed_block .responsive-object {
  position: relative;
}
.embed_block .responsive-object iframe {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
}


/* html block */

.html_block.content_width {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}



/* reduce space block */


@media (max-width: 1200px) {
  .reduce_space_block.desktop {
    display: none;
  }
}

.reduce_space_block.mobile {
  display: none;
}

@media (max-width: 1200px) {
  .reduce_space_block.mobile {
    display: block;
  }
}


/* columns_block */

.columns_block {
  margin: auto;
  display: grid;
}

@media screen and (max-width: 900px) {
  .columns_block {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media screen and (max-width: 600px) {
  .columns_block {
    grid-template-columns: 1fr !important;
  }
}

.columns_block.max_width_1600 {
  max-width: 1600px;
}

.columns_block.max_width_900 {
  max-width: 1200px;
}

.columns_block .col {
  min-width: 0;
  min-height: 1px;
}

.columns_block .col .block_cont {
  margin: 40px 0 0;
  break-inside: avoid-column;
}

.columns_block .col .block_cont {
  margin: 40px 0 0;
  break-inside: avoid-column;
}

.columns_block.white_background .col {
  background: #fff;
  padding: 30px;
}

.columns_block .col .block_cont:first-child {
  margin-top: 0;
}

.columns_block .col .button_block_cont {
  margin: 1em 0;
}


/* theme_block */

.theme_block {
  overflow: hidden;
  position: relative;
  margin: 100px 0 0;
  font-weight: 500;
  z-index: 1;
}

.theme_block.parallax {
  min-height: 50vh;
}

@media screen and (max-width: 1000px) {
  .theme_block {
    margin: 50px 0 0;
  }
}


.theme_block .desktop_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.theme_block.parallax .desktop_bg {
  height: 100vh;
  background-attachment: fixed;
}

@media screen and (max-width: 1000px) {
  .theme_block .desktop_bg {
    display: none;
  }
}

.theme_block .mobile_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  z-index: -1;
  display: none;
}

@media screen and (max-width: 1000px) {
  .theme_block .mobile_bg {
    display: block;
  }
}

.theme_block.paper .desktop_bg,
.theme_block.paper .mobile_bg {
  background-color: var(--light_brown);
}

.theme_block.green .desktop_bg,
.theme_block.green .mobile_bg {
  background-color: var(--core_green);
}

.theme_block.green > .block_cont > .text_block,
.theme_block.green > .block_cont > .image_block,
.theme_block.green > .block_cont.inline_accordion_block > .accordion_title,
.theme_block.green > .block_cont.inline_accordion_block > .items_block,
.theme_block.green > .block_cont > .two_column_block > .col,
.theme_block.green > .block_cont > .columns_block > .col {
  background-color: var(--background_color);
  padding: 20px;
  border-radius: 20px;
  box-sizing: border-box;
}

.theme_block.orange .desktop_bg,
.theme_block.orange .mobile_bg {
  background-color: var(--core_orange);
}

.theme_block.orange > .block_cont > .text_block,
.theme_block.orange > .block_cont > .image_block,
.theme_block.orange > .block_cont.inline_accordion_block > .accordion_title,
.theme_block.orange > .block_cont.inline_accordion_block > .items_block,
.theme_block.orange > .block_cont > .two_column_block > .col,
.theme_block.orange > .block_cont > .columns_block > .col {
  background-color: var(--background_color);
  padding: 20px;
  border-radius: 20px;
  box-sizing: border-box;
}

.theme_block > .block_cont:nth-child(3) {
  padding-top: 100px;
  margin-top: 0;
}

.theme_block > .block_cont:last-of-type {
  padding-bottom: 100px;
  margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
  .theme_block > .block_cont:nth-child(3) {
    padding-top: 50px;
  }

  .theme_block > .block_cont:last-of-type {
    padding-bottom: 50px;
  }
}

.theme_block + .theme_block {
  margin-top: 0;
}
