/*
    light: #eee;
    dark: #343a40;
    dark-50: #d6d6d6;
    dark-25: #dbdbdb;
*/

/*site*/

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

.site-logo {
  width: calc(16.666667% + 50px);
}

.site-menu {
  width: calc(100% - (16.666667% + 50px));
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.menu-item {
  line-height: 38px;
  height: 45px;
}

/*text*/

a:hover {
  text-decoration: none;
  color: #343a40;
}

.text-primary a:hover {
  color: #343a40;
}

/*buttons*/

.btn-link:hover,
.btn-link:focus {
  box-shadow: none;
  text-decoration: none;
}

/*badges*/

.badge-light {
  background: #eee;
}

/*backgrounds & borders*/

.bg-light {
  background-color: #eee !important;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-dark-75 {
  background-color: #b7b7b7 !important;
}

.bg-dark-50 {
  background-color: #dbdbdb !important;
}

.bg-dark-25 {
  background-color: #d6d6d6 !important;
}

.border-dark {
  border-color: #22292c !important;
}

/*cards*/

.card-body {
  padding: 1rem 1rem 0.75rem 1rem;
}

.card-footer {
  padding: 0.5rem 1rem;
  background-color: #fff;
}

.post-content p {
  margin-bottom: 0.5rem;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.truncate-mail {
  width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-post-content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*menus*/

.dropdown-menu {
  z-index: 10000;
}

.sidenav {
  height: 100%;
  width: 500px;
  position: fixed;
  z-index: 1300;
  top: 0;
  right: 0;
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenav2 {
  height: 100%;
  width: 500px;
  position: fixed;
  z-index: 1300;
  top: 93px;
  right: 0;
  overflow: hidden;
  transition: 0.5s;
}

.user-menu-subtitle {
  overflow: hidden;
  text-align: left;
  color: #999;
  margin-bottom: 0.5em;
}

.user-menu-subtitle:after {
  left: 0.5em;
  margin-right: -50%;
  background-color: #ddd;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 100%;
}

/*react-dropzone-uploader*/

.dzu-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 60px;
  max-height: 120px;
  overflow-y: auto;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  transition: all .15s linear;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  background-color: #eee;
}

.dzu-dropzoneActive {
  background-color: #DEEBFF;
  border-color: #2484FF;
}

.dzu-dropzoneDisabled {
  opacity: 0.5;
}

.dzu-dropzoneDisabled *:hover {
  cursor: unset;
}

.dzu-input {
  display: none;
}

.dzu-inputLabel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-weight: 500;
  color: #2484FF;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
}

.dzu-inputLabelWithFiles {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  padding: 0 14px;
  min-height: 32px;
  background-color: #E6E6E6;
  color: #2484FF;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 10px;
  margin-left: 3%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
}

.dzu-previewContainer {
  padding: 10px 3%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  min-height: 60px;
  border-bottom: 1px solid #ECECEC;
  box-sizing: border-box;
}

.dzu-previewStatusContainer {
  display: flex;
  align-items: center;
}

.dzu-previewFileName {
  font-family: 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
}

.dzu-previewImage {
  width: auto;
  max-height: 40px;
  max-width: 140px;
  border-radius: 4px;
}

.dzu-previewButton {
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  cursor: pointer;
  opacity: 0.9;
  margin: 0 0 2px 10px;
}

.dzu-submitButtonContainer {
  margin: 24px 0;
  z-index: 1;
}

.dzu-submitButton {
  padding: 0 14px;
  min-height: 32px;
  background-color: #2484FF;
  border: none;
  border-radius: 4px;
  font-family: 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFF;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
}

.dzu-submitButton:disabled {
  background-color: #E6E6E6;
  color: #333333;
  cursor: unset;
}

.image-uploader .dzu-previewContainer {
  display: none;
}

.uploader-thumbnail .dzu-dropzone {
  border: 0px !important;
  background: transparent !important;
  min-height: 30px !important;
}

.uploader-thumbnail .dzu-dropzone .dzu-inputLabel {
  color: #6c757d !important;
  font-weight: normal !important;
}

.uploader-thumbnail .dzu-dropzone .dzu-previewContainer {
  display: none;
}

/*document library*/
.sidenav-file-info {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  overflow-x: hidden;
  transition: 0.5s;
}

@media (min-width: 768px) {
  .sidenav-file-info {
    width: 40%;
  }

  .truncate-file-title {
    height: 20px;
  }
}

.library-preview-icon {
  position: absolute;
  top: 5px;
  right: 5px;
}

.truncate-file-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.truncate-document-content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.sticky-top {
  z-index: 1100;
}

.modal-backdrop {
  z-index: 1400;
}

.modal {
  z-index: 1500;
}

.popover {
  z-index: 1600;
}

/* Validations */
.form-group .is-invalid .dzu-dropzone {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url('../images/validation.svg');
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-group .is-invalid .jodit-workplace {
  padding-right: calc(1.5em + 0.75rem);
  background-image: url('../images/validation.svg');
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-group .is-invalid .jodit-container {
  border-color: #dc3545 !important;
}

/* Advanced search collapse */
.advanced-search-collapse {
  position: absolute;
  top: 40px;
  right: 35px;
  padding: 1.5rem;
  background-color: #FFF;
  z-index: 1500;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.advanced-search-collapse .topic-selector div {
  z-index: 10000;
}

/* Sorting */
.sorting .dropdown-menu {
  left: -25px !important;
}

/* Search */
.search-cointaner {
  width: 275px;
}

@media (min-width: 1200px) {
  .search-cointaner {
    width: 450px !important;
  }
}

@media (min-width: 1400px) {
  .search-cointaner {
    width: 550px !important;
  }
}


.fa-stack[data-count]:after {
  /* position:absolute;
    right:0%;
    top:1%;
    content: attr(data-count);
    font-size:35%;
    padding:.6em;
    border-radius:999px;
    line-height:.75em;
    color: white;
    background:rgba(255,0,0,.85);
    text-align:center;
    min-width:2em;
    font-weight:bold; */
  position: absolute;
  right: -5%;
  top: -5%;
  content: attr(data-count);
  font-size: 90%;
  padding: .2em;
  /* border-radius: 1000px; */
  line-height: 1.0em;
  color: white;
  background: rgba(255, 0, 0, .85);
  text-align: center;
  /* min-width: 3em; */
  font-weight: bold;
}

.form-control:focus {
  color: #495057;
  background-color: #f3faff;
  border-color: #80bdff;
  outline: 0;
  /* box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); */
  box-shadow: none;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group input,
.form-label-group label {
  height: 3.125rem;
  padding: .75rem;
}

.form-label-group label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0;
  /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text;
  /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:-moz-placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:-ms-input-placeholder) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:-moz-placeholder-shown)~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:not(:-ms-input-placeholder)~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:not(:placeholder-shown)~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:-webkit-autofill~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.react-datepicker__input-container input[type="text"] {
  padding-top: inherit;
  padding-bottom: inherit;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .form-label-group label {
    position: static;
  }

  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}
.modal-body{
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.info-cards .card:hover {
  background-color: #baeaf8;
  transition: cubic-bezier(0.19, 1, 0.22, 1);
}