/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #1F1F1F;
  border-radius: 10px;
}

#fields-scroll-block::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
}


  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #2bb673;
}

.z-index2 {
  z-index: 2;
}

.card-body.modal-card {
  max-height: 350px;
  min-height: 350px;
}

.main-content .container-fluid {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.tag {
  background: rgba(0,0,0,0.2);
}

.tag.error {
  border-color: red;
  border-width: 2px;
}

.tag .close {
  display: none;
}


.tagging-editor {
  min-height: 200px;
  position: relative;
}

.page-img {
  margin: auto;
  width: 100%;
  height: 100%;
}

.carousel-inner {
  z-index: 1;
  overflow: inherit;
  height: 100%;
}

.slide-wrapper {
  position: absolute;
  overflow: auto;
  height: 100%;
  width: calc(100% - 0.80rem);
  max-height: calc(100vh - 220px);
}

.buttons {
  display: inline-block;
}

.template-field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  /* border: 1px solid #4d4e4f; */
  border-radius: 0.5rem;
  /* background-color: #4f5259;
  background-clip: border-box; */
  line-height: 2rem;
  padding-top: 0.51rem;
  padding-bottom: 0.51rem;
}

.list-group-item:hover a.btn,
.field-card:hover .field-buttons,
.field-card:hover .input-button,
.template-field:hover .input-button,
.template-field:hover .field-buttons,
.field-card-item:hover .field-buttons-group {
  display: block;
}

.disabled {
  opacity: 0.75;
  pointer-events: none;
}

.loader-search {
  right: calc(2.40625rem + 9px);
  z-index: 1000;
  position: absolute;
  top: calc(100% - 30px);
  display: block;
  font-size: 13px !important;
}

.input-group.input-group-merge > .form-control-appended {
  border-top-right-radius: 1px !important;
  border-bottom-right-radius: 1px !important;
}

.system-line {
  color: white;
  width: 4px;
  height: 75%;
  position: absolute;
  border-left: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  left: 3px;
  top: 50%;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.system-line-dropdown-up {
  color: white;
  width: 4px;
  height: 55%;
  position: absolute;
  border-left: 1px solid;
  border-bottom: 1px solid;
  left: 3px;
  bottom: 16px;
  border-radius: 1px;
  transform: translate(-50%);
}

.system-line-dropdown-down {
  color: white;
  width: 2px;
  height: 36%;
  position: absolute;
  border-left: 1px solid;
  top: 22px;
  left: 3px;
  border-radius: 1px;
  transform: translate(-50%);
}

.system-line-short {
  z-index: 9;
  color: white;
  width: 4px;
  height: 56%;
  position: absolute;
  border-left: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  left: 3px;
  top: 50%;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.modal-header {
  padding-left: 15px;
}

.crosshair-selected {
  text-decoration: none;
  opacity: 0.75;
}

.navbar-brand-img,
.navbar-brand-new-nav > img {
  max-width: 100%;
  max-height: 5rem;
}

.selectbox .selectbox__control {
  margin-top: 0 !important;
  padding: 0 5px;
}

.flashingButton {
  background-color: #2525f2;
  color: #eeeeee;
  animation: glowing 2300ms infinite;
}

@keyframes glowing {
  0% {
    background-color: #2525f2;
    box-shadow: 0 0 3px #2525f2;
  }
  50% {
    background-color: #45508f;
    box-shadow: 0 0 10px #2525f2;
  }
  100% {
    background-color: #2525f2;
    box-shadow: 0 0 3px #2525f2;
  }
}

.documents-loader {
  width: 6rem;
  height: 6rem;
  margin: 1.75rem auto;
  margin-top: 13.75rem;
}

.card-body.formula-full-viewport {
  padding: 0.5rem;
  margin-bottom: 0 !important;
  max-height: calc(100vh - 2 * 250px);
  min-height: calc(100vh - 2 * 250px);
}

.formula-modal .modal-dialog-centered {
  min-width: calc(100vw - (22rem * 2));
}

.cursor-pointer {
  cursor: pointer;
}

.rotate-img {
  margin: auto;
  padding: auto;
  height: 90%;
}

@media (min-width: 992px) {
  .rotate-modal-lg {
    max-width: 1500px;
  }
}

.rotate-col {
  min-width: 16.66667%;
  flex: 0 0 15.66667%;
}

.rotate-images-spinner {
  width: 100%;
  height: 100%;
  background: url('/img/spinner.svg') center center no-repeat scroll transparent;
  padding-bottom: calc(100% / 12);
}

.rotate-icons-col {
  width: 69%;
}

.navbar-brand > img {
  width: auto !important;
  max-height: 1.5rem !important;
}

.white-link,
.white-link:hover {
  color: #fff;
}

.scale-button {
  color: #fff;
  border-color: #4d4e4f;
  background-color: #4d4e4f;
  width: 91.5%;
  text-align: inherit;
  border-radius: 0.375rem !important;
}

.scale-button::after {
  display: none;
}

.scale-dropdow-item {
  height: 1.25rem;
  padding-left: 0.5rem;
}

.scale-dropdow-closed-fx {
  width: inherit;
  border-radius: 0.375rem !important;
}

.icon-small {
  font-size: 18px;
}



.hidden-div {
  display: none;
}

.selectbox-sm .selectbox__control {
  min-height: 30px !important;
  max-height: 30px !important;
  font-size: 14px;
  border-radius: 0.25rem !important;
}
.selectbox-sm .selectbox__indicators {
  min-height: 28px !important;
  max-height: 28px !important;
  height: 10px;
  padding: 0;
}
.selectbox-sm .selectbox__indicator {
  padding: inherit;
}
.selectbox-sm .selectbox__value-container {
  min-height: 28px !important;
  max-height: 28px !important;
}
.selectbox-sm .selectbox__option {
  padding-top: 3px !important;
  height: 28px;
}

.selectbox-sm .selectbox {
  background-color: rgb(139, 141, 143);
  border-color: rgb(139, 141, 143);
  border-radius: 0.375rem !important;
}


.overflow-x-hidden {
  overflow-x: hidden !important;
}

/* Select2 custom color styles START*/
.select2-dropdown {
  padding: 0.5rem 0 !important;
  border: 1px solid rgba(18, 38, 63, 0) !important;
  border-radius: 0.375rem !important;
  background-color: #4f5259 !important;
}
.select2-container--default .select2-results__option[aria-disabled='true'] {
  display: none;
}
.select2-container {
  display: grid !important;
  width: auto !important;
}
.select2-results__option {
  padding: 0.375rem 0.75rem !important;
  color: #c8cbcf !important;
  background-color: transparent !important;
}
.select2-results__option:hover {
  color: #fff !important;
}
.select2-container .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-search--dropdown .select2-search__field {
  font-size: 0.8125rem;
  line-height: 1.5 !important;

  display: block !important;
  padding: 0.125rem 0.5rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  border: 1px solid #4d4e4f;
  color: #fff !important;
  background-color: #4d4e4f !important;
  background-clip: padding-box !important;

  height: calc(1.67188rem + 2px);
  padding: 0.125rem 0.5rem;
  outline: none;
  border-radius: 0.25rem;
}
.select2-container .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple:focus,
.select2-container--default .select2-selection--multiple:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  color: #fff;
  border-color: #2bb673;
  outline: 0;
  background-color: #4d4e4f;
  box-shadow: transparent;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 0.8125rem;
  padding-left: 0 !important;
  color: inherit !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 0.9375rem !important;
  padding-left: 0 !important;
  color: inherit !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
  height: auto !important;
  min-height: calc(2.40625rem + 2px) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: block !important;

  margin: 0 0 -0.25rem -0.25rem !important;
  padding: 0 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  font-size: 0.8125rem !important;
  line-height: 1.40625rem !important;

  display: inline-flex !important;

  margin: 0 0 0.25rem 0.25rem !important;
  padding: 0 0.5rem !important;

  color: #fff !important;
  border: none !important;
  border-radius: 0.25rem !important;
  background-color: #4f5259 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 0.5rem !important;

  color: #c8cbcf !important;

  order: 2 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #fff !important;
}
.select2-container .select2-search--inline {
  display: none;
}

.select2-selection[aria-expanded='true'] {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.input-group-merge > .form-control:focus + .input-group-text + .input-group-text {
  border-color: #2bb673;
}


.table-bordered {
  border: 1px solid #4d4e4f;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #4d4e4f;
}
.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 1px;
}

.btn-dropdown {
  border: 2px solid #8b8d8f;
  color: #8b8d8f;
}

.btn-check:active + .btn-dropdown,
.btn-check:checked + .btn-dropdown,
.btn-dropdown:active {
  border-color: #2bb673;
  color: #fff;
}


.toolbar-viewport {
  max-height: 60px;
  min-height: 60px;
}

.btn-group-toggle .btn-secondary {
  background-color: #bcbec0;
  border-color: #bcbec0;
}


.section-field .select2-container .select2-selection {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 0.375rem !important;
  border-bottom-left-radius: 0.375rem !important;
}

.modal-footer.metadata-modal-footer {
  justify-content: space-between;
}

.link-color,
.link-color:hover {
  color: #26ebca;
  overflow: hidden;
  text-overflow: ellipsis;
}