
* { margin: 0; padding: 0; }

body { font-family: "Open Sans", Helvetica, Verdana, Arial, sans-serif; font-size: 0.9rem; background-color: rgba(111, 171, 165, 0.29); }

.container { max-width: 500px; margin: auto; }

h1 { margin: 20px 0; text-align: center; font-weight: normal; }
h2 { margin-top: 0px; margin-bottom: 5px; font-weight: normal; }
h3 { margin-top: 10px; }

.wrapper { text-align: center; background-color: #6faca6; padding: 10px; }

.form-row { margin: 15px 0; }
.form-errors { padding: 0; list-style:none; margin-bottom: 3px; }

.error {
    color: red;
}

.form-checkbox {
    position:absolute;
    margin-left: 0;
    width: 15px;
}

label {
    font-size: 0.9rem;
}

select,
textarea,
input {
    font-size: 1.2rem;
    font-family: inherit;
    padding: 8px 5px;
    border: 1px solid #CCC;
    border-radius: 5px;
    margin-top: 5px;
    width: 100%;
}

#residence_campingType {
   width: 30%;
}




.person {
    background-color: #FFF;
    border: 2px solid #6faca6;
    border-radius: 5px;
    padding: 15px;
    max-width: 650px;
    margin: 0 auto;
    margin-bottom: 10px;
}



.person div p {
    margin: 0;
    display: inline-block;
}

.person div {
    margin: 0;
    margin-right: 10px;
}

.person div p:first-child {
    font-weight: bold;
}

.person .person-cursus,
.person .person-menu {
    display: inline-block;
}

.person .info-wrapper .person-birthdate,
.person .info-wrapper .person-gender,
.person .info-wrapper .person-arrangement {
    display: block;
}

button { background-color: #6faca6; border: 2px solid #6faca6; font-size: 1.2rem; font-family: inherit; padding: 10px 15px; border-radius: 5px; color: white; }
button:hover { cursor: pointer; background-color: #D5E7E5; color: #6faca6; }

.page-links { display: flex; justify-content: space-between; max-width: 760px; margin: 10px auto; }
.page-links a { background-color: #6faca6; border: 2px solid #6faca6; font-size: 1rem; text-decoration: none; padding: 10px; border-radius: 5px; color: white; margin-right: 10px; }
.page-links a:last-child { margin-right: 0px; }
.page-links a:hover { background-color: #D5E7E5; color: #6faca6; }

.form-choice-label {
    display: block;
    margin-bottom: 10px;
    line-height: 20px;
}

.form-integer,
.form-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
}


.person-overview {
    margin-bottom: 20px;
}

.person-overview-person {
    margin-bottom: 10px;
}

.person-overview-person h3 {
    margin: 0px;
}

.person-overview-person p {
    margin: 0px;
}

.residence-overview {
    margin-bottom: 20px;
}

.residence-overview p {
    margin: 0px;
}

.details-overview {
    margin-bottom: 20px;
}

.details-overview p{
    margin: 0px;
}

.login-form {
    max-width: 300px;
    margin: auto;
}

label {
    font-size: 1.2rem;
}

.form-radio-option label {
    font-size: 1.4rem;
}

.form-radio-option input {
    width: unset;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin: 12px 0;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkbox-container .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #6faca6;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* The container */
.form-radio-option {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.form-radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    border: 2px solid #6faca6;
}

/* On mouse-over, add a grey background color */
.form-radio-option:hover input ~ .radio-checkmark {
    background-color: #6faca6;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .radio-checkmark {
    background-color: #6faca6;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.form-radio-option:after {
    content: "";
    position: absolute;
    display: none;
    }

/* Show the indicator (dot/circle) when checked */
.form-radio-option input:checked ~ .radio-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.form-radio-option .radio-checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.edit-person-link,
.week-wrapper a {
    text-decoration: none;
    color: black;
}

.edit-person-link:hover div {
    background-color: #E0E0E0;
}

.week-wrapper a:not(:last-child) div {
    margin-bottom: 10px;
}

.week-wrapper a .week { border: 2px solid #6faca6; border-radius: 5px; padding: 15px; max-width: 650px; margin: 10px auto; }
.week-wrapper a:hover .week { background-color: #6faca6; color: #FFF; }
.week-wrapper a .week.week-unavailable { background-color: #E0E0E0; border-color: #999; cursor: not-allowed; }
.week-wrapper a:hover .week.week-unavailable { background-color: #E0E0E0; border-color: #999; color: #000; }

#person_birthdate {
    display: flex;
    justify-content: space-between;
}

.house-info {
    display: flex;
}

.house-info div:first-child {
    width: 80%;
    margin-right: 8px;
}

.house-info div:last-child {
    width: 100px;
}

#residence_accommodation {
    margin-top: 20px;
}

#accommodation-header-label {
    font-size: 1.2rem;
}

