/**
 * Theme Name:     Divi Child
 * Author:         Elegant Themes
 * Template:       Divi
 * Text Domain:	   divi-child
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

/* Used for Inline Buttons so that they are next to each other
*/
    .inline-buttons .et_pb_button_module_wrapper {
        display: inline-block;
        margin: 0 10px;
    }
    .inline-buttons {
        text-align: left !important; 
        /* Change "Center" to left or right as you need, 
        to align the buttons to the sides rather than the 
        center of the column */
    }



.ds-vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.et-social-rss a.icon:before {
    content: "\e09d";
}

.et-social-google-plus a.icon:before {
    content: "\e076";
}

@media (min-width: 1281px) {
    #custom-header-text h1 {
        font-size: 1.6em !important;
    }
}

@media (max-width: 1280px) {
    #custom-header-text {
        max-width: 50% !important;
    }
}

@media (max-width: 980px) {
    #custom-header-text {
        font-size: 1.5em !important;
        max-width: 45% !important;
    }
}

@media (max-width: 767px) {
    #custom-header-text {
        font-size: 1.9em!important;
        line-height: 1.2em!important;
        padding-bottom: 0.5em!important;
        position: absolute;
        right: 0;
        top: -230px;
    }
    .custom-header-text-sec {
        top: -180px !important;
    }
}

@media (max-width: 480px) {
    #custom-header-text {
        position: absolute;
        right: -20px;
        top: -230px;
    }
    #custom-header-text h1 {
        font-size: 22px !important;
    }
    .home #custom-header-text {
        /* font-size: 16px !important;
        max-width: 53% !important; */
        font-size: 14px !important;
        max-width: 68% !important;
    }
    .custom-header-text-sec {
        top: -200px !important;
    }
}

.cta_dl {
    line-height: 36px !important;
}

.cta_dl a:hover {
    opacity: 1 !important;
}

.cta_dl a {
    color: white !important;
    background-color: #e88d0c !important;
    padding: 0 50px 0 20px !important;
    font-family: 'Play', Helvetica, Arial, Lucida, sans-serif;
}

.cta_dl a:before {
    font-family: 'ETmodules';
    content: "\e071";
    color: white !important;
    font-size: 24px;
    position: absolute;
    /* left: 0; */
    right: 10px;
    /* text-align: center; */
    /* background-color: #e88d0c !important; */
    /* padding: 0 20px !important; */
    /* font-family: 'Play',Helvetica,Arial,Lucida,sans-serif; */
}

.cta_dl a img {
    max-width: 40px;
}

.cta_dl:hover a {
    background-color: #005a8c!important;
}

#et-top-navigation ul li a.et-cart-info {
    margin: 0 !important;
    float: none;
}


/* .et-cart-info {
    margin-left: 40px !important;
    margin-top: 1px !important;
} */

#top-menu {
    margin-bottom: 33px !important;
}

.et_header_style_left #et-top-navigation nav>ul>li>a,
.et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-bottom: 0px !important;
}

#et-top-navigation .et-cart-info {
    margin-top: 6px;
}

.gew_nutzung {
    float: left;
    padding: 0px !important;
}

@media (max-width: 1280px) {
    #logo {
        max-width: 200px;
    }
    /* #top-menu li {
        padding-right: 12px !important;
    } */
}

@media (max-width: 1180px) {
    .cta_dl {
        display: none;
    }
    .mobile_cta {
        display: none !important;
        float: right;
        margin-left: 20px;
        margin-top: -2px;
        position: relative;
    }
    .mobile_cta.cta_dl a {
        padding: 6px 20px !important;
    }
    .et-cart-info {
        display: none !important;
    }
}

@media (max-width: 500px) {
    .mobile_cta {
        position: absolute;
        bottom: 10px;
        right: 6px;
    }
    #et-top-navigation {
        padding-bottom: 20px;
    }
}

.woocommerce div.product div.images.woocommerce-product-gallery img {
    width: auto;
}

.cart-icon:after {
    font-family: 'ETmodules';
    content: "\e07a";
    color: white !important;
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 33px;
}

.mail-icon:after {
    font-family: 'ETmodules';
    content: "\e076";
    color: #005a8c !important;
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 33px;
}

.remove_slider_styles.et_pb_slider .et_pb_slide {
    background: none;
    padding: 0;
}

.remove_slider_styles.et_pb_slider .et_pb_slide_image {
    margin: 0 !important;
}

.remove_slider_styles.et_pb_slider .et_pb_slide_description {
    display: none;
}

.remove_slider_styles.et_pb_slider .et_pb_slide img.active {
    width: 100%;
    height: auto;
    max-height: 100% !important;
}

#baldverf {
    font-size: 14px;
}

.mail-icon,
.cart-icon {
    position: absolute;
    width: 100%;
    bottom: -80px;
    min-height: 84px;
    height: 84px;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color: transparent) {
        .mail-icon, .cart-icon {
            width: calc(100% + 2em);
        }
    }
}

.mail-icon:hover,
.cart-icon:hover {
    position: absolute;
}

@media (max-width: 980px) {
    #shop-overview .et_pb_column_1_4 {
        width: 44%;
        margin-bottom: 100px;
    }
}

.home #top-menu li.current-menu-ancestor>a {
    color: #a3a3a3;
}

.page-id-7848 #menu-item-7784 a,
.page-id-8011 #menu-item-7784 a {
    color: #005a8c !important;
}

.mail-icon,
.cart-icon {
    display: table;
}

.mail-icon>div,
.cart-icon>div {
    display: table-cell;
    vertical-align: middle;
}

footer .widget_icl_lang_sel_widget {
    margin-bottom: 0 !important;
}

@media (max-width: 1480px) {
    .container.et_menu_container {
        width: 98% !important;
    }
}

@media (max-width: 1180px) {
    #et_mobile_nav_menu {
        display: block !important;
    }
    #top-menu {
        display: none;
    }
}


/* @media (max-width: 1100px) {
    
    #et_mobile_nav_menu {
        display: block !important;
    }
} */

@media (min-width: 981px) {
    .same_height_blurbs .et_pb_column.et_pb_column_1_3 {
        margin-bottom: 50px;
    }
    .same_height_blurbs .et_pb_button_module_wrapper {
        position: absolute !important;
        bottom: -50px;
        /* padding-bottom: 40px; */
        width: 100%;
        height: 50px;
    }
}

/* Main container for the post item */
.project-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
	border: 1px solid #ddd; 
	border-radius: 8px;       /* Optional: rounded corners */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	
}

/* Style for the featured image */
.project-item .project-image {
    width: 30%;  /* Image takes 30% width on desktop */
    max-width: 250px;
    margin-right: 20px;
}

.project-image {
    flex: 1;
    text-align: center;
}

.project-image img {
    max-width: 100%; /* Ensure the image takes full width of its column */
    height: auto;    /* Maintain the aspect ratio */
    border-radius: 8px;
}

.project-content {
    flex: 2;
    padding-left: 20px;
}

.project-item .project-content p {
    margin-top: 1px;         /* Space between title and excerpt */
    color: #555;              /* Slightly muted color for excerpt */
}

.project-item img {
    width: 100%;
    height: auto;  /* Ensure the image retains its aspect ratio */
	border-radius: 8px;  
}

/* Style for the right column (title + ACF fields) */
.project-item .project-content {
    width: 65%;  /* Content takes 65% width on desktop */
}

/* Responsive styles for smaller devices */
@media (max-width: 1024px) {
    .project-item .project-image {
        width: 40%; /* Slightly larger image on tablets */
    }

    .project-item .project-content {
        width: 55%; /* Smaller content on tablets */
    }
}

@media (max-width: 768px) {
    /* On tablets and smaller screens, stack the image and content vertically */
    .project-item {
        flex-direction: column;
        align-items: center;
    }

    .project-item .project-image,
    .project-item .project-content {
        width: 100%;  /* Full-width on mobile */
        max-width: none;
        margin-right: 0;
        margin-bottom: 20px;  /* Add space between image and content */
		padding-left: 0;
    }
	
    .project-item img {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    /* Adjust padding and font sizes for very small screens */
    .project-item {
        padding: 10px;
    }

    .project-item .project-content h2 {
        font-size: 1.5rem;  /* Reduce heading size */
		text-align: center;
    }
	
	.project-item .project-content p{
		text-align: justify;
	}

    .project-item ul li {
        font-size: 0.9rem;  /* Reduce list item size */
    }
}

form {
    margin-bottom: 20px;
    display: flex; /* This makes the input and button align side by side */
    align-items: center; /* Vertically aligns the button with the input */
}

input[type="text"] {
    padding: 10px;
    width: 80%; /* Adjust width as needed */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    margin-right: 10px; /* Adds some space between input and button */
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 100%; /* Make sure the button height matches the input field */
}

button[type="submit"]:hover {
    background-color: #005885;
}

.acf-data-table-wrapper {
    overflow-x: auto; /* Allow horizontal scrolling on small screens */
}

.acf-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

.acf-data-table th, .acf-data-table td {
    border: 1px solid #dddddd;
    padding: 12px;
}

.acf-data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.acf-data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.acf-data-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    .acf-data-table {
        font-size: 14px;
    }
}

