html, body {
    background-color: #fff;
    color: #636b6f;
    font-family: 'Lato', sans-serif;
    font-weight: normal;
    height: 100vh;
    margin: 0;
    font-size: 14px;
}

* {
    box-sizing: border-box;
}

.ims-body {
    min-height: 100vh;
    width: 100vw;
}

.ims-body > .p-2 {
    padding: 0px !important;
}

.side-menu * {
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -ms-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
}

/* Main map */

.main-map {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gm-bundled-control, .gm-style-mtc {
    display: none !important;
}

/* Side Menu*/
.side-menu {
    position: relative;
    height: 100%;
    display: block;
    background: #061928;
    text-align: center;
    color: #fff;
    line-height: 2.4em;
}

.flex-column.align-items-stretch {
    height: 100%;
}

.side-menu > .d-flex > .p-2 {
    padding: 0.1em 0.7em !important;
    margin-bottom: 1em;
    border: 3px solid transparent;
}

.side-menu > .d-flex > .p-2 > i {
    font-size: 1.4em;
}

.side-menu > .d-flex > .p-2:hover {
    border-left-color: #D73C4F;
}

.initials {
    height: 2.4em;
    width: 2.4em;
    border-radius: 50%;
    background: #D73C4F;
    text-align: center;
    font-weight: 600;
    margin: 0px auto;
}

.img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 3.4em;
    width: 3.4em;
}

.side-menu > .d-flex > .p-2.logo-img {
    background: #000000;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}

/* Extended side bar */
.extended-side-menu {
    position: absolute;
    top: 0px;
    left: 5em;
    z-index: 999999;
    height: 100%;
    display: block;
    background: rgba(6, 25, 40, 0.97);
    color: #fff;
    max-width: 80vw;
    width: 0px;
    line-height: 2.4em;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
}

.extended-side-menu > .d-flex > .p-2 {
}

.extended-side-menu h1 {
    font-size: 1.3em;
    margin: 0px;
    line-height: 1.3em;
    text-transform: uppercase;
    font-weight: bold;
}

.extended-side-menu h2 {
    font-size: 1em;
    margin: 0px;
    padding: 0px 0.5em;
    text-transform: uppercase;
}

.extended-side-menu h1:before {
    content: '';
    position: relative;
    display: inline-block;
    height: 0.9em;
    width: 0.9em;
    background: rgb(255, 255, 255);
    border-radius: 0.1em;
    top: 1px;
    margin-right: 0.5em;
}

.extended-side-menu > .d-flex > .p-2.logo-img {
    background: #000000;
    padding: 1.5em 1em !important;
}

.p-2:hover > .extended-side-menu {
    width: 25em;
}

/* Switch list */
.switch-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: block;
}

.switch-list > li {
    padding: 0px;
    margin: 0px;
    font-weight: normal;
}

.switch-list > li label {
    margin: 0px;
    padding: 0px;
}

.switch-list input[type="checkbox"] {
    display: none;
}

.switch-list input[type="checkbox"]:checked + label {
    font-weight: bold;
}

.switch-list input[type="checkbox"]:checked + label .switch-toggle-ico {
    text-align: right;
    background: #D73C4F;
    border-color: #D73C4F;
}

.switch-list input[type="checkbox"]:checked + label .switch-toggle-ico:before {
    background: #fff;
}

.switch-list span {
    display: block;
}

.color-list-bullet {
    height: 0.8em;
    width: 0.8em;
    border-radius: 50%;
    background: #fff;
}

.color-list-line {
    height: 0.2em;
    width: 2em;
    background: #fff;
}

.tranparent-list-img {
    height: 1.4em;
    width: 1.4em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.switch-toggle-ico {
    width: 3em;
    height: 1.4em;
    border: 3px solid #aaa;
    border-radius: 1em;
}

.switch-toggle-ico:before {
    content: '';
    position: relative;
    display: inline-block;
    height: 0.7em;
    width: 0.7em;
    background: rgb(170, 170, 170);
    border-radius: 50%;
    top: -0.78em;
    margin: 0px 3px;
}

.switch-list > li label .p-2 {
    padding-bottom: 0.2em !important;
    padding-top: 0.2em !important;
}

.hr {
    border: 1px solid rgba(255, 255, 255, 0.0748981);
    padding: 0px !important;
    display: block;
    margin: 1em 0px;
}

/* Radio switch block */
.radio-switch-block {
    width: 100%;
    background: #fff;
    border-radius: 2em;
    margin: 1em 0px;
}

.radio-switch-block input {
    display: none;
}

.radio-switch-block label {
    border-radius: 2em;
    color: #aaa;
    text-align: center;
    margin: 3px 3px;
    padding: 0px !important;
}

.radio-switch-block input[type="radio"]:checked + label {
    background: #D73C4F;
    color: #fff;
}

/* Serach */
.search-box {
    /*position: absolute;
    top: -0.5em;
    left: 5em;
    z-index: 9999999;*/
    max-width: 80vw;
    width: 25em;
    color: #fff;
    text-align: left;
    overflow-x: hidden;
    background: transparent;
    padding: 0px;
    border: none;
    border-radius: 0px;
    box-shadow: none;
}

.search-box .search-input {
    outline: none;
    border: none;
    display: block;
    padding: 0.5em 1em;
    background: transparent;
    width: 100%;
    color: inherit;
    font-size: 1.2em;
    background: rgba(6, 25, 40, 0.97);

}

.search-results {
    margin: 0px;
    padding: 0px;
    list-style: none;
    margin-top: 1em;
    background: rgba(6, 25, 40, 0.97);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
}

.search-results li {
    padding: 0em 1em;
    color: #aaa;
}

.search-results li:hover {
    color: #fff;
    background: #000;
}


/* Infras popup */
.infras_popup {
    display: block;
    padding: 0px;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 40em;
}

.infras_popup .icon {
    height: 3em;
    width: 3em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.infras_popup h1 {
    margin: 0px;
    padding: 0px;
    font-size: 1em;
    font-weight: 600;
}

.infras_popup .label {
    width: 200px;
    font-size: 0.9em;
    font-weight: normal;
    text-align: right;
}

.infras_popup .data {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    text-align: left;
    width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
}

/* Overlay float */
.area-details-floater {
    position: fixed;
    top: 10vh;
    right: 4vw;
    min-width: 25em;
    max-width: 30em;
    z-index: 9999;
    padding: 1em 0px;
    text-align: center;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(80vh);
}

.area-details-floater h1 {
    display: block;
    padding: 0px 1em;
    font-size: 1.3em;
    color: #000;
    text-align: center;
    margin: 0px;
    padding-bottom: 0.8em;
    text-transform: capitalize;
}

.area-details-floater .hr {
    border-top: 1px solid #eee;
    margin: 0px;
}

.area-details-panel {
    padding: 0.8em 0.5em;
}

.area-details-panel h2 {
    font-size: 1em;
    font-weight: 700;
    color: #333;
    margin: 0px;
    text-transform: capitalize;
}

.area-details-panel .table {

}

.area-details-panel .table td, .area-details-panel .table th {
    border: none;
    font-size: 0.8em;
    font-weight: 700;
}

.area-details-panel .table td {
    padding: 2px 0.7em;
}

.table-img {
    height: 2em;
    width: 2em;
    display: block;
    margin: 0px auto;
    background-size: contain;
    background-position: center center;
}

.area-details-floater td .fas {
    margin-left: 4px;
}

.area-details-floater .fa-sort-amount-up {
    color: #090;
}

.area-details-floater .fa-sort-amount-down {
    color: #f00;
}

.bg-grey {
    background: #eee;
}

.area-details-panel .p-2 > .tab-list {
    background: #fff;
    padding: 0.6em 0.4em;
}

.area-details-panel .p-2 > .tab-list span {
    display: block;
    text-transform: capitalize;
    line-height: 1.2em;
    font-size: 0.9em;
    color: #000;
    font-weight: 600;
}

.area-details-panel .p-2 > .tab-list span.label {
    font-size: 0.7em;
    color: #333;
    font-weight: normal;
}

.area-details-panel ul.nav-tabs.d-flex {
    margin: 0.6em -0.5em 0px;
}

.area-details-panel .nav-tabs {
    border: none;
}

.area-details-panel .nav-tabs .nav-link {
    border: none;
    border-radius: 0px;
    color: #333;
}

.area-details-panel .nav-tabs .nav-link.active {
    border: 1px solid rgb(221, 221, 221);
    border-bottom: 1px solid #eee;
    background: #eee;
    color: #000;
}

.area-details-panel .tab-content {
    border: 1px solid rgb(221, 221, 221);
    border-top: 1px solid #eee;
    background: #eee;
    margin: 0em -0.5em 0px;
}

.chart-canvas-container {
    display: block;
    width: calc(100% - 1.4em);
    background: #ffF;
    margin: 0em 0.7em;
    margin-bottom: 0.5em;
    padding: 1em 1em 2em;
    border: 1px solid rgb(221, 221, 221);
}

.chart-canvas-container > canvas {
    display: block;
    width: calc(100% - 2em);
    margin: 0px auto;
}

.area-details-panel .tab-pane {
    padding-top: 0.5em;
}

.area-details-panel .btn-close {
    position: absolute;
    top: 0.8em;
    right: 1em;
    background: #eee;
    border-radius: 50%;
    height: 2em;
    width: 2em;
    text-align: center;
    line-height: 2em;
    cursor: pointer;
}

.popover {
    z-index: 99999;
}

/*.area-details-panel .tab-content .row div.col-6 .chart-canvas-container {
    width: 100%;
    margin-left: 0.5em;
}*/

/*Auth*/
.container {
    background: #061928;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel {
    width: 35vw;
    /*background-color: red;*/
    padding: 15px;
}

.panel-heading {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group .control-label {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.7;
}

.form-group .input-wrap {
    margin-top: 10px;
}

.form-group .has-error .input-wrap .form-control {
    border: 1px solid red;
}

.form-group .input-wrap .form-control {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100%;
    padding: 15px;
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid #ffffff;
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #061928 inset;
    transition: background-color 5000s ease-in-out 0s;
}

.link-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 30px;
}

.auth-btn {
    padding: 15px;
    background-color: #D73C4F;
    color: #ffffff;
    min-width: 40%;
    border: none;
    cursor: pointer;
}

.link {
    color: #ffffff;
    opacity: 0.5;
    text-decoration: none;
}

.help-block {
    color: red;
}

.alt-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.alt-auth span {
    color: #ffffff;
}

.alt-auth a {
    color: #D73C4F;
    text-decoration: none;
    margin-left: 5px;
}