/*------------------------------------------
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - desktop (default grid)
   1024-768    - tablet landscape
   768-480     - tablet 
   480-less    - phone landscape & smaller
--------------------------------------------*/

@media all and (min-width: 1280px) {
    body {
        font-size: 70%!important;
        line-height: 28px!important;
    }
    /* my macos at 90%, 1402px width */
    nav {
        background-color: #ff9800e0!important;
        /* background-color: brown!important; */
        position: sticky!important;
        line-height: 50px!important;
        height: 50px!important;
        margin-top: 0px;
    }
    .sidenav {
        width: 32vw!important;
        line-height: 50px!important;
    }
    nav,
    nav .nav-wrapper i,
    nav a.sidenav-trigger,
    nav a.sidenav-trigger i {
        line-height: 60px!important;
        height: 60px!important;
    }
    nav ul.right {
        position: relative;
        /* top: 7px; */
    }
    .analysis_card .card-content {
        padding: 0px!important;
    }
    .this_analysis {
        position: relative;
        top: 20px;
    }
    .header_container {
        padding: 2px;
    }
    .header_container div {
        padding: 1px!important;
    }
    /* #map {
        top: -27px;
    } */
    .spatial_query_tool_row .tabs {
        overflow: hidden!important;
    }
    .analysis_card.card .layer_counts,
    .after_analysis_popup_html .layer-counts,
    .ghs_counts {
        display: block;
        color: #de890b;
        font-size: 2.2rem;
    }
    .mapboxgl-popup .row {
        /* font-size: 0.8rem !important; */
        /* justify-content: center; */
        margin-bottom: 3px !important;
        position: relative;
        /* border-bottom: 0.01px solid #b2b96d; */
    }
    .highlighted_row {
        background-color: #676767;
        font-size: 1rem;
    }
    .sticky_content .row.info_container {
        margin-bottom: 5px;
    }
    .popup_info_container .left {
        font-size: 1.1rem;
    }
    .sticky_content span.badge,
    .popup_info_container span.badge {
        line-height: 15px;
        height: 15px;
        font-weight: bolder!important;
    }
    .sticky_content span.badge {
        font-size: 1.1rem;
    }
    .after_analysis_popup .card .card-title {
        font-size: 1.3rem;
        margin-bottom: 0px!important;
    }
    .after_analysis_popup .analysis_card.card {
        margin-bottom: 0px!important;
    }
    .after_analysis_popup {
        max-width: 220px!important;
    }
    .nav-wrapper .right li a {
        display: block!important;
        position: relative;
        top: -3px!important;
    }
    nav ul.left img {
        width: 80px;
        height: 58px;
        z-index: 1;
    }
    .after_analysis_popup .analysis_card .white-text {
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 10px;
        padding-right: 5px;
    }
    .mapboxgl-ctrl-group>.mapboxgl-ctrl-icon {
        width: 2.2rem;
        top: 2px;
        height: 2rem;
        position: relative;
        /* border-right: 0.5px solid grey; */
    }
    .drawn_polygon_description {
        line-height: 20px!important;
    }
    nav ul.left>li>div.app-title {
        /* just a hack... */
        margin-left: 120px;
        font-size: 2rem;
        line-height: 50px;
    }
    .nav-wrapper {
        /* energy.css 685 */
        /* height: 30px; */
    }
    nav i,
    nav [class^="mdi-"],
    nav [class*="mdi-"],
    nav i.material-icons {
        font-size: 1.8rem!important;
    }
    .sidenav .card-title.activator .s8 {
        font-size: 1.8rem!important;
    }
    .sidenav .card.collapsible-header {
        /* energy.css 418 line */
        max-height: 47px;
    }
    .sidenav .card .card-content .card-title i {
        /* energy.css 411 line */
        font-size: 1.3rem!important;
    }
    .analysis_layer i {
        top: 10px;
    }
    .sidenav .card .card-content {
        line-height: 20px;
        padding: 18px;
    }
}


/* @media all and (min-width: 1280px) and (max-width: 1400px) {
    nav {
        background-color: #fff!important;
    }
} */

@media all and (min-width: 1024px) and (max-width: 1280px) {
    /* my macos at 100%
    REDUCE fonts, icons, etc...
    */
    .list_sticky_actions i {
        font-size: 1.5rem!important;
    }
    nav,
    nav .nav-wrapper i,
    nav a.sidenav-trigger,
    nav a.sidenav-trigger i {
        /* line-height: 60px!important;
        height: 60px!important; */
        line-height: 51px!important;
        height: 50px!important;
    }
}

.jrc-logo {
    height: 21px;
    z-index: 5;
    position: relative;
}

nav {
    background-color: #ff9902!important;
    /* background-color: rgb(19, 29, 161)!important; */
    position: sticky!important;
    margin-top: 0px;
    bottom: 18px;
}

nav ul.left>li>div.app-title {
    /* just a hack... */
    margin-left: 120px;
    font-size: 2.4rem;
    position: relative;
    bottom: 20px;
}

.nav-wrapper {
    /* energy.css 685 */
    /* height: 30px; */
}


/* jrc logo */

nav ul.left img {
    width: 70px;
    height: 50px;
    z-index: 1;
}

.sidenav {
    width: 28vw!important;
}

html {
    font-size: 70%!important;
    line-height: 28px!important;
}

.initial_modal_description {
    line-height: 65px!important;
    font-size: 1.2rem!important;
}

.info_panels_modal {
    margin-top: 0px!important;
}

.initial_modal .initial_modal_description p {
    /* padding: 9px; */
    font-size: 1rem!important;
    line-height: 2!important;
    margin-top: 20px!important;
}

nav i,
nav [class^="mdi-"],
nav [class*="mdi-"],
nav i.material-icons {
    font-size: 1.8rem!important;
}


/* .material-icons.view_module {
    top: -3px;
    position: relative;
} */

.analysis_card .card-content {
    padding: 0px!important;
}

.this_analysis {
    position: relative;
    top: 20px;
}

#map {
    top: -26px;
}

.spatial_query_tool_row .tabs {
    overflow: hidden!important;
}

.analysis_card.card .layer_counts,
.after_analysis_popup_html .layer-counts,
.ghs_counts {
    display: block;
    color: #de890b;
    font-size: 2.2rem;
}

.highlighted_row {
    font-size: 1rem;
}

.sticky_content .row.info_container {
    margin-bottom: 5px;
}

.popup_info_container .left {
    font-size: 1.1rem;
}

.sticky_content span.badge,
.popup_info_container span.badge {
    line-height: 15px;
    height: 15px;
    font-weight: bolder!important;
}

.sticky_content span.badge {
    font-size: 1.1rem;
}

.after_analysis_popup .card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0px!important;
}

.after_analysis_popup .analysis_card.card {
    margin-bottom: 0px!important;
}

.after_analysis_popup {
    max-width: 170px!important;
}

.nav-wrapper .right li a {
    display: block!important;
    position: relative;
    /* top: -6px!important; */
}

nav ul.right {
    position: relative;
    top: -3px!important;
}

.material-icons.view_module {
    position: relative;
    top: -3px;
}

.after_analysis_popup .analysis_card .white-text {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 5px;
}

.mapboxgl-ctrl-group>.mapboxgl-ctrl-icon {
    width: 2.2rem;
    top: 2px;
    height: 2rem;
    position: relative;
    /* border-right: 0.5px solid grey; */
}

.drawn_polygon_description {
    line-height: 20px!important;
}

.sidenav .card-title.activator .s8 {
    font-size: 1.8rem!important;
}

.sidenav .card.collapsible-header {
    /* energy.css 418 line */
    max-height: 47px;
}

.sidenav .card .card-content .card-title i {
    /* energy.css 411 line */
    font-size: 1.3rem!important;
}

.analysis_layer i {
    top: 10px;
}

.sidenav .card .card-content {
    line-height: 20px;
    padding: 18px;
}

.mapboxgl-popup .row {
    /* font-size: 0.8rem !important; */
    /* justify-content: center; */
    margin-bottom: 3px !important;
    position: relative;
    /* border-bottom: 0.01px solid #b2b96d; */
}


}
@media all and (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 80%!important;
        line-height: 20px!important;
    }
    
    nav {
        background-color: #ff9800e0!important;
        height: 40px!important;
        position: sticky!important;
    }
    /* jrc logo */
    
    nav ul.left img {
        width: 70px;
        height: 50px;
        z-index: 1;
    }
    
    nav ul.left>li>div.app-title {
        /* just a hack... */
        margin-left: 100px;
        font-size: 2.2rem;
        position: relative;
        bottom: 13px;
    }
    
    .sidenav {
        width: 34vw!important;
        line-height: 40x!important;
    }
    
    .nav-wrapper .right li a {
        display: block!important;
        position: relative;
        top: -3px!important;
    }
    
    .drawn_polygon_description {
        line-height: 19px!important;
    }
    
    .mapboxgl-ctrl-group>.mapboxgl-ctrl-icon {
        width: 1.8rem;
        top: 5px;
        height: 1.8rem;
        position: relative;
        border-right: 0.5px solid grey;
    }
    
    .queryable_layers_list .card-title.activator i {
        top: 9px;
        position: relative;
        font-size: 1.1rem!important;
    }
    
    nav,
    nav .nav-wrapper i,
    nav a.sidenav-trigger,
    nav a.sidenav-trigger i {
        line-height: 60px!important;
        height: 60px!important;
    }
    
    nav ul.left>li>div.app-title {
        /* just a hack... */
        margin-left: 100px;
        font-size: 2rem;
        line-height: 38px;
        top: 0px;
    }
    
    #map {
        top: -13px;
    }
    
    .mapboxgl-popup .popup_col_f_name {
        margin-top: 0px!important;
        margin-bottom: 0px!important;
    }
    
    .sticky_content .row.info_container {
        margin-bottom: 0px!important;
    }
    
    .mapboxgl-popup .row {
        /* font-size: 0.8rem !important; */
        /* justify-content: center; */
        margin-bottom: 0px !important;
        position: relative;
        /* border-bottom: 0.01px solid #b2b96d; */
    }
    
    .analysis_card.card {
        padding: 0px!important;
    }
    
    .analysis_container .ghs_africa_250m_bigger_2 .info .rows_container {
        font-size: 0.9rem!important;
    }
    
    .analysis_card.card .layer_counts,
    .after_analysis_popup_html .layer-counts,
    .ghs_counts {
        display: block;
        color: #de890b;
        font-size: 2rem;
    }
    
    .highlighted_row {
        font-size: 1rem;
    }
    
    .sticky_content .row.info_container {
        margin-bottom: 5px;
    }
    
    .popup_info_container .left {
        font-size: 1.1rem;
    }
    
    .sticky_content span.badge,
    .popup_info_container span.badge {
        line-height: 15px;
        height: 15px;
        font-weight: bolder!important;
    }
    
    .sticky_content span.badge {
        font-size: 1.1rem;
    }
    
    .after_analysis_popup .card .card-title {
        font-size: 1.5rem;
        margin-bottom: 0px!important;
    }
    
    .after_analysis_popup {
        max-width: 200px;
    }
    
    .after_analysis_popup .card-content.white-text {
        padding: 0px;
    }
    
    .after_analysis_popup .analysis_card.card {
        margin-bottom: 0px!important;
    }
    
    .after_analysis_popup {
        max-width: 170px!important;
    }
    
    .materialize_form_radio {
        line-height: 0px!important;
    }
    
    .analysis_card .card-content.white-text {
        padding: 0px!important;
    }
}
@media all and (min-width: 480px) and (max-width: 768px) {
    nav {
        background-color: #ff9800e0!important;
        position: sticky!important;
    }
    
    .sidenav {
        width: 35vw!important;
        line-height: 48px!important;
    }
    
    nav,
    nav .nav-wrapper i,
    nav a.sidenav-trigger,
    nav a.sidenav-trigger i {
        line-height: 40px!important;
        height: 40px!important;
    }
    
    #map {
        top: -13px;
    }
}
@media all and (max-width: 480px) {}

/*------------------------------------------
  Foundation Media Queries 
   http://foundation.zurb.com/docs/media-queries.html
--------------------------------------------*/

/* Small screens - MOBILE */
@media only screen {}

/* Define mobile styles - Mobile First */
@media only screen and (max-width: 40em) {}

/* max-width 640px, mobile-only styles, use when QAing mobile issues */

/* Medium screens - TABLET */

/* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    nav {
        background-color: #ff9800e0!important;
    }
}

/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

/* Large/medium screens - DESKTOP my MACOS...*/