html {
    margin: 0;
    padding: 0;
    overflow-y: scroll;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
}

p, li, label { line-height: 180%; }
p, ul, ol { margin: 0 0 1em 0; }
img { border: 0 }

.header {
    height: 140px;
    background: url('/static/caritas_logo.png') 20px 20px no-repeat;
    border-bottom: #e30613 solid 8px;
    position: relative;
}

.hoofdtitel {
    position: absolute;
    top: 64px; right: 20px;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: bold;
}

#loginheader {
    position: absolute;
    top: 20px; right: 20px;
    line-height: 1;
}

#loginheader a {
    color: black;
    text-decoration: none;
}

#loginheader a:hover {
    color: #e30613;
    text-decoration: underline;
}

#headermenu {
    position: absolute;
    bottom: 0; right: 12px;
    line-height: 1;
}

#headermenu a {
    color: black;
    text-decoration: none;
    display: inline-block;
    padding: 6px 12px;
    margin: 0 0 0 8px;
}

#headermenu a:hover {
    color: white;
    background-color: #e30613;
}

.content {
    padding: 28px;
}

h1 {
    color: #e30613;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 .7em 0;
}

h2 {
    color: #444;
    font-size: 1.7rem;
    font-weight: bold;
    margin: 1.5em 0 0.7em 0;
}

h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 1.2em 0 0.7em 0;
}
h3.samenvatting { color: #e30613 }

div.footer {
    padding: 16px 20px;
    margin: 0;
    color: white;
    background-color: #e30613;
}

div.footer p {
    text-align: right;
    margin: 0;
}

a { color: #e30613; text-decoration: none; }
a:hover { color: #e30613; text-decoration: underline; }

div.footer a { color: white; text-decoration: underline; }
div.footer a:hover { color: black; }

div.knoppen_links { text-align: left; margin: 2rem 0; position: relative; }
div.knoppen_midden { text-align: center; margin: 2rem 0; position: relative; }
div.knoppen_rechts { text-align: right; margin: 2rem 0; position: relative; }
div.knoppen_floatlinks { float: left; }
div.knoppen_floatrechts { float: right; }
div.knoppen_links a, div.knoppen_midden a, div.knoppen_rechts a, div.knoppen_floatlinks a, div.knoppen_floatrechts a {
    display: inline-block;
    font-weight: bold;
    background-color: #777;
    color: white;
    text-decoration: none;
    transition-duration: .25s;
    padding: .5rem 1rem;
}
div.knoppen_rechts a, div.knoppen_floatlinks a, div.knoppen_floatrechts a, div.knoppen_midden a:not(:first-child) {
    margin: 0 0 0 1em;
}

div.knoppen_links a:hover, div.knoppen_midden a:hover, div.knoppen_rechts a:hover, div.knoppen_floatlinks a:hover, div.knoppen_floatrechts a:hover {
    background-color: #e30613;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    border: 0;
}

table.gegtabel { width: 100%; clear: both; margin-bottom: 2rem; }
table.gegtabel td, table.gegtabel th { padding: 6px 8px; text-align: left; }
table.gegtabel tbody tr:nth-child(odd) { background-color: #EEEEEE; }
table.gegtabel tbody tr:nth-child(even) { background-color: white; }
table.gegtabel tbody tr { border-bottom: solid #DDDDDD 1px; }
table.gegtabel thead tr { border-bottom: solid #DDDDDD 2px; }

table.gegtabel thead tr .header {
	background-image: url('/static/sort_both.gif');
	background-repeat: no-repeat;
	background-position: center left;
	cursor: pointer;
    padding-left: 20px;
}

table.gegtabel thead tr .headerSortUp {
	background-image: url('/static/sort_asc.gif');
}

table.gegtabel thead tr .headerSortDown {
	background-image: url('/static/sort_desc.gif');
}

table.bewerktabel { margin: 1em auto; width: 100%; }

table.bewerktabel td, table.bewerktabel th {
    padding: 12px 12px;
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
}

table.zoektabel { margin: 0 auto; }
table.zoektabel > tbody > tr > td, table.zoektabel > tbody > tr > th { padding: 8px 40px 8px 0; vertical-align: middle; text-align: left; }
table.zoektabel > tbody > tr > td:last-child { padding-right: 0; }
table.zoektabel > tbody > tr > th { padding-right: 20px; }
table.zoektabel > tbody > tr > td > input[type=text] { width: 240px; }

input[type=text], input[type=password], input[type=number], input[type=email], textarea {
    padding: 5px 8px;
}

input[type=text], input[type=password], input[type=number], input[type=email], textarea, select {
    width: 480px;
    font-family: monospace;
    font-size: 18px;
    border: solid gray 1px;
}

input[type=text].ui-spinner-input {
    width: 60px !important;
    outline: none;
}

table.bewerktabel tr:first-child { border-top: solid #DDDDDD 1px; }
table.bewerktabel tr { border-bottom: solid #DDDDDD 1px; }

table.enrolltabel { margin: 1em 0; }
table.enrolltabel > tbody > tr > th { min-width: 140px; }
table.enrolltabel > tbody > tr > th { padding: 12px 24px 12px 0; }
table.enrolltabel > tbody > tr > td { padding: 12px 0; }

table.enrolltabel > tbody > tr > td, table.enrolltabel > tbody > tr > th {
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
}

table.keuzetabel td { padding: 0 1em 0 0; margin: 0; vertical-align: top; }
table.keuzetabel tr td:last-child { padding-right: 0; }
table.keuzetabel label { display: block; margin: 0 0 .5em 0; }

#vw_gegevens_1 {
    width: 720px;
    padding: 0 20px 0 0;
}

#vw_gegevens_2 {
    min-width: 280px;
    padding: 0;
}
#id_vervoermiddelen_ter_beschikking { margin: 0; padding: 0; list-style-type: none; display: block; }
#id_vervoermiddelen_ter_beschikking li { display: block; margin: 0; padding: 0; }

table.beschikbaarheid_weergave { margin: .5em 0; }
table.beschikbaarheid_weergave tr td { padding: .5em; text-align: center; border-style: solid; border-width: 0 1px 1px 0; border-color: #ccc; }
table.beschikbaarheid_weergave tr td:first-child { text-align: left; }

ul.errorlist { color: red; margin: 0; }

p.highlight {
    background: #faa91a url('/static/info-icon.png') 24px center no-repeat;
    color: black;
    padding: 16px 8px 16px 72px;
    margin: 0 0 24px 0;
}

p.highlight.error { background-color: #FF9F9F; }

.wizardtabel > tbody > tr > td { vertical-align: top; }
.wizardtabel > tbody > tr > td:first-child { padding: 0 1em 0 0; white-space: nowrap; }
.wizardtabel > tbody > tr > td:last-child { padding: 0 0 0 2em; border-left: solid 1px #ccc; width: 90%; }
.wizardtabel > tbody > tr > td:first-child ul { list-style-type: none; margin: 0; padding: 0; }
.wizardtabel > tbody > tr > td:first-child li { margin: 0 0 .5em 0; padding: .3em .4em .3em .6em; font-weight: bold; color: #777; }
.wizardtabel > tbody > tr > td:first-child li.active { color: white; background-color: #e30613; }

#id_geboortedatum { width: 120px; background-color: white; }
#id_geslacht { margin: 0; padding: 0; list-style-type: none; }
#id_geslacht li { list-style-type: none; display: inline-block; margin: 0 2em 0 0; padding: 0; }
#id_tel1, #id_tel2 { width: 200px; }
#id_woonplaats_belgie_of_ander_land, #id_woonplaats_belgie_of_ander_land li { margin: 0; padding: 0; list-style-type: none; }
.enkel_voor_belgie { display: none; }
#id_postcode { width: 72px; }
#id_gemeente { width: 360px; }

#id_statuut, #id_statuut li { margin: 0; padding: 0; list-style-type: none; }
#id_niet_werkend_statuut, #id_niet_werkend_statuut li { margin: 0; padding: 0; list-style-type: none; }

.erv_janee { display: inline-block; padding: 7px 0; }
.erv_opm input { width: 320px; }
.erv_opm ul.errorlist { list-style-type: none; display: inline; margin: 0 0 0 .5rem; padding: 0; }
.erv_opm ul.errorlist li { display: inline; }


.talenkennis tr th, .talenkennis tr td { border-top: solid 1px gray; }
.talenkennis tr:last-child th, .talenkennis tr:last-child td { border-bottom: solid 1px gray; }
table.talenkennis > tbody > tr > td { padding-right: 12px; }
.talenkennis ul { margin: 0; padding: 0; list-style-type: none; }
.talenkennis li { list-style-type: none; display: inline-block; margin: 0 2em 0 0; padding: 0; }
.talenkennis ul li:last-child { margin-right: 0; }

#id_talenkennis_extra, #id_vertellen_over_jezelf { height: 4em; width: 100%; }

#eigenschappen_tabel tr td { border-top: solid white 1px; }
#eigenschappen_tabel tr:nth-child(even) td { background-color: #dfdfdf; }
#eigenschappen_tabel tr td:first-child { padding: 4px 1em; }
#eigenschappen_tabel tr td:last-child { padding: 4px 4px 4px 1em; }
#eigenschappen_tabel tr td:not(:first-child):not(:last-child) { width: 40px; text-align: center; }
#eigenschappen_tabel input[type=text] { width: 200px; }

#kwaliteiten_tabel td { padding: 3px; }
#kwaliteiten_tabel tr td:first-child { text-align: right; }
#kwaliteiten_tabel .balk { height: 8px; border-radius: 4px; display: inline-block; }

table.beschikbaarheid th, table.beschikbaarheid td { text-align: center; padding: .5em 1em; }
#id_periode_beschikbaar, #id_periode_beschikbaar li { margin: 0; padding: 0; list-style-type: none; }
#id_aantal_uur_werk_per_week { margin: 0; padding: 0; list-style-type: none; }
#id_aantal_uur_werk_per_week li { margin: 0; padding: 0 0 0 1rem; }
#id_periode_beschikbaar_begindatum, #id_periode_beschikbaar_einddatum { width: 120px; background-color: white; }
#id_opmerkingen_beschikbaarheid { width: 100%; height: 4em; }
.postcode_en_afstand { margin: 2px 0 2px 2em; }
.postcode_en_afstand input { width: 80px; }
#id_heeft_rijbewijs, #id_heeft_rijbewijs li, #id_eigen_wagen, #id_eigen_wagen li  { margin: 0; padding: 0; list-style-type: none; }

#taken_selectie label { display: block; margin: .4em 0 0 3em; }
#id_projectvoorkeur_janee, #id_projectvoorkeur_janee li { margin: 0; padding: 0; list-style-type: none; }
#id_projectvoorkeuren { margin: 0 0 0 3em; padding: 0; list-style-type: none; }
#id_projectvoorkeuren li { margin: 0; padding: 0;}
#id_postcode_parochie { width: 72px; }
.project_taken { margin: 1rem 0; display: none; }
.project_taken p { margin: 0; font-weight: bold; }
.project_taken label { display: block; margin: 0 0 4px 1.5em; }

.sterren { font-size: 1.6rem; cursor: pointer; }
.sterren .grijs { color: #bfbfbf; }
.sterren .geel { color: #ffcc36; }
.sterren .oranje { color: #ff912c; }

#id_bijkomende_informatie, #id_interne_informatie, #id_motivatie_project { width: 90%; height: 6em; }

.project_m2m { margin: 0 0 0 24px; position: relative; }
.groep_m2m { margin: 0 0 0 72px; position: relative; }
.m2m_edit { position: absolute; top: 2px; left: -24px; }
.nietactief { color: gray; }

td.parcourswijziging { width: 42px; text-align: right; padding-right: 4px; }

.uploadform {
    display: block;
    margin: .5em 0;
    padding: .5em 1em;
    background-color: #ddd;
}