html {
    scroll-behavior: smooth;
}
body {
    padding-top: 0px;
}
p:last-child {
    margin-bottom: 0;
}

a {
    color: #004685;
    font-weight: 700;
    line-height: 30px;
    text-decoration: underline;
}

.navigator {
    background-color:#032a54;
}

header .banner-section {
    padding: 35px 0;
    background-repeat: no-repeat;
    background-size: cover;
}
header .banner-section__content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 5%;
    align-items: center;
}
header .banner-section__content .section-image {
    max-width: 133px;
    width: 25%;
}
header .banner-section__content .section-content {
    max-width: 700px;
    width: 70%;
}
header .banner-section h1{
    color: #FFF;
    line-height: 56px;
    margin: 0 auto;
}
#welcome {
    position: relative;
}
#map {
    width:100%;
    height:800px;
}

.leaflet-control-layers {
    background: rgba(255, 255, 255, 0.95) none repeat scroll 0 0;
    border: medium none;
    border-radius: 0 0 0 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    color: #333;
    font-size: 16px;
    padding: 6px 10px 6px 6px;
}

.leaflet-right .leaflet-control,
.leaflet-top .leaflet-control {
    margin: 0;
}

.leaflet-top.leaflet-left .leaflet-control {
    margin: 70px 0 0 40px;
}

.leaflet-top.leaflet-left .leaflet-control.leaflet-bar a,
.leaflet-top.leaflet-left .leaflet-control.leaflet-bar a:hover {
    height: 36px;
    width: 36px;
    line-height: 36px;
}

.leaflet-right.leaflet-top .leaflet-control {
    overflow: hidden;
    padding: 0;
    border-radius: 10px 0px 0px 10px;
    background: #FFF;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
    max-width: 190px;
    width: 100%;
}

.leaflet-control-layers .leaflet-control-layers-list {
    display: block;
    padding: 0 15px 15px;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
    display: block;
}

.leaflet-right .leaflet-control-layers-toggle {
    display: block;
    cursor: text;
    height: auto;
    background: #004685;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    padding: 20px;
    width: 100%;
    text-decoration: none;
}

.leaflet-control-layers-toggle:hover {
    text-decoration: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
    display: block;
}

.leaflet-control input[type="checkbox"] {
    display: none;
}

.leaflet-control input[type="checkbox"] + span {
    cursor: pointer;
}

.leaflet-control input[type="checkbox"] + span span {
    color: #ccc;
    font-weight: normal;
    display: block;
    font-size: 14px;
    line-height: 17px;
    background-size: 36px 31px;
    background-position: center left;
    background-repeat: no-repeat;
    padding: 15px 0 15px;
    padding-left: 45px;
}

.leaflet-control input[type="checkbox"]:checked + span span {
    color: #000A12;
}

.leaflet-top.leaflet-right {
    top: 150px
}


.leaflet-control input[type="checkbox"] + span:hover span,
.leaflet-control input[type="checkbox"]:checked + span:hover span {
    text-decoration: underline;
}


.leaflet-control input[type="checkbox"] + span span.fatal-crash-label {
    background-image: url(../images/toggle-map-marker-red.svg);
}
.leaflet-control input[type="checkbox"] + span span.drunk-driver-label {
    background-image: url(../images/toggle-map-marker-orange.svg);
}
.leaflet-control input[type="checkbox"] + span span.distracted-driver-label {
    background-image: url(../images/toggle-map-marker-blue.svg);
}

.leaflet-control-layers label {
    margin: 0;
}

.leaflet-control-layers label + label {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.year-nav {
    position: absolute;
    z-index: 10001;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.contributing-factors .tabbed-tabs,
.year-nav {
    border-radius: 0px 0px 10px 10px;
    background: #FFF;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 1180px;
    width: 100%;
}
.contributing-factors ul,
.year-nav ul {
    margin: 0 auto;
    width: 100%;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 5px 9px;
}
.contributing-factors ul li,
.year-nav ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    max-width: 185px;
    width: 100%;
    text-align: center;
}
.contributing-factors ul li a,
.year-nav ul li a,
.contributing-factors ul li span,
.year-nav ul li span {
    display: block;
    padding: 10px 20px;
    font-weight: bold;
    color: #01294E;
    font-family: Raleway;
    font-size: 22px;
    line-height: 30px;
    text-decoration: none;
    position: relative;
}
.contributing-factors ul li a.active,
.year-nav ul li a.active,
.contributing-factors ul li a:hover,
.year-nav ul li a:hover {
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    background: #991F36;
}

.contributing-factors ul li span::before,
.year-nav ul li span::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 50%;
    transform: translateY(50%);
    width: 25px;
    height: 25px;
    background: url(../images/icons/icon-calendar.svg) center / contain no-repeat;
}


#map-count {
    color: #999;
    font-size: 18px;
    font-weight: 900;
    line-height: 20px;
    position: absolute;
    text-align: center;
    width: 150px;
    z-index: 1001;
    max-width: 170px;
    width: 100%;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
    padding: 0;
    right: 13%;
    bottom: 18%;
    height: auto;
}
#map-count .map-count__title {
    color: #FFF;
    font-weight: 700;
    padding: 10px;
    background-color: #991F36;
}
#map-count .map-count__number {
    color: #991F36;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
    padding: 10px 10px 20px;
}

.panel-jump li a {
    background-position: 0 12px;
    padding: 9px 0 9px 15px;
    line-height: 19px;
}

.d3-tip,
.leaflet-popup-content-wrapper {
    line-height: 1;
    font-weight: bold;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
    box-shadow: none;
}

.leaflet-popup-tip {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: none;
}

.leaflet-popup-content {
    margin: 5px;
    font-size: 13px;
    font-family: "proxima_novalight",Helvetica,Arial,sans-serif;
}

.leaflet-popup-content strong {
    font-family: "proxima_novasemibold",Helvetica,Arial,sans-serif;
    font-size: 15px;
}

.leaflet-popup-content ul {
    padding-left: 20px;
}
.leaflet-container .leaflet-control-attribution {
    opacity: 0;
}

.page-interactive-map-tx .section-1 {
    padding-bottom: 50px;
}
.page-interactive-map-tx .section-1 .section-wrap {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    max-width: 1376px;
    margin: 0 auto;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-top: -40px;
    position: relative;
    z-index: 9999;
}
.page-interactive-map-tx .section-1 .section-image {
    max-width: 535px;
    width: 40.3%;
    position: relative;
}
.page-interactive-map-tx .section-1 .section-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}
.page-interactive-map-tx .section-1 .section-content {
    max-width: 841px;
    width: 59.7%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-interactive-map-tx .section-1 .section-content .content-inner {
    max-width: 650px;
    margin: auto;
}

.page-interactive-map-tx .section-1 .link-items__wrap {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 15px;
    border: 1px solid #CECECE;
    background: #FFF;
    max-width: 470px;
    width: 88%;
    padding: 15px 30px;
}
.page-interactive-map-tx .section-1 .link-items__wrap a {
    position: relative;
    display: block;
    text-decoration: none;
}
.page-interactive-map-tx .section-1 .link-items__wrap a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    width: 22px;
    aspect-ratio: 1;
    background: url(../images/arrows/arrow-circle-red.svg) center / contain no-repeat;
    filter: drop-shadow(0px 5px 17px rgba(0, 0, 0, 0.20));
}

.link-items__title {
    color: #01294E;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
}
.page-interactive-map-tx .section-1 .link-items__title {
    margin-bottom: 10px;
}
.page-interactive-map-tx .section-1 .link-items li {
    padding: 0 5px;
}
.page-interactive-map-tx .section-1 .link-items li + li {
    border-top: 1px solid #00000026;
}

.page-interactive-map-tx .section-2 {
    padding-bottom: 200px;
    background-position: bottom;
    background-repeat: no-repeat;
}
.page-interactive-map-tx .section-2 .section-content {
    max-width: 1170px;
    margin: 0 auto;
}
.page-interactive-map-tx .section-2 .section-content h2 {
    text-align: center;
}

.contributing-factors {
    margin-top: 50px;
}
.contributing-factors .tabbed {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.87);
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
}
.contributing-factors .tabbed-tabs {
    margin: 0 auto 35px;
}
.contributing-factors .tabbed-contents {
    padding: 0 40px 40px;
}
.contributing-factors .tabbed-contents__item {
    max-width: 1259px;
    width: 100%;
    margin: 0 auto;
    transition: opacity 1s;
    opacity: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
}
.contributing-factors .tabbed-contents__item.active {
    opacity: 1;
    max-height: 1000000vh;
}
.contributing-factors p {
    color: #000A12;
    text-align: center;
    font-weight: 500;
    margin: 0 auto 35px;
    width: 90%;
}
.contributing-factors .tabbed-contents__item table {
    width: 100%;
    border-collapse: unset;
    border-spacing: 0px;
}

table tr td {
    border: 1px solid rgba(0, 0, 0, 0.20);
    color: #000A12;
    font-weight: 500;
    padding: 7px 30px;
}
table tr + tr td {
    border-top: 0;
}
table tr td + td {
    border-left: 0;
    text-align: center;
}
table tr:first-child td {
    color: #01294E;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}
table tr:first-child td:first-child {
    border-top-left-radius: 5px;
}
table tr:first-child td:last-child {
    border-top-right-radius: 5px;
}
table tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}
table tr:last-child td:last-child {
    border-bottom-right-radius: 5px;

}

.resources-section .section-content {
    background: url(../images/abstract-banner.jpg) center / cover no-repeat;
    max-width: 1170px;
    margin: -70px auto 60px;
    padding: 75px 30px 50px;
}
.resources-section .section-content .content-wrap {
    text-align: center;
    max-width: 1027px;
    margin: 0 auto;
    background-color: #01294E;
    padding: 80px 30px 60px;
    position: relative;
}
.resources-section .section-content .image-wrap {
    position: absolute;
    top: -38px;
    right: 50%;
    transform: translateX(50%);
}
.resources-section .section-content .content-wrap p {
    color: #F5F5F5;
    max-width: 845px;
    margin-inline: auto;
}
.resources-section .section-content .content-wrap a {
    color: #F5F5F5;
}
.resources-section .section-list {
    max-width: 756px;
    margin: 0 auto 20px;
    background-color: #EEEEEE;
    padding: 25px 30px;
    border-radius: 10px;
}
.resources-section .section-list > ul {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
.resources-section .section-list > ul >li {
    padding-left: 52px;
}
.resources-section .section-list .link-items__title {
    position: relative;
    margin-bottom: 10px;
}
.resources-section .section-list .link-items__title::before {
    content: '';
    position: absolute;
    width: 30px;
    aspect-ratio: 1;
    left: -45px;
    top: 0;
    background: url(../images/icons/icon-info-circle-blue.svg) center / contain no-repeat;
}

.to-top {
    padding: 40px 0 50px;
    text-align: center;
}

a.but-to-top {
    position: relative;
    display: inline-block;
    color: #003a6c;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    height: 17px;
    padding: 3px 20px 3px 0;
    text-decoration: none;
}

a.but-to-top::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 50%;
    width: 11px;
    height: 17px;
    background: url(../images/ico-totop.png) center/ contain no-repeat;
}

footer .navigation {
    background: #00294e;
    padding: 20px 0;
}

/* RESPONSIVE */
@media (max-width: 1199px) {

    .contributing-factors .tabbed-tabs {
        width: 95%;
    }
    .year-nav {
        width: 90%;
    }

    .contributing-factors ul li, .year-nav ul li {
        max-width: 135px;
    }

    .contributing-factors ul li a, .year-nav ul li a, .contributing-factors ul li span, .year-nav ul li span {
        font-size: 18px;
        padding: 10px;
    }
    .contributing-factors ul li span,
    .year-nav ul li span {
        padding-left: 20px;
    }

    .contributing-factors ul li span::before,
    .year-nav ul li span::before {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 991px) {
    .contributing-factors ul li + li {
        max-width: max-content;
    }
    .contributing-factors ul li li a {
        padding: 10px 20px;
    }
}

@media (max-width: 919px) {
    .contributing-factors ul li, .year-nav ul li {
        max-width: max-content;
    }
    .contributing-factors ul li a, .year-nav ul li a {
        padding: 10px 15px;
    }
    .page-interactive-map-tx .section-1 .section-wrap {
        max-width: 535px;
        row-gap: 18px;
    }
    .page-interactive-map-tx .section-1 .section-image {
        width: 100%;
        max-width: unset;
    }
    .page-interactive-map-tx .section-1 .section-content {
        width: 100%;
        padding: 20px 30px 40px;
    }
}


@media (max-width: 767px) {
    header .banner-section h1 {
        font-size: 28px;
        line-height: 35px;
    }
    header .banner-section__content .section-image {
        width: 15%;
    }
    h2 {
        font-size: 25px;
        line-height: 35px;
    }
    p {
        font-size: 17px;
        line-height: 27px;
    }
    .leaflet-control-layers .leaflet-control-layers-list {
        display: none;
    }
    .leaflet-control-layers-expanded .leaflet-control-layers-list {
        display: block;
    }
    .leaflet-control-layers-toggle {
        margin:0 !important;
        width: auto !important;
        cursor: pointer;
        background-position: 100% 6px;
    }
    table tr td {
        padding: 7px 10px;
        font-size: 15px;
    }
    table tr:first-child td {
        font-size: 15px;
    }
    .contributing-factors .tabbed-tabs {
        width: 95%;
    }
    .page-interactive-map-tx .section-2 {
        padding-bottom: 125px;
    }
}

@media (max-width: 758px) {
    .contributing-factors .tabbed-tabs,
    .year-nav {
        width: 97%;
    }
}

@media (max-width: 538px) {
    header .banner-section__content {
        justify-content: center;
        flex-direction: column;
    }
    header .banner-section__content .section-content {
        width: 100%;
        text-align: center;
        max-width: 320px;
    }
    header .banner-section h1 {
        font-size: 25px;
    }
    .year-nav ul li:first-of-type,
    .contributing-factors ul li:first-of-type {
        width: 100%;
        max-width: unset;
    }
    .year-nav ul li a,
    .contributing-factors ul li a {
        padding: 5px 10px;
    }
    .contributing-factors .tabbed-contents {
        padding: 0 10px 40px;
    }
    .contributing-factors ul li span, .year-nav ul li span {
        width: fit-content;
        margin: 0 auto;
    }
    .leaflet-top.leaflet-left .leaflet-control {
        margin: 143px 0 0 5px;
    }
    #map-count {
        right: 10px;
        bottom: 60px;
    }
}