body {
    font-size: .875rem;
}

.fa {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}


/*
   * Sidebar
   */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 230px;
    z-index: 100;
    /* Behind the navbar */
    padding: 56px 0 0;
    /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 56px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .fa {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .fa,
.sidebar .nav-link.active .fa {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .sidebar {
        display: block!important;
    }
}


/*
   * Content
   */

[role="main"] {
    padding-top: 56px;
    /* Space for fixed navbar */
}


/*
   * Navbar
   */

.navbar-brand {
    font-size: 1.25rem;
    line-height: 56px;
    padding-bottom: 0;
    padding-top: 0;
    /*background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);*/
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


/*
   * Utilities
   */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.nav-link {
    padding-top: 0;
    padding-bottom: 0;
}

.mynav {
    width: calc(100%);
}

.board {
    padding-left: 230px;
}

@media (min-width: 768px) {
    .mynav {
        width: calc(100% - 230px);
    }
}

@media (max-width: 768px) {
    .board {
        padding-left: 0px;
    }
}

.mycard {
    border-radius: 0;
    -webkit-box-shadow: 0 2px 8px 0 rgba(219, 219, 219, 0.4);
    -moz-box-shadow: 0 2px 8px 0 rgba(219, 219, 219, 0.4);
    box-shadow: 0 2px 8px 0 rgba(219, 219, 219, 0.4);
}

.card-title {
    font-weight: 500;
    color: #203A45;
    font-size: 16px;
    line-height: 68px;
    margin-bottom: 0;
}

.card-heading {
    padding-left: 26px;
    padding-right: 26px;
}

.card-controls {
    float: right;
    line-height: 68px;
}

.card-body {
    padding: 0 26px 26px 26px;
}

.widget.collapsed {
    height: 68px;
    overflow: hidden;
    min-height: 68px;
}

.widget-minify {
    margin: 0 2px;
    color: #9B9B9B;
}

.widget-minify:hover {
    color: #6D6D6D;
}

.widget>.card-body {
    padding: 0 26px 26px 26px;
}

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

#secondmap {
    height: 250px;
    width: 100%;
}

.mydropdown {
    left: -60px;
}

.dropdown a,
.dropdown a:focus,
.dropdown a:active {
    outline: 0;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.widget {
    margin-bottom: 20px;
}

table.dataTable {
    border-spacing: 0;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 8px 10px;
}

table.dataTable.row-border tbody tr:first-child th,
table.dataTable.row-border tbody tr:first-child td,
table.dataTable.display tbody tr:first-child th,
table.dataTable.display tbody tr:first-child td {
    border-top: none;
}

table.dataTable.cell-border tbody tr:first-child th,
table.dataTable.cell-border tbody tr:first-child td {
    border-top: none;
}

table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: whitesmoke;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty {
    cursor: default !important
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before {
    display: none !important
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child,
table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child {
    position: relative;
    padding-left: 30px;
    cursor: pointer
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
    top: 9px;
    left: 4px;
    height: 14px;
    width: 14px;
    display: block;
    position: absolute;
    color: white;
    border: 2px solid white;
    border-radius: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    line-height: 14px;
    content: '+';
    background-color: #31b131
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
    content: '-';
    background-color: #d33333
}

table.dataTable.dtr-inline.collapsed>tbody>tr.child td:before {
    display: none
}

table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child,
table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child {
    padding-left: 27px
}

table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child:before,
table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child:before {
    top: 5px;
    left: 4px;
    height: 14px;
    width: 14px;
    border-radius: 14px;
    line-height: 14px;
    text-indent: 3px
}

table.dataTable.dtr-column>tbody>tr>td.control,
table.dataTable.dtr-column>tbody>tr>th.control {
    position: relative;
    cursor: pointer
}

table.dataTable.dtr-column>tbody>tr>td.control:before,
table.dataTable.dtr-column>tbody>tr>th.control:before {
    top: 50%;
    left: 50%;
    height: 16px;
    width: 16px;
    margin-top: -10px;
    margin-left: -10px;
    display: block;
    position: absolute;
    color: white;
    border: 2px solid white;
    border-radius: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    line-height: 14px;
    content: '+';
    background-color: #31b131
}

table.dataTable.dtr-column>tbody>tr.parent td.control:before,
table.dataTable.dtr-column>tbody>tr.parent th.control:before {
    content: '-';
    background-color: #d33333
}

table.dataTable>tbody>tr.child {
    padding: 0.5em 1em
}

table.dataTable>tbody>tr.child:hover {
    background: transparent !important
}

table.dataTable>tbody>tr.child ul {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0
}

table.dataTable>tbody>tr.child ul li {
    border-bottom: 1px solid #efefef;
    padding: 0.5em 0
}

table.dataTable>tbody>tr.child ul li:first-child {
    padding-top: 0
}

table.dataTable>tbody>tr.child ul li:last-child {
    border-bottom: none
}

table.dataTable>tbody>tr.child span.dtr-title {
    display: inline-block;
    min-width: 75px;
    font-weight: bold
}

div.dtr-modal {
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    padding: 10em 1em
}

div.dtr-modal div.dtr-modal-display {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    overflow: auto;
    margin: auto;
    z-index: 102;
    overflow: auto;
    background-color: #f5f5f7;
    border: 1px solid black;
    border-radius: 0.5em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6)
}

div.dtr-modal div.dtr-modal-content {
    position: relative;
    padding: 1em
}

div.dtr-modal div.dtr-modal-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border: 1px solid #eaeaea;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    z-index: 12
}

div.dtr-modal div.dtr-modal-close:hover {
    background-color: #eaeaea
}

div.dtr-modal div.dtr-modal-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    background: rgba(0, 0, 0, 0.6)
}

@media screen and (max-width: 767px) {
    div.dtr-modal div.dtr-modal-display {
        width: 95%
    }
}

.dataTables_wrapper {
    padding: 0!important;
}

.dataTables_scroll {
    padding-bottom: 11px;
}

.dataTables_info {
    white-space: pre-wrap!important;
}

.info-margin {
    margin-bottom: .5rem;
}

@media only screen and (max-width: 575px) {
    .dataTables_length {
        text-align: left!important;
    }
    .dataTables_filter {
        text-align: left!important;
    }
    .dataTables_info {
        text-align: left!important;
    }
    div.dataTables_paginate ul.pagination {
        justify-content: flex-start!important;
    }
}

aside .nav-link {
    padding-top: 6px;
    padding-bottom: 6px;
}

[uib-typeahead-popup].dropdown-menu li {
    padding: .2rem .75rem;
}

[uib-typeahead-popup].dropdown-menu li a:hover {
    text-decoration: none;
}

[uib-typeahead-popup].dropdown-menu li a {
    color: #495057;
}

.fade.in {
    opacity: 1;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-backdrop.in {
    filter: alpha(opacity=20);
    opacity: .2;
}

.modal {
    text-align: center;
    padding: 0!important;
}

.modal::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-content {
    border-radius: 0;
    border: none;
    -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .4);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .4);
}

.btn {
    border-radius: 0;
}

input {
    border-radius: 0!important;
}

.form-control {
    border-radius: 0;
}

.sparkline canvas {
    width: 100%!important;
}

.awesome-marker i {
    font-size: 20px;
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 768px) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 992px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

.card-columns .card {
    margin-bottom: 20px!important;
}

.measure-icon {
    display: block;
    margin: 0 auto;
}

th a {
    color: black;
}

th a:hover {
    text-decoration: none;
    color: rgba(0, 0, 0, .7);
}

/*a span {
    float: right;
}*/

.editDeviceModal .modal-dialog {
    width: 90%;
}