{% if module.style.is_visible %}
body.with-expandable .globalDesktopHeader,
body.with-expandable .globalDesktopHeaderLegal{
  margin-top: calc(var(--expandable-height));
  padding-top: 10px;
}

.ms_expandable_alert{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8;
  transition: 0.3s ease-out max-height;
  overflow: hidden;
  max-width: 100vw;
}
.ms_expandable_alert.open{
  z-index: 9999;
}
.ms_expandable_alert.closed{
  max-height: 0; 
}
.ms_expandable_alert>.container{
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}
.ms_expandable_alert>.container>.row{
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 50fr);
  grid-gap: 26px;
}
.ms_expandable_alert>.container>.row>.left-col{
  text-align: left; 
}
.ms_expandable_alert>.container>.row>.right-col{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right; 
}
.ms_expandable_alert .message *{
  font-size: 15px !important;
  line-height: 16px !important;
  color: #FFFFFF !important;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}
.ms_expandable_alert .btn-bar{
  display: inline-block;
  text-decoration: underline;
  font-weight: 600 !important;
  font-size: 15px;
  color: #FFF !important;
}
.ms_expandable_alert .btn-toggle:after{
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="6" viewBox="0 0 12 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 5L11 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.ms_expandable_alert.open .btn-toggle:after{
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="6" viewBox="0 0 12 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11 5L6 1L1 5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.ms_expandable_alert .btn-toggle span{
  margin-right: 14px;
}

.ms_expandable_alert .content h4{
  font-weight: 600;
  font-size: 22px;
  line-height: 1.23;
  color: #222222;
}
.ms_expandable_alert .content ul{
  padding-left: 20px;
  list-style: none;
  margin: 10px 0;
}
.ms_expandable_alert .content ul li{
  font-weight: normal; 
  color: #788487;
}
.ms_expandable_alert .content ul li:not(:last-child){
  margin-bottom: 10px; 
}
.ms_expandable_alert .content ul li::before {
  content: "\2022";
  color: #788487;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}


.ms_expandable_alert .toggle{
  background: #F4F3FE;
  transition: 0.3s ease-in max-height;
  overflow: hidden;
  max-height: 0;
}
.ms_expandable_alert.open .toggle{
  max-height: 9999px;
  overflow: scroll;
  transition: 0.3s ease-out max-height;
}
.ms_expandable_alert .toggle .container{
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.ms_expandable_alert .toggle .container>.row{
  display: grid;
  grid-template-columns: repeat(2, 50fr);
  align-items: center;
}
.ms_expandable_alert .toggle .content *:first-child{
  margin-top: 0; 
}
.ms_expandable_alert .toggle .content *:last-child{
  margin-bottom: 0; 
}
.ms_expandable_alert .toggle .logos{
  display: grid;
  grid-auto-flow: column;
  grid-gap: 3rem;
  direction: rtl;
  align-items: center;
}
.ms_expandable_alert .toggle .logos img{
  max-width: 100%;
  height: auto;
}

.ms_expandable_alert .toggle .form{
   
}

.ms_expandable_alert .toggle .form .hs-form-field>label{
  font-weight: 600;
  font-size: 13.5px;
  line-height: 17px;
  color: #222222; 
}

.ms_expandable_alert .toggle .form .hs-form-required{
  color: #DE4437;
}
.ms_expandable_alert .toggle .form .hs-richtext p{
  font-size: 12px !important; 
}
.ms_expandable_alert .toggle .form .legal-consent-container > .hs-richtext{
  margin: 0; 
}
.ms_expandable_alert .bar-form .form-title{
  display: none;
}
.ms_expandable_alert .bar-form .hs-form .hs-form-field>label{
  display: none;
}

.ms_expandable_alert .bar-form .hs-form .hs-email .input{
  position: relative; 
}
.ms_expandable_alert .bar-form .hs-form .hs-email .input:before{
  content: '';
  position: absolute;
  left: 20px;
  top: calc(50% - 7.5px);
  background-image: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3603 0.00434172C12.4165 -0.00144724 12.4731 -0.00144724 12.5293 0.00434172L6.55707 5.96834L0.601318 0.0373147C0.672324 0.016572 0.7458 0.00548141 0.819765 0.00434172H12.3603ZM7.13866 6.55326L13.1397 0.576904C13.1692 0.65762 13.1859 0.742451 13.1892 0.828324V9.07158C13.1892 9.2902 13.1024 9.49987 12.9478 9.65446C12.7932 9.80906 12.5835 9.8959 12.3649 9.8959H0.824326C0.605701 9.8959 0.39603 9.80906 0.241439 9.65446C0.0868483 9.49987 0 9.2902 0 9.07158V0.828324C0.000873243 0.758687 0.0105676 0.689442 0.0288514 0.622242L5.97636 6.55326C6.13081 6.7068 6.33973 6.79297 6.55751 6.79297C6.77528 6.79297 6.98421 6.7068 7.13866 6.55326ZM0.816082 9.07158H1.38899L4.39366 6.09164L3.81251 5.51049L0.816082 8.48219V9.07158ZM11.7796 9.07158H12.3566L12.3525 8.48219L9.35609 5.51049L8.77495 6.09164L11.7796 9.07158Z" fill="%23828282"/></svg>');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
}

.ms_expandable_alert .bar-form .hs-form .hs-input{
  border-radius: 5px 0px 0px 5px;
  background: #FFF;
  color: #828282;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans';
  line-height: 1.5;
  padding: 10px 20px 10px 40px;
  border: none;
  appearance: none;
}
.ms_expandable_alert .bar-form .hs-form ::placeholder{
  color: #828282 !important;
}
.ms_expandable_alert .bar-form .hs-form .hs-button{
  border-radius: 0 5px 5px 0;
  background-color: #F4F3FE !important;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans';
  line-height: 1.5;
  padding: 10px 20px;
  color: #4A37FF;
  border: none !important;
  cursor: pointer;
  appearance: none;
}
.ms_expandable_alert .bar-form .hs-form .hs-button:hover,
.ms_expandable_alert .bar-form .hs-form .hs-button:focus{
  border: none !important;
  transform: none;
  box-shadow: none;
}
.ms_expandable_alert .bar-form .hs-form .hs-form-field .hs-error-msgs{
  list-style: none;
  padding: 0;
  margin: 0;
}
.ms_expandable_alert .bar-form .hs-form .hs-form-field .hs-error-msgs li{
  color: #FFF;
  font-size: 10px;
  line-height: 1;
}
.ms_expandable_alert .bar-form .hs-form .hs_error_rollup{
  display: none; 
}
.ms_expandable_alert .bar-form .submitted-message *{
  color: #FFF; 
}

.ms_expandable_alert .btn-close{
  margin-left: 20px; 
}

@media(min-width: 768px){
  .ms_expandable_alert .bar-form{
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
  }
  .ms_expandable_alert .bar-form .hs-form{
    display: grid;
    grid-gap: 0;
    align-items: center;
    margin: 0;
    grid-auto-flow: column;
  }
  .ms_expandable_alert .bar-form .hs-form .hs-form-field .hs-error-msgs{
    position: absolute;
    top: 100%;
  }
  .ms_expandable_alert .bar-form .hs-form .hs-button,
  .ms_expandable_alert .bar-form .hs-form .hs-input{
    margin: 0; 
  }
  
}
@media(max-width: 1279px){
  .ms_expandable_alert>.container{
    max-width: calc(100vw - 70px);
  }
}
@media(max-width: 1023px){
  .ms_expandable_alert{
    top: inherit;
    bottom: 0;
    border-radius: 5px 5px 0 0;
  }
  .ms_expandable_alert>.container{
    padding-top: 25px;
    padding-bottom: 25px;
    max-width: calc(100vw - 70px);
  }
  .ms_expandable_alert .message{
    padding-right: 50px; 
  }
  .ms_expandable_alert.open .toggle{
    height: auto;
  }
  .ms_expandable_alert .toggle .container{
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: calc(100vw - 70px);
  }
  .ms_expandable_alert .toggle .container>.row{
    grid-gap: 30px; 
  }
  .ms_expandable_alert .toggle .logos{
    grid-auto-flow: initial;
    grid-gap: 2rem;
    grid-template-columns: repeat(3, 33fr);
  }
  .ms_expandable_alert .btn-toggle:after{
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="6" viewBox="0 0 12 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11 5L6 1L1 5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  }
  .ms_expandable_alert.open .btn-toggle:after{
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="6" viewBox="0 0 12 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 5L11 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  }
}
@media(max-width: 767px){
  
  .ms_expandable_alert{
    max-height: calc(100vh - 112px); 
  }
  .ms_expandable_alert>.container>.row{
    grid-template-columns: 100%; 
  }
  .ms_expandable_alert>.container>.row>.left-col{
  }
  .ms_expandable_alert>.container>.row>.right-col{
    display: block;
    text-align: left;
  }
  .ms_expandable_alert .bar-form .hs-form{
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 15px;
  }
  .ms_expandable_alert .bar-form .hs-form .hs-input,
  .ms_expandable_alert .bar-form .hs-form .hs-button{
    border-radius: 5px;
  }
  .ms_expandable_alert .bar-form .hs-form .hs-input{
    width: calc(100% - 60px);
    text-align: center;
  }
  .ms_expandable_alert .bar-form .hs-form .hs-button{
    width: 100%;
    text-align: center;
  }
  .ms_expandable_alert .btn-close{
    position: absolute;
    top: 25px;
    right: -20px;
  }
  .ms_expandable_alert .btn-close svg{
    width: 40px;
    height: 40px; 
  }
  
  .ms_expandable_alert .toggle .container>.row{
    grid-template-columns: 100%;
    grid-gap: 30px;
  }
  .ms_expandable_alert.open .toggle{
    max-height: calc(100vh - (var(--expandable-height) + 112px));
  }
  
}
{% endif %}