nav {
  background: #fff;
  border-bottom: solid 2px #0b4260;
}

.logo img {
  height: 100px;
  padding: 8px 0;
}

.dropdown {
  position: relative;
}
.dropdown ul {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  width: 170%;
}

.dropdown:hover ul {
  display: block;
}

h1 {
  font: 36px/45px Comfortaa, sans-serif;
  margin: 10px 0 20px 0;
}

h2 {
  font: 24px/32px Comfortaa, sans-serif;
  margin: 10px 0;
}

h3 {
  font: 18px/20px Comfortaa, sans-serif;
}

.report-map {
  height: 600px;
}

.ticket-map {
  height: 400px;
}

[x-cloak] {
  display: none;
}

a {
  color: #115c88;
}

a:hover {
  color: #2183b5;
}

.loader {
  width: 100%;
}
.loader img {
  margin: 0 auto;
  max-width: 80px;
}

.table-cell {
  max-width: 430px;
}

.thumbnail-image {
  width: 48%;
  height: 150px;
  border-radius: 8px;
  padding: 3px;
  border: solid 1px #ccc;
  box-shadow: 0 0 3px #ccc;
  margin-right: 4px;
  margin-bottom: 4px;
  text-align: center;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.thumbnail-image::before {
  height: 100%;
  display: inline-block;
  vertical-align: middle;
  content: "";
  width: 0;
}

.thumbnail-image img, .icon {
  max-width: calc(100% - 5px);
  vertical-align: middle;
  max-height: 100%;
  display: inline-block;
}

.icon img {
  max-width: 50%;
  vertical-align: top;
}

.file-delete {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.5);
  padding: 3px;
  border-radius: 2px;
}

.thumbnail-image div p {
  word-break: break-word;
}

@media (min-width: 768px) {
  .thumbnail-image {
    width: 32%;
    height: 200px;
  }
}
@media (min-width: 1280px) {
  .thumbnail-image {
    width: 19%;
    height: 200px;
  }
}
.select-box-wrapper {
  width: 100%;
  display: inline-block;
  vertical-align: middle;
}

.select-box-wrapper label {
  width: 100%;
  vertical-align: middle;
}

.select-box-wrapper select {
  width: 100%;
  vertical-align: middle;
}

@media (min-width: 640px) {
  .select-box-wrapper {
    width: 46%;
  }
}
@media (min-width: 1000px) {
  .select-box-wrapper label {
    width: 55%;
    padding-right: 5px;
  }
  .select-box-wrapper select {
    width: 43%;
  }
}
.pdf-icon {
  display: inline-block;
  height: 75px;
}

.pdf-icon-sm {
  display: inline-block;
  height: 50px;
}

.report-width {
  min-width: 720px;
}

.report-width-wide {
  min-width: 1100px;
}

.ticket-critical {
  border: solid 1px #f5c6cb;
  background: #f8d7da;
  color: #721c24;
}

.ticket-danger {
  border: solid 1px #ffeeba;
  background: #fff3cd;
  color: #856404;
}

.ticket-warning {
  border: solid 1px #c3e6cb;
  background: #d4edda;
  color: #155724;
}

.flash-message {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.error-message {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.success-message {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.info-message {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.hastooltip {
  position: relative;
}

.tooltip {
  display: none;
  position: absolute;
  background: #000;
  color: #fff;
  top: -30px;
  left: 1px;
  white-space: nowrap;
  padding: 3px 6px;
  font-size: 13px;
  border-radius: 4px;
  opacity: 0;
  transition: all 1s;
}

.hastooltip:hover .tooltip {
  display: block;
  opacity: 1;
}

.tooltip-right {
  left: auto;
  right: 1px;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
}

.wrapper {
  min-height: 100%;
  position: relative;
  padding-bottom: 60px; /* Height of the footer */
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Height of the footer */
  color: #fff;
  padding: 20px 0;
}

.currency-input {
  position: relative;
}
.currency-input .symbol {
  position: absolute;
  top: 8px;
  left: 10px;
}
.currency-input input {
  padding-left: 20px;
}

.revenue-row .revenue-label {
  width: 400px;
  padding-right: 20px;
}
.revenue-row .revenue-input {
  width: 300px;
}

.validation-error {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #e3342f;
}

.question4a, .question5, .question6, .question7, .question8, .question9, .question10, .question11, .question12, .question13, .question14, .expense-a, .expense-b {
  display: none;
}

.ten-k-warning {
  display: none;
}

.budget-button {
  background: #777;
  top: 0;
  position: absolute;
  right: 0;
  color: #eee;
  height: 40px;
  padding: 0 5px;
}

.budget-amount {
  height: 40px;
  width: 100%;
}

.budget-amount:focus ~ .budget-button {
  background: #0b4260;
}

.application-main {
  width: calc(100% - 300px);
}

#comments p {
  margin-bottom: 2px;
}
#comments .form-group {
  padding-bottom: 20px;
}
#comments .edit-comment-submit-wrapper {
  display: none;
}

.detail-sidebar {
  width: 300px;
  background: #0B4260;
  color: #fff;
  padding: 0 0 20px 0;
}
.detail-sidebar section {
  border-bottom: solid 1px #fff;
  padding: 20px;
}
.detail-sidebar section:last-child {
  border-bottom: none;
}

.organization-wrapper {
  display: flex;
  background-color: #fff;
  border: solid 1px #ccc;
}

.organization-content {
  width: calc(100% - 300px);
}
.organization-content #tabs {
  margin-left: 0;
}
.organization-content .table {
  margin-top: -7px;
}
.organization-content .table th {
  border-top: none;
}

#tabs {
  margin: 0 10px;
}
#tabs ul {
  padding: 0;
  border: 0;
  align-items: stretch;
  display: flex;
  justify-content: flex-start;
  margin-bottom: -1px;
}
#tabs li {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  position: relative;
  transition: all 0.5s;
  background-color: #fff;
  border: solid 1px #ddd;
  border-radius: 3px 3px 0 0;
  margin-right: 0.5em;
}
#tabs li:hover {
  color: #444;
}
#tabs li.active {
  color: #fff;
  background: #0B4260;
  border: solid 1px #333;
}
#tabs li.disabled {
  color: #cdcdcd;
  cursor: not-allowed !important;
}
#tabs a {
  align-items: center;
  color: inherit;
  display: flex;
  padding: 0.75em 1em;
  text-decoration: none;
}
#tabs a:hover {
  color: inherit;
  text-decoration: none;
}

.tabcounter {
  border-radius: 50%;
  background-color: #444;
  color: #fff;
  font-size: 10px;
  position: relative;
  top: -3px;
  padding: 2px 5px;
  margin-left: 5px;
}

#tab-content > div {
  border-top: solid 1px #eee;
  padding: 10px 20px;
  display: none;
}
#tab-content > div.active {
  display: block;
}

.dropzone, .dropzone * {
  box-sizing: border-box;
  font-size: 13px;
}

.dropzone {
  position: relative;
  padding: 15px;
  border: 2px dashed #eee;
}

.dropzone .dz-preview {
  position: relative;
  display: inline-block;
  width: 200px;
  margin: 0.5em;
  vertical-align: top;
}

.dropzone .dz-image {
  width: 120px;
  text-align: center;
}

.dropzone .dz-preview .dz-progress {
  display: block;
  height: 15px;
  border: none;
}

.dropzone .dz-preview .dz-progress .dz-upload {
  display: block;
  height: 100%;
  width: 0;
  background: green;
}

.dropzone .dz-preview .dz-error-message {
  color: red;
  display: none;
}

.dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview.dz-error .dz-error-mark {
  display: block;
}

.dropzone .dz-preview.dz-success .dz-success-mark {
  display: block;
}

.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
  position: absolute;
  display: none;
  left: 30px;
  top: 30px;
  width: 54px;
  height: 58px;
  left: 50%;
  margin-left: -27px;
}

.dropzone .dz-message {
  padding: 15px 0;
  text-align: center;
}
.dropzone .dz-message span {
  font-size: 16px;
  cursor: pointer;
}
.dropzone .dz-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}
.dropzone .dz-details {
  overflow: hidden;
}
.dropzone .dz-preview.dz-success .dz-success-mark {
  display: none;
}
.dropzone .dz-preview.dz-error .dz-error-mark {
  display: none;
}

#uploadedfiles.icons {
  vertical-align: middle;
}
#uploadedfiles.icons .fileitem {
  display: inline-block;
  width: 370px;
  padding: 10px;
}
#uploadedfiles.icons .fileitem p {
  overflow: hidden;
  margin: 3px 0;
  font-size: 12px;
}
#uploadedfiles.icons .filethumbnail {
  max-width: 60px;
  border-radius: 6px;
  display: inline-block;
}
#uploadedfiles.icons .filelink {
  text-decoration: none;
}
#uploadedfiles.icons .filedetails {
  display: inline-block;
  vertical-align: middle;
  width: 250px;
  padding-right: 10px;
}
#uploadedfiles.icons .deletefile {
  vertical-align: top;
}

.sidemodal {
  background: #fff;
  overflow: auto;
  padding: 20px;
  font: 1rem "Comfortaa", sans-serif;
  line-height: 1.5rem;
  margin: 0 0 0 auto;
  width: 50%;
  max-width: 800px;
  height: 100%;
  box-shadow: 0 0 5px #333;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

.sidemodal-header {
  padding: 10px 0 15px 0;
  border-bottom: solid 1px #999;
}

.sidemodal-content {
  padding: 20px 40px 20px 20px;
  color: #333;
}

.sidemodal-start {
  right: -800px;
}

.sidemodal-end {
  right: 0px;
}
