﻿html {
    height: 100%;
}

body {
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #666;
}

body {
    padding-top: 50px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.clear-fix {
    height: 1px;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.modal textarea {
    max-width: 1000px;
}

.login {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fcfcfc+0,dedfe0+100 */
    background: #fcfcfc; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #fcfcfc 0%, #dedfe0 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, #fcfcfc 0%,#dedfe0 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, #fcfcfc 0%,#dedfe0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#dedfe0',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.inner {
    -webkit-transform: translate(-50%,-60%);
    transform: translate(-50%,-60%);
    position: absolute;
    top: 60%;
    left: 50%;
}

.inner img {
    display: block;
    margin: 0 auto;
    padding: 15px;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-signin > label {
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.bg-danger {
    background-color: #fc3c50 !important;
    color: #fff;
    border-radius: 0.3rem;
}

.navbar img {
    position: absolute;
    right: 50px;
    top: 0;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
}

.navbar {
    height: 50px;
    padding: 0 1rem;
    background-color: #404040 !important;
    color: #fff;
}

.navbar .navbar-brand, .navbar span {
    line-height: 50px;
    padding: 0 15px;
}

.navbar span {
    border-left: 1px solid #999;
    border-right: 1px solid #999;
}

.navbar span i {
    color: #999;
    padding-right: 10px;
}

.navbar-brand i {
    padding-right: 10px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 50px;
    line-height: 50px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

footer p, footer div {
    padding-left: 1rem;
}

.btn-primary {
    background-color: #fff;
    border-color: #a0a0a0;
    color: #444;
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.1);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #fff;
    border-color: #0d7fc2;
    color: #0d7fc2;
}

.breadcrumb {
    background: #fff;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    line-height: 49px;
    padding-top: 0;
}

.lead.bg-warning, .lead.bg-primary, .lead.bg-danger {
    padding-left: 10px;
    margin-bottom: 0;
}

.jumbotron {
    background-color: rgba(0,0,0,.03);
}

.table, .bootstrap-table {
    color: #666;
    margin-bottom: 2rem;
}

.table th {
    font-weight: 500;
    position: relative;
}

table thead {
    background-color: #e0e0e0;
}

th .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

th .order, th .order.dropup {
    position: absolute;
    right: 10px;
}

th .dropup .caret {
    content: "";
    border-top: 0;
    border-bottom: 4px solid;
}

.card-header {
    background-color: #e0e0e0;
}
/*.accordion .card-header label {
    margin-bottom: 0.5rem;
}*/
.card-title {
    margin-bottom: 0;
    font-weight: 400;
}

.card-header, .card-body {
    padding: 5px 10px;
}

.card-footer {
    line-height: 30px;
    padding: 5px 10px;
}

/*.home .card-body {
    padding-bottom: 1rem;
}*/

.card-text {
    margin-bottom: 0;
}

.card-subtext {
    font-size:0.7rem;
    padding-left: 20px;
}

/*.home .card-text {
    margin-bottom: 1rem;
}*/

.badge-primary {
    position: absolute;
    background: linear-gradient(to bottom, #11689b 0%,#0d7fc2 100%);
    right: 15px;
    top: 15px;
    font-weight: 300;
    text-indent: 0;
}

.card-text:last-child {
    margin-bottom: -0.4rem;
}

button, a, .form-control, .custom-control-input {
    box-shadow: none !important;
}

.custom-control-input:disabled ~ .custom-control-label {
    color: #666;
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before,
.custom-control-input:checked ~ .custom-control-label::before {
    background: linear-gradient(to bottom, #11689b 0%,#0d7fc2 100%);
    box-shadow: none !important;
}

.custom-control-input ~ .custom-control-label::before {
    box-shadow: none !important;
}

button .fa.fa-times {
    width: 16px;
}
/*.bootstrap-table {
    margin-top: -50px;
}*/
.bootstrap-table .table thead > tr > th {
    min-width: 80px;
}

.bootstrap-table .form-group {
    margin-bottom: 0;
}

.fixed-table-toolbar {
    margin-right: 2px;
}

.table-request, .table-user {
    position: relative;
    min-height: 52px;
}

.table-request .lead, .table-user .lead {
    position: absolute;
    width: 100%;
    top: 0;
    height: 42px;
    line-height: 42px;
}

.table-request .lead {
    position: relative;
}

.table-request .bootstrap-table .table thead > tr > th:nth-child(3) {
    min-width: 250px;
}

.table-request .bootstrap-table .table thead > tr > th:nth-child(9),
.table-request .bootstrap-table .table tbody > tr > td:nth-child(9) {
    text-align: center;
}

.fixed-table-toolbar .columns, .fixed-table-toolbar .search {
    margin-top: 2px;
}

.fixed-table-container tbody td {
    border-left: none;
    border-right: none;
}

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.mb-3 {
    margin-bottom: 30px !important;
}

.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.bg-warning {
    background-color: #ff931e !important;
}

.bg-danger {
    background-color: #fc3c50 !important;
    border-radius: 0;
}

.bg-primary {
    background-color: #0d7fc2 !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 26px;
    margin-bottom: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f2f2f2;
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid #9c9a9c;
    border-radius: 3px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 26px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background: linear-gradient(to bottom, #11689b 0%,#0d7fc2 100%);
}

.page-item .page-link {
    border-color: #a0a0a0;
    color: #666;
}

.page-item.active .page-link {
    background: linear-gradient(to bottom, #11689b 0%,#0d7fc2 100%);
}

.page-item .page-link:hover {
    background-color: #fff;
    border-color: #0d7fc2;
    color: #0d7fc2;
}

.page-item.active .page-link:hover {
    color: #fff;
}
/*input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}*/
input:checked + .slider:before {
    -webkit-transform: translateX(29px);
    -ms-transform: translateX(29px);
    transform: translateX(29px);
}

.dropdown-menu {
    padding: 0;
}

.dropdown-menu li.active {
    background: linear-gradient(to bottom, #11689b 0%,#0d7fc2 100%);
}

.dropdown-menu li.active a {
    color: #fff;
}

.dropdown-menu li.active:hover a {
    color: #666;
}

.dropdown-menu li:active a:focus {
    background-color: #fff;
    border-color: #0d7fc2;
    color: #0d7fc2;
}

/*.fixed-table-pagination .page-list {
    display: none !important;
}*/

/*!
 * Start Bootstrap - Simple Sidebar HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.sidebar-nav li a span {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#wrapper.toggled {
    padding-left: 200px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 200px;
    width: 0;
    height: 100%;
    margin-left: -200px;
    overflow-y: auto;
    background: #e0e0e0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 200px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 30px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -200px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 15px;
    line-height: 48px;
    background-color: #e0e0e0;
    border-top: 1px solid #c6c6c6;
    border-bottom: 1px solid #c6c6c6;
    position: relative;
}

.sidebar-nav li.active {
    background: linear-gradient(to right, #d6d6d6 0%,#e0e0e0 100%);
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #666;
}

.sidebar-nav .fa-users, .sidebar-nav .fa-list {
    font: normal normal normal 13px/1 FontAwesome;
}

.sidebar-nav li a i {
    text-indent: 0;
}

.sidebar-nav li.active a {
    color: #067fc2;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 200px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 200px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 50px;
    }

    #wrapper.toggled #sidebar-wrapper .sidebar-nav li a span {
        opacity: 0;
    }

    #page-content-wrapper {
        padding: 0 30px 30px 30px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
        padding-left: 80px;
    }
}

.modal-backdrop.show {
    opacity: .7;
}

.modal.modal-custom a.fa-times {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    text-decoration: none;
}

.modal-custom .modal-header, .modal-custom .modal-content {
    border: 0 none;
    background-color: transparent;
}

.modal-body {
    background-color: #fff;
    padding: 20px;
}

.modal.modal-custom .row {
    margin-right: -4px;
    margin-left: -4px;
}

.modal.modal-custom .col, .modal.modal-custom .col-md-8, .modal.modal-custom .col-md-4 {
    padding-left: 4px;
    padding-right: 4px;
}

.modal.modal-custom .card-body {
    position: relative;
    padding-bottom: 10px;
    padding-top: 5px;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.modal.modal-custom .card-body:last-child {
    border-bottom: 0;
}

.carousel-control-next, .carousel-control-prev {
    opacity: 0;
}

.carousel .carousel-caption {
    padding: 0;
    text-align: left;
    left: auto;
    right: auto;
    bottom: 0;
    width: 100%;
    background-color: #666;
    height: 50px;
    padding-top: 6px;
}

.carousel .carousel-caption p {
    padding: 0;
    margin: 0;
    padding-left: 10px;
    font-size: 0.85rem;
    line-height: 20px;
}

.carousel-indicators li {
    height: 5px;
}

.carousel-inner {
    background-color: #666;
}

.card-scrollable {
    max-height: 650px;
    overflow-y: auto;
}

.card-scrollable h5 {
    background-color: #666;
    color: #fff;
    text-indent: 5px;
    font-weight: 400;
}

.accordion {
    margin-top: 8px;
}

.card-header .fa {
    position: absolute;
    right: 10px;
    top: 10px;
}
.accordion > .card .card-header {
    border-bottom: 1px solid rgba(0,0,0,.125);
    margin-bottom: 0;
}

.accordion .card-text:last-child {
    margin-bottom: 0;
}

[data-toggle="collapse"] .fa:before {
    content: "\f055";
}

[aria-expanded="true"] .fa:before {
    content: "\f056";
}

[data-toggle="collapse"].collapsed .fa:before {
    content: "\f055";
}

.carousel img {
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    /*min-height: 600px;*/
    width: 100%;
}

.site-container {
    position: relative;
}

.site-image {
    margin-left: auto;
    margin-right: auto;
    /*min-height: 600px;*/
    /*width: 100%;*/
    position: relative;
}
/* Scaling of image in site overview - does not scale the sensor and lane icons so for now, commented out */
/*
.carousel img {
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;    
    width: auto;
    height: calc(100vh - 150px);
}
.site-container {
    position: relative;
    height: calc(100vh - 150px);
}
.carousel-item {
    position: relative;
    height: calc(100vh - 100px);
}
.site-image {
    height: 100%;
    width: auto;
}
*/
/*@media (min-width: 1200px) {
    .modal-xl {
         max-width: 800px; 
    }
}*/
.k-map {
    padding-left: 15px;
    height: 400px;
}

.search-partial {
    position: absolute;
    right: 2px;
    top: 2px;
}

.search-partial .btn-primary {
}

.card-body input {
    max-width: none;
}

.card-body.search-body {
    padding: 1.25rem 1.25rem 0.25rem 1.25rem;
}
/*[data-toggle="collapse"].collapsed .fa:before {
     content: none; 
}
[aria-expanded="true"] .fa:before {
    content: none;
}*/
[data-toggle="collapse"] .fa:before {
    content: "\f002";
}
[data-toggle="collapse"].collapsed .fa:before {
    content: "\f002";
}

iframe {
    /*for the report viewer*/
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}