.form-container{
    max-width: 680px;
    margin: 120px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1, h4 {
    text-align: center;
}
h1 {
    color: rgb(15, 40, 91);
    margin: 10px;
}
h4 {
    background: #efefef;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 5px;
}
.form-container form{
    width: 100%;
    display: flex;
    flex-direction: column;
}
fieldset {
    margin-bottom: 15px;
    border: none;
    padding: 0;
}
.form-container h3{
    background: #e1e4eb;
    border-radius: 8px;
}
.form-container h3 {
    padding: 10px 20px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    text-align: right;
    font-size:0.9em;
}
.form-container input, .form-container button, .form-container select {
    width: calc(100% - 280px);
}
input, button, select, textarea{
    padding:8px;
    margin: 3px 10px 3px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0px 0px 8px #eee inset;
}
textarea{
    height: 200px;
    width: 100%;
}
input[type="file"]{
    border: 0px none;
    box-shadow: 0px 0px 0px;
}
select{
    margin-right: calc(100% - 450px);
    width: 200px;
    box-shadow: 0px 0px 0px;
    background: white;
}
input[type="number"]{
    margin-right: calc(100% - 270px);
    width: 80px;
    box-shadow: 0px 0px 0px;
}
input[type="checkbox"]{
    width: 20px;
}
input[type="radio"]{
    margin-right: calc(100% - 293px);
    width: 35px;
}
button {
    background-color: #0f285b;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 700;
    font-size: 1.1em;
    max-width: 300px;
    box-shadow: 3px 3px 6px #ccc;
}
img.geschlecht{
	width: 18px;
	margin: 0 7px -7px 7px;
}
button:hover {
    color: #007aff;
}
#entfernung{
    width: calc(100% - 363px);
    margin: 0px 15px -12px 10px;
}
#km{
    display: inline-block;
    width: 80px;
    text-align: left;
}
#fuehrerschein, #schichtarbeit{
    width: calc(100% - 243px);
    display: inline-block;
    text-align: left;
    padding-left: 0px;
}
#fuehrerschein input, #schichtarbeit input{
    margin: 0px 3px 0px 20px;
}
#fuehrerschein input:first-child, #schichtarbeit input:first-child{
    margin-left: 12px;
}
#abschicken p{
    width: 100%;
    padding: 10px 0px;
    text-align: center;
}
#abschicken p:last-child{
    margin-bottom: 0px;
}
.lblberuf{
    margin-top: 8px;
}
h4 + div{
    display: flex;
}
div p{
    width: 50%;
    padding: 0px 40px;
    line-height: 1.4em;
}
#portrait{
    width: 258px;
    margin: auto;
    display: block;
}
.short{
    width: calc(100% - 570px) !important;
    margin-right: calc(100% - 375px);
    text-align:center;
}
@media (max-width: 960px) {
    #top{
       display: none;
    }
    #topnav{
        margin-top: 0px;
    }
    .form-container {
        padding: 15px;
        margin-top: 60px;
    }
    .form-container input, #entfernung, #stadt{
        width: calc(100% - 24px);
        margin: 3px 2px 10px 2px;
    }
    input, button {
        display: block;
        font-size: 13px;
        padding: 8px;
    }
    label{
        display:inline;
        margin: 10px 0px 5px 5px;
    }
    #birthdate, #plz, #stundenlohn, #experience{
        width: 100px !important;
    }
    #stadt, #km{
        margin-left: 0px;
        display: block !important;
        position: static;
    }
    #fuehrerschein, #schichtarbeit{
        width: 100%;
        margin-left: 0px;
    }
    #fuehrerschein input, #schichtarbeit input {
        margin: 10px 2px 10px 10px;
        width: 20px;
        display: inline;
    }                                                                                                                                                      
    #fuehrerschein input:first-child, #schichtarbeit input:first-child {
        margin-left: 4px;
    }
    #abschicken input[type="checkbox"]{
        display: inline;
        width: 20px;
    }
    #abschicken button{
        width: 200px;
        margin: auto;
    }
    h4 + div{
        display: block;
    }
}
.autocomplete-suggestions {
    border: 1px solid #ccc;
    position: absolute;
    background: white;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    width: 200px;
}
.autocomplete-suggestion {
    padding: 5px;
    cursor: pointer;
}
.autocomplete-suggestion:hover {
    background: #eee;
}