/*
Author: Hariharan Arunachalam
Date: Jul 20, 2016 (11:58:56 PM)
Explicit author permission required before this code is reused for any purpose - more like please let me know :)
*/

/*
    Created on : Jul 20, 2016, 11:58:56 PM
    Author     : Hariharan
*/

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}



/*Push the logo on the top bar to the right a lil bit*/
#top-bar-menu .brand-logo {
    margin-left: 8px;
}

#top-bar-menu .lastupdated {
    margin-left: 25%; !important
}

#census-controls {
          top: 50%;
          left: 70%;
          width: 370px;
          height: 45px;
          display: block;
        }

#infrastructure-controls {
          top: 70%;
          left: 70%;
          width: 370px;
          height: 45px;
          display: block;
        }
#map-container {
    display: block;
    position: absolute;
    height: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 64px;
    z-index: 10;
}

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

.dashboard {
    display: block;
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    margin-top: 64px;
    width: 100%;
    height: 100%;
    z-index: 19;
    background-color: rgba(97, 97, 97, 0.5);
}

.dashboard .wrapper {
    margin: 8px;
    width: 99%;
    height: 90%;
}

/*Toolbar styles*/
.tool-bar {
    position: absolute;
    top: 15%;
    z-index: 18;
    padding: 4px 8px;
}

.tool-bar .card {
    margin: 2px 8px;
    padding: 8px;
}

.tool-bar .title {
    text-align: center;
}

.tool-bar .field {
    display: inline-block;
    padding: 8px 2px;
    vertical-align: top;
}

/* General Stuff */
.bold {
    font-weight: bold;
}

.inline-item {
    display: inline-block;
    margin-right: 2em;
}
.float-right {
    float: right;
}

.clickable {
    cursor: pointer;
}

.small-color-circle {
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    border: solid black 1px;
}

.small-color-square {
    width: 1em;
    height: 1em;
    border: solid #666 1px;
    margin-left: 0px;
    margin-right: 0px;
    display: inline-block;
}

/* Overriding materializeCSS stuff */

.btn.small {
    width: auto;
    height: 30px;
    padding: 0px 2px;
    font-size: small;
}

/*When inside the dashboard*/
.dashboard .wrapper {
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard .card .card-content {
    padding: 12px;
}

.dashboard .card .card-content .row {
    margin-left: 8px;
}

.dashboard .card .card-content .card-title {
    font-weight: bold;
}

.dashboard label, .tool-bar label {
    color: #333 !important;
    font-size: medium !important;
}

.dashboard .card.scrollable .card-content {
    height: 500px;
    overflow-y: scroll;
}

/* The input range control's thumb is out of place - so hide it '*/
.thumb.active {
    display: none !important;
}

/* Toolbar related */
.tool-bar .title {
    font-size: larger;
    font-weight: bold;
    padding: 6px 2px;
}

/* The layers toolbar */
#layers {
    min-width: 30%;
    left: 70%;
    top: 65px;

}


#layers .hidden {
    display: none;
}

#layers .color-box {
    padding: 0px;
}

#layers .color-box .inline-item {
    margin: 0.5px;
}

#layers .layer-options {
    border: dotted #666 1px;
    padding: 8px 4px;
    background-color: #EEE;
}

/* Info toolbar */
#info-bar {
    left: 1%;
    top: 15%;
    min-width: 20%;
    max-width: 35%;
}

.text-mid-align {
    vertical-align: super;
}

.header {
    font-weight: bold;
}

.layer .layer-options .row {
    margin-bottom: 1px;
}

.row.layer-options {
    margin-top: -20px;
}

.layer.header > .row {
    background-color: #BBB;
    padding: 6px;
}

.row.no-margin {
    margin-bottom: 0px;
}
