:root {
    --insectgreen: #28a745;
    --insectdarkgreen: #1d7a33;
}

.card {
    margin: 5px;
    padding: 5px;
    border: 2px solid green;
    background-color: lightgreen;
}

card img {
    border-radius: 5px;
}

.menu {
    list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,75 90,25 10,25" fill="green"/></svg>');
    margin: 0;
    padding: 1;
    width: max-content;
}

.dropdown-toggle.show {
    background-color: white;
    color: var(--bs-success) !important;
    border-width: 1px !important;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border: var(--bs-dropdown-border-width);
}

.dropdown-menu {
    padding-right: 10px;
    margin-top: 0px !important;
    border-top: 0px !important;
    border-left: 0px !important;
    border-top-left-radius: 0px !important;
    padding-left: 11px;
}

.page-content {
    justify-content: center;
    overflow-clip: hidden;
}

.animal-infomration {
    background-color: rgba(243, 255, 229, 0.7);
}

body.page-template-Speciesinformation {
    border: 0px solid #ddd;
    margin: 0;
    padding: 0;
}

.background-wrapper {
    position: fixed; /* Ensures it covers the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Places it behind other content */
    background-image: url("./src/assets/images/background_green_leafs.png");
    /*background-image: url("./src/assets/images/background_image_maple.png");*/
    background-size: cover; /* Ensures the image covers the entire area */
    background-repeat: no-repeat;
    background-position: center;

}

.title-success {
    background-color: #28a745;
    color: #000;
    padding: 10px;
    border-radius: 5px;
}

.title-success.content-header {
    margin-left: -12px;
    margin-right: -12px;
}

.section {
    word-wrap: break-word
}

.section-image {
    display: grid;
    justify-content: center;
    padding:10px;
}

.allobates-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.allobates-table th, .allobates-table td {
    padding: 7px;
    border: 1px solid #ddd;
    background-color: #f4f4f4;
}

.allobates-table th {
    background-color: #f4f4f4;
    color: #333;
}

.allobates-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.allobates-table a {
    color: #3498db;

    * {
        caret-color: transparent; /* This will stop the cursor from appearing */
    }

}

.allobates-table a:hover {
    text-decoration: underline;
}

* {
    caret-color: transparent; /* This will stop the cursor from appearing */
}

.soortfotoscarousel .wpcp-single-item {
    background-color: #28a745;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.soortfotoscarousel .wpcp-single-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.soortfotoscarousel .wpcp-single-item img.wcp-light-box {
    border-radius: 10px;
    width: 100%;
    height: auto;
    max-width: 300px; /* Set a max-width to ensure all images are the same size */
    display: block;
    margin-bottom: 10px;
}

.soortfotoscarousel .wpcp-single-item.wpcp-all-captions {
    color: #000; /* Dark text color */
    font-size: 1.1em;
    line-height: 1.5;
    width: 100%;
    max-width: 300px; /* Ensure text container matches image size */
}

.hiddenImageModal {
    display: none;
}

.imageModalPlaceholder {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

.imageModalPlaceholder.shownImageModal {
    display: flex; /* Show the modal */
}

.imageModalPlaceholder img {
    max-width: 100%; /* Responsive image */
    max-height: 100%; /* Responsive image */
}
