.patchzoom {
    padding: 1px;
    /*background-color: green;*/
    transition: transform .2s;
    /* Animation */
    /*width: 200px;*/
    /*height: 200px;*/
    margin: 0 auto;
}

.patchzoom:hover {
    transform: scale(1.5);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.genesearchhidden-column {
    display: none;
}
.divcontainer1_outer {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divcontainer1 {
    display: flex;
    text-align: center; 
    vertical-align: middle;
    background-color: Ivory;
    justify-content: space-between; /* Space between the two divs */
}
.divcontainer1 > div {
    box-sizing: border-box; /* Include padding in the width */
}

/* Style for the pop-up div */
.helppopup {
    display: none; /* Initially hidden */
    position: fixed; /* Stay in place */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    padding: 20px;
    background-color: white;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Ensure it's above other content */
}

/* Background overlay */
.helpoverlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Ensure it's below the pop-up but above other content */
}
.helpclose-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    float: right;
}


/* Style for the pop-up div */
.infopopup {
    display: none; /* Initially hidden */
    position: fixed; /* Stay in place */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background-color: white;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Ensure it's above other content */
}

/* Background overlay */
.infooverlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Ensure it's below the pop-up but above other content */
}
.infoclose-btn_bak {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    float: right;
}
.infoclose-btn {
    position: sticky; /* Stick the button inside the scrollable div */
    top: 10px; /* Adjust the top position as needed */
    right: 10px; /* Adjust the right position as needed */
    background-color: #007bff; /* Optional: add background color */
    color: white; /* Optional: add text color */
    border: none; /* Optional: remove border */
    padding: 10px 20px; /* Optional: add padding */
    cursor: pointer; /* Optional: change cursor to pointer */
    margin-left: calc(100% - 100px); /* Adjust margin to position correctly */
}




/* Style for the pop-up div */
.predictionpopup {
    display: none; /* Initially hidden */
    position: fixed; /* Stay in place */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background-color: white;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Ensure it's above other content */
}

/* Background overlay */
.predictionoverlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Ensure it's below the pop-up but above other content */
}
.predictionclose-btn_bak {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    float: right;
}
.predictionclose-btn {
    position: sticky; /* Stick the button inside the scrollable div */
    top: 10px; /* Adjust the top position as needed */
    right: 10px; /* Adjust the right position as needed */
    background-color: #007bff; /* Optional: add background color */
    color: white; /* Optional: add text color */
    border: none; /* Optional: remove border */
    padding: 10px 20px; /* Optional: add padding */
    cursor: pointer; /* Optional: change cursor to pointer */
    margin-left: calc(100% - 100px); /* Adjust margin to position correctly */
}
.abutton {
    font: bold 12px Arial;
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px 6px 2px 6px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
  }
.dictionary-table {
width: 100%; /* Make the table full width */
border-collapse: collapse; /* Collapse borders */
}
.dictionary-table, .dictionary-table th, .dictionary-table td {
border: 1px solid #ccc; /* Add border to the table and cells */
}
.dictionary-table th, .dictionary-table td {
padding: 8px; /* Add padding to cells */
text-align: left; /* Align text to the left */
}
.dictionary-table th {
background-color: #f2f2f2; /* Add a background color to the header */
}


.indexpagebutton {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #007BFF;
    transition: background-color 0.3s, border-color 0.3s;
    margin: 0 8px;
}

.indexpagebutton:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

table {
    border-collapse: collapse;
    border: 1px solid #FF0000;
    text-align: center;
}

table td {
    border: 1px solid #FF0000;
    vertical-align: middle;
    text-align: center;
}

.result_table_hidden {
    display: none;
}

.seadragon-viewer {
    display: inline-block;
    width: 24%;
    height: 300px;
}

.seadragon-viewer4 {
    display: inline-block;
    width: 24%;
    height: 300px;
    overflow: scroll;
}

.box {
    display: inline-block;
    height: 20px;
    width: 20px;
    border: 2px solid;
}

.img1 {
    /*display: inline;*/
    height: 48px;
    width: 48px;
    float: left;
    padding: 1px;
    margin: 0 auto;
    cursor: pointer;
}

/*.img1:hover {*/
/*    transform: scale(2.0); !* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) *!*/
/*}*/

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 12px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    animation: fadeEffect 1s;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#myProgress {
    width: 100%;
    background-color: grey;
}

#progressBar {
    width: 1%;
    height: 20px;
    background-color: rgb(47, 238, 47);
}

/* CSS for container */
.myuldiv-container {
    background-color: #FFFFFF;
}

/* CSS for list container */
.myul-container {
    display: flex; /* Use flexbox for layout */
    list-style-type: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    justify-content: center; /* Center items horizontally */
    background-color: #00314b;
}

/* CSS for list items */
.myul-container li {
    margin: 0 10px; /* Add some margin between list items */
    font-family: "Noto Sans", "Century Gothic", Arial, sans-serif;
    font-size: 24px; /* Set font size */
    color: #FFFFFF; /* Set text color */
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

/* CSS for list item hover effect */
.myul-container li:hover {
    background-color: #bbb; /* Change background color on hover */
}

.utility-background {
    background: #2a71a5;
    min-height: 29px;
}