/*
Theme Name: GMS Theme
Theme URI: http://deep-impact.ch/
Author: Deep Impact
Author URI: http://deep-impact.ch/
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: gms-theme
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/* Main timeline container */
.custom-timeline::after {
    content: "";
    display: table;
    clear: both;
}

/* Main timeline container */
.custom-timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px 0;
}

/* Grey background line */
.custom-timeline::before {
    content: "";
    position: absolute;
    width: 4px;
    background-color: #D9D9D9; /* Grey color for the background line */
    top: 24px;
    left: 50%;
    height: 100%; /* Full height of the timeline container */
    transform: translateX(-50%);
    z-index: 0;
}

/* Timeline fill line */
.timeline-line {
    position: absolute;
    width: 4px;
    background-color: #000000; /* Fill color */
    top: 24px;
    left: 50%;
    height: 0; /* Start from 0 height and grow */
    transition: height 0.5s ease;
    transform: translateX(-50%);
    z-index: 1;
}


/* Timeline item styling */
.timeline-item {
    width: 45%; /* Width of each item on desktop */
    position: relative;
    margin-bottom: 50px;
    padding:40px 40px 16px 40px;
    border-radius: 6px;
    border: 1px solid #EAEAEA;
    background: #FFF;
    box-shadow: 29px 198px 56px 0px rgba(0, 0, 0, 0.00), 19px 127px 51px 0px rgba(0, 0, 0, 0.01), 11px 71px 43px 0px rgba(0, 0, 0, 0.03);
    z-index:1;
}

/* Left alignment for odd items */
.custom-timeline .timeline-item:nth-child(odd) {
    float: left;
    clear: both;
    text-align: right;
    transform: translateX(-20px); /* Adjust for visual alignment */
}

/* Right alignment for even items */
.custom-timeline .timeline-item:nth-child(even) {
    float: right;
    clear: both;
    text-align: left;
    transform: translateX(20px); /* Adjust for visual alignment */
}

/* Positioning the timeline icon */
.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: #858585;
    border-radius: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 2;
    padding:10px;
    top: 0; /* Default position, JavaScript will adjust */
}
.timeline-icon.active{
    background-color: #000000; /* Change to the desired color when active */
    transition: all 0.3s ease;

}
.timeline-icon svg path{
    stroke:#ffffff;
}
.custom-timeline .timeline-item:nth-child(odd) .timeline-icon {
    right: -128px;
}
.custom-timeline .timeline-item:nth-child(even) .timeline-icon {
    left: -79px;
}

.timeline-date {
    font-weight: bold;
    color: #000;
    position: absolute;
    top: 0;
    transform: translate(-50%, 20px);
    white-space: nowrap;
    font-size: 18px;
    z-index: 3;
}

.custom-timeline .timeline-item:nth-child(odd) .timeline-date {
    right: -50%;
}
.custom-timeline .timeline-item:nth-child(even) .timeline-date {
    left: -50%;
}
.timeline-content h3{
    padding-top:0;
    margin-top:0;
}

/* Mobile view adjustments */
@media screen and (max-width: 990px) {
    /* Set all items to the right */
    .timeline-item, .custom-timeline .timeline-item:nth-child(odd) {
        width: 100%;
        padding: 20px;
        float: right;
        text-align: left;
        transform: none;
        max-width: calc(100% - 40px);
        margin-right: 20px;
        transform:translateX(20px);
    }
    .custom-timeline .timeline-item:nth-child(even) .timeline-date{
        left:0;
    }

    .custom-timeline::before {
        left: 20px;
    }

    .timeline-line {
        left: 20px;
    }


    /* Move the date inside the item box */
    .timeline-date {
        position: relative;
        left: 0;
        transform: none;
        text-align: left;
        margin-bottom: 0;
    }

    /* Adjust the icon positioning */
    .custom-timeline .timeline-item:nth-child(odd) .timeline-icon,  .custom-timeline .timeline-item:nth-child(even) .timeline-icon{
        left: -22px;
        right: auto;
    }
}
.team-member-card{
	border-top:5px solid #A3CC01;
	display: flex;
    background: #ffffff;
    border-radius: 5px;
    padding: 20px;
    gap: 25px;
	min-height:351px;
	transition:all ease 0.3s;
}
.team-member-card img{
	width:0;
	transition:all ease 0.3s;
}/*
.team-member-card:hover img{
	width:250px;
}*/
.team-member-card h3{
	font-size:24px;
}
.team-member-card .job-title{
	font-size:14px;
}
.team-member-card .member-desc{
	font-size:16px;
	margin-bottom:10px;
}
.mitarbeiter-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 items per row */
    gap: 20px; /* Space between items */
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.mitarbeiter-item {
    display: flex;
    align-items: center;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: #ffffff;
}

.mitarbeiter-image img {
    width: 30px;
    height: 30px;
	margin-right:15px;
    border-radius: 50%;
    object-fit: cover;
}

.mitarbeiter-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
@media screen and (max-width: 768px) {
	.mitarbeiter-list {
		grid-template-columns: repeat(2, 1fr); /* 3 items per row */
	}
}
.single-property .titlebar{
	display:none;
}
.ld-carousel-parallax-wrap img{
	width:100%;
}
.single-stelle #lqd-site-content{
    padding-top:100px;
    padding-bottom:100px;
    background-color:#f8f8fd;
}
.job-wrapper{
    padding:40px;
    background:#ffffff;
    max-width:780px;
    margin: 0 auto;
    box-shadow: 0px 26px 59px 0px rgba(85, 93, 131, 0.07);
    border-radius: 5px;

}
.stellen-item {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid #f8f8fd;
}
.stellen-item h3{
    font-size:18px;
}
.stellen-item a{
    border: 2px solid #000000;
    padding: 12px 20px;
    border-radius: 50px;
    transition:0.3s ease all;
    font-size: 14px;
}
.stellen-item a:hover{
    color:#ffffff;
    background:#000000;
}
@media screen and (max-width: 768px) {
	.referenz-row{
		display:flex !important;
		flex-direction:column;
	}
}