@font-face {
    font-family: 'dlrg_regular';
    src: url('https://static.dlrg.de/global/layout/2019/font/dlrg_regular.woff2') format('woff2'),  url('https://static.dlrg.de/global/layout/2019/font/dlrg_regular.woff') format('woff');
    font-weight: normal;
    font-display: fallback;
    font-style: normal;
}
@font-face {
    font-family: 'dlrg_italic';
    src: url('https://static.dlrg.de/global/layout/2019/font/dlrg_italic.woff2') format('woff2'),  url('https://static.dlrg.de/global/layout/2019/font/dlrg_italic.woff') format('woff');
    font-weight: normal;
    font-display: fallback;
    font-style: normal;
}
@font-face {
    font-family: 'dlrg_bold';
    src: url('https://static.dlrg.de/global/layout/2019/font/dlrg_bold.woff2') format('woff2'),  url('https://static.dlrg.de/global/layout/2019/font/dlrg_bold.woff') format('woff');
    font-weight: normal;
    font-display: fallback;
    font-style: normal;
}

*, *:after, *:before {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'dlrg_regular', Arial, sans-serif;
    line-height: 1.4;
    font-size: 1.125rem;
    color: #575756;
    background-color: transparent;
}

@media(min-width: 1200px) {
    body {
        font-size: 1.25rem;
    }
}

form, .form {
    width: 800px;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

header, nav {
    width: 100%;
    display: block;
}

header h1 {
    text-align: center;
}

nav {
    display: flex;
    flex-wrap: wrap;
}

h1 {
	display: none;
    font-size: 32px;
    font-weight: 500;
    padding: 38px 0 15px;
}

h2 {
    font-size: 25px;
    font-weight: 500;
    padding: 30px 0 15px;
}

section,.alert, .inputs {
    clear: both;
}

.nav-item {
    flex: 0 0 calc(100% / 3 - 10px);
    line-height: 50px;
    padding: 10px 20px;
    display: flex;
    background-color: #FBFBFB;
    border-radius: .5rem;
    border: 1px solid lightgray;
}

@media(min-width: 575.1px) {
    .nav-item + .nav-item,
    .input-field + .input-field {
        margin-left: 15px;
    }

    .inputs div[class*="col"] .input-field {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

.nav-item svg {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
}

.nav-item h2 {
    padding: 0;
    flex: 0 0 calc(100% - 50px);
    text-align: center;
}

/*Alerts*/
.alert:not(:empty) {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger:not(:empty) {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success:not(:empty) {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-fixed:not(:empty) {
    position: fixed;
    width: calc(100% - 40px);
    top: 50%;
    left: 50%;
    max-width: 720px;
    z-index: 100;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 9px 2px rgba(0, 0, 0, .12);
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

.close svg {
    height: 20px;
}

.js-live-errormsg {
    left: 0;
    background-color: transparent;
    color: #e30613;
    top: 40px;
}
.input-checkbox .js-live-errormsg {
    top: 0;
    left: 22px;
}

input:not([type='checkbox']).js-live-error, select.js-live-error, textarea.js-live-error {
    border-color: #0069b4;
}

.input-field {
    position: relative;
    margin: 12px 0 0;
    padding-bottom: 15px;
    width: 100%;
}

label {
    margin: 0;
    padding: 0;
}

input {
    border: 1px solid #D8D8D8;
    background-color: #fefefe;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    border-radius: .5rem;
    margin: 2px 0;
    padding: 6px 8px;
    height: 40px;
    outline: none;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    width: 100% !important;
}

select {
    border: 1px solid #D8D8D8;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    border-radius: .5rem;
    margin: 2px 0;
    padding: 6px 47px 6px 8px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    height: 40px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background: url(https://www.sewobe.de/fileadmin/download/vArrow1.svg) no-repeat;
    background-position: calc(100% - 14px) center;
    background-color: #fefefe;
    background-repeat: no-repeat;
    width: 100% !important;
}

textarea {
    border: 1px solid #D8D8D8;
    background-color: #fefefe;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    border-radius: .5rem;
    margin: 2px 0;
    padding: 6px 8px;
    font-size: 18px;
    outline: none;
    width: 100% !important;
}

.input-field > input, .input-field > select, .input-field > textarea {
    position: relative;
    z-index: 10;
    background-color: transparent;
    margin-bottom: 0;
}

.input-field > input:active, .input-field > input:focus, .input-field > select:active, .input-field > select:focus, .input-field > textarea:active, .input-field > textarea:focus {
    border-width: 2px;
    padding: 5px 7px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.input-field > label {
    position: absolute;
    top: 0;
    left: 6px;
    padding: 0 10px;
    color: #989898;
    cursor: text;
    -webkit-transition: color .2s ease-out, -webkit-transform .2s ease-out;
    transition: transform .2s ease-out, color .2s ease-out, -webkit-transform .2s ease-out;
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    text-align: initial;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    z-index: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.input-field input ~ label.filled,
.input-field input:active ~ label,
.input-field input:focus ~ label,
.input-field select ~ label.filled,
.input-field select:active ~ label,
.input-field select:focus ~ label,
.input-field textarea ~ label.filled,
.input-field textarea:active ~ label,
.input-field textarea:focus ~ label {
    -webkit-transform: translateY(-6px) scale(0.8);
    transform: translateY(-6px) scale(0.8);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    font-style: normal;
    z-index: 15;
    background-color: white;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
input ~ .input-icon {
    position: absolute;
    font-size: 24px;
    right: 10px;
    z-index: 100;
    height: 24px;
    width: 24px;
    top: 10px;
    color: #989898;
    cursor: pointer;
}
.input-field > .input-icon {
    line-height: 37px;
}
input ~ .input-icon.fa-calendar-alt {
    z-index: 5;
}

input ~ .input-icon.fa-calendar-alt svg {
    height: 25px;
    position: absolute;
    right: 0;
    top: 7px;
}



.input-checkbox {
    display: block;
    position: relative;
    padding-left: 50px;

    padding-right: 5px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 15px;
}
input[type="checkbox"] {
    width: 18px !important;
    height: 18px;
}
.input-checkbox > input{
    display: block;
    float: left;
    width: 18px !important;
    height: 18px;
    min-height: unset;
    margin: 0 5px 0;
    left: 0;
    top: 3px;
    border: none;
    position: absolute;
    cursor: pointer;
}

.btn {
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    border-radius: .5rem;
    margin: 2px 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px 12px;
    margin: 12px 0 0;
    font-size: inherit;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    display: block;
    width: 100%;
}

.btn svg {
    height: 14px;
}

.btn:hover,
.btn:active,
.btn:focus {
    background-color: #d40410;
}
a {
    text-decoration: underline;
    cursor: pointer;
}
.newsletter > div {
    clear: both;
}
footer a {
    text-decoration: none;
    padding: 15px;
    border-radius: .5rem;
}
/* Mediaquerys */
@media all and (max-width: 800px) {
    .nav-item {
        line-height: 25px;
    }

    .nav-item svg {
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
    }

    .nav-item h2 {
        font-size: 18px;
    }
}

@media all and (max-width: 575px) {
    .nav-item {
        flex: 0 0 100%;
    }

    .nav-item + .nav-item {
        margin-top: 15px;
    }
}

/* Colors */
.input-field > input:active, .input-field > input:focus, .input-field > select:active, .input-field > select:focus, .input-field > textarea:active, .input-field > textarea:focus,
.datepicker table tr td.selected, .datepicker table tr td.selected.highlighted,
input[class*="pflicht"],
select[class*="pflicht"],
textarea[class*="pflicht"] {
    border: solid 1px #0069b4;
    border-radius: 0.25rem;
}

.text-primary,
.btn,
.nav-item {
    color: #e30613;
}

a {
    color: #0069b4;
}

a:not(.btn):hover {
    color: #005194;
}

.input-checkbox > input:checked ~ .checkmark,
.input-field input ~ label.filled,
.input-field input:active ~ label,
.input-field input:focus ~ label,
.input-field select ~ label.filled,
.input-field select:active ~ label,
.input-field select:focus ~ label,
.input-field textarea ~ label.filled,
.input-field textarea:active ~ label,
.input-field textarea:focus ~ label,
.datepicker table tr td.today,
.datepicker table tr th.dow{
    color: #0069b4;
}

.btn-primary,
.nav-item.active,
.datepicker table tr td.active, .datepicker table tr td.active.highlighted,
.datepicker table tr td.selected, .datepicker table tr td.selected.highlighted,
.datepicker table tr td.day:not(.active):hover, .datepicker table tr td.focused,
.datepicker{
    background-color: rgba(227, 6, 19, 1);
    color: rgba(253, 235, 30, 1);
}

h1,
h2 {
    color: #0069b4;
}

.nav-item.active h2 {
    color: rgba(253, 235, 30, 1);
}

.nav-item h2 {
    color: rgba(227, 6, 19, 1);
}


.btn-primary,
footer a{
    color: rgba(253, 235, 30, 1);
}


.btn-plain {
    background-color: rgba(227, 6, 19, 1);
    color: rgba(253, 235, 30, 1);
    border-color: rgba(227, 6, 19, 1);
}

input ~ .input-icon.fa-calendar-alt svg {
    fill: rgba(227, 6, 19, 1);
}
