/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

html {
    font-size: 100%;
    /* 16px = 1rem */
}

@media (max-width: 991px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 80%;
    }
}

b,
strong {
    font-weight: 700;
}

a strong,
a b,
a.swiper-slide-inner {
    text-decoration: none !important;
    color: inherit; 
}

.link-list .elementor-icon-list-icon {
    text-decoration: none !important;
}
h1, h2, h3, h4, h5, h6,
p, div, span, li, td, th,
.elementor-heading-title,
.elementor-widget-text-editor,
.elementor-text-editor,
.elementor-icon-box-title,
.elementor-icon-box-description {
    /* Break long words */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    
    /* Hyphenation for German */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* FUM LEGAL  */

/* Main Theme */

/* Slider */

/* Arrow before slide button */
.home-slider .elementor-slide-button {
    position: relative;
	padding: 0px 20px 0px 35px; /* Space for arrow */
    display: inline-flex;
    align-items: center;
}

/* SVG arrow on the left */
.home-slider .elementor-slide-button::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("https://fum-legal.advomatic-dev.de/wp-content/uploads/2025/12/arrow-right-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



.uc_post_title a,
.ue_post_full_link,
.menu-item a,
.link-list .elementor-icon-list-item>a,
.team_contact_link a strong {
    text-decoration: none !important;
}

/* Target only links inside text content areas */
div a,
div.elementor-heading-title a,
.entry-content a,
.elementor-widget-text-editor a,
.elementor-text-editor a,
article a,
p a,
.link-list a .elementor-icon-list-text,
.link-list a .elementor-icon-list-text a {
    text-decoration: underline;
    -webkit-text-decoration-style: solid;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: #055992;
}

/* Target only links inside text content areas */
div a:hover,
div.elementor-heading-title a:hover,
.entry-content a:hover,
.elementor-widget-text-editor a:hover,
.elementor-text-editor a:hover,
article a:hover,
p a:hover,
.link-list a .elementor-icon-list-text:hover,
.link-list a .elementor-icon-list-text a:hover {
    text-decoration-style: dotted;
    color: #055992;

    transition: color 0.5s cubic-bezier(0.55, 0, 0.1, 1), text-decoration-color 0.5s cubic-bezier(0.55, 0, 0.1, 1), -webkit-text-decoration-color 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

.link-list .elementor-icon-list-text {
    display: flex;
    gap: 3px;
}

/* Custom checkmark style for Gutenberg lists */
.single_blog_post ul li,
.elementor-widget-text-editor ul:not(.elementor-editor-element-overlay-settings) li,
ul.wp-block-list li,
article ul li {
    list-style: none;
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
}

/* Blue checkmark SVG icon */
.single_blog_post ul:not(.elementor-editor-element-overlay-settings) li::before,
.elementor-widget-text-editor ul:not(.elementor-editor-element-overlay-settings) li::before,
ul.wp-block-list li::before,
article ul li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /* White checkmark SVG */
    background-image: url('https://fum-legal.advomatic-dev.de/wp-content/uploads/2025/12/circle-check-solid.svg');
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove default list padding */
.single_blog_post ul:not(.elementor-editor-element-overlay-settings),
ul.wp-block-list,
.elementor-widget-text-editor ul:not(.elementor-editor-element-overlay-settings),
article ul {
    padding-left: 0;
}

/* Preserve nested lists */
.single_blog_post ul:not(.elementor-editor-element-overlay-settings) ul,
ul.wp-block-list ul,
.elementor-widget-text-editor ul:not(.elementor-editor-element-overlay-settings) ul,
article ul ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* Don't apply to ordered lists (numbered) */
.single_blog_post ol li::before,
ol.wp-block-list li::before,
article ol li::before
.elementor-widget-text-editor ol:not(.elementor-editor-element-overlay-settings) li::before, {
    display: none;
}

.single_blog_post ul:not(.elementor-editor-element-overlay-settings) li,
ul.wp-block-list li,
.elementor-widget-text-editor ul:not(.elementor-editor-element-overlay-settings) li,
article ul li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

/* Menu */

/* Styling for dropdown menu items */
.sub-menu li a,
.dropdown-menu li a,
.elementor-nav-menu--dropdown a {
    position: relative;
    padding-left: 40px;
    /* Space for arrow */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* Arrow icon - hidden by default */
.sub-menu li a::before,
.dropdown-menu li a::before,
.elementor-nav-menu--dropdown a::before {
    content: '';
    position: absolute;
    left: 0px;
    width: 20px;
    height: 20px;
    background-image: url("https://fum-legal.advomatic-dev.de/wp-content/uploads/2025/12/arrow-right-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* On hover - shift entire link right and show arrow */
.sub-menu li a:hover,
.dropdown-menu li a:hover,
.elementor-nav-menu--dropdown a:hover {
    transform: translateX(20px);
    /* Shift text right */
}

.sub-menu {
    overflow: hidden;
}

.sub-menu li a:hover::before,
.dropdown-menu li a:hover::before,
.elementor-nav-menu--dropdown a:hover::before {
    opacity: 1;

}

/* Pages NAV */

.pages_nav .elementor-nav-menu.sm-vertical .menu-item a {
    padding-left: 35px !important;
}

/* Styling for vertical menu items */
.pages_nav .elementor-nav-menu.sm-vertical .menu-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Gray separator */
}

/* Remove border from last item */
.pages_nav .elementor-nav-menu.sm-vertical .menu-item:last-child {
    border-bottom: none;
}

/* Style for menu links */
.pages_nav .elementor-nav-menu.sm-vertical .menu-item a {
    position: relative;
    padding-left: 40px;
    /* Space for arrow */
    display: flex;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Static arrow icon (blue) */
.pages_nav .elementor-nav-menu.sm-vertical .menu-item a::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("https://fum-legal.advomatic-dev.de/wp-content/uploads/2025/12/arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1 !important;
}

/* BUTTONS */

.main-btn-animated .elementor-button {
    position: relative;
    padding: 0px 25px 0px 45px;
    transition: color 0.4s ease;
}

/* background (::before) */
.main-btn-animated .elementor-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 100%;
    background-color: #2c5c92;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.main-btn-animated .elementor-button .elementor-button-content-wrapper .elementor-button-text {
    z-index: 10;
}

/* Arrow (::after) */
.main-btn-animated .elementor-button::after {

	content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("https://fum-legal.advomatic-dev.de/wp-content/uploads/2025/12/arrow-right-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1 !important;
}

/* Hover */
.main-btn-animated .elementor-button:hover {
    color: #ffffff;
}

.main-btn-animated .elementor-button:hover::before {
    width: 100%;
    /* animation */
}


/* BUTTONS / Gallery */

.btn-animated .uc_btn_inner {
    position: relative;
    padding: 0px 25px 0px 45px;
    transition: color 0.4s ease;
}

/* background (::before) */
.btn-animated .uc_btn_inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 100%;
    background-color: #2c5c92;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-animated .uc_btn_inner .uc_btn_txt {
    z-index: 10;
}

/* Arrow (::after) */
.btn-animated .uc_btn_inner::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("https://fum-legal.advomatic-dev.de/wp-content/uploads/2025/12/arrow-right-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1 !important;
}

/* Hover */
.btn-animated .uc_btn_inner:hover {
    color: #ffffff;
}

.btn-animated .uc_btn_inner:hover::before {
    width: 100%;
    /* animation */
}

/* htm btn "Zurück" */ 
.btn-end a{
    text-decoration: none !important;
}

.btn-end .uc_btn_txt{
    color: var(--e-global-color-text);
    margin-top: 10px;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    text-decoration: none !important;
    line-height: var(--e-global-typography-accent-line-height);
}

.btn-end .uc_btn_txt {
    z-index: 33;
    position: relative;
    transition: 0.3s;
}
.btn-end a:hover .uc_btn_txt,
.btn-end .uc_btn_txt:hover{
    color: #fff !important;
}

/* Blog-Gallery */

.blog-grid .ue-grid-item-category a {
    font-size: 85% !important;
}

.blog-grid .ue-meta-data .ue-grid-item-meta-data {
    padding: 0px 10px;
    background: #edf8ff;
    display: block;
    font-size: 85% !important;
}

/* TEAM Pages */

/* Vita table styling */
.vita-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: transparent !important;
}

/* Remove all borders */
.vita-block table,
.vita-block table td,
.vita-block table tr,
.vita-block table tbody {
    border: none !important;
    background: transparent !important;
}

/* Remove hover effect */
.vita-block table tr:hover,
.vita-block table tr:hover td {
    background: transparent !important;
}

/* Remove striped rows */
.vita-block table tr:nth-child(even),
.vita-block table tr:nth-child(odd) {
    background: transparent !important;
}

/* Left column (labels) styling */
.vita-block table td:first-child {
    width: 200px;
    vertical-align: top;
    padding: 15px 20px 15px 0;
    font-weight: bold;
    white-space: nowrap;
    background: transparent !important;
}

/* Right column (content) styling */
.vita-block table td:last-child {
    vertical-align: top;
    padding: 15px 0;
    background: transparent !important;
}

/* Row spacing */
.vita-block table tr {
    border-bottom: none;
}

.vita-block table tr td {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* First row - no top padding */
.vita-block table tr:first-child td {
    padding-top: 0;
}

/* Remove extra margins from paragraphs inside table */
.vita-block table td p {
    margin: 0;
    padding: 0;
}

/* Mobile responsive - horizontal scroll */
@media (max-width: 768px) {
    .vita-block {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .vita-block table {
        min-width: 600px;
    }
}

.person_photo{
	display: block;
	position: relative;
	overflow: hidden;
}

.person_photo img{
	transition: transform 0.5s ease; /* Transition */
}


.person_photo img:hover{
	transform: scale(1.07);
}

/* Footer */

.footer .elementor-heading-title a {
	color: var(--e-global-color-secondary) !important;
}