/*
Theme Name: INHALTSSTOFF
Template: hello-elementor
Author: Inhaltsstoff GmbH
Version: 1.0
Description: Hier machen wir INHALTSSTOFF rein.
*/

/* Eigene Anpassungen hier */

table.custom-tabelle {
    text-align: center !important;
}


.custom-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.custom-tabelle th, 
.custom-tabelle td {
    border: 1px solid #ddd;
    padding: 10px;
}

.custom-tabelle th {
    background-color: #f4f4f4;
    font-weight: bold;
}
  
.custom-tabelle tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media screen and (max-width: 768px) {
    .custom-tabelle thead {
        display: none; /* Kopfzeile ausblenden */
    }

    .custom-tabelle, 
    .custom-tabelle tbody, 
    .custom-tabelle tr, 
    .custom-tabelle td {
        display: block;
        width: 100%;
    }

    .custom-tabelle tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .custom-tabelle td {
        text-align: left;
		font-size: 1.3em !important;
        padding: 8px;
        border: none;
        position: relative;
    }

    .custom-tabelle td::before {
        content: attr(data-label); /* Holt das Spalten-Label */
        font-weight: bold;
		       display: block;
        text-transform: uppercase;
        margin-bottom: 5px;
        color: #444;
    }
	
	tr {
    font-size: 1.3em;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #ffffff !important;
	}

	.custom-tabelle tr:nth-child(even) {
    background-color: #ffffff !important;
}
	
	
	.custom-tabelle tr:nth-child(even):hover {
    background-color: #ffffff !important;
}	

}
