@media only screen and (max-width : 1240px) {
    * {
        box-sizing: border-box;
    }
    #frame {
        padding: 0 10px;
    }
    #frame {
        width: 100%;
    }
    #header div.slogan {
        width: 38%;
    }
    #header div.slogan img {
        width: 100%;
    }
    input {
        height: auto !important;
    }
    body.frontend #content {
        width: 70%;
        padding: 10px 0 50px;
    }
    #top a.level_1 {
        padding: 15px 6px 5px;
    }
    .custom_start_box {
        padding: 17px;
        width: 49%;
        height: 168px;
    }
    div.custom-course-left,
    div.custom-course-right {
        float: none;
        width: 100%;
    }
    div.custom-course-right input.city,
    div.custom-course-right input.zip {
        width: 147px;
    }
    #link-vhs-profil {
        width: 300px;
        float: none;
    }
    #login-form {
        float: none;
    }
}
@media only screen and (max-width : 1023px) {
    * {
        box-sizing: border-box;
    }
    .custom_start_box {
        width: 100%;
        float: none;
        height: auto;
    }
    .custom_start_box:after {
        content: ".";
        clear: both;
        display: block;
        visibility: hidden;
        height: 0px;
    }
    /* General */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Content */
    body.frontend {
        background-image: none;
        padding: 0;
        margin: 0;
    }
    #frame {
        padding: 0;
        overflow: hidden;
    }
    #login-form {
        padding: 0 20px;
    }
    #social-links {
        text-align: center;
        margin: 0 0 20px;
    }

    #footer ul {
        padding-right: 10px;
        padding-left: 10px;
        padding-top: 20px;
    }

    body.frontend #content {
        float: none;
        padding: 0 20px;
        width: 100%;
        clear: both;
        padding-top: 20px;
        min-height: auto;
    }

    #header {
        height: auto;
        padding: 20px 20px 0;
    }
    body.loggedin #header {
        background: #fff;
    }
    ul.menu-sub,
    div#left-sidebar {
        display: none;
    }

    #header div#logo {
        margin-top: 34px;
        float: none;
        text-align: center;
    }

    #header div.slogan {
        margin-left: 0;
        margin-top: 0;
        float: none;
        text-align: center;
        width: auto;
    }
    #header div.slogan img {
        width: auto;
    }
    #header .header-image {
        float: none;
        text-align: center;
        margin-bottom: 20px;
        width: auto;
    }
    #header .header-image img {
        width: auto;
    }
    #top {
        padding: 0 20px;
        padding-bottom: 20px;
    }
    #breadcrumb {
        display: none;
    }
    #language {
        position: absolute;
        top: 0;
        text-align: center;
        width: 100%;
        left: 0;
    }
    #search-form {
        border-top: 1px solid #062e60;
        border-bottom: 1px solid #062e60;
        padding: 20px 0;
        margin: 20px;
    }
    #extranet-urls {
        padding: 0 20px;
        float: none;
    }
    table.content-image-text,
    table.content-image-text tbody,
    table.content-image-text thead,
    table.content-image-text tr,
    table.content-image-text td,
    table.content-image-text table {
        width: 100%;
        display: block;
        height: auto;
    }
    table.content-image-text .responsive-table tbody {
        display: table-row-group;
    }
    table.content-image-text .responsive-table thead {
        display: table-header-group;
    }
    table.content-image-text .responsive-table tr {
        display: table-row;
    }
    table.content-image-text .responsive-table td {
        display: table-cell;
    }
    table.content-image-text .responsive-table table {
        display: table;
    }
    table.content-image-text td img {
        float: none;
        display: block;
    }
    table.content-image-text td.image-right {
        padding-left: 0;
    }
    .responsive-table {
        overflow-x: scroll;
    }
    img.right {
        margin-right: 0;
        margin-left: 0;
    }
    .content-custom-course-list .button, a.custom-course-back,
    a.custom-course-register-back,
    .frontend-newsletter-cancel input.submit,
    .content-newsletter input.submit,
    a.custom-course-register-course {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    a.custom-course-register-course {
        margin-left: 0;
    }
    p.custom-course-headline {
        padding: 0;
    }
    table.custom-course-info {
        margin: 0;
    }
    table.custom-course-info tbody tr td,
    table.custom-course-info tbody tr td.first,
    table.custom-course-info tbody tr td.last {
        display: block;
        padding: 4px 0;
        width: auto;
        text-align: left;
    }
    #top {
        background: #fff;
        border: none;
        height: auto;
    }
    .menu-main {
        display: none;
    }
    #mobile-menu {
        background: #002b59;
        width: 100%;
        display: block;
        height: 46px;
    }
    #mobile-menu div {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
        width: 33%;
        float: left;
    }
    #menu-mobile {
        cursor: pointer;
        display: block;
        background-image: url('/images/default/pipe-mobile-menu.png');
        background-repeat: no-repeat;
        background-position: right 11px;
        padding: 10px 20px;
    }
    #menu-mobile:before {
        background-image: url('/images/default/mobile-menu-icon-1.png');
        background-repeat: no-repeat;
        background-position: 0 center;
        content: 'Menü';
        padding-left: 35px;
    }
    #menu-search {
        width: 33%;
        float: left;
        background-image: url('/images/default/pipe-mobile-menu.png');
        background-repeat: no-repeat;
        background-position: right 11px;
    }
    #menu-search a,
    #menu-login a,
    #menu-logout a {
        display: block;
        width: 100%;
        height: 50px;
        padding: 10px 20px;
        color: #fff;
    }
    #menu-search a:hover,
    #menu-login a:hover,
    #menu-logout a:hover {
        text-decoration: none !important;
    }
    #menu-search a:before {
        background-image: url('/images/default/mobile-menu-icon-2.png');
        background-repeat: no-repeat;
        background-position: 0 center;
        content: 'Suche';
        padding-left: 35px;
    }
    #menu-login {
        width: 33%;
        float: left;
    }
    #menu-login a:before {
        background-image: url('/images/default/mobile-menu-icon-3.png');
        background-repeat: no-repeat;
        background-position: 0 center;
        content: 'Login';
        padding-left: 35px;
    }

    #menu-logout {
        width: 33%;
        float: left;
    }
    #menu-logout a:before {
        background-image: url('/images/default/mobile-menu-icon-4.png');
        background-repeat: no-repeat;
        background-position: 0 center;
        content: 'Logout';
        padding-left: 35px;
    }

    #top ul.menu-main {
    }
    #top li.level_1 {
        float: none;
        padding: 0;
        border-bottom: 1px solid #fff;

    }
    #top a.level_1 {
        padding: 10px;
        background: #002b59;
        color: #fff;
        border-bottom: none;
        line-height: 20px;
        height: 40px;
    }
    #top .menu-main {
        position: static;
        width: 100%;
        margin-bottom: 0;
    }
    #top .menu-main li {
        float: none;
        width: 100%;
        padding: 0;
        list-style: none;
    }
    #top li:hover ul.level_2,
    #top li.hover ul.level_2 {
        display: none;
    }
    #top ul.level_3 {
        display: none;
    }
    #top .menu-main li.open > ul,
    #top .menu-main li.active_path > ul {
        display: block;
    }
    #top .menu-main li.closed > ul {
        display: none;
    }
    #top .menu-main li.haschilds:before,
    #top .menu-main li.closed:before {
        content: '';
        float: right;
        height: 40px;
        width: 40px;
        text-align: center;
        background: #002b59 no-repeat center center;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjEycHgiIHZpZXdCb3g9IjAgMCAxMiAxMiI+PHJlY3QgeT0iNSIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjEyIiBoZWlnaHQ9IjIiLz48cmVjdCB4PSI1IiBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjEyIiB3aWR0aD0iMiIvPjwvc3ZnPg==);
        font-weight: bold;
        font-size: 25px;
        vertical-align: middle;
        border-left: 1px solid #fff;
        border-bottom: 1px solid #fff;
        margin-bottom: -1px;
    }
    #top .menu-main li.active_path:not(.closed):before,
    #top .menu-main li.open:before {
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjEycHgiIHZpZXdCb3g9IjAgMCAxMiAxMiI+PHJlY3QgeT0iNSIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjEyIiBoZWlnaHQ9IjIiLz48L3N2Zz4=);
    }
    #top li.level_1:hover a.level_1,
    #top li.haschilds:hover a.level_1,
    #top li.hover a.level_1 {
        margin: 0;
        padding: 10px;
        border: none;
    }
    #top ul.level_2 li.haschilds:before,
    #top ul.level_2 li.closed:before {
        height: 36px;
        width: 40px;
    }
    #top ul.level_2 {
        position: relative;
        left: 0;
        padding: 0;
        width: 100%;
    }
    #top li.level_2 {
        padding-left: 20px;
        border-top: 1px solid #fff;
    }
    #top ul.level_2 a {
        padding: 10px 60px 10px 0;
        line-height: 16px;
    }
    #top .menu-main ul.level_3 li.haschilds:before,
    #top .menu-main ul.level_3 li.closed:before,
    #top .menu-main ul.level_3 li.active_path:not(.closed):before,
    #top .menu-main ul.level_3 li.open:before {
        display: none;
    }
    #top ul.level_3 a {
        padding: 8px 60px 8px 0;
    }
    #link-vhs-profil {
        margin-left: 20px;
    }
}
@media only screen and (max-width : 700px) {
    #footer {
        float: left;
    }
    #custom-recommendation-table td {
        display: block;
    }
}
@media only screen and (max-width : 480px) {
    div.custom-course-right p {
        padding: 0;
    }
    div.custom-course-right table.form .first,
    div.custom-course-right table.form .last {
        display: block;
        padding: 4px 0;
        width: 100%;
        height: auto !important;
    }
    div.custom-course-right select,
    .content-newsletter table.newsletter td select,
    div.custom-course-right input.text,
    div.custom-course-right textarea.textarea {
        width: 100%;
    }
    div.custom-course-right input.zip {
        width: 28%;
    }
    div.custom-course-right input.city {
        width: 68%;
        float: right;
        margin: 0;
    }
    table.newsletter,
    table.newsletter tbody,
    table.newsletter tbody tr,
    table.newsletter tbody tr td,
    table.newsletter tbody tr td.first,
    table.newsletter tbody tr td.last {
        display: block;
        padding: 4px 0;
        width: auto;
        text-align: left;
    }
    table.newsletter tbody tr td input.text,
    table.newsletter tbody tr td select,
    div.module-search div.content-box table.form td input.textfield,
    input.text,
    #custom-recommendation input.text {
        width: 100%;
    }
    div.login td {
        display: block;
        padding: 4px 0;
        width: 100%;
        height: auto !important;
    }
    #menu-search a:before,
    #menu-logout a:before,
    #menu-login a:before {
        content: '';
        padding-left: 23px;
    }
    #menu-mobile:before {
        content: '';
        padding-left: 23px;
    }
    #mobile-menu div {
        text-align: center;
    }
}