/******************************************/
/*                                        */
/* AWI Microsite Styles (Responsive File) */
/*                                        */
/******************************************/


/* ALLGEMEINE RESPONSIVITÄTS-DEFINITIONEN */

#respoid {
  width: 10px;
}





/* MIN-WIDTH-MEDIAPORTS */

@media (min-width: 1025px) {
  .logo-mobile, .logo-mobile-link { display: none !important; }
}
@media (max-width: 1024px) {
  .logo-desktop, .logo-desktop-link { display: none !important; }
}


/* DESKTOP (ab 1025 Pixel Bildschirmbreite) */

@media (min-width: 1025px) {

    /* HEADER fixed @setting */

  .header-fixed #header-wrap {
    position: fixed;
    z-index: 99;
  }
  .header-fixed #main {
    padding-top: 150px;
  }

    /* H.SEARCH */

  #search .sword {
    background: white !important;
  }

    /* H.MAINMENU für DESKTOP */

  #mainmenu .root {
    height: 100%;
  }
  #mainmenu .root > li {
    height: 100%;
  }
  #mainmenu .root > li > .pagelink {
    display: block;
    height: 21px;
    margin: 10px 4px 6px;
    padding: 4px 12px 0;
    color: white;
    background-repeat: no-repeat;
    background-position: center center;  
  }
  #mainmenu .sub {
    display: none;
    position: absolute;
    z-index: 13;
    top: 33px;
    left: 4px;    
    min-width: 160px;
    padding: 10px 5px;
    background: white;
    box-shadow: 0px 5px 5px rgba(0,0,0,0.5);
  }
  #mainmenu .sub ul {
    display: none !important;
  }
  #mainmenu .sub .pagelink {
    display: block;
    padding: 0.3em 0.45em;
    color: gray;  
  }
  #mainmenu .current-page > .pagelink {
    background: transparent !important;
  }
  #mainmenu-button, #mainmenu .sublink { display: none; }

    /* "Animation" */

  #mainmenu .sub .pagelink:hover {
    border-radius: 3px;
    text-decoration: none;
    color: white !important;
    background: gray;
  }
  #mainmenu .root > li:not(.current):hover .sub {
    display: block;
  }
  #mainmenu .root > li:hover > a {
    background-color: white !important;
    border-radius: 4px;
    color: gray;
    text-decoration: none;
  }

    /* Home-Haus-Icon */

  #mainmenu .root > li.home {
    width: 33px;
    height: 100%;  
    margin-left: 12px;
    padding: 0px;
    background: url("/fileadmin/public/images/icon_home.png") no-repeat center 13px;
  }
  #mainmenu .root > li.home > a {
    padding: 4px 0px 0px;
  }
  #mainmenu .root > li.home > a span {
    display: none;
  }
  #mainmenu .root > li.home > a:hover { 
    background-repeat: no-repeat;
    background-position: center center;
  }

}





/* MAX-WIDTH-MEDIAPORTS */


/* MEDIUM (MD): (1025-) 1200 Pixel Bildschirmbreite (noch DESKTOP) */

@media (max-width: 1200px) {

  #respoid {
    width: 20px;
  }

    /* H.METANAVI, H.SEARCH */

  #metawrap, #search {
    right: 10px;
  }

  /* MAIN */

  #main {
    /* width: 97.5%; */
    /* width: calc(100% - 20px); */
    width: 100%;
  }

  /* CONTENT */

  .pagelayout-5 .content-top .ce-textmedia > .main-header, .pagelayout-5 .content-top .ce-textmedia > .sub-header {
    margin-left: 15px;
  }

    /* P.NEWS */

  .pagelayout-5 .content-top .news-list.news-template-10 {
    margin-top: 30px;
  }
  .news-list.news-template-10 .news-article:nth-child(3n+1) .news-article-inner {
    margin: 0px 20px 20px 0px;
  }
  .news-list.news-template-10 .news-article-inner {
    margin: 0px 10px 20px;
  }
  .news-list.news-template-10 .news-article:nth-child(3n+3) .news-article-inner {
    margin: 0px 0px 20px 20px;
  }

  /* FOOTER */

  #footer {
    width: calc(100% - 20px);
  }


}

/* SMALL (SM): (768-) 1024 Pixel Bildschirmbreite (MOBILE groß -- viele Tablets quer) */

@media (max-width: 1024px) {

  #respoid {
    width: 30px;
  }

  /* HEADER */

  #header {
    height: 165px;
  }

    /* H.LOGO */
  
  #logo img {
    max-height: 50px;
    max-width: 400px;
    height: auto;
  }

    /* H.MAINMENU (für MOBILE) */

  #mainmenu.mainmenu-open {
    overflow-y: visible;
  }
  #mainmenu .root {
    display: none;
    position: relative;
    z-index: 11;
    top: 42px;
    padding: 15px 0px;
    background: #f2f2f2;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.3);
  }
  #mainmenu .root ul {
    position: relative;
    float: none;
  }
  #mainmenu .root li {
    position: relative;
    display: block;
    float: none;
    clear: both;
    border-top: 1px solid white;
  }
  #mainmenu .root > li.home > a:hover {
    background-image: none !important;
  }
  #mainmenu .pagelink {
    display: block;
    padding: 10px 15px;
  }
  #mainmenu .pagelink:hover, #mainmenu .current-page > .pagelink {
    color: white !important;
    text-decoration: none;
  }
   
      /* -- 2., 3. ... Unterebene */

  #mainmenu.mainmenu-open .root ul {
    display: none;
  }
  #mainmenu .root ul {
    background: #e1e1e1;
    /* font-size: 0.95em; */
  }
  #mainmenu .root ul ul {
    background: #d3d3d3;
  }
  #mainmenu .root ul ul ul {
    background: #c5c5c5;
  }

      /* -- Sublinks */

  #mainmenu .sublink {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 7px 15px;
  }
  #mainmenu .sublink .icon::before {
    content: "\e813";
    color: gray;
    font-size: 1.5em;
  }
  #mainmenu .sublink.open .icon::before {
    content: "\e816";
  }
  #mainmenu a:hover + .sublink .icon::before {
    color: white;
  }

      /* -- Button */

  #mainmenu-button {
    display: block;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 40px;
    cursor: pointer;
  }
  #mainmenu-button .menu-label {
    position: relative;
    top: 12px;
    left: 15px;  
    color: white;
    font-weight: bold;
  }
  #mainmenu-button .navicon {
    width: 32px;
    height: 18px;
    display: inline-block;
    position: relative;
    top: 12px;
    right: 15px;
    float: right;
    transition: width 0.6s ease;
  }
  .mainmenu-open #mainmenu-button .navicon {
    width: 26px;
  }
  #mainmenu-button .navicon > div {
    height: 5px;
    width: 100%;
    border-bottom-width: 2px;
    border-bottom-style: solid;
  }
  #mainmenu-button .navicon > div, #mainmenu-button .navicon > div:first-child {
    border-color: white;
    opacity: 1;
    transition: transform 0.6s ease, top 0.6s ease, left 0.6s ease, opacity 0.6s ease;
    position: relative;
  }
  #mainmenu-button .navicon > div:first-child {
    height: 0px;
    border-bottom: none;
    border-top-width: 2px;
    border-top-style: solid;
  }
  .mainmenu-open #mainmenu-button .navicon > div:first-child {
    transform: rotate(45deg);
    top: 8px;
    left: 1px;
  }
  .mainmenu-open #mainmenu-button .navicon > div:last-child {
    transform: rotate(-45deg);
    top: -6px;
  }
  .mainmenu-open #mainmenu-button .navicon > div:nth-child(2) {
    opacity: 0;
  }

    /* H.METAWRAP */
  
  #metawrap {
    top: 0px;
  }
  #languageselector {
    float: right;
  }
  #metanavi {
  
    display: none !important;
  
    float: right;
    clear: right;
  }


    /* H.SEARCH */

  #search {
    left: 15px;
    right: auto;
    top: 75px;  
  }
  #search .sword {
    transition: background-color 0.6s ease;
  }
  #search .submit {
    opacity: 0.7;   
    transition: opacity 0.6s ease;
  }
  #search .sword:focus {
    background-color: white;
  }
  #search .sword:focus + .submit {
    opacity: 1;
  }


    /* M.SUBMENU */

  #submenu {
    display: none;
  }

    /* CONTENT */

  #submenu + #content {
    width: 100%;
  }

  .content-main .teaser-box {
    width: 50%;
  }
  .content-main .teaser-box:first-child ~ .teaser-box:nth-child(2n+3) {
    clear: left;
  }
  .content-main .teaser-box:first-child ~ .teaser-box:nth-child(3n+4) {
    clear: none;
  }
  .pagelayout-1 .content-main .teaser-box, .pagelayout-2 .content-main .teaser-box {
    width: 33.33%;
  }

    /* P.DCE */

  .accordion-item-header .label {
    max-width: 87%;
  }

    /* P.NEWS */

  .news-list.news-template-10 .news-article {
    width: 50%;
  }
  .news-list.news-template-10 .news-article:nth-child(2n+1) .news-article-inner {
    margin: 0px 10px 20px 0px;
  }
  .news-list.news-template-10 .news-article:nth-child(2n+2) .news-article-inner {
    margin: 0px 0px 20px 10px;
  }
  .news-list.news-template-10 .news-text {
    min-height: 150px;
    max-height: 200px;
  }



    /* F.SITEMAP */

  #footer .sitemap .root > .item {    
    width: 33.3%;
  }
  #footer .sitemap .root > .item:nth-child(5n+6) {
    clear: none;
  }  
  #footer .sitemap .root > .item:nth-child(3n+4) {
    clear: both;
  }  

}


/* Extra Small (XS(1)): (577-) 767 Pixel Bildschirmbreite (MOBILE mittel -- viele Tablets quer oder hochkant) */

@media (max-width: 767px) {

  #respoid {
    width: 40px;    
  }

  #logo .logo-mobile {
    max-width: 320px;
  }

  /* CONTENT */

  #content .content-col.content-main {
    width: 100%;
    min-height: 0px;
  }
  #content .content-col.content-side {
    width: 100%;
    margin-top: 35px;
    min-height: 0px;
  }

  .content-top .ce-gallery {
    width: 100%;
  }
  .content-top .with-image .ce-textpic .ce-bodytext {
    position: static;
    clear: both;
    width: 100%;
  }
  .content-top .with-image .ce-textpic .shadow { display: none !important; }

  .pagelayout-1 .content-main .teaser-box, .pagelayout-2 .content-main .teaser-box, .content-side .teaser-box {
    width: 50%;
  }

    /* P.DCE */

  .accordion-item-header .label {
    max-width: 88%;
  }

    /* P.NEWS */

  .news-list.news-template-10 .news-article {
    width: 100%;
  }
  .news-list.news-template-10 .news-article .news-article-inner {
    margin: 0px 0px 25px !important;
  }
  .news-list.news-template-10 .news-text {
    height: auto;
    min-height: 0px;
    max-height: 9999px;
  }
  .news-list.news-template-10 .news-teaser-text {
    padding-bottom: 35px;
  }

  .news-list.news-template- .news-text, .news-list.news-template-12 .news-text {
    width: 50%;
  }
  .news-list.news-template- .news-img-wrap, .news-list.news-template-12 .news-img-wrap {
    width: 45%;
  }

    /* P.YAG */

  div.tx-yag-album-thumb-outerframe {
    width: 33.3%;
  }

  /* P.POWERMAIL */

  .powermail_input, .powermail_fieldwrap textarea {
    width: 60%;
  }
  .powermail_fieldset input.powermail_submit {
    margin-left: 128px;  
  }



}


/* Extra² Small (XXS): (399-) 576 Pixel Bildschirmbreite (MOBILE klein -- viele Tablets hochkant)*/

@media (max-width: 576px) {

  #respoid { 
    width: 44px; 
  }

  #logo .logo-mobile {
    max-width: 250px;
  }

    /* H.METANAVI */

  #metawrap {
    right: 10px;
  }
  #metanavi {
    float: none;
    clear: none;
    position: absolute;
    right: 60px;
    top: 6px;
  }
  #metanavi li {
    display: block;
    line-height: 1.1;
    text-align: right;
    margin-bottom: 10px;
  }
  #metanavi li a::before, #metanavi li:not(:first-child) a::before {
    display: none;
  }
  #languageselector {
    position: absolute;
    right: 0px;
    float: none;
  }
  #languageselector li {margin: 0;
    height: 25px;
    float: right;
  }

    /* H.MAINMENU */

  #mainmenu-button .navicon {
    right: 10px;
  }


    /* H.SEARCH */

  #search .sword {
    min-width: 250px;
  }

    /* C.BOXES */

  .ce-intext .ce-gallery {
    width: 100%;
    margin: 0px;
  }

  .in-text-image-wrap {
    max-width: 100%;
  }

  .content .teaser-box {
    width: 100% !important;
  }

    /* P.INDEXEDSEARCH */

  #tx_indexedsearch select {
    width: 86.5%;
    margin-right: 0%;
  }

    /* P.DCE */

  .accordion-item-header .label {
    max-width: 84%;
  }

    /* P.NEWS */

  .news-list.news-template- .news-img-wrap, .news-list.news-template-12 .news-img-wrap {
    width: 66%;
    margin-left: 15px;
  }
  .news-list.news-template- .news-text, .news-list.news-template-12 .news-text {
    width: 80%;
  }

  .news-list.news-template-14 .news-list-title {
    width: 100%;
  }

  .news-single.news-template- .news-related, .news-single.news-template-20 .news-related {
    width: 100%;
    padding: 15px 0px;
  }

    /* P.POWERMAIL */

  .powermail_input, .powermail_fieldwrap textarea {
    width: 90%;
  }
  .powermail_fieldset input.powermail_submit {
    margin-left: 0px;
  }

    /* F.SITEMAP */

  #footer .sitemap {
    margin: 0px 15px 20px 30px;
  }
  #footer .sitemap .root > .item {   
    width: 50%;
  }
  #footer .sitemap .root > .item:nth-child(3n+4) {
    clear: none;
  }  
  #footer .sitemap .root > .item:nth-child(2n+3) {
    clear: both;
  }

    /* P.YAG */

  div.tx-yag-album-thumb-outerframe {
    width: 50%;
  }

    /* F.BOTTOM */

  #footer .bottom .separator {
    display: none;
  }
  #footermenu {
    display: block;
    margin-top: 10px;
  }

}


/* Extr³ Small (XXXS): (0-) 398 Pixel Bildschirmbreite (MOBILE extraklein -- die meisten Smartphones)*/

@media (max-width: 398px) {

  #respoid { 
    width: 46px; 
  }

  #logo .logo-mobile {
    max-width: 190px;
  }

  /* HEADER */

  #header {
    height: 150px;
  }

    /* H.LOGO */

  #logo img {
    /* max-height: none;
    max-width: 240px; */
  }

    /* H.METANAVI */

  #metawrap {
    right: 5px;
  }
  #metanavi {
    right: 55px;
  }
  #metanavi a .icon::before {
    font-size: 20px;
  }
  #metanavi a[href*="rss"] {
    height: 22px;
    margin-bottom: 5px;
  }

    /* H.SEARCH */

  #search {
    top: 65px;
  }
  #search .button {
    right: 3px;
  }
  #search .sword {
    min-width: 185px;
  }
  #tx-indexedsearch-searchbox-sword {
    min-width: 220px;
  }

    /* P.DCE */

  .accordion-item-header .label {
    max-width: 80%;
  }

    /* P.INDEXEDSEARCH */

  #tx_indexedsearch select, #tx_indexedsearch label + select:last-child {
    width: 95%;
  }

    /* P.NEWS */

  .news-list.news-template-10 .news-text {
    padding: 10px 10px 15px 10px;
  }

  .news-list.news-template- .news-img-wrap, .news-list.news-template-12 .news-img-wrap {
    width: 100%;
    margin-left: 0px;
  }
  .news-list.news-template- .news-text, .news-list.news-template-12 .news-text {
    width: 100%;
  }
  .news-list.news-template- .news-text-inner, .news-list.news-template-12 .news-text-inner {
    margin: 0px;
  }

    /* P.YAG */

  div.tx-yag-album-thumb-outerframe {
    width: 100%;
  }

    /* F.SITEMAP */

  #footer .sitemap .root > .item {   
    width: 100%;
  }

    /* F.SOCIALMENU */

  #footer .socialmenu a[href*="facebook"], #footer .socialmenu a[href*="twitter"], #footer .socialmenu a[href*="youtube"], #footer .socialmenu a[href*="rss-feed"] {
    margin: 0 15px;
  }

}


