﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  background-color: #f5f5f5;
}
/*
 * Global add-ons
 */
.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.text-accent {
    color: #cc5500;
}

.full-screen .sidebar {
    display: none !important;
}

.full-screen .main {
    width: 100% !important;
    margin-left: 0 !important;
}

#comments .media-body p {
    white-space: pre-wrap;
}

.customer-comment {
    background-color: #f2dede !important;
}

/*
 * Sidebar
 */
/* Hide for mobile, show later */
.sidebar {
  position: fixed;
  top: 51px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: block;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
  background-color: #303030;
  border-right: 1px solid #eee;
  color: #fff;
}
.sidebar .panel {
  border-width: 0;
  border-radius: 0;
  background-color: #303030;
  background-color: transparent;
  margin-bottom: 10px;
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.sidebar > ul > li.expanded {
  border-left: #FF6A00 solid 5px;
  background-color: #404040;
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.sidebar > ul > li > a i.pull-right:before {
  vertical-align: middle;
}
.sidebar > ul > li > a i.pull-right {
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.sidebar > ul > li.expanded > a i.pull-right {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.form-horizontal .control-label-checkbox {
  padding-top: 0;
}
/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px;
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li a {
  color: #fff;
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > li a:hover,
.nav-sidebar > li a:focus {
  background-color: #404040!important;
  color: #fff;
}
.nav-sidebar > .active > a {
  color: #fff;
}
.nav-sidebar ul {
  background-color: #404040;
}
.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}
.navbar-header a {
  color: #fff!important;
}
.job-panel blockquote {
  overflow: hidden;
  font-size: 1em;
  height: 80px;
}
.control-select2 {
  width: 100%!important;
}
.nav-sidebar .nav a {
  padding-left: 45px;
  font-size: 90%;
}
.nav > .active > a {
  color: #fff;
}
.grid-edit-column {
  min-width: 45px;
}
.progress-bar[aria-valuenow="0"] {
  color: #777;
  background-color: transparent;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.progress-bar {
  min-width: 30px;
}
.table-advanced th {
  color: #2a6496;
}
.progress-bar {
  /*webkit-transition: none!important;*/
  transition: none!important;
}
.panel-primary .panel-heading {
  background-color: #428BCA;
}
.btn-primary {
  background-color: #428BCA !important;
  background-image: none;
}
.table thead th {
  color: #317EAC;
}
/* Tags */
div.tagsinput {
  border: 1px solid #CCC;
  background: #FFF;
  padding: 5px;
  width: 300px;
  height: 100px;
  overflow-y: auto;
}
div.tagsinput span.tag {
  border: 1px solid #ffffff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  display: block;
  float: left;
  padding: 5px;
  text-decoration: none;
  background: #3276B1;
  color: #ffffff;
  margin-right: 5px;
  margin-bottom: 5px;
  font-family: helvetica;
  font-size: 13px;
}
div.tagsinput span.tag a {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
}
div.tagsinput input {
  width: 80px;
  margin: 0px;
  font-family: helvetica;
  font-size: 13px;
  border: 1px solid transparent;
  padding: 5px;
  background: transparent;
  color: #000;
  outline: 0px;
  margin-right: 5px;
  margin-bottom: 5px;
}
div.tagsinput div {
  display: block;
  float: left;
}
.tags_clear {
  clear: both;
  width: 100%;
  height: 0px;
}
.not_valid {
  background: #FBD8DB !important;
  color: #90111A !important;
}
/* Colours */
.red {
  color: #90111a;
}
.bright-red {
  color: red;
}
.blue {
  color: #317EAC;
}
.green {
  color: green;
}
.grey {
  color: #cccccc;
}
/* Users */
.user-list {
  border-right: solid 1px #eeeeee;
  margin: 5px;
  padding: 5px;
  list-style: none;
  padding-right: 20px;
}
.user-list h2:hover {
  cursor: pointer;
  text-decoration: underline;
}
.user-list li {
  padding: 5px;
  margin: 5px;
  border-bottom: solid 1px #eeeeee;
}
.user-list li .middle-panel {
  padding-left: 10px;
  padding-bottom: 5px;
}
.user-list li .middle-panel h2 {
  padding: 0;
  margin: 0;
  font-size: 18px;
}
.user-list li .middle-panel p {
  margin: 2px;
}
.user-list .row .edit-options i {
  padding: 5px;
}
/* Configuration */
.info-popover:hover {
  cursor: pointer;
}
.btn-file {
  position: relative;
  overflow: hidden;
}
/* Form Validation */
.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}
.input-validation-error .select2-choices,
.input-validation-error-inline {
  border-color: #b94a48 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
  border-radius: 4px !important;
}
/* Data Tables */
table tr.even:hover {
  background-color: #D9EDF7 !important;
  cursor: pointer !important;
}
table tr.odd:hover {
  background-color: #D9EDF7 !important;
  cursor: pointer !important;
}
.table-overflow {
  overflow-y: auto;
  padding: 10px;
  position: relative;
}
.table-overflow > div {
  width: 200%;
  min-height: 200px;
}
.gantt-side {
  min-width: 100px;
}
.card {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  border: 1px solid #e3e3e3;
  border-top: 3px solid #e3e3e3;
  background-color: #fff;
}
.thumbnail-accent {
  height: 50px;
  width: 50px;
  border: 2px solid #FF6A00;
}
.kpi {
  overflow: hidden;
}
.kpi > span {
  display: block;
  color: #fff;
}
.kpi i {
  color: #fff;
  float: right;
  z-index: 0;
  margin-top: -33px;
  margin-right: -26px;
  -webkit-transform: rotate(15deg);
  -ms-transform: rotate(15deg);
  transform: rotate(15deg);
}
.kpi-green {
  background-color: #28a745 !important;
  border-color: rgba(0, 0, 0, 0.125);
}
.kpi-red {
  background-color: #dc3545 !important;
  border-color: rgba(0, 0, 0, 0.125);
}
.kpi-yellow {
  background-color: #ffc107 !important;
  border-color: rgba(0, 0, 0, 0.125);
}
.kpi-blue {
  background-color: #007bff !important;
  border-color: rgba(0, 0, 0, 0.125);
}
.RequestCreated,
.TicketCreated,
.Assigned,
.EngineerAssigned,
.InProgress,
.AwaitingCustomerResponse,
.Awaiting3rdPartyResponse,
.ReferredBack,
.Closed {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.RequestCreated:before {
    content: "\f005";
}
.TicketCreated:before {
  content: "\f005";
}
.Assigned:before {
  content: "\f007";
}
.EngineerAssigned:before {
  content: "\f00c";
}
.InProgress:before {
  content: "\f013";
}
.AwaitingCustomerResponse:before,
.Awaiting3rdPartyResponse:before {
  content: "\f017";
}
.Closed:before {
  content: "\f058";
}
.ReferredBack:before {
  content: "\f0a8";
}
.form-title {
  margin-top: 0;
}
.select2-container {
  width: 100%;
}
.select2-choices {
  background-image: none!important;
  border-radius: 4px;
  border: 1px solid #cccccc!important;
  height: 30px!important;
}
.select2-choice {
  background-image: none!important;
  border-radius: 4px;
  border: 1px solid #cccccc!important;
  height: 30px!important;
  font-size: 12px;
}
.select2-chosen {
  line-height: 30px!important;
}
.select2-arrow {
  background-image: none!important;
  border-left: 1px solid #cccccc!important;
  background-color: #f5f5f5!important;
}
.select2-arrow b {
  background-position-y: 1px!important;
}
.select2-search-choice {
  background-image: none!important;
  line-height: 12px!important;
  font-size: 12px;
  background-color: #f5f5f5!important;
}
.select2-input {
  height: 24px!important;
  font-size: 12px;
}
.select2-results .select2-highlighted {
  background: #f5f5f5;
  color: #31708f;
}
.select2-search-choice-close {
  top: 2px!important;
}
.has-error .form-control-feedback {
  display: block;
}
.has-error .select2-choices,
.has-error .select2-choice {
  border-color: #a94442!important;
}
.form-control-feedback {
  display: none;
}
select + .form-control-feedback {
  margin-right: 10px;
}
select[multiple] + .form-control-feedback {
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-right: 0;
}
.top-margin {
  margin-top: 10px;
}
.table-sm {
  font-size: 12px;
}
.event.workspace {
  background-color: #31708f;
}
.event.supplier {
  background-color: #8a6d3b;
}
#cal-week-box {
  z-index: 9999;
}
.kpi-number {
  width: 150px;
  height: 120px;
  border-radius: 15px;
  margin: auto;
  border-width: 1px;
  border-style: solid;
  padding: 15px;
}
.kpi-number h3 {
  font-size: 70px;
  margin: 0;
}
.kpi-number span {
  display: block;
}
.kpi-number-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.kpi-number-danger {
  background-color: #f2dede;
  border-color: #ebccd1;
}
.kpi-number-success h3 {
  color: #3c763d;
}
.kpi-number-danger h3 {
  color: #a94442;
}
.RequestCreated {
    color: #8a6d3b;
}
.TicketCreated {
  color: #31708f;
}
.Assigned {
  color: #31708f;
}
.EngineerAssigned {
  color: #31708f;
}
.InProgress {
  color: #8a6d3b;
}
.AwaitingCustomerResponse {
  color: #8a6d3b;
}
.Awaiting3rdPartyResponse {
  color: #a94442;
}
.ReferredBack {
  color: #8a6d3b;
}
.Closed {
  color: #3c763d;
}
.select2-offscreen + .form-control-feedback {
  margin-right: 15px;
  line-height: 32px;
}
.input-group + .form-control-feedback {
  margin-right: 30px;
  line-height: 32px;
}
#comments .checkbox > label {
  font-size: 10px;
  line-height: 20px;
}
.strikethrough {
  text-decoration: line-through;
}