@font-face {
  font-family: 'D-DIN';
  src: url('fonts/D-DIN.otf') format('opentype');
}
@font-face {
  font-family: 'D-DIN';
  src: url('fonts/D-DIN-Bold.otf') format('opentype');
  font-weight: bold;
}
html,
body {
  height: 100%;
}
html,
body,
pre {
  font-family: 'D-DIN', Helvetica, sans-serif;
}
pre {
  font-size: 100%;
}
a,
a p,
a p strong {
  cursor: pointer;
  color: #212529;
  text-decoration-color: #212529 !important;
}
.no-wrap {
  white-space: nowrap;
}
.navbar-brand {
  margin-right: 0;
  padding: 0;
  padding-bottom: 8px;
}
div.navbar-title a {
  color: #212121;
  text-decoration: none;
}
div.navbar-title a:hover,
div.navbar-title a:focus,
div.navbar-title a:focus-within {
  color: #000;
}
.navbar-light .navbar-nav .nav-link {
  color: #212121;
}
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  background-color: #212121;
  color: #f8f9fa;
  border-radius: 0.25rem;
}
.dropdown-item:active {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}
.help-block {
  font-size: 12px;
}
.content-container {
  margin-top: 20px;
  margin-bottom: 20px;
}
.bg-danger-transparent {
  background-color: rgba(220, 53, 69, 0.5) !important;
}
.bg-danger-transparent:nth-of-type(odd) {
  background-color: rgba(220, 53, 69, 0.4) !important;
}
.bg-danger-transparent:hover {
  background-color: rgba(220, 53, 69, 0.6) !important;
}
.bg-warning-transparent {
  background-color: rgba(255, 193, 7, 0.5) !important;
}
.bg-warning-transparent:nth-of-type(odd) {
  background-color: rgba(255, 193, 7, 0.4) !important;
}
.bg-warning-transparent:hover {
  background-color: rgba(255, 193, 7, 0.6) !important;
}
.bg-success-transparent {
  background-color: rgba(40, 167, 69, 0.5) !important;
}
.bg-success-transparent:nth-of-type(odd) {
  background-color: rgba(40, 167, 69, 0.4) !important;
}
.bg-success-transparent:hover {
  background-color: rgba(40, 167, 69, 0.6) !important;
}
.custom-switch input,
.custom-switch label {
  cursor: pointer;
}
.custom-control-label.custom-border-warning::before {
  border-color: #ffc107 !important;
}
.custom-control-label.custom-border-warning::after {
  background-color: #ffc107 !important;
}
.table-warning-important,
.table-warning-important > td,
.table-warning-important > th {
  background-color: #ffeeba !important;
}
.table-hover .table-warning-important:hover,
.table-hover tr:hover .table-warning-important {
  background-color: #ffe8a1 !important;
}
.medium-password {
  /* IF WILL DECIDE TO USE AN ICON, REMOVE padding-right, background-position and background-size */
  padding-right: calc(3.5em + 0.75rem) !important;
  background-position: right calc(0.375em + 0.1875rem) center !important;
  background-size: calc(2.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='1em' width='4em'><text x='0' y='15' fill='rgb(255,193,7)' font-size='20' font-family='-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"'>WEAK</text></svg>") !important;
}
.btn.btn-link[data-toggle='tooltip'] label {
  cursor: pointer;
  color: #212529;
}
div.input-group.date input.form-control.datetimepicker-input {
  border-top-left-radius: 0.2rem !important;
  border-bottom-left-radius: 0.2rem !important;
}
table.smaller-table {
  font-size: 12px;
}
#loadingLayer {
  z-index: 9999;
}
.text-smaller {
  font-size: 70%;
  line-height: 70%;
}
thead.thead-dark th {
  font-weight: normal;
}
thead.thead-dark th button.btn.btn-link {
  color: #ffffff;
  font-weight: bold;
}
/* AUTOCOMPLETE WIDGET */
.autocomplete-text-field-spinner {
  position: absolute;
  right: 8px;
}
.autocomplete {
  display: flex;
  flex-flow: row nowrap;
  position: relative;
  align-items: center;
}
.autocomplete-list {
  position: absolute;
  z-index: 960;
  background-color: #fff;
  list-style: none;
  margin-left: 0;
  margin-top: 3px;
  border: 1px solid #ccc;
  float: left;
  top: 2.1rem;
  left: 0;
  overflow: auto;
  max-height: 300px;
  max-height: 50vh;
  max-width: 400px;
  max-width: 70vw;
}
.autocomplete-li {
  padding: 8px 15px;
  max-width: 400px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.autocomplete-li:not(:last-child) {
  border-bottom: 1px solid #eee;
}
.autocomplete-li a {
  text-decoration: none;
  color: #444;
}
.autocomplete-li.selected {
  background: #0288d1;
  color: #fff;
}
.autocomplete-li.selected a {
  color: #fff;
}
/* FLAGS: https://github.com/lipis/flag-icon-css */
.flag-icon {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
}
.flag-icon:before {
  content: '\00a0';
}
.flag-icon-de {
  background-image: url(/assets/flags/de.svg);
}
.flag-icon-en {
  background-image: url(/assets/flags/en.svg);
}
.flag-icon-it {
  background-image: url(/assets/flags/it.svg);
}
/* DROP */
.dropAreaDiv {
  width: 100%;
  height: 100%;
}
.dropAreaDiv p {
  margin: 20px;
}
.activeDropArea {
  border-color: #2196f3 !important;
}
.acceptedFilesDropArea {
  border-color: #00e676 !important;
}
.rejectedFilesDropArea {
  border-color: #ff1744 !important;
}
/* IMG THUMBS */
.thumbsContainer,
.revisionThumbsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 8px;
}
.thumb {
  display: inline-flex;
  border-radius: 2px;
  border: 1px solid #eaeaea;
  margin-bottom: 4px;
  margin-right: 4px;
  width: 100px;
  height: 100px;
  padding: 4px;
  box-sizing: border-box;
}
.revisionThumb {
  display: inline-flex;
  border-radius: 2px;
  border: 1px solid #eaeaea;
  margin-bottom: 4px;
  margin-right: 4px;
  width: 50px;
  height: 50px;
  padding: 4px;
  box-sizing: border-box;
}
.thumbInner,
.revisionThumbInner {
  display: flex;
  min-width: 0px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.thumbInner > button,
.revisionThumbInner > button {
  margin: 0 auto;
}
.thumbImg,
.revisionThumbImg {
  display: block;
  max-width: 88px;
  max-height: 88px;
}
/* TODO: CREATE CSS STYLES FOR OFF AND ON STATES */
.custom-switch.tristate .custom-control-input ~ .custom-control-label::before {
  background-color: #dc3545;
  border-color: #dc3545;
}
.custom-switch.tristate .custom-control-input ~ .custom-control-label::after {
  background-color: #fff;
}
.custom-switch.tristate
  .custom-control-input:indeterminate
  ~ .custom-control-label::after {
  -webkit-transform: translateX(0.375rem);
  transform: translateX(0.375rem);
}
.custom-switch.tristate
  .custom-control-input:indeterminate
  ~ .custom-control-label::before {
  background-color: #adb5bd;
  border-color: #adb5bd;
}
.custom-switch.tristate
  .custom-control-input:checked
  ~ .custom-control-label::before {
  background-color: #28a745;
  border-color: #28a745;
}
/* FULLCALENDAR */
.fc-title {
  font-size: 0.8em;
}
.sample-calendar-paginated:after {
  display: block;
  position: absolute;
  top: 2px;
  right: 0px;
  content: '';
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 500 801" color="blue"><path fill="currentColor" d="M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z" ></path></svg>');
  background-size: 32px 32px;
  height: 32px;
  width: 32px;
}
.complaint-calendar-priority-1:after {
  display: block;
  position: absolute;
  top: 2px;
  right: 0px;
  content: '';
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 500 801" color="green"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" ></path></svg>');
  background-size: 32px 32px;
  height: 32px;
  width: 32px;
}
.complaint-calendar-priority-2:after {
  display: block;
  position: absolute;
  top: 2px;
  right: 0px;
  content: '';
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 500 801" color="yellow"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" ></path></svg>');
  background-size: 32px 32px;
  height: 32px;
  width: 32px;
}
.complaint-calendar-priority-3:after {
  display: block;
  position: absolute;
  top: 2px;
  right: 0px;
  content: '';
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 500 801" color="red"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" ></path></svg>');
  background-size: 32px 32px;
  height: 32px;
  width: 32px;
}
.fc-bgevent {
  padding-top: 2px !important;
  padding-left: 2px !important;
  opacity: 1 !important;
}
.fc-day-number {
  padding-top: 2px !important;
  padding-left: 2px !important;
}
.fc-bgevent-skeleton td {
  border-color: #ddd !important;
}
div.fc-dayGridWeek-view div.fc-week div.fc-content-skeleton {
  padding-top: 1.5em;
}
.fc-scroller.fc-day-grid-container {
  height: auto !important;
}
.custom-switch-inline {
  display: inline-block;
}
.fix-double-border > div {
  border: 0;
}
.footer-m3s-link {
  vertical-align: text-bottom;
}
.fix-border-radius {
  border-radius: 0.25rem;
  border: 1px solid #ced4da !important;
}
.fix-border-radius > div {
  border: 0;
}
#cboxCurrent {
  top: -26px !important;
  right: 70px !important;
  color: #ccc;
}
