﻿@keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@keyframes spin {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(360deg); } }

html {
  height: 100%;
  width: 100%;
  min-width: 0; }

body {
  padding-top: 50px;
  height: 100%;
  background-color: #FaFaFa; }

.navbar {
  margin-bottom: 0px;
  border-bottom-style: none;
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.1); }

.navbar-collapse, .navbar-inverse {
  background-color: #1f7bb6; }
  .navbar-collapse .navbar-nav hr:first-child, .navbar-inverse .navbar-nav hr:first-child {
    display: none; }
  .navbar-collapse .navbar-nav > li > a, .navbar-collapse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-nav > li > a:hover {
    color: white;
    opacity: 0.8; }
  .navbar-collapse .navbar-brand, .navbar-inverse .navbar-brand {
    color: white; }

.position-relative {
  position: relative; }

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal; }

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
  max-width: 280px; }
  input.oversized,
  select.oversized,
  textarea.oversized {
    max-width: none; }

.radio-styled {
  padding: 0 0 !important; }
  .radio-styled input[type="radio"] {
    display: none; }
    .radio-styled input[type="radio"] + .radio-label {
      opacity: 0.5;
      padding: 2.5px 2.5px; }
    .radio-styled input[type="radio"]:enabled + .radio-label:hover {
      opacity: 1;
      border-radius: 10px;
      background: #f2f2f2; }
    .radio-styled input[type="radio"]:enabled + .radio-label:before {
      content: '';
      /*background: lighten($control-color, 15%);*/
      border-radius: 100%;
      border: 1px solid #999999;
      display: inline-block;
      width: 1em;
      height: 1em;
      position: relative;
      vertical-align: text-top;
      cursor: pointer;
      text-align: center;
      transition: all 250ms ease;
      margin-right: 3px; }
    .radio-styled input[type="radio"]:enabled:checked + .radio-label {
      opacity: 1; }
      .radio-styled input[type="radio"]:enabled:checked + .radio-label:before {
        background-color: #999999;
        box-shadow: inset 0 0 0 3px white; }
    .radio-styled input[type="radio"]:disabled:checked + .radio-label {
      opacity: 1;
      font-weight: 600; }
    .radio-styled input[type="radio"]:disabled + .radio-label {
      cursor: default; }
      .radio-styled input[type="radio"]:disabled + .radio-label:before {
        visibility: hidden; }

.panel.dialog {
  margin-top: 25px; }
  .panel.dialog input.form-control {
    max-width: 100%; }

.control-label {
  font-weight: normal;
  color: #777;
  font-size: 13px;
  margin-bottom: 3px; }

.bold {
  font-weight: bold; }

.field-display {
  width: 100%;
  display: inline-block; }

.d-flex {
  display: flex; }

.flex-no-wrap {
  flex-wrap: nowrap !important; }

.flex-grow {
  flex-grow: 1; }

.vertical-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap; }

.vertical-center-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

.flex-column {
  display: flex;
  flex-direction: column; }

.vertical-bottom {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap; }

.wrapper {
  width: 100%;
  height: 100%;
  min-width: 0px; }

.page {
  width: 100%;
  height: 100%;
  display: flex;
  /*overflow: hidden;*/ }
  .page.hide-sidebar .sidebar {
    transform: translate(-250px, 0); }
  .page.hide-sidebar .main-content-wrapper {
    transform: translate(-250px, 0); }

.loading-background {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  transition: opacity ease-out 200ms;
  opacity: 0;
  display: none;
  z-index: 2000; }
  .loading-background.displayed {
    display: inline;
    display: initial; }
  .loading-background.visible {
    opacity: 0.5; }

.sidebar {
  display: flex;
  flex-direction: column;
  width: 250px;
  height: 100%;
  background-color: #FaFaFa;
  padding: 20px;
  transition: transform ease-out 200ms;
  /*box-shadow: inset 0 0px 3px 0 rgba(0,0,0,.14);*/
  z-index: 1000; }
  .sidebar ~ .main-content-wrapper {
    width: calc(100% - 250px); }
  .sidebar .sidebar-content {
    overflow-y: auto; }

.main-content-wrapper {
  height: 100%;
  overflow: hidden;
  width: 100%;
  transition: transform ease-out 200ms; }

.main-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: auto;
  border-left: 1px solid #eee; }

.action-bar {
  height: 90px;
  width: 100%;
  background-color: #FaFaFa;
  /*z-index: 1000;*/
  position: relative;
  /*padding-left: 45px;*/
  border-bottom: 1px solid #cacaca; }
  .action-bar.has-tabs {
    height: calc(90px + 25px);
    padding-bottom: 25px; }
    .action-bar.has-tabs + .main-content {
      height: calc(100% - (90px + 25px)); }
  .action-bar + .main-content {
    height: calc(100% - 90px) !important; }

.full-size {
  height: 100%;
  width: 100%; }

.full-height {
  height: 100%; }

.full-width {
  width: 100%; }

.action-buttons {
  margin-left: auto;
  order: 2; }

.action-bar-content {
  height: 100%;
  width: 100%;
  min-width: 0px; }

.sub-page {
  position: absolute;
  top: 0px;
  right: 0px;
  width: calc(100% - 300px);
  height: 100%;
  background: #F0F0F0;
  /*z-index: 1000;*/
  visibility: hidden;
  opacity: 0;
  /*transform:  matrix(0, 0, 0, 1, 0, 0);*/
  transition-delay: 500ms;
  transition: opacity ease-out 200ms,transform ease-out 300ms;
  /*overflow: hidden;*/
  padding-top: 50px; }
  .sub-page.visible {
    visibility: visible;
    opacity: 1;
    /*transform:  matrix(1, 0, 0, 1, 0, 0); //translate(0, 0);*/ }
  .sub-page .main-content {
    background: transparent; }

.close-sub-page {
  /*position: absolute;*/
  left: 0;
  top: 0;
  opacity: 0.2;
  margin: 8px;
  font-size: 36px;
  cursor: pointer; }
  .close-sub-page:hover {
    opacity: 0.4; }

.btn {
  border-radius: 3px; }
  .btn .glyphicon {
    color: #5a5a5a; }

.btn-default {
  background-color: #F0F0F0;
  border-color: #F0F0F0; }
  .btn-default:hover {
    background-color: #ccc; }

.btn-primary {
  color: #ffffff;
  background-color: #1384cc;
  border-color: #1384cc; }
  .btn-primary:hover {
    background-color: #1f7bb6; }

.btn-alt {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white; }
  .btn-alt:hover {
    background-color: #319035;
    border-color: #319035;
    color: white; }

.btn-danger-subtle {
  background-color: #F0F0F0;
  border-color: #F0F0F0; }
  .btn-danger-subtle:hover {
    background-color: #c9302c;
    border-color: #c9302c;
    color: white; }

.display-none {
  display: none; }

.CAV-icon {
  height: 30px;
  width: 30px;
  line-height: 35px;
  border-radius: 50%;
  background-color: #525658;
  color: white;
  text-align: center;
  margin: 0 auto; }

.panel-container {
  background: white;
  box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.2); }
  .panel-container.flat {
    box-shadow: none;
    border-bottom: 1px solid #eee; }

.change-fade {
  background-color: #c1ecff; }
  .change-fade.faded {
    transition: 1000ms ease-out background-color;
    background-color: white; }

.clickable-row {
  cursor: pointer;
  border: 1px solid #eee; }
  .clickable-row:hover {
    background-color: #FaFaFa; }

.vertical-margin {
  margin-top: 15px;
  margin-bottom: 15px; }

.vertical-padding {
  padding-top: 15px;
  padding-bottom: 15px; }

.grow-container {
  overflow: auto; }

.right-align {
  text-align: right; }

.self.editing {
  background-color: red; }

.padding-bottom {
  padding-bottom: 10px; }

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 5px solid #1384cc;
  border-radius: 50%;
  height: 74px;
  width: 74px;
  border-top-color: transparent;
  margin-top: -37px;
  margin-left: -37px;
  animation: spin 1s infinite linear; }
  .loading-spinner.small {
    height: 32px;
    width: 32px;
    border: 3px solid #1384cc;
    border-top-color: transparent;
    margin-top: -16px;
    margin-left: -16px; }
  .loading-spinner.contained {
    position: relative;
    top: 0%;
    left: 85%;
    height: 24px;
    width: 24px;
    border: 3px solid #1384cc;
    border-top-color: transparent;
    margin-top: -28px;
    margin-left: 0px; }

.btn.btn-small {
  padding: 0px; }

.dialog-section {
  padding-top: 1em; }

.form-control[readonly].dropdown {
  background-color: white; }

.form-inline.condensed .input-group .input-group-addon {
  width: 1%; }

.inline-cell {
  height: 35px; }

.popup-link {
  cursor: pointer; }
  .popup-link:hover {
    color: #1384cc; }

.cursor-pointer {
  cursor: pointer; }

.expander-row .popup-link:hover {
  color: #444; }

.expander-row.expanded .popup-link:hover {
  color: #1384cc; }

.no-max-width {
  max-width: none; }

@media only ascreen and (min-width: 1500px) {
  .container {
    max-width: 1300px; } }

@media only screen and (min-width: 992px) {
  .divider-right-md {
    border-right: 1px solid #eee; } }

@media only screen and (max-width: 768px) {
  .sub-page {
    width: 100%; } }

@media only screen and (max-width: 992px) {
  .divider-bottom-sm-max {
    border-bottom: 1px solid #eee; }
  .divider-right-sm-max {
    border-right: 1px solid #eee; } }

.custom-invalid {
  position: relative; }
  .custom-invalid input, .custom-invalid select, .custom-invalid textarea {
    border-color: #f44b65; }
  .custom-invalid input + .val-text, .custom-invalid select + div.val-text, .custom-invalid textarea + div.val-text {
    max-width: 280px; }
  .custom-invalid .val-text {
    color: #f44b65; }
  .custom-invalid .to-right {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px; }

.htSelectEditor {
  -moz-appearance: menulist !important; }

.material-switch {
  white-space: nowrap; }
  .material-switch input[type="checkbox"] {
    display: none; }
  .material-switch label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 30px;
    margin-right: 10px; }
  .material-switch .mr-10 {
    margin-right: 10px; }
  .material-switch .right {
    opacity: 0.25;
    transition: all 0.4s ease-in-out; }
  .material-switch .left {
    opacity: 1;
    transition: all 0.4s ease-in-out; }
  .material-switch label::before {
    background: black;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 12px;
    margin: auto;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 30px; }
  .material-switch label::after {
    background: white;
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 20px;
    left: -4px;
    margin: auto;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 20px; }
  .material-switch input[type="checkbox"]:checked + .info label::before {
    background: inherit;
    opacity: 0.5; }
  .material-switch input[type="checkbox"]:checked + .info label::after {
    background: inherit;
    left: 15px; }
  .material-switch input[type="checkbox"]:checked + .info .right {
    opacity: 1; }
  .material-switch input[type="checkbox"]:checked + .info .left {
    opacity: 0.25; }
