
#main {
    position: relative;
    height: 100vh;
    width: 100%;
    float: left;
}

#side {
    position: relative;
    float: left;
}

.container-fluid {
    padding: 0px;
}

/* PRE LOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fefefe;
    z-index: 99999;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
}

.status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    margin: -20px 0 0 -20px;
}


/*---------------------------------------
   Header                
-----------------------------------------*/

header {
    position: absolute;
    z-index: 10;
    width: 100%;
}


/* TOP BAR WITH NAVIGATION */

.navbar {
    background: rgba(255,255,255,0.95);
    opacity: 0.9;
    filter: alpha(opacity=90);
    margin: 0px;
    padding: 0px;
}

.navbar .main-navigation {
    margin-left: auto;
    display: inline-block;
    width: 100%;
}

.navbar .main-navigation .checkbox {
    margin-top: 0px;
    margin-bottom: 0px;
}

.navbar .main-navigation .checkbox #whole {
    margin-top: 8px;
}

ul.dropdown-menu.flag {
    min-width: 80px;
    max-width: 80px;
}

ul.dropdown-menu.flag.open > a.dropdown-toggle {
    background: none;
}

ul.dropdown-menu.flag li {
    text-align: center;
}

.navbar-nav > li {
    padding: 10px;
}

.navbar-nav > li > a,
.navbar-nav > li > select {
    padding-top: 0px;
    padding-bottom: 0px;
    min-width: 200px;
}

.navbar-nav > li.dropdown-flag > a {
    display: inline;
    min-width: 30px;
    max-width: 30px;
    padding: 0;
}

.navbar img.flag {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand {
    padding: 0;
}

.navbar-fixed-top {
    border: 0;
    position: relative;
}

.navbar-inverse .navbar-toggle {
    border-color: #313131;
    background: #313131;
}

.navbar-inverse .navbar-nav > li > a {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: #000000;
    padding-bottom: 5px;
    border-bottom: 2px solid #d80000;
    cursor: pointer;
}


/* INTRO */
header .home-contents {
        margin-top: 160px;
}

header .intro-section {
    text-align: left;
}

header .intro-section .standard-button {
    margin: 0;
}

header .intro-section .intro {
    color: #ffffff;
    margin-bottom: 36px;
}

header .intro-section h5 {
    color: #ffffff;
}

header .intro-section .buttons {
    margin-top: 35px;
    margin-bottom: 35px;
}



.navbar .main-navigation .checkbox.filter-techno,
.navbar .main-navigation .radio.filter-techno {
    display: inline-block;
    margin-top: 2px;
    margin-right: 20px;
}

.navbar .main-navigation .checkbox.filter-techno input[type="checkbox"],
.navbar .main-navigation .radio.filter-techno input[type="radio"] {
    margin-top: 8px;
}



/*---------------------------------------
   Map                
-----------------------------------------*/

#map {
    height: 100vh;
    width: 100%;
}

.info-window {
    min-width: 260px;
    min-height: 140px;
}

.info-window .info-body {
    text-align:left;
}

.info-window .info-body .nav-tabs {
    margin-bottom: 5px
}

.info-window .info-body .nav-tabs li {
    width: 25%;
    text-align: center;
}

.info-window .info-body .nav-tabs li a {
    padding: 3px 5px;
}

.info-window table.info-table {
    width: 100%;
}

.info-window .info-table .info-label {
    font-weight: bold;
    min-width: 60px;
}
.info-window .info-table th,
.info-window .info-table .info-value {
    text-align: center;
}

.info-window .info-table .info-value {
    min-width: 30px;
}


.side-window .side-head {
    min-height: 100px;
}

.side-window .side-head h4 {
    font-size: 20px;
}

.side-window .side-head h4 .side-area {
    font-size: 32px;
    color: #67010A;
}

.side-window .side-body .side-coverage {
    margin-top: 15px;
}

.side-window .side-body .side-coverage .side-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.side-window .side-body .side-coverage-4g .side-icon {
    background: url(../images/4G.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage-3g .side-icon {
    background: url(../images/3G.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage-2g .side-icon {
    background: url(../images/2G.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage .side-value,
.side-window .side-body .side-coverage .side-unit {
    display: inline-block;
    line-height: 60px;
    font-size: 34px;
    vertical-align: top;
}

.side-window .side-body .side-coverage-call .side-icon {
    background: url(../images/call.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage .side-text {
    display: inline-block;
    height: 60px;
    line-height: 40px;
    font-size: 18px;
    vertical-align: bottom;
}

.side-window .side-body .side-coverage .side-quality {
    display: inline-block;
    width: 60px;
    height: 60px;
}

.side-window .side-body .side-coverage .side-quality.side-quality-good {
    background: url(../images/good.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage .side-quality.side-quality-neutral {
    background: url(../images/neutral.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage .side-quality.side-quality-bad {
    background: url(../images/bad.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage-download .side-icon {
    background: url(../images/download.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage-upload .side-icon {
    background: url(../images/upload.png) no-repeat center center / contain;
}

.side-window .side-body .side-coverage-stations table {
    width: 100%
}

.side-window .side-body .side-coverage-stations table td {
    padding: 8px
}

.side-window .side-body .side-coverage-stations table img ,
.side-window .side-body .side-coverage-stations table .side-icon {
    width: 30px;
    height: 30px;
}


.side-window .side-body .side-coverage-stations table .side-station-0 td,
.side-window .side-body .side-coverage-stations table .side-station-1 td {
    padding-bottom: 0px;
}

.side-window .side-body .side-coverage-stations table .side-station-1 td,
.side-window .side-body .side-coverage-stations table .side-station-2 td {
    padding-top: 0px;
}

.side-window .side-body .side-coverage-stations table tr.side-station span.btn-block {
    cursor: help;
}

.side-window .side-body .side-coverage-stations table .side-icon {
    float: left;
}



.side-coverage a span.toggler {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(../images/up.png) no-repeat right center / contain;
}

.side-coverage a.collapsed span.toggler {
    background: url(../images/down.png) no-repeat right center / contain;
}



/*---------------------------------------
   Footer                
-----------------------------------------*/

footer {
    position: absolute;
    bottom: 30px;
    left: 1%;
    width: 98%;
    z-index: 10;
}

footer .period > div {
    padding: 0;
}

footer .period-slider {
    margin-top: 10px;
    margin-bottom: 26px;
}

footer .period-slider .ui-slider-handle.ui-state-default {
    background-color: #428bca;
    border-color: #357ebd;
}

footer .period-slider .ui-slider-handle.ui-state-hover {
    background-color:#3276b1;
    border-color:#285e8e
}

footer .period-slider .ui-slider-handle.ui-state-active {
    border: 1px solid #666666;
}

footer .period-slider label {
    position: absolute;
    margin-top: 20px;
    text-align: center;
    line-height: 12px;
    font-size: 12px;
    font-weight: normal;
}

footer .legend {
    margin-top: 10px;
}

footer .legend > div {
    padding: 0;
}

footer .legend .legend-row {
    margin-left: auto;
    vertical-align: top;
    line-height: normal;
}

footer .legend .legend-block {
    display: inline-block; 
    vertical-align: top;
}

footer .legend .legend-color,
footer .legend .legend-text {
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    line-height: 16px;
}

footer .legend .legend-color {
    height: 16px;
}

footer .legend .legend-text {
    text-align: left;
    font-size: 12px;
    height: 30px;
}

footer .toggle-legend {
    margin: 6px;
    z-index: 42;
}


@media (max-width: 720px) {
    /*
    #main {
        height: 92vh;
    }

    #map {
        height: 92vh;
    }
    */

    footer .legend .legend-text {
        text-align: center;
    }
}



@media (max-width: 480px) {
    header .navbar {
        background: none;
    }
    .container-fluid > .navbar-header {
        float: right;
        margin-top: 5px;
    }
    .container-fluid > .navbar-header,
    .container-fluid > .navbar-collapse {
        margin-right: 0;
    }
    .container-fluid > .navbar-collapse ul {
        margin: 8px 0 0 0;
    }
    .container-fluid > .navbar-collapse ul li {
        padding: 5px 10px;
    }
    .navbar .main-navigation .checkbox.filter-techno input[type="checkbox"] {
        margin-top: 2px;
    }

    footer .period-slider {
        margin-bottom: 38px;
    }

    footer .period-slider label {
        text-align: left;
    }

    footer .toggle-legend {
        margin-top: 22px;
    }
}
