/* 
@media (max-width: 1200px) {

    #nonFooter {
        width:1000px;
    }

    #footer_container {
        width: 1000px;
    }

}


@media (max-width: 1024px) {

    #nonFooter {
        width:900px;
    }

    #footer_container {
        width: 900px;
    }

}

@media (max-width: 950px) {

    #nonFooter {
        width:850px;
    }

    #footer_container {
        width: 850px;
    }

}

 */


@media (max-width: 930px) {

    .toptext_2 {
        top: 63px;
        max-width: 250px;
        font-size: 18px;
        line-height: 20px;
    }

    #logo {
        margin-top:20px;
    }

    #logo img {
        width:450px;
    }

    .submenu_2, .submenu_3 {
        font-size: 1.2em;    
    }

}

/* @media (max-width: 810px) { */
/* @media (max-width: 768px) { */
/* @media screen and (max-device-width: 768px) { */
@media (max-width: 768px) {

    body {
         /* border:solid magenta 1px; */  
    }


    #nonFooter,
    #footer_container {
        /* width:780px; */
        width:100%;
        box-shadow:none;
    }

    .content_container {
        padding-top:0px;
    }

    #logo img {
        width:400px;
    }

    .toptext_2 {
        /* top: 47px; */
        max-width: 240px;
        font-size: 16px;
        line-height: 18px;
    }

    .entrypic_container img {
        max-width:170px;
    /*     border: solid green 5px; */
    }


    body.LINKS2 .template_container .entrys_row_container {
        width: 33%;
    }    
    body.LINKS2 .entrys_row_container_inner {
        /* min-height: 195px; */
    }
    body.LINKS2 .entrys_row_container_inner img {
        max-width: 100%;
    }


    .footer_content .logo_mhkbg-NRW {
        float: left;
        display: block;
        clear: both;
        margin:15px 0 15px 0;
        /* border: solid red 1px; */
    }

}



@media (max-width: 680px) { 


    #nonFooter,
    #footer_container {
        width:100%; 
    }

    body {
        /* border:solid cyan 1px; */
    }

    #nonFooter {
        padding: 0 0px;
    }

     #logo {
        /* left: 10px; */
       /*  top:10px; */
        margin-top: 10px;
        margin-left: 10px;
    }

     #logo img {
        width: 95%;
    }

    .intropic_container {
        margin: 10px 0 15px 0;
    }

    .intropic_container.desktop {
         display:none;
    }

    .intropic_container.mobile {
         display:block; 
    }

    .inpicslider_container {
        display:none;
    }


    body.START .entrypic_container img {
        max-width: 160px;
    }
    body.START .article_container {
        font-size: 1.3em;
        /* line-height: 1.1em; */
    }
    body.START .entrys_row_container {
        width: 100%;
        margin:0;
        text-align: center;
    }
    body.START .entrypic_container {
        width: 100%;
    }
    body.START .entrytext_container {
        margin-top:-5px;
    }
    body.START .article_text_container {
        padding: 0 5%;
    }


    body.GALERIE .template_container .entrys_row_container {
        width:33%;
    }


    .template_container {
        width:auto;
        width: 100%;
        margin: 0px 0 15px 0px;
        /* padding: 0px; */
    }


    .show_page_container,
    .entrys_container {
        /* padding: 0 15px; */
    }

    .introtext_container {
        /* padding: 0 15px; */
        font-size:1.2em;
    }

    .template_container {
        padding: 0 15px;
        padding-top:15px;
    }


    .leftcol_container,
    .rightcol_container {
        display: none;
        width: 100%;
        padding: 0px;
        margin: 0px;
    }
 
    .submenu_container {
        display:none;
        margin-bottom: 10px;
    }

    .topnews_container {
        display:none;
    }

    .top_container {
        padding-bottom:0;
        border:0;
    }

    .fixed_menu_top {
        /* display:none; */
        right: 40px;
    }
    
    .fixed_menu_top .version_link,
    .fixed_menu_top #zoomTrigger,
    .fixed_menu_top .searchform {
        display:none;
    }

    
    .toptext_2 {
        display:block;
        display:none;
        top: 100px;
        right: 0px;

        padding: 0 20px;

        font-size:1.0em;
        line-height:1.1em;

    }
    #footer_container {
        height:150px;
        /* height: 240px; */
    }
    .footer_content {
        padding: 15px 15px 15px 15px;
    }

    .show_page_container {
        font-size: 1.6em;
        line-height: 1.1em;
        /* margin-top: 20px; */
    }

    .article_container {
        font-size: 1.3em;
        /* line-height: 1.1em; */
        margin: 5px 0 5px 0px;
    }

    #menu_opener {
        display:block;
    }

    .mainmenu_container {
        display:none;
    }

    .entrytext_container.rightCol {
        width:auto;
    }
    .intropic_container img {
        width: 100%;
    }

    .form_container {
        width:100%;
        padding: 0 15px;
    }

    .form_container input,
    .form_container textarea {
        width:90% !important;
        padding:2px;
    }

    .entrys_container_form  {
        width:auto;
    }

    iframe {
        width:100%;
    }


    #lightbox-container-image-box {
        width: 100% !important;
        height: auto !important;
    }
    #lightbox-container-image-box img#lightbox-image {
        width: 100% !important;
        height: auto !important;
    }
    #lightbox-nav a  {
        height: 100% !important;
    }
    #lightbox-container-image-data-box {
        width: 100% !important;
    }

    body.LINKS2 .template_container .entrys_row_container {
        width: 100%;
    }

    #LS_version_Trigger {
        margin-right:20px;
    }


    #LS_version_Trigger span {
        /* display:none; */
    }

    .entrypic_container.LS img {
        max-width: 130px;
    }

}

@media (max-width: 620px) { 

/* 
    #footer_container {
        height: 240px;
    }

    .footer_content .logo_mhkbg-NRW {
        float:left;
    }

    .footer_content .logo_mhkbg-NRW {
        float:right;
        width:100px;
    }

    .footer_content .logo_mhkbg-NRW span {
        display:none;
    }
 */

}

@media screen and (max-device-width: 680px) and (orientation: portrait)
{
/* 
    .footer_content .logo_mhkbg-NRW {
        float:right;
        width:100px;
    }

    .footer_content .logo_mhkbg-NRW span {
        display:none;
    }
 */
}

@media screen and (max-device-width: 680px) and (orientation: landscape)
{
    body {
         /* border:solid red 2px;  */
    }

    #logo img {
         /* width: 570px; */
         width: 90%;
    }

    #logo img.logo_portrait {
        display:none;
    }
    #logo img.logo_landscape {
        display:block;
    }

    .toptext_2 {
        display:block;
        top: 85px;
        left: 98px;
        right: auto;
        /* max-width: 50%; */
        max-width: 320px;
        text-align: left;
        padding: 0;
        
    }

    body.LINKS2 .template_container .entrys_row_container {
        width: 50%;
    }

    body.START .entrys_row_container {
        width:50%
    }
    body.START .entrypic_container img {
        max-width: 160px;
    }

}

/* iPhone 4 */

@media screen and (max-device-width: 480px) and (orientation: portrait)
{
    body {
         /* border:solid red 2px; */
    }

    .top_container {
        /* height: 85px; */
    }
}


@media screen and (max-device-width: 480px) and (orientation: landscape)
{
    body {
         /* border:solid red 2px; */
    }

    .toptext_2 {
        top: 65px;
        left: 73px;
    }

}


@media (min-width: 680px) {

    .mainmenu_container {
       /*  display:block !important; */
    }

}


