/*tables*/
table.dataTable thead .sorting_asc {
    background-image: url(/src/img/sorting-icons/sort_asc.png)!important;
	padding-right: 15px;
}
table.dataTable thead .sorting_desc {
    background-image: url(/src/img/sorting-icons/sort_desc.png)!important;
	padding-right: 15px;
}
table.dataTable thead .sorting {
    background-image: url(/src/img/sorting-icons/sorting_both.png)!important;
	padding-right: 15px;
}
table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center right;
}
.sorting_asc, .sorting_desc {
    background-color: #103d65 !important;
}
.table-responsive {
    padding-right: 2px;
}
.dataTables_wrapper .dataTables_info:after {
    content: none !important;
}
/*tables end*/

/* From html style tag... */
.boxes {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    padding-left: 3px;
    padding-right: 3px;
    height: 10%;
    /* align-items: center;*/
    justify-content: center;
}

/* a instead of .anchor*/
/*style="vertical-align: top; min-height: 150px; min-width: 300px;"*/
.boxes .anchor,
.boxes .anchor:visited,
.boxes .anchor:focus {
    flex: 1 0 30%;
    display: flex;
    flex-wrap: wrap;
    border: 3px solid #ccc;
    border-radius: 10px;
    margin: 11px;
    text-decoration: none;
    color: black;
    justify-content: center;
}

.customAnchor {
    border: 3px solid #ccc;
    border-radius: 10px;
    margin: 10px;
}

.boxes a:hover {
    border: 3px solid #000;
    border-radius: 10px;
    box-shadow: 2px 2px;
}

.boxes .halfScreen,
.boxes .halfScreen:visited,
.boxes .halfScreen:focus {
    flex: 0 0 24%;
    display: flex;
    flex-wrap: wrap;
    border: 3px solid #ccc;
    border-radius: 10px;
    margin: 10px;
    text-decoration: none;
    color: black;
    justify-content: center;
}

.boxes .halfScreen:hover {
    border: 3px solid #000;
    border-radius: 10px;
    box-shadow: 2px 2px;
}

.innerBox {
    flex: 0 0 24%;
    /*border: 1px solid #ccc;*/
    /*border-radius: 10px;*/
    margin-left: 0px;
    margin-right: 3px;
    text-decoration: none;
    color: black;
    margin-bottom: 5px;
    justify-content: center;
}

.boxHeader {
    flex: 0 0 98%;
    margin: 5px;
    margin-top: 10px;
    color: black;
    text-wrap: balance;
}

.boxHeader-noBold {
    text-decoration: none;
    font-weight: normal;
    color: grey;
}

.boxes p {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.boxes p.h2 {
    font-size: 50px;
    margin-top: 5px;
}
/*boxes end*/

.legend-title {
    font-weight: bold;
}

.bar-label {
    font-size: 13px;
    fill: white;
    font-weight: bold;
}

.tick text {
    font-size: 13px;
}

caption {
    text-align: left;
}

.dotted {
    text-decoration: underline dotted;
}

/*#lineContainer .uncertainty line {*/
/*    stroke-width: 2px;*/
/*}*/

#lineContainer .point, #lineLegend path {
    opacity: 0 !important;
}

div.tooltip {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    position: fixed;
    max-width: 200px;
}

/* Key findings cards */
.test-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 10px;
}

.test-box-column {
    flex: 1 1 300px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.test-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: #1f4f79;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    font-size: 20px;
    min-height: 35px;
}

.test-box-title svg {
    fill: #1f4f79;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.test-box-primary,
.test-box-secondary {
    border: 1px solid #dbe4ef;
    background: #f8fbff;
}

.test-box-primary {
    padding: 18px 16px 14px;
    margin-bottom: 6px;
    text-align: center;
    min-height: 162px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.test-box-label {
    margin: 0;
    font-size: 18px;
    color: #687688;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 0.05em;
}

.test-box-value {
    margin: 6px 0 0;
    font-size: 56px;
    line-height: 1.1;
    color: #154c79;
    font-weight: 700;
}

.test-box-bar {
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 12px;
    background: #e4ecf5;
}

.test-box-bar-fill {
    display: block;
    height: 100%;
    background: #1f5f96;
}

.test-box-subtitle {
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    /* color: #1f4f79; */
    color: #687688;
    margin-top: 10px;
    margin-bottom: 10px;
}

.test-box-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 6px;
    min-height: 86px;
}

.test-box-secondary p,
.test-box-footer p {
    margin: 0;
}

.test-box-secondary p:first-child {
    color: #374a5f;
    /* font-weight: 600; */
}

.test-box-secondary p:last-child {
    color: #214f7a;
    font-size: 40px;
    /* line-height: 1; */
    font-weight: 700;
    text-align: right;
}

.test-box-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 28px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
    margin-left: 4px;
    line-height: 1;
}

.test-box-trend svg {
    width: 0.7em;
    height: 0.7em;
    fill: currentColor;
    position: relative;
    top: -1px;
}

.test-box-secondary .test-box-trend {
    font-size: 0.5em;
}

.test-box-trend.up {
    color: #2d8a62;
}

.test-box-trend.down {
    color: #b14f51;
}

.test-box-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 3px;
    background: #e9f5ef;
    color: #2e7c52;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    /*transform: translateY(0px);*/
}

.test-box-secondary-clear {
    background: transparent;
}

@media all and (min-width: 1200px) {
    .test-box-primary {
        min-height: 168px;
    }

    .test-box-secondary {
        min-height: 102px;
    }
}

@media all and (max-width: 1199px) {
    .test-box-title:lang(fr) {
        min-height:75px;
    }

    .test-box-primary {
        min-height: 156px;
    }

    .test-box-secondary {
        min-height: 94px;
    }
}

@media all and (max-width: 991px) {
    .test-box-title {
        min-height: auto;
    }
    
    .test-box-primary {
        min-height: 148px;
    }

    .test-box-secondary {
        min-height: 88px;
    }
}

@media all and (max-width: 767px) {
    .test-box-primary {
        min-height: 0;
    }

    .test-box-secondary {
        min-height: 0;
    }
}

#lineLegend {
    margin-top: 5vw;
}
#lineLegend li {
        display: block !important;
    }

@media all and (max-width: 991px) {
    #lineLegend {
        margin-top: 0px;
    }
    
    #lineLegend li {
        display: inline-block !important;
    }
}