﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  /*padding-left: 15px;
  padding-right: 15px;*/
}

/* 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 widths on the form inputs since otherwise they're 100% wide */
input[type=password],
input[type=email] {
  max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  .jumbotron {
    margin-top: 20px;
  }
  .body-content {
    /* padding: 0;*/
  }
}
.margin-top-5 {
  margin-top: 5px;
}

.margin-bottom-5 {
  margin-bottom: 5px;
}

.margin-top-10 {
  margin-top: 10px;
}

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

.grid-button {
  position: absolute;
  top: 2px;
  right: 2px;
}

.row {
  margin-bottom: 5px;
}

.bold {
  font-weight: bold;
}

.modal-content-wrapper > iframe {
  width: 100%;
}

.alert {
  padding-top: 3px;
  padding-bottom: 3px;
}

.file-upload-control {
  overflow: hidden;
  line-height: 22px;
}

span.form-check {
  border: none !important;
  padding-left: 0;
  display: inline-block;
  margin-right: 5px;
}
span.form-check input[type=checkbox] {
  margin-right: 5px;
}

.card input[type=checkbox] {
  margin-right: 4px;
}
.card img {
  max-height: 160px;
  max-width: 120px;
}

table {
  font-size: 12px;
  border: none;
  /* specific width */
}
table.table {
  width: 100% !important;
}
table.table tr {
  width: 100%;
  display: table;
}
table.table tr[onclick] {
  cursor: pointer;
}
table.table > thead {
  display: block;
}
table.table > thead > tr {
  background-color: #F5F5F5;
}
table.table > thead > tr > th {
  font-weight: bold;
  border-bottom-width: 0;
}
table.table > tbody {
  display: block;
  min-height: rem-calc(32);
}
table.table > thead > tr, table.table > tbody > tr:not(.gv-pager) {
  border: solid 1px #DDDDDD;
  height: 37px;
}
table.table > thead > tr > th, table.table > thead > tr > td, table.table > tbody > tr:not(.gv-pager) > th, table.table > tbody > tr:not(.gv-pager) > td {
  vertical-align: middle;
}
table.table > thead > tr > th:not([colspan]), table.table > thead > tr > td:not([colspan]), table.table > tbody > tr:not(.gv-pager) > th:not([colspan]), table.table > tbody > tr:not(.gv-pager) > td:not([colspan]) {
  padding: 0;
}
table.table > thead > tr > th > div.wrapper, table.table > thead > tr > td > div.wrapper, table.table > tbody > tr:not(.gv-pager) > th > div.wrapper, table.table > tbody > tr:not(.gv-pager) > td > div.wrapper {
  padding-left: 5px;
  line-height: 30px;
  height: inherit;
}
table.table > thead > tr > th > div.wrapper, table.table > thead > tr > td > div.wrapper, table.table > tbody > tr:not(.gv-pager) > th > div.wrapper, table.table > tbody > tr:not(.gv-pager) > td > div.wrapper {
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: inherit;
}
table.table tr.gv-pager > td {
  border: none;
  padding: 0;
  padding-top: 17px;
}
table.table tr.gv-pager > td tr {
  border: none;
}
table.table tr.gv-pager > td tr td {
  height: 30px;
}
table.table tr.gv-pager > td tr td:not(.rowcount) {
  font-size: 13px;
}
table.table tr.gv-pager > td tr td:first-child span, table.table tr.gv-pager > td tr td:first-child a {
  margin: 0;
  border-radius: 3px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
table.table tr.gv-pager > td tr td:nth-last-child(2) span, table.table tr.gv-pager > td tr td:nth-last-child(2) a {
  border-radius: 3px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
table.table.table-hover > tbody > tr:hover {
  background-color: #EDF7FD;
}
table.table > thead > tr > th,
table.table > tbody > tr > th,
table.table > tfoot > tr > th,
table.table > thead > tr > td,
table.table > tbody > tr > td,
table.table > tfoot > tr > td {
  padding: 5px;
  position: relative;
}
table.table > tbody > tr > td span[data-val=true] {
  position: absolute;
  right: 10px;
  top: 15px;
}
table.table-scroll-y {
  display: block;
  max-height: 520px;
  overflow-y: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
table.table-scroll-x {
  display: block;
  max-width: 520px;
  overflow-x: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
table.table-scroll {
  display: block;
  max-width: 520px;
  max-height: 520px;
  overflow-x: auto;
  overflow-y: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
table tr.main-row td {
  background-color: #f7fbff;
  font-weight: bold;
}
table tr.toggle-allowed:hover {
  cursor: pointer;
}
table.table-fixed {
  width: 100%;
  table-layout: fixed;
}
table th, table td {
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
  /* specific width */
}
table th.col-auto, table td.col-auto {
  width: auto;
}
table th.col-auto-100, table td.col-auto-100 {
  width: auto;
  min-width: 100px;
  max-width: 100px;
}
table th.col-auto-200, table td.col-auto-200 {
  width: auto;
  min-width: 200px;
  max-width: 200px;
}
table th.col-20, table td.col-20 {
  width: 20px;
}
table th.col-25, table td.col-25 {
  width: 25px;
}
table th.col-30, table td.col-30 {
  width: 30px;
}
table th.col-40, table td.col-40 {
  width: 40px;
}
table th.col-50, table td.col-50 {
  width: 50px;
  min-width: 50px;
}
table th.col-60, table td.col-60 {
  width: 60px;
}
table th.col-70, table td.col-70 {
  width: 70px;
}
table th.col-80, table td.col-80 {
  width: 80px;
}
table th.col-90, table td.col-90 {
  width: 90px;
}
table th.col-100, table td.col-100 {
  width: 100px;
}
table th.col-110, table td.col-110 {
  width: 110px;
}
table th.col-120, table td.col-120 {
  width: 120px;
}
table th.col-150, table td.col-150 {
  width: 150px;
}
table th.col-160, table td.col-160 {
  width: 160px;
}
table th.col-170, table td.col-170 {
  width: 170px;
}
table th.col-180, table td.col-180 {
  width: 180px;
}
table th.col-200, table td.col-200 {
  width: 200px;
}
table th.col-220, table td.col-220 {
  width: 220px;
}
table th.col-250, table td.col-250 {
  width: 250px;
}
table th.col-300, table td.col-300 {
  width: 300px;
}
table th.col-400, table td.col-400 {
  width: 400px;
}
table th.col-check, table td.col-check {
  width: 16px;
  text-align: center !important;
}
table th.col-icon, table td.col-icon {
  width: 40px;
  text-align: center;
  padding: 0 !important;
}
table th.col-icon > *, table td.col-icon > * {
  vertical-align: text-top;
}
table div.thcontainer,
table div.tdcontainer {
  width: inherit;
  height: inherit;
  overflow: hidden;
  display: block;
}
table div.rowstate {
  display: block;
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 100%;
  background-color: #5bc0de;
}
table tr.navigate:hover {
  cursor: pointer;
}
table tr.gv-pager td span,
table tr.gv-pager td a {
  padding: 6px 12px;
  color: #808080;
  text-decoration: none;
  background-color: #eee;
  border: 1px solid #ddd;
  margin-left: -1px;
}
table tr.gv-pager td a {
  color: #337ab7;
  background-color: #fff;
}
table tr.gv-pager td a:hover {
  cursor: pointer;
  color: #337ab7;
  background-color: #eee;
}
table tr.gv-pager td.rowcount span {
  margin-left: 10px;
  border: none;
  background-color: transparent;
}
table tr.gv-pager:hover {
  background-color: transparent !important;
}
table.fixed-table-container.fixcolumn {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
}
table.fixed-table-container.fixcolumn .fixed-table-container-inner {
  width: auto;
  overflow-x: visible;
  overflow-y: visible;
}
table.fixed-table-container.fixheader {
  height: 200px;
  /* above is decorative or flexible */
  position: relative; /* could be absolute or relative */
  padding-top: 38px; /* height of header */
}
table.fixed-table-container.fixheader .fixed-table-container-inner {
  overflow-x: visible;
  overflow-y: auto;
  height: 100%;
}
table.fixed-table-container.fixheader .header-background {
  height: 39px; /* height of header */
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border: 1px solid #ddd;
}
table.fixed-table-container.fixheader thead {
  height: 0;
}
table.fixed-table-container.fixheader thead tr {
  height: 0;
}
table.fixed-table-container.fixheader thead th {
  margin: 0;
  padding: 0;
  border: 0;
}
table.fixed-table-container.fixheader thead th .th-placeholder {
  overflow: hidden;
  padding-left: 3px;
  width: inherit;
}
table.fixed-table-container.fixheader thead th .th-inner {
  position: absolute;
  top: 0;
  line-height: 38px; /* height of header */
  height: inherit;
  width: inherit;
  text-align: left;
  border-left: 1px solid #ddd;
  padding-left: 5px;
  margin-left: -1px;
}

label {
  font-weight: normal;
}
label.required {
  font-weight: bold;
}
label.required:after {
  content: " *";
}
label.has-error {
  color: #a94442;
}

.has-error.input-group-btn .btn, .has-error .input-group-btn .btn {
  border-color: #a94442;
  background-color: #f2dede;
}
.has-error .cke {
  border-color: #a94442;
}

.nav-tabs > li > a[data-toggle=tab].has-error {
  color: #a94442;
  border-left-color: #a94442;
  border-right-color: #a94442;
  border-top-color: #a94442;
  background-color: #f2dede;
}

.nav-pills > li > a[data-toggle=tab].has-error {
  color: #a94442;
  border-color: #a94442;
  background-color: #f2dede;
}
