.panelMedium {
    display: flex;
    flex-wrap: nowrap;
    /*border-bottom: #bfbfbf 1px solid;*/
    margin-top: 8px;
    margin-bottom: 8px;
}

.panelMedium>div {
    max-width: 100%;
}

.mainIcon {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    flex: 0 0 20%;

}

tr.bg-primary {
    background-color: #2572b4;
}
th.sorting_asc, th.sorting_desc{
    background-color: #26374A !important;
    color: white !important;
}

.controlDiv {
    /*border: 2px solid #ccc;*/
    margin-bottom: -5px;
    left: 30px;
    background-color: white;
    padding: 10px;
    padding-top: 0;
    z-index: 1000;
    width: auto;
    height: auto;
    font-size: 1em;
    border-right: 4px solid #5B8FB3;
    margin-right: 25px;
}

h3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

/*figcaption {*/
/*        margin-left: 4em;*/
/*}*/

input[type=checkbox] {
    margin: 4px 6px 0 0 !important;
}

#controlContainer {
    padding-top: 0;
    margin-bottom: 80px;
    position: sticky;
    top: 15px;
    /*border: 2px solid #ccc;*/
}

.checkboxContainer div label {
    font-weight: 200;
}

#etiologicAgentLabel {
    margin-top: 15px;
}

#causeOfIllnessHeader {
    margin-top: 10px;
}


#viz-container {
    display: grid;
    grid-template-columns: 2fr 8fr;
    gap: 0px;
    /* Optional: add some space between columns */
    padding: 0px;
}

.tooltip {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    position: fixed;
    max-width: 300px;
    font-size: 20px;
    pointer-events: none; /* Prevents tooltip from interfering with mouse events */
}


.alert-info {
    border-color: #5B8FB3;
    -o-border-image: linear-gradient(to bottom, #5B8FB3 16px, #5B8FB3 16px, transparent 16px, transparent 48px, #5B8FB3 48px, #5B8FB3 48px) 1 100%;
    border-image: linear-gradient(to bottom, #5B8FB3 16px, #5B8FB3 16px, transparent 16px, transparent 48px, #5B8FB3 48px, #5B8FB3 48px) 1 100%;
}

.alert-info::before {
    color: #5B8FB3;
    content: "";
}

.ttFuncMapRect {
    /*padding: 5px;*/
    width: 15px;
    height: 15px;
    display: inline-block;
}


#fig2-table-parent {
    margin-left: 30px;
}

.checkbox-container {
    margin: auto;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px;
    accent-color: #5B8FB3;
    flex-shrink: 0;
}

.checkbox-container label {
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
}

/* Specific styling for food checkboxes with long text */
#food1Checkboxes .checkbox-container:has(input[value*="Légumineuse"]) {
    /* align-items: flex-start; */
    min-height: 40px;
}

#food1Checkboxes .checkbox-container:has(input[value*="Légumineuse"]) label {
    line-height: 1.2;
    padding-top: 2px;
    word-wrap: break-word;
    max-width: calc(100% - 28px);
}

#food1Label {
    margin-top: 12px !important;
}

#yearDropdown > label {
    margin-top: 12px !important;
}


.tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    /*padding: 20px;*/
}

.tile {
    background-color: #f9f9f9;
    border: 3px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex: 1 1 30%;
    max-width: 30%;
    box-sizing: border-box;
    min-height: 175px;
    transition: border 0.3s ease;
}

.tile:hover {
    border: 3px solid black;
}

.tile label {
    min-height: 66px;
    font-size: 22px;
}

.tile.full-width {
    margin-top: 20px;
    flex: 1 1 45%;
    max-width: 47%;
}

.tileNumber {
    font-size: 34px;

}

#sunBarSvg > g.legend > g > text {
    font-size:20px;
}

#sunBarSvg > g.bars > g > rect.val0 {
    fill-opacity:0.8;
}
#sunBarSvg > g.bars > g > rect.val1 {
    fill-opacity:0.6;
}
#sunBarSvg > g.bars > g > rect.val2 {
    fill-opacity:0.4;
}

#sunBarSvg > g.legend > g > circle.val0 {
    fill-opacity:0.8;
}
#sunBarSvg > g.legend > g > circle.val1 {
    fill-opacity:0.6;
}
#sunBarSvg > g.legend > g > circle.val2 {
    fill-opacity:0.4;
}

#notesDiv {
    margin-bottom: 50px;
}

/*.tile h2 {*/
/*    margin: 0;*/
/*    font-size: 1em;*/
/*    color: #555;*/
/*}*/


.node {
    cursor: pointer;
}

.node:hover {
    stroke: #000;
    stroke-width: 1.5px;
}

.node--leaf {
    fill: white;
}

.label {
    font: 10px sans-serif;
    text-anchor: middle;
}

.label,
.node--root,
.node--leaf {
    pointer-events: none;
}

.legend {
    font-family: Arial, sans-serif;
    font-size: 12px;
}


#sunBarSvg > .axes > g > g > text {
    font-size: 24px;
}

/*#sunBarSvg > .axes > g > g > text > tspan {*/
/*    font-size: 24px;*/
/*}*/
#sunBarSvg > g.titles > text.graph-title > tspan {
    font-size:30px;
}


@media only screen and (max-width: 1024px) {
    .controlDiv {
        font-size: 0.7em;
        width: auto;
    }

}


@media only screen and (max-width: 768px) {
    .controlDiv {
        font-size: 0.5em;
        width: auto;
    }
}
