﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all; /* */
  width: 350px; /* */
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

#map {
    /*height: 750px;/**/
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.infoWindowContent {
    font-size: 14px !important;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

@media (max-width: 768px) {
    #map {
        height: 300px; /**/
    }
}

@media (max-width: 350px) {
    #map {
        height: 240px; /**/
    }
}

#scrollable-area {
}

#showAssetIDTable {
    width: 100%;
    border-spacing: 0;
    margin: 0;
    padding: 0px;
}

    #showAssetIDTable th {
        border-left: 1px solid lightgray;
        border-top: 1px solid lightgray;
        border-bottom: 1px solid lightgray;
        background: white;
        text-align: center;
    }

    #showAssetIDTable td {
        /*border-left: 1px solid lightgray; /**/
        /*border-top: 1px solid lightgray; /**/
    }

#showAssetID {
    margin: auto;
    border: 2px solid #ccc;
    overflow-y: scroll; /* <-- here is what is important*/
    /*padding-left: 0.25rem; /**/
    /*padding-top: 0.25rem; /**/
    /*padding-bottom: 0.25rem; /**/
    padding-right: 0.0rem;
    font-size: 0.75rem;
    max-width: none;
    user-select: none;
    height: 100px;
}

.assetnormal {
    color: black;
    background-color: white;
}

.assetgps {
    color: black;
    background-color: yellow;
}

.assetpolling {
    color: black;
    background-color: lightgreen;
}

.assetselected {
    color: black;
    background-color: #ffc107;
}

.assetalarm {
    color: white;
    background-color: red;
}

.assetparked {
    color: black;
    background-color: lightblue;
}

.assetoffline {
    color: black;
    background-color: #c266ff;
}

#myAssetID {
    padding-left: 0.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-right: 0.0rem;
    font-size: 0.75rem;
    max-width: none;
}

.assetnormal {
    color: black;
    background-color: white;
}

.assetgps {
    color: black;
    background-color: yellow;
}

.assetpolling {
    color: black;
    background-color: lightgreen;
}

.assetselected {
    color: black;
    background-color: #ffc107;
}

.assetalarm {
    color: white;
    background-color: red;
}

.assetparked {
    color: black;
    background-color: lightblue;
}

.assetoffline {
    color: black;
    background-color: #c266ff;
}

.assethide {
    color: yellow;
    background-color: black;
    display: none;
}

#followingAssetID {
    width: 100%;
    color: black;
    background-color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    max-width: none;
}

.assetnormal {
    color: black;
    background-color: white;
}

.assetgps {
    color: black;
    background-color: yellow;
}

.assetpolling {
    color: black;
    background-color: lightgreen;
}

.assetselected {
    color: black;
    background-color: #ffc107;
}

.assetalarm {
    color: white;
    background-color: red;
}

.assetparked {
    color: black;
    background-color: lightblue;
}

#alarmAssetID {
    width: 100%;
    color: black;
    background-color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    max-width: none;
}

.assetnormal {
    color: black;
    background-color: white;
}

.assetgps {
    color: black;
    background-color: yellow;
}

.assetpolling {
    color: black;
    background-color: lightgreen;
}

.assetselected {
    color: black;
    background-color: #ffc107;
}

.assetalarm {
    color: white;
    background-color: red;
}

.assetparked {
    color: black;
    background-color: lightblue;
}

.assetoffline {
    color: black;
    background-color: #c266ff;
}

#FollowTable {
    text-align: center;
    vertical-align: middle;
    background-color: aliceblue;
}

@media (min-width: 768px) {
    #wrapasset {
        /*height: 100%; /**/
    }

    #wrapselectasset {
        border: 2px solid;
        border-color: lightgray;
        padding: 5px;
    }

    #wrapselectbuttons {
        padding-left: 10px;
        padding-right: 10px;
    }

    #wrapselectgroup {
        padding-left: 14px;
        padding-right: 10px;
    }

    #wrapselectfollow {
        padding-left: 10px;
        padding-right: 10px;
    }

    #wrapassetlarge {
        height: 35%;
        border-left: 2px solid;
        border-right: 2px solid;
        border-color: lightgray;
        padding: 5px;
    }

    #wrapalarmlarge {
        height: 25%;
        border: 2px solid;
        border-color: lightgray;
        padding: 5px;
    }

    #myAssetID {
        /*width: calc(100% - 5px); /**/
        /*height: 100%; /**/
        /*flex: 0 1 auto; /**/
    }

    #followingAssetID {
        /*height: 100%; /**/
    }

    #alarmAssetID {
        /*height: 100%; /**/
    }
}

p.nogap {
    margin: 0;
}

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    /*min-height: 100%;/**/
    /*height: auto !important;/**/
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -40px;
    /*background-color: burlywood;/**/
}

/* Set the fixed height of the footer here */
#push,
#footer {
    height: 60px;
}

#footer {
    background-color: #f5f5f5;
}

#wrapmap {
    /*min-height: 100%;/**/
    /*height: auto !important; /**/
    margin: 0 auto 10px;
    /*background: #4cff00;/**/
}

@media (min-width: 768px) {
    #wrapmap {
        height: calc(100% - 5px);
    }
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}



/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
    padding-top: 20px;
}

.container .credit {
    margin: 20px 0;
}

#wrap > .container-fluid {
    padding-top: 10px;
    height: 93%;
}

.container-fluid .credit {
    margin: 20px 0;
}

code {
    font-size: 80%;
}

/* Tabs CSS */
/*
ul:nth-of-type(2) {
    list-style: none;
    padding: 0;
    margin: 0;
}
li:nth-of-type(2) {
    float: left;
    border: 1px solid #000;
    border-bottom-width: 0;
    margin: 3px 3px 0px 3px;
    padding: 5px 5px 0px 5px;
    background-color: #CCC;
    color: #696969;
}
/* */

#setupTabsView {
    border: 1px solid black;
    clear: both;
    padding: 0 1em;
}

.active {
    background-color: red;
    color: white;
}

#reportsTabsView {
    border: 1px solid black;
    border-radius: 5px;
    clear: both;
    padding: 0 5px;
}
.active                                                                                                                                                                   {
    background-color: red;
    color: white;
}

/* Tables on History page */
.tabledatainput table {
    border: none;
    border-collapse: collapse;
    padding: 5px;
}

.tabledatainput th {
    border: none;
    border-collapse: collapse;
    padding: 5px;
}

.tabledatainput td {
    border: none;
    border-collapse: collapse;
    padding: 5px;
}

.tablehistorydata table {
    border: 1px solid grey;
    border-collapse: collapse;
    padding: 5px;
}

.tablehistorydata th {
    border: 1px solid grey;
    border-collapse: collapse;
    padding: 5px;
}

.tablehistorydata td {
    border: 1px solid grey;
    border-collapse: collapse;
    padding: 5px;
}

.tablehistorydata tr:nth-child(odd) {
    background-color: #f1f1f1;
}

.tablehistorydata tr:nth-child(even) {
    background-color: #ffffff;
}

/* SecEng Button */
.secengbutton {
    color: #000000;
    padding: 5px 15px 5px 15px;
    /*text-shadow: -2px 2px black; /* */
    background-color: lightgray;
    /* background-image: linear-gradient(top, #6496c8, #346392); /* */
    /* box-shadow: inset 0 0 0 1px #27496d; /* */
    border: none;
    border-radius: 7px;
}

    .secengbutton:hover {
        box-shadow: inset 0 0 0 1px #27496d,0 5px 15px #193047;
    }

    .secengbutton:active {
        box-shadow: inset 0 0 0 1px #27496d,inset 0 5px 30px #193047;
    }

.secengbutton-selected {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

    .secengbutton-selected:hover {
        color: #212529;
        background-color: #e0a800;
        border-color: #d39e00;
    }

    .secengbutton-selected:focus, .btn-selected.focus {
        box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
    }

    .secengbutton-selected.disabled, .secengbutton-selected:disabled {
        color: #212529;
        background-color: #ffc107;
        border-color: #ffc107;
    }

    .secengbutton-selected:not(:disabled):not(.disabled):active, .secengbutton-selected:not(:disabled):not(.disabled).active,
    .show > .secengbutton-selected.dropdown-toggle {
        color: #212529;
        background-color: #d39e00;
        border-color: #c69500;
    }

        .secengbutton-selected:not(:disabled):not(.disabled):active:focus, .secengbutton-selected:not(:disabled):not(.disabled).active:focus,
        .show > .secengbutton-selected.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
        }


.secengbutton-alarm {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.secengbutton-alarm:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.secengbutton-alarm:focus, .secengbutton-alarm.focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.secengbutton-alarm.disabled, .secengbutton-alarm:disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.secengbutton-alarm:not(:disabled):not(.disabled):active, .secengbutton-alarm:not(:disabled):not(.disabled).active,
.show > .secengbutton-alarm.dropdown-toggle {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.secengbutton-alarm:not(:disabled):not(.disabled):active:focus, .secengbutton-alarm:not(:disabled):not(.disabled).active:focus,
.show > .secengbutton-alarm.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}


.secengbutton-offline {
    color: black;
    background-color: #c266ff;
    border-color: #c266ff;
}

.secengbutton-offline:hover {
    color: black;
    background-color: #c266ff;
    border-color: #c266ff;
}

.secengbutton-offline:focus, .secengbutton-offline.focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.secengbutton-offline.disabled, .secengbutton-offline:disabled {
    color: black;
    background-color: #c266ff;
    border-color: #c266ff;
}

.secengbutton-offline:not(:disabled):not(.disabled):active, .secengbutton-offline:not(:disabled):not(.disabled).active,
.show > .secengbutton-offline.dropdown-toggle {
    color: black;
    background-color: #c266ff;
    border-color: #c266ff;
}
