/**
 * New dashboard toolbar well
 */
.well-toolbar {
  background-color:#d9edf7; 
  padding-bottom:0px;
  border:1px solid #C0D4DE;
}

/**
 * Dashboard panels
 * --------------------------------------------------
 */
.dash-panel {
  background-color: white;
  border: none;
          border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
     -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .2);

  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
}

.dash-panel .list-group {
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}
.dash-panel .list-group-item:first-child {
  border-top: 1px solid #e6e9ed;
}
.dash-panel-heading {
          border-radius: 4px 4px 0 0;

  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
}
.dash-panel-title {
  font-size: 14px;
  font-weight: normal;
  color: #434a54;
}
.dash-panel-body {
   position: relative;
   min-height:100px;  
   text-align:center;
}
.dash-panel-body > .value {
  display: inline-block;
  vertical-align: middle;
  padding-top:30px;
  font-size: 4em;
}
.dash-panel-footer {
  background-color: #e6e9ed;
  border-top-color: #e6e9ed;
          border-radius: 0 0 4px 4px;

  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
}
.dash-panel-default {
  border-color: #e6e9ed;
}
.dash-panel-default > .dash-panel-heading, .dash-panel-default > .dash-panel-body {
  color: #434a54;
  background-color: #e6e9ed;
  border-color: #e6e9ed;
}
.dash-panel-primary {
  border-color: #3bafda;
}
.dash-panel-primary > .dash-panel-heading, .dash-panel-primary > .dash-panel-body {
  color: white;
  background-color: #3bafda;
  border-color: #3bafda;
}
.dash-panel-primary.drilldown .dash-panel-body:hover {
  background-color: #2EA2CD;
  border-color: #2296C1;
}

.dash-panel-success {
  border-color: #8cc152;
}
.dash-panel-success > .dash-panel-heading, .dash-panel-success > .dash-panel-body  {
  color: white;
  background-color: #8cc152;
  border-color: #8cc152;
}
.dash-panel-success.drilldown .dash-panel-body:hover {
  background-color: #7FB445;
  border-color: #73A839;
}

.dash-panel-info {
  border-color: #37bc9b;
}
.dash-panel-info > .dash-panel-heading, .dash-panel-info > .dash-panel-body  {
  color: white;
  background-color: #37bc9b;
  border-color: #37bc9b;
}
.dash-panel-info.drilldown .dash-panel-body:hover {
  background-color: #2AAF8E;
  border-color: #1EA382;
}

.dash-panel-warning {
  border-color: #f6bb42;
}
.dash-panel-warning > .dash-panel-heading, .dash-panel-warning > .dash-panel-body  {
  color: white;
  background-color: #f6bb42;
  border-color: #f6bb42;
}
.dash-panel-warning.drilldown .dash-panel-body:hover {
  background-color: #E9AE35;
  border-color: #DDA229;
}

.dash-panel-danger {
  border-color: #da4453;
}
.dash-panel-danger > .dash-panel-heading, .dash-panel-danger > .dash-panel-body  {
  color: white;
  background-color: #da4453;
  border-color: #da4453;
}
.dash-panel-danger.drilldown .dash-panel-body:hover {
  background-color: #CD3746;
  border-color: #C12B3A;
}

.dash-panel-primary > .dash-panel-body, .dash-panel-success > .dash-panel-body, .dash-panel-info > .dash-panel-body, .dash-panel-warning > .dash-panel-body, .dash-panel-danger > .dash-panel-body {
  color: white;
}
.dash-panel > .list-group:first-child .list-group-item:first-child, .dash-panel > .table:first-child, .dash-panel > .table-responsive:first-child > .table:first-child {
          border-radius: 4px 4px 0 0;

  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
}
.dash-panel > .list-group:last-child .list-group-item:last-child {
          border-radius: 0 0 4px 4px;

  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
}
.dash-panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .dash-panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .dash-panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .dash-panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .dash-panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .dash-panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .dash-panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .dash-panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
          border-radius: 4px 0 0 0;

  -webkit-border-radius: 4px 0 0 0;
     -moz-border-radius: 4px 0 0 0;
}
.dash-panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .dash-panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .dash-panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .dash-panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .dash-panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .dash-panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .dash-panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .dash-panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
          border-radius: 0 4px 0 0;

  -webkit-border-radius: 0 4px 0 0;
     -moz-border-radius: 0 4px 0 0;
}
.dash-panel > .table:last-child, .dash-panel > .table-responsive:last-child > .table:last-child {
          border-radius: 0 0 4px 4px;

  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
}
.dash-panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .dash-panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .dash-panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .dash-panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .dash-panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .dash-panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .dash-panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .dash-panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
          border-radius: 0 0 0 4px;

  -webkit-border-radius: 0 0 0 4px;
     -moz-border-radius: 0 0 0 4px;
}
.dash-panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .dash-panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .dash-panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .dash-panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .dash-panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .dash-panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .dash-panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .dash-panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
          border-radius: 0 0 4px 0;

  -webkit-border-radius: 0 0 4px 0;
     -moz-border-radius: 0 0 4px 0;
}
.dash-panel > .dash-panel-body + .table, .dash-panel > .dash-panel-body + .table-responsive {
  border-top-color: #e6e9ed;
}


/****
 * iCheckboxFlat
 */
.icheckbox_flat,
.iradio_flat {
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0 !important;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
  background: url("../bootflat/img/check_flat/default.png") no-repeat;
  border: none;

  *display: inline;
}

.icheckbox_flat {
  background-position: 0 0;
}
.icheckbox_flat.checked {
  background-position: -22px 0;
}
.icheckbox_flat.disabled {
  cursor: default;
  background-position: -44px 0;
}
.icheckbox_flat.checked.disabled {
  background-position: -66px 0;
}

.iradio_flat {
  background-position: -88px 0;
}
.iradio_flat.checked {
  background-position: -110px 0;
}
.iradio_flat.disabled {
  cursor: default;
  background-position: -132px 0;
}
.iradio_flat.checked.disabled {
  background-position: -154px 0;
}

/*    *******************************************
 *          Tasks with corrello classes
 */
 
.task.done{
  border-left: 3px solid #30d91a;
}

.task.overdue{
  border-left: 3px solid #da4453;
}
  
.task.due{
  border-left: 3px solid #f6bb42;
}


/*    *******************************************
 *          Labels with corrello classes
 */

.label-done {
  background-color: #5cb85c;
  padding-top: 2px;
  padding-bottom: 2px;
}
.label-due {
  background-color: #f0ad4e;
  padding-top: 2px;
  padding-bottom: 2px;
}
.label-overdue {
  background-color: #d9534f;
  padding-top: 2px;
  padding-bottom: 2px;
}

.label-round {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;  
  border-radius: 2px !important;
  display: inline-block;
}

.label-round-empty {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;  
  border-radius: 2px !important;
  border: 1px dotted black;
  display: inline-block;
}

/*    *********************************************
 *        Feature block colour overrides
 */
.b-green {
  background:#8cc152;
}

/*    *********************************************
 *        Button styles
 */
a.btn-default {
  background: #DDDDDD;
}

/*    *********************************************
 *        Good and Bad things get text color
 */
.good {
  color: #8cc152;
}

.bad {
  color: #da4453;
}


/**
 *  PRE tags word wrapping
 *  http://stackoverflow.com/questions/248011/how-do-i-wrap-text-in-a-pre-tag
 */
pre {
    white-space: pre-wrap;       /* CSS 3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
} 

/**************************************
 * a tags (improving on default from style.css)
 */
a.link {
  text-decoration: underline;
} 

/*  **************************************
 *    date picker
 */
td.day {
  color:#333;
}

td.day.disabled {
  color:#999;
}

/**************************************
 * form validation
 */

input.hasError {
    border-color: #a94442 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483
}

.errorMessage {
    font-size: 0.7em;
    color: #a94442;
}

.with-errors li {
    padding: 0 !important;
}

.has-error .form-control {
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}

.text-muted {
    color: #9a9a9a;
}


/**********************************
 * common components
 */

.loading-glass {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 99;
}

.locked-content-glass {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 95;
}

.loading-glass-indicator {
  text-align: center;
  width: 100%;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  opacity: 1;
  font-size: 19px;
}


.nav-elastic {
  margin-bottom: 10px;
}

.nav-elastic > li > a {
  padding: 15px 5px;
}

@media (min-width: 768px) {
  .nav-elastic {
    margin-bottom: 0;
  }

  .nav-elastic > li {
    float: none;
    line-height: 22px;
  }
  .nav-elastic > li + li {
    /*margin-top: 2px;*/
    margin-left: 0;
  }
}

.sort-indicator-disabled {
  color: lightgrey;
}

.corrello-modal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1040;
}

.corrello-modal > * {
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.498039) 0px 5px 15px 0px;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  overflow-y: visible;
}

.corrello-modal > .scrollable {
  max-height: 75vh;
}

.corrello-label-gauge {
  display: inline-block;
  background-color: #eee;
  padding: .2em 0;
}

.corrello-main-menu>li>a {
  color: #666 !important;
}

.corrello-main-menu>li.active>a {
  color: white !important;
}

.rc-time-picker-panel-select,.rc-time-picker-panel-inner{
  font-size: 18px;
}

.alternate-children > *:nth-child(even) {
  background-color: #eee;
}

.corrello-flash-popup {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
}

.fade-enter {
  opacity: 0.01;
}

.fade-enter.fade-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.fade-appear {
  opacity: 0.01;
}

.fade-appear.fade-appear-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.fade-leave {
  opacity: 1;
}

.fade-leave.fade-leave-active {
  opacity: 0.01;
  transition: opacity 500ms ease-in;
}

.slide-down-enter {
  /*transform-origin: top;
  transform: scaleY(0);*/
  max-height: 0;
  transition-duration: 1s;
}

.slide-down-enter.slide-down-enter-active {
  max-height: 10000px;
  transition-duration: 1s ease-in;
}

.slide-down-appear {
  max-height: 0;
  transition-duration: 1s;
}

.slide-down-appear.slide-down-appear-active {
  max-height: 10000px;
  transition-duration: 1s ease-in;
}

.slide-down-leave {
  max-height: 10000px;
  transition-duration: .5s;
}

.slide-down-leave.slide-down-leave-active {
  max-height: 0;
  transition-duration: .5s ease-in;
}

.section-header {
  border-bottom: 1px solid #bbb;
}

/**********************************
 * Dirty Hacks !!!
 */

 /* Make sure active header button gets right color */
.btn-primary-important {
  color: #fff !important;
  background-color: #428bca !important;
  border-color: #357ebd !important;
 }

.chart-padding-fix {
  padding: 15px 2px 40px 24px;
}

/* Fix for react-select input border */
.Select-input input {
  border: none !important;
}

.has-error .Select-control {
  border-color: #a94442 !important;
}

.Select-value-label {
  color: #555 !important;
}

.icheckbox_flat.focused {
  box-shadow: 0px 0px 5px 2px Highlight;
  -webkit-box-shadow: 0px 0px 5px 2px Highlight;
}

/* do not group these rules */
input.form-control::-webkit-input-placeholder {
    color: #aaaaaa !important;
}
input.form-control:-moz-placeholder {
    /* FF 4-18 */
    color: #aaaaaa !important;
}
input.form-control::-moz-placeholder {
    /* FF 19+ */
    color: #aaaaaa !important;
}
input.form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: #aaaaaa !important;
}

/***** IOS TOGGLE *****/

input.ios-toggle {
  outline: none !important;
  margin: 0;
  display: inline-block;
  position: relative;
  cursor: pointer;
  /* box-shadow: inset 0 0 0px 1px #d5d5d5; */
  border-width: 1.5px !important;
  border-style: solid !important;
  border-color: #d5d5d5 !important;
  box-sizing: border-box;
  text-indent: -5000px;
  height: 25px;
  width: 42px;
  border-radius: 15.5px !important;
  -webkit-appearance: none;
}

input.ios-toggle[disabled] {
  opacity: 0.6;
}

input.ios-toggle:checked {
  border-color: rgba(76,217,100,1);
  -webkit-transition: .25s cubic-bezier(0.77, 0, 0.175, 1);
}

/* background OFF */

input.ios-toggle:before {
  content: "";
  position: absolute;
  display: block;
  height: 22px;
  width: 28px;
  border-radius: 14px;
  top: 0px;
  left: 0px;
  background: rgba(19,191,17,0);
  box-sizing: border-box;
  -webkit-transition: .25s cubic-bezier(0.77, 0, 0.175, 1);
}

/* button OFF */

input.ios-toggle:after {
  content: "";
  position: absolute;
  display: block;
  height: 22px;
  width: 22px;
  top: 0px;
  left: 0px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 0px 1px rgba(0,0,0,.4), 0 4px 2px rgba(0,0,0,.1);
  -webkit-transition: .2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* background ON */

input.ios-toggle:checked:before {
  width: 40px;
  background: #5cb85c; /* Old browsers */
  background: linear-gradient(to left,  rgba(89,181,89,1) 0%,rgba(73,211,97,1) 100%); /* W3C */
}

/* button ON */

input.ios-toggle:checked:after {
  left: 18px;
}

.hover_grey:hover {
  background:lightgrey;
}

.navbar-brand {
  margin-top: -6px;
  width: 130px;
}