.cta-popup-button-form {
    position: fixed;
    top: 60%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background: #414141;
    padding: 3rem;
    z-index: 9999;
    -webkit-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
    opacity: 0;
    visibility: hidden;
    -webkit-box-shadow: 0 0 20px #00000045;
            box-shadow: 0 0 20px #00000045;
    height: 95%;
/*     overflow: scroll; */
}

.popup--active .cta-popup-button-form {
    opacity: 1;
    visibility: visible;
    top: 50%;
}

.popup--active {
    overflow: hidden;
}

.cta-popup-button-form h3, .cta-popup-button-form p {
  color: #fff;
}

.cta-popup-button-form h3 {
  margin-bottom: 1.5rem;
}

.close-form {
    position: absolute;
    right: 20px;
    top: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.cta-popup-button-form .legal-consent-container {
    padding: 0 10px;
}

.cta-popup-button-form .legal-consent-container p, .cta-popup-button-form .legal-consent-container .hs-richtext {
    font-size: 12px !important;
    color: #fff;
}

.cta-popup-button-form input, .cta-popup-button-form textarea, .cta-popup-button-form select {
    background-color: transparent !important;
    border: solid #fff 2px;
    color: #fff !important;
}

.cta-popup-button-form label {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 25px;
    color: #fff;
    opacity: 0.6;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    background: #414141;
    z-index: 3;
}

.cta-popup-button-form .hs-fieldtype-textarea label {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    top: 10px;
}

.cta-popup-button-form fieldset .hs-form-field {
    position: relative;
}

.cta-popup-button-form label, 
.cta-popup-button-form label, 
.cta-popup-button-form .hs-fieldtype-select>label, 
.cta-popup-button-form .hs-fieldtype-textarea>label {
    top: 0px;
    font-size: 16px;
    opacity: 1;
    padding: 0 0.2rem;
}

.cta-popup-button-form label.hs-error-msg {
    position: absolute;
    top: auto;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    bottom: -21px;
    font-size: 11px;
    background: none;
    opacity: 1;
    padding-left: 0;
    left: 10px;
}

.cta-popup-button-form .hs-error-msgs.inputs-list li {
    margin: 0;
}

.cta-popup-button-form input:-webkit-autofill,
.cta-popup-button-form input:-webkit-autofill:hover, 
.cta-popup-button-form input:-webkit-autofill:focus,
.cta-popup-button-form textarea:-webkit-autofill,
.cta-popup-button-form textarea:-webkit-autofill:hover,
.cta-popup-button-form textarea:-webkit-autofill:focus,
.cta-popup-button-form select:-webkit-autofill,
.cta-popup-button-form select:-webkit-autofill:hover,
.cta-popup-button-form select:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0px 1000px #414141 inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

.cta-popup-button-form .hs-fieldtype-textarea>label {
    top: -9px;
}

.cta-popup-button-form .hs-fieldtype-textarea textarea::-webkit-input-placeholder {
    color: #fff;
    opacity: 0.6;
}

.cta-popup-button-form .hs-fieldtype-textarea textarea::-moz-placeholder {
    color: #fff;
    opacity: 0.6;
}

.cta-popup-button-form .hs-fieldtype-textarea textarea:-ms-input-placeholder {
    color: #fff;
    opacity: 0.6;
}

.cta-popup-button-form .hs-fieldtype-textarea textarea::-ms-input-placeholder {
    color: #fff;
    opacity: 0.6;
}

.cta-popup-button-form .hs-fieldtype-textarea textarea::placeholder {
    color: #fff;
    opacity: 0.6;
}

.cta-popup-button-form select {
    background-image: url(https://4364330.fs1.hubspotusercontent-na1.net/hubfs/4364330/Training%20Courses%20Module/expand_more_white_24dp.svg);
    background-repeat: no-repeat;
    background-position: right 12px center;
    -webkit-appearance: none;
}

.cta-popup-button-form input.hs-button.primary.large {
    padding: 18px 30px;
    background: var(--orange) !important;
    border-color: var(--orange);
}

.cta-popup-button-form input.hs-button.primary.large:hover {
    background: transparent !important;
}

.cta-popup-button-form textarea {
    padding-top: 1rem;
}

.cta-popup-button-blogmode {
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .cta-popup-button-form {
      padding: 2rem;
      width: 80%;
  }
}

@media (max-height: 900px) {
  .cta-popup-button-form {
    overflow: scroll;
}
}

@media (max-width: 767px) {  
 .cta-popup-button-form {
      padding: 2rem;
      width: 95%;
  }
}