@charset "utf-8";

/* CSS Document */
.toggle-mnu {
    display: block width: 28px height: 28px margin-top: 14px
}

.toggle-mnu span:after,
span:before {
    content: ""
        position: absolute left: 0 top: 9px
}

.toggle-mnu span:after {
    top: 18px
}

.toggle-mnu span {
    position: relative display: block
}

.toggle-mnu span,
span:after,
span:before {
    width: 100% height: 2px background-color: #fff transition: all 0.3s backface-visibility: hidden border-radius: 2px
}


@media (max-width: 1100px) {
    .content {
        margin-right: 70px;
    }
}

@media (max-width: 980px) {
    .alignright {
        float: right;
        width: 74%;
    }

    .content {
        margin-right: 0px;
    }

    .sidebar {
        width: 23%;
    }

    .head {
        width: 100%;
    }

    .main-content {
        width: 100%;
    }

    .sub-nav-item {
        margin-left: 15px !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .button-toggle {
        display: block;
    }

    .sidebar {
        width: 100% !important;
    }

    .button-toggle {
        background: url(../img/menuimg.png) no-repeat;
        height: 41px;
        width: 54px;
        border: navajowhite;
        float: right;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.show {
        display: block;
        /* P.S: Use `!important` if missing `#content` (selector specificity). */
    }

    .main-navigation {
        margin-top: 10px;
    }

    .toggle_function {
        width: 100%;
        display: inline-block;
        background: #ed1c24;
        padding: 14px 26px 14px 0;
        margin-bottom: -3px;
        margin-top: 21px;
    }

    .sub-nav-item {
        width: 203px;
        margin-left: 15px !important;
        margin-bottom: 10px;
    }

    .sub-nav-item img {
        width: 100%;
    }

    .main-content img {
        width: 100%;
    }

    .alignright {
        float: right;
        width: 100%;
    }

    .main-navigation {
        margin-bottom: 30px;
    }

    .sidebar {
        width: 183px;
        display: block;
        margin: 0 auto;
        float: none;
    }

    .sub-nav-item {
        width: 242px;
        margin-left: 20px !important;
        margin-bottom: 12px;
    }

    .sub-nav-item img {
        width: 100%;
    }

    .paragraph-home {
        font-size: 18px;
        line-height: 29px;
        padding: 0px 18px 28px;
    }

    .main-content .color-text {
        font-size: 17px;
        line-height: 26px;
        padding: 0 7px 16px 7px;
    }

    footer {
        height: auto;
        background: #ed1c24 !important;
    }

    footer p {
        line-height: 24px;
        padding: 11px 0;
    }

    footer::before {
        top: -104px;
    }

    .head img {
        width: 100%;
        height: auto;
    }

    .sub-nav>ul {
        width: 300px;
        margin: 0 auto;
    }

    .main-content.inner p {
        line-height: 20px;
        letter-spacing: 0px;
        text-align: center;
        padding: 0 20px;
    }

    .main-content .color-text {
        padding-bottom: 16px;
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    .ansprech_fachi {
        width: 200px !important;
    }

    .submit_btn_kontact {
        margin: 0 auto;
        display: block;
        width: 200px;
        padding: 15px 0;
        background: #ed1c24;
        color: #fff;
        border: navajowhite;
        border-radius: 4px;
    }
}

@media (max-width: 601px) {
    .main-content img {
        width: 100%;
    }

    .alignright {
        float: right;
        width: 100%;
    }

    .main-navigation {
        margin-bottom: 30px;
    }

    .sidebar {
        width: 183px;
        display: block;
        margin: 0 auto;
        float: none;
    }

    .sub-nav-item {
        width: 242px;
        margin-left: 20px !important;
        margin-bottom: 12px;
    }

    .sub-nav-item img {
        width: 100%;
    }

    .paragraph-home {
        font-size: 18px;
        line-height: 29px;
        padding: 0px 18px 28px;
    }

    .main-content .color-text {
        font-size: 17px;
        line-height: 26px;
        padding: 0 7px 16px 7px;
    }

    footer {
        height: auto;
        background: #ed1c24 !important;
    }

    footer p {
        line-height: 24px;
        padding: 11px 0;
    }

    footer::before {
        top: -104px;
    }

    .head img {
        width: 100%;
        height: auto;
    }

    .sub-nav>ul {
        width: 300px;
        margin: 0 auto;
    }

    .main-content.inner p {
        line-height: 20px;
        letter-spacing: 0px;
        text-align: center;
        padding: 0 20px;
        overflow: hidden;
    }

    .main-content .color-text {
        padding-bottom: 16px;
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    footer p {
        line-height: 21px;
        padding: 11px 18px;
        font-size: 15px;
    }

    footer::before {
        left: 37%;
    }

    .the-parity {
        left: 29%;
    }
}

@media (max-width: 480px) {

    .head figcaption {
        padding: 14px 16px;
        max-width: 100%;
        font-size: 20px;
        top: 50px;

    }

    .sub-nav>ul {
        width: 280px;
        margin: 0 auto;
    }

    .text-area_konkact {
        width: 100%;
    }
}