/*
========================================
           Tablets
========================================
*/

@media screen and (min-width: 780px) and (max-width: 989px) {

  .full-width-stage #visual-image {
    height: 650px;
    background-size: cover;
  }

  #visual > div:nth-child(2) {
    width: 640px;
  }

  .newsletter-fixed {
    display: none;
  }

  .full-width-stage .ajax-search-wrapper-inner {
    width: 648px;
  }

  .full-width-stage h1 {
    font-size: 45px;
    line-height: 55px;
    padding-bottom: 20px;
  }

  .wrapper-form.wrapper-filter {
    width: 100%;
  }

  .wrapper-form input[type=submit] {
    float: right;
    margin: 0;
  }

  #beton-networkbar #beton-network .wrapper-inner {
    padding-left: 40px;
  }

  #wrapper-content,
  .wrapper-inner,
  #beton-networkbar ul {
    width: 690px;
  }

  .full-width-stage #ajaxsearch {
    width: 690px;
  }

  #logo {
    margin: 43px 20px 0 0;
    overflow: hidden;
    width: 100px;
  }

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

  #navi-main ul li {
    width: 90px;
  }

  #navi-main ul li a {
    width: 90px;
  }

  #header .dropdown {
    width: 570px;
  }

  #navi-main ul.secondlvl li {
    width: 240px;
  }

  #beton-network {
    background-position: center 40px;
    width: 60px;
  }

  #beton-network .dropdown {
    height: auto;
    width: 670px;
  }

  #header #beton-network .two-column {
    width: 650px;
  }

  #header #beton-network .two-column li {
    width: 325px;
  }

  #header #beton-network .one-column {
    margin-bottom: 20px;
    margin-right: 75px;
    width: 250px;
  }

  #header #beton-network .one-column.last {
    margin-right: 0;
    width: 325px !important;
  }

  .breaker div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image img {
    max-width: 768px;
  }

  .breaker .tablet {
    display: block;
  }

  .breaker .desktop,
  .breaker .smartphone {
    display: none;
  }

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

  .marginal {
    width: 40px;
  }

  .marginal .teaser-wrap {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    width: 40px;
    z-index: 15000 !important;
  }

  .marginal .teaser-wrap .frame-custom-20,
  .marginal .teaser-wrap .container-info {
    background: #ffffff;
    border-bottom:  1px solid #cccccc;
    border-left:  1px solid #cccccc;
    border-top: 1px solid #cccccc;
    margin-bottom: 0;
  }

  .marginal .frame-custom-20 .tablet-container,
  .marginal .container-info .tablet-container {
    background: #ffffff;
    border-right: 1px solid #cdcdcd;
    cursor: pointer;
    left: 0;
    position: absolute;
    height: 100%;
    top: 0;
    width: 40px;
    z-index: 15000 !important;
  }

  .marginal .frame-custom-20 .tablet-container.open,
  .marginal .container-info .tablet-container.open {
    background: none;
    cursor: default;
  }

  .marginal .frame-custom-20 .tablet-container.open span,
  .marginal .container-info .tablet-container.open span {
    display: none !important;
  }

  .marginal .frame-custom-20 .tablet-container span,
  .marginal .container-info .tablet-container span {
    border-bottom: 1px solid #cdcdcd;
    display: block;
    font-weight: 500;
    height: 28px;
    padding-top: 12px;
    text-align: center;
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    transform:rotate(-90deg);
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
  }

  .marginal .frame-custom-20 .tablet-container .open-button,
  .marginal .container-info .tablet-container .open-button {
    background: url(../Images/icn_submit.png) no-repeat #6f6f6f 15px 12px;
    cursor: pointer;
    height: 40px;
    left: 0;
    position: absolute;
    width: 40px;
    -moz-transform:rotate(180deg);
    -ms-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    -o-transform:rotate(180deg);
    transform:rotate(180deg);
  }

  .marginal .frame-custom-20 .close-button,
  .marginal .container-info .close-button {
    background: url(../Images/icn_submit.png) no-repeat #6f6f6f 15px 14px;
    cursor: pointer;
    height: 40px;
    left: -1px;
    position: absolute;
    top: -1px;
    width: 40px;
  }

  .marginal .frame-custom-20 .container-bottom,
  .marginal .container-info .container-bottom {
    padding-bottom: 7px;
    padding-top: 9px;
  }

  #metainfo-recommend {
    padding: 0;
    position: relative;
    width: 648px;
    height: 189px;
  }

  #metainfo-recommend #slogan {
    margin-top: 20px;
  }

  #metainfo-recommend #social {
    float: left;
    margin-top: 20px;
  }

  #metainfo-recommend #website-info,
  #metainfo-recommend #claim {
    float: none;
  }

  #metainfo-recommend #website-info {
    margin-top: 12px;
    position: initial;
    margin-left: 130px;
  }

  #metainfo-recommend #claim {
    position: initial;
    top: 0;
    margin-top: 5px;
  }

  #metainfo-recommend #website-search {
    bottom: 20px;
    right: 0;
    position: absolute;
  }

  #footer {
    font-size: 0.91666666666667em;
  }

  #navi-sitemap {
    padding-left: 0;
    width: 648px;
  }

  #navi-sitemap ul li {
    width: 130px !important;
  }
}

/*
========================================
           Smartphones
========================================
*/

@media screen and (max-width: 779px) {
  .aktuell-news.mobile {
    display: block;
  }

  .aktuell-news.desktop {
    display: none;
  }

  .container-content .news-latest {
    padding-left: 0;
  }

  .container-select h3 {
    width: auto;
  }

  .newsletter-fixed {
    display: none;
  }

  .full-width-stage #ajaxsearch {
    width: 320px;
  }

  .full-width-stage .ajax-search-wrapper-inner {
    width: 320px;
  }

  .wrapper-form.wrapper-filter {
    width: 320px;
  }

  .full-width-stage {
    background-image: url(../Images/header-objektdatenbank.png);
    background-color: #EFEFEF;
    background-repeat: no-repeat;
	  background-size: auto 306px !important;
	  background-position: top right;
  }

  .full-width-stage #visual-image {
    padding-bottom: 0;
    /* background-color: #EFEFEF; */
  }

  .full-width-stage h1 {
    font-size: 36px;
    width: 100%;
    line-height: 45px;
    padding-top: 40px;
    padding-bottom: 70px;
  }

  .content .teaser.big-picture img {
    max-width: 320px;
    width: 320px;
  }

  #page-11215 .content .teaser.big-picture {
    margin: 0 0 40px;
  }

  #page-11215 .content .teaser.big-picture .text {
    width: auto;
  }

  .tx-solr-records-filter, #tx-solr-topics-filter, #tx-solr-subtopics-filter {
    width: 100%;
    margin-bottom: 20px;
  }

  .wrapper-form input[type=submit] {
    width: 100%;
    margin-bottom: 30px;
  }

  .ajax-search-wrapper {
    position: relative;
    top: 0;
    width: 100%;
    transform: initial;
  }

  .tx-solr-search-form .custom-select {
    background-color: #fff;
  }

  #tx-solr-search-form-pi-results input[type="text"] {
    background: #fff;
  }

  #navi-main,
  #beton-network,
  #visual {
    display: none;
  }

  .mobile-home-stage {
    display: block;
	padding-top: 63px;
  }

  body {
    background: #FFFFFF;
  }

  #beton-networkbar,
  #wrapper {
    margin: 0 auto;
    width: 100%;
  }

  #beton-networkbar .search {
    padding-right: 20px;
  }

  #beton-networkbar ul,
  #breadcrumb,
  .breaker .desktop,
  #website-info,
  #claim,
  #navi-sitemap {
    display: none;
  }

  #wrapper,
  .wrapper-inner,
  #wrapper-content,
  .marginal {
    width: 320px;
  }

  #header,
  #header .wrapper-inner {
    height: auto;
    margin-bottom: 0;
  }

  #logo {
    margin: 20px 50px 15px 15px;
    width: 68px;
  }

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

  #navi-smartphone li {
    border-left: 1px solid #CCCCCC;
    display: inline-block;
    height: 40px;
    font-size: 0;
    line-height: 0;
    padding-top: 23px;
    text-align: center;
    width: 60px;
  }

  #navi-smartphone li a {
    background: url(../Images/icn_navi-smartphone.png) 0 2px no-repeat;
    display: block;
    height: 30px;
    margin-left: 15px;
    width: 28px;
  }

  #navi-smartphone li+li a {
    background: url(../Images/icn_marginal-smartphone.png) left top no-repeat;
  }

  #navi-smartphone li+li+li a {
    background: url(../Images/icn_network_smartphone.png) left top no-repeat;
  }

  #menu-overlay {
    display: none;
    left: 0;
    position: absolute;
    top: 0;
    width: 320px;
  }

  #menu-overlay ul li {
    background: #ffffff;
    border-bottom: 1px solid #cccccc;
    list-style: none;
    padding: 11px 5px 11px 15px;
  }

  #menu-overlay ul li.open {
    border-bottom: none;
    padding-bottom: 0;
  }

  #menu-overlay ul li:first-child {
    border-top: 1px solid #cccccc;
  }

  #menu-overlay ul li:last-child {
    border-bottom: none;
  }

  #menu-overlay ul li a {
    color: #000000;
    font-weight: 500;
  }

  #menu-overlay .secondlvl {
    display: none;
    margin-bottom: -9px;
    margin-left: -15px !important;
    padding: 8px 0;
    width: 320px !important;
  }

  #menu-overlay .secondlvl li:first-child {
    background: url('../Images/icn_subnavi_phone.png') no-repeat -189px 0 #f0f0f0;
    border-top: none;
  }

  #menu-overlay .secondlvl li {
    background: #f0f0f0;
    border-bottom: 1px solid #cccccc;
  }

  #menu-overlay ul li.open .secondlvl li a {
    font-weight: 300;
  }

  #menu-overlay .secondlvl li:first-child {
    border-top: 1px solid #cccccc;
  }

  #menu-overlay .secondlvl li:last-child {
    border-bottom: none;
  }

  #marginal-overlay {
    background-color: #FFFFFF;
    border-bottom: 1px solid #cccccc;
    display: none;
    left: 0;
    position: absolute;
    top: 0;
    width: 320px;
  }

  #marginal-overlay .marginal {
    margin-right: 0;
  }

  #marginal-overlay #calendar_dup,
  #marginal-overlay #dates_dup {
    height: auto;
    max-height: 270px;
  }

  #marginal-overlay #facebookstream_content_dup,
  #marginal-overlay #socialstream_content_dup,
  #marginal-overlay #twitterstream_content_dup,
  #marginal-overlay #youtubestream_content_dup {
    height: auto;
    max-height: 462px;
  }

  #marginal-overlay .frame-custom-20,
  #marginal-overlay .container-info {
    margin-bottom: 0;
    min-height: 39px;
    width: 320px;
  }

  #marginal-overlay .frame-custom-20 h3,
  #marginal-overlay .container-info h3 {
    border-bottom: none;
    border-top: 1px solid #cccccc;
    padding: 11px 5px 11px 15px;
    font-size: 1em;
  }

  #marginal-overlay .frame-custom-20 h3:last-child,
  #marginal-overlay .container-info h3:last-child {
    border-bottom: 1px solid #cccccc;
  }

  #marginal-overlay #c3975 {
    display: none;
  }

  #marginal-overlay .frame-custom-20 .container-bottom,
  #marginal-overlay .container-info .container-bottom {
    border-top: 1px solid #cccccc;
    font-size: 1em;
    padding: 11px 5px 11px 15px;
    text-transform: none;
  }

  #marginal-overlay .frame-custom-20 .container-bottom a,
  #marginal-overlay .container-info .container-bottom a {
    background: none;
    color: #000000;
    padding-left: 0;
  }

  #marginal-overlay .marginal {
    display: block;
  }

  #marginal-overlay .marginal .frame-custom-20 .container-content,
  #marginal-overlay .marginal .container-info .container-content {
    overflow: auto;
    padding-right: 0 !important;
  }

  #network-overlay {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
    display: none;
    left: 0;
    position: absolute;
    text-align: left;
    top: 0;
    width: 320px;
  }

  #network-overlay div.one-column h4,
  #network-overlay div.two-column h4 {
    border-top: 1px solid #cccccc;
    padding: 11px 5px 11px 15px;
  }

  #network-overlay div h4 {
    color: #000000;
    font-weight: 500;
    margin: 0;
  }

  #network-overlay ul {
    border-top: 1px solid #cccccc;
    display: none;
    text-align: left;
    width: 100% !important;
  }

  #network-overlay ul li {
    border-bottom: 1px solid #cccccc;
    list-style: none;
    padding: 11px 5px 11px 15px;
  }

  #network-overlay ul li:last-child {
    border-bottom: none;
  }

  #network-overlay ul li a {
    color: #000000;
    font-weight: 500;
  }

  #overlay-anchor {
    height: 0;
    position: relative;
    z-index: 10;
  }

  .visible {
    display: block !important;
  }

  #wrapper-content {
    padding: 0;
    margin: 0;
  }

  .content {
    padding: 0 20px;
    width: 280px;
  }

  .divider {
    margin-left: -20px;
    margin-right: -20px;
    width: 320px;
  }

  #visual-image img {
    height: auto;
    width: 100%;
  }

  .breaker {
    margin-bottom: 0;
    margin-top: 30px;
  }

  .breaker .smartphone {
    display: block;
    height: auto;
    width: 320px;
  }

  .content .frame-custom-22,
  .content .no-padding-left {
    margin-left: -20px;
    margin-right: -20px;
  }

  .content .frame-custom-21,
  .content .lower-padding-left {
    margin-left: 0;
  }

  .content .lower-padding-left .frame-custom-20,
  .content .lower-padding-left .container-info {
    margin-left: -20px;
  }

  .content .downloads {
    margin-left: -20px;
    margin-right: -20px;
  }

  .content .downloads ul li {
    padding-left: 20px !important;
    padding-right: 10px;
  }

  #tx-solr-search {
    margin-left: -20px;
  }

  #tx-solr-search-form-pi-results input[type="text"] {
    width: 100%;
  }

  #tx-solr-search .results-list {
    width: 320px;
  }

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

  #page-11217 .content .frame.frame-default.frame-type-list.frame-layout-0 {
    flex-direction: column;
  }

  .content .teaser.big-picture {
    height: auto;
    margin: 0;
    width: 320px;
  }

  .content .teaser.big-picture .image-link {
    height: auto;
    width: 100%;
  }

  .content .teaser.big-picture .text,
  .content .teaser.big-picture .textalign-right .text {
    height: auto;
    padding: 10px 15px 5px 15px;
    width: 130px;
  }

  .content .teaser.textpic {
    height: auto;
    margin: 0;
    min-height: 85px;
    padding: 0;
    width: 280px;
  }

  .content .teaser.textpic:first-child {
    margin-top: 40px;
  }

  .content .teaser.textpic img {
    height: auto;
    max-width: 95px;
  }

  .content .teaser.textpic .text {
    margin-left: 10px;
    width: 175px;
  }

  .content .teaser h2 {
    font-size: 1.25em;
  }

  .content .teaser .text p:first-of-type {
    display: none;
  }

  .content .teaser-bottomtext {
    height: auto;
    margin-left: 0;
    padding-left: 0;
  }

  .content .teaser-bottomtext .teaser {
    float: none;
    height: auto;
    margin: 0;
    padding: 15px 0;
    width: 300px;
  }

  .content .teaser-bottomtext .teaser:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }

  .content .teaser-bottomtext .teaser img {
    height: auto;
    width: 95px;
  }

  .content .teaser-bottomtext .teaser h3,
  .content .teaser-bottomtext .teaser h2,
  .content .teaser-bottomtext .teaser p {
    float: right;
    width: 195px;
  }

  .content .teaser-bottomtext .teaser p {
    margin-top: 0;
  }

  .content .teaser-bottomtext .teaser p:first-of-type {
    display: none;
  }

  .content .frame-custom-20,
  .content .container-info {
    margin: 0 0 0 -20px;
  }

  .content .frame-custom-20 h2,
  .content .container-info h2 {
    padding-left: 20px;
  }

  .content .container-content {
    height: auto;
    padding: 0 0 0 20px;
  }

  .content .container-bottom {
    height: auto;
    padding-bottom: 3px;
    padding-left: 20px;
    padding-top: 7px;
  }

  .content .news-latest .container-content ul li {
    border-bottom: 2px solid #FFFFFF;
    padding: 5px 0 5px 20px;
    margin-left: -20px;
  }

  .content .news-latest .container-content ul li:last-child {
    border-bottom: none;
  }

  .content .news-latest .container-content ul li span {
    display: block;
  }

  .content .news-latest .container-content ul li span.day {
    display: inline-block;
  }

  .content #publications .container-content {
    padding-left: 35px;
  }

  .content #publications .bx-controls .bx-prev {
    left: -35px;
  }

  .content table {
    display: none;
  }

  .content .tx-ffbmevents-pi1 table.contenttable {
    display: block;
  }

  .csc-textpic-intext-right-nowrap .csc-textpic-text {
    margin-right: 0 !important;
  }

  .csc-textpic-intext-left-nowrap .csc-textpic-text {
    margin-left: 0 !important;
  }

  div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image img {
    height: auto;
    max-width: 320px !important;
    width: 100%;
  }

  .frame-custom-22 div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image img,
  .no-padding-left div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image img {
    max-width: 320px;
  }

  .content .wrapper-form {
    margin-left: -20px;
    padding-left: 20px;
    width: 280px;
  }

  .content .wrapper-form input,
  .content .wrapper-form select,
  .content .wrapper-form textarea {
    width: 100%;
  }

  .wrapper-form input[type="checkbox"],
  .wrapper-form input[type="radio"] {
    height: 10px;
    width: 10px;
  }

  #tx-solr-facets-available,
  #tx-solr-faceting .facets li,
  #tx-solr-faceting li.facet-main_category,
  #tx-solr-facets-in-use {
    float: none;
    margin-top: 0;
    width: 320px;
  }

  .content .video-js-box,
  .content video.video-js,
  .content .video-js {
    height: auto !important;
    width: 320px !important;
  }

  #publications .image-link {
    display: none;
  }

  .marginal .csc-textpic {
    padding-right: 0;
    width: 280px;
  }

  .marginal .container-content img {
    height: auto;
    max-width: 100%;
  }

  #metainfo-recommend {
    height: 70px;
    margin-top: 30px;
    padding: 20px 0 20px 20px;
    width: 300px;
  }

  #metainfo-recommend #website-search {
    float: right;
    margin-right: 20px;
    margin-top: 0;
    width: auto;
  }

  #metainfo-recommend #social {
    float: left;
    margin-top: 6px;
    width: auto;
  }

  #metainfo-recommend #social:after {
    clear: both;
  }

  #metainfo-recommend .clear {
    clear: none;
  }

  #metainfo-recommend #website-search input.input-text {
    background: #ffffff;
    height: 26px;
    margin-top: 2px;
    padding-left: 12px;
    width: 94px;
  }

  #metainfo-recommend #website-search input.submit {
    background-position: 0 -3px;
  }

  #metainfo-recommend #website-search input.submit:hover {
    background-position: 0 -43px;
  }

  #metainfo-recommend #social ul li,
  #metainfo-recommend #social ul li a img {
    height: 20px;
    width: 20px;
  }

  #metainfo-recommend #social ul li {
    margin-right: 7px;
  }

  .social_share_privacy_area li {
    height: 38px;
  }

  #footer {
    background: #6f6f6f;
    padding: 20px 0;
  }

  #navi-meta {
    border-top: none;
    margin-top: 0;
    padding-left: 20px;
    padding-top: 0;
    text-align: left;
    width: 290px;
  }

  #navi-meta ul {
    display: block;
  }

  #navi-meta ul li {
    background: none;
    display: block;
    margin: 10px 0 0 0;
    padding: 0;
  }
  #navi-meta p.copyright {
    clear: both;
    display: block;
    font-size: 1em;
  }

  #metainfo-recommend #website-search input.submit {
    background-position: 0 3px;
  }

  .tx-pagebrowse-pi1 {
    margin: 20px -20px 40px -20px;
    padding-right: 20px;
  }

  .tx-pagebrowse-pi1 ul.tx-pagebrowse li,
  .tx-pagebrowse-pi1 .tx-pagebrowse ol li {
    padding: 2px 3px;
  }

  .mobile-view-element {
    display: block;
  }

  a.button.docs {
    font-size: 13px
  }

  a.button.docs span {
    display: none;
  }
}
