/* FORMS */
.form-thanks {
    background: var(--confirm);
    color: var(--background);
    padding: 30px;
    max-width: 500px;
    border-radius: 3px;
}
.form-thanks p {
    margin-bottom: 0!important;
}
/*.content p + .form {
    margin-top: 40px;
}*/
.content .form {
    width: 100%;
    margin-top: 20px;
}
body.__power .content .form {
    margin-top: 90px;
}
@media screen and (max-width: 1200px) {
    body.__power .content .form {
        margin-top: 30px;
    }
}
.content .form h2 {
    padding-bottom: 0;
    margin-bottom: 20px;
    position: relative;
}
.content .form form {
    width: 100%;
    position: relative;
}
.content .form form .field {
    padding-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.content .form form .field label {
    /* label */
    display: none;
}
.content .form form .field label.checkbox {
    /* checkbox */
}
.content .form form .field.radio label, 
.content .form form .field.checkbox label,
.content .form form .field.checkboxes label {
    display: flex;
    flex-direction: row;
}
.content .form form .field.radio label span, 
.content .form form .field.checkbox label span,
.content .form form .field.checkboxes label span {
    width: calc(100% - 25px);
}
.content .form form input[type=text],
.content .form form input[type=time],
.content .form form input[type=date],
.content .form form textarea, 
.content .form form select {
    font-family: inherit;
    font-size: 1em;
    color: inherit;
    border: 0px solid #d5d5d5;
    background-color: var(--accents);
    color: var(--main);
    width: 100%;
    margin-top: 3px;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px;
    padding-bottom: 12px;
    -webkit-appearance: none;
}
/*.row.row-content:nth-of-type(even) .content .form form input[type=text],
.row.row-content:nth-of-type(even) .content .form form textarea,*/

.row.normalpage .content .form form input[type=text],
.row.normalpage .content .form form textarea {
    background-color: var(--background);
    color: var(--main);
    border-color: #d5d5d5;
}
.content .form form select {
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    border: 0px;
}
.content .form form select {
	background-image: url('../../images/icons/arrow-dropdown.svg');
}
.content .form form input.timepicker,
.content .form form input.datepicker {
	width: 100%!important;
	box-sizing: border-box!important;
	display: block;
	background: var(--accents);
    font-family: inherit;
    font-size: inherit!important;
    color: inherit;	
    height: 45px;
}
.content .form form textarea {
    min-height: 120px;
    max-height: 120px;
    max-width: 100%;
    resize: none;
    line-height: 1.4;
    padding-right: 15px;
}

body.__contact .content .form form textarea {
    min-height: 330px;
    max-height: 330px;  
}  
.content .form form input[type=checkbox],
.content .form form input[type=radio] {
    width: auto;
    padding: 0;
    margin: 0;
    border: none;
    margin-right: 5px;
    margin-top: 0px;
    height: 20px;
    width: 20px;
    border: 0px;
    background: var(--accents);
    margin-right: 10px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transform: translateY(6px); 
}
.content .form form input[type=radio] {
    border-radius: 20px;
}
.content .form form input[type=checkbox]:checked,
.content .form form input[type=radio]:checked {
    background-image: url('../../images/icons/checkmark.svg');
    background-size: 12px 12px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.content .form form .field.header {
    margin-top: 10px;
}
.content .form form br {
    display: none;
}
.content .form form label.error {
    display: inline-block;
    color: var(--background);
    width: auto;
    padding: 12px 12px;
    line-height: 1;
    border-radius: 3px;
    font-size: 0.8em;
    position: absolute;
    right: 1em;
    top: -20px;
    background-color: var(--error);
}
.content .form form label.error.checked {
    color: var(--primarycta);
    background-image: url('../../images/icons/form-checkmark.svg');
    background-repeat: no-repeat;
    background-size: 16px 16px;    
    width: 26px;
    padding-right: 0;
    background-position: 50% 50%;
    background-color: var(--confirm);
}
.content .form form label.error:after {
    content: "";
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--error);
    position: absolute;
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}
.content .form form label.error.checked:after {
    border-top-color: var(--confirm);
}


/*.content .form div.field.bc {*/
form div.field.bc{
    display: none!important;
}
.content .form form .btn.submit {
    margin-top: 10px;
}
.field.origin {
    display: none!important;
}


/* file upload ** BETA
.content .form form .field.fileupload label.error {
    visibility: hidden;
}
.content .form form input[type=file] {
    margin-top: 5px;
    color:  transparent;
    font-family: inherit;
    font-size:  inherit;
    line-height: 1;
}
.content .form form input[type=file]::-webkit-file-upload-button {
    visibility: hidden;
}
.content .form form input[type=file]::before {
    content: 'Selecteer bestand';
    display: inline-block;
    border: 0px;
    border-radius: 2px;
    padding: 10px;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    color: var(--main);
    background-color: var(--accents);
    text-shadow: none;
}
.content .form form input[type=file].valid::before {
    content: 'Selecteer bestand ✓ ';
    color:  var(--background);
    background:  var(--primarycta);
}*/
.content .form form input[type=file] {
    -webkit-appearance: none;
    margin-top: 7px;
}
.content .form form input[type=file],
.content .form form input[type=file]::-webkit-file-upload-button {
    font-family: inherit;
    font-size: inherit;
    -webkit-appearance: none;

}
.content .form form input[type=file]::-webkit-file-upload-button {
    border:  0;
    padding:  10px;
    margin-right: 15px;
    cursor: pointer;
    color: var(--main);
    background-color: var(--accents);
    border-radius: 2px;   
}
input[type=file]::-ms-browse {
    color:  #f00;
}


/* ACTION BUTTONS */
.content .form .buttons {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}
.content .form .buttons a {
    display: flex;
    align-items: center;
}
.content .form .buttons a strong {
    font-weight: 400;
}
.content .form .buttons a .icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}
.content .form .buttons a .icon svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: var(--main);
}

/* VERSION IN CHAT -- ACTION BUTTONS */
.chat-cta .form .buttons {
    position: absolute;
    left: 24px;
    bottom: -35px;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    margin-top: 0;
}
.chat-cta .form .buttons span {
    display: none;
}
.chat-cta .chat-cta-form .buttons svg {
    fill: #ccc;
    display: block;
    width: 30px;
    height: 30px;
}
.chat-cta .chat-cta-form .buttons svg:hover {
    fill: #000;
}


@media screen and (max-width: 1000px) {

    /* FORMS */
    .content .form form input[type=checkbox],
    .content .form form input[type=radio] {
        transform: translateY(6px);
    }


    .content .form {
        flex-direction: column;
        width: 100%;
        row-gap: 30px;
    }

    /*.content .form h2 {
        font-size: 1.2em;
    }*/

    .content .form .form-col.form-cta,
    .content .form .form-col.form-body {
        width: 100%;
        order: 1;
    }
    .content .form .form-col.form-cta {
        display: flex;
        align-items: flex-start;
        order: 0;
    }
    .content .form .form-col.form-cta .form-cta--info {
        padding: 30px;
        width: 60%;
        margin-top: 30px;
    }
    .content .form .form-col.form-cta .form-cta--image {
        width: 40%;
        margin: 0;
    }
    .content .form .form-col.form-cta img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .content .form form input[type=text],
    .content .form form input[type=time],
    .content .form form input[type=date],
    .content .form form textarea, 
    .content .form form select {
        font-size: inherit;
    }


    body.__contact .content .form form textarea {
        min-height: 320px;
        max-height: 320px;  
    }  


}