#headerbar .m-contact {
    float: right;
    width: 340px;
    margin: 6px 0 0;
    padding: 0;
    background: transparent;
    text-shadow: none;
}

#logo img {
    display: block;
    max-width: 260px;
    height: auto;
}

#content img,
#sidebar-a img,
#top-a img,
#innertop img,
#bottom-c img {
    max-width: 100%;
    height: auto;
}

#content .item + .item,
#content article.item article.item {
    margin-top: 1.6em;
}

.article-teaser {
    display: flow-root;
    margin: 0 0 1.8em;
    padding-bottom: 1.2em;
    border-bottom: 1px solid #e5e5e5;
}

.article-teaser h2 {
    margin-bottom: 0.4em;
}

.article-teaser img {
    max-width: min(500px, 100%);
    height: auto;
}

.contact-card h2 {
    margin: 22px 0 10px;
}

.contact-card p {
    margin: 0 0 8px;
}

.contact-form-note {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: #888;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form-status {
    margin: 0 0 14px;
    color: #1d6b38;
}

.contact-form-status.is-error {
    color: #a12626;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    height: 0;
    overflow: hidden;
}

.contact-field {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 14px;
}

.contact-field label {
    flex: 0 0 140px;
    padding-top: 6px;
}

.contact-required {
    color: #333;
}

.contact-field input,
.contact-field textarea {
    flex: 1 1 auto;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #ccc;
    background: #fff;
    font: inherit;
    color: inherit;
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-actions {
    margin: 4px 0 0 156px;
}

.contact-actions button {
    padding: 8px 16px;
    border: 1px solid #2a9edc;
    background: #42b6f4;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-actions button:hover {
    background: #2a9edc;
}

#top-a .home-gallery {
    position: relative;
    margin: 8px 0 12px;
    min-height: 220px;
    background: #111;
    overflow: hidden;
}

#top-a .home-gallery-slide {
    display: none;
    position: relative;
}

#top-a .home-gallery-slide.is-active {
    display: block;
}

#top-a .home-gallery img {
    display: block;
    width: 100%;
    max-width: none;
    height: 292px;
    object-fit: cover;
}

#top-a .home-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px 12px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

#top-a .home-gallery-caption h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 28px;
    line-height: 28px;
}

#top-a .home-gallery-caption p {
    margin: 0 0 6px;
    color: #fff;
}

#top-a .home-gallery-caption a {
    color: #fff;
}

#top-a .home-gallery-caption .button-more {
    display: inline-block;
    padding: 4px 12px;
    color: #333;
    background: #fff;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
}

#menu .level1:nth-last-child(-n+3) > .dropdown {
    left: auto;
    right: 0;
}

@media (min-width: 1241px) {
    #top-a ul.check {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px 28px;
        margin: 4px 0 12px;
    }

    #top-a ul.check > li {
        margin-top: 0 !important;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .module-mobile-only {
        display: none;
    }
}

@media (max-width: 1240px) {
    body {
        min-width: 0 !important;
    }

    .wrapper,
    #maininner,
    #sidebar-a {
        width: auto !important;
        float: none;
    }

    .grid-box {
        float: none;
        width: auto !important;
    }
}

#m-bar {
    display: none;
}

@media (max-width: 980px) {
    .menu-dropdown,
    .menu-dropdown .level1,
    .menu-dropdown .level1 > span,
    #menu {
        float: none;
    }

    #menu {
        width: 100%;
    }

    .menu-dropdown .dropdown,
    .menu-dropdown .columns2,
    .menu-dropdown .column,
    .menu-dropdown .width50 {
        position: static;
        width: auto !important;
        float: none;
    }

    .menu-dropdown .dropdown {
        display: none;
    }

    .menu-dropdown li.parent:hover > .dropdown,
    .menu-dropdown li.parent:focus-within > .dropdown {
        display: block;
    }

    .contact-field {
        display: block;
    }

    .contact-field label {
        display: block;
        padding-top: 0;
        margin-bottom: 4px;
    }

    .contact-field input,
    .contact-field textarea {
        max-width: none;
    }

    .contact-actions {
        margin-left: 0;
    }

    #logo,
    #menublock {
        display: none;
    }

    #headerbar {
        display: block;
    }

    #headerbar .m-contact {
        float: none;
        width: auto;
        margin: 0;
        padding: 14px 18px 16px;
        background: #fff;
    }

    #m-bar {
        display: block;
    }
}

#m-bar {
    position: relative;
    z-index: 100;
    height: 45px;
    border-bottom: 1px solid #47b1f1;
    background: linear-gradient(#47b1f1 95%, #fff 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#m-logo {
    position: absolute;
    left: 0;
    top: 0;
    right: 48px;
    height: 45px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
}

#m-logo p {
    margin: 0;
}

#m-logo img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: 30px !important;
    margin: 0 0 0 8px !important;
}

.m-contact {
    padding: 14px 18px 16px;
    background: #fff;
}

.m-contact ul {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.m-contact li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    color: #3aaa32;
    font-size: 16px;
    line-height: 1.55;
}

.m-contact li a {
    color: #3aaa32;
    font-weight: normal;
    text-decoration: none;
    white-space: nowrap;
}

.m-quote {
    display: block;
    margin: 4px 6px 0;
    padding: 12px 16px;
    border-radius: 8px;
    background: #3ec4f3;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.m-quote:hover,
.m-quote:focus {
    color: #fff;
    background: #2eb6ea;
    text-decoration: none;
}

#m-bar .m-buttons {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 1px;
    border-radius: 6px;
    background: linear-gradient(#464b50, #14191e);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

#m-bar .m-buttons > div {
    border-radius: 6px;
    background: linear-gradient(#64696e, #32373c);
    overflow: hidden;
}

#m-bar .m-button {
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-right: 1px solid #50555a;
    border-left: 1px solid #32373c;
    background: #3a3f44 url("../images/mobile/icon_menu.png") 50% 50% no-repeat;
    background-size: 30px 30px;
    cursor: pointer;
}

#m-bar .m-button.m-close {
    background-image: url("../images/mobile/icon_close.png");
}

#m-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #0a0f14;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    font-size: 14px;
    color: #fff;
}

#m-menu[hidden] {
    display: none;
}

#m-menu .m-toolbar {
    position: relative;
    height: 45px;
    border-bottom: 1px solid #47b1f1;
    background: linear-gradient(#47b1f1 95%, #fff 100%);
}

#m-menu h1 {
    height: 45px;
    margin: 0;
    line-height: 45px;
    text-indent: 10px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 -1px 1px #000;
}

#m-navigation {
    position: relative;
}

#m-navigation ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #47b1f1;
    border-bottom: 1px solid #47b1f1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#m-navigation li {
    border-top: 1px solid #464b50;
    border-bottom: 1px solid #14191e;
}

#m-navigation li:first-child {
    border-top: none;
}

#m-navigation li:last-child {
    border-bottom: none;
}

#m-navigation li.parent {
    background: url("../images/mobile/arrow.png") 100% 50% no-repeat;
    background-size: 45px 40px;
    cursor: pointer;
}

#m-navigation li:not(.goback) > a {
    display: inline-block;
    width: 70%;
    padding: 10px;
    overflow: hidden;
    color: #fff;
    font-weight: normal;
    line-height: 20px;
    text-shadow: 0 -1px 1px #000;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
}

#m-navigation li.goback {
    padding: 5px;
}

#m-navigation .button {
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #14191e;
    border-radius: 6px;
    background: linear-gradient(#1e2328, #282d32);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: bold;
    color: #fff;
    text-shadow: 0 -1px 1px #000;
    cursor: pointer;
}
