/* Tooltip styling */   
div.tooltip {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    position: fixed;
    max-width: 200px;
    font-size: 20px;
    
    /* Not displaying this because hover text is instead appearing directly on page as HTML */
    display:none !important;
    opacity:0 !important;
}

.ttFuncMapRect {
    width: 15px;
    height: 15px;
    display: inline-block;
    
    /*border: 1px solid #333;*/
}

.ttFuncRect {
    width: 15px;
    height: 15px;
    display: inline-block;
    
    /*border: 1px solid #333;*/
}

.tableContainer {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: auto;
}

.titles {
    font-size: 18px;
}

svg .tick text {
    font-size: 14px;
}

.hoverTextDiv {
    /*background-color: #eaebed;*/
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 10px 15px;
}

.boldInnerHoverText {
    font-weight: bold;
}

.hoverFootnote {
    font-size: 16px;
}


/* Make tab navigation menu display nicer, always in one row */
nav .list-inline {
    display: flex;
    align-items: stretch;
}

nav .list-inline li a {
    height:100%;
}

/* Align data source to right (NO LONGER) */
.dataSource {
    /*float: right;*/
    font-size: 16px;
}

/* Style the hover texts (and footnotes) appropriately */
.hoverTextArea {
    font-size: 18px;
    line-height: 1.7em;
    margin: 15px 0px;
    padding-bottom: 15px;
}

.hoverFootnote {
    font-size: 16px;
    margin-top: 16px;
    display: block;
}

@media (min-width: 992px) {
    .hoverTextAreaSide {
        margin: 30px 0px 15px;
    }
}

/* Style all dropdowns in titles as desired */
.titleDD {
    margin-top: 2px;
    max-width: 320px;
    text-overflow: ellipsis;
}


/* Style fig data download button, aligning right */
.figDataDownloadDiv {
    float: right;
    margin-bottom: 10px;
}
.figDataDownloadBtn {
    color: #fff!important;
}

.figDataDownloadDiv {
    margin-top: 35px;
}


/* New version of download panels, after new re-styling, now with flex box instead of col-sm-4... */
/* Re-styling the download tiles at the bottom of the page, as desired */
#downloadPanels .innerPanel {
    padding: 10px 10px;
    background-color: #e1e4e7;
    color: #333;
    text-align: center;
    border-radius: 5px;
}

.downloadPanel a {
    color: #333;
}

.downloadPanel a:hover {
    color: #295376;
}

#downloadPanelsEqHtContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 10px
}

#downloadPanels .downloadPanel {
    flex: auto;
}


/* Set fixed height for pie graph hovertext */
@media (min-width:1200px) {
    .horizontalHoverText {
        min-height: 80px;
    }
}

@media (min-width:768px) {
    .horizontalHoverText {
        min-height: 110px;
    }
}

@media (max-width:767px) {
    .horizontalHoverText {
        min-height: 140px;
    }
}


/* Table styling! */
.tdTable th {
    color: white;
    background-color: #335075;
}
.tdTable th.sorting_asc, .tdTable th.sorting_desc {
    background-color: #0B305E !important;
    color: white !important;
}
