﻿body {
  font-size: 15px;
}

  body.login {
    background-image: none;
  }

  body.public {
    background-image: none;
    padding-top: 60px;
  }

.big {
  font-size: larger;
}

.mono {
  font-family: monospace;
}

dd {
  margin-left: 16px;
  margin-bottom: 6px;
}

.ellipsis {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.table td.ellipsis {
  display: block;
}

.row > .btn-group-lg {
  margin-bottom: 8px;
}

.navbar-brand {
  padding: 10px 15px;
}

  .navbar-brand > img {
    display: inline;
  }

.form-actions {
  padding-top: 10px;
  border-top: 2px solid #e7e7e7;
  margin-left: 15px;
  margin-right: 15px;
}

  .form-actions .btn + .btn {
    margin-left: 5px;
  }

.form-inline {
  display: inline-block;
}

.form-control.input-validation-error {
  border: 1px solid #ff4136;
}

.validation-summary-errors ul {
  margin-bottom: 0;
}

.modal-dialog {
  z-index: 1060;
}

#footer {
  border-top: 1px solid #e7e7e7;
  padding: 15px 0;
  margin-top: 15px;
}

  #footer img {
    vertical-align: middle;
  }

label {
  font-weight: normal;
}

.label-status-A {
  background-color: #17a544;
  color: #fff;
}

.label-status-N {
  background-color: #b30000;
  color: #fff;
}

.label-status-R {
  background-color: #000;
  color: #fff;
}

.label-status-S {
  background-color: #fbd10b;
  color: #fff;
}

.label-status-V {
  background-color: #268baf;
  color: #fff;
}

.form-control.has-error {
  border-color: #ff4136;
  color: #ff4136;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.form-group-inline label, .form-group-inline [class^="col-"] {
  padding-left: 0;
}

.has-error + .help-block {
  color: #ff4136;
}

.help-block {
  margin-bottom: 0;
}

.field-validation-error {
  color: #ff4136;
}

.license {
  height: 500px;
  overflow: auto;
}

.dl-form label {
  font-weight: bold;
  margin-top: 8px;
}

.dl-form input.form-control, .dl-form select.form-control {
  width: auto;
}

.select2-container-multi .select2-container {
  margin-bottom: 10px;
}

/*.select2-container-multi .select2-search-choice-close {
  left: auto !important;
}*/

.panel-body .dl-horizontal {
  margin-bottom: 0;
}

.panel a.btn-info {
  color: #fff !important;
}

.table-bordered > tbody > tr > td.noborder {
  border: none;
  background: transparent;
}

.table-bordered .dl-horizontal {
  margin-bottom: 0;
}

table.table > tbody > tr > td {
  vertical-align: middle;
}

.table-data th {
  width: 40%;
  text-align: right;
  font-weight: normal;
  color: #666;
}

.table-data td {
  width: 60%;
}

.table-data > tbody > tr > td, .table-data > tbody > tr > th {
  vertical-align: middle;
}

.table-calendar td {
  background: #fff;
}

.table-calendar thead th, .table-calendar .table-separator td {
  background: #0093dd;
  color: #fff;
}

.panel-body .table-data:last-of-type {
  margin-bottom: 0;
}

.text-center .img-responsive {
  margin-left: auto;
  margin-right: auto;
}


.renewal-course-report #data,
.renewal-course-report .form-actions,
.renewal-course-report .panel-summary .panel-footer {
  display: none;
}


.well-actions {
  background: #fafafa;
  border-radius: 0;
  border-width: 6px 0 0 0;
  margin-top: 20px;
}


/* Panels */

.panel-order {
  border-color: #004e94;
}

.panel-report {
  border-color: #00923f;
}

.panel-order > .panel-heading {
  background-color: #004e94;
  border-color: #004e94;
  color: #fff;
}

.panel-order a {
  color: #004e94;
}

.panel-report > .panel-heading {
  background-color: #00923f;
  border-color: #00923f;
  color: #fff;
}

.panel-report a {
  color: #00923f;
}


.overflow-700 {
  max-height: 700px;
  overflow-y: auto;
}

@media (min-width: 768px) {

  .table .dl-horizontal dt {
    float: none;
    text-align: left;
  }

  .table .dl-horizontal dd {
    margin-left: 10px;
    margin-right: 0;
  }
}

@media (max-width: 991px) {

  .form-group-inline [class^="col-"] {
    padding-right: 0;
  }

  .form-group-inline .form-control {
    margin-bottom: 6px;
  }
}


.align-middle {
  vertical-align: middle !important;
}


.w-full {
  width: 100%;
}

/** Flex */

/* container */
.flex {
  display: flex;
}

/* direction */
.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-col-r {
  flex-direction: column-reverse;
}

.flex-row-r {
  flex-direction: row-reverse;
}

/* wrap */
.flex.nowrap {
  flex-wrap: nowrap;
}

.flex.wrap {
  flex-wrap: wrap;
}

.flex.wrap-reverse {
  flex-wrap: wrap;
}

/* main axis */
.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

/* cross axis */
.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-baseline {
  align-items: baseline;
}

.align-stretch {
  align-items: stretch;
}

/* grow/shrink */
.flex-grow {
  flex-grow: 1;
}

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


/** Margini */
.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: 4px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 2px;
}

.mt-4 {
  margin-top: 4px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mr-0 {
  margin-right: 0;
}

.mr-4 {
  margin-right: 4px;
}

.mr-8 {
  margin-right: 8px;
}

.mr-12 {
  margin-right: 12px;
}

.gap-2 {
  gap: 2px;
}

.gap-4 {
  gap: 4px;
}

.gap-6 {
  gap: 6px;
}
