/* CV-ketels onderhoudscontracten aanvraagformulier */

.cv-error {
    color: red !important;
    font-size: 14px;

}

.cv-succes {
    color: green;
    font-size: 14px;
    padding-top: 20px;
}


#aanvragen-cv-main {
    padding-left: 8%;
    padding-right: 8%;
    padding-top: 4%;
    padding-bottom: 4%;
}

#cv-form {
    width: 40%;
}

#cv-aanvragen-h1 {
    font-size: 2em;
    padding-bottom: 2%;
    color: #3f3f3f;
    justify-content: center;
}

#cv-form label {
    display: block;
    padding: 0px 0px 5px 0px;
    font-size: 18px;
    color: #3f3f3f;
}

#cv-form-section-1 input, #cv-form-section-1 textarea, #cv-form-section-1 select {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #bfc3c5;
    border-left: 2px solid #bfc3c5;
    color: #bfc3c5;
    padding: 2px;
    font-size: 16px;
    margin-bottom: 20px;
}


#cv-form-section-2 input, #cv-form-section-2 textarea {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #bfc3c5;
    border-left: 2px solid #bfc3c5;
    color: #bfc3c5;
    padding: 2px;
    font-size: 16px;
    margin-bottom: 20px;
}

#cv-form-algemene-voorwaarden {
    display: flex;
}

#cv-form-algemene-voorwaarden label {
    font-size: 18px;
    padding-left: 8px;
    padding-right: 8px;
}

#open-voorwaarden-button {
    color: red;
    font-size: 18px;
    font-weight: bold;
}

#open-voorwaarden-button:hover {
    color: darkred;
    cursor: pointer;
}

#cv-send-btn {
    border: 0;
    background-color: red;
    padding: 10px;
    color: white;
    margin-top: 20px;
    width: 150px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}

#cv-send-btn:hover {
    background-color: darkred;
}






/* Modal algemene voorwaarden */

/* Modal transparent overlay */
.modal-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

/* modal container */
#modal-container {
    display: none;
    position:fixed;
    top: 50%;
    left: 50%;
    z-index: 101;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    justify-content: center;
    text-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 20px 15px 20px 0px rgb(255 255 255 / 20%);
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    overflow-y: auto;
    margin-bottom: 20px;
}

.modal-container-content {
    margin: 40px;
    margin-bottom: 40px;
    text-align: justify;
}

/* fixed content */
.modal-container-content-no-scroll {
    margin: 28px;
    margin-bottom: 0px;
    display: flex;
    justify-content: right;
}

#modal-container-close-button {
    border: 0;
    background-color: red;
    padding: 10px;
    color: white;
    margin-top: 20px;
    width: 150px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}

#modal-container-close-button:hover {
    background-color: darkred;
}

/* 'scrollable' content */
.modal-container-content-scroll{
    position: absolute;
    width: auto;
    height: calc(100% - 140px);
    overflow-y: auto;
    margin: 10px 30px 30px 30px;
    padding: 0px 50px 0px 0px;
}



 ::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px #333; 
    border-radius: 10px;
}
    
::-webkit-scrollbar-thumb {
    background: rgba(51,51,51,0.8);
    opacity: 0.6;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(51,51,51,1);
}






.voorwaarden-section h2, .voorwaarden-section p, .voorwaarden-section li {
    font-family: Optima,Segoe,Segoe UI,Candara,Calibri,Arial,sans-serif; 
}

.voorwaarden-section h2 {
    font-size: 16px;
}

.voorwaarden-section h3 {
    font-size: 16px;
    padding-bottom: 4%;
}






@media only screen and (max-width: 1300px) {
    #cv-form{
        width: 100%;
    }

    #cv-form-section-1 input, #cv-form-section-1 textarea, #cv-form-section-1 select {
        width: 80%;
    }

    #cv-form-section-2 input, #cv-form-section-2 textarea {
        width: 80%;
    }
    
    .voorwaarden-section h2 {
        font-size: 12px;
    }
    
    .voorwaarden-section h3 {
        font-size: 12px;
        padding-bottom: 4%;
    }
    
    .voorwaarden-section h4 {
        font-size: 10px;
    }
    
    .voorwaarden-section p {
        font-size: 10px;
    }
}









@media only screen and (max-width: 600px) {
    /* form */
    #aanvragen-cv-main {
        padding-left: 10%;
        padding-right: 8%;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    
    #cv-form {
        width: 100%;
    }
    
    #cv-aanvragen-h1 {
        font-size: 1.5em;
        padding-bottom: 5%;
        
    }
    
    #cv-form label {
        display: block;
        padding: 0px 0px 5px 0px;
        font-size: 14px;
        color: #3f3f3f;
    }
    
    #cv-form-section-1 input, #cv-form-section-1 textarea, #cv-form-section-1 select {
        display: block;
        width: 90%;
        border: none;
        border-bottom: 2px solid #bfc3c5;
        border-left: 2px solid #bfc3c5;
        color: #bfc3c5;
        padding: 2px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    #cv-form-section-2 input, #cv-form-section-2 textarea {
        display: block;
        width: 90%;
        border: none;
        border-bottom: 2px solid #bfc3c5;
        border-left: 2px solid #bfc3c5;
        color: #bfc3c5;
        padding: 2px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    #cv-form-algemene-voorwaarden {
        display: flex;
    }
    
    #cv-form-algemene-voorwaarden label {
        font-size: 14px;
        padding-left: 4px;
        padding-right: 4px;
    }
    
    #open-voorwaarden-button {
        color: red;
        font-size: 14px;
        font-weight: bold;
    }
    
    #open-voorwaarden-button:hover {
        color: darkred;
        cursor: pointer;
    }
    
    #cv-send-btn {
        border: 0;
        background-color: red;
        padding: 6px;
        padding-bottom: 7px;
        color: white;
        margin-top: 20px;
        width: 100px;
        font-size: 14px;
        cursor: pointer;
        border-radius: 10px;
        transition: 0.3s;
    }
    /* modal algemene voorwaarden */
    #modal-container {
        width: 90%;
        height: 90%;
    }

    .modal-container-content-scroll {
        margin: 10px 10px 10px 10px;
    }

    .voorwaarden-section h2 {
        font-size: 14px;
    }

    .voorwaarden-section p {
        font-size: 12px;
    }

    .modal-container-content-no-scroll {
        margin: 0px;
    }

    #modal-container-close-button {
        margin-top: 0px;
        width: 100px;
        padding: 6px;
        padding-bottom: 7px;
        font-size: 14px;
    }
}







@media only screen and (max-width: 380px) {
    #cv-form label {
        font-size: 12px;
    }

    #cv-form-section-1 input, #cv-form-section-1 textarea, #cv-form-section-1 select {
        font-size: 12px;
    }

    #cv-form-section-2 input, #cv-form-section-2 textarea {
        font-size: 12px;
    }

    #open-voorwaarden-button {
        font-size: 12px;
    }

    #voorwaarden {
        width: 10px;
        height: 10px;
        margin-top: 3px;
    }

    .cv-error {
        font-size: 12px !important;
    
    }
    
    .cv-succes {
        font-size: 12px !important;
    }

    #cv-aanvragen-h1 {
        font-size: 1.2em;
    }
}





















