body {
    width: 100vw;
    height: 100vh;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    overflow: hidden;

    background-color: var(--primary);
}

.flex {
    display: flex;
    width: 100%;
}

.flex.row {
    flex-direction: row;
}

.flex.row > div {
    width: 100%;
    margin-right: 20px;
}

.flex.row > *:last-child {
    margin-right: 0;
}

.flex.column {
    flex-direction: column;
}

.contact {
    color: #fff;
    width: 100%;
    height: 100%;
    margin-left: 100px;
    margin-top: 100px;
    margin-right: 200px;
    box-sizing: border-box;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 15px;
    margin-top: 0;
    font-family: "segoe ui light";
}

p {
    font-size: 30px;
    font-family: "segoe ui light";
}

.form {
    width: 650px;
    height: 80%;
    flex-shrink: 0;
    padding: 30px;
    margin-right: 200px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 0 20px rgba( 0, 0, 0, 0.8);
    border-radius: 10px;
}

.form-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.field.large {
    width: 65%!important;
    flex-shrink: 0;
}

.space-bottom {
    margin-bottom: 20px;
}

.small-margin-bottom {
    margin-bottom: 5px;
}

:root {
    --primary: hsl(0, 31%, 44%);
}

.space {
    margin: 4px 0 4px 0
}

input, textarea, select {
    padding: 10px;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid var(--primary);
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    background-color: #f5f5f5;
}

input[type="checkbox"], input[type="radio"]
{
    width: auto;
}

input.error {
    background-color: #f6a4a4;
}

button {
    border: none;
    padding: 10px;
    width: 150px;
    border-radius: 10px;
    background-color: #529b4c;
    color: #fff;
    cursor: pointer;
}

.full-width {
    display: block;
    width: 100%;
}

.actions {
    text-align: center;

}

.check {
    position: relative;
    width: 50px!important;
    height: 24px;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 12px;
    background-color: #888;
    cursor: pointer;
}

.check > div {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #666;
    position: absolute;
    top: 2px;
    left: 2px;
}

.check > div:after {
    content: 'Non';
    position: absolute;
    left: 23px;
    top: 2px;
    color: #fff;
    font-size: 10px;
}



.check.checked {
    background-color: #529b4c;
}

.check.checked > div {
    background-color: #3c7037;
    left: 28px;
}

.check.checked > div:after {
    content: 'Oui';
    left: -21px;
}

.dialogs {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.dialog {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-form {
    padding: 30px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: "segoe ui light";
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.dialog-form h1 {
    text-align: left;
    font-size: 30px;
    font-family: "segoe ui light";
}

.dialog-form p {
    font-size: 20px;
}