
/*
FIX IE11 Navigation
*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
   #menubar1 .dropdown:hover ul{
   		display:block;
   		z-index:100;
   		left:0 !important;
   }

   #menubar1 .dropdown:hover .dropdown-2:hover ul{
   		display:block;
   		z-index:100;
   		top:0 !important;
   		left:190px !important;
   }
   
   #menubar1 .dropdown:hover ul{
   		
   }
   
}


/*
################## Kleine Desktop-Version #######################
--> Schon 15px früher umschalten, wegen dem Scrollbalken rechts
*/
@media all and (max-width: 1185px) {
    #top, #content, #footer {
        width: 990px;
    }

    #top_auerbergland {
        margin-left: 30px;
    }

    #header_nav {
        width: 990px;
    }

    #header_nav ul li {
        max-width: 150px;
        font-size: 0.9em;
    }

    #header_nav ul li a,
    #header_nav ul li a:link,
    #header_nav ul li a:visited,
    #header_nav ul li a:active,
    #header_nav ul li a:focus {
        padding: 9px 10px;
    }

    #header_nav ul li ul li {
        font-size: 1.2em;
        line-height: 1.1em;
    }

    #footer_left {}

    #footer_center {}

    #footer_right {}

    #header .bx-wrapper .bx-caption {
        bottom: -35px;
        height: 80px;
        left: 50%;
        margin-left: -495px;
        width: 990px;
    }

    #header .bx-wrapper .bx-pager {
        bottom: -35px;
        margin-left: -495px;
        padding-bottom: 25px;
        padding-right: 100px;
        padding-top: 25px;
        width: 890px;
    }

    #header .bx-wrapper .bx-next {
        /* background: url("../img/right.png") #E70915; */
        height: 80px;
        margin-right: -495px;
        right: 50%;
        width: 80px;
    }

    #header .bx-wrapper .bx-prev {
        /* background: url("../img/left.png") #E70915; */
        height: 80px;
        margin-left: -495px;
        left: 50%;
        width: 80px;
    }

    #header .bx-wrapper .bx-caption span {
        font-size: 1.3em;
    }
}

/*
################## Pad-Version #######################
*/
@media all and (max-width: 991px) {
    .col1-33 {
        float: left;
        margin-right: 0;
        width: 100%;
    }

    .col2-66 {
        float: left;
        width: 100%;
    }

    #header_lupe {
        display: none;
    }

    #top,
    #content,
    #footer {
        width: auto;
    }

    #top {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
        height: auto;
    }

    #content_left {
        float: none;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

    #content_right {
        float: none;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 25px;
    }

    #top_bereiche_1:hover .bereichimg,
    #top_bereiche_2:hover .bereichimg,
    #top_bereiche_3:hover .bereichimg,
    #top_bereiche_4:hover .bereichimg,
    #top_bereiche_5:hover .bereichimg {
        display: none;
    }

    #top_bereiche a,
    #top_bereiche a:link,
    #top_bereiche a:visited,
    #top_bereiche a:active,
    #top_bereiche a:focus {
        padding-top: 30px;
        padding-bottom: 30px;
        text-shadow: 1px 1px 1px #444444;
        display: block;
        height: auto;
        width: 90px;
        text-align: center;
        font-weight: normal;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 0px;
    }

    #top_bereiche a:hover {
        text-decoration: none;
    }

    #top_auerbergland {
        display: none;
    }

    #top_logo {
        float: left;
        margin-top: 10px;
    }

    #header, #header_image_wrapper {
        height: auto;
        width: 100%;
    }

    #wrapper, body {
        width: 100%;
        /* overflow:hidden; */
    }

    #startwrapper #header {
        height: 360px;
    }

    #header .bx-wrapper .bx-caption {
        display: none;
    }

    #header .bx-wrapper .bx-pager {
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
        bottom: -55px;
        left: 0;
        margin-left: 0px;
        padding-bottom: 25px;
        padding-right: 0px;
        padding-top: 25px;
        position: absolute;
        text-align: center;
        top: auto;
        width: 100%;
    }

    #header_nav {
        width: 100%;
        left: 0;
        margin-left: 0;
    }

    #content #sidenav2 {
        display: block;
        margin-bottom: 20px;
        padding-bottom: 10px;
        margin-left: 40px;
    }

    #content #sidenav2 li {
        margin-bottom: 10px;
    }

    #header .bx-wrapper .bx-prev {
        left: 30%;
        margin-left: 0;
    }

    #header .bx-wrapper .bx-next {
        right: 30%;
        margin-right: 0;
    }
}

/*
################## Pad-Version #######################
*/
@media all and (max-width: 990px) {
    #footer_left {}

    #footer_right {}

    #content img {
        max-width: 100%;
        height: auto;
    }

    .grid2cols {
        overflow: hidden;
    }

    .grid2cols .col1 {
        width: auto;
        float: none;
    }

    .grid2cols .col2 {
        width: auto;
        float: none;
    }

    .grid2colsdiff {
        overflow: hidden;
    }

    .grid2colsdiff .col1 {
        width: auto;
        float: none;
    }

    .grid2colsdiff .col2 {
        width: auto;
        float: none;
    }

    .grid3cols {
        overflow: hidden;
    }

    .grid3cols .col1 {
        width: auto;
        float: none;
        margin-left: 0px;
    }

    .grid3cols .col2 {
        width: auto;
        float: none;
        margin-left: 0px;
    }

    .grid3cols .col3 {
        width: auto;
        float: none;
        margin-left: 0px;
    }

    #top_logo img {
        max-width: 90px;
        max-height: 90px;
    }

/*    #header_image_wrapper {
        margin-top: 15px;
    }
*/
    .kopfbild picture {
        width: 100%;
        height: auto;
    }
}

@media all and (max-width: 880px) {

    #footer_left,
    #footer_left2,
    #footer_center,
    #footer_right {
        width: 48%;
        margin-bottom: 25px;
    }

    #footer_left,
    #footer_center {
        padding-left: 2%;
    }

    #footer_left2,
    #footer_right {
        padding-right: 2%;
    }

    /* #header_image_wrapper {
        top: 200px;
    } */
}

/* Spezial Anpassung für niedrige Monitore*/
@media all and (max-height: 850px) {
    #header_image {
        left: 50%;
        margin-left: -585px;
        position: relative;
        width: 1170px;
    }

    #header {
        height: 300px;
    }

    #startwrapper #header {
        height: 360px;
    }

    #header_image>img {
        height: auto;
        width: 100%;
    }
}

/*
################## Smartphone-Version #######################
*/
@media all and (max-width: 700px) {
    #content img {
        width: 100%;
    }
}

/*
#########################################
*/
@media all and (max-width: 600px) {
    #top_logo_text {
        float: right;
        font-size: 1.1em;
        margin-left: 20px;
        margin-top: 0;
        min-width: 0px;
    }

    #top_tourismus {
        display: none;
    }

    .top_logo_text_ort {
        font-size: 1.5em;
    }

    /* CSS-Styled-Content Regeln überschreiben */
    DIV.csc-textpic-above DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-below DIV.csc-textpic-imagewrap,
    DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI,
    DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image {
        float: none;
    }
}

/*
################## Smartphone-Version #######################
*/
@media all and (max-width: 480px) {
    #footer_left, #footer_left2, #footer_center, #footer_right {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
        float: none;
    }

    #top {
        margin-left: 10px;
        margin-right: 10px;
        height: auto;
    }

    #top_bereiche {
        margin-left: -12px;
        margin-bottom: 6px;
    }

    #top_bereiche_1, #top_bereiche_2, #top_bereiche_3, #top_bereiche_4, #top_bereiche_5 {
        margin-left: 8px;
        width: 80px;
    }

    #top_bereiche a, #top_bereiche a:link, #top_bereiche a:visited, #top_bereiche a:active, #top_bereiche a:focus {
        padding-bottom: 25px;
        padding-top: 25px;
        font-size: 0.85em;
        width: 80px;
    }

    /* #header_image{
        width: 800px;
        left: 50%;
        margin-left: -400px;
        position: relative;
    } */
    #header_image img {
        width: 800px;
        height: auto;
    }

    /* #header,
    #header_image_wrapper {
        height: 240px;
    } */
    #startwrapper #header {
        height: 280px;
    }

    #content_meta {
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

@media all and (max-width: 400px) {
    #top_tourismus {
        display: none;
    }

    #top_bereiche_1,
    #top_bereiche_2,
    #top_bereiche_3,
    #top_bereiche_4,
    #top_bereiche_5 {
        margin-left: 1px;
        width: 75px;
    }

    #top_bereiche a,
    #top_bereiche a:link,
    #top_bereiche a:visited,
    #top_bereiche a:active,
    #top_bereiche a:focus {
        font-size: 0.8em;
        padding-bottom: 25px;
        padding-top: 25px;
        width: 75px;
    }

    .top_logo_text_ort {
        font-size: 1.2em;
    }

    #top_logo_text {
        margin-left: 5px;
    }

    .top_logo_text_ort_2 {
        font-size: 1em;
    }

    DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap {
        float: none;
    }
}

@media all and (max-width: 991px) and (max-height: 850px) {
    #header_image {
        left: unset;
        margin-left: unset;
        position: relative;
        width: auto;
    }

    #header {
        height: auto;
    }
}

@media all and (max-width: 991px) {
    #header #header_lupe {
        display: none;
    }

    #header_image_wrapper {
      /*  margin-top: 58px; */
    }

    #header_nav ul {
        display: none;
    }

    #suche-inner {
        display: block;
        margin-left: -170px;
    }

    #header_lupe a,
    #header_lupe a:link,
    #header_lupe a:visited,
    #header_lupe a:active,
    #header_lupe a:focus {
        display: none;
    }

    #header_lupe:hover #suche-inner {
        display: block;
        background: none;
        position: auto;
        padding: 0px;
        margin-left: -170px;
    }

    /* flexible Medien*/
    img, embed, object, video {
        max-width: 100%;
        height: auto;
        width: auto;
    }

    /* optional */
    /* Golden Grid Layout für Bild im Text*/
    DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap {
        width: 38%;
        /* Bildcontainer Breite */
    }

    DIV.csc-textpic-intext-left-nowrap .csc-textpic-text {
        margin-left: 40%;
        /* Textblock */
    }

    DIV.csc-textpic-intext-right-nowrap .csc-textpic-text {
        margin-right: 40%;
        /* Textblock */
    }

    .mean-container .mean-bar {
        float: none;
    }

    #carousel-slider .steuerung {
        background: #eee;
        margin-top: 0;
        z-index: 1;
        position: relative;
        padding: 0;
        height: 45px;
        width: 100%;
        max-width: 100%;
    }

    #carousel-slider .bildtitel {
        font-size: 16px;
    }
}

@media all and (max-width: 640px) {

    /* CSS-Styled-Content Regeln überschreiben */
    DIV.csc-textpic-above DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-below DIV.csc-textpic-imagewrap,
    DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI,
    DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image {
        /* float: none; */
        display: inline-block;
        vertical-align: top;
    }

    DIV.csc-textpic-left DIV.csc-textpic-imagewrap .csc-textpic-image,
    DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
    DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap .csc-textpic-image {
        display: inline-block;
    }

    DIV.csc-textpic-imagewrap UL.csc-textpic-imagerow-none .csc-textpic-image {
        display: block;
    }

    .csc-default {
        clear: both;
    }
}
