html {
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    /*background-color: rgb(135, 177, 179);*/
    margin: 0;
    background-color: #8AB1B4;
}

a {
    color: #db3232;
    text-decoration: none;
}

button {
    font-family: sans-serif;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    vertical-align: middle;
}

.icon {
    font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol;
}

.box {
    position: fixed;
    padding: 10px;
    border: 1px solid #f2f2f2;
    border-radius: 8px;
    /*background-color: rgba(100, 100, 0, .3);*/
    background-color: rgba(208, 208, 178, .85);
    transition: opacity .5s;
}

.red {
    color: #db3232; /* brown: #dd8f4b */
}

.grey {
    color: #616458; /* green: #09f427 #0cd225 */
}


#container, #svg-world-map {
    width: 100%; 
    height: 100%; 
}

#logo {
    font-size: 30px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: -2px;
}

#settings {
    top: 10px;
    right: 10px;
    /*text-align: right;*/
    padding: 0 15px 3px;
}

#controls {
    bottom: 10px;
    left: 10px;
    right: 10px;
    /*width: calc(100vw - 40px);*/
    /*text-align: right;*/
}

#controlbuttons, #slidecontainer {
    float: left;
    margin-right: 20px;
}

#speedcontrols {
    float: right;
    text-align: right;
    font-size: 13px;
}

#controls button {
    opacity: .5;
    margin-top: 5px;
}

#controls #slower, #controls #faster {
    opacity: .7;
    margin-top: 0;
}

#controls button:hover {
    opacity: 1 !important;
}

#controls button i::before {
    font-size: 30px;
    margin: 0 10px;
}

#togglecountries {
    font-size: 35px;
    margin-top: 0;
}

#toggledetails {
    font-size: 32px;
    margin-top: 0;
}

#togglehelp, #toggleinfo, #toggledebug {
    font-size: 15px;
    font-weight: bold;
    line-height: 21px;
    border: 1px solid #000000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 4px 0 0 2px;
}

#toggleinfo {
    margin-left: 6px;
}

#toggledebug {
    margin-left: 6px;
    text-indent: -6px;
}

#details {
    bottom: 84px;
    /*left: 252px;*/
    right: 10px;
}

#detailstats {
    float: left;
    margin-right: 30px;
    width: 300px;
}

/*#chartnew, */
#charttotal {
    float: right;
    width: 500px;
}

#help, #info, #debug {
    font-size: 13px;
    color: #616458;
}

#help {
    top: 71px;
    right: 10px;
    width: 300px; /* 161px */
}

#debug {
    bottom: 84px;
    left: 252px;
    max-height: calc(100vh - 116px);
    overflow-y: scroll;
}

#info {
    top: 10px;
    left: 252px;
}

#loading {
    position: fixed;
    width: 300px;
    left: calc(50vw - 150px);
    top: 40vh;
    text-align: center;
}

#countries {
    top: 10px;
    left: 10px;
    height: calc(100vh - 116px);
    overflow-y: scroll;
}

#countries ul {
    margin: 0;
    padding: 0;
}

#countries ul li {
    list-style: none;
    cursor: pointer;
    width: 200px;
    padding: 1px 5px;
    line-height: 22px;
    border-radius: 4px;
}

#countries ul li:hover {
    background-color: rgba(223,145,76,.5);
}

/* Slider */
#slidecontainer {
    margin-top: 8px;
    width: calc(100vw - 700px); 
}

.slider:focus {
    outline: none;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;  
    background: #666666;
    -moz-user-select: none;
    user-select: none;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%; 
    background: #000000;
    cursor: pointer;
    opacity: .5;
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    opacity: .5;
    -moz-user-select: none;
    user-select: none;
}

.slider:hover::-webkit-slider-thumb, .slider:hover::-moz-range-thumb {
    opacity: 1;
}
