/*

Theme Name:   Custom Theme

Description:  Custom Theme ist ein Child-Theme von Hello Elementor.

Author:       Gawin Steiner

Author URL:   https://gawinsteiner.ch

Template:     hello-elementor

Version:      1.0

Text Domain:  theme-by-gawin

*/



/*******************************************************************************************************************************

BIG COMMENT

*******************************************************************************************************************************/
#stones-list-container .pagination {
    justify-content: center;
    column-gap: 10px;
}

.stones-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
}

.card-header {
    height: 300px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    border-radius: 20px 20px 0px 0px !important;
}
.card-video {
	border-radius: 20px 20px 0px 0px;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.card-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* Ensures the video covers the area, similar to background-size: cover */
}




.stone-item.card-view {
	width: 100%;
	box-shadow: 0px 0px 10px 0px #eeeeee;
	background: #fff;
	border-radius: 30px;
}
@media (min-width: 768px) {
	.stone-item.card-view {
		width: calc(50% - 10px);
	}
}
@media (min-width: 1025px) {
	.stone-item.card-view {
		width: calc(33.33% - 14px);
	}
}


.card-content {
    padding: 20px 30px;
    min-height: 450px;
    display: flex;
    flex-direction: column; /* Ensure vertical layout */
    justify-content: flex-start;
    align-items: flex-start; /* Prevent stretching */
    gap: 10px; /* Prevent gaps between inner elements */
}

.card-footer {
    text-align: center;
    border-top: 1px solid #cecece;
    padding-top: 10px;
    width: 100%;
    margin-top: auto; /* Pushes footer to the bottom */
}

.card-content h1, 
.card-content h2, 
.card-content h3, 
.card-content h4, 
.card-content h5, 
.card-content h6, 
.card-content div {
	width: 100%;
}

.card-content h5 {
    min-height: 3em;
}




.card-footer a {
	color: #000;
	font-size: 0.8em;
}

input#stones-search-input {
    margin-bottom: 30px;
}

div.download-csv {
    display: block;
    text-align: center;
    border-top: 1px solid #b3b3b3;
    padding-top: 10px;
    margin-top: 40px;
}

div.download-csv a {
	color: #000;
}

button.pagination-button {
    color: #000;
    border-color: #000;
}
button.pagination-button.active,
button.pagination-button:hover {
        background: #00a4ff;
    color: #fff;
    border-color: #fff;
}

#loginform label {
  margin-bottom: 5px;
}
/**************************************************************************

MEDIUM COMMENT

**************************************************************************/

.card-content {
    line-height: 1.15em;
}