.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: 900px;
}

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

.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: 900px;
  margin: auto;
}

.text_block.rtl {
  direction: rtl;
  unicode-bidi: bidi-override;
}


/* two column block */


.two_column_block {
  max-width: 900px;
  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 {
  transform: translateY(-80px);/* scroll past header */
}



/* accordion block */


/* inline accordion block */


.inline_accordion_block .accordion_title {
  max-width: 900px;
  margin: auto;
  cursor: pointer;
  font-style: italic;
}
.inline_accordion_block .items_block {
  display: none;
  max-width: 900px;
  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: 900px;
  margin: auto;
  cursor: pointer;
  font-weight: bold;
  padding: 1em 2.5em 1em 1em;
  box-sizing: border-box;
  background: var(--aqua);
  color: var(--base3);
  font-weight: 700;
  font-size: 1.2em;
  position: relative;
  text-decoration: none;
  border-radius: 10px;
}

.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 {
  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: 900px;
  margin: 0 auto;
  padding: 1.5em 2em 1em;
  box-sizing: border-box;
  border: 2px solid var(--aqua);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: var(--base3);
}

@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: 900px;
}

.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(--aqua-dark);
  border: 2px solid var(--aqua-dark);
  font-size: 1.2em;
  font-weight: 700;
  padding: 0.6em 2em;
  text-decoration: none;
  line-height: 1;
  display: inline-block;
  cursor: pointer;
  font-family: inherit;
  border-radius: 10px;
}

.button_block .button.teal {
  background: var(--aqua-dark);
  border: 2px solid var(--aqua-dark);
  color: var(--white);
}

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

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

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

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


/* embed block */


.embed_block.content_width {
  max-width: 900px;
  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 {
}

.html_block.content_width {
  max-width: 900px;
  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 {
  max-width: 1600px;
  margin: auto;
}

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

.columns_block .col {
  width: calc(33.33% - 40px);
  margin-left: 60px;
  float: left;
  min-height: 1px;
}

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

@media (max-width: 1200px) {
  .columns_block .col {
    width: calc(50% - 30px) !important;
  }
  .columns_block .col:nth-child(2n + 1) {
    margin-left: 0;
  }
  .columns_block.column_total_1 .col {
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .columns_block .col {
    float: none;
    width: auto !important;
  }

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

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

.columns_block.white_background .col {
  background: #fff;
}

.columns_block .col .block_cont {
  padding: 20px;
}

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

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

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


/* call_panel */

.call_panel_cont {
  max-width: 900px;
  margin: auto;
}

.call_panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--aqua-dark);
  border-radius: 20px;
  overflow: hidden;
  background: var(--base3);
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
  gap: 10px;
  max-width: 420px;
  width: 100%;
}

.dark_mode .call_panel {
  background: var(--parchment);
}

.call_panel .call_title {
  font-size: 1.4em;
  font-weight: 900;
  color: var(--base01);
}

.call_panel .button_row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.call_panel .call_phone_button,
.call_panel .call_webchat_button {
  display: inline-block;
  font-size: 1.1em;
  font-weight: 700;
  background: var(--aqua-dark);
  border-radius: 10px;
  padding: 7px 20px;
  color: var(--white);
  text-decoration: none;
}

.call_panel .call_phone_button::before,
.call_panel .call_webchat_button::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  background: url('/static/images/phone_white.svg') center/contain no-repeat;
}

.call_panel .call_webchat_button::before {
  background: url('/static/images/chat_white.svg') center/contain no-repeat;
}

.call_panel .available {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--base02);
}

.call_panel .call_language_text {
  margin-top: 5px;
  font-size: 1.1em;
  max-width: 600px;
  display: block;
  color: var(--aqua);
}

.call_panel .call_language_text::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin: 0 5px 4px 0;
  background: url('/static/images/language.svg') center/contain no-repeat;
}

.dark_mode .call_panel .call_language_text::before {
  background: url('/static/images/language_dark_mode.svg') center/contain no-repeat;
}
