html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    background-color: #1e283d;
    -webkit-font-smoothing: antialiased !important;
}

/* Map */

#map-container {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex: 2;
    overflow: auto;
    background-color: #e5ecf3;
    position: relative;
    overflow: hidden;
}
#map {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#map-container .tweetTotal {
    display: none;
    width: 100%;
    z-index: 4;
    bottom: 0;
    left: 0;
    height: 100px;
    text-align: center;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.7) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.7) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000', GradientType=0);
    pointer-events: none;
}
.tweetTotal p {
    color: white;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 1.5em;
    font-weight: 600;
}

/* Type */

h1,
h2,
.tweetTotal,
#menu-container {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
}
#menu-container .menu-button {
    padding-top: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: 50% 20%;
}
#menu-container .btn-1 {
    background-image: url('../img/icon-sleep.png');
}
#menu-container .btn-2 {
    background-image: url('../img/icon-lightbulb.png');
}
#menu-container .btn-3 {
    background-image: url('../img/icon-graph.png');
}
#menu-container .btn-4 {
    background-image: url('../img/icon-lungs.png');
}
h1 {
    font-size: 2em;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}
h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #4df7d2;
    line-height: 1.4em;
}
hr {
    width: 140px;
    border: 0;
    border-top: 2px solid #4df7d2;
    margin: 40px auto;
}
.highlight {
    color: #53ffd7;
}

/* Header & Footer*/

#header,
#footer {
    color: white;
    background-color: #1a2f47;
    position: relative;
    z-index: 3;
}
.header-intro {
    text-align: center;
    float: left;
    display: block;
    width: 100%;
    padding: 5px;
    display: none;
}

/* Loading */

#tweet-loading {
    background-color: #0e1d2e;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 999;
    color: white;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.02em;
    background-color: transparent;
    display: none;
}
#loaded {
    display: none;
}
.loader {
    margin: 0 0 2em;
    height: 70px;
    width: 20%;
    text-align: center;
    padding: 1em;
    margin: 1em auto 0em;
    display: inline-block;
    vertical-align: top;
}
svg path,
svg rect {
    fill: #53ffd7;
}

/* Header */

#header {
    top: 0;
    width: 100%;
}
#header h2 {
    padding: 5px 20px;
    color: white;
    font-size: 1.5em;
}

/* Footer */

#footer {
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    bottom: 0;
    font-size: 0.9em;
    border-top: 0px;
    /* Overwrite for Intro*/
    z-index: 999;
    background-color: #111d2d;
}
#footer a {
    color: #40c0a4;
}

/* Mobile Menu */

#mobile-menu {
    text-align: center;
    background-color: #1a2f47;
    border-top: 2px solid #40c0a4;
    border-bottom: 2px solid #111d2d;
    color: #ffffff;
    text-transform: uppercase;
}
#menu-container {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}
#menu-container li {
    border-top: 2px solid #28476a;
    display: block;
    width: 25%;
    float: left;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
}
#menu-container li:hover {
    background-color: #274160;
}
#menu-container li:active {
    background-color: #111f31;
    border-top: 2px solid transparent;
}
#menu-container li.toggle-menu {
    background-color: #111f31;
    border-top: 2px solid transparent;
}
#menu-container li:not(:last-child) {
    border-right: 1px solid #111d2d;
}
#menu-container li img {
    display: block;
    margin: 0 auto 5px;
    max-width: 40px;
    width: 90%;
}
#overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgb(14, 29, 46);
    background-color: rgba(14, 29, 46, 0.95);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#990e1d2e, endColorstr=#990e1d2e)";
    z-index: 2;
    display: none;
}

/* Ticker */

#ticker {
    display: block;
    position: relative;
    padding: 10px;
    color: #2c2c2c;
    background-color: white;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}
#ticker .spacing {
    width: 50px;
}
#ticker span {
    display: inline-block;
    padding-left: 100%;
    text-indent: 0;
    animation: marquee 15s linear infinite;
    -webkit-animation: marquee 15s linear infinite;
    -moz-animation: marquee 15s linear infinite;
    -o-animation: marquee 15s linear infinite;
}
#ticker-icon {
    display: block;
    position: absolute;
    background-color: #4df7d2;
    padding: inherit;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background-image: url('../img/ticker-icon.png');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 13px;
}
@-webkit-keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}
@-moz-keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}
@-o-keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/* Social Buttons */

#social-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right;
    height: 100%;
    text-align: center;
    position: relative;
    display: none;
}
#social-nav li {
    width: 60px;
    height: 60px;
    background-color: transparent;
    display: block;
    float: right;
}
#social-nav li svg {
    padding-top: 12px;
    fill: #33c0ea;
    max-height: 45px;
}
#social-nav li:hover {
    background-color: #111f31;
    cursor: pointer;
}

/* Slider */

#slider-container {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    z-index: 3;
    background-color: #0e1d2e;
    padding: 20px 30px 25px;
    text-align: center;
}
#slider-container h2 {
    font-size: 1.1em;
    margin-bottom: 16px;
    color: #ffffff;
}

/* Intro Section*/

#intro {
    width: 100%;
    height: 100%;
    overflow: auto;
    position: absolute;
    background-color: black;
    z-index: 998;
    color: white;
    /* Background Opacity */
    background-color: rgb(14, 29, 46);
    background-color: rgba(14, 29, 46, 0.95);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#990e1d2e, endColorstr=#990e1d2e)";
    /*    display: none;*/
}
#intro p {
    color: #a8c2de;
    line-height: 1.8em;
    font-size: 1.1em;
    font-family: 'Merriweather', serif;
}
.primary-btn {
    padding: 15px 50px;
    background-color: #4df7d2;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: 600;
    display: block;
    margin: 40px auto 0px;
    color: #1a2f47;
}
.primary-btn:hover {
    cursor: pointer;
    background-color: white;
    color: #1a2f47;
}
.container {
    width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Widget Section */

#widget-container {
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0px;
    z-index: 3;
}
.widget {
    max-width: none;
    margin: 0 auto;
    background-color: #0e1d2e;
    color: white;
    position: relative;
    display: none;
}
.widget h2 {
    padding: 0;
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    color: white;
}
.widget span {
    color: #92a9c3;
    font-size: 0.9em;
}
.widget>.widget-header {
    padding: 15px 20px;
    background-color: #0e1d2e;
    position: relative;
    pointer-events: none;
    text-align: center;
}
.widget.collapsible > .widget-header {
    cursor: pointer;
}
.widget>.widget-subheader {
    padding: 0px 20px 20px;
    position: relative;
    text-align: center;
}
.widget>.widget-body {
    padding: 20px;
    background-color: #1a2f47;
    position: relative;
}
.widget>.widget-toggle {
    width: 100%;
    position: relative;
}

/* Toggle Buttons */

.widget .widget-toggle button {
    width: 50%;
    margin: 0;
    float: left;
    padding: 15px;
    color: #9ab1cc;
    background-color: #122438;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1.1em;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
}
.widget .widget-toggle button.active {
    background-color: #1a2f47;
    color: white;
}

/* Containers */

#bars-places {
    display: none;
}

/* Widget Bars */

.widget-bar-container {
    display: block;
    padding-bottom: 30px;
}
.widget-bar-container .bar-title {
    width: 30%;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.widget-bar-container .bar-title:hover {
    overflow: visible;
    text-overflow: none;
    background-color: #1a2f47;
    z-index: 5;
    cursor: pointer;
}
.widget-bar-container .bar-title:hover + .widget-bar {
    opacity: 0.1;
}
.widget-bar-container .widget-bar {
    width: 30%;
    margin-left: 5%;
    margin-top: 6px;
    float: left;
    height: 4px;
    background-color: #213955;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
.widget-bar .inner-bar {
    width: 50%;
    background-color: white;
    height: 100%;
}
.widget-bar-container .bar-population {
    width: 30%;
    float: right;
}

/* Breathing Container */

#breathing-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 99;
    color: black;
    text-align: center;
    font-weight: 300;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
#breathing-container {
    width: 220px;
    height: 220px;
    background-color: #131927;
    border-radius: 50%;
    margin: 0px auto;
    overflow: auto;
    position: relative;
}
.circle1,
.circle2,
.circle3 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.circle1 {
    background-color: #4df7d2;
}
.circle2 {
    background-color: #96f8e3;
    width: 90%;
    height: 90%;
}
.circle3 {
    background-color: #ffffff;
    width: 90%;
    height: 90%;
}
.animation {
    -webkit-animation: bounceAround 8s infinite;
    -moz-animation: bounceAround 8s infinite;
    -o-animation: bounceAround 8s infinite;
    animation: bounceAround 8s infinite;
    animation-timing-function: ease-in-out;
}
.abs-center {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
@keyframes bounceAround {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

/* Widget Scroller */

.unslider {
    padding: 20px 10px !important;
}
.unslider-arrow {
    top: 0;
    height: 100%;
}
.widget-slider-container {
    background-color: #1a2f47;
    position: relative;
}
.widget-arrow {
    width: 10px;
}
.widget-slider-content {
    width: 80%;
    height: auto;
    float: left;
    left: 10%;
    padding: 0px;
    text-align: center;
    line-height: 1.6em;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.05em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.widget-slider-content h2 {
    font-size: 1.1em;
    margin-bottom: 6px;
    line-height: 1.3em;
}
.widget-slider-content p {
    font-size: 0.9em;
    line-height: 1.3em;
}
.widget-pagination {
    background-color: #122438;
    display: inline-block;
    padding: 10px 30px;
    font-style: normal;
    margin-top: 20px;
    border-radius: 25px;
    position: absolute;
    left: 0;
    right: 0;
    width: 140px;
    margin: auto;
    bottom: 20px;
    text-align: center;
}

/* Widget Info Button */

.widget .info {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    padding-top: 4px;
    text-align: center;
    color: #33c0ea;
    background-color: #1a2f47;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    display: none;
}
.widget .info:hover {
    cursor: pointer;
    background-color: #263f5c;
}
.widget .info-popup {
    display: none;
    background-color: white;
    position: absolute;
    top: -30px;
    right: 60px;
    z-index: 99;
    padding: 20px;
}
.widget .info-popup p {
    color: #92a9c3;
    font-size: 0.9em;
}
.widget .info-popup h2 {
    color: #33c0ea;
}

/* Additional Wiget Effects */

.widget .scroll-inner-shadow {
    -webkit-box-shadow: inset 0px -19px 30px -15px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px -19px 30px -15px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px -19px 30px -15px rgba(0, 0, 0, 0.5);
}
.widget .text-overflow {
    height: 200px;
    overflow-y: auto;
    overflow: -moz-scrollbars-vertical;
}
.flipImg {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

/* Flex Properties */

#app-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: column;
    height: 100vh;
}
.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}

/* Custom Scroll Bar */

::-webkit-scrollbar {
    width: 12px;
    background-color: #122438;
}
::-webkit-scrollbar-thumb {
    background-color: #2c4b6d;
    border: 2px solid transparent;
    border-radius: 10px;
    background-clip: content-box;
}

/* Overwrite Browser Default */

input,
button,
submit {
    border: none;
}
button:focus {
    outline: 0;
}

/* media queries */

@media all and (max-width: 50em) {
    .widget-slider-container,
    .widget-subheader,
    .widget-breath {
        display: block !important;
    }
    #widget-container {
        pointer-events: none;
        height: 100%;
        overflow: hidden !important;
    }
    .widget {
        pointer-events: all;
        height: 100%;
        overflow-y: scroll;
    }
}
@media all and (max-height: 600px) {
    .btn-4,
    .btn-3,
    .btn-2,
    .btn-1 {
        background-image: none !important;
        padding: 14px 0px !important;
    }
}
@media all and (max-height: 840px) {
    #widget-container {
        right: 0 !important;
        top: 0 !important;
        height: 100%;
        overflow-y: auto;
    }
    .widget .text-overflow {
        height: auto !important;
    }
    .widget-slider-container,
    .widget-subheader,
    .widget-breath {
/*        display: block !important;*/
    }
    #slider-container {
        top: 0px !important;
        left: 0px !important;
    }
    .widget-header {
/*        pointer-events: none !important;*/
    }
    .widget {
        margin-bottom: 0px !important;
        border-bottom: 2px solid #40c0a4;
    }
    .widget .info-popup {
        top: 0px;
    }
    .tweetTotal p {
        bottom: 0;
        left: 0;
        font-size: 1.2em;
        background-color: #0e1d2e;
        padding: 15px 10px 15px 20px;
    }
    #map-container .tweetTotal {
        width: 400px;
        bottom: 0;
        left: 0;
        margin: 30px 0px;
        height: 0px; 
        text-align: left;
        background: none;
        z-index: 2;
    }
}
@media all and (min-width: 50em) {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 2.8em;
        color: white;
        font-weight: 600;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 1.2em;
        font-weight: 600;
        color: #4df7d2;
        line-height: 1.4em;
    }
    #slider-container {
        left: 20px;
        top: 20px;
        margin: 0px;
        width: 420px;
    }
    #header h2 {
        padding: 15px 20px;
    }
    #header h2 {
        padding: 10px 30px;
        font-size: 1.6em;
    }
    #social-nav {
        display: block;
    }
    .header-intro {
        width: auto;
        display: block;
    }
    #header {
        border-bottom: 2px solid #40c0a4;
    }
    #ticker {
        display: none !important;
    }
    #mobile-menu {
        display: none;
    }
    #footer {
        border-top: 2px solid #40c0a4;
        background-color: auto;
    }
    #map-container .tweetTotal {
        display: block;
    }
    #widget-container {
        width: auto;
        position: absolute;
        right: 20px;
        top: 20px;
        left: auto;
        z-index: 3;
    }
    .widget {
        max-width: 450px;
        background-color: #0e1d2e;
        color: white;
        position: relative;
        margin-bottom: 10px;
        display: block !important;
    }
    .widget .text-overflow {
        height: 150px;
    }
    .widget .info {
        display: block;
    }
    .widget>.widget-header {
        pointer-events: auto;
    }
    #overlay {
        display: none !important;
    }
    .widget>.widget-header {
        text-align: left;
    }
    .widget>.widget-subheader {
        text-align: left;
    }
}
@media all and (min-width: 80em) {}
