html,
body {
  height: 100%;
}
body {
  background: #333;
  font-family: Roboto, sans-serif;
  font-size: 16px;
}
h1 {
  font-size: 26px;
  color: #005b86;
  padding: 0;
  margin-bottom: 15px;
}
h1 strong {
  color: #eb7f24;
}
.btn {
  margin-bottom: 5px;
}
.container,
.container-fluid {
  background: #fff;
  padding: 15px 40px;
}
.container-fluid {
  max-width: 80%;
  min-height: 100vh;
}
.v-flex {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.login-panel {
  max-width: 280px;
}
.content-header p.pull-right {
  text-align: right;
}
.top-header {
  display: flex;
  background: #005b86;
  align-items: stretch;
  margin-bottom: 15px;
  padding: 5px;
  border-radius: 5px;
}
.top-header a {
  color: #fff;
  vertical-align: middle;
}
.top-header .main-menu {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.banner-row {
  margin-bottom: 15px;
}
.page-actions {
  border-top: 1px solid #ccc;
  padding-top: 15px;
}
.page-buttons {
  text-align: right;
}
.navbar-brand {
  width: 320px;
  float: none;
  height: auto;
  line-height: 1;
  padding: 15px;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
.navbar-brand img {
  vertical-align: middle;
  margin-bottom: 10px;
  max-height: 40px;
  display: inline-block;
}
.top-header .navbar-brand {
  float: left;
  width: auto;
  font-size: 10px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: right;
}
.top-header .navbar-brand img {
  margin-bottom: 10px;
  max-width: 140px;
}
.main-nav {
  list-style-type: none;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  margin: 0;
}
.main-nav li {
  float: left;
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
}
.main-nav li a {
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 3px;
}
.main-nav li.active a {
  background: #fff;
  color: #0d3349;
}
label.control-label.required:after {
  content: " *";
  color: #c31334;
  font-weight: bold;
}
a {
  color: #ec7f23;
}
.content-header {
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}
.content-header h1 {
  margin-top: 0;
}
.shrink {
  width: 1%;
  white-space: nowrap;
}
thead {
  background: #eee;
}
.h-spacer {
  padding-left: 16px;
}
.break-word {
  /* 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) */
  -webkit-hyphens: auto;
  hyphens: auto;
}
.has-max-width {
  max-width: 30%;
}
.make-responsive thead {
  display: none;
}
.make-responsive tbody > tr {
  border-bottom: 2px solid #ccc;
}
.make-responsive tbody > tr > td {
  border: 0;
  display: block;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
  padding-left: 45%;
  position: relative;
}
.make-responsive tbody > tr > td:before {
  display: block;
  position: absolute;
  top: 5px;
  left: 10px;
  width: 45%;
  content: attr(data-title);
  font-weight: bold;
  padding-right: 10px;
}
.make-responsive tbody > tr:nth-child(2n+1) td {
  background: #fafafa;
}
.tablet-page {
  background: url("../images/bg.jpg") no-repeat top center;
  background-attachment: fixed;
  background-size: cover;
  color: #fff;
}
.tablet-page .top-header {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.tablet-page .content-header {
  margin: 40px 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.tablet-page .content {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.tablet-page .container {
  background: none;
}
.tablet-page .content-header h1,
.tablet-page .content-header h1 strong {
  color: #fff;
}
.tablet-page .control-label {
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 20px;
}
.tablet-page .control-label.inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
  font-weight: 300;
  margin-bottom: 0;
}
.tablet-page .form-group {
  margin-bottom: 50px;
  position: relative;
}
.tablet-page .form-group.required:before {
  content: "*";
  position: absolute;
  left: -15px;
  top: 0;
}
.tablet-page .form-group .row {
  padding-bottom: 0;
}
.tablet-page .form-group a:not(.btn) {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}
.tablet-page .form-group a:not(.btn):active,
.tablet-page .form-group a:not(.btn):focus {
  outline: 0;
}
.tablet-page .row {
  padding-bottom: 40px;
}
.tablet-page .form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 0;
  color: #fff;
  font-size: 22px;
  padding-bottom: 3px;
  font-weight: 300;
}
.tablet-page ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #ddd;
}
.tablet-page ::-moz-placeholder {
  /* Firefox 19+ */
  color: #ddd;
}
.tablet-page :-ms-input-placeholder {
  /* IE 10+ */
  color: #ddd;
}
.tablet-page :-moz-placeholder {
  /* Firefox 18- */
  color: #ddd;
}
.tablet-page .input-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.tablet-page .input-group .form-control {
  border: 0;
}
.tablet-page .input-group-btn .btn-default,
.tablet-page .content-header .btn-default {
  color: #fff;
  background-color: transparent;
  border: 0;
}
.tablet-page .input-group-btn i,
.tablet-page .content-header i {
  color: #fff;
}
.tablet-page label {
  color: #fff;
}
.tablet-page .radio-inline {
  margin-right: 20px;
}
.tablet-page p.text-danger {
  font-size: 12px;
  background: #fff;
  padding: 2px 5px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 20px;
  }
  .page-buttons {
    text-align: left;
  }
  .page-buttons .btn {
    display: block;
  }
  .container,
  .container-fluid {
    background: #fff;
    padding: 10px;
  }
  .navbar-brand {
    padding: 5px;
  }
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  div[class^="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  div[class^="col-"] + label.control-label {
    padding-top: 15px;
  }
  .form-horizontal .form-group {
    margin-left: -5px;
    margin-right: -5px;
  }
  .container-fluid {
    max-width: 100%;
  }
}
td.link-cell {
  cursor: pointer;
}
td.link-cell:hover {
  text-decoration: underline;
  color: #eb7f24;
}
.no-margin {
  margin: 0 !important;
}
.form-inline {
  margin-bottom: 15px;
}
.form-inline .form-group + .form-group {
  margin-left: 10px;
}
#sketchpad-app {
  /* Prevent nearby text being highlighted when accidentally dragging mouse outside confines of the canvas */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.sketchpad-container {
  float: left;
  margin-left: 10px;
}
#sketchpad {
  position: relative;
  /* Necessary for correct mouse co-ords in Firefox */
  background: #fff;
  border-radius: 5px;
}
#signature {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  position: relative;
}
.modal {
  color: #000;
}
.ck-editor__editable {
  max-height: 400px;
}
@media (min-width: 768px) {
  .container {
    width: 100%;
    padding: 15px;
  }
}

