/* ==============================================
   0. General
===============================================*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

html,
body {
    overflow: scroll;
    padding: none;
    margin: none;
    font-family: "Open Sans", sans-serif !important;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

html,
body {
    scrollbar-width: none;
}

/* ==============================================
   1. Header
===============================================*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5rem;
    z-index: 10;
    background-color: #333333;
}

.header-logo {
    height: 100%;
    align-items: center;
    display: flex;
    float: right;
    position: relative;
    z-index: 100;
}

.header-logo img {
    position: absolute;
    height: 50%;
    right: 0px;
    padding-right: 25px;
}

.header-icon {
    display: inline-block;
    width: 5rem;
    height: 3.5rem;
    padding: none;
    margin: none;
    background-color: #ef3148;
    ;
}

.header-icon img {
    display: block;
    margin: auto;
    height: 3.5rem;
    background-color: #333333;
}


/* ==============================================
   2. Sidebar
===============================================*/

.sidebar-base {
    position: fixed;
    top: 3.5rem;
    left: 0;
    width: 5rem;
    height: 100%;
    z-index: 9;
    background-color: #333333;
    display: flex;
}

.sidebar-iconlist {
    height: 70%;
    padding-top: 25px;
    padding-bottom: 25px;
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.sidebar-icon {
    align-items: center;
    display: flex;
    position: relative;
    height: 5rem;
    width: 100%;
    flex-wrap: wrap;
    padding: 0px;
    margin: 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border-color: transparent;
}

.sidebar-icon:hover {
    background-color: #505050;
}

.sidebar-icon img {
    position: relative;
    width: 32%;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 10px;
}

.sidebar-icon h3 {
    display: inline-block;
    position: relative;
    width: 90%;
    height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    margin: auto;
    color: #FFFFFF;
    margin-bottom: 15px;
    margin-top: 0px;
}




/* ==============================================
   3. Sidebar Popout
===============================================*/

.sidebar-popout {
    position: fixed;
    left: 5rem;
    top: 3.5rem;
    height: 100%;
    width: 0;
    /*This will be changed via JS*/
    background-color: #333333;
    z-index: 11;
    overflow-x: hidden;
    transition: width .5s;
    /*white-space: nowrap;*/
}

.sidebar-popout h2 {
    font-size: 1rem;
    font-weight: medium;
    line-height: 1;
    text-align: center;
    margin: auto;
    color: #FFFFFF;
    margin-bottom: 25px;
    margin-top: 60px;
}

/* Position and style the close button (top right corner) */
.close-sidebar {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 30px;
    margin-left: 50px;
    color: #ef3148;
    text-decoration: none;
    margin-top: 20px;
}


/* ==============================================
   2. Main Map Area
===============================================*/

#main-map-wrapper {
    transition: margin-left .5s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

#main-map {
    width: 100%;
    height: 100%;
}



/* ==============================================
   2. Graph Popout
===============================================*/

#graph-popout {
    position: fixed;
    float: right;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background-color: white;
    z-index: 5;
    overflow-x: hidden;
    transition: width .5s;
    white-space: nowrap;
}


#graph-popout-btn {
    align-items: center;
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
    height: 5rem;
    width: 5rem;
    flex-wrap: wrap;
    padding: 0px;
    margin: 0px;
    background-color: #333333;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-color: transparent;
    z-index: 20;
    /*z-index: -10;*/
}


#graph-popout-btn img {
    position: relative;
    width: 20%;
    margin: auto;
    margin-top: 23px;
    margin-bottom: 10px;
}

#graph-popout-btn h3 {
    display: inline-block;
    position: relative;
    width: 90%;
    height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    margin: auto;
    color: #FFFFFF;
    margin-bottom: 15px;
    margin-top: 0px;
}



/* ==============================================
   2. Toolbars
===============================================*/

.select-wrapper {
    width: 80%;
    margin: auto;
    padding-top: 7px;
    padding-bottom: 7px;

}

.sidebar-popout h5 {
    font-size: 0.7rem;
    font-weight: medium;
    line-height: 1;
    text-align: left;
    margin: auto;
    color: #FFFFFF;
    opacity: 0.7;
    margin-top: 5px;
    margin-bottom: 10px
}

#sidebar-popout span {
    color: #333333;
    font-size: 1rem;
}

#demo-hotspots {
    position: relative;
    font-size: 0.75rem;
    color: white;
    padding-left: 32px;
    padding-top: 10px;
    padding-bottom: 100px;
}

#select-income-min,
#select-income-max,
#select-age-min,
#select-age-max,
#select-language,
#select-race,
#select-hispanic,
#select-income,
#select-age,
#select-gender,
#select-map-style,
#select-city {
    position: relative;
    font-size: 0.75rem;
    background-color: transparent;
    color: #333333;
}

.income-wrapper,
.age-wrapper {
    border-radius: 5px;
    height: 65px;
    line-height: 20px;
    width: 80%;
    margin: auto;
    padding-top: 7px;
    padding-bottom: 7px;

}

.select-income-wrapper,
.select-age-wrapper {
    float: left;
    width: 40%;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 5px;
    height: 30px;
    line-height: 20px;
}

#select-gender div.Select-input,
#select-gender div.Select-control,
#select-age div.Select-input,
#select-age div.Select-control,
#select-language div.Select-input,
#select-language div.Select-control,
#select-income div.Select-input,
#select-income div.Select-control,
#select-hispanic div.Select-input,
#select-hispanic div.Select-control,
#select-race div.Select-input,
#select-race div.Select-control,
#select-map-style div.Select-input,
#select-map-style div.Select-control,
#select-city div.Select-control,
#select-city div.Select-input {
    border-radius: 5px;
    height: 30px;
    line-height: 20px;
}

#input-nhours,
#input-budget,
#input-nweeks,
#input-ncars {
    width: calc(100% - 20px);
    border-radius: 5px;
    border: none;
    height: 30px;
    margin: 1px;
    font-size: 0.75rem;
    padding-left: 10px;
    padding-right: 10px;
}

#impressions-wrapper {
    width: 220px;
    height: 245;
    position: absolute;
    float: right;
    z-index: 10000;
    top: 5.9rem;
    right: 0;
    margin-right: 195px;
    /*border:2px solid grey;*/
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 10px;
}

#audience-impression-est h3,
#impression-est h3 {
    font-size: 12.6px;
    text-align: left;
}

#audience-impression-est h5,
#impression-est h5 {
    padding: 0px;
    margin: 0px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 12.6px;
    font-weight: 500;
}

#cpm-est {
    position: absolute;
    float: right;
    z-index: 10000;
    top: 5rem;
    right: 0;
    padding-right: 3rem;
}

#cpm-est h3 {
    text-align: center;
}

/* ==============================================
    Media Queries
===============================================*/

#map {}

#map2 {}

/* ==============================================
    Media Queries
===============================================*/

.no-mobile {
    height: 0;
    width: 0;
    z-index: -1000;
}

@media only screen and (max-device-width: 600px) {

    .no-mobile {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        z-index: 1000000;
        background-color: #333333;
    }
}
