/* Copyright (c) A&B One Digital GmbH */

@media handheld {
  .out {
    display: none;
  }
}

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/* CONTENT BEREICH allgemein                                             */

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

@media screen and (max-width: 1270px) {
  .navigation {
    margin-top: 2px;
    display: flex;
  }

  .slider-text {
    margin-left: auto;
    margin-right: auto;
  }

  .start .content .teaser {
    width: 49.2%;
  }

  .angebote-container .startbanner.startbanner {
    width: 49.2% !important;
  }

  .start .event-container .event-wrapper .event-card {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

  .dr-search-placeholder {
    align-items: flex-start;
    justify-content: space-evenly;
    background-size: contain;
    background-position: 0 57px;
    flex-direction: column;
  }

  .button-link-dr-search {
    background-color: #FACE24;
  }
}

@media screen and (max-width: 800px) {
  body {
    /*	border-top: 5px solid red;*/
    -webkit-text-size-adjust: none;
    line-height: 150%;
  }

  .dr-search-placeholder {
    background-position: 0 99px;
  }

  .angebote-container .startbanner.startbanner {
    width: 100% !important;
  }

  /* Stops the iPad / iPhone scalling text up */
  .col1,
  .col2,
  .col4,
  .col5,
  .col6,
  .col7,
  .col8,
  .col10,
  .col11,
  .col12,
  .footer .col9,
  .footer .col3 {
    width: auto;
    float: none;
    margin-left: 0;
    margin-right: 0;
    clear: both;
  }

  .start .content .teaser,
  .content .teaser.topteaser,
  .list .content #teaser .teaser {
    width: 100%;
  }

  body,
  .container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .container.main {
    width: 80%;
    border: 10% solid #fff;
    width: calc(100% - 60px);
    border: 30px solid #fff;
  }

  .row {
    padding-right: 5px;
    padding-left: 5px;
  }

  .wrapper {
    min-width: 300px;
    border: 0 none;
  }

  .col6.first.content.eb2 {
    padding-bottom: 20px;
  }

  .navigation {
    font-size: .69em;
  }

  .navigation #navMain ul li a:link span,
  .navigation #navMain ul li a:visited span,
  .navigation #navMain ul li strong span {
    font-size: 1.06em;
    padding-top: 6px;
    padding-bottom: 3px;
  }

  .navigation #navMain ul li strong a:link,
  .navigation #navMain ul li strong a:visited {
    font-size: 1.06em;
    padding-top: 11px;
  }

  .main #navSub ul li a:link,
  .main #navSub ul li a:visited,
  .main #navSub ul li strong {
    font-size: .75em;
  }

  .main #navSub li ul li a:link,
  .main #navSub li ul li a:visited,
  .main #navSub li ul li strong {
    font-size: .69em;
  }

  #navSub,
  .container.navigation {
    display: none;
  }

  .col9 {
    width: 100%;
  }

  .content .box.special {
    max-width: 800px;
  }

  #events p.tab {
    width: calc(50% + 6px);
  }

  /* print button*/
  .pagefooter {
    display: none;
  }
}

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/* FOOTER responsive */

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

@media only screen and (max-width: 980px) {
  .footer {
    padding: 20px 0;
  }

  .footer .col3,
  .footer .col9 {
    padding: 0;
    width: 100%;
  }

  .footer .col3 {
    padding: 10px 20px;
  }

  .footer .col9 {
    padding-bottom: 40px;
  }

  .footer .col9 .fblock,
  .footer .col9 .contact {
    width: calc(25% - 44px);
    min-height: 3em;
    padding-top: 0;
  }

  #news p.tab strong,
  #news p.tab a,
  #events p.tab strong,
  #events p.tab a {
    font-size: 0.75rem;

    /* 12px */
  }
}

@media only screen and (max-width: 940px) {
  #news p.tab strong,
  #news p.tab a,
  #events p.tab strong,
  #events p.tab a {
    font-size: 0.6875rem;

    /* 11px */
  }
}

@media only screen and (max-width: 800px) {
  .footer .col9 .fblock,
  .footer .col9 .contact {
    background-image: none;
    width: calc(50% - 44px);
    padding-bottom: 20px;
  }

  .content #news .box.browse {
    max-width: 100%;
  }

  #news p.tab strong,
  #news p.tab a,
  #events p.tab strong,
  #events p.tab a {
    font-size: 0.75rem;

    /* 12px */
  }
}

@media only screen and (max-width: 480px) {
  .footer {
    padding: 10px 0 0 0;
  }

  .footer .col9 .fblock {
    width: calc(100% - 44px);
    padding-bottom: 20px;
  }

  .footer .col9 .contact {
    width: calc(100% - 44px);
    padding-bottom: 0;
    min-height: 1px;
  }

  #content .teaser.banner,
  .content .box.material.glossar,
  .content .box.liaison,
  .content .teaser,
  #content .teaser,
  .content .innercontext .teaser {
    width: 100%;
  }

  #content .teaser.banner img {
    width: 100%;
  }

  .container.main {
    width: 90%;
    border: 5% solid #fff;
    width: calc(100% - 20px);
    border: 10px solid #fff;
  }
}

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/* HEADER responsive */

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */


@media only screen and (max-width: 800px) {
  .content .breadcrumb {
    display: none;
  }

  .header .row {
    background-image: none;
    min-height: 10px;
  }

  .header .col12 {
    position: static;
  }

  .header .logoclaim {
    padding: 0;
    float: none;
    width: auto;
  }

  .header .claim {
    width: auto;
    position: static;
    font-size: 1em;
  }

  .header .searchservice {
    display: none;
  }

  .header #arztsuche {
    width: auto;
    float: none;
    padding: 28px 0 5px 0;
    margin-top: 0;
    background: #FFD500 url(../styleimages/small/bg_arztsuche.jpg) repeat-x 0 0;
  }

  .header #arztsuche h2 {
    margin-top: 0;
    text-transform: uppercase;
    background-color: transparent;
    font-size: 1em;
  }

  .header #arztsuche .formwrapper {
    margin: 0;
  }

  .header #arztsuche label {
    font-size: 1em;
    height: 44px;
    display: inline-block;
    width: 80%;
    width: calc(100% - 56px);
  }

  .header #arztsuche label input {
    width: 100%;
    font-size: 1em;
    padding: 0 5px;
    height: 44px;
    border: 1px solid #567a8a;
  }

  .header #arztsuche div.sendButton {
    display: inline-block;
    float: none;
    height: 44px;
    padding: 14px 0 0 6px;
  }

  .header #arztsuche div.sendButton a:focus,
  .header #arztsuche div.sendButton a:hover {
    opacity: 0.9;
  }

  .header #arztsuche div.moreLink {
    clear: both;
    text-align: right;
    background-color: transparent;
  }

  .header #arztsuche label span {
    display: none;
  }
}

@media only screen and (max-width: 980px) {
  .main #navSub li li ul li a:link span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .content .box.material {
    width: 98%;
    width: calc(100% - 2px);
  }
}

@media only screen and (max-width: 850px) {
  .content .listhead ul li {
    border-bottom: none;
  }

  .content .listhead ul li.active {
    border: none;
  }

  .content .listhead div.clearer {
    border-top: none;
  }
}

@media only screen and (max-width: 620px) {
  .list .content .teaser.topteaser .teaserimg {
    margin: 0;
    float: none;
  }

  .list .content .teaser.topteaser img {
    width: 100%;
    position: relative;
    float: none;
    margin: 0 0 10px 0;
  }

  .list .content .teaser.topteaser h2 {
    margin: 0 0 10px 0;
  }

  .content .innercontext .teaser.banner .teaserimg a:link,
  .content .innercontext .teaser.banner .teaserimg a:visited,
  .standard #content .teaser.banner .teaserimg a:link,
  .standard #content .teaser.banner .teaserimg a:visited {
    max-width: none;
    width: 100%;
  }

  .content .backlink {
    float: none;
    margin-left: 0;
  }
}

@media only screen and (max-width: 460px) {
  .header #arztsuche h2 {
    font-size: .875rem;
  }
}

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/* TOP und MobileNavi responsive */

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

@media screen and (max-width: 980px) {
  .navigation #navMain ul li a:link span,
  .navigation #navMain ul li a:visited span,
  .navigation #navMain ul li strong a:link,
  .navigation #navMain ul li strong a:visited,
  .navigation #navMain ul li strong span {
    font-size: 1rem;
    line-height: 2;
    padding-top: 3px;
  }

  .navigation #navMain ul li.active strong a {
    font-size: 1rem;
  }

  .main #navSub ul li a:link span,
  .main #navSub ul li strong span {
    font-size: 0.875rem;
  }
}

.mobile-main-nav:after,
.mobile-service-nav:after {
  content: '';
  display: table;
  clear: both;
}

@media only screen and (max-width: 800px) {
  #responsive_top {
    padding: 10px 5px 20px 5px;
    display: block;
    min-height: 44px;
  }

  #responsive_top .touch-button {
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: #767676;

    /* must match icon */
    margin: 0;
    min-width: 60px;
    height: 44px;
    line-height: 3;
    font-size: 1rem;
  }

  #responsive_top .is-seachlink {
    padding: 0 50px 0 5px;
    background: #fff url(../styleimages/2018/top-suche.svg) no-repeat 100% 0;
    background-size: 44px 44px;
    float: right;
  }

  #responsive_top .is-burger {
    padding: 0 5px 0 50px;
    background: #fff url(../styleimages/2018/top-burger.svg) no-repeat 0 0;
    background-size: 44px 44px;
    float: left;
    text-align: right;
  }

  #responsive_top .is-burger.is-open {
    background: #fff url(../styleimages/2018/top-burger-close.svg) no-repeat 0 0;
    background-size: 44px 44px;
  }

  #responsive_navigation {
    position: absolute;
    background-color: #fff;
    min-height: calc(100vh - 75px);
    width: 90%;
    width: calc(100% - 20px);
    z-index: 20;
    padding: 10px 10px 60px 10px;
    -webkit-box-shadow: 0px 10px 5px 0px rgba(204, 204, 204, 0.6);
    -moz-box-shadow: 0px 10px 5px 0px rgba(204, 204, 204, 0.6);
    box-shadow: 0px 10px 5px 0px rgba(204, 204, 204, 0.6);
  }

  #responsive_navigation ul {
    margin: 0;
  }

  #responsive_navigation ul li {
    padding: 0;
  }

  #responsive_navigation ul li ul li {
    padding: 0 0 10px 20px;
  }

  #responsive_navigation li > strong,
  #responsive_navigation a {
    text-decoration: none;
    line-height: 1.5;
    padding: 10px;
    font-size: 1rem;
    float: left;
    width: 75%;
    width: calc(100% - 100px);
  }

  /* Toggle Button */
  ul.mobile-main-nav .toggle-subnav {
    z-index: 21;
    cursor: pointer;
    float: right;
    text-indent: -99999px;
    font-size: 9px;
    width: 22px;
    height: 22px;
    margin: 11px;
    line-height: 3;
    background: transparent url(../styleimages/2018/aufzu.svg) no-repeat 0 0;
    background-size: 22px 22px;
  }

  ul.mobile-main-nav .toggle-subnav.show-as-opened {
    transform: rotate(180deg);
  }

  /* Die Ebenen-Styles */
  ul.mobile-main-nav {
    display: block;
    clear: both;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  ul.mobile-main-nav li ul li:last-of-type a {
    border-bottom: none;
    margin-bottom: 10px;
  }

  ul.mobile-main-nav > li > a {
    font-size: 1.1em;
    text-transform: uppercase;
  }

  ul.mobile-main-nav li.is-expanded > a {
    font-weight: bold;
    border-bottom: 0;
    background-color: #e2e7ea;
    border-bottom: 2px solid #fff;
  }

  ul.mobile-main-nav li strong {
    background-color: #567a8a;
    color: #fff;
  }

  ul.mobile-main-nav li ul li a {
    border-bottom: 1px solid #e6e6e6;
  }

  /* Auf-zu-klappen*/
  ul.mobile-main-nav li ul {
    display: none;
  }

  ul.mobile-service-nav {
    display: block;
    clear: both;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
    padding-top: 20px;
  }

  .content .media video {
    width: 100%;
  }
}

@media only screen and (min-width: 801px) {
  #responsive_navigation {
    display: none;
  }
}

/* Sitemap Sonderfall */

@media only screen and (max-width: 1100px) {
  .sitemap .col6.sitemap,
  .sitemap .col6.first,
  .sitemap .col6.sitemap.first,
  .sitemap .col6.sitemap.last {
    width: 100%;
    padding: 0;
  }

  .sitemap .navi ul li {
    float: none;
    width: 100%;
  }

  .sitemap .navi ul li a:link {
    color: red;
  }
}
