/* cmsms stylesheet: abau_responsive modified: 06.11.2017 11:08:54 */

 /*rgba(237, 237, 237, .6)']]*/


@media (max-width: 1680px) {
    .wohntraum-heading {
        font-size: 25px;
    }
    .button, 
        button, 
        input[type="submit"], 
        input[type="reset"], 
        input[type="button"] {
            font-size: 16px;
    }
#main-menu li::before {
    border-width: 0 3vw 6vw 0;
    left: -2.96vw;
}
#main-menu li::after {
    border-width: 6vw 0 0 3vw;
    right: -2.96vw;
}
}
@media (max-width: 1550px) {
   #main-menu li::before {
        border-width: 0 2vw 6vw 0;
        left: -1.94vw;
   } 
   #main-menu li::after {
        border-width: 6vw 0 0 2vw;
        right: -1.94vw;
   }
   .wohntraum-item .six {
       width: 100%;
   }
   #wohntraeume .wohntraum-pic {
       height:420px;
   }
   .wohntraum-text {
       padding: 25px 15px;
   }
   .baumeister-item h3 {
       font-size: 25px;
   }
}

@media (max-width: 1350px) {
    #main-menu li::before {
        border-width: 0 1.2vw 6vw 0;
        left: -1.1vw;
    }
    #main-menu li::after {
        border-width: 6vw 0 0 1.2vw;
        right: -1.1vw;
    }
    #wohntraeume .wohntraum-pic {
        height: 300px;
    }
    .four.columns.baumeister-item {
        width: 48%;
    }
    .checks.four {
        width: 49%;
        margin-left: 1%;
    }
    .checks.four:nth-child(2n+1) {
        margin-left: 0;
    }
    .baumeister-form .five, .baumeister-form .six {
        width: 100%;
        margin-left: 0;
    }
    .baumeister-form .six {
        height: 450px;
        margin-top: 40px;
    }
    .file_list .nine {
        width: 70.5%;
    }
    .file_list .two {
        width: 19%;
    }
}
@media (max-width: 1230px) {
    h1 { font-size: 35px; line-height: 1.2; }
    h2 { font-size: 30px; line-height: 1.25; }
    h3 { font-size: 25px; line-height: 1.3; }
    h4 { font-size: 22px; line-height: 1.35; }
    h5 { font-size: 20px; line-height: 1.5; }
    h6 { font-size: 18px; line-height: 1.6; }
    .content-title {
        font-size: 35px;
    }
    nav.primary ul li a {
        font-size: 16px;
    }
    .slider-title {
        font-size: 40px;
    }
    .header-subtitle {
        font-size: 30px;
    }
    .caption-container.six.columns {
        width: 70%;
    }
    #maps #map,
    #locationSelect {
        height: 550px;
    }
    .NewsSummaryLink {
        padding-bottom: 15px;
        margin-bottom: 25px;
    }
    .footer-more-info .footer-element {
        width: 49%;
        margin-bottom: 40px;
    }
    .footer-more-info .footer-element:last-child {
        float: none;
        margin: 0 auto;
    }
}
@media (max-width: 1150px) {
    #main-menu li::before {
        border-width: 0 1vw 6vw 0;
        left: -.9vw;
    }
    #main-menu li::after {
        border-width: 6vw 0 0 1vw;
        right: -.9vw;
    }
    .NewsSummary .six {
        width: 100%;
        margin-left: 0;
    }
    .NewsSummaryMorelink.button {
        position: relative;
    }
    .NewsPicture {
        margin-bottom: 30px;
    }
    .pagination {
        margin-bottom: 20px;
    }
    .four.footer-element {
        width: 49%;
    }
    .four.footer-element:last-child {
        margin-left: 0;
        width: 100%;
    }
    input.search-button {
        height: 50px;
        float: right;
    }
}
@media (max-width: 1080px) {
#slideshow {
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}   
.caption-container.six.columns {
    width: 60%;
    float: none;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 5%;
    top: auto;
}
#main-menu {
    display: block;
}
#main-menu .logo {
    width: 100%;
    margin-bottom: 40px;
    height: 65px;
}
#nav li.logo a {
    padding: 0;
    width: 100%;
}
nav.primary ul li,
#main-menu .logo {
    background-color: transparent;
}
#main-menu li::after,
#main-menu li::before {
    display: none;
}
#nav li a.current {
    color: #dd0613;
}
nav.primary ul li.current {
    background-color: transparent;
}
/*mobile menu*/
body.js {
    position:relative;
}
.mobile-logo {
    display: block;
    height: 65px;
    margin: 20px 0;
}
#header-container #nav .columns,
#header-container #nav.columns{
    width: 100%;
}
#header-container, #header {
    position: relative;
}
nav.primary ul li {
    display: block;
    height: auto;
    float: left;
}
nav.primary ul ul li {
    border: none;
}
nav#nav ul ul {
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
    float: left;
    display: block;
    height: 0;
    position: relative;
    opacity: 0;
    box-sizing: border-box;
    border: none;
    padding: 0 0 0 5%;
}
nav#nav ul ul.active {
    visibility: visible;
    display: block;
    height: auto;
    opacity: 1;
}

.btn-navbar {
    width: 60px;
    height: 40px;
    display: inline-block;
    cursor: pointer;
    transition: background-color .5s ease;
    position: absolute;
    bottom: 40px;
    right: 0;
    transition: transform 1s;
}
.btn-navbar:hover .icon-bar,
.btn-navbar.active .icon-bar{
    background-color: #1a1a18;
}
.menu-link div {
    width: 70%;
    height: 40px;
    position: relative;
    margin: 14px auto;
}
.icon-bar {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #dd0613;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.icon-bar:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.icon-bar:nth-child(2) {
  top: 50%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.icon-bar:nth-child(3) {
  top: 100%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.active .icon-bar:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -2px;
  left: 0px;
}

.active .icon-bar:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.active .icon-bar:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  bottom:0;
  left: 0;
}

.menu-wrapper {
    text-align: center;
}
#header-container #nav.columns {
    text-align: center;
    position: fixed;
    left: 0;
    width: 60%;
    top: 0;
    background-color: #cacaca;
    z-index: 100;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /*transition: max-width .6s ease;
    overflow: hidden;*/
    transition: all .5s ease;
    -webkit-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);

}
#header-container #nav.columns.active {
    /*max-width: 60%;*/
    /*transform: translate3d(0, 0, 0);*/
    transform: translate3d(0, 0, 0);
    box-shadow: 5px 5px 5px rgba(0,0,0,.3);
}
#nav > ul {
    text-align: left;
    width: 90%;
    padding: 35px 0;
    margin: 0 auto;
    float: none;
}
#nav li {
    width: 100%;
    /*display: block;*/
    min-width: 0;
}
#nav li a {
    padding: 10px 0px;
}
nav.primary ul li a {
    padding: 10px 0;
    width: 80%;
    float: left;
}
nav.primary ul li a,
nav.primary ul ul li a {
    color: ;
}
nav.primary ul ul {
    position: relative;
    opacity: 1;
    visibility: visible;
    background: transparent;
    margin: 0;
    left: 5%;
}
nav.primary ul ul ul {
    left: 5%;
    top: 0;
    visibility: visible!important;
    opacity: 1!important;
    position: relative;
}
#main-menu .submenu {
    width: auto;
    position: relative;
    top: 0;
    left: 0;
    padding: 0 0 0 30px;
    float: left;
    overflow: hidden;
    min-width: 0;
}

#main-menu .submenu.active {
    height: auto;
}
.toggle-link {
    height: 30px;
    width: 40px;
    text-align: center;
    display: block;
    position: absolute;
    right: 0px;
    z-index: 200;
    font-size: 0;
    cursor: pointer;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
     transition: all 0.2s;
     top: 5px;
  }
  .toggle-link:hover,
  .toggle-link.active {
    background-color: ;
    
  }
  .toggle-link:after {
    content: '';
    background-image: url("/uploads/images/icons/arrow-right.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 13px;
    height: 25px;
    right: 10px;
    font-size: 45px;
    transition: transform 1s;
    line-height: 0;
    text-align: center;
    top: 5px;
  }
  .toggle-link.active:after{
    transform: rotate(90deg);
  }
   #nav ul li a {
    color: ;
   }
   .pos-auswahl input[type="button"] {
       width: auto;
   }
.file_list .one {
    width: 8.5%;
}
.file_list .nine {
    width: 64.5%;
}
.file_list .two {
    width: 23%;
}
}
@media (max-width: 980px) {
    .wohntraum-text {
        padding: 25px 15px;
    }
    .wohntraum-heading {
        font-size: 20px;
    }
    .content-section {
        padding: 30px 0;
    }
    #filter-container a {
        font-size: 14px;
    }
    #addressInput {
        width: 60%;
        margin-right: 1%;
    }
    .pos-auswahl input[type="button"] {
        clear: both;
        margin-top: 15px;
    }
    input.search-input {
        width: 75%;
    }
    #footer-container .row {
        display: flex;
        flex-flow: row wrap;
    }
    .four.columns.baumeister-item {
        width: 98%;
        text-align: center;
    }
    .wohntraum-section .six {
        width: 100%;
        margin-left: 0;
    }
    .detail-pic-wohntraum {
        margin-bottom: 30px;
    }
    .wohntraum-detail h1 {
        margin-bottom: 35px;
    }
    .baumeister-section {
        margin: 50px 0 0;
        float: left;
        width: 100%;
    }
    .baumeister-section .baumeister-logo,
    .baumeister-section .baumeister-about,
    .baumeister-section .baumeister-contact,
    .baumeister-section .baumeister-gewerk {
        width: 100%;
        margin-bottom: 25px;
        margin-left: 0;
    }
.file_list .one {
    width: 10.5%;
}
.file_list .two {
    display: none;
}
.file_list .nine {
    width: 87.5%;
}
.map-erg .columns {
    width: 100%;
    margin: 0;
}
.map-erg .four {
    margin-bottom: 30px;
}
#cookie_consent .cookie-answer {
    width: 20%;
}
}
@media (max-width: 850px) {
      .wohntraum-item.six {
        width: 100%;
        margin: 0 1% 30px;
    }
    #wohntraeume .wohntraum-pic {
        height: 480px;
    }
    .wohntraum-heading {
        font-size: 25px;
    }
}
@media (max-width: 768px) {
    #slideshow {
        display: none;
    }
    #addressInput {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    #radiusSelect {
        margin-right: 0;
        width: 100%;
    }
    .pos-auswahl input[type="button"] {
        width: 100%;
    }
    #footer-container .footer-element {
        width: 100%;
        margin-left: 0;
    }
    input.search-input {
        width: 70%;
    }
    .mobile-logo {
        height: 55px;
    }
    #main-menu .logo {
        height: 40px;
    }
    .btn-navbar {
        bottom: 28px;
    }
    .abau-footer {
        display: none;
    }
    .wohntraum-pic.three {
        width: 49%;
        margin-bottom: 15px;
        margin-left: 1%;
    }
    .wohntraum-pic.three:nth-child(2n+1) {
        margin-left: 0;
    }
    .four.baumeister-pic {
        width: 100%;
        margin-bottom: 25px;
    }
    .four.baumeister-pic:last-child {
        margin-bottom:0;
    }
}
@media (max-width: 650px) {
    #wohntraeume .wohntraum-pic {
        height: 420px;
    }
    .abau-logo {
        background-position: left;
    }
    .mobile-logo {
        height: 40px;
    }
    .btn-navbar {
        width: 50px;
        height: 30px;
        bottom: 26px;
    }
    .checks.four {
        width: 100%;
        margin-left: 0;
    }
    .baumeister-contact {
        text-align: left;
    }
    #main-menu .logo {
        height: 35px;
    }
    input.search-input {
        width: 100%;
    }
    input.search-button {
        float: left;
    }
    .four.footer-element:last-child {
        margin-bottom: 25px;
    }
    h1 { font-size: 30px; line-height: 1.2; }
    h2 { font-size: 28px; line-height: 1.25; }
    h3 { font-size: 25px; line-height: 1.3; }
    h4 { font-size: 22px; line-height: 1.35; }
    h5 { font-size: 20px; line-height: 1.5; }
    h6 { font-size: 18px; line-height: 1.6; }
    .content-title {
        font-size: 30px;
    }
    .news-pic {
        max-width: 100%;
    }
    .active .icon-bar:nth-child(1) {
        top: -4px;
    }
}
@media (max-width: 550px) {
    #wohntraeume .wohntraum-pic {
        height: 340px;
    }
    #maps #map, #locationSelect {
        height: 350px;
    }
}
@media (max-width: 480px) {
.file_list .one {
    width: 20.5%;
}
.file_list .nine {
    width: 79.5%;
}
#cookie_consent .cookie-answer {
    width: 44%;
    font-size: 14px;
}
}
