/*
body,
html {
    min-width: 320px;
    overflow-x: hidden;
    width: 100%;
      overflow-y: auto;
}
*/
body  {
    min-width: 320px;

    width: 100%;

}
#rev_slider_1_1_wrapper, #rev_slider_2_1_wrapper {
    max-width: 800px;
}

@media (max-width: 980px) {
    div.wpcf7-response-output {
        width: auto;
    }
}

@media (max-width: 980px) {
    #page {
        width: 100%;
    }

    #top_menu .nav-menu {
        display: none
    }
    footer.main #top_menu {display:block; position: relative; left:0; top:5px;}
    footer.main #top_menu .nav-menu {display: block;}
    .mobile_menu {
        cursor: pointer;
        display: block;
        background: url(img/menu2.png) no-repeat scroll center center transparent;
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        float: right;
    }

    .home .mobile_menu {
        display: none;
    }

    .phone {
        display: block;
        position: absolute;
        left: 15px;
        top: 23px;
        width: 30px;
        height: 30px;
        float: left;
        background: url(img/phone2.png) no-repeat scroll center center transparent;
        background-size: 30px 30px;
        text-indent: -9999px;
    }

    #logo img {
        max-width: 70px;
    }
}

@media (max-width: 800px) {
    #b {
        width: 100%;
        height: auto;
    }

}

@media (max-width: 768px) {
    nav#main {
        display: none;
    }

    nav#main2.aktive {
        display: block;
	visibility:visible;
        max-height: 400px;
        height: auto;
        opacity: 1;
        -webkit-transition: .5s all ease;
        -moz-transition: .5s all ease;
        -ms-transition: .5s all ease;
        transition: .5s all ease;
        background: url(img/hr.png) no-repeat center 0;
    }

    nav#main2 ul {
        display: none
    }

    nav#main2.aktive ul {
        display: block;
    }

    #main2 li {
        width: 100%;
        margin: 0;
        background: url(img/hr_grey.png) no-repeat scroll center 100% transparent;
        background-size: 80% 6px;
    }

    #main2 li:last-child {
        background: none;
    }

    #page #sidebar {
        width: 100%;
        margin: 0 auto;
        float: none;
    }

    #page #sidebar .post-thumb {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    #page article,
    #page #content {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .lcol {
        width: 90% !important;
    }

    .w580 {
        width: 100%;
    }

    .w580 h3 img {
        display: block;
        margin: 0 auto 15px;
    }

    .w580 .short-text, .w580 .read-more-text {
        font-size: 14px !important;
    }
    .w580 > div,.w580 div div,.w580 .short-text, .w580 .read-more-text{ text-align: center !important; }
    
    .entry-content img {
        max-width: 100%;
        height: auto;
    }

    footer.main {
        margin-top: 0;
    }

    div.wpcf7-response-output.wpcf7-validation-errors {
        float: left;
        width: 93.6%;
        padding-left: 3%;
        padding-right: 3%;
    }
}

@media (max-width: 640px) {
    #contact_form {
        width: 100%;
    }

    .one_third {
        width: 100%;
        margin: 10px 0;
    }
}
