p {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 24px;
    width: max-content;
    margin: 0;
}

.heading {
    margin: 0.4em 0;
}

.subheading {
    font-size: 16px;
    margin-bottom: 0.2em;
    margin-right: 1em;
}

input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: rgba(174, 127, 0, 0.429);
    width: 1.12em;
    height: 1.12em;
    border: 0.12em solid #621a00;
    border-radius: 0.12em;
    transform: translateY(-0.075em);
}

input[type="checkbox"]::before {
    display: block;
    content: "";
    width: 0.94em;
    height: 0.94em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em rgba(174, 127, 0, 0.429);
}
  
input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="number"] {
    width: 4em;
}

.myContainer {
    margin:auto;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.graphContainer {
    display: flex;
    flex-direction: row;
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
    padding: 1em 2em;
    background-color: rgb(255, 249, 232);
}
.controlContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    flex: 1;
    height: 100%;
    margin-right: 2em;
    padding: 1em 0;
    
    background-color: rgb(255, 249, 232);
}

#graph_div {
    width: 100%;
    flex: 4;
    display: flex;
    flex-direction: column;
}

.select-attribute-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.select-attribute {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font: 400 6px;
    -webkit-appearance: none;
    appearance: none;
    color: #424242;
    line-height: 1;
    outline: 0;
    width: 100%;
    /* padding: 0.65em 2.5em 0.55em 0.75em; */
    border-radius: 0;
    background-color: rgb(255, 235, 174);
    position: relative;
}

.select-attribute select {
    display: none;
}

.select-attribute-selected {
    background-color: rgb(255, 235, 174);
}

/* Arrow inside the select element */
.select-attribute-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #424242 transparent transparent transparent;
}

/* Point arrow upwards */
.select-attribute-selected.select-arrow-active:after {
    border-color: transparent transparent #424242 transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-attribute-items div,.select-attribute-selected {
    color: #424242;
    padding: 8px 16px;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-attribute-items {
    position: absolute;
    background-color: #dcc585;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

.select-attribute-hide {
    display: none;
}
  
.select-attribute-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Multi Select Checkboxes */
.select-region-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.dropdown, #dropdownMenu1 {
    width: 100%;
    background-color: rgb(255, 235, 174);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 2em;
}

.dropdown-toggle--region {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.checkbox-menu {
    width: 100%;
}

.checkbox-menu li label {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin:0;
    transition: background-color .4s ease;
}
.checkbox-menu li input {
    margin: 0px 5px;
    top: 2px;
    position: relative;
}

.checkbox-menu li.active label {
    background-color: #cbcbff;
    font-weight:bold;
}

.checkbox-menu li label:hover,
.checkbox-menu li label:focus {
    background-color: #f5f5f5;
}

.checkbox-menu li.active label:hover,
.checkbox-menu li.active label:focus {
    background-color: #b8b8ff;
}

.check-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1em;
}

.check-all, .uncheck-all {
    width: fit-content;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    border: 1px solid #424242;
    background: #621a00;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    cursor: pointer;
}


/* Multi-select End */

.opacity-slider-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.opacity-slider {
    width: 100%;
    height: 1em;
    background: rgb(255, 235, 174);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5em;
    height: 1.5em;
    background: #621a00;
    cursor: pointer;
    position: relative;
}
  
.opacity-slider::-moz-range-thumb {
    width: 1.5em;
    height: 1.5em;
    background: #621a00;
    border: none;
    cursor: pointer;
    position: relative;
}

.opacity-slider:hover {
    opacity: 1;
}

.slider-bubble {
    position: absolute;
    background: rgba(174, 127, 0, 0.429);
    color: #242424;
    height: fit-content;
    line-height: 24px;
    text-align: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 50%;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    bottom: -40px;
}

.opacity-slider:active + slider-bubble {
    transform: translateX(-50%);
}

.flag-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.timestamp-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dates-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.play-container {
    display: flex;
    align-items: center;
    position: relative;
}

.play-image-container {
    height: 3em;
    width: 3em;
    padding: 0.8em 0.8em 0.8em 0.9em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(174, 127, 0, 0.429);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.play-image-container:active {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1), inset 6px 6px 6px rgba(0,0,0,0.1), inset -2px -2px 2px rgba(255, 249, 232, 0.1);
}

.play-image-container:hover {
    background: rgba(174, 127, 0, 0.829);
}

.play-image {
    height: 100%;
    width: 100%;
}

.pause-image {
    display: none;
    height: 100%;
    width: 100%;
}

.seeker-slider {
    width: 100%;
    margin-left: 1em;
    height: 0.5em;
    background: rgb(255, 235, 174);
    outline: none;
    opacity: 0.8;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    position: relative;
}

.seeker-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0.8em;
    height: 0.8em;
    background: #621a00;
    cursor: pointer;
    position: relative;
}
  
.seeker-slider::-moz-range-thumb {
    width: 0.8em;
    height: 0.8em;
    background: #621a00;
    border: none;
    cursor: pointer;
    position: relative;
}

.seeker-container {
    display: flex;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.seeker-slider-bubble {
    position: absolute;
    color: #242424;
    height: fit-content;
    line-height: 24px;
    width: fit-content;
    text-align: center;
    padding: 4px 8px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    top: -30px;
    transition: left 180ms linear;
}

.seeker-slider:active + seeker-slider-bubble {
    transform: translateX(-50%);
}

svg {
    width: 100%;
    height: 600px;
    background-color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    margin-bottom: 1em;
}

.country-label {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    color: #424242;
}

.axis-label {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1em;
    color: #424242;
}