@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 {
    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);
}

/* Ergänzungen DLRG Hänigsen: AGB-Block und druckfreundliche Darstellung */
.agb-section .agb-content {
    background: #fff;
    border: 1px solid #D8D8D8;
    border-radius: .5rem;
    padding: 18px 20px;
    margin-bottom: 12px;
}

.agb-section h3 {
    color: #0069b4;
    font-size: 1.1em;
    font-weight: 500;
    margin: 18px 0 8px;
}

.agb-section h4 {
    color: #575756;
    font-family: 'dlrg_bold', Arial, sans-serif;
    font-size: 1em;
    margin: 14px 0 4px;
}

.agb-section p {
    margin: 0 0 12px;
}

.agb-section .small {
    font-size: .9em;
}

.agb-table-wrap {
    overflow-x: auto;
    margin: 8px 0 10px;
}

.agb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95em;
    background: #fff;
}

.agb-table th,
.agb-table td {
    border: 1px solid #D8D8D8;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.agb-table th {
    background: #f6f6f6;
    color: #0069b4;
    font-family: 'dlrg_bold', Arial, sans-serif;
}

.agb-table td span {
    display: inline-block;
    margin-top: 2px;
}

/* Layout-Fix: lange E-Mail-Adressen und Tabellen im AGB-Block umbrechen sauber
   und überlagern keine Nachbarspalten mehr. */
.agb-section,
.agb-section * {
    box-sizing: border-box;
}

.agb-section a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.agb-table,
.agb-contact-table {
    max-width: 100%;
    table-layout: fixed;
}

.agb-contact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95em;
    background: #fff;
    margin: 0;
}

.agb-contact-table th,
.agb-contact-table td {
    border: 1px solid #D8D8D8;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.agb-contact-table th {
    width: 42%;
    color: #0069b4;
    background: #f6f6f6;
    font-family: 'dlrg_bold', Arial, sans-serif;
    font-weight: normal;
}

.agb-contact-table td {
    width: 58%;
}

.contact-list {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    column-gap: 20px;
    row-gap: 8px;
    margin: 10px 0 16px;
}

.contact-list dt {
    font-family: 'dlrg_bold', Arial, sans-serif;
}

.contact-list dd {
    margin: 0;
}

.agb-acceptance {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #D8D8D8;
}

.agb-reference {
    margin: 0 0 15px;
}

@media all and (max-width: 575px) {
    .contact-list {
        display: block;
    }
    .contact-list dt {
        margin-top: 8px;
    }
    .agb-table,
    .agb-contact-table,
    .agb-table thead,
    .agb-table tbody,
    .agb-table tr,
    .agb-table th,
    .agb-table td,
    .agb-contact-table tbody,
    .agb-contact-table tr,
    .agb-contact-table th,
    .agb-contact-table td {
        display: block;
        width: 100%;
    }
    .agb-table th,
    .agb-table td,
    .agb-contact-table th,
    .agb-contact-table td {
        border-bottom: 0;
    }
    .agb-table tr,
    .agb-contact-table tr {
        border-bottom: 1px solid #D8D8D8;
    }
}


@media print {
    body {
        font-family: Arial, sans-serif;
        font-size: 10pt;
        line-height: 1.25;
        color: #000;
        background: #fff;
    }
    form, .form {
        width: auto;
        max-width: none;
        overflow: visible;
    }
    nav,
    footer,
    .alert-fixed,
    .btn {
        display: none !important;
    }
    h1 {
        font-size: 18pt;
        padding: 0 0 8pt;
        text-align: left;
        color: #000;
    }
    h2 {
        font-size: 13pt;
        padding: 10pt 0 4pt;
        color: #000;
        page-break-after: avoid;
    }
    section {
        page-break-inside: avoid;
    }
    .agb-section .agb-content {
        border: none;
        padding: 0;
    }
    .agb-table th,
    .agb-table td,
    .agb-contact-table th,
    .agb-contact-table td {
        padding: 4pt 5pt;
    }
    .agb-contact-table {
        table-layout: fixed;
    }
    a {
        color: #000;
        text-decoration: none;
    }
}

