/*######| for desktop and big screens |############
#################################################*/
.tinynav { display: none; }
.tinynav_label { display: none; }

/*######| for smaler screens |#####################
#################################################*/
/*first step*/
@media only screen and (max-width: 1010px) {
  body {
    font-size: 16px;
    font-size: 1em;
    line-height: 1.5em;
  }

/*###| Header |###*/
  #branding {
    margin-bottom: 1.5em;
  }
    #branding h1 {
      height: 7.5em;
    }

    #languageSelect {
      left: 0;
      right: auto;
      top: 0.1em;
    }

    #naviMain ul li a {
      padding-top: 0;
      height: 1.975em;
    }

    #naviMeta li {
      line-height: 1.4em;
    }

/*###| navigation |###*/
    #naviBreadcrumb {
      height: auto;
    }
    #naviBreadcrumb ul {
      background-position: 0 0.5em;
    }


      #naviSub ul.level1 li.curifsub a, 
      #naviSub ul.level1 li.actifsub a, 
      #naviSub ul.level1 li.cur a, 
      #naviSub ul.level1 li.act a {
        background-position: 0 0.75em;
      }

      .csc-sitemap ul li a, 
      #naviSub ul.level1 li a,
      #naviSub ul.level1 li.actifsub ul.level2 li.no a, 
      #naviSub ul.level1 li.curifsub ul.level2 li.no a, 
      #naviSub ul.level1 li.cur ul.level2 li.no a, 
      #naviSub ul.level1 li.act ul.level2 li.no a,
      #naviSub ul.level2 li a:hover, 
      #naviSub ul.level1 li a:hover,
      #naviSub ul.level1 li.curifsub ul.level2 li.no a:hover, 
      #naviSub ul.level1 li.cur ul.level2 li.no a:hover, 
      #naviSub ul.level1 li.act ul.level2 li.no a:hover {
          background-position: 0.1em 0.7em;
      }

  #c7364 .csc-textpic,
  #c7359 .csc-textpic {
      width: 750px;
      margin: 0 auto;
  }
}

@media only screen and (max-width: 900px) {
  #container {
    max-width: 59.5em;
    padding-bottom: 50px;
    width: 100%;
  }
    #branding {
      margin-bottom: 0em;
    }

    #branding h1 {
      --height: 5.8em;
      --height: 7.7em;
      --margin-bottom: 2em;
      overflow: hidden;
      position: relative;      
    }

      #branding h1 a{
        background: url("../images/claim_image2.jpg") right top no-repeat;
        display: block;
        height: 9em;
        width: 100%; 
      }

      /*#branding h1 a,*/
      #branding h1 a img {
        display: none;
        height: auto;
        max-width: 59.5em;
        width: 100%;    
      }

/*#####| responsive menu |###################
###########################################*/
  #naviMeta {
    bottom: 0;
  }

  #naviMain {
    height: 2.3em;
    left: auto;
    padding: 1% 1% 1.6% 1.5%;
    position: relative;
    top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }


  /* styles for mobile */
  .tinynav { 
    display: block;
    float: left;
    width: 100%;
  }

  #tinyNav { display: none }      

  .tinynav_label {
    color: #fff;
    display: block;
    float: left;
    margin-right: 1em;
  }

/*#####| content section |###################
###########################################*/

  #naviBreadcrumb ul {
    margin-left: 0;
  }

  #naviSub {
    float: none; 
    /*max-width: 22.875em;*/
    width: 23.319327731092%;
    width: 100%;
  }

    #naviSub p.label {
      margin: 1em 0 1.2em 0.1em;
    }

    #naviSub ul.level1 {
      margin: 0 0.15em;
    }



  #contentMain {
    float: none;
    margin-top: 2em;
    --max-width: 42.7125em;
    padding: 0.31512605042% 1.155462184874% 6.52521008434%;
    width: 67.016806722689%; /*| padding + width = 692px |*/
    width: 100%;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
    #contentMain .news-amenu-container {
        float: none;
    }

    #contentMain .news-list-container {
        width: 100%;
    }

    #container .csc-frame-frame2 h2 {
      width: 200px;
    }
 
    #container #contentMain .content {
      float: none;
      --max-width: 28em;
      width: 64.739884393064%; /*| 448px / 692 * 100 |*/
      width: 100%;
    }

      #contentMain .news-latest-item img {
        height: auto;
        width: 21.676300578035%;
      }



    /*| article image resize |*/ 
    DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap {
        display: block;
        float: none;
    }

    div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image img,
    div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image  {
      float: none !important;
      --height: auto;
      --width: 55.803571428571% !important;
    }

    #functionBlock {
      bottom: -0.7em;
      clear: both;
      padding: 0 0 0.75em;
      position: relative;
      right: auto;
      top: auto;
      width: 100%
    }
      #functionBlock .printlink {
        display: none;
      }

  #contentMain #contentAdditional {
    float: none;
    margin: 2em 0;
    width: 100%;
  }

    #contentAdditional p {
      padding: 0;
    }

/*###| startseite |###*/
  
  /*no slider*/
  #c6890 {
    display: none;
  }

  .home-page #contentMain,
  .home-page #contentAdditional {
    margin-top: 1em;
    float: none;
  }

  .home-page #contentMain {
    padding-bottom: 0;
  }

  .home-page #contentAdditional,
  .home-page #contentAdditionalHome {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: none;
    width: 100%;
  }

  .home-page #contentMain .news-latest-container,
  .home-page #contentMain .news-latest-item {
    border-bottom: none;
    width: 100%;
  }
  .home-page #contentMain .news-latest-container {
    float: none;
  }
  .home-page #contentMain .news-latest-item {
    padding-bottom: 1.2em;
  }

  #contentMain #c6745 .news-latest-item img {
    width: 100%;
  }

  .csc-frame-hellgrau-mittig .csc-textpic, 
  .csc-frame-dunkelgrau-mittig .csc-textpic, 
  .csc-frame-weiss-mittig .csc-textpic, 
  #c6881 .csc-textpic-above, 
  #c6743 .csc-textpic, 
  #c6742 .csc-textpic-above {
    width: 100%;
  }

  #contentMain > div.csc-frame-weiss {
    overflow: hidden;
  }
    #c6879 .csc-textpic-imagewrap, 
    #c6741 .csc-textpic-imagewrap {
      overflow: auto;
    }
  .csc-frame-hellgrau-mittig .csc-textpic, 
  #c6743 .csc-textpic {
    width: 100%;
  }

  div.csc-textpic div.csc-textpic-imagewrap dl.csc-textpic-image {
    float: left !important;
  }
  
  #c7364 .csc-textpic,
  #c7359 .csc-textpic {
      width: 100%;
      margin: 0 auto;
  }

}


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

body {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



  /*#container {
    max-width: 59.5em;
    padding-bottom: 50px;
    width: 100%;
  }*/
    
    #branding {
      
    }

      #branding h1 {
        height: 6em;    
      }

      /*  #branding h1 a{
          background: url("http://stiftung.connectaserver.de/uploads/media/claim_image2.jpg") right top no-repeat;
          display: block;
          height: 9em;
          width: 100%; 
        }

        #branding h1 a img {
          display: none;
          height: auto;
          max-width: 59.5em;
          width: 100%;    
        }*/

    #searchbox {
      right: 6%;
      top: 0.9em;
    }

    #fontResizer { display: none;}

    /*#languageSelect {
      left: 0;
      right: auto;
      top: 0.1em;
    }*/

    #naviMeta {
      bottom: 0;
      left: 0;
      height: 1.7em;
      position: absolute;
      top: auto;
    }
      #naviMeta li {
          line-height: 2.4em;
      }

      #naviMetaBookend {
        display: none;
      }

    #naviMain {
      height: 2em;
      left: auto;
      padding: 1% 1% 1.6% 1.5%;
      position: relative;
      top: 0em;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }

    #socialmedialogos {
      margin-bottom: 0.7em;
      position: relative;
      right: auto;
      top: auto;
    }

    #contentArea p {
      line-height: 1.8em;
    }

    #contentArea .email {
      display: inline-block;
    }

    #contentMain ol,
    #contentMain ul {
      margin-top: 0.6em;
      padding-left: 1em;
    }
      #contentMain ol li,
      #contentMain ul li  {
        line-height: 1.8em;
        margin-bottom: 1.2em;
        padding-left: 0;
      }

    #contentMainNewsroom .rightColumn, 
    #contentMainNewsroom .leftColumn {
      max-width: 440px;
      width: 100%;
    }
    #contentMainNewsroom .rightColumn {
      float: none;
    }

    .csc-frame-frame2 {
      width: 100%;
    }

    .fb_iframe_widget {
      height: 100%;
      width: 100%;
    }
      .fb_iframe_widget span {
        display: block !important;
        width: 100% !important;
      }
        .fb_iframe_widget iframe {
          width: 100% !important;
        }

    iframe.video-ct {
      --height: auto;
      width: 100%;
    }
    #c4365, #c4348, #c4366, #c4443 {
      width: 100%;
      padding: 0 10px 11px;
    }

    #contentMain .linkToContactformPresse {
        border-bottom: 1px solid #CCCCCC;
        height: 100%;
        margin-bottom: 1em;
        padding-bottom: 0.4em;
    }

    #contentAdditional .xls, 
    #contentAdditional .pdf, 
    #contentAdditional .document, 
    #contentAdditional .image, 
    #contentAdditional .movie, 
    #contentAdditional .email, 
    #contentAdditional .external, 
    #contentAdditional .internal, 
    #contentAdditional .download, 
    #contentAdditional .external, 
    #contentAdditional .external-link-new-window, 
    #contentAdditional .external-link {
        line-height: 1.8em;
    }

  /* NO scribd slideshow */
  .scribd_iframe_embed {
    display: none;
  }

  #c7364 .csc-textpic,
  #c7359 .csc-textpic {
      width: 100%;
      margin: 0 auto;
  }
}


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

  #branding h1 a {
    background-position: -380px top;    
  }
  
  #naviMeta {
    height: 100%;
    max-height: 4em;

  }  

  #contentArea {
      margin-bottom: 1.5em;
    }  

      DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap {
        float: none;
      }
      DIV.csc-textpic-intext-left-nowrap div {
        margin-left: 0 !important;
      }

    #contentMain .news-single-subheader h3 {
    font-size: 0.8em;
    line-height: 1.8em;
  }
    #contentMain .news-single-img {
    width: 100%;
    height: auto;
    float: none;
    margin-top: 0.3em;
    margin-bottom: 0.7em;
  }

    DIV.csc-textpic-center DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-left DIV.csc-textpic-imagewrap,
    DIV.csc-textpic-right DIV.csc-textpic-imagewrap {
        width: 100% !important;
        overflow-x: auto;
    }

  iframe.video-ct {
    height: auto;
    width: 100%;
  }

  #c7364 .csc-textpic,
  #c7359 .csc-textpic {
      width: 100%;
      margin: 0 auto;
  }
}

/*for device like Blackberry*/
@media only screen and (max-height: 240px) and (max-width: 320px) {
  .langSelect span {
    display: none;
  }

  #naviMeta {
    position: relative;
  }

  #c7364 .csc-textpic,
  #c7359 .csc-textpic {
      width: 100%;
      margin: 0 auto;
  }
}