﻿/* ########## FONT FACES ########## */
@font-face {
  font-family: "Calibri";
  src: url("../img/fonts/calibri.woff2") format("woff2");
}
@font-face {
  font-family: "Calibri";
  src: url("../img/fonts/calibri-bold.woff2") format("woff2");
  font-weight: bold;
}
@font-face {
  font-family: "Calibri";
  src: url("../img/fonts/calibri-italic.woff2") format("woff2");
  font-style: italic;
}
@font-face {
  font-family: "Calibri";
  src: url("../img/fonts/calibri-bolditalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
}

/* ########## LAYOUT ########## */
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: Calibri, Arial, sans-serif;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  padding: 0 24px;
}

body {
  color: #444;
}

.card,
.card-underlined {
  border: 1px solid #ced4da;
  border-radius: 5px;
  padding: 7.5px 15px;
  margin-bottom: 16px;
  background-color: #f0f0f0;
}

.card-underlined {
  border-bottom: 3px solid #2a7682;
  background-color: #f8f8f8;
}

.keyIcon {
  float: left;
  width: 25px;
  height: 25px;
}

.keyIconSmall {
  float: left;
  margin-top: 5px;
  margin-left: 5px;
  width: 15px;
  height: 15px;
}

.keyTextLarge,
.keyTextSmall {
  float: left !important;
  text-align: left !important;
  margin: 1px 0 10px 15px !important;
}

.keyTextLarge {
  width: 120px;
}

.keyTextSmall {
  width: 110px;
}

.alert {
  text-align: center;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

#overlay > p {
  position: absolute;
  width: 90%;
  top: 0;
  left: 0;
  font-size: 20px;
  text-align: center;
}

ui-loader {
  display: none !important;
}

.card-row {
  overflow: hidden;
  position: relative;
  display: table;
}

.card-row > .right {
  display: table-cell;
}

.card-row > .left {
  height: 100%;
  display: table-cell;
}

/* ########## NAV BAR ########## */
.navbar {
  padding: 0rem 0rem;
}

.nav-item li {
  margin-right: 3rem;
}

.nav-item a {
  margin-right: 2rem;
  margin-left: 2rem;
}

.navbar-brand {
  background: #2a7682;
  margin-right: 0rem;
  padding: 0.2rem 0.2rem;
}

.nav-link {
  text-transform: uppercase;
  padding: 1.5rem 10rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

.nav-item:hover {
  background: #2a7682;
}

.form-control-div {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background: white;
}

/* ########## TEXT ########## */
h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

h2 {
  font-size: 1.25rem;
  margin-top: 0;
}

label {
  margin: 0;
  font-weight: bold;
}

a,
a:not([href]) {
  color: #2a7682 !important;
  cursor: pointer;
}

a:hover,
a:active,
a:focus,
a:not([href]):hover,
a:not([href]):active,
a:not([href]):focus {
  color: #24656f !important;
  cursor: pointer;
  text-decoration: underline !important;
}

textarea {
  min-height: 38px;
}

.viewSubHeading {
  font-weight: bold;
  width: 125px;
  margin-left: 15px;
}

.viewSubHeading2 {
  width: 175px;
  margin-left: 15px;
}

.btn-sm > .fas {
  vertical-align: middle;
}

/* ########## MESSAGES ########## */
#welcomeMsg {
  float: right;
  text-align: right;
  color: white;
}

/* ########## BUTTONS ########## */
.btn-primary,
.btn-primary:focus {
  background-color: #2a7682;
  border: 2px solid #2a7682;
  color: white;
  outline: none !important;
  box-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: #24656f !important;
  color: white !important;
  border: 2px solid #24656f !important;
}

.btn-primary.active {
  background-color: #24656f !important;
  border-color: #24656f !important;
}

.btn-primary-outline,
btn-primary-outline:focus {
  background-color: white;
  color: #2a7682 !important;
  border: 2px solid #2a7682;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.btn-primary-outline:hover,
.btn-primary-outline:active {
  background-color: #24656f !important;
  border-color: #24656f !important;
  color: white !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  color: #fff !important;
}

.btn-secondary:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn-secondary-outline {
  background-color: white;
  color: #6c757d;
  border: 2px solid #6c757d;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:active,
.btn-secondary-outline:focus {
  background-color: #545b62 !important;
  border-color: #545b62 !important;
  color: white !important;
  outline: none !important;
  box-shadow: none !important;
}

.fa-building {
  color: rgba(255, 106, 0, 0.75) !important;
  font-size: 28px !important;
}

.fa-history {
  color: rgba(86, 61, 124, 0.75) !important;
  font-size: 28px !important;
}

.fa-clipboard {
  color: rgba(0, 123, 255, 0.75) !important;
  font-size: 28px !important;
}

.btn-danger {
  color: #fff !important;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

.btn-danger-outline,
.btn-danger-outline:focus {
  background-color: white;
  border: 2px solid #dc3545;
  color: #dc3545;
  outline: none !important;
  box-shadow: none !important;
}

.btn-danger-outline:hover,
.btn-danger-outline:active {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 0.25rem 0.4rem;
  font-size: 0.875rem;
  line-height: 0.5;
  border-radius: 0.2rem;
}

/* ########## TABS ########## */
.btn-group {
  background-color: #f8f8f8;
  margin-bottom: -1px;
  z-index: 999;
}

.btn-group > button {
  border-bottom: none;
}

.btn-group > .tabBtn.primary {
  background-color: #f8f8f8;
}

.btn-group > .tabBtn.secondary {
  background-color: #f0f0f0;
}

.btn-group > button.primary {
  border: none;
  border-top: #ced4da solid 1px;
  padding: 7.5px 13.5px;
  color: #2a7682;
}

.btn-group > button.primary:hover,
.btn-group > button.primary.active:hover {
  color: #fff;
  background-color: #24656f;
}

.btn-group > button.secondary {
  border: none;
  border-top: #ced4da solid 1px;
  padding: 7.5px 13.5px;
  color: #6c757d;
}

.btn-group > button.secondary:hover,
.btn-group > button.secondary.active:hover {
  color: #fff;
  background-color: #5a6268;
}

.btn-group > button:active,
.btn-group > button:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn-group > button.primary.active {
  color: #fff;
  background-color: #2a7682;
}

.btn-group > button.secondary.active {
  color: #fff;
  background-color: #6c757d;
}

.btn-group > button:first-child {
  border-top: #ced4da solid 1px;
  border-left: #ced4da solid 1px;
  border-top-left-radius: 0.25rem;
}

.btn-group > button:last-child {
  border-top: #ced4da solid 1px;
  border-right: #ced4da solid 1px;
  border-top-right-radius: 0.25rem;
}

.btn-group > button:first-child {
  border-bottom-left-radius: 0;
}

.btn-group > button:last-child {
  border-bottom-right-radius: 0;
}

.btn-group + .card-underlined {
  border-top-left-radius: 0;
}

.btn-group + .card {
  border-top-left-radius: 0;
}

/* ########## TABLES ########## */
th {
  font-size: 0.9rem;
}

td {
  font-size: 0.9rem;
}

.periodmenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.periodmenu li {
  float: left;
  margin-right: 2rem;
  height: 3em;
}

.periodmenu a {
  color: #2a7682;
  font-weight: bold;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.periodmenu a:hover {
  color: #fff;
  background: #2a7682;
  text-decoration: none;
}

.container-fluid {
  padding-top: 1.5rem;
}

.statusbox {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 5px;
}

.statusbox-table {
  text-align: center;
  height: 100%;
  height: 30px;
}

.statusbox h2 {
  font-size: 4rem;
}

.statusbox p {
  font-size: 1.5rem;
}

.statusbox-green {
  background: rgba(38, 127, 0, 0.75);
  color: #fff;
}

.statusbox-amber {
  background: rgba(255, 106, 0, 0.75);
  color: #fff;
}
.statusbox-blue {
  background: rgba(0, 132, 255, 0.75);
  color: #fff;
}

.statusbox-red {
  background: rgba(255, 0, 0, 0.75);
  color: #fff;
}

.statusbox-grey {
  background: rgba(128, 128, 128, 0.75);
  color: #fff;
}

td,
th {
  padding: 5px;
}

/* ########## CHECKBOX ########## */
.checkboxContainer {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkboxContainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #ced4da;
  border-radius: 3px;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

.checkmark.checkmark-white {
  background-color: white;
}

.checkboxContainer:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkboxContainer input:checked ~ .checkmark {
  background-color: #2a7682;
}

.checkboxContainer input:checked:disabled ~ .checkmark {
  background-color: #e9ecef;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkboxContainer input:checked ~ .checkmark:after {
  display: block;
}

.checkboxContainer .checkmark:after {
  left: 8px;
  top: 4px;
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ########## SLIDER ########## */
.ui-slider-horizontal .ui-slider-range {
  background-color: #cfebf0;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
  margin-top: 1px;
}

.ui-state-default:focus,
.ui-widget-content .ui-state-default:focus {
  background-color: #2a7682;
  outline: none !important;
  box-shadow: none !important;
}

.ui-state-default:active,
.ui-widget-content .ui-state-default:active {
  background-color: #2a7682;
  outline: none !important;
  box-shadow: none !important;
}

.slider-range {
  margin-left: 10px;
  margin-right: 10px;
}

.slider-range-min {
  margin-left: 10px;
  margin-right: 10px;
}

/* ########## FORMS ########## */
input {
  outline: none !important;
  box-shadow: none !important;
}

.img-thumbnail {
  max-width: 150px;
  margin: 6px;
  padding: 8px;
  cursor: pointer;
}

textarea {
  outline: none !important;
  box-shadow: none !important;
}

.textarea {
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  min-height: 38px;
}

/* ########## SWITCHES ########## */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.switchSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dc3545;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switchSlider:hover {
  background-color: #c82333;
}

.switchSlider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .switchSlider {
  background-color: #28a745;
}

input:checked + .switchSlider:hover {
  background-color: #218838;
}

input:focus + .switchSlider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .switchSlider:before {
  -webkit-transform: translateX(30px);
  -ms-transform: translateX(30px);
  transform: translateX(30px);
}

/* Rounded sliders */
.switchSlider.round {
  border-radius: 34px;
}

.switchSlider.round:before {
  border-radius: 50%;
}

/* ########## MAP ########## */
.leaflet-control-zoom-in,
.leaflet-control-zoom-in:hover {
  color: #000000 !important;
  text-decoration: none !important;
}

.leaflet-control-zoom-out,
.leaflet-control-zoom-out:hover {
  color: #000000 !important;
  text-decoration: none !important;
}

/* ########## MODAL WINDOW ########## */
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

.tc-text {
  height: 475px;
  overflow-y: scroll;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}
