/* --- GENERAL --- */
html {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;

    overflow-y: scroll;
    user-select: none;

    background-image: url('../images/banner.png');
    background-repeat: no-repeat;
}
body {
    width: 1100px;

    margin: 0 auto 50px auto;
    padding: 25px 0;
}
p.explanation {
    text-align: justify;
}

/* -- HEADER --- */
header {
    color: #a6e647;
    font-size: 30px;
    font-weight: 1000;
    text-align: center;
    -webkit-text-stroke: 2px black;
}
header > img {
    width: 500px;
}

/* Languages */
.lang_span  {
    display: inline-block;
    margin: 10px;
    padding-bottom: 5px;

    transition: transform 0.2s ease-in-out;
}
.lang_span:not(.selected_lang_span):hover {
    cursor: pointer;
    transform: scale(1.1);
}
.selected_lang_span {
    border-bottom: 2px solid #90e80c;
}
.selected_lang_span > .lang_flag {
    border: 3px solid #90e80c;
}
.lang_flag {
    width: 50px;

    display: inline-block;

    border: 3px solid black;
    border-radius: 30px;
}

/* --- SECTION --- */
article {
    margin: 20px 0 0 0;
    padding: 20px;

    text-align: justify;

    border: 2px solid #a6e647;
    border-radius: 15px;
}
.license_explanation {
    text-align: left;
}
.error_explanation {
    color: #ff0000;
    font-weight: bold;
}

/* Form */
form {
    width: 800px;
    margin: auto;

    text-align: left;
    overflow: auto;
}
form span.additional_label {
    width: 758px;

    display: block;
    margin: 30px 0px 5px 0px;

    color: #a6e647;

    font-weight: 900;
}
form label {
    display: inline-block;
    box-sizing: border-box;
    
    color: #a6e647;
    font-size: 16px;

    font-weight: 900;
}
form label.errorLabel {
    color: #FF0000;
}
form input.errorInput, form select.errorInput {
    border-bottom: 2px solid #FF0000;
}


/* --- INPUTS AND LABELS --- */

/* Personal Informations */
input:not(.button_next), select {
    height: 40px;

    display: inline-block;
    margin: 0;
    padding: 0;
    
    font-size: 25px;

    box-sizing: border-box;

    border: none;
    border-bottom: 2px solid #a6e647;
}
input:focus, select:focus {
    outline: none;
}

.input_name, .label_name {
    width: 396px;
}
#input_birth_day, #label_birth_day, 
#input_birth_day_acc1, #label_birth_day_acc1, 
#input_birth_day_acc2, #label_birth_day_acc2 {
    width: 200px;
}
#input_birth_location, #label_birth_location,
#input_birth_location_acc1, #label_birth_location_acc1,
#input_birth_location_acc2, #label_birth_location_acc2 {
    width: 592px;
}
#input_mail_address,
#input_license_acc1,
#input_license_acc2 {
    width: 798px;
    margin-bottom: 15px;
}
#input_phone_prefix, #label_phone_prefix {
    width: 80px;
}
#input_phone_number, #label_phone_number {
    width: 712px;
}
#input_zip_prefix,
#input_zip_prefix_acc1,
#input_zip_prefix_acc2 {
    width: 30px;
}
#input_zip_code,
#input_zip_code_acc1,
#input_zip_code_acc2 {
    width: 100px;
}
#label_zip_code,
#label_zip_code_acc1,
#label_zip_code_acc2 {
    width: 136px;
    margin-bottom: 15px;
}
#input_location, #label_location,
#input_location_acc1, #label_location_acc1,
#input_location_acc2, #label_location_acc2 {
    width: 656px;
}
#input_house_nr, #label_house_nr,
#input_house_nr_acc1, #label_house_nr_acc1,
#input_house_nr_acc2, #label_house_nr_acc2 {
    width: 138px;
}
#input_street_name, #label_street_name,
#input_street_name_acc1, #label_street_name,
#input_street_name_acc2, #label_street_name_acc2 {
    width: 656px;
}

/* Driver's License Informations */
.license_label {
    width: 420px;
    margin-right: 20px;

    text-align: right;
}
#license_owner, #license_number {
    width: 350px;
    margin-bottom: 30px;
}
.change_on_license_owner > div {
    margin-top: 20px;
    text-align: center;
}
.change_on_license_owner > div > label {
    width: 100px;
    
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
.change_on_license_owner > div  input {
    vertical-align: middle;
}

/* Driver's license registration */
#request_category {
    width: 800px;
}

/* License Specification */
.label_formation {
    width: 200px;
    display: inline-block;
}
.select_formation {
    width: 594px;
}
h3 {
    margin: 80px 0 20px 0;
}

/* --- Buttons --- */
.button_next {
    width: 300px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 50px 0 0 0;
    float: right;

    cursor: pointer;
    
    color: #a6e647;
    font-size: 20px;
    font-weight: 900;
    text-align: left;

    background-color: white;
    border: 5px solid #a6e647;
    border-radius: 10px;
    box-shadow: none;
}
.button_next > span {
    padding: 15px;
}
.button_next:hover:first-child {
    text-decoration: underline;
}
.button_next > .arrow_right {
    width: 50px;
    padding-right: 5px;

    text-align: center;

    color: #a6e647;
    background-color: white;

    transition: background-color 0.5s ease, color 0.5s ease;
}
.button_next:hover > .arrow_right {
    color: white;
    background-color: #a6e647;
}