/*
 Theme Name:   Divi Child
 Description:  Das Childtheme für City Apartments
 Author:       Impuls Werbeagentur
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  Divi-child
*/

.logo_container > a {
    display: block;
    position: absolute;
    width: 262px;
    background: #FFF;
    /*padding: 20px;*/
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    top: 0;
    left: 0;
    transition:all 0.4s ease-in-out 0s;
}

.logo_container > a > img {
    display: block;
    width: 100%;
    height: auto;
    padding:33px 20px;
}

.et-fixed-header .logo_container > a {
    width: 175px;
}

#startslider .et_pb_slide {
    height: 782px;
}

.et_pb_row {
    max-width: 1180px;
}

.et-pb-slider-arrows {
    max-width: 1180px;
    position: relative;
    margin: 0 auto;
}

.et-pb-arrow-prev:before {
    content:"#";
}

.et-pb-arrow-next:before {
    content: "$";
}

.et-pb-slider-arrows > a{
    top: -400px;
}

#et-main-area .et_pb_gallery .et_pb_gallery_item {
    width: 30% !important;
    margin-right: 5% !important;
    margin-bottom: 5% !important;
}

#et-main-area .et_pb_gallery .et_pb_gallery_item:nth-child(3n) {
    margin-right: 0 !important;
}

.et_overlay,
#main-content .et_pb_gallery_0 .et_overlay{
    background: rgba(201, 157, 101, 0.71);
}

p {
    margin-bottom: 30px;
}

.et_pb_divider:after {
    display: block;
    position: absolute;
    left: calc(50% - 25px);
    background: url(img/minilogo.svg) center no-repeat #FFF;
    width: 50px;
    height: 50px;
    content: "";
    top: -25px;
}

.et_pb_divider {
    position: relative;
}

.et_pb_text h1,
.et_pb_text h2,
#impressumsinhalt h4 {
    font-size: 44px;
    color: #c99d66;
    text-transform: uppercase;
    padding-bottom: 0;
}

.et_pb_text h3 {
    text-transform: uppercase;
    color:#808080;
    font-size:24px;
    font-style: italic;
    padding-bottom: 0;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module.et_pb_text,
.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module.et_pb_text {
    margin-bottom: 0;
}

.triple_price img.bgpic {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

.et_pb_fullwidth_post_slider_0,
.et_pb_fullwidth_post_slider_0.et_pb_bg_layout_dark,
.et_pb_fullwidth_post_slider_0.et_pb_bg_layout_light {
    background-size: cover;
    background-position: center;
}

.triple_price div.overlay {
    background: rgba(201, 157, 101, 0.90);
    position: absolute;
    top: calc(100% - 100px);
    height: 100%;
    width: 100%;
    z-index: 2;
    transition: all 0.4s linear;
    padding: 20px 10px 0;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    line-height: 22px;
}

.triple_price:hover div.overlay {
    top: 0;
    /*padding-top: 27.826087%;*/
    padding-top: 30px;
}

.triple_price div.overlay h3 {
    color: #FFF;
    line-height: 30px;
    font-size: 21px;
    text-transform: uppercase;
    text-align: center;
}

.triple_price div.overlay h4 {
    color: #FFF;
    font-weight: 300;
    line-height: 30px;
    font-size: 21px;
    text-transform: uppercase;
    text-align: center;
}

.triple_price {
    position: relative;
    width: calc((100% - 30px) / 3);
    /*width: 32.2033898%;*/
    margin-left: 10px;
    /*margin-right: 1.6949153%;*/
    float: left;
    overflow: hidden;
    margin-bottom: 20px;
}

.triple_price:nth-child(3n+1){
    margin-left: 0;
    clear: both;
}

.triple_price:nth-child(4){
    margin-left: calc((100%/3)/2 + 10px);
}

.piccont {
    position: relative;
    overflow: hidden;
    background-size: cover;
    height: 380px;
    background-position: bottom center;
}

/*.triple_price:nth-child(3n){
    margin-right: 0;
}*/

.anfragebutton {
    display: block;
    line-height: 60px;
    text-align: center;
    background: #777777;
    color: #FFF;
    margin-top: 10px;
    transition: background 0.4s linear;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom:10px;
}

.anfragebutton:hover,
.triple_price:hover .anfragebutton {
    background: #ca9e61;
}

#postslider .et_pb_slide_description {
    padding: 0 0 8%;
}

#postslider .et-pb-slider-arrows > a {
    top: -200px;
}

#postslider .et_pb_slide_title {
    /*text-transform: uppercase;
    margin-bottom: 70px;*/
    display: none;
}

#postslider .et_pb_slide_content strong {
    font-weight: 300;
    font-size: 26px;
    line-height: 37px;
}

strong {
    font-weight: 600;
}

#postslider .et_pb_slide_content i {
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
}

p {
    padding-bottom: 0;
}

#et-main-area .et_pb_contact p input,
#et-main-area .et_pb_contact p textarea {
    background: #aaa;
    color: #FFF;
}

#et-main-area .et_pb_contact .et_pb_contact_field_4,
#et-main-area .et_pb_contact .et_pb_contact_field_5,
#et-main-area .et_pb_contact .et_pb_contact_field_3 {
    width: 33.33%;
}

#et-main-area .et_pb_contact_right {
    display: block;
    float: left;
    margin-left: 3%;
    width: 30.33%;
}

#et-main-area .et_pb_contact_right p input {
    padding: 11px;
}

#et-main-area button.et_pb_contact_submit.et_pb_button:hover:after {
    opacity: 0;
}

#et-main-area button.et_pb_contact_submit.et_pb_button:hover {
    padding: 0 20px;
    background: #ca9e61;
    color: #fff !important;
}

body .mfp-wrap .mfp-close:active {
    top: 0;
}

#et-main-area input.et_pb_contact_submit,
#et-main-area button.et_pb_contact_submit{
    color: #fff;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 48px;
    height: 48px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-left: 3%;
    float: left;
    width: 63.6%;
    background: #777777;
    font-weight: 700;
    text-transform: uppercase;
}

#et-main-area .et_pb_row {
    padding: 90px 0 0;
}

.et_contact_bottom_container {
    float: none;
    clear: both;
    width: 100%;
}

#et-main-area .et_pb_row.et_pb_row_1 {
    padding-top: 60px;
}

#et-main-area .et_pb_row.et_pb_row_7 {
    padding-top: 20px;
}

#footer-info a {
    font-weight: 400;
}

/*#impressumsinhalt {
    display: none;
}*/

#page-container #impressumsinhalt {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.3em;
}

.nav li ul {
    width: 50px;
    left: -12px;
    padding: 0;
    box-shadow: none;
}

#postslider .et_pb_slide_content {
    padding: 0 100px;
}

#impressumsinhalt {
  position: relative;
  background: #FFF;
  padding: 40px;
  width: auto;
  max-width: 980px;
  margin: 20px auto;
  max-height: 800px;
  overflow-y: scroll;
  color: #808080;
  float: none;
}

.linkswidget {
    margin-left: 5.0847458%;
    margin-right: 5.0847458%;
    width: 30.508475%;
}

.mittewidget {
    margin-right: 5.0847458%;
    width: 15.254237%;
    padding-top: 114px;
}

.rechtswidget {
    margin-right: 5.0847458%;
    width: 33.898305%;
    padding-top: 114px;
}

#footer-widgets {
    line-height: 26px;
    padding-top: 45px;
}

img.logo-white {
    display: block;
    margin-bottom: 20px;
}

.et_pb_gutters3.et_pb_footer_columns1 .footer-widget {
    margin-bottom: 0;
}



#footer-widgets .et_pb_widget ul li {
    margin-bottom: 0;
}

#main-header li#menu-item-248,
#main-header li#menu-item-255{
    display: none;
}

#main-header li a {
    text-transform: uppercase;
    font-weight: 400;
}

.mittewidget ul li:before {
    display: none;
}
#footer-widgets .mittewidget ul li {
    padding-left: 0;
}

.mittewidget ul li a {
    font-weight: 600;
}

#footer-bottom #footer-info {
    padding-left: 5.08475%;
    margin-bottom: 0;
    font-weight: 600;
}

#footer-bottom #footer-info a {
    font-weight: 400;
}

.et-social-icons .et-social-icon.et-social-xing > a.icon-xing:before {
    font-family: "xing_font" !important;
    position: relative;
    top: -3px;
    font-size: 23px;
}

#top-menu li {
    padding-right: 45px;
}

#top-menu li#menu-item-254 {
    /*padding-right: 0;*/
}

#top-menu li li {
    padding: 0;
}

.nav li:hover > ul {
    padding-top: 0;
    padding-bottom: 0;
}

#top-menu li li a {
    width: 50px;
    padding: 0;
    text-align: center;
    line-height: 40px;
}

.footer-widget .qtranxs-lang-menu {
    display: none;
}

body {
    line-height: 1.65em;
}

.et_pb_filterable_portfolio .et_pb_portfolio_item.active,
.et_pb_gallery_grid .et_pb_gallery_item {
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
    animation: none;
}

.et_pb_section .et_pb_row .et_pb_column .et_pb_module.et_pb_divider {
    margin-bottom: 20px;
}

#et-main-area .et_pb_post_slider.et_pb_bg_layout_dark {
    background: rgba(0,0,0,0);
}

#referenzensection .et_pb_fullwidth_code h2 {
    padding-top: 90px;
    text-align: center;
    color: #FFF;
    font-size: 46px;
    text-transform: uppercase;
    margin-bottom: 70px;
}

#et-main-area #buchungsanfragetitel,
#et-main-area .anfahrttitel{
    margin-bottom: 62px;
}

#referenzensection {
    margin-bottom: 40px;
}

#et-main-area .et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none;
}

#et-main-area .et_pb_slider .et_pb_slide {
    box-shadow: none;
}

#top-menu .qtranxs-lang-menu > a {
    pointer-events: none;
    cursor: default;
}

.mobile-only{
    display: none;
}

#main-header .logo_container > a > img {
    max-height: none !important;
    height: auto !important;
    width: auto !important;
}


#et-main-area .et_pb_contact.wpcf7-form input{
    color: #FFF;
    margin-bottom: 15px;
    width: 100%;
    font-size: 18px;
}

.et_pb_contact.wpcf7-form .wpcf7-form-control-wrap {
    display: block;

}

.et_pb_contact.wpcf7-form .wpcf7-form-control-wrap.acceptance-915 {
    clear: both;
}

#et-main-area .et_pb_contact.wpcf7-form .wpcf7-form-control-wrap.acceptance-915 input[type=checkbox]{
    width: auto;
}

.et_pb_contact.wpcf7-form br {
    display: none;
}

#et-main-area .et_pb_contact.wpcf7-form input[type="submit"]:disabled,
#et-main-area .et_pb_contact.wpcf7-form input[type="submit"]:hover:disabled {
    color:#FFF;
    background: #777;
    cursor: not-allowed;
}

span.wpcf7-list-item {
    margin-left: 0;
}

#top-menu li.notoppls{
    display:none;
}

#et-main-area .et_pb_contact.wpcf7-form p:after{
    display: table;
    clear: both;
    content: "";
}

#et-main-area .et_pb_contact.wpcf7-form input[type="submit"] {
    width: calc(100% - 320px);
    float: right;
    line-height: 42px;
    background: #777;
    cursor: pointer;
    transition: background-color 0.2s linear;
    text-transform: uppercase;
    font-weight: 600;
}

#et-main-area .et_pb_contact.wpcf7-form ::-webkit-input-placeholder {
   color: #FFF;
   opacity: 1;
}

#et-main-area .et_pb_contact.wpcf7-form :-moz-placeholder { /* Firefox 18- */
   color: #FFF;
   opacity: 1;
}

#et-main-area .et_pb_contact.wpcf7-form ::-moz-placeholder {  /* Firefox 19+ */
   color: #FFF;
   opacity: 1;
}

#et-main-area .et_pb_contact.wpcf7-form :-ms-input-placeholder {  
   color: #FFF;
   opacity: 1;
}



#et-main-area .et_pb_contact.wpcf7-form input[type="submit"]:hover {
    background:#C69C62;
}

div.wpcf7-form-control-wrap {
    float: left;
}

#et-main-area .et_pb_contact.wpcf7-form p {margin-bottom: 0}

#et-main-area .wpcf7-form-control-wrap.text-apartmentart,
#et-main-area .wpcf7-form-control-wrap.zeitraum-von,
#et-main-area .wpcf7-form-control-wrap.zeitraum-bis {
    float: left;
    width: 32%;
    margin-right: 2%;
}

#et-main-area .wpcf7-form-control-wrap.zeitraum-bis {
    margin-right: 0;
}

#et-main-area .wpcf7-form-control-wrap.text-apartmentart input,
#et-main-area .wpcf7-form-control-wrap.zeitraum-von input,
#et-main-area .wpcf7-form-control-wrap.zeitraum-bis input{
    width: 100%;
}

.et_pb_code:after {
    display: table;
    content: "";
    clear: both;
}

header .container a.et-pb-arrow-prev{
    opacity: 1;
    font-size: 24px;
    color: #000;
    position: relative;
    padding-left: 35px;
    left: 0;
}
header .container a.et-pb-arrow-prev:before{
    top: 6px;
    position: absolute;
    left: 0;
}

@media only screen and (max-width: 1395px) {
    .triple_price div.overlay h3,
    .triple_price div.overlay h4{
        font-size: 16px;
        line-height: 23px;
    }
    .triple_price:hover div.overlay{
        padding-top: 20px;
    }
    .triple_price div.overlay{
        font-size: 14px;
        line-height: 19px;
        top: calc(100% - 85px);
    }
}

@media only screen and (max-width: 1130px) {
    .triple_price div.overlay h3,
    .triple_price div.overlay h4{
        font-size: 20px;
    }
}

@media all and (max-width: 1100px) {
    .linkswidget,
    .mittewidget {
        width: 48%;
        margin-right: 4%;
        margin-left: 0;
    }
    
    .triple_price {
        width: 48%;
        margin-left: 4%;
    }
    
    .mittewidget {
        margin-right: 0;
    }
    .triple_price:nth-child(2n+1) {
        margin-left: 0;
        clear: both;
    }
    
    .triple_price:nth-child(4){
        margin-left: 4%;
        clear: none;
    }
    
    .triple_price div.overlay {
        font-size: 14px;
        line-height: 22px;
    }
    .triple_price:hover div.overlay {
        padding-top: 30px;
    }
    
    /*.footer-widget:nth-child(n),*/
    .rechtswidget{
        width: 100% !important;
        margin: 0 0 20px;
        padding-top: 0;
        float: none;
        clear: both;
    }
    #footer-widgets {
        padding-bottom: 20px;
    }
    
    #main-footer #footer-widgets .footer-widget {
        width: 100% !important;
    }
    
    /*.triple_price:nth-child(3n) {
        width: 100%;
    }*/

}

@media all and (max-width: 980px) {
    .logo_container > a{
        width: 175px;
        box-shadow: none;
    }
    .et_header_style_left #logo, .et_header_style_split #logo{
        max-width: 100%;
        height: 100%;
        width: 100%;
        max-height: 100%;
    }
    .logo_container > a > img{
        padding: 11px 20px;
    }
    .mobile_menu_bar:before{
        background: url('img/burger.png') no-repeat;
        width: 30px;
        color: transparent !important;
    }
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header{
        position: fixed;
    }
    .qtranxs-lang-menu > a{
        pointer-events: none;
        cursor: default;
    }
    .anfragebutton{
        margin-top: 0;
        margin-bottom: 10px;
    }
    #postslider .et_pb_slide_content{
        padding: 0;
    }
    .mobile-only{
        display: block;
    }
    .et_pb_text{
        font-size: 18px;
    }
    #et-main-area .et_pb_row,#et-main-area .et_pb_row.et_pb_row_1,.et_pb_section{
        padding: 0;
    }
    #et-main-area{
        padding: 50px 0 0;
    }
    #et-main-area #buchungsanfragetitel, #et-main-area .anfahrttitel{
        margin-bottom: 30px;
    }
    .et_mobile_menu .menu-item-has-children > a{
        display: none;
    }
    #main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul{
        padding-left: 0;
    }
    .et_mobile_menu li li{
        padding-left: 0;
    }
}

@media all and (max-width: 767px) {
    .triple_price {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        float: none;
    }
    
    .triple_price:nth-child(4) {
        margin-left: 0;
    }
    
    #et-main-area .et_pb_gallery .et_pb_gallery_item,
    #et-main-area .et_pb_gallery .et_pb_gallery_item:nth-child(3n) {
        width: 48% !important;
        margin-right: 4% !important;
    }
    
    #et-main-area .et_pb_gallery .et_pb_gallery_item:nth-child(2n) {
        margin-right: 0 !important;
    }
    
    .triple_price div.overlay{
        font-size: 14px;
        line-height: 19px;
    }
   
}

@media all and (max-width: 450px) {  
    .linkswidget,
    .mittewidget {
        width: 100% !important;
        margin-right: 0% !important;
        margin-left: 0;
        padding-top: 0;
    }
    .triple_price div.overlay h4 {
        margin-bottom: 5px;
    }
    #et-main-area .et_pb_contact .et_pb_contact_field_4,
    #et-main-area .et_pb_contact .et_pb_contact_field_5,
    #et-main-area .et_pb_contact .et_pb_contact_field_3 {
        width: 100%;
    }
    #et-main-area .et_pb_contact_right {
        width: 100%;
    }
    #et-main-area input.et_pb_contact_submit, #et-main-area button.et_pb_contact_submit {
        width: 100%;
    }
}

@media all and (max-width: 345px) {
    .triple_price div.overlay{
        font-size: 12px;
        line-height: 18px;
    }
    .triple_price div.overlay h4 {
        margin-bottom: 5px;
    }
}

/*--------------------------------------------------------------
## Overwriting
--------------------------------------------------------------*/

body #et-main-area .triple_price .et_pb_gallery .et_pb_gallery_pagination,
body #et-main-area .triple_price .et_pb_gallery .et_pb_gallery_item:nth-child(n+4){
    display: none !important;
}

/* 2021 */

#menu-item-383{padding-right: 7px !important;}