/* Checkbox Fix */

.salesforce_w2l_lead .sf_type_checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.salesforce_w2l_lead .sf_type_checkbox label {
    color: rgb(153, 153, 153);
}

.salesforce_w2l_lead .sf_type_checkbox p {
    margin-top: 0px;
}

/*.salesforce_w2l_lead .sf_type_checkbox a {
    color: #0099ff;
}*/

/*
 * GENERAL SALESFORCE_W2L_LEAD CSS
 */

.w2lsubmit .bounce-button.qbutton:hover {
    background-color: #006eff;
    color: #ffffff;
}

.salesforce_w2l_lead input, .salesforce_w2l_lead .w2linput.textarea {
    font-family: 'PT Sans', sans-serif;
    font-size: 17px !important;
    line-height: 25px;
}

.salesforce_w2l_lead .w2linput.textarea {
    min-height: 9.2em;
}

@media only screen and (max-width: 1400px) {
    .salesforce_w2l_lead .w2linput.textarea {
        min-height: 5.4em;
        max-height: 5.4em;
    }
}

.w2lsubmit .submit {
    color: #ffffff;
    font-size: 17px;
    height: 60px;
    font-style: normal;
    font-weight: 400;
    background-color: #0099ff;
    -webkit-border-radius: 0px;
    letter-spacing: 0px;
    text-transform: none;
    padding-left: 40px;
    padding-right: 40px;
    border-width: 0px;
}
.w2lsubmit .submit {
    background: #0099ff;
    color: white;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 0px 40px;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.w2lsubmit .submit:hover {
    cursor: pointer;
    background-color: #07f;
    color: white;
}
.w2lsubmit .submit:active, .w2lsubmit .submit:focus {
    color: white;
}

.w2lsubmit .submit:active:before, .w2lsubmit .submit:hover:before, .w2lsubmit .submit:focus:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

/* HAS-FLOAT-LABEL ADJUSTMENTS */

.salesforce_w2l_lead input:not([type="submit"]), .salesforce_w2l_lead textarea {
    margin-top: 0.25em !important;
    padding: 15px .75em;
    border: 1px solid transparent !important;
    border-bottom: 1px solid #d8d8d8 !important;
    transition: border 0.3s;
    /*padding: 20px 15px;*/
}

.salesforce_w2l_lead input:not(:placeholder-shown), .salesforce_w2l_lead textarea:not(:placeholder-shown) {
    border: 1px solid #d8d8d8 !important;
}

.salesforce_w2l_lead input:focus, .salesforce_w2l_lead textarea:focus {
    border: 1px solid #d8d8d8 !important;
}

.salesforce_w2l_lead .sf_field label {
    background-color: white;
}

.salesforce_w2l_lead .sf_field {
    margin-top: 20px;
}

.salesforce_w2l_lead label sup {
    display: none;
}

.salesforce_w2l_lead .w2llabel, .w2linput {
    float: inherit !important;
}
.salesforce_w2l_lead label {
    width: auto !important;
    margin: 0 !important;
}

.salesforce_w2l_lead p {
    color: #999999
}

.salesforce_w2l_lead .error_message {
    bottom: 0;
    top: auto;
    left: .75em;
    background: white;
}
.salesforce_w2l_lead .sf_type_textarea .error_message {
    bottom: 8px;
    top: auto;
    left: .75em;
    background: white;
}

/* DIFFERENT FORM ADJUSTMENTS */

/* Light Theme Popup (Theme-3218) */

/*pum-theme-16482*/

.pum-theme-3218  ::placeholder,
.pum-theme-16482 ::placeholder {
    color: rgba(255, 255, 255, .5) !important;
}

.pum-theme-3218  .salesforce_w2l_lead input:not(:placeholder-shown), .whitepaperpopup_modal .salesforce_w2l_lead textarea:not(:placeholder-shown),
.pum-theme-16482 .salesforce_w2l_lead input:not(:placeholder-shown), .whitepaperpopup_modal .salesforce_w2l_lead textarea:not(:placeholder-shown){
    border: 1px solid white !important;
}

.pum-theme-3218  .salesforce_w2l_lead input:focus, .whitepaperpopup_modal .salesforce_w2l_lead textarea:focus,
.pum-theme-16482 .salesforce_w2l_lead input:focus, .whitepaperpopup_modal .salesforce_w2l_lead textarea:focus {
    border: 1px solid white !important;
}

.pum-theme-3218  .salesforce_w2l_lead input:not([type="submit"]), .whitepaperpopup_modal .salesforce_w2l_lead textarea,
.pum-theme-16482 .salesforce_w2l_lead input:not([type="submit"]), .whitepaperpopup_modal .salesforce_w2l_lead textarea {
    color: white;
    border-bottom: 1px solid white !important;
}

.pum-theme-3218  .salesforce_w2l_lead .sf_field label, .whitepaperpopup_modal .w2llabel:after,
.pum-theme-16482 .salesforce_w2l_lead .sf_field label, .whitepaperpopup_modal .w2llabel:after {
    opacity: 1;
    color: white;
    background-color: #0099ff !important;
}

.pum-theme-3218  .salesforce_w2l_lead .error_message, .pum-theme-3218 .salesforce_w2l_lead .error_message:after,
.pum-theme-16482 .salesforce_w2l_lead .error_message, .pum-theme-3218 .salesforce_w2l_lead .error_message:after {
    background: #0099ff;
}
.pum-theme-3218  .salesforce_w2l_lead .sf_type_textarea .error_message, .pum-theme-3218 .salesforce_w2l_lead .sf_type_textarea .error_message:after,
.pum-theme-16482 .salesforce_w2l_lead .sf_type_textarea .error_message, .pum-theme-3218 .salesforce_w2l_lead .sf_type_textarea .error_message:after {
    background: #0099ff;
}

/* Entfernen des Auto-Fill Buttons in Safari */
input::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

/*
 *
 * WPCF7
 *
 */
.wpcf7 p {
    font-family: 'PT Sans', sans-serif;
    font-size: 17px;
    line-height: 25px;
    color: black;
    font-weight: 400;
}
.wpcf7 ::placeholder {
    font-family: 'PT Sans', sans-serif;
    font-size: 17px;
    line-height: 25px;
    color: #999999;
    font-weight: 400;
}
.wpcf7 input::-webkit-input-placeholder, .wpcf7 input::placeholder, .wpcf7 input::-moz-placeholder, .wpcf7 input::-ms-input-placeholder, .wpcf7 textarea::-webkit-input-placeholder, .wpcf7 textarea::placeholder, .wpcf7 textarea::-moz-placeholder, .wpcf7 textarea::-ms-input-placeholder{
    font-family: 'PT Sans', sans-serif !important;
    font-size: 17px !important;
    line-height: 25px !important;
    color: #999999 !important;
    font-weight: 400 !important;
}
.wpcf7 input, .wpcf7 textarea {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 17px !important;
    line-height: 25px !important;
    color: black !important;
    font-weight: 400 !important;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
    outline: none !important;
    border:1px solid #d8d8d8 !important;
}
.wpcf7 input:not(:placeholder-shown), .wpcf7 textarea:not(:placeholder-shown) {
    border: 1px solid #d8d8d8 !important;
}
.wpcf7-textarea, .wpcf7-text {
    margin: 0 !important;
    /*padding: 20px 15px !important;*/
    padding: 15px .75em !important;
    border: 1px solid transparent !important;
    transition: border 0.3s;
    border-bottom: 1px solid #D8D8D8 !important;
    -webkit-border-radius: 0rem !important;
    -moz-border-radius: 0rem !important;
    border-radius: 0rem !important;
}
.input-space {
    margin-top: 20px;
}
.wpcf7 input[type="submit"] {
    border: none !important;
}

/* Checkbox (Acceptance) */
.wpcf7 input[type="checkbox"] {
    margin-top: 5px;
    display: block;
    float: left;
}
span.wpcf7-list-item {
    margin: 0 !important;
}
span.wpcf7-list-item-label {
    display: block;
    margin-left: 32px;
}

.wpcf7-maxsize {
    font-family: 'PT Sans', sans-serif;
    margin-top: -20px;
    margin-bottom: 20px;
    font-size: 14px;
}
.wpcf7 .ajax-loader {
    display: none !important;
}
.wpcf7-success-message-container {
    display: none;
    padding: 100px 50px 100px 50px;
}

/* Float-Label */
.has-float-label span  {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 14px;
    color: black;
    font-weight: 400 !important;
    pointer-events: none;
    -moz-osx-font-smoothing: grayscale;
}

.has-float-label input:placeholder-shown:not(:focus)+*, .has-float-label select:placeholder-shown:not(:focus)+*, .has-float-label textarea:placeholder-shown:not(:focus)+* {
    font-size: 17px;
    top: 20px;
    /*top: 25px;*/
}

/* Drop-Down */
.wpcf7 select {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 17px !important;
    line-height: 25px !important;
    font-weight: 400 !important;

    padding-right: 42px !important;
    margin-top: 0 !important;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* Remove default arrow */

    border-bottom: 1px solid #D8D8D8 !important;
    -webkit-border-radius: 0rem !important;
    -moz-border-radius: 0rem !important;
    border-radius: 0rem !important;

    background-color: #999999;
    background-image: url(https://wirsprecheninter.net.basecom-preview.de/wp-content/uploads/sites/4/2020/12/angle-down-light-1.svg);
    background-position: calc(100% - 14px) calc(15px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 25px 25px, 25px 25px, 1px 1.5em;
    background-repeat: no-repeat;
}
.wpcf7 select::-ms-expand {
    display: none; /* Hide the default arrow in Internet Explorer 10 and Internet Explorer 11 */
}
.wpcf7 select option:checked {
    color: black;
}

/* Flex */
.flex-container-540 {
    /*margin-top: 20px;*/
    display: flex;
    flex-wrap: wrap;
    flex-flow: column wrap;
    height: 540px;
}
.flex-container-620 {
    /*margin-top: 20px;*/
    display: flex;
    flex-wrap: wrap;
    flex-flow: column wrap;
    height: 620px;
}
.flex-module {
    /*flex: 1 0 40%;*/
    width: 47%;
    /*margin: 15px 0;*/
}
.wpcf7 .flex-submit {
    width: 100%;
    margin-top: 50px;
    padding-left: 0;
    padding-right: 0;
}
.wpcf7-submit.flex-submit input {
    color: white !important;
    border: none;
    padding-right: 40px !important;
    padding-left: 40px !important;
    text-align: center !important;
    width: auto !important;
}

/*.wpcf7-checkbox-container {
    margin-top: 30px;
}*/

.wpcf7-checkbox .wpcf7-list-item, .wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wpcf7-checkbox .wpcf7-list-item input, .wpcf7-acceptance .wpcf7-list-item input {
    margin: 0;
    position: unset !important;
    flex-shrink: 0;
}

.wpcf7-checkbox .wpcf7-list-item-label, .wpcf7-acceptance .wpcf7-list-item-label {
    color: #696969;
    margin-left: 0;
}

/* Kurzbewerbung-Radio */
.kb-popup-radio {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 17px !important;
    line-height: 25px !important;
    color: black !important;
    font-weight: 400 !important;
}
.kb-popup-radio-inner {
    margin-top: 5px;
}
.kb-popup-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    vertical-align: sub;
}
.kb-popup-radio input[type="radio" i] {
    margin-top: 5px;
    margin-right: 10px;
}

/* Newsletter Gender Radio */
.nl-gender-radio span.wpcf7-list-item-label {
    display: inline-block;
    margin-left: 8px;
    margin-right: 32px;
}

/* Drag & Drop Field */
.dadfield {
    display: flex;
    align-items: center;
    /*margin-top: 19px;*/
}
.dadfield p {
    margin-top: 0 !important;
    text-align: center;
}
.dadfield input {
    width: 100% !important;
    height: 200px !important;
    border: 2px dashed #D8D8D8 !important;
    padding-left: 42px !important;
}
.dadfield input[type="file"]::-webkit-file-upload-button {
    color: #0099ff;
    margin-top: 105px;
}
/* File Input Button Styling for Firefox */
.dadfield input[type="file"]::file-selector-button {
    color: #0099ff;
    margin-top: 105px;
}
.dadfield input[type="file"]::-ms-browse {
    background-color: #ffffff00;
    margin: 0px;
    padding: 0px;
    border: 0px;
}
.dadfield-inner {
    width: 100%;
    position: relative;
}
.dadfield-label {
    width: 100%;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Other */
.wpcf7-not-valid-tip {
    position: absolute;
    width: 250px;
    z-index: 1;
}
.wpcf7-response-output {
    font-family: 'PT Sans', sans-serif;
    color: red !important;
    background-color: white !important;
    border: 1px solid red !important;
    text-transform: none !important;
    padding: 20px 20px 20px 20px !important;
    letter-spacing: 0 !important;
}
.wpcf7-response-output:before {
    display: none
}
.popmake .success_message {
    font-family: 'PT Sans', sans-serif;
    font-size: x-large;
    display: inline-block;
    margin-top: 20px;
}
.popmake.theme-4 button.pum-close.popmake-close {
    font-size: 0;
}
.popmake.theme-4 button.pum-close.popmake-close:before {
    font-family: 'basecomicons';
    content: "\e905";
    font-size: 24px;
}

@media (max-width: 1200px) {
    .dadfield input {
        padding-left: 14px !important;
    }
}
@media (max-width: 1023px) {
    .dadfield input {
        padding-left: 46px !important;
    }
}
@media (max-width: 768px) {
    .dadfield input {
        padding-left: 14px !important;
    }
}
@media (max-width: 700px) {
    .dadfield input {
        padding-left: 0px !important;
    }
}
@media (max-width: 600px) {
    .flex-container, .flex-container-540 ,.flex-container-620 {
        display: flex;
        flex-wrap: wrap;

        height: 100% !important;
    }
    .flex-module {
        width: 100%;
    }
    .dadfield input {
        padding-left: 90px !important;
    }
}
@media (max-width: 500px) {
    .dadfield input {
        padding-left: 40px !important;
    }
}
@media (max-width: 400px) {
    .dadfield input {
        padding-left: 0px !important;
    }
}

/* Custom Select */
/* The container must be positioned relative: */
.custom-select {
    position: relative;
    font-family: Arial;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: transparent;
    white-space: nowrap;
    line-height: 25px;
    font-size: 17px;
    font-family: 'PT Sans', sans-serif;
    color: #818181;
    border-bottom: 1px solid #d8d8d8;
    padding: 15px;
    padding-right: 42px;
    overflow: hidden;

    background-image: url(https://wirsprecheninter.net.basecom-preview.de/wp-content/uploads/sites/4/2020/12/angle-down-light-1.svg);
    background-position: calc(100% - 14px) calc(15px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 25px 25px, 25px 25px, 1px 1.5em;
    background-repeat: no-repeat;
}

.select-selected.select-arrow-active {
    background-image: url(https://wirsprecheninter.net.basecom-preview.de/wp-content/uploads/sites/4/2021/01/angle-up-light-1-1.svg) !important;
    background-position: calc(100% - 14px) calc(15px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 25px 25px, 25px 25px, 1px 1.5em;
    background-repeat: no-repeat;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

.select-selected-inner {
    overflow: hidden;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: white;

    z-index: 99;
    margin-top: -2px;

    font-family: 'PT Sans', sans-serif;
    font-size: 17px;

    width: 416px;
    height: 360px;
    overflow: auto;
    color: black;
    border: 1px solid #d8d8d8;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.select-items::-webkit-scrollbar {
    -webkit-appearance: none;
    -moz-appearance:none;
    width: 5px;
}
.select-items::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .075);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.select-items div {
    padding: 15px;
    padding-left: 15px;
}
.select-items div:hover {
    color: #0099ff;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.same-as-selected {
    background-color: #f8f8f8;
    color: #0099ff;
}

.select-optgroup {
    color: #999999 !important;
    padding-left: 15px;
    padding-bottom: 10px;
}

#jobselect {
    display: none;
}

.float-label-box {
    border: 1px solid #d8d8d8;
    padding: 14px;
    padding-right: 42px;
    /*transition: border 0.3s;*/
}
@media(max-width: 1280px) {
    .select-items {
        width: 392px
    }
}

@media(max-width: 1200px) {
    .select-items {
        width: 368px;
    }
}

@media(max-width: 1023px) {
    .select-items {
        width: 416px
    }
}

@media(max-width: 900px) {
    .select-items {
        width: 374px;
    }
}

@media(max-width: 800px) {
    .select-items {
        width: 330px;
    }
}

@media(max-width: 768px) {
    .select-items {
        width: 315px;
    }
}

@media (max-width: 600px) {
    .select-items {
        width: 85vw;
    }
}

@media(max-width: 425px) {
    .select-items {
        width: 81vw;
    }
}

@media(max-width: 375px) {
    .select-items {
        width: 79vw;
    }
}

@media(max-width: 320px) {
    .select-items {
        width: 76vw;
    }
}
