form {
  --label-height: 24px;
  --label-width: 24px;
  max-width: 100%;
}

.hs-dependent-field {
  width: 100%;
}

.form-columns-2 .hs-dependent-field .hs-form-field {
  width: 100% !important;
}

.form-columns-2 div:has(+ .hs-dependent-field) .hs-form-field,
.form-columns-2 .hs-dependent-field ~ .hs-form-field {
  width: 100% !important;
}

form fieldset {
  max-width: 100% !important;
}

.webinar-form-hoc .form-title {
  font-size: var(--title-xsmall-size);
  color: var(--site-text-dark);
  font-family: inherit;
}

.form-card-style.form-no-header-container {
  display: block;
}

.form-card-style.form-header-container,
.form-regular-style.form-header-container {
  display: flex;
  flex-direction: column;
}

.content_container h2 {
  margin-bottom: var(--space-24);
}

.content_container,
.form-card-style.form-align-center .content_container {
  margin-bottom: var(--space-48);
}

.form-card-style {
  padding: var(--block-padding-horizontal);
}

.hs_cos_wrapper_type_form {
  min-width: 50%;
}

form input:focus-visible,
form select:focus-visible {
  outline: 2px solid var(--cta-hover-border-color);
}

.fn-date-picker td.is-selected .pika-button {
  background: var(--site-brand-dark-color) !important;
  border-radius: 8px !important;
}

.fn-date-picker td.is-empty {
  background: #f4f4f4 !important;
  border-radius: 8px;
}

.fn-date-picker td .pika-button:hover {
  background-color: #ebebeb !important;
  border-radius: 8px !important;
  color: #141414 !important;
}

.fn-date-picker .pika-next,
.fn-date-picker .pika-prev {
  height: 28px !important;
  width: 28px !important;
  text-indent: 100px !important;
}

.fn-date-picker .pika-next:hover,
.fn-date-picker .pika-prev:hover {
  background-color: #e0e0e0 !important;
  border-radius: var(--radius-32);
}

.fn-date-picker.pika-single.is-bound {
  border-radius: 8px;
}

.fn-date-picker .pika-label {
  font-size: 16px;
  font-weight: 600;
}

.pika-table thead tr {
  text-transform: uppercase;
  text-decoration: none;
}

.pika-table thead th {
  background-color: transparent;
  color: #262626 !important;
}

.pika-table abbr[title] {
  text-decoration: none;
}

.pika-table .is-today .pika-button.pika-day {
  font-weight: 700;
}

.pika-table .is-today.is-selected .pika-button {
  color: #ffffff !important;
}

/* Inputs */

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="tel"],
form input[type="number"],
form input[type="file"],
form select,
form textarea {
  display: inline-block;
  padding: var(--space-12) var(--space-24);
  width: 100% !important;
}

.hs-form-field input,
.hs-form-field .input,
.hs-form-field select,
.hs-form-field .hs-input:not(input[type="file"]) {
  width: 100%;
  margin-right: 0px;
  line-height: initial;
}

.fieldset.form-columns-1 .input {
  margin-right: 0px !important;
}

form fieldset {
  max-width: 100% !important;
}
fieldset.form-columns-1 .hs-input:not(input[type="file"],
.hs-input.hs-fieldtype-intl-phone select,
.hs-input.hs-fieldtype-intl-phone input) {
  width: 100% !important;
}

.hs-dateinput input {
  -webkit-appearance: none;
  min-height: 4.9rem;
  padding: var(--space-12) var(--space-24);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  margin-inline-start: 0;
  right: 5%;
  position: absolute;
}

form .input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: 94% center;
}

.hs-form-field span {
  font-size: 1.8rem;
}

li.hs-form-radio label {
  position: relative;
  display: flex;
}
li.hs-form-radio label span {
  display: inline-block;
  margin-left: 4rem;
  align-self: center;
}

li.hs-form-radio label input {
  height: var(--label-height);
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: var(--label-width);
}

li.hs-form-radio label span::before {
  border: 2px solid var(--site-text-color);
  content: "";
  height: var(--label-height);
  left: 0;
  position: absolute;
  top: 0;
  width: var(--label-width);
  border-radius: 50%;
}

li.hs-form-radio label span::after {
  content: "";
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.2s ease-in-out;
  width: var(--label-width);
  height: var(--label-height);
  border: 8px solid var(--site-brand-color);
  border-radius: var(--radius-32);
}

li.hs-form-radio label input:checked + span::after {
  opacity: 1;
}

li.hs-form-radio label input:focus-visible + span::before {
  box-shadow: 0 0 0 2px var(--cta-hover-border-color);
}

input[type="file"] {
  width: 0.1px !important;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.hs-fieldtype-file label span {
  display: inline-flex;
  padding: var(--space-12) var(--space-24);
  border: 2px solid;
  border-radius: 48px;
  column-gap: 16px;
  background-color: transparent;
  color: var(--site-text-color);
  border-color: var(--site-text-color);
}

.hs-fieldtype-file label span:nth-of-type(2) {
    display: none !important;
}

.hs-fieldtype-file label span::before {
  content: "";
  cursor: pointer;
  height: var(--label-height);
  width: var(--label-width);
  background-color: var(--site-text-color);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hs-fieldtype-file label span:hover {
  background-color: var(--cta-hover-background-color);
	color: var(--cta-hover-text-color);
}

.hs-fieldtype-file label span:hover::before {
  background-color: var(--cta-hover-text-color);
}

.hs-fieldtype-file label span:focus-visible,
.hs-button.primary.large:focus-visible {
  outline: 2px solid var(--cta-hover-border-color);
}

#file-upload-label {
  width: fit-content;
}

form .hs-richtext {
  font-size: 1.4rem;
  font-style: italic;
}

form .hs-richtext p {
  font-size: var(--body-font-size);
  margin-bottom: 2.4rem;
}

li.hs-form-booleancheckbox label span.hs-form-required {
  margin-left: 0;
}

.form-columns-2 .hs-form-field,
.form-columns-1 .hs-form-field {
  width: 100% !important;
}

@media(min-width:1050px) {
  form.hs-form-private {
    max-width: 60rem;
  }

  .form-card-style {
    padding: var(--block-padding-vertical);
  }

  .form-card-style.form-header-container,
  .form-regular-style.form-header-container {
    justify-content: space-between;
    flex-direction: row;
  }

  .form-card-style.form-align-center {
    flex-direction: column;
    max-width: 856px;
    margin: auto;
  }

  .form-card-style.form-align-center .content_container {
    max-width: fit-content;
    padding-right: 0;
  }

  .content_container h2 {
    margin-bottom: var(--space-48);
  }

  .form-columns-2 {
    display: flex;
    justify-content: space-between;
    /* align-items: flex-end; */
    align-items: flex-start;
    gap: 22px;
  }

  .form-columns-2 label {
    display: block;
    min-height: 48px;
    line-height: 1.2;
    display: flex;
    align-items: flex-end;
  }

  .form-columns-2 .hs-form-field {
    width: calc(50% - 12px) !important;
  }

  .form-columns-2 .input,
  .form-columns-1 .input {
    margin-right: 0 !important;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="file"],
  select,
  textarea {
    padding: var(--space-16) var(--space-32);
  }

  form .input select {
    line-height: initial;
  }

  #file-upload-label {
    width: 40rem;
  }
}

/* MultiSelect dropdown styles - custom checkboxes & pills variant */
/* Style the dropdown button */
.hs-fieldtype-checkbox:has(.dropdown-btn) {
  position: relative;
}

.hs-fieldtype-checkbox .dropdown-btn {
  padding: var(--space-12) var(--space-24);
  background-color: #fff;
  border: var(--border);
  border-radius: var(--space-8);
  display: inline-block;
  width: 100%;
  text-align: left;
  line-height: 22px;
  position: relative;
}

.hs-fieldtype-checkbox .dropdown-btn.pills-variant:has(.pill) {
  padding: 9px var(--space-24);
}
/* Add an SVG chevron icon to the end of the dropdown button */
.hs-fieldtype-checkbox .dropdown-btn::after {
    content: "";
    background-image: url(  ); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: 94%;
    width: 12px; 
    height: 12px; 
    position: absolute;
    right: var(--space-32); 
    top: 50%;
    transform: translateY(-50%); 
}
.hs-fieldtype-checkbox .dropdown-btn.active::after {
    transform: translateY(-50%) rotate(180deg); /* Rotate chevron */
}

/* Style the dropdown list container */
.hs-fieldtype-checkbox .dropdown-list {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: var(--space-4);
  padding: var(--space-12);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1;
  width: 100%;
  position: absolute;
  display: none;
}

.hs-fieldtype-checkbox:has(.dropdown-btn.active) .dropdown-list {
  display: block;
}

.hs-fieldtype-checkbox .dropdown-item label {
  display: flex;
  position: relative;
  margin-bottom: var(--space-16)
}

.hs-fieldtype-checkbox .dropdown-item label span {
  width: 100%;
  align-self: center;
  display: inline-block;
  line-height: 2.4rem;
  margin-left: 4rem;
}

/* Custom checkbox for multiselect dropdown */
.hs-fieldtype-checkbox .dropdown-item label span:before {
  border: 2px solid var(--site-text-color);
  border-radius: var(--space-4);
  content: "";
  display: inline-block;
  height: var(--label-height);
  left: 0;
  position: absolute;
  top: 0;
  width: var(--label-width);
}

.hs-fieldtype-checkbox .dropdown-item label span:after {
  border: 2px solid;
  border-color: var(--background-color);
  border-left: 0;
  border-top: 0;
  color: var(--color-default);
  content: "";
  height: var(--space-16);
  left: var(--space-8);
  opacity: 0;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  transition: opacity .2s ease-in-out;
  width: var(--space-8);
}
.background[class*="background-light"] .hs-fieldtype-checkbox .dropdown-item label input:checked + span:before {
  background-color: var(--site-brand-color);
  border: 2px solid transparent;
}
.hs-fieldtype-checkbox .dropdown-item label input:checked + span:after {
  opacity: 1;
}

/* Dropdown pills variant */
.hs-fieldtype-checkbox .pills-variant {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.hs-fieldtype-checkbox .pills-variant .pill {
  display: flex;
  padding: 3px var(--space-8);
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  margin-bottom: 0;
  position: relative;
}
.hs-fieldtype-checkbox:has(.pills-variant) .dropdown-item label,
.hs-fieldtype-checkbox:has(.pills-variant) span.remove-icon {
  cursor: pointer;
}
.hs-fieldtype-checkbox .pills-variant .pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--site-text-dark);
  opacity: 0.05;
  pointer-events: none;
  border-radius: 5px;
}

@media (min-width: 1050px) {
  .hs-fieldtype-checkbox .dropdown-btn {
    padding: var(--space-16) var(--space-32);
  }
  .hs-fieldtype-checkbox .dropdown-btn.pills-variant:has(.pill) {
    padding: 13px var(--space-32);
  }
}

.background[class*="background-dark"] .hs-fieldtype-checkbox:has(.dropdown-btn) > *:not(label) {
  --site-text-color: var(--site-text-dark);
  color: var(--site-text-dark);
}

.background[class*="background-dark"] .pill,
.background[class*="background-dark"] .dropdown-list {
  color: var(--site-text-dark);
}

/* End MultiSelect dropdown styles - custom checkboxes & pills variant */
.webinar-form-hoc .kicker-text {
    color: #114F7E;
}
.webinar-form-hoc .section h2 {
    margin-bottom: var(--space-24);
}


/* Custom design webinar form */
.webinar-form-hoc .header-section .webinar-info-container {
    margin-bottom: var(--space-64);
}

.webinar-form-hoc .header-section .webinar-info-container .icon-wrapper {
    background-color: #FFD43D;
}

.webinar-form-hoc .header-section .webinar-info-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 48px;
    row-gap: 16px;
    margin-top: var(--space-32);
}
.webinar-form-hoc .header-section .webinar-info-container .info {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-16);
}
.webinar-form-hoc .header-section .webinar-info-container .info p {
    margin-bottom: 0;
}
.webinar-form-hoc .header-section .webinar-info-container .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--space-48);
    height: var(--space-48);
    border-radius: var(--space-48);
}
.webinar-form-hoc .header-section .webinar-info-container .icon-wrapper img {
    margin-left: 0;
    width: 25px;
}

/* video specific * /
 * 
 * 
/* Playbutton */
.webinar-form-hoc .video__container .button-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    background-color: #132A4E40;
}
.webinar-form-hoc .cta.-primary.-large.playbutton {
    background-color: #ffffff;
    border: #ffffff;
}
.webinar-form-hoc .cta.-primary.-large.playbutton:hover {
    background-color: #1CD9E9;
    border: #1CD9E9;
    background-image: unset;
}
.webinar-form-hoc .cta.-primary.-large.playbutton:focus {
    border: 4px solid black;
    outline: 2px solid white;
}
.playbutton::after {
    content: unset !important;
}
.webinar-form-hoc .video__container.start .button-wrapper,
.webinar-form-hoc .video__container.start .video-thumbnail-image {
    display: none;
}

/* If no text */
.webinar-form-hoc .playbutton.-playIconOnly {
    aspect-ratio: 1 / 1;
    border-radius: 128px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.webinar-form-hoc .playbutton.-playIconOnly svg {
    height: auto;
    aspect-ratio: 1 / 1;
}

@media screen and (max-width: 1599px) {
  .webinar-form-hoc .playbutton.-playIconOnly {
      width: 96px;
  }
  .webinar-form-hoc .playbutton.-playIconOnly svg {
      width: 32px;
      margin-left: 2px;
  }
}

@media screen and (min-width: 1600px) {
  .webinar-form-hoc .playbutton.-playIconOnly {
      width: 128px;
  }
  .webinar-form-hoc .playbutton.-playIconOnly svg {
      width: 44px;
      margin-left: 2px;
  }
}
.webinar-form-hoc .cta:after {
    content: unset;
}

.webinar-form-hoc .video__player {
}

.webinar-form-hoc .video-thumbnail-image {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    transition: 0.5s all ease-in-out;
}
.webinar-form-hoc .video-thumbnail-image img {
    height: 100%;
    max-height: unset;
    object-fit: cover;
}
.webinar-form-hoc .video__container {
    overflow: hidden;
    border-radius: 32px;
    position: relative;
}

/* Layout */

@media screen and (max-width: 1199px) {
    .webinar-form-hoc .content_container {
        display: flex;
        flex-direction: column; 
        gap: var(--space-64);
    }
}
@media screen and (min-width: 1200px) {
    .webinar-form-hoc {
        padding-top: 0;
    }
    /*
    .webinar-form-hoc .header-section,
    .webinar-form-hoc .section-form {
        padding-top: var(--block-padding-vertical);
    }
    */
    .webinar-form-hoc .content_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(100px, auto);
        align-items: start;
        column-gap: var(--space-96);
    }

    .header-section,
    .section-about,
    .section-agenda,
    .section-video {
        grid-column: 1;
        margin-bottom: var(--space-96);
    }

    .section-form {
        grid-column: 2;
        position: sticky;
        top: 0;
        align-self: start;
        margin-bottom: 0;
    }
}

/* Form section */
.webinar-form-hoc .section-form .form-wrapper {
    border: 1px solid #00000010;
    background-color: #FFFFFF;
    border-radius: var(--space-24);
}
@media screen and (max-width: 1199px) {
    .webinar-form-hoc .section-form .form-wrapper {
         padding: var(--space-24);
         --webkit-filter: drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.025));
         filter: drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.025));
    }

}
@media screen and (min-width: 1200px) {
    .webinar-form-hoc .section-form .form-wrapper {
         padding: var(--space-48);
         --webkit-filter: drop-shadow(0px 32px 48px rgba(0, 0, 0, 0.03));
         filter: drop-shadow(0px 32px 48px rgba(0, 0, 0, 0.03));
    }
}
.webinar-form-hoc div[class*="hs_LEGAL_CONSENT"] label span {
    font-size: 12px;
    line-height: 1.5 !important;
}
.webinar-form-hoc div[class*="hs_LEGAL_CONSENT"] .hs-form-required {
    position: absolute;
    top: 0;
    right: 0;
}
.webinar-form-hoc div[class*="hs_LEGAL_CONSENT"] .hs-form-required:before,
.webinar-form-hoc div[class*="hs_LEGAL_CONSENT"] .hs-form-required:after {
    content: unset;
}


/* Host section */
.webinar-form-hoc .webinar-hosts {
    display: flex;
    flex-flow: row wrap; /* Combining flex-direction and flex-wrap */
    column-gap: var(--space-48);
    row-gap: var(--space-16);
}
.webinar-form-hoc .webinar-hosts .host-wrapper {
    display: flex;
    flex-direction: row;
    gap: var(--space-16);
    align-items: center;
}
.webinar-form-hoc .webinar-hosts .avatar {
    width: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 72px;
    border: 1px solid #00000010;
}
@media screen and (max-width: 1199px) {
    .webinar-form-hoc .webinar-hosts .avatar {  
        height: 52px;
    }
}
@media screen and (min-width: 1200px) {
    .webinar-form-hoc .webinar-hosts .avatar {  
        height: 72px;
    }
}
.webinar-form-hoc .webinar-hosts .text-wrapper p:nth-child(1) {
    font-weight: 600;
    font-size: var(--text-large-size);
    margin-bottom: 0;
}
.webinar-form-hoc .webinar-hosts .text-wrapper p:nth-child(2) {
    font-size: var(--text-small-size);
    margin-bottom: 0;
}

/* Agenda section */
.webinar-form-hoc .section-agenda .agenda-item img {
    margin: 0;
}
@media screen and (max-width: 766px) {
    .webinar-form-hoc .section-agenda .agenda-list {
        display: flex;
        flex-direction: column;
        row-gap: var(--space-12);
    }
    .webinar-form-hoc .section-agenda .agenda-item {
        display: flex;
        flex-direction: row;
        gap: var(--space-24);
        align-items: start;
    }
}
@media screen and (min-width: 767px) and (max-width: 1199px) {
    .webinar-form-hoc .section-agenda .agenda-list {
        display: flex;
        flex-direction: column;
        row-gap: var(--space-12);
    }
    .webinar-form-hoc .section-agenda .agenda-item {
        display: flex;
        flex-direction: row;
        gap: var(--space-24);
        align-items: start;
        padding: var(--space-24);
        border: 1px solid #00000020;
        border-radius: var(--space-8);
    }
}
@media screen and (min-width: 1200px) {
    .webinar-form-hoc .section-agenda .agenda-list {
        display: flex;
        flex-direction: column;
        row-gap: var(--space-16);
    }
    .webinar-form-hoc .section-agenda .agenda-item {
        display: flex;
        flex-direction: row;
        gap: var(--space-24);
        align-items: start;
        padding: var(--space-32);
        border: 1px solid #00000020;
        border-radius: var(--space-8);
    }
}

.webinar-form-hoc .section-agenda .text-wrapper h3 {
    margin-bottom: var(--space-8);
}

/* Webinar hosts section */
@media screen and (max-width: 1199px) {
    .webinar-hosts .module-title {
        margin-bottom: var(--space-48);
    }
}
@media screen and (min-width: 1200px) {
    .webinar-hosts .module-title {
        margin-bottom: var(--space-64);
    }
}
@media screen and (max-width: 1199px) {
     .webinar-hosts .about-webinars-hosts {
        display: flex;
        flex-direction: column;
        row-gap: var(--space-24);
    }
    .webinar-hosts .about-webinars-hosts .host-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: var(--space-16);
        align-items: start;
        padding: var(--space-48);
        background-color: #ffffff;
        border-radius: var(--space-8);
    }
    .webinar-hosts .about-webinars-hosts .host-card .avatar-and-name {
        display: flex;
        flex-direction: row;
        gap: var(--space-32);
        align-items: center;
    }
    .webinar-hosts .host-card .avatar-wrapper img {
        height: var(--space-96);
    }
}
@media screen and (min-width: 1200px) {
    .webinar-hosts .about-webinars-hosts {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        column-gap: var(--space-48);
    }
    .webinar-hosts .about-webinars-hosts .host-card {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: var(--space-16);
        align-items: start;
        padding: var(--space-48);
        background-color: #ffffff;
        border-radius: var(--space-8);
    }
    .webinar-hosts .about-webinars-hosts .host-card div {
        width: 100%;
    }
    .webinar-hosts .host-card .avatar-wrapper img {
        height: var(--space-128);
    }
}
.webinar-hosts .host-card .about-host {
    margin-bottom: var(--space-24);
}
.webinar-hosts .host-card img {
    margin: 0;
}
.webinar-hosts .host-card .avatar-wrapper img {
    width: auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--space-128);
    border: 1px solid #00000015;
    object-fit: cover;
    margin-bottom: var(--space-32);
}
.webinar-hosts .host-card .host-name {
    font-weight: 600;
    margin-bottom: var(--space-8);
}


/* Background waves */
@media screen and (max-width: 1199px) {
    .webinar-form-hoc.visma-module-wrapper {
        display: block;
    }
    .webinar-form-hoc .header-section, 
    .webinar-form-hoc .section {
        padding-left: var(--block-padding-horizontal);
        padding-right: var(--block-padding-horizontal);
    }
    .webinar-form-hoc form {
        max-width: unset !important;
    }
}

/* Bugfix, introduced by menu fix */
@media screen and (min-width: 1200px) {
    .webinar-form-hoc {
        padding-top: 0 !important;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1599px) {
    .webinar-form-hoc .header-section,
    .webinar-form-hoc .section-form {
        padding-top: calc(9.6rem + var(--block-padding-vertical));
    }
}
@media screen and (min-width: 1600px) {
    .webinar-form-hoc .header-section,
    .webinar-form-hoc .section-form {
        padding-top: calc(11rem + var(--block-padding-vertical));
    }
}