body {
    font-family: 'Arial', sans-serif;

}

.visualization {
    margin: 5px 5px 0 5px;
}


.axis path,
.axis line {
    fill: none;
    stroke: #333;
    shape-rendering: crispEdges;
}

.axis text {
    font-size: 12px;
}

/* Style for slider labels */
.slider-label {
    font-size: 12px;
    text-anchor: middle;
}

.slider-axis path,
.slider-axis line {
    fill: none;
    stroke: #ddd;
    shape-rendering: crispEdges;
}

.slider-axis text {
    font-size: 10px;
    fill: #777;
}

.lower-axis path,
.lower-axis line {
    fill: none;
    stroke: #ddd;
    shape-rendering: crispEdges;
}

.lower-axis text {
    font-size: 16px;
    fill: #777;
}

.slider-axis text {
    font-size: 16px;
}

.x-axis {
    font-size: 16px;
}

/* Style for the dynamic background rectangle */
.background-rect {
    fill: #f2f2f2;
    opacity: 0.8; /* Adjusted opacity for visibility */
}

/* Style for the slider handles */
.slider-handle-group,
.slider-handle-group-B {
    fill: #007BFF;
    cursor: pointer;
}

.slider-handle-line {
    stroke: #007BFF;
    stroke-width: 2;
}

.slider-display {
    font-size: 10px;
    fill: #000;
    text-anchor: middle;
}

.vertical-divider {
    stroke: #999;
    stroke-width: 1;
}

.alphabet-label,
.alphabet-label-B {
    font-size: 14px; /* Adjust the font size as needed */
    fill: #000;
    text-anchor: middle;
}

.horizontal-line {
    stroke: #999;
    stroke-width: 1;
}

.additional-slider-tick text {
    display: none;
}

.special-axis path,
.special-axis line {
    fill: none;
    stroke: #FF0000; /* Adjust the color as needed */
    shape-rendering: crispEdges;
}

.special-axis text {
    font-size: 10px;
    fill: #FF0000; /* Adjust the color as needed */
}

.notification {
    padding: 10px;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #000;
    width: 500px;
    max-height: 200px; /* Set maximum height for the notification box */
    overflow-y: auto; /* Add a vertical scroll bar when content overflows */
}

.notification-title {
    width: 500px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
    font-size: 1.25em;
}


.notification-box {
    display: flex;
    position: relative; /* Add relative positioning to the notification box */
    border: 1px solid #f00;
    padding: 10px;
    padding-left: 0px;
    gap: 10px;
    margin-bottom: 5px;
}

.close-icon {
    cursor: pointer;
    position: absolute; /* Position the close icon absolutely */
    top: 5px; /* Adjust the top position as needed */
    right: 5px; /* Adjust the right position as needed */
    font-size: 15px;
    color: #000;
}


body {
    transition: background-color 0.5s ease;
}

.dark-mode {
    background-color: #222;
    color: #fff;
}

.search-form {
    margin: auto;
    padding-top: 50px;
}

.form-container {

    margin: auto;
    padding-top: 50px;
}

.container {

}

.input-group .form-select {
    flex: 0 0 auto;
    /* width: 180px; */
}


.disabled-search {
    opacity: 0.5; /* Makes the container appear disabled */
    pointer-events: none; /* Prevents interaction with disabled elements */
}

.disabled-search .form-control,
.disabled-search .form-select {
    background-color: #e9ecef; /* Change background to indicate disabled state */
}


.results-container {
    margin-top: 30px;
}

.table-bordered {
    border: 1px solid #dee2e6; /* Border around the table */
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6; /* Border around table cells */
}

.table {
    table-layout: fixed;
}

.table th,
.table td {
    align-items: center;
    align-content: center;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative; /* Required for tooltips */
}

@media (max-width: 1200px) {
    .table-responsive {
        overflow-x: auto;
    }

    .table th,
    .table td {
        overflow: hidden;
        text-overflow: ellipsis;

        white-space: nowrap;
        max-width: none;
        word-wrap: break-word;
    }
}

.bi-info-circle {
    color: #007bff;
    margin-left: 5px;
    cursor: pointer;
}

.bi-info-circle:hover {
    color: #0056b3;
}

.graph-div {
    border: 1px solid #ccc;
    /*  padding: 16px;
      margin-top: 10px;
      position: relative;
      width: 45%; *//* Default to full width for smaller screens */

    text-align: center; /* Center-align content inside */
}

.oops {


}

/* Ensure the image does not exceed the div’s width */
/*
.graph-div img {
  display: inline-block;
  max-width: 95%;
   height: auto;
}

*/
.close-btn {
    position: relative;
    top: 8px;
    right: 8px;
    cursor: pointer;
    font-weight: bold;
}

.hidden {
    display: none;
}

#graphDivsContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* For very large screens (side-by-side layout) */

@media (min-width: 1800px) {
    #graphDivsContainer {
        flex-direction: row;
    }

}

/*
.container {
    margin: 10px;
}
*/


#jsmolgraphic {
    margin-top: 10px;
}

#Allbuttons {
    margin-top: 10px;
}

.visualization-legend-div {
     padding: 1px 0 1px 11px;
}



/*
        .variant-container {
            justify-content: center;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            width: 100%;
            align-items: center;
        }

        .filter-by-impact-legend {
            width: 80%;
        }

        .interface-variants-filter-legend {
            justify-content: left;
        }


#notification-box-A, #notification-box-B {
    margin-left: 32px;
}

#notification-box-A, #notification-box-B {
    margin-top: 10px;
}
*/

h1 {
    font-size: 25px;

}

h2 {
    font-size: 18px;
}

a {
    text-decoration: none;
    font-size: 28px;
}

/*
        #fixedwidthimpacts {
            max-width: 220px;
        }
*/
#colorpalette {
    background-color: #D3D3D3;
    color: #333333;
}

@media (max-width: 1650px) {
    #jsmolgraphic {
        width: 600px; /* Adjust to your needs */
        height: 550px; /* Adjust to your needs */
        overflow: hidden;
        position: relative;
    }
}

@media (min-width: 1650px) and (max-width: 1750px) {
    #jsmolgraphic {
        width: 500px; /* Adjust to your needs */
        height: 475px; /* Adjust to your needs */
        overflow: hidden;
        position: relative;
    }
}

@media (min-width: 1751px) and (max-width: 2400px) {
    #jsmolgraphic {
        width: 600px; /* Adjust to your needs */
        height: 550px; /* Adjust to your needs */
        overflow: hidden;
        position: relative;
    }

}

@media (min-width: 2401px) and  (max-width: 3500px) {
    #jsmolgraphic {
        width: 800px; /* Adjust to your needs */
        height: 688px; /* Adjust to your needs */
        overflow: hidden;
        position: relative;
    }

}

@media (min-width: 3501px) {
    #jsmolgraphic {
        width: 1000px; /* Adjust to your needs */
        height: 917px; /* Adjust to your needs */
        overflow: hidden;
        position: relative;
    }

}

#jsmolgraphic > div {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
}

td {
    padding-right: 20px;
}


.structuredetails th,
.structuredetails td {
    border: 1px solid black;
    width: auto;
    padding: 5px;
    margin: 0;
}

.structuredetails {
    font-size: 14px;
}


.details-of-structure-text {
    font-size: 14px;
    text-align: center;
}


h1 {
    margin-bottom: 0;
}