@media only screen and (max-width: 1279px) {

    #main_wrapper {
        width: 1000px;
    }

    .carousel-inner {
        width: 1000px;
        height: 526px !important;
    }

    .carousel-inner img {
        width: 1000px;
        height: auto;
    }

    #content_left_column {
        width: 250px;
        margin-left: 20px;
    }

    #content_right_column {
        width: 700px;
        margin-left: 30px;
    }

    #footer_menu {
        padding-left: 70px;
    }

    .rounded_input {
        width: 190px;
    }

    #breadcrumb {
        margin-left: 20px;
    }

    /*
    .menu > ul > li a {
        width: 146px;
    }
    */

    .kachel_box .kachel {
        width: 317px;
        height: 206px;
    }

    .kachel_box .kachel .kachel_pic1 img {
        width: 317px;
        height: auto;
    }

    .kachel_box .kachel .kachel_pic2 img {
        width: auto;
        height: auto;
    }

    .kachel_box .kachel:nth-child(4n+1) {
        margin-left: 20px;
    }

    .kachel_box .kachel:nth-child(3n) {
        margin-left: 0px;
    }

    .boxView .box:nth-child(4n) {
        margin-left: 0px;
    }

    .boxView .box:nth-child(5n) {
        margin-left: 20px;
    }

    .kachel_box .kachel_pic img {
        max-width: 100%;
        width: auto;
        max-height: 100%;
    }

    .boxView {
        max-width: 895px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 959px) {

    .mfp-iframe-scaler iframe, .mfp-content {
        width: calc(100vw - 12px)!important;
        height: calc(100vh - 70px);
    }

    .mfp-container {
        position: fixed;
    }

    .menu > ul > li > ul > li:not(:first-child) a {
        padding-right: 20px;
    }

    #main_wrapper {
        width: 768px;
    }

    .carousel-inner {
        width: 768px;
        height: 411px !important;
    }

    .carousel-inner img {
        width: 768px;
        height: auto;
    }

    #content_left_column {
        width: 234px;
        margin-left: 5px;
    }

    #content_right_column {
        width: 510px;
        margin-left: 15px;
    }

    #footer_menu {
        padding-left: 70px;
    }

    .footer_menu_box {
        width: 155px
    }

    #login_left {
        margin-left: 30px;
    }

    #login_form {
        margin-left: 15px;
    }

    .rounded_input {
        width: 150px;
    }

    #login_button {
        margin-left: 25px;
    }

    /*
    .menu > ul > li a {
        width: 116px;
    }
    */

    .kachel_box .kachel {
        width: 242px;
        height: 158px;
    }

    .kachel_box .kachel .kachel_pic1 img {
        width: 242px;
        height: auto;
    }

    .kachel_box .kachel .kachel_pic2 img {
        width: auto;
        height: auto;
    }

    #logout_form {
        margin-right: 20px;
    }

    #searchbar {
        width: 120px;
    }

    .boxView .box:nth-child(even) {
        margin-left: 20px;
    }

    .boxView .box:nth-child(odd) {
        margin-left: 0px;
    }

        .menu > ul > li > ul.normal-sub {
        text-align: left;
    }

    .menu > ul {
        /*position: static;*/
    }



    .menu > ul > li > ul > li > a {
        padding-left: 20px;
    }

    .menu > ul > li > ul > li > ul > li > a {
        margin-left: 20px;
    }

    .menu > ul > li > ul.normal-sub > li a {
        display: block;
    }

    ul.normal-sub li a {
        font-size: 13px;
    }

    .menu > ul > li > ul.normal-sub > li a {
        padding-top: 2px;
        padding-bottom: 10px;
        margin-left: 20px;
    }

    .menu > ul > li > ul.normal-sub > li:first-child {
        padding-right: 0;
    }

    .menu > ul > li > ul > li {
        margin-top: 12px;
        /*padding-left:10px;*/
    }

    .menu > ul > li > ul {
        background: #c61932;
    }

    .menu > ul > li > ul > li a {
        color: white;
    }

    .menu .lelem {
        display: none;
    }

    .menu > ul > li > ul > li a:hover {
        color: white; 
    }

    .menu_arrow {
        display: none !important;
    }

    .avaya-video iframe {
        max-width: 100%;
        max-height: 50vw;
    }

    .boxView {
        max-width: 591px;
    }

}

@media only screen and (max-width: 767px) {

    .avad-support-iframe {
        width: 300px!important;
        height: 348px!important;
    }
    

    #main_wrapper {
        width: 480px;
    }

    .carousel-inner {
        width: 480px;
        height: 251px !important;
    }

    .carousel-inner img {
        width: 480px;
        height: auto;
    }

    #content_left_column {
        width: 100%;
        margin-left: 0px;
        margin-bottom: 20px;
    }

    #content_right_column {
        width: 480px;
        margin-left: 0px;
    }

    #footer_menu {
        padding-left: 40px;
    }

    .footer_menu_box {
        width: 155px;
        margin-bottom: 10px;
    }

    #login_left {
        margin-left: 30px;
    }

    .rounded_input {
        width: 150px;
        margin-right: 2px;
    }

    #login_button {
        margin-left: 25px;
    }

    #header_red_stripe {
        height: auto !important;
    }

    .tx-ms-newslisting .aktuell .inner {
        width: 65%;
    }

    .tx-ms-newslisting .aktuell .image {
        width: 19%;
    }

    #menu_search {
        display: none !important;
    }

    .menu > ul > li > ul.normal-sub > li {
        /*margin-left:40px;*/
        margin: 0;
    }

    #tdMenuSearch {
        display: none;
    }

    #logo, #menu_icons {
        margin: 0;
    }

    #menu_icons a {
        padding-left: 10px;
    }

    .boxList {
        display: none;
    }

    .kachel_box .kachel:nth-child(3n), .kachel_box .kachel:nth-child(odd) {
        margin-left: 0px;
    }

    .kachel_box .kachel:nth-child(even) {
        margin-left: 20px;
    }

    .kachel_box .kachel {
        width: 230px;
        height: 158px;
    }



    .boxView .box {
        margin: 0 auto!important;
        margin-bottom: 20px!important;
        float: none;
    }

    .tx-felogin-pi1 .forgot input[type="submit"] {
        margin-left: 0px;
        margin-bottom: 20px;
    }

    .contactBox > div.text {
        height: auto;
        margin-bottom: 25px;
        margin-top: 10px;

    }

    .contactBox .title {
        margin-top: 10px;
    }

    #ci18, #ci19, #ci20, .p42 #content_left_column {
        display: none;
    }


    #cl752 div, #cl752  {
        display: block!important;
    }

     #cl752 > div {
         margin-bottom:40px;
     }
}

@media only screen and (max-width: 479px) {

    .tx-indexedsearch-searchbox table td {
	    display: block;
    }

    .tx-srfeuserregister-pi1, .tx-felogin-pi1 {
        width: 100%;
    }

    .tx-srfeuserregister-pi1 dt {
        width: auto;
        display: block;
    }

    .calendar-list-month-events {
        width: 100vw;
    }
    #main_wrapper {
        width: 300px;
    }

    .carousel-inner {
        width: 300px;
        height: 153px !important;
    }

    .carousel-inner img {
        width: 300px;
        height: auto;
    }

    #content_left_column {
        width: 300px;
        margin-left: 0px;
    }

    #content_right_column {
        width: 300px;
        margin-left: 0px;
    }

    #footer_menu {
        padding-left: 70px;
    }

    .footer_menu_box {
        width: 155px
    }

    #login_form {
        margin-left: 15px;
    }

    .rounded_input {
        width: 270px;
        margin-right: 0;
        margin-bottom: 5px;
    }

    #login_form #login_button {
        margin-left: 170px;
        margin-bottom: 10px;
    }

    #login_right {
        position: absolute;
        bottom: 0px;
    }

    #breadcrumb {
        margin-left: 2px;
        height: 50px;
    }

    div#footer_bottom {
        height: 80px;
    }

    .tx-ms-newslisting .aktuell .inner {
        float: none;
        width: 100%;
    }

    .tx-ms-newslisting .aktuell .image {
        float: none;
        width: 100%;
    }

    #logout_menu {
        margin-right: 0px;
        margin-left: 0px;
    }

    #logout_form {
        margin-left: 25px;
    }

    #headerFirstLine, #headerFirstLine tbody, #headerFirstLine tr {
        height: 50px;
    }

    #headerFirstLine td {
        height: 50px;
    }

    #headerFirstLine td.respSpacer {
        display: block;
        width: 35px;
    }


    #headerFirstLine #tdMenuIcons {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    #menu_icons {
        margin-right: 20px;
        padding-top: 9px;
        padding-bottom: 8px;
    }

    #headerFirstLineWrap {
        height: 100px;
        margin-top: 10px;
    }


    .kachel_box .kachel:nth-child(even) {
        margin-left: 0px;
    }

    .kachel_box .kachel {
        float: none!important;
        margin: 0 auto!important;
        width: 100%;
    }

    .form_wrapper label {
        float: none;
        display: block;
        padding-bottom: 5px;
    }

    .form_wrapper {
        width: auto;
    }

    .g-recaptcha {
        float: none;
    }

     .g-recaptcha div {
         width: 100%!important;
         height: auto!important;
     }

    .tx-indexedsearch .tx-indexedsearch-searchbox input.tx-indexedsearch-searchbox-sword {
        margin-left: 0px;
        margin-top: 10px;
    }
}



