body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: "proxima-nova";
}

#header {
    text-align: center;
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 34px;
}

.junior #header {
    color: #FFFFFF;
    background-color: #00BEF3;
}

.upfront #header {
    color: #000000;
    background-color: #FFFFFF;
}

#header #logo {
    height: 100%;
    padding: 4px;
    position: absolute;
    left: 0;
    box-sizing: border-box;
}

#header h1 {
    font-size: 20px;
    display: inline-block;
    margin: 6px 0 0 0;
}

#header #almanac {
    position: absolute;
    right: 0;
    top: 6px;
    padding-right: 10px;
    font-size: 18px;
    text-decoration: none;
}

#header #almanac:hover {
    text-decoration: underline;
}

.junior #header #almanac:link, .junior #header #almanac:visited {
    color: #ffffff;
}

.upfront #header #almanac:link, .upfront #header #almanac:visited {
    color: #000000;
}

#header #almanac img {
    vertical-align: middle;
}

#header #almanac span {
    padding-left: 6px;
}

.chevron {
    display: inline-block;
    transform: scale(.5, 1);
}

#content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#content .overlay {
    position: fixed;
    z-index: 2;
    top: 40px;
    background-color: #FFFFFF;
    border: 2px solid #00BEF3;
}

#data {
    left: 10px;
    border-radius: 20px;
    width: 250px;
    overflow-y: scroll;
    display: none;
    max-height: calc(100vh - 80px);
}

#search {
    left: 10px;
    border-radius: 20px;
    width: 250px;
    overflow: hidden;
    display: block;
    height: 40px;
}

#search input {
    width: 100%;
    height: 20px;
    border: none;
    padding: 10px;
    font-size: 16px;
    box-sizing: content-box;
}

input::-webkit-calendar-picker-indicator {
    display: none;
}

#data>div {
    padding-left: 10px;
    padding-right: 4px;
}

#data #closeBtn {
    position: absolute;
    font-size: 40px;
    top: 0;
    right: 10px;
    padding: 0;
    cursor: pointer;
}

#data #country {
    padding: 8px 40px 0 0;
    /* line-height: 1em; */
}

#data #top {
    margin-top: 4px;
    padding-bottom: 4px;
}

#data #middle {
    padding-top: 4px;
    background-color: #F5F5F5;
}

/* #data #origin {
    font-size: 11px;
} */

#data #middle>div>span:first-child {
    width: 45%;
    display: inline-block;
    margin-right: 20px;
}

#data #bottom {
    background-color: #EAEAEA;
    padding-bottom: 4px;
}

#data #middle>div, #data #bottom>div {
    padding: 0 0 8px;
}

#data #middle div.multiline, #data #bottom div.multiline {
    padding: 0;
}

#data #middle>div>span:first-child, #data #bottom>div>span:first-child {
    width: 55%;
    display: inline-block;
    margin-right: 20px;
}

#data #middle>div>span>span, #data #bottom>div>span>span {
    float: right;
}

#data .name {
    font-size: 12px;
    color: #4A4A4A;
    /* height: 1em; */
}

#data .value {
    font-size: 14px;
    color: #000000;
    /* height: 1em; */
    display: inline-block;
}

#data #region {
    display: block;
}

#data #country {
    font-weight: bold;
    font-size: 20px;
    color: #000000;
    letter-spacing: 0.3px;
    height: 2em;
    display: block;
    white-space: pre-line;
}

#data #languages, #data #politicalSystem {
    height: 2em;
}

#data #headOfGovernment {
    height: 3em;
}

#tools {
    right: 10px;
    border-radius: 5px;
    padding: 5px;
}

#tools div {
    width: 30px;
    height: 30px;
    margin: 4px;
}

#tools .pan {
    border: 1px solid #000000;
    border-radius: 4px;
    position: relative;
    display: block;
    display: none;
}

#tools .pan div {
    display: block;
    margin: auto;
}

#tools .pan #panUp {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid black;
    position: relative;
    top: 12px;
}

#tools .pan #panDown {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid black;
    position: relative;
    top: 12px;
}

#tools .pan #panRight {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid black;
    position: relative;
    top: 6px;
}

#tools .pan #panLeft {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid black;
    position: relative;
    top: 6px;
}

#mapContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

#map {
    position: absolute;
    z-index: 1;
    mix-blend-mode: multiply;
    background-color: #c7eafb;
}

#relief {
    position: absolute;
    width: 100%;
}

/* FOOTER */

#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #FFFFFF;
    width: 100%;
    z-index: 3;
    font-size: 11px;
    text-align: right;
    height: 30px;
}

#footer img {
    float: left;
    position: relative;
    top: 4px;
    left: 4px;
}

#footer #spacer {
    height: 100%;
}

#footer #spacer, #trademark, #terms, #privacy {
    display: inline-block;
    padding-right: 50px;
    vertical-align: middle;
}

#terms, #privacy {
    color: #2c7aec;
    text-decoration: none;
    font-weight: 600;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}