﻿@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-v16-latin-regular.eot');
    src: url('../fonts/hind-v16-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-regular.woff2') format('woff2'), url('../fonts/hind-v16-latin-regular.woff') format('woff'), url('../fonts/hind-v16-latin-regular.ttf') format('truetype'), url('../fonts/hind-v16-latin-regular.svg#Hind') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/hind-v16-latin-700.eot');
    src: url('../fonts/hind-v16-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-700.woff2') format('woff2'), url('../fonts/hind-v16-latin-700.woff') format('woff'), url('../fonts/hind-v16-latin-700.ttf') format('truetype'), url('../fonts/hind-v16-latin-700.svg#Hind') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
    line-height: 17px;
    color: #000;
    font-family: Verdana, Arial, sans-serif;
}

#wrapper {
    border: solid 3px #000;
    max-width: 1005px;
    margin: 1rem auto;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

header {
    position: relative;
}

.qrcode {
    position: absolute;
    bottom: 7%;
    right: 3%;
    z-index: 1;
}

.small{
    font-size: 83%;
}

article {
    background: #ECECEC;
}

footer {
    background: #194C9A;
    padding: 0.5rem 1rem;
}

footer :is(p, a) {
    color: #fff !important;
    text-align: center !important;
    font-size: 1.1875rem;
    line-height: 1.25;
}

.background {
    background: #194C9A;
    padding: 1rem 1.25rem 0.0625rem;
    font-family: 'Hind', Arial, sans-serif;
    font-weight: 400;
}

.background p {
    line-height: 1.4;
    font-size: 1.3125rem;
    color: #fff;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.flexbox section {
    background: #fff;
    padding: 1rem 30px 8px;
    flex: 1 1 0;
}

:is(.background p, .flexbox section :is(p, ul)) {
    text-align: justify;
    hyphens: auto;
}

.colum-left {
    width: 288px;
    padding: 1.5rem 1rem 0;
}

.black {
    font-size: 11px;
    line-height: 1.2;
}

.colum-left p:nth-of-type(2) {
    margin-bottom: 78px;
}

.colum-left p {
    text-align: right !important;
    margin: 0 0 21px;
}

.colum-left p:last-child {
    text-align: center !important;
    font-size: 0.75rem;
    color: #29292d;
}

.colum-left small {
    font-size: 0.653125rem;
    display: block;
    line-height: 1.4375;
}

.color {
    color: #194C9A;
}

.text {
    font-size: 14px;
    line-height: 1.3;
}

figure {
    display: flex;
    justify-content: center;
    margin: 39px 0 1rem;
}

p:not(footer p) {
    margin-bottom: 13px;
    text-align: justify;
}

h1 {
    font-size: 30px;
    margin: 1.125rem 0;
    line-height: 1.375;
}

h1+p {
    margin-bottom: 30px !important;
}

h2 {
    line-height: 1.25;
    font-size: 1.625rem;
    margin: 0 0 0.625rem;
    color: #fff;
    font-weight: 700;
    font-family: 'Hind', Arial, sans-serif;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #194C9A;
    text-decoration: none;
    white-space: nowrap;
}

a[href^="tel:"] {
    color: #000;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

ul {
    margin: 0 0 1rem 30px;
    list-style: none;
    text-align: justify;
}

ul li {
    padding-left: 26px;
    position: relative;
}

li:before {
    content: "\2022";
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.font :is(p, ul) {
    font-size: 12px;
    line-height: 18px;
}

@media screen and (max-width:1004px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    header a:nth-of-type(1)>img {
        width: 100%;
    }

    footer {
        padding: 1rem;
    }

    :is(.background, .flexbox section, .colum-left) {
        padding: 1rem 1rem 0.0625rem;
    }

    span {
        white-space: nowrap;
    }

    :is(p, ul) {
        text-align: left !important;
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media screen and (max-width:767px) {
    .flexbox {
        display: block;
    }

    .colum-left {
        width: 100%;
    }

    .colum-left p:nth-of-type(2) {
        margin-bottom: 1rem;
    }

    .colum-left p {
        text-align: left !important;
    }

    .colum-left br:not(.kontakt br) {
        display: none !important;
    }

    figure {
        margin-top: 1.5rem;
    }

    .mobile {
        display: none;
    }
}

@media screen and (max-width:500px) {
    .qrcode {
        bottom: 3%;
        max-width: 56px;
    }

    h1 {
        font-size: 22px;
        line-height: 30px;
    }

    ul {
        margin-left: 0;
        text-wrap: pretty
    }
}

@media screen and (max-width:374px) {
    .qrcode {
        max-width: 46px;
    }

    .kontakt a {
        white-space: normal !important;
    }
}