/*
 Theme Name:     Childe-Theme
 Theme URI:      https://ruhrdeichgruppe.de
 Description:    RDG Child-Theme
 Author:         MZDN
 Author URI:     https://ad-emotion.marketing
 Template:       Divi
 Version:        1.0.0
*/

:root {
    --rdg: #7fb741;
}

.fieldset-cf7mls {
    text-align: center;
    max-width: 980px;
    margin: auto;
}

.flex-this {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

button.custom-first-btn.custom-next {
    float: unset;
    margin-right: 1rem;
}

button.custom-first-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 180px;
    background-color: var(--rdg);
    cursor: pointer;
    color: #fff;
    border-radius: 10px;
    border: none;
    transition: .15s ease-in;
}

button.custom-first-btn:hover {
    transform: scale(1.05);
}

button.custom-first-btn i {
    font-size: 50px;
    margin-bottom: 1rem;
}

fieldset[data-cf7mls-order="0"] .cf7mls-btns {
    display: none !important;
}
.cf7mls-btns.cf7mls-btns-last-step .wpcf7-spinner{
    display:none;
}
input.wpcf7-form-control.wpcf7-text{
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 1rem;
}
.customcheckbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.customcheckbox .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    width: 49%;
    margin: 0 0 1em 0;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: left;
}

.customcheckbox .wpcf7-list-item label {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

/* custom checkbox styling for contact form 7 checkbox */

.wpcf7-checkbox label {
    position: relative;
    cursor: pointer;
}

.wpcf7-checkbox input[type=checkbox] {
    /*position: relative;*/
    position: absolute;
    visibility: hidden;
    width: 100%;
    height: 100%;
}

.wpcf7-checkbox input[type=checkbox] + span:before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 0;
    height: 30px;
    width: 30px;
    top: 0px;
    bottom: 0px;
    margin: auto;
    left: 10px;
    border: 1px solid var(--rdg);
    background: #fff;
    border-radius: 10px;
}

.wpcf7-checkbox input[type=checkbox] + span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 32px;
    width: 32px;
    top: 0;
    bottom: 0px;
    margin: auto;
    left: 10px;
    color: #fff;
    visibility: hidden;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
    background: var(--rdg);
    border-radius: 10px;
}

.wpcf7-checkbox input[type=checkbox]:checked + span:before {
    background: transparent;
}

.wpcf7-checkbox input[type=checkbox]:checked + span:after {
    visibility: visible;
}

.customcheckbox .wpcf7-list-item-label {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-left: 40px;
}

input[type="checkbox"]::before {
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    color: var(--rdg);
    font-family: 'FontAwesome';
    visibility: visible;
    display: flex;
    align-items: center;
    font-size: 25px;
    cursor: pointer;
}

input[type="checkbox"][value="Bessere Bezahlung"]::before {
    content: '\f53b';
}

input[type="checkbox"][value="Weiterentwicklungs- und Karrierechancen."]::before {
    content: '\f508';
}

input[type="checkbox"][value="Ein moderner Arbeitsplatz mit tollen Kolleg:innen."]::before {
    content: '\f109';
}

input[type="checkbox"][value="Mehr Wertschätzung und Anerkennung."]::before {
    content: '\f2b5';
}

input[type="checkbox"][value="Mehr Zeit für die Familie."]::before {
    content: '\e537';
}

input[type="checkbox"][value="Pünktlich Feierabend, ohne unnötige Überstunden."]::before {
    content: '\f64a';
}

span.wpcf7-form-control.wpcf7-radio.customcheckbox {
    flex-direction: column;
    align-items: center;
}

.steps .absenden{
    display: none;
}
.wpcf7-submit.absenden{
    border: none;
    background: var(--rdg);
    color: #fff;
}
.cf7mls-btns{
    display: flex !important;
    justify-content: center;
}
.cf7mls_next.action-button{
    background-color: var(--rdg);
}
button[name="cf7mls_back"]{
    margin-right: 1em !important;
}
.nnm-wpcf7-radio {
    display: flex;
    flex-direction: column;
    padding: 8px 9px;
    font-size: 15px;
}

.nnm-wpcf7-radio .wpcf7-list-item {
    position: relative;
    margin: auto;
    margin-bottom: 1em;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 75%;
}
.nnm-wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label{
    display: block;
    padding: 15px 20px;  
    background: #f8f9fa;
}
.nnm-wpcf7-radio .wpcf7-list-item label {
    margin: 0;
    padding: 0;
}

.nnm-wpcf7-radio .wpcf7-list-item-label::before {
    position: absolute;
    left: 25px;
    width: 20px;
    height: 20px;
    content: "";
    background: #fff;
    border: 1px solid var(--rdg);
    border-radius: 100%;
    top: 0px;
    bottom: 0px;
    margin: auto;
}

.nnm-wpcf7-radio .wpcf7-list-item-label::after {
    font-family: 'FontAwesome';
    position: absolute;
    left: 26px;
    font-size: 15px;
    color: #fff;

}

.nnm-wpcf7-radio input {
    position: absolute;
    visibility: hidden;
}

.nnm-wpcf7-radio input:checked + .wpcf7-list-item-label::after {
    content: "\f00c";
    background: var(--rdg);
    width: 20px;
    height: 20px;
    border-radius: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
}

@media screen and (max-width: 600px) {
    .nnm-wpcf7-radio .wpcf7-list-item {
        width: 100%;
    }
    .customcheckbox .wpcf7-list-item {
        width: 100%;
    }

    .flex-this {
        flex-wrap: wrap;
    }

    button.custom-first-btn.custom-next {
        margin-right: 0px;
        margin-bottom: 1rem;
    }
}


/****SWEETWATER****/


span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio{
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    gap: 7px;
    max-width: 100%;
    border: 1px solid transparent;
    border-radius: 5px;
    width: 100%;    
}

span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio .wpcf7-list-item{
    margin: 0;
}
span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio .wpcf7-list-item label{
    grid-column: span 1;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 5px;
    display: flex;
    height: 48px;
    -webkit-box-pack: center;
    justify-content: center;
    cursor: pointer;
}
span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio .wpcf7-list-item input{
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #E5E5E5;
    transition: .2s ease-in;
}

span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label:hover{
    border: 1px solid #7fb741;
}
span.wpcf7-form-control-wrap[data-name="schuhgroesse"] .wpcf7-radio .wpcf7-list-item input:checked + .wpcf7-list-item-label{
    border: 1px solid #5a8927;
    background: #7fb741;
    color: #fff;
}