table thead,
table tbody,
table tfoot,
table tbody tr:nth-child(odd),
table tbody tr:nth-child(even) {
    background: transparent;
}

table {
    width: auto;
}

hr {
    max-width: 100%;
    margin: .5em auto;
}
/********************

Base styles

*********************/
html,
body,
#exploratory-map,
#encyclopedia-map {
    font-size: 16px;
    color: #000;
    margin: 0;
    width: 100%;
    height: 100%;
}

.header-section
body,
#exploratory-map,
#encyclopedia-map {
    font-family: 'Helvetica Neue', Arial, Sans-serif;
}

/***************************
  Focus
***************************/
:focus,
a:focus,
input:focus {
    outline: 3px solid #89b9ea;
}

/***************************
  Links
***************************/
a {
    color: #0555a4;
    text-decoration: underline;
}

/***************************
  Input
***************************/
input {
    border: 1px solid #000;
    font-size: 1rem;
    padding: .7rem 1rem;
}

/***************************
  Buttons
***************************/
button,
.button,
button:hover,
.button:hover {
    background-color: #0555a4;
    border: 3px solid #0555a4;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    letter-spacing: .05em;
    line-height: 1.5;
    padding: .4rem .8rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: filter 200ms ease-in-out, transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    button:hover,
    .button:hover {
        background-color: #014284;
        border-color: #014284;
    }

    button:focus {
        outline: 3px solid #89b9ea;
        outline-offset: -1px;
    }

    button[disabled] {
        background-color: #e5e5e5 !important;
        border-color: #e5e5e5 !important;
        color: #333 !important;
        cursor: default;
        opacity: 1;
    }

    button.active,
    .button.active {
        background-color: #014284 !important;
    }

/**********************************
     Button variants 
**********************************/
/* Outlined buttons */
.button-outline {
    background-color: #fff;
    color: #0555a4;
}

    .button-outline:hover {
        color: #fff;
    }

/* Text buttons */
.button-text {
    background-color: transparent;
    border-color: transparent;
    color: #0555a4;
}

    .button-text:hover {
        color: #fff;
    }

.icon-down::before {
    background-image: url('..//Content//outline-chevron-down-24px-white.svg');
}

.icon-up::before {
    background-image: url('..//Content//outline-chevron-down-24px-white.svg');
    transform: rotate(180deg);
}

.button-icon::before {
    background-size: 24px;
    content: ' ';
    display: inline-block;
    height: 24px;
    margin-right: 8px;
    vertical-align: bottom;
    width: 24px;
}

/* Toggle section */
.button-toggle-section::before {
    filter: invert(1);
}

.button-toggle-section,
.button-toggle-section:hover {
    background-color: #e5e5e5;
    border-color: #e5e5e5;
    color: #000;
    display: block;
    font-weight: bold;
    text-align: left;
    letter-spacing: 0;
    text-transform: none;
    width: 100%;
}
/********************

Maps

*********************/
#exploratory-map,
#encyclopedia-map {
    background: #00000a;
    color: #fff;
    z-index: 0;
}

.leaflet-google-layer {
    visibility: hidden;
}

/********************

Start page

*********************/
#uu-logo {
    position: absolute;
    width: 140px;
    height: 140px;
    bottom: 60px;
    left: 60px;
    z-index: 100;
}

.large-ucdp-logo {
    color: white;
    position: absolute;
    top: 10px;
    font-size: 20pt;
    padding-left: 20px;
    z-index: 1000;
    line-height: 0.8;
}

.small-ucdp-logo {
    color: white;
    position: absolute;
    top: 10px;
    font-size: 10pt;
    padding-left: 20px;
    z-index: 1000;
    line-height: 0.8;
}

    .small-ucdp-logo h1 a {
        color: white;
        text-decoration: none;
    }

#explore-teaser {
    position: absolute;
    top: 50px;
    right: 70px;
    width: 140px;
    height: 140px;
}

/********************

Pages

*********************/
#exploratory,
#encyclopedia,
#master-page {
    height: inherit;
    position: relative;
    width: 100%;
    height: 100%;
}

#keypage {
    min-height: 100%;
    padding-top: 63px;
    margin-bottom: 6em;
}

/********************

Buttons in header view

*********************/
.main-buttons {
    display: flex;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000; /* or the map will position itself over it */
}

/********************

Text styles

*********************/
h1, h2, h3, h4, h5 {
    font-family: 'PT Sans', sans-serif !important;
}

h1,
.page-title {
    font-size: 2.4rem;
}

h2 {
    font-size: 1.4rem !important;
}

h3 {
    font-size: 1.2rem !important;
}

h4 {
    font-size: 1rem;
    font-weight: bold;
}

/********************

Breadcrumbs

*********************/
.breadcrumb {
    font-size: 1.25em;
    margin-top: 1em;
}

    .breadcrumb ol {
        margin: 0;
        padding-left: 0;
        list-style: none;
    }

    .breadcrumb li {
        display: inline;
    }

    .breadcrumb a {
        color: #000;
        text-decoration: none;
    }
        /*
.breadcrumb a {
    color: #fff;
}
*/
        .breadcrumb a[aria-current="page"] {
            color: #999999;
        }

        .breadcrumb a::first-letter {
            text-transform: uppercase;
        }

    .breadcrumb li + li::before {
        /*    border-right: .1em solid #fff;*/
        border-right: .1em solid #999999;
        content: '';
        display: inline-block;
        height: .8em;
        margin: 0 .25em;
        transform: rotate(15deg);
    }

    /********************

Page title

*********************/

    .breadcrumb + .page-title {
        margin-top: -12px;
    }

.page-title {
    border-bottom: 1px solid black;
    margin-bottom: .25em;
}

/********************

Panel boxes

*********************/
.panel {
    margin-bottom: 1em;
}

/*.panel {
    background-color: #12131a;
    border: none;
}*/

/********************

Sectons

*********************/
/*.section {
    background-color: #12131a;
    color: white;
}

    .section h5 {
        text-transform: uppercase;
        color: white;
        font-size: 1.1rem;
    }
*/
/********************

Keypage

*********************/
#keypage-map {
    height: 450px;
    background: #12131a;
    color: white;
}

/********************

Layout

*********************/
.fullWidth {
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    max-width: 97%;
    margin-bottom: 10px;
}

/********************

Footer

*********************/
.footer a {
    color: #fff;
    text-decoration: underline;
}

.footer {
    background: #12131a;
    border-top: 1px solid #333;
    color: #fff;
    padding: 2em 0;
}

/********************

Media queries

*********************/
@media (min-width:500px) {
    .large-ucdp-logo h1 {
        font-size: 31pt;
        padding: 0;
        margin: 0;
    }

    .large-ucdp-logo {
        position: absolute;
        top: 10px;
        font-size: 9pt;
        padding-left: 20px;
    }

    .small-ucdp-logo h1 {
        font-size: 16pt;
        padding: 0;
        margin: 0;
    }

    .small-ucdp-logo {
        position: absolute;
        top: 10px;
        font-size: 5pt;
        padding-left: 20px;
    }

    #subTitle {
        padding-top: 8px;
    }
}

@media (min-width: 800px) {
    .large-ucdp-logo h1 {
        font-size: 60pt;
        padding: 0;
        margin: 0;
    }

    .large-ucdp-logo {
        position: absolute;
        top: 10px;
        font-size: 18pt;
        padding-left: 20px;
    }

    .small-ucdp-logo h1 {
        font-size: 30pt;
        padding: 0;
        margin: 0;
    }

    .small-ucdp-logo {
        position: absolute;
        top: 10px;
        font-size: 9pt;
        padding-left: 20px;
    }

    #subTitle {
        padding-top: 0;
    }
}

@media(min-width: 1200px) {
    .large-ucdp-logo h1 {
        font-size: 70pt;
        padding: 0;
        margin: 0;
    }

    .large-ucdp-logo {
        position: absolute;
        top: -3px;
        font-size: 21pt;
        padding-left: 20px;
        line-height: 0.8;
    }

    .small-ucdp-logo h1 {
        font-size: 35pt;
        padding: 0;
        margin: 0;
    }

    .small-ucdp-logo {
        position: absolute;
        top: -3px;
        font-size: 11pt;
        padding-left: 20px;
        line-height: 0.8;
    }

    #subTitle {
        padding-top: 0;
    }
}

#subTitle {
    margin-left: 5px;
    margin-top: -12px;
}
/*
.chart-container {
    position: absolute;
    bottom: 30px;
    left: 15%;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    visibility: hidden;
}*/

.chart-container .chart-caption {
    background-color: none !important;
    color: #fff;
    margin-left: 30px;
    position: absolute;
    top: 10px;
}

/********************

Leaflet styling

*********************/
.leaflet-container {
    background: #111;
}

.leaflet-popup-content {
    color: #000;
    margin: 12px;
}

.leaflet-popup-content-wrapper {
    font-size: 10px;
    width: 450px;
}

.leaflet-popup {
    opacity: 0.95 !important;
}

.leaflet-control-zoom {
    margin-right: 20px !important;
    margin-bottom: 50px !important;
}

.leaflet-right {
    margin-right: 17px;
}

.blur {
    filter: alpha(opacity=40);
    opacity: 0.15 !important;
    z-index: -1000 !important;
}

/********************

play button styling

*********************/
.play-button {
    position: absolute;
    width: 45px;
    left: 500px;
    bottom: 58px;
    pointer-events: all;
    display: none;
}

    .play-button span {
        top: -12px;
        position: relative;
        left: -5px;
        font-size: 13px;
        display: block;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }

/********************

Default chart styles

*********************/
.axis path,
.axis line {
    fill: none;
    stroke: white;
    shape-rendering: crispEdges;
}

.axis text {
    font-size: 12px;
    fill: white;
}

.axis.x text {
    font-size: 10px;
}

.line {
    stroke: white;
    fill: none;
    stroke-width: 2px;
}

.graph-tooltip {
    line-height: 1;
    font-weight: bold;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border-radius: 4px;
}

    .graph-tooltip:after {
        box-sizing: border-box;
        display: inline;
        font-size: 10px;
        line-height: 1;
        color: #fff;
        content: "\25BC";
        position: absolute;
        text-align: center;
        width: 100%;
    }

    .graph-tooltip.n:after {
        margin: -2px 0 0 0;
        top: 100%;
        left: 0;
    }


.mask {
    fill-opacity: 0.6;
    fill: white;
}

.brush .extent {
    fill-opacity: 0;
}

    .brush .extent.show {
        fill-opacity: 0.6;
        fill: #000;
        shape-rendering: crispEdges;
    }

.marker:hover {
    fill: white;
}

.marker {
    stroke: white;
    fill: white;
}

.resize .drag-handle rect {
    stroke: white;
}

.resize .drag-handle path {
    stroke: #999999;
    fill: #999999;
}

.grid .tick {
    stroke: #666;
}

.grid path {
    stroke-width: 0;
}

#keypage input[type="checkbox"] + span {
    color: #000 !important;
}
/*yellow*/
.one-sided.line {
    stroke: #E8BB17;
}

.one-sided.marker {
    stroke: #E8BB17;
    fill: #E8BB17;
}

    .one-sided.marker:hover {
        fill: #E8BB17;
    }

.one-sided.graph-tooltip {
    background: #E8BB17;
    color: #000;
}

    .one-sided.graph-tooltip:after {
        color: #E8BB17;
    }

/*blue*/
.non-state.line {
    stroke: #54A09A;
}

.non-state.marker {
    stroke: #54A09A;
    fill: #54A09A;
}

    .non-state.marker:hover {
        fill: #54A09A;
    }

.non-state.graph-tooltip {
    background: #54A09A;
    color: #000;
}

    .non-state.graph-tooltip:after {
        color: #54A09A;
    }

/*red*/
.state-based.line {
    stroke: #D32A17;
}

.state-based.marker {
    stroke: #D32A17;
    fill: #D32A17;
}

    .state-based.marker:hover {
        fill: #D32A17;
    }

.state-based.graph-tooltip {
    background: #D32A17;
    color: #000;
}

    .state-based.graph-tooltip:after {
        color: #D32A17;
    }

#timespan-indicator {
    position: absolute;
    bottom: 120px;
    font-size: 11px;
    letter-spacing: 0.1em;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
}

#timespan-indicator-anim {
    position: absolute;
    bottom: 35px;
    left: 540px;
    font-size: 6em;
    letter-spacing: 0.1em;
    width: 100%;
    text-align: center;
    line-height: 0.23em;
}

    #timespan-indicator-anim span {
        font-size: 0.3em;
        letter-spacing: 0;
    }

.timespan-selector {
    fill: #454545;
}

.chart-background {
    fill: rgb(17, 17, 17);
    fill-opacity: 0.8;
    pointer-events: all;
}

/* Zoom button styling */

#keypage-chart {
    position: relative;
    height: 212px;
}

#keypage-chart-container {
    position: relative;
}

    #keypage-chart-container .chart-caption {
        position: absolute;
        font-size: 21px;
        left: 30px;
        top: 10px;
        color: lightgray;
        background-color: none !important;
        z-index: 1000;
    }

    #keypage-chart-container .chart-background {
        fill: rgb(255,255,255);
        fill-opacity: 0.8;
        fill: rgb(17, 17, 17);
        fill-opacity: 0.8;
        pointer-events: all;
    }

    #keypage-chart-container .brush .extent.show {
        fill: #000;
        fill-opacity: 0.5 !important;
    }

    #keypage-chart-container .chart-caption,
    #keypage-chart-container .axis text,
    #keypage-chart > svg > text {
        color: #fff !important;
        fill: #fff !important;
    }

.line.overlay {
    stroke: grey;
    stroke-width: 1px;
}

.marker.overlay {
    stroke: grey;
}

#exploratory-chart > svg > text,
#encyclopedia-chart > svg > text {
    fill: white;
    font-size: 20px;
}

/********************

Legend

*********************/

#exploratory-map-legend,
#encyclopedia-map-legend {
    position: absolute;
    bottom: 70px;
    right: -115px;
    font-size: 10px;
    background-color: #000000;
    background-color: rgba(0,0,0,0.5);
    padding: 10px;
    z-index: 1;
    visibility: hidden;
}

.legendHeadline {
    margin-bottom: 5px;
    font-weight: bold;
}

.legendColor {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    float: left;
}

.legendContainer {
    height: 14px;
}

/********************

Popup

*********************/

.stateBased, .nonState, .oneSided {
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    margin-left: 86px;
    text-align: left;
}

.stateBased {
    color: rgb(255, 98, 106);
}

.nonState {
    color: rgb(255, 0, 0);
}

.oneSided {
    color: rgb(232, 176, 183);
}

.popupDynamicText {
    font-size: 12px;
}

.popupLabel {
    display: inline-block;
    width: 80px;
    text-align: right;
    margin-right: 4px;
}

/********************

Spinner

*********************/
#loadingSpinner {
    z-index: 1000;
}

.spinner {
    height: 150px;
    width: 150px;
    position: absolute;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid #ff0000;
    border-left: 6px solid rgba(255,0,0,.15);
    border-right: 6px solid #ff0000;
    border-right: 6px solid rgba(255,0,0,.15);
    border-bottom: 6px solid #ff0000;
    border-bottom: 6px solid rgba(255,0,0,.15);
    border-top: 6px solid #ff0000;
    border-top: 6px solid rgba(255,0,0,.8);
    border-radius: 100%;
    margin-left: -6rem;
    margin-top: -6rem;
    left: 50%;
    top: 50%;
}

.spinner-text {
    margin-top: -2rem;
    margin-left: -3.25rem;
    position: absolute;
    top: 50%;
    left: 50%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(359deg);
    }
}


/********************

Map funcitonality switcher

*********************/
#mapFunctionalitySwitcher {
    color: #FFF;
    position: absolute;
    bottom: 71px;
    right: 110px;
    font-size: 10px;
    background-color: #000000;
    background-color: rgba(0,0,0,0.4);
    padding: 10px;
    z-index: 1;
}

input[type='radio'] {
    border: 2px solid white;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: white;
    border: 2px solid #DDD;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    input[type='radio']:checked {
        background: black !important;
    }

#badge {
    margin: 10px;
}

.disclaimer {
    position: absolute;
    bottom: 0;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

.download {
    position: absolute;
    top: 100px;
    right: 26px;
    width: 136px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 6px;
    padding: 6px;
    padding-top: 14px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

/********************

Download list

*********************/
.download-list-delete {
    color: black;
}

    .download-list-delete:hover {
        color: red;
    }

/********************

List expander

*********************/
.listExpander {
    background: #e5e5e5;
    overflow: hidden;
    list-style: none;
    margin: 2px 0 0 0;
    padding: 10px 15px;
}

    .listExpander .list-group {
        margin-bottom: 2em;
    }

        .listExpander .list-group ul {
        }

        .listExpander .list-group > span {
            margin-bottom: .5em;
            display: block;
        }

    .listExpander .list-item a,
    .listExpander .list-item a:visited {
        text-decoration: none;
    }

    .listExpander .list-item {
        /*    border: 1px solid #0555a4;
    border-radius: 4px;
    padding: 5px 10px;*/
        list-style: none;
    }

.list-item + .list-item {
    margin-top: .5em;
}

.listExpander .list-item input {
    margin: 0;
}

.listExpander .list-item div.checkbox input[type=checkbox] {
    visibility: hidden;
}

.listExpander .list-item div.checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    border-radius: 50%;
    border: 1px solid white;
    top: -8px;
}

    .listExpander .list-item div.checkbox label {
        display: block;
        width: 20px;
        height: 20px;
        position: relative;
        border-radius: 50%;
        top: 1px;
        left: -4px;
        cursor: pointer;
    }

        .listExpander .list-item div.checkbox label:after {
            content: '';
            opacity: 0.5;
            position: absolute;
            width: 11px;
            height: 8px;
            background: transparent;
            top: 3px;
            left: 1px;
            border: 4px solid gray;
            border-top: none;
            border-right: none;
            transform: rotate(-45deg);
        }

    .listExpander .list-item div.checkbox input[type=checkbox]:checked + label:after {
        opacity: 1;
        border: 4px solid green;
        border-top: none;
        border-right: none;
    }

div.fade {
    position: absolute;
    background: -webkit-linear-gradient(right, rgba(18, 19, 26, 1), rgba(18, 19, 26, 0.2));
    background: -o-linear-gradient(right, rgba(18, 19, 26, 1), rgba(18, 19, 26, 0.2));
    background: linear-gradient(to left, rgba(18, 19, 26, 1), rgba(18, 19, 26, 0.2));
    width: 14%;
    height: 43px;
    right: 0;
    top: 0;
}

/********************

Download

*********************/
.keypage-button-section {
    color: white;
}

    .keypage-button-section div {
        margin: 10px;
    }

/********************

Type of violence

*********************/
.type-of-violence-filter ul {
    list-style: none;
    margin-bottom: 0;
}

.type-of-violence-filter li {
    margin-bottom: .5em;
}

.type-of-violence-filter label {
    font-size: .75em;
    line-height: 1.5;
    min-height: 36px;
    margin-left: -16px;
    position: relative;
    padding-left: 26px;
}

#exploratory .filter,
#exploratory label,
#encyclopedia .filter,
#encyclopedia label {
    color: #fff;
}

.violence-filter-box {
    height: 25px;
    float: left;
    margin-right: 10px;
}

.type-of-violence-filter input[type="checkbox"] {
    margin-bottom: 0;
    position: absolute;
    top: 5px;
    left: 0;
}

.header-section {
    margin-top: 2px;
}

    .header-section h1 {
        margin: 0;
        line-height: 2em;
    }

.UCDP-logo {
    color: #6B6B6B;
    font-weight: bold;
    padding-left: 28px;
}

.UCDP-logo {
    font-size: 32px;
}

#exploratory-type-of-violence-filter {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
}

.chart-row {
    margin: 0 100px;
    position: absolute;
    right: 100px;
    bottom: 0;
    left: 175px;
    display: flex;
    justify-content: center;
}

    .chart-row .filter {
        min-width: 200px;
    }

.deathNumber {
    display: block;
    font-weight: bold;
    white-space: nowrap;
}

.type-of-violence-filter .legend-box {
    height: 23px;
    position: absolute;
    left: -5px;
    width: 23px;
}

    .type-of-violence-filter .legend-box.total-color {
        border: .5px solid black;
    }

#homeButton {
    vertical-align: middle;
}

.description-section {
    padding-top: 15px;
}

    .description-section h1 {
        font-size: 1.5em !important;
    }

.confToolTip {
    display: none !important;
    background: #a7a7a7;
    margin-left: 30px;
    padding: 10px;
    position: absolute;
    max-width: none !important;
    overflow: visible;
    font-size: 0.8rem;
    border: none !important;
}

.confText:hover .confToolTip {
    display: block !important;
}

/********************

Additional info

*********************/
.additional-info h2,
.additional-info h3 {
    margin-top: 1.5em;
}

.additional-info strong {
    color: #A4A5A9;
}

.additional-info table thead,
.additional-info table tbody,
.additional-info table tfoot,
.additional-info table tbody tr:nth-child(odd),
.additional-info table tbody tr:nth-child(even) {
    border: none;
}

    .additional-info table thead th,
    .additional-info table tbody td {
        padding: 1px;
    }

.additional-info th {
    color: #A4A5A9;
}

    .additional-info th::after {
        content: ':';
    }

/********************

Key page

*********************/
#countryTooltip {
    position: fixed;
    background: #000;
    color: #FFF;
    font-size: 13px;
    padding: 3px 7px;
    z-index: 10;
    border-radius: 5px;
    border: 2px solid #DDD;
    font-weight: bold;
}

#keypage-map .leaflet-interactive,
#exploratory-map .leaflet-interactive {
    cursor: inherit;
}

.leaflet-marker-icon {
    cursor: pointer !important;
}

.inactive_listitem {
    background-color: #B1B1B1 !important;
}

    .inactive_listitem a:hover {
        cursor: default;
    }

/********************

Header

*********************/
.header-home-link {
    display: inline-block;
    text-decoration: none;
}

.select2-results__option {
    color: black !important;
}

.header-view {
    height: 62px;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    width: 100%;
}

/* fix for select2, looses its width after being hidden */
.select2-container {
    width: 412px !important;
    margin-right: 12px !important;
}

.select2-selection, .select2-selection-single {
    height: 32px !important;
}

/*
    Dark mode
*/
.theme-dark .select2-selection,
.theme-dark .select2-selection-single,
.theme-dark .select2-dropdown,
.theme-dark .select2-search__field {
    background-color: rgba(0,0,0,0.8) !important;
    color: #FFF !important;
}

.theme-dark .select2-container--default {
    color: #FFF !important;
}

.theme-dark .select2-results__option {
    color: #FFF !important;
}

.theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3D5394 !important;
    color: #FFF !important;
}

.main-buttons .button {
    background-color: #000;
    margin: 0 !important;
}

#keypage:nth-child(2) > div:nth-child(2) {
    padding-top: 70px;
}

#no-recorded-deaths {
    display: none;
    width: 90%;
    height: 83%;
    opacity: 0.9;
    text-align: center;
    background-color: #AAA;
    position: absolute;
    color: #fff;
    font-size: 4em;
    top: 0;
    left: 0;
    z-index: 1000;
    margin: 5%;
    padding: 5rem;
}

.listExpanderFader:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(transparent 10px, #e5e5e5);
    pointer-events: none;
}

.related-info button h2 {
    display: inline-block;
    margin: 0;
}

.entitiesHelpText {
    font-size: smaller;
    font-style: italic;
    margin-bottom: 1em;
}

/********************

Entity search box

*********************/

/*.select2-results > ul > li > ul > li:nth-child(even) {
    background-color: rgba(30,30,30,0.75);
}*/

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #757575 !important;
}

.select2-results > ul > li {
    margin-bottom: 12px;
}

.select2-search__field {
    margin: 0 !important;
}

.select2-results strong {
    font-size: 2rem;
    padding: 5px 12px !important;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 300px !important;
}

[aria-label] li:after {
    background-color: #E4E4E4;
    color: black;
    padding: 1px 4px;
    margin-left: 9px;
    border-radius: 4px;
}

[aria-label = Actors] li:after {
    content: "Actor";
}

[aria-label = Dyads] li:after {
    content: "Dyad";
}

[aria-label = Conflicts] li:after {
    content: "Conflict";
}

[aria-label = Countries] li:after {
    content: "Country";
}

.top-bar {
    background-color: transparent !important;
}

/*  =====================================================
    LARGE UP
    ===================================================== */
@media screen and (min-width: 64em) {
    .large-stick-to-top {
        position: sticky;
        position: -webkit-sticky;
        top: 1em;
    }

    .red-box-link-group {
        z-index: 1000;
        list-style-type: none;
        padding: 0;
        margin: 0;
        top: 30%;
        left: 15px;
        position: absolute;
    }

        .red-box-link-group a {
            color: white;
            width: 100%;
            padding: 7px;
            height: 100%;
            background-color: #333;
            border-radius: 6px;
            margin-bottom: 5px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .red-box-link-group span {
            display: block;
        }

        .red-box-link-group li {
            background-color: #333;
            border-radius: 6px;
            margin-bottom: 5px;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
        }

    #exploratory-chart .axis.x .tick:nth-child(2n),
    #encyclopedia-chart .axis.x .tick:nth-child(2n) text {
        visibility: hidden;
    }
}

/*  =====================================================
    PART OF LARGE
    ===================================================== */
@media screen and (min-width: 63.9375em) and (max-width: 98em) {

    #keypage-chart .axis.x .tick:nth-child(2n) text {
        visibility: hidden;
    }
}

/*  =====================================================
    SMALL AND MEDIUM 
    ===================================================== */
@media screen and (max-width: 63.9375em) {

    body {
        font-size: 1.2rem;
    }

    #keypage-chart-container, .chart-container, .exploratory-type-of-violence-filter, .large-ucdp-logo, .small-ucdp-logo, #explore-teaser, #exploratory-type-of-violence-filter, .entitiesHelpText, #encyclopedia-button {
        display: none !important;
    }

    #master-page .UCDP-logo {
        display: block;
    }

    .main-buttons {
        flex-direction: column;
        right: auto;
        top: auto;
        background-color: #000;
        padding: 1px 20px;
        position: relative;
        background-color: #000;
    }

    .button {
        display: block;
        text-align: initial;
        border-radius: initial;
    }

    .main-buttons .button {
        margin: 1rem 0 !important;
        min-width: 50vw;
        text-align: center;
    }

    .top-bar {
        background-color: #000;
    }

        .top-bar ul {
            background-color: transparent;
        }

    /* fix for select2, looses its width after being hidden */
    .select2-container {
        width: 100% !important;
        margin: 0;
        margin-top: 10px !important;
    }

    .select2-dropdown--below {
        margin-top: -10px;
    }

    .large-ucdp-logo {
        top: 46px;
        width: 100%;
    }

    .small-ucdp-logo {
        top: 46px;
        width: 100%;
    }

    .red-box-link-group {
        position: inherit;
    }

        .red-box-link-group li {
            /*display: inline;*/
            width: 50%;
        }

    ul.red-box-link-group {
        margin-left: 0 !important;
        padding-bottom: 2px;
    }

    .red-box-link-group span {
        display: inline;
        margin-left: 12px;
    }

    .red-box-link-group li {
        background-color: transparent;
        width: auto;
        height: auto;
        border-radius: 6px 6px 6px 6px;
        margin-bottom: 5px;
    }

        .red-box-link-group li a {
            align-items: center;
            display: flex;
        }

    .red-box-link-group img {
        float: left;
        width: 15px;
    }

    .red-box-link-group a, .red-box-link-group a:active, .red-box-link.group a:visited {
        color: #fff;
    }

    .inactive_listitem {
        background-color: transparent !important;
    }

    .header-view {
        background-color: #00000a !important;
        position: relative;
        height: 15%;
    }

    #uu-logo {
        bottom: 10px;
        left: 10px;
        width: 70px;
        height: 70px;
    }

    #keypage-type-of-violence-filter {
        padding-left: 4px;
    }

    #keypage {
        padding-top: 0;
    }

    .section h5 {
        font-size: 1.2rem;
    }

    .deaths-badge {
        padding-top: 15px;
    }

    .header-section h1 {
        font-size: 1.3em;
        line-height: 1.3em;
    }

    .breadcrumb {
        font-size: 1em;
    }

        .breadcrumb + .page-title {
            margin-top: 0;
            padding-bottom: .5em;
        }

    .title-bar {
        background-color: transparent !important;
    }

    .menu-icon {
        background-color: #000;
        border-color: transparent;
    }

    .UCDP-logo {
        position: absolute;
        top: 7px;
        right: 10px;
        font-size: 23px;
    }

    .main-buttons .button, .main-buttons li {
        list-style-type: none;
    }

    .leaflet-control-zoom {
        margin-right: -4px !important;
        margin-bottom: -8px !important;
    }

    #exploratory-map, #keypage-map {
        /*margin-left: 1.5rem;
        margin-right: 1.5rem;*/
    }

    #exploratory {
        height: 85%;
    }

    #mobileInfoText {
        position: absolute;
        top: 0;
        left: 8px;
        width: 85%;
        z-index: 1000;
        font-size: 0.9rem;
    }

    #exploratory-chart .axis.x .tick:nth-child(2n),
    #encyclopedia-chart .axis.x .tick:nth-child(2n),
    #keypage-chart .axis.x .tick:nth-child(2n) text {
        visibility: hidden;
    }
}

/*  =====================================================
    SMALL only 
    ===================================================== */
@media screen and (max-width: 39.9375em) {
    #keypage-map {
        height: 250px;
    }

    #badge {
        width: 120px;
        height: 120px;
    }
}

/*  =====================================================
    MEDIUM only 
    ===================================================== */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #keypage-map {
        height: 250px;
    }

    #uu-logo {
        bottom: 17px;
    }
}

/****************
    States
****************/
.is-hidden {
    display: none;
}

#skip a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    #skip a:focus {
        position: static;
        width: auto;
        height: auto;
    }

.skip {
    padding: 0 10px 0 0;
}

/****************
    skip-actors-list
****************/
.is-hidden {
    display: none;
}

#skip-actors-list a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    #skip-actors-list a:focus {
        position: static;
        width: auto;
        height: auto;
    }


.skip-actors-list {
    padding: 0 10px 0 0;
}


/****************
    skip-non-based-list
****************/
.is-hidden {
    display: none;
}

#skip-non-based-list a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    #skip-non-based-list a:focus {
        position: static;
        width: auto;
        height: auto;
    }


.skip-non-based-list {
    padding: 0 10px 0 0;
}

/****************
    skip-one-sided-list
****************/
.is-hidden {
    display: none;
}

#skip-one-sided-list a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    #skip-one-sided-list a:focus {
        position: static;
        width: auto;
        height: auto;
    }

.skip-one-sided-list {
    padding: 0 10px 0 0;
}

/****************
    skip-state-based-list
****************/
.is-hidden {
    display: none;
}

#skip-state-based-list a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    #skip-state-based-list a:focus {
        position: static;
        width: auto;
        height: auto;
    }


.skip-state-based-list {
    padding: 0 10px 0 0;
}



.skip a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip a:focus {
        position: static;
        width: auto;
        height: auto;
    }

/************************
    Hidden country list
************************/

.select-country-info {
    height: 28px;
    width: 300px;
    background-color: white;
    border-radius: 4px 4px 0 0;
    color: #999;
    padding-left: 8px;
}

.country-list {
    width: 300px;
}

.country-list-select {
    color: #999;
    border-radius: 0 0 4px 4px;
}

/************************
    StyleTest
************************/

.style-test {
    background-color: mediumpurple;
    color: darkblue;
}
