/* Variables */
/* ========= */
/* Mixins */
/* ====== */
/* Layout */
/* ====== */
html {
  overflow-y: scroll;
  overflow-x: hidden;
  /* I do NOT want hz scroll */ }

body {
  overflow-y: initial;
  /* avoid the double scroll */ }

.article-wrap {
  margin-left: 222px; }

.article-content,
.sidebar {
  box-sizing: border-box;
  float: left;
  padding: 0; }

.sidebar:after,
.article-content:after {
  content: "";
  display: block;
  height: 5000px;
  position: fixed;
  top: 0; }

.article-content {
  border-color: white;
  border-style: solid;
  border-width: 0 0 0 0;
  width: 100%; }
  .article-content:after {
    left: 0;
    width: 100%;
    z-index: -1; }

.sidebar,
.sidebar:after {
  border-color: white;
  border-style: solid;
  border-width: 0 0 0 0;
  box-sizing: border-box;
  width: 222px;
  z-index: -1; }

.sidebar:after {
  left: 0; }

/* Header Bar */
/* ========== */
.navbar {
  border-radius: 0;
  height: 50px;
  line-height: 50px;
  background: #ededed;
  border: 0;
  border-bottom: 1px solid #d4d4d4;
  margin-bottom: 0;
  padding: 0 1em;
  transform-style: preserve-3d;
  padding-right: 2em;
  z-index: 100; }
  .navbar .dropdown-menu {
    right: -1px; }
    .navbar .dropdown-menu .divider {
      margin: 5px 0; }
    .navbar .dropdown-menu a {
      padding: 2px 7px; }
  .navbar .nav > li {
    border-left: 1px solid #d4d4d4;
    width: 60px;
    text-align: center; }
    .navbar .nav > li:last-child {
      border-right: 1px solid #d4d4d4; }
    .navbar .nav > li:nth-last-child(2) li a i {
      color: #d4d4d4; }
    .navbar .nav > li:nth-last-child(2) ul li.active a {
      background-color: transparent;
      color: #222;
      cursor: default; }
      .navbar .nav > li:nth-last-child(2) ul li.active a i {
        color: #179128; }
  .navbar h2 {
    line-height: 50px;
    margin: 0; }

/* Sidebar Navigation */
/* ================== */
.sidebar, .sidebar:after {
  background-color: #1e3d57;
  color: #f2f2f2; }
.sidebar .sidebar-header {
  display: block;
  border-radius: 0;
  height: 50px;
  line-height: 50px;
  border: 0;
  margin: 0;
  padding: 1em 0.5em;
  border-bottom: 1px solid #112231; }
  .sidebar .sidebar-header h1 {
    margin: 0;
    text-align: center; }
    .sidebar .sidebar-header h1 img {
      position: relative;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%); }
.sidebar .panel-group .panel {
  border-radius: 0;
  border-top: 1px solid #264d6e;
  border-bottom: 1px solid #112231;
  border-left: 0;
  border-right: 0;
  margin-top: 0; }
.sidebar .panel-heading {
  border-radius: 0;
  background-color: #1a354c;
  padding: 0;
  border: 0; }
  .sidebar .panel-heading a {
    color: #f1f1f1;
    font-size: 1.4rem;
    display: block;
    padding: 0.9rem;
    text-decoration: none; }
.sidebar .panel-body {
  overflow: auto;
  background-color: #1e3d57;
  padding: 0.5em 0;
  border-top: 1px solid #162d40 !important; }
  .sidebar .panel-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0; }
    .sidebar .panel-body ul li {
      margin: 0;
      font-size: 1.3rem; }
      .sidebar .panel-body ul li.active a, .sidebar .panel-body ul li.active span {
        background-color: #326590;
        cursor: default; }
  .sidebar .panel-body a, .sidebar .panel-body span {
    display: block;
    padding: 0.25em;
    padding-left: 2em;
    position: relative; }
    .sidebar .panel-body a i, .sidebar .panel-body span i {
      position: absolute;
      left: 14px;
      top: 50%;
      margin-top: -7px; }
    .sidebar .panel-body a:link, .sidebar .panel-body a:visited, .sidebar .panel-body span:link, .sidebar .panel-body span:visited {
      color: #f1f1f1;
      text-decoration: none; }
    .sidebar .panel-body a:hover, .sidebar .panel-body span:hover {
      background-color: #326590; }
    .sidebar .panel-body a:active, .sidebar .panel-body span:active {
      background-color: #275072; }
.sidebar i.fa-chevron-up {
  margin: 0; }
.sidebar .collapsed i.fa-chevron-up {
  transform: rotate(180deg); }
.sidebar.closed, .sidebar.closed:after {
  position: absolute;
  left: -220px; }

/* Main Content */
/* ============ */
.article-content {
  padding: 1.5rem;
  padding-top: 0; }
  .article-content h3, .article-content h4 {
    border-left: 0.7rem solid #c7c7c7;
    padding: 0.20rem 0;
    padding-left: 0.6rem;
    margin: 0;
    margin-left: -1.5rem; }
  .article-content h3 {
    color: #545454;
    margin-top: 4rem; }
    .article-content h3:first-child {
      margin-top: 2.5rem; }
  .article-content h4 {
    color: #b4b4b4;
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: 1.5rem; }
  .article-content .bootstrap-switch-handle-off .fa,
  .article-content .bootstrap-switch-handle-on .fa {
    vertical-align: -12%; }
  .article-content .bootstrap-switch-handle-on .fa {
    margin-left: -2px; }

.checkCol {
  width: 5em; }

/* Buttons  */
/* ======== */
.btn {
  border-radius: 3px;
  text-shadow: none;
  border: 1px solid #d8d8d8;
  box-shadow: none;
  padding: 0.5em;
  line-height: 1;
  margin-bottom: 12px;
  border-bottom: 1px solid #ccc;
  background-color: #eee; }
  .btn:hover {
    background-color: #e8e8e8; }
  .btn:focus, .btn:active, .btn:active:focus {
    box-shadow: inset 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
    outline: 0;
    border-color: #ccc; }

.btn-primary, .btn-success, .btn-info,
.btn-warning, .btn-danger, .btn-default {
  border: 0;
  padding: 8px 18px;
  font-weight: 500;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.35);
  line-height: 1.5; }
  .btn-primary:hover, .btn-success:hover, .btn-info:hover,
  .btn-warning:hover, .btn-danger:hover, .btn-default:hover {
    border-bottom-width: 3px; }
  .btn-primary:focus, .btn-primary:active, .btn-primary:active:focus, .btn-success:focus, .btn-success:active, .btn-success:active:focus, .btn-info:focus, .btn-info:active, .btn-info:active:focus,
  .btn-warning:focus,
  .btn-warning:active,
  .btn-warning:active:focus, .btn-danger:focus, .btn-danger:active, .btn-danger:active:focus, .btn-default:focus, .btn-default:active, .btn-default:active:focus {
    box-shadow: inset 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 11px;
    border-bottom: 0; }

.btn-default {
  background-color: #e8e8e8;
  color: #555;
  text-shadow: 1px 1px rgba(255, 255, 255, 0.45);
  border-bottom: 3px solid #c2c2c2; }
  .btn-default:hover {
    background-color: #f2f2f2;
    border-bottom-color: #c2c2c2; }
  .btn-default:focus, .btn-default:active, .btn-default:active:focus {
    background-color: #dbdbdb; }

.btn-primary {
  background-color: #326590;
  color: #fff;
  border-bottom: 3px solid #1e3d57; }
  .btn-primary:hover {
    background-color: #37709f;
    border-bottom-color: #1e3d57; }
  .btn-primary:focus, .btn-primary:active, .btn-primary:active:focus {
    background-color: #2b587d; }

.btn-success {
  background-color: #449c44;
  color: #fff;
  border-bottom: 3px solid #2d672d; }
  .btn-success:hover {
    background-color: #4aaa4a;
    border-bottom-color: #2d672d; }
  .btn-success:focus, .btn-success:active, .btn-success:active:focus {
    background-color: #3c8a3c; }

.btn-info {
  background-color: #31b0d6;
  color: #fff;
  border-bottom: 3px solid #1f7f9c; }
  .btn-info:hover {
    background-color: #42b7d9;
    border-bottom-color: #1f7f9c; }
  .btn-info:focus, .btn-info:active, .btn-info:active:focus {
    background-color: #27a2c6; }

.btn-warning {
  background-color: #ec971e;
  color: #fff;
  border-bottom: 3px solid #af6d0f; }
  .btn-warning:hover {
    background-color: #eea031;
    border-bottom-color: #af6d0f; }
  .btn-warning:focus, .btn-warning:active, .btn-warning:active:focus {
    background-color: #de8a13; }

.btn-danger {
  background-color: #c9312c;
  color: #fff;
  border-bottom: 3px solid #8a221e; }
  .btn-danger:hover {
    background-color: #d33b36;
    border-bottom-color: #8a221e; }
  .btn-danger:focus, .btn-danger:active, .btn-danger:active:focus {
    background-color: #b42c27; }

.btn-link {
  background-color: transparent;
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
  box-shadow: none;
  padding: 0;
  text-shadow: none; }
  .btn-link:hover {
    background-color: transparent;
    border-bottom: 0;
    text-decoration: underline; }
  .btn-link:focus, .btn-link:active, .btn-link:active:focus {
    background-color: transparent; }

/* Sidebar Toggle */
/* ============== */
html {
  height: 101%;
  width: 100%;
  display: table; }
  html body.full-screen {
    height: 100%;
    width: 100%;
    display: table-row; }
    html body.full-screen .article-wrap {
      margin-left: 0;
      display: table-cell;
      border-left: 5px solid #1e3d57; }
    html body.full-screen .sidebar, html body.full-screen .sidebar:after {
      position: absolute;
      left: -222px; }

/* Modal Styles */
/* ============== */
.dbSelectTable tr td {
  color: #888888;
  cursor: pointer; }
  .dbSelectTable tr td i.fa-check {
    color: #959595; }
.dbSelectTable tr.success td {
  color: #222; }
.dbSelectTable tr.success:hover td {
  background-color: #dff0d8;
  cursor: default; }
.dbSelectTable tr.success i.fa-check {
  color: #487f31; }
.dbSelectTable tr.info td {
  color: #6f6f6f; }

.bootstrap-dialog.type-primary .modal-header {
  background-color: #ededed; }
  .bootstrap-dialog.type-primary .modal-header .bootstrap-dialog-title {
    color: #818181;
    font-weight: 500; }

.modal-footer .btn {
  margin-bottom: 0; }

/* Language Selector */
/* ================= */
.language-selector .dropdown-menu a {
  text-align: center; }
.language-selector .dropdown-menu .active a, .language-selector .dropdown-menu .active a:hover {
  background-color: #275072;
  color: #f1f1f1;
  cursor: default; }
.language-selector .dropdown-menu .active a span {
  background-color: #1e3d57;
  color: #f1f1f1; }

/* Form Overrides */
/* ============== */
.form-horizontal label.control-label {
  text-align: left; }

.form-horizontal .checkbox-em {
  font-weight: bold; }

.form-horizontal .collapse-header {
  line-height: 1.5;
  margin: 3rem -1.5rem 1rem;
  background-color: #f7f7f7; }
  .form-horizontal .collapse-header:first-child {
    margin-top: 2rem; }
  .form-horizontal .collapse-header h3, .form-horizontal .collapse-header h4 {
    margin: 0; }
  .form-horizontal .collapse-header h3 {
    padding-top: 0.65rem; }
  .form-horizontal .collapse-header h4 {
    padding-bottom: 0.8rem; }
  .form-horizontal .collapse-header a {
    position: relative;
    display: block;
    text-decoration: none; }
    .form-horizontal .collapse-header a i {
      position: absolute;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      right: 1rem;
      color: #878787; }
    .form-horizontal .collapse-header a.collapsed i {
      transform-origin: 50% 25%;
      transform: rotate(180deg); }

.form-horizontal .collapse-body {
  z-index: 99999; }
  .form-horizontal .collapse-body select, .form-horizontal .collapse-body input {
    display: inline-block; }

/* Table Defaults */
/* ============== */
table.table-data tr th, table.table-data tr td {
  text-align: center; }
  table.table-data tr th:first-child, table.table-data tr td:first-child {
    text-align: left; }

/* Yuval's */
/* ======= */
form button.invalid,
form input.invalid,
form select.invalid,
form div.invalid,
form textarea.invalid,
form span.invalid {
  border-color: #e9322d;
  box-shadow: none;
  color: #B94A48; }
form input.invalid:focus,
form select.invalid:focus,
form textarea.invalid:focus {
  border-color: #e9322d;
  box-shadow: 0 0 6px #f8b9b7;
  color: #B94A48; }
form button.warning,
form input.warning,
form select.warning,
form div.warning,
form textarea.warning,
form span.warning {
  border-color: #debb2e;
  box-shadow: none;
  color: #debb2e; }
form input.warning:focus,
form select.warning:focus,
form textarea.warning:focus {
  border-color: #debb2e;
  box-shadow: 0 0 6px #debb2e;
  color: #debb2e; }

body > div.alert {
  border-radius: 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  position: fixed;
  top: -52px;
  z-index: 999999;
  width: 100%; }

input[readonly], input[disabled] {
  background-color: #eee; }

button[disabled] { color: darkgray; }

.glyphicon-move {
  cursor: move;
  cursor: -webkit-grabbing; }

.table {
  display: table; }

.row {
  display: table-row; }

.cell {
  display: table-cell; }

.btn-link.inactive {
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
  box-shadow: none;
  padding: 0;
  background-image: url("../../images/link_unactive.jpg");
  background-repeat: no-repeat;
  padding-left: 16px; }

.btn-link.active {
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
  box-shadow: none;
  padding: 0;
  background-image: url("../../images/link_active.jpg");
  background-repeat: no-repeat;
  padding-left: 16px; }

label[required]:after {
  content: '*';
  color: red; }

.link-dialog .modal-dialog {
  width: 80%;}

.linked-reports {
  background-color: white; 
  position: absolute; 
  display: none; 
  z-index: 1; 
  width: auto; 
  border: 1px solid #CCC;
  padding: 5px;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
.linked-reports table { 
  margin: 0; }
.linked-reports caption { 
  background-color: #eee;
  font-weight: bold; 
  padding: 5px;}
  
.sp-replacer.sp-light {
  display: block;
  width: 66px;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; }
  
.fontSelect, .btn-select {
  margin-left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  line-height: 1.42857143 !important;
  color: #555 !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !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;
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s !important;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s !important;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s !important; }
  
  .btn-select {
    margin-bottom: 0;}
  
  select.multiple-select + .btn-group {
    text-align:left; }
  select.multiple-select + .btn-group .btn {
  text-align: left; }
  

