/*
Theme Name: Mindspace
Version: 1.0
Template: Divi
Author: Mindspace
Author URI: https://www.mindspace.at
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
Global
 */

h1, h2, h3, h4, h5 {
    font-style: italic;
    font-weight: 300;
}

.col-green {
    color: #436d61;
}

.col-red-italic {
    color: #e16347;
    font-style: italic;
}

.col-darkgreen-italic {
    color: #025447;
    font-style: italic;
}

#fakten, #person {
    padding: 140px 0;
}

@media (max-width: 479px) {
    #fakten, #person {
        padding: 40px 0;
    }
}

#main-content {
    min-height: 90vh;
}


/*
Header
 */

header#main-header {
    background: #cdd4d1;
}

#main-header #logo {
    max-height: 130%;
    margin-top: -20px;
}

#main-header.et-fixed-header #logo {
    margin-top: -10px;
}

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

#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}

#top-menu li.menu-item-has-children > a::after {
    display: none;
}

#top-menu ul.sub-menu {
    top: 34px;
    left: -10px;
    padding: 0;
    width: 160px;
    text-align: center;
    border: 0;
}

#top-menu li li {
    padding: 0;
    width: 100%;
    background: #f2f2f2;
}
#top-menu li li a {
    width: 100%;
}

#top-menu .et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: #cdd4d1;
    color: #0d5446 !important;
}


@media (min-width: 981px) and (max-width: 1099px) {
    #top-menu li {
        padding-right: 20px;
    }
}
@media (min-width: 1100px) and (max-width: 1405px) {
    #top-menu li {
        padding-right: 50px;
    }
}

@media (max-width: 980px) {
    #main-header #logo {
        margin-top: -10px;
    }
}

/*
HeaderImg
 */

.header-img-cont {
    padding: 0;
}

.header-img-cont .et_pb_row {
    padding: 70px 0 220px 0;
}

@media screen and (max-width: 479px) {
    #top.et_pb_section .et_pb_row .et_pb_column.et_pb_column_1_4 {
        width: 50%!important;
        padding: 0 15px;
    }
}


/*
Features
 */

.feature-section.et_pb_section {
    padding: 0;
}

.feature-section .et_pb_row {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.feature-section .et_pb_row .et_pb_column {
    width: 50%;
    margin: 0;
}

.feature-section .et_pb_image_wrap, .feature-section .et_pb_image {
    width: 100%;
    height: 100%;
}

.feature-section .et_pb_image_wrap img {
    object-fit: cover;
    min-width: 100%;
    height: 100%;
}

.feature-section .et_pb_row .et_pb_text_inner {
    width: 80%;
    margin: auto;
    padding: 50px 0;
}

.feature-section .et_pb_slide_image img {
    max-height: 100vh !important;
}

.feature-section .et_pb_slide {
    padding: 0;
}

.feature-section .et_pb_slide_description {
    display: none;
}
@media (max-width: 767px) {
    .feature-section .et_pb_slides,
    .feature-section .et_pb_slide,
    .feature-section .et_pb_slide .et_pb_container,
    .feature-section .et_pb_slide .et_pb_slide_image {
        min-height: 300px;
    }
    .feature-section .et_pb_slide_image {
        margin-top: 0 !important;
        height: 300px;
    }
    .feature-section .et_pb_slide .et_pb_slide_image img {
        width: auto !important;
        max-width: 500vw;
        height: 100%;
    }
    .et_pb_slide_image, .et_pb_slide_video {
        display: block !important;
    }
}
@media (min-width: 768px) and (max-width: 981px) {
    .feature-section .et_pb_slides,
    .feature-section .et_pb_slide,
    .feature-section .et_pb_slide .et_pb_container,
    .feature-section .et_pb_slide .et_pb_slider_container_inner,
    .feature-section .et_pb_slide .et_pb_slide_image {
        min-height: 300px;
    }
    .feature-section .et_pb_slide .et_pb_slide_image,
    .feature-section .et_pb_slide .et_pb_slide_image img {
        width: 100% !important;
    }
}
@media (min-width: 982px) {
    .feature-section .et_pb_slide_image img {
        animation: none !important;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    .feature-section .et_pb_slider,
    .feature-section .et_pb_slides,
    .feature-section .et_pb_slide,
    .feature-section .et_pb_slide .et_pb_container,
    .feature-section .et_pb_slide .et_pb_slider_container_inner,
    .feature-section .et_pb_slide .et_pb_slide_image,
    .feature-section .et_pb_slide .et_pb_slide_image img {
        height: 100% !important;
    }
    .feature-section .et_pb_slide_image {
        margin-top: 0 !important;
    }
    .feature-section .et_pb_slide .et_pb_slide_image img {
        width: auto !important;
        max-width: 100vw;
        min-height: 100%;
    }
}


@media (min-width: 981px) {
    .feature-section .et_pb_row .et_pb_text_inner {
        max-width: 600px;
        width: 100%;
        margin: 0;
        padding: 40px;
    }

    .feature-section:nth-child(odd) .et_pb_row .et_pb_column {
        order: 0;
    }

    .feature-section:nth-child(odd) .et_pb_row .et_pb_column:first-child {
        order: 1;
    }

    .feature-section:nth-child(odd) .et_pb_row .et_pb_text_inner {
        float: right;
        padding: 40px;
    }
}

@media (min-width: 1405px) {
    .feature-section .et_pb_row .et_pb_text_inner {
        padding: 140px 0 140px 140px;
    }

    .feature-section:nth-child(odd) .et_pb_row .et_pb_text_inner {
        padding: 140px 140px 140px 0;
    }
}

/*
Person
 */
#person {
    background-size: 100% auto !important;
}

#person .et_pb_column:first-child {
    background: rgba(255, 255, 255, 0.9);
    padding: 55px;
}
#person .et_pb_column {
    background: rgba(255, 255, 255, 0.0);
    padding: 0px;
}

#person .et_pb_column .et_pb_toggle {
    background: rgba(255, 255, 255, 0.9);
    padding: 55px;
}

#person .intent {
    padding-left: 35px;
}

#person .et_pb_toggle {
    padding: 0;
    border: 0;
    background: transparent;
}

#person .et_pb_toggle h2 {
    color: #e16347;
}

@media (max-width: 479px) {
    #person .et_pb_column:first-child, #person .et_pb_column .et_pb_toggle {
        padding: 15px;
    }
}


/*
Fakten
 */
#fakten .et_pb_row {
    max-width: 930px
}

#fakten table {
    border-collapse: collapse;
}

#fakten table thead h3 {
    padding: 5px 0;
}

#fakten table, #fakten table tr, #fakten table tr td {
    border: 0;
}

#fakten table tr:nth-child(even), #fakten table thead {
    background: #fae2d6
}

#fakten tfoot {
    text-align: right;
}


/*
Table responsive
*/
.table-responsive {
    overflow-x: auto;
    min-height: 0.01%;
}
@media screen and (max-width: 767px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 0;
    }
    .table-responsive > .table {
        margin-bottom: 0;
    }
    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }
    .table-responsive > .table-bordered {
        border: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }
    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
}

/*
Footer
 */


@media (min-width: 981px) {
    #kontakt {
        padding: 0;
        overflow: hidden;
    }

    #kontakt .et_pb_row {
        padding: 0;
    }

    #kontakt .et_pb_row .et_pb_text {
        padding: 140px 0 125px 0;
    }

    #kontakt .et_pb_row .et_pb_column {
        height: 100%;
    }

    #kontakt .et_pb_column.et-last-child {
        position: absolute;
        left: 50%;
        width: 50vw;
    }

    #kontakt .et_pb_column.et-last-child .et_pb_map_container_extended,
    #kontakt .et_pb_column.et-last-child .et_pb_map_container_extended .et_pb_map {
        height: 100%;
    }

}
#footer-widgets #menu-footermenue li{
    float: left;
}
#footer-widgets #menu-footermenue li::before {
    display: none;
}

#footer-widgets .menu-item:first-child {
    padding-left: 0;
}

#footer-widgets {
    padding: 50px 0 20px;
    text-transform: uppercase;
}

#footer-widgets .footer-widget {
    margin-bottom: 0;
}

#footer-widgets #text-2 {
    width: 100%;
    text-align: right;
    color: #000;
}

#footer-widgets .footer-widget a, #footer-widgets .footer-widget li a {
    color: #000 !important;
}

#footer-widgets .footer-widget li a:hover {
    color: #333333 !important;
}

@media (max-width: 767px) {
    .footer-widget div {
        text-align: center;
    }

    #footer-widgets #menu-footermenue li {
        display: inline-block;
        float: none;
    }
    #nav_menu-2 {
        width: 100%;
    }
    
}
