.case-slide-section-wrapper {
 /* background: transparent linear-gradient(180deg, #243341 0%, #101820 100%) 0% 0% no-repeat padding-box; */ 
 background-color: black;
 position: relative;
 padding: 100px 0;
}

.case-slide-section-wrapper::before {
 content: var(--background-image);
 position: absolute;
 left: -25%;
 top: 0;
}

{#
.case {
  display:-ms-grid !important;
  display:grid !important;
  -ms-grid-columns: 7fr 1fr 4fr;
  grid-template-columns: 7fr 1fr 4fr;
  -webkit-box-align:start;
      -ms-flex-align:start;
          align-items:start;
}
.case > div:nth-of-type(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.case > div:nth-of-type(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}
.case > div:nth-of-type(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
#} 

.case-var-1 .case {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.u-1\/2 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

@media (max-width: 767px) {
  
  .u-1\/1\@xs {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
}




.case-slider-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}



.case-slider-wrapper .slick-slide { padding: 0;}

.case-slide-image {
  position:relative;
}
.case-slide-image img {
  padding-left: 40px;
}
.case-slide-details .slick-arrow.slick-hidden {
  display: block;
}
.case-slide-details .double-underline {
margin-top:20px;}

.loop-number-overlay {
position: absolute;
  font-family: "urw-din-condensed", sans-serif;
font-size: 150px;
font-weight: 700;
/* color: #ffffff1c; */
top: 0px;
left: 0px;
line-height: 0;
  -webkit-text-stroke: 1.5px #DA274D;
	-webkit-text-fill-color: transparent;
}

.case-slide-details {
    display: -ms-grid;
    display: grid;
    -webkit-box-pack: normal;
        -ms-flex-pack: normal;
            justify-content: normal;
    -ms-flex-line-pack: justify;
        align-content: space-between;
    height: 100%;
    
}

@media (max-width: 767px) {
  .case-slide-details {
    padding: 40px;
  }
}

.case-var-1 ..case-slide-details {
      padding: 40px;
}

.case-slide-details > div:nth-of-type(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.case-slide-details > div:nth-of-type(2){
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}
.case-slide-details > div:nth-of-type(3){
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}
.case-slide-details > div:nth-of-type(4){
    -ms-grid-row: 4;
    -ms-grid-column: 1;
}

.case-slide-details--nav {
  display:-ms-grid;
  display:grid;
  -ms-grid-columns: 70% 30%;
  grid-template-columns: 70% 30%;
  position:relative;
}
.case-slide-details--nav > div:nth-of-type(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.case-slide-details--nav > div:nth-of-type(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.case-slide-details--nav hr {
    width: 30px;
    margin: 0 10px;
    background: #101820;
    color: #101820;
    border-bottom-width: 1px;
    vertical-align: super;
}
.case-slide-title {
  margin-bottom:30px;
  font-size: 70px;
}
.case-related-title {
  font-size: 25px; line-height: 30px;
  font-family:"urw-din-condensed", sans-serif;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #fff;
  letter-spacing: 1px;
}
.case-related-copy {
  color: #fff;
  margin-top: 0px;
}

.case-slide-arrow-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 50% 50%;
  grid-template-columns: 50% 50%;
  justify-items: end;
  bottom: -12px;
  right: 0px;
  position: absolute;
}

.case-slide-arrow-wrapper > div:nth-of-type(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.case-slide-arrow-wrapper > div:nth-of-type(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.case-left::after, .case-right::after {
    display: -ms-grid;
    display: grid;
    width: 8px;
    margin: 0 auto;
    top: 0px;
    left: 17px;
    position: absolute;
    border: 0;
    right: auto;
    bottom: auto;
    height: auto;
}
.case-left::after > div:nth-of-type(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.case-right::after > div:nth-of-type(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.case-left::after {
    content: url(https://cdn2.hubspot.net/hubfs/7407324/images/global/buttons/carrot-left.svg);
  background: url(https://cdn2.hubspot.net/hubfs/7407324/images/global/buttons/carrot-left.svg);
  background-repeat: no-repeat;
  height: 13px;
}
.case-right::after {
    content: url(https://cdn2.hubspot.net/hubfs/7407324/images/global/buttons/carrot-right.svg);
    background: url(https://cdn2.hubspot.net/hubfs/7407324/images/global/buttons/carrot-right.svg);
  background-repeat: no-repeat;
  height: 13px;
}
.case-left, .case-right {
    background: 0;
    text-decoration: none;
    border-radius: 50%;
    display: block;
    height: 26px;
    width: 46px;
    border: 1px solid white;
    position: relative;
    opacity: .5;
    -webkit-transition: .4s all ease-in-out;
    -o-transition: .4s all ease-in-out;
    transition: .4s all ease-in-out;
  -ms-flex-item-align:end;
      -ms-grid-row-align:end;
      align-self:end;
  justify-self:flex-end;
}

.case-slide-details .double-underline {
    justify-self: flex-start;
}

.case-slide-title {
 color: #fff;
}

.case-slide-section-wrapper a {
 color: #fff;
}



@media  (min-width: 801px) and (max-width: 1200px) {
  .case-slide-title {
    margin-bottom: 16px;
    margin-top:  .6em;
    font-size: 34px;}
}
@media (max-width: 1000px) {
 .case-slide-section-wrapper::before {
	display: none;
 }
}
@media (max-width: 900px) { 
  .case-slide-title {
    font-size: 28px;}
}
@media (max-width: 800px) {
  .case {
    -ms-grid-columns: 12fr;
    grid-template-columns: 12fr;
    padding-top: 90px;}
  .case-slide-image .case-nopad {
    padding-left: 0px !important;}
}

@media (max-width: 500px) { 
    .case { padding-top: 60px;}
    .loop-number-overlay {font-size: 110px;}
    .case-slide-image img {padding-left: 45px;}

}



.anchor-links-wrap {
  display: flex;
  gap: 60px;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 30px;
}

.case-slide-eyebrow {
  color: #00bfff;
}













/* Modal */
/* ========================================================================== */

/* Example Snippet */
/*
<div class="c-modal js-modal" id="formModal">
  <div class="c-modal__backdrop"></div>
  <div class="c-modal__dialog">
    <div class="c-modal__content js-modalContent">
      <div class="c-modal__body">
        <div class="close" data-dismiss="modal">x</div>
      </div>
    </div>
  </div>
</div>

<div class="c-btn c-btn--primary" data-toggle="modal" data-target="#formModal">btn</div>
*/

/* Set stack order for modal, backdrop and modal dialog. */
/* Set margin. (will be base for proper max height). */

:root {
  --zindex-modal: 1040; /* 1 */
  --zindex-backdrop: 1050; /* 1 */
  --zindex-dialog: 1060; /* 1 */
  --modal-dialog-margin: 2rem; /* 2 */
  --modal-dialog-padding: 2rem;
}

/* Class added by JavaScript Prevent body from scrolling when modal is open. */
/* Additional code for safari. */

.js-modal-open {
  position: fixed; /* 1 */
  height: 100vh; /* 1 */
  width: 100vw; /* 1 */
  overflow-y: hidden;
}

.c-modal {
  overflow-x: hidden;
  overflow-y: auto;
}

/* c-modal: Overall container, were the modal scrolls within. */
/* c-modal__dialog: Shell div to position the modal with bottom padding. */
/* c-modal__content: Actual modal containing the head, body, footer. */

/* o-modal is direct parent of .o-modal__dialog */

/* Prevent Chrome on Windows from adding a focus outline. */
/* Hidden by default */

.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0; /* 1 */
  z-index: var(--zindex-modal);
  transition: opacity 0.4s;
  opacity: 0; /* 2 */
  visibility: hidden; /* 2 */
}

.c-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.c-modal__dialog {
  position: relative;
  width: auto;
  margin: var(--modal-dialog-margin) auto;
  z-index: var(--zindex-dialog);
  padding-left: var(--modal-dialog-padding);
  padding-right: var(--modal-dialog-padding);

  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  }

.c-modal__content {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
}

/* Modal sections ========================================================================== */

/* Header contains title and close button */
/* sibiling of c-modal__body & c-modal__footer if they exist */

.c-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--modal-padding);
  border-bottom: 1px solid #ccc;
}

.c-modal__title {
  margin-bottom: 0;
  line-height: var(--modal-title-line-height);
}

.close {
  padding: var(--modal-padding);
  margin-top: calc(-1 * var(--modal-padding));
  margin-right: calc(-1 * var(--modal-padding));
  margin-bottom: calc(-1 * var(--modal-padding));
  margin-left: auto;
}

/* Where all content resides */
/* sibiling of c-modal__header & c-modal__footer if they exist */

.c-modal__body {
  position: relative;
  flex: 1 1 auto;
  padding: var(--modal-padding);
}

/* Footer (for actions/buttons) */

.c-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* vertically center */
  justify-content: flex-end; /* Right align buttons with flex property because text-align doesn't work on flex items */
  padding: var(--modal-padding);
  border-top: 1px solid #ccc;
  & > * {
    margin: 0.25rem;
  }
}

.close {
  cursor: pointer;
}

/* Modal backdrop ========================================================================== */

/* Backdrop must be a child of c-modal for proper z-index order */

.c-modal__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: var(--zindex-backdrop);
}

/* Functionality variants ========================================================================== */

.c-modal__dialog--scrollable {
  max-height: calc(100% - (var(--modal-dialog-margin) * 2));
  overflow-y: hidden;
}

.c-modal__content {
  max-height: calc(100vh - (var(--modal-dialog-margin) * 2));
  overflow-y: auto;
  padding: 25px;
}

.c-modal__body {
  overflow-y: auto;
}

/* Center modal__content. */
/* This is used in tandem with .c-modal__dialog--scrollable */

.c-modal__dialog--centered {
  display: flex; /* 1 */
  align-items: center; /* 1 */
  max-height: calc(100vh - (var(--modal-dialog-margin) * 2));
}

.c-modal__dialog--centered::before {
  display: block; /* IE10 */
  height: calc(100vh - (var(--modal-dialog-margin) * 2));
  content: "";
}


.close {
  text-align: right;
  margin-bottom: 20px;
}

.legal-consent-container p {
  font-size: 16px; 
}

.c-modal__body .hs-button  {
  background-color: #da274d; 
  color: white !important;
  border-radius: 0;
    width: 100%;
    margin-top: 20px;
}
