@import url("../node_modules/@fortawesome/fontawesome-free/css/all.css");
@import url("../node_modules/choices.js/public/assets/styles/choices.min.css");

body {
  color: #1c1c1c;
  background-color: #fff;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

html,
body {
  height: 100%;
}

#wrap {
  min-height: 100%;
}
div#customer-info {
  margin-top: 0.5em;
}

main {
  overflow: auto;
  padding-bottom: 50px;
}

a {
  color: #1c1c1c;
  text-decoration: none;
}

.row-no-padding>[class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

h2.title {
  margin: 2em 0;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 50px;
}

/* MAIN MENU START */
h1#logo {
  margin: 1em auto 0 auto;
  display: inline-block;
  font-size: 1em;
  text-align: center;
}

h1#logo a {
  display: block;
  text-decoration: none;
  background-color: #e42300;
  padding: 1em;
  color: #fff;
}

/* MAIN MENU START */
div#main-menu {
  -moz-box-shadow: inset 1px 4px 9px -6px #000;
  -webkit-box-shadow: inset 1px 4px 9px -6px #000;
  box-shadow: inset 1px 4px 9px -6px #000;
  background-color: #e42300;
  padding: 1em 0;
}

div#main-menu ul li a,
div#sub-menu ul li a {
  color: #fff;
}

div#main-menu ul li a.active,
div#sub-menu ul li a.active {
  font-weight: bold;
}

div#sub-menu {
  background-color: #2a2a2a;
  -moz-box-shadow: 0 4px 2px -2px #ccc;
  -webkit-box-shadow: 0 4px 2px -2px #ccc;
  box-shadow: 0 4px 2px -2px #ccc;
}

div.header {
  padding: 2em 0;
}

div#profile {
  margin-top: 1em;
}

div#profile img {
  max-width: 30px;
  margin-right: 1em;
}

/* MAIN MENU END */

div.content-wrapper {
  margin: 0 2em;
}

/* NPROGRESS */
#nprogress .bar {
  background-color: #da2300;
}

#nprogress .peg {
  box-shadow: 0 0 10px #da2300, 0 0 5px #da2300;
}

#nprogress .spinner-icon {
  border-top-color: #da2300;
  border-left-color: #da2300;
}

/* MISC */
form#fileupload,
form#roomImages,
form#rackImages {
  display: none;
}

.image-container a.delete-img {
  background-color: #ccc;
  color: #da2300;
  position: absolute;
  top: 20px;
  display: none;
  padding: 5px;
  right: 20px;
}

.image-container:hover a.delete-img {
  display: inline-block;
}

.image-container:hover a.delete-img:hover {
  color: #000;
}

table tbody#list-of-racks td.images a {
  display: none;
}

table tbody#list-of-racks td.images a:first-child {
  display: block;
}

table.table-hover a:hover {
  color: inherit;
  text-decoration: none;
}

table.table thead th {
  background-color: #fafafa;
  border-top: 0;
  font-weight: normal;
}

table.table tbody td {
  border: 0;
}

div.actions-menu {
  margin-top: 2em;
  font-size: 1.2em;
  line-height: 50px;
}

.btn {
  border-radius: 0;
}

.btn-fullsize {
  width: 100%;
}

.btn-success {
  background-color: #da2300;
  border: 1px solid #da2300;
  border-radius: 0;
}

.btn-success:hover {
  background-color: #ac3c27;
  border: 1px solid #ac3c27;
}

div#preview_sketch embed {
  width: 100%;
}

div.border-right {
  border-right: 1px solid #979797;
}

.bg-red {
  background-color: #ffecec !important;
}

.bg-red:hover {
  background-color: #fd9999 !important;
}

.bg-yellow {
  background-color: #feffc3 !important;
}

.bg-yellow:hover {
  background-color: #f5f786 !important;
}

.bg-green {
  background-color: #c9ffc5 !important;
}

.bg-green:hover {
  background-color: #87f77f !important;
}

.color {
  width: 20px;
  border-radius: 50%;
  height: 20px;
  display: inline-block;
}

img#sketch-img {
  max-height: 300px;
  width: auto;
}

span#timer-value {
  font-size: 3em;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

a#toggle-timer:hover {
  text-decoration: none;
  color: #1c1c1c;
}

div#sketch-container img {
  position: relative;
  z-index: 1;
}

div#sketch-container img:hover {
  cursor: crosshair;
}

div#sketch-container span.marker,
div#sketch-container a.marker {
  position: absolute;
  z-index: 9;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

table.table span.marker {
  display: inline-block;
  border-radius: 50%;
  width: 15px;
  height: 15px;
}

div#sketch-container span.marker.red,
table.table span.marker.red,
div#view_finding span.bg-red,
a.marker.red,
span.marker.red {
  background-color: red !important;
}

div#sketch-container span.marker.yellow,
table.table span.marker.yellow,
div#view_finding span.bg-yellow,
a.marker.yellow,
span.marker.yellow {
  background-color: yellow !important;
}

div#sketch-container span.marker.green,
table.table span.marker.green,
div#view_finding span.bg-green,
a.marker.green,
span.marker.green {
  background-color: green !important;
}

div#sketch-container span.marker.gray,
table.table span.marker.gray,
div#view_finding span.bg-gray,
a.marker.gray,
span.marker.gray {
  background-color: gray !important;
}

div#view_finding span.color {
  text-transform: uppercase;
  color: #fff;
  font: bold 15px/13px Helvetica, Verdana, Tahoma;
  height: 100px;
  min-width: 100px;
  padding: 4px 3px 0 3px;
  text-align: center;
  line-height: 90px;
}

footer {
  text-align: center;
  color: #ccc;
  font-size: 0.8em;
  position: relative;
  margin-top: -50px;
  height: 50px;
  clear: both;
  padding-top: 20px;
}

div#bottom-form {
  padding: 2em 0 4em 0;
}

figure.map-image img {
  position: relative;
}

figure.map-image a {
  position: absolute;
  display: inline-block;
  border-radius: 50%;
  width: 15px;
  height: 15px;
}

figure.map-image a.number {
  width: 25px;
  height: 25px;
  text-align: center;
  font-size: 0.8em;
  border: 2px solid transparent;
  color: #fff;
  text-decoration: none;
}

figure.map-image a.number:hover {
  text-decoration: none;
  color: #000;
  border: 2px solid #000;
}


ol.breadcrumb {
  background-color: #fff;
  font-size: 0.8em;
}

ol.breadcrumb a {
  color: #2a2a2a;
}

/** Autocomplete **/
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  left: 0;
  right: 0;
  padding-left: 15px;
  padding-right: 15px;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

table.table-sortable th:hover,
table th.sort-header:hover {
  cursor: pointer !important;
}

a.file_drop_link {
  display: block;
  text-decoration: none;
  border: 2px dashed #dedede;
  border-radius: 5px;
  background: #f5f5f5;
  padding: 1em;
}
a.file_drop_link.highlight {
  border: 2px dashed red !important;
}
.dropzone i{
  font-size: 5rem;
}
.dropzone .dz-message {
  color: rgba(0,0,0,.54);
  font-weight: 500;
  font-size: initial;
}

/** CUSTOM CHOICES.JS */
.choices__list--multiple .choices__item {
  border-radius: 10px !important;
  background-color: #da2300 !important;
  border: 1px solid #da2300 !important;
}
.choices__inner {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057 !important;
  background-color: #fff !important;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
}
.choices__input {
  background-color: #fff !important;
}

/** Chart labels **/
div.chart-label-doughnut {
  top: 52%; 
  left: 50%;
  font-size: 2em;
  transform: translate(-50%, -50%);
}
.bg-dark-red {
  background-color: #da2300 !important;
  color: #fff;
}
h1#logo-standalone {
  display: inline-block;
  padding: 1em;
  font-size: 1em;    
}