#root {
  overflow: hidden;
}

a {
  outline: 0;
}

/** ===============================================
    ============= MULTI-LVL DROPDOWN ==============
    =============================================== */

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  /* left: 100%; */
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

/** ===============================================
    ==================== TABLES ===================
    =============================================== */

/*
table {
    border-top: 1px solid grey;
    border-bottom: 1px solid rgb(216, 216, 216);
}
*/

table input[type="text"] {
  max-width: 200px;
}

table select {
  min-width: 150px;
}

@media screen and (max-width: 500px) {
  table select {
    max-width: 100px;
  }
}

table i:not(.static) {
  opacity: 0.8;
}

table i:not(.static):hover {
  opacity: 1;
  cursor: pointer;
}

i[disabled] {
  opacity: 0.5;
}

i[disabled]:hover {
  opacity: 0.5;
  cursor: default;
}

td i[disabled] {
  opacity: 0.5;
}

td i[disabled]:hover {
  opacity: 0.5;
  cursor: default;
}

/** ===============================================
    ==================== ICONS ====================
    =============================================== */

.graph-icon {
  font-size: 3em;
  padding: 0em;
}

/** ===============================================
    ==================== COLORS ===================
    =============================================== */

.bg-custom-blue {
  background-color: #006da0;
}

.no-bg {
  background-color: transparent;
}

.bg-light-grey {
  background-color: rgb(218, 218, 218);
}

.bg-faded {
  background-color: rgb(243, 243, 243);
}

.bg-light-warning {
  background-color: rgba(255, 193, 7, 0.1);
}

.bg-custom-green {
  background-color: #3ba048;
}

.switch-bg-blue:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #007bff;
  background-color: #007bff;
}

.switch-bg-green:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #3ba048;
  background-color: #3ba048;
}

.text-blue {
  color: #007bff;
}

.sel-bg-success {
  background-color: rgb(130, 235, 130) !important;
}

.sel-bg-alm-success {
  background-color: rgba(130, 235, 130, 0.486) !important;
}

.sel-bg-alert {
  background-color: rgba(255, 251, 0, 0.747) !important;
}

.sel-bg-warning {
  background-color: rgba(255, 145, 0, 0.726) !important;
}

.sel-bg-danger {
  background-color: rgb(250, 161, 161) !important;
}

.light-card {
  border: 1px solid rgb(219, 219, 219);
  background-color: rgb(247, 247, 247);
}

.blue-border {
  border: 2px solid #007bff;
  border-radius: 3px;
}

.green-border {
  border: 2px solid #3ba048;
  border-radius: 3px;
}

/** ===============================================
    ==================== SIZES ====================
    =============================================== */

.miw-80 {
  min-width: 80px;
}

.mw-200 {
  max-width: 200px;
}

.mw-400 {
  max-width: 400px;
}

.mw-600 {
  max-width: 600px;
}

.mh-200 {
  height: 200px;
}

.max-height-200 {
  max-height: 200px;
}

.min-height-200 {
  min-height: 200px;
}

.scale-half {
  transform: scale(0.9);
}

.img-big {
  height: 100%;
  width: 100%;
}

.h-c-50 {
  height: 40px;
  line-height: 20px;
  vertical-align: middle;
}

.h-120 {
  height: 120px;
}

.h-20 {
  height: 20px;
}

.h-40 {
  height: 40px;
}

.h-150 {
  height: 150px;
}

.h-80 {
  height: 80px;
}

.lh-80 {
  height: 80px;
  vertical-align: middle;
}

.h-200 {
  height: 200px;
}

.h-400 {
  height: 400px;
}

.mt-30 {
  margin-top: 20px;
}

.w-150 {
  width: 200px;
}

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

/** ===============================================
    ============ ALIGNMENT / POSITION =============
    =============================================== */

.vertical-center {
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 500px) {
  .vertical-center {
    display: block;
    clear: both;
  }
}

.relative {
  position: relative;
}

/** ===============================================
    ==================== MISC =====================
    =============================================== */

.breadcrumbs {
  color: white;
  font-size: 20px;
  padding: 10px;
  background-color: rgb(187, 197, 207);
  border: none;
  margin-bottom: 20px;
}

.iconed-btn {
  display: inline-block;
  height: 40px;
  vertical-align: middle;
  padding-right: 10px;
  text-decoration: none;
  margin-top: 0.3em;
  margin-bottom: 1em;
}

.iconed-btn:hover {
  opacity: 1;
}

.iconed-btn p {
  display: inline-block;
  margin: 0;
  margin-left: 5px;
  padding: 0;
  line-height: 33px;
  text-decoration: none;
  vertical-align: top;
}

a.nostyle-a {
  text-decoration: none;
  color: black;
}

.hoverable {
  opacity: 0.8;
}

.hoverable:hover {
  opacity: 1;
}

.break-word {
  word-wrap: break-word;
  word-break: break-all;
}

.table-striped-3 > tbody > tr:nth-child(4n + 0) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-striped-3 > tbody > table {
  background-color: rgba(0, 0, 0, 0);
}

.filter-row {
  background-color: rgba(0, 0, 0, 0.08);
}

.modal {
  overflow-y: auto !important;
}

.b-red {
  border: 1px solid red;
}

.no-after::after {
  display: none;
}

.no-before::before {
  display: none;
}

.disabled {
  opacity: 0.5;
}

.disabled:hover {
  opacity: 0.5;
}

.disabled:active {
  opacity: 0.5;
}

td .blue-checked {
  margin: 0 auto;
  background-color: rgb(0, 110, 255);
  min-width: 40px;
  max-width: 75px;
  height: 25px;
  border-radius: 2px;
}

td .green-checked {
  margin: 0 auto;
  background-color: #3ba048;
  min-width: 40px;
  max-width: 75px;
  height: 25px;
  border-radius: 2px;
}

td .unchecked {
  margin: 0 auto;
  background-color: rgb(173, 173, 173);
  min-width: 40px;
  max-width: 75px;
  height: 25px;
  border-radius: 2px;
}

.table-unstriped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0);
}

.no-border {
  border: none;
}

.nofocus:focus {
  outline: none;
  box-shadow: none;
}

.react-autosuggest__suggestions-list {
  max-height: 200px;
  overflow-y: auto;
}

.truncate {
  max-width: 30em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zoom-6 {
  zoom: 0.6;
}

.zoom-7 {
  zoom: 0.7;
}

.overlay {
  border: 5px solid #2e5048;
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.overlay:hover {
  opacity: 0.2;
  text-shadow: 0 0 10px #000;
  background-color: #70b8a7;
  cursor: pointer;
  color: #fff;
  font-size: 16em;
}

.split-title {
  position: absolute;
  bottom: 0;
  right: 0px;
  padding-right: 10px;
  padding-left: 30px;
  color: black;
  font-size: 26px;
  background-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0)
  );
  opacity: 0.4;
}

.split-title:hover {
  text-decoration: none;
  color: black;
  opacity: 0.8;
}

.e4madColors {
  color: #088dae;
  border-color: #088dae;
}

.e4madColors:hover {
  background-color: #088dae;
  color: white;
}

.small-font {
  font-size: 0.8em;
}

.init-bg {
  color: black;
  background: url(/images/gears.svg) center no-repeat;
  background-size: 600px 450px;
}

.init-top-bg {
  background-color: rgba(255, 255, 255, 0.863);
}

.version {
  position: absolute;
  width: 100%;
  float: bottom;
  line-height: 60px;
}

#rgpd-scroll {
  height: 20em;
  overflow-y: auto;
  padding: 0 2em 0em 2em;
}

.required {
  color: #dc3545;
}

th.required .fa-asterisk {
  font-size: 0.5em;
  margin-left: 0.2em;
  position: absolute;
}

label.required {
  color: #dc3545;
}

label.required .fa-asterisk {
  font-size: 0.5em;
  margin-left: 0.2em;
  position: absolute;
}

img.imageLightBox {
  margin: 0em 0.5em 0.5em 0em;
  border: 5px solid #fff;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.logoSettings {
  max-width: 400px;
  max-height: 200px;
}

.pointer {
  cursor: pointer;
}

/* Audit email modal */

.audit-emails {
  min-width: 400px;
}

.audit-emails .title {
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 24px;
  margin-bottom: 7px;
  background-color: var(--menu-primary-color);
  font-weight: bold;
  color: white;
  min-width: 300px;
  margin-bottom: 14px;
}

.audit-emails .items {
  height: 36px;
  text-align: left;
  margin-bottom: 7px;
  background-color: var(--menu-primary-color);
  font-weight: bold;
  color: white;
  min-width: 300px;
  margin-bottom: 14px;
}

.audit-emails .disabled {
  opacity: 0.6;
}

.audit-checkbox {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  margin-top: 6px;
  background: white;
  color: var(--menu-primary-color) !important;
  border-radius: 0;
}

.audit-dm-name {
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  color: #fff !important;
}

.audit-conf-btn {
  background-color: var(--menu-primary-color);
  font-size: 18px;
  margin: 0 auto;
  color: white;
}

.audit-conf-btn:active,
.audit-conf-btn:hover {
  color: white;
}

.rowcontaint {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.overflow-auto {
  border: 1px solid rgb(216, 152, 152);
  height: 100px;
  overflow: auto;
}

.divSelected {
  background: rgb(236, 197, 228);
  border-bottom: 1px solid lightgrey;
  padding: 3px;
}

.textareaCounter textarea {
  border: 1px solid #ced4da;
  border-radius: 0.3em;
  padding: 0.5em;
  color: #495057;
}

/* FILE EXPLORER DOCUMENTS DB */

.folder-icon .fa-folder-closed {
  color: #8e8e8e;
}

.folder-icon .fa-folder-open {
  color: var(--menu-primary-color);
}

.sidebar-content,
.main-content {
  overflow-y: auto;
  max-height: calc(100vh - 10em);
  min-height: 70vh;
  background-color: #ffffff;
  border: 1px solid gainsboro;
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}

.sidebar-content {
  margin-right: 0.5em;
}

.file-manager-item-folder .item-content {
  cursor: pointer;
}

.file-manager-item-folder .item-content-active {
  font-weight: bold;
  color: var(--menu-primary-color);
  cursor: pointer;
}

.main-file-content-item {
  border: 1px solid transparent;
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}

.main-file-content-item,
.main-file-content-item-active {
  height: 10em;
  width: 10em;
  cursor: pointer;
}

.main-file-content-item-active {
  background-color: lightyellow;
  border: 1px solid darkorange;
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}

.main-file-content-item:hover {
  background-color: lightcyan;
  border: 1px solid turquoise;
}

#main-file-icon {
  color: #8e8e8e;
  font-size: 4em;
}

.main-file-content-item:hover > #main-file-icon {
  color: darkturquoise;
}

.main-file-content-item-active > #main-file-icon {
  color: darkorange;
}

.file-explorer {
  user-select: none; /* standard syntax */
  -webkit-user-select: none; /* webkit (safari, chrome) browsers */
  -moz-user-select: none; /* mozilla browsers */
  -khtml-user-select: none; /* webkit (konqueror) browsers */
  -ms-user-select: none; /* IE10+ */
  max-height: 400px;
  overflow-y: auto;
}

/* Patient validation indicator */
.patient-validation-indicator {
  animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
