/*
    Theme Name: DSD
    Version: 1.0.0
    Template: Divi
    Author: Divi Pixel
    Author URI: https://www.divi-pixel.com
    Text Domain: dsd
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.home-contact-btn {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.home-contact-btn a {
    background-color: #0066CC;
    padding: 15px 17px !important;
	border-radius: 5px;
}

.home-contact-btn a:hover {
    background-color: #000000;
}

.header-menu .et_pb_menu__wrap {
    align-items: center !important;
}

.header-menu .et_pb_menu__search-button {
    background-color: #0066CC;
    padding: 13px !important;
    margin-right: 0px !important;
	border-radius: 5px;
}

.header-menu .et_pb_menu__icon.et_pb_menu__close-search-button {
    color: #000 !important;
}

/*.header-menu .sub-menu {
    margin-top: 10px;
}*/

.footer-row-1 .et_pb_column_1_tb_footer {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}

.header-menu .sub-menu {
    padding: 0px !important;
    border-top: unset;
}

.header-menu .sub-menu li {
    padding: 0 !important;
    width: 100% !important;
}

.header-menu .sub-menu li a {
    width: 100%;
} 

.header-menu .sub-menu li a:hover {
    background-color: #0066CC !important;
}

.footer-contact .et_contact_bottom_container {
    float: unset !important;
    justify-content: center;
    margin-top: 0px !important;
}

.footer-contact .et_pb_contact_field_options_list {
    display: none;
}

.footer-contact .et_pb_contact_field_options_title {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #fff;
}

.contact-form .et_pb_contact_field_options_list {
    display: none;
}

.contact-form .et_pb_contact_field_options_title {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #fff;
    margin-bottom: 40px !important;
}

.contact-form .et_contact_bottom_container {
    float: left !important;
    margin-left: 1% !important;
}

.contact-form .et_pb_contact_field[data-type=select]:after {
    border-top-color: #fff !important;
}

.et-pb-contact-message p {
  font-size: 20px;
  line-height: 1.5em;
  color: #fff;
}

.et-pb-contact-message:has(ul) p {
  font-size: 16px;
  line-height: 1.5em;
  color: #fff;
}

.et-pb-contact-message ul {
  font-size: 16px;
  line-height: 1.5em;
  color: #fff;
}


option {
    color: #000 !important;
    background-color: #fff !important;
}

.footer-contact .et_pb_contact_field[data-type=select]:after {
    border-top-color: #fff !important;
}

.header-main {
    position: absolute;
    width: 100%;
}

.error404 .header-main, .single-post .header-main, .single-labor_law .header-main {
    position: unset;
}

.error404 footer {
    display: none;
}

.home-hero-row .et_pb_main_blurb_image {
    margin-bottom: 50px !important;
}

.home-hero-btn {
    width: 100%;
}

.home-law-firm {
    display: flex;
    justify-content: center;
    align-items: center;
}

.schulungen-blurb-row .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-head-row {
    display: flex;
    align-items: center;
}

.home-find-lawyer-col:hover .home-find-lawyer-btn {
    background-color: #000 !important;
}

.home-find-lawyer-btn-last {
    color: #1e1e1e;
}
.home-find-lawyer-col-last:hover .home-find-lawyer-btn-last {
    background-color: #000 !important;
    color: #fff !important;
}

.thank-you-page {
    display: flex;
}

.under-maintenance-contact .et_pb_column {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blurb-contact-details .et_pb_blurb_container {
    padding-left: 0px !important;
}

.under-maintenance-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: end;
}

.page-id-289 header {
    display: none;
}

.center-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-team-col {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.team-hidden-text {
    display: none;
    transition: all 0.3s ease-in-out;
}

.home-team-col:hover .team-hidden-text {
    display: block;
}

/*.home-team-col:hover .team-show-text {
    transform: translateX(0px) translateY(0px) !important;
}

.home-team-col:hover .team-hidden-text {
    filter: opacity(100%) !important;
    backface-visibility: visible !important;
    transform: translateX(0px) translateY(0px) !important;
}*/

.our-specialties-col {
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    overflow: hidden;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease-in-out;
    min-height: 356px;
}

.our-specialties-col:hover {
    background-size: 110%;
}

.our-specialties-col-heading {
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.our-specialties-col-heading h4 {
    margin: 0;
    position: relative;
    z-index: 1;
    transition: 0.3s ease-in-out;
}

.our-specialties-col:hover .our-specialties-col-heading {
    height: 100%;
    padding-bottom: 40px !important;
}

.aktuelles-hidden-text {
    display: none;
    transition: 0.3s ease-in-out;
}

.our-specialties-col:hover .aktuelles-hidden-text {
    display: block;
}

.date-profile-page p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.latest-news-btn .et_pb_column {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.training-courses-btn .et_pb_column {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.further-links-btn .et_pb_column {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-next a, .nav-previous a {
    padding: 16px 20px;
}

.post-inner-link {
    padding: 50px 0px !important;
    display: flex;
    gap: 30px;
    list-style: none !important;
    justify-content: space-between;
    flex-wrap: wrap;
}

.more-link {
    background-color: #0066CC;
    padding: 16px 20px;
}

.related-post article {
    background-color: #F6F6F6 !important;
    padding: 20px 20px 40px 20px !important;
}

.related-post .post-content-inner {
    padding-bottom: 30px;
}

.meet-the-team {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 400px;
}

.meet-the-team-heading {
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.meet-the-team-heading h4 {
    margin: 0;
    position: relative;
    z-index: 1;
    transition: 0.3s ease-in-out;
}



.meet-the-team:hover .aktuelles-hidden-text {
    display: block;
}

.labor-law-blog .post-meta {
    padding: 30px 0px !important;
}

.single-labor_law .nav-single {
    gap: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.next-prev.et_pb_posts_nav.nav-single:after {
    display: none;
}

.related-post article {
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-post .clearfix:after {
        display: none !important;
}


@media all and (min-width: 1406px) and (max-width: 1500px) {
    .header-menu .et-menu-nav ul li a {
        font-size: 15px !important;
    }
    .home-header-heading h1 {
        font-size: 30px !important;
    }
    .home-hero-banner-btn {
        font-size: 18px !important;
    }
    .home-header-blurb h4 {
        font-size: 16px !important;
    }
    .home-header-hero-banner {
        padding-top: 200px !important;
        padding-bottom: 100px !important;
    }
    .our-specialties-col-heading h4 {
        font-size: 24px !important;
    }
}


@media all and (min-width: 1100px) and (max-width: 1405px) {
    .header-menu .et-menu-nav ul li a {
        font-size: 12px !important;
    }
    .home-contact-btn a {
        padding: 10px !important;
    }
    .header-menu .et_pb_menu__search-button {
        padding: 8px !important;
    }
    .home-header-heading h1 {
        font-size: 30px !important;
    }
    .home-hero-banner-btn {
        font-size: 16px !important;
    }
    .home-header-blurb h4 {
        font-size: 14px !important;
    }
    .heading-h2 h2, .heading-h2 h3 {
        font-size: 30px !important;
    }
    .text-inner-excerpt {
        font-size: 16px !important;
    }
    .home-train-course-h4 h4, .heading-h4 h4 {
        font-size: 20px !important;
    }
    .our-specialties-col {
        min-height: 250px !important;
    }
    .our-specialties-col-heading {
        height: 40%;
    }
    .our-specialties-col-heading h4 {
        font-size: 20px !important;
    }
    .training-course-h4 h4 {
        font-size: 20px !important;
    }
    .training-course-text {
        font-size: 16px !important;
    }
    .labor-law-blog h2 a {
        font-size: 30px !important;
    }
    .labor-law-blog .post-content p, .post-inner-link {
        font-size: 18px !important;
    }
    .single-labor_law .entry-title {
        font-size: 30px !important;
    }
    .single-labor_law .et_pb_post_content {
        font-size: 18px !important;
    }
    .related-post article h2 a {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }
    .related-post .entry-title {
        line-height: 1.2em !important;
    }
    .related-post .post-content p {
        font-size: 16px !important;
    }
    .related-post article {
        min-height: 650px;
    }
    .contact-h4 h4 {
        font-size: 30px !important;
    }
    .contact-h4 .et_pb_blurb_description {
        font-size: 22px !important;
    }
    .contact-map iframe {
        height: 500px !important;
    }
    .home-header-hero-banner {
        padding-top: 200px !important;
        padding-bottom: 100px !important;
    }
    .home-find-lawyer-col {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

@media all and (min-width: 981px) and (max-width: 1099px) {
    .header-menu .et-menu-nav ul li a {
        font-size: 12px !important;
    }
    .home-contact-btn a {
        padding: 10px !important;
    }
    .header-menu .et_pb_menu__search-button {
        padding: 7px !important;
    }
    .home-header-heading h1 {
        font-size: 24px !important;
    }
    .home-hero-banner-btn {
        font-size: 14px !important;
    }
    .home-header-blurb h4 {
        font-size: 11px !important;
    }
    .heading-h2 h2, .heading-h2 h3 {
        font-size: 26px !important;
    }
    .text-inner-excerpt {
        font-size: 14px !important;
    }
    .home-train-course-h4 h4, .heading-h4 h4 {
        font-size: 18px !important;
    }
    .header-menu .et-menu>li {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
    .header-menu .et_pb_menu__logo-wrap {
        width: 20% !important;
    }
    .our-specialties-col {
        min-height: 200px !important;
    }
    .our-specialties-col-heading {
        height: 50%;
    }
    .our-specialties-col-heading h4 {
        font-size: 16px !important;
    }
    .aktuelles-hidden-text {
        font-size: 14px !important;
    }
    .contact-h4 h4 {
        font-size: 30px !important;
    }
    .contact-h4 .et_pb_blurb_description {
        font-size: 20px !important;
    }
    .training-course-h4 h4 {
        font-size: 18px !important;
    }
    .training-course-text {
        font-size: 14px !important;
    }
    .home-header-hero-banner {
        padding-top: 150px !important;
        padding-bottom: 80px !important;
    }
    .home-find-lawyer-col {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .review-btn {
        font-size: 16px !important;
    }
    .contact-page-form input, .contact-page-form input::placeholder, .contact-page-form select, .contact-page-form textarea::placeholder {
        font-size: 14px !important;
    }
}

@media (max-width:980px) {
    .home-law-firm {
        flex-direction: column;
    }
    .review-head-row {
        flex-direction: column;
    }
    .center-text {
        flex-direction: column;
    }
}

@media(max-width: 469px) {
    .under-maintenance-contact .et_pb_column {
        flex-direction: column;
        align-items: center;
    }
}