﻿@import url("bootstrap/css/bootstrap.css");
@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");
/* SCSS HEX */
html, body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  font-size: 1.1rem;
}

h1:focus {
  outline: none;
}

a, .btn-link {
  color: #0071c1;
}

a:hover, .btn-link:hover {
  cursor: pointer !important;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.content {
  padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
  border: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

::-webkit-scrollbar-track {
  border-left: 1px solid #eee;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNy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occurred.";
}

#chestnutlogo {
  background: url(../images/logo_chestnut_white.png) no-repeat;
  width: 12.5rem;
  height: 3.125rem;
  background-size: contain;
}

.siteHelpIcon {
  color: #fff;
  font-size: 2rem;
  margin-left: 0.95rem;
  cursor: pointer;
}

.nav-link {
  color: #fff !important;
  font-size: 1.25rem;
  padding: 0 1.25rem !important;
}

.nav-link:hover {
  color: #c4c4c4 !important;
}

.navbar-light .navbar-toggler {
  color: #fff !important;
  border-color: #fff !important;
  background: #fff !important;
}

.link-primary:hover, .link-primary:focus {
  cursor: pointer !important;
}

.defaultCursor {
  cursor: default;
}

/* PROJECT */
.projectName {
  font-weight: bold;
  color: #6b93c7;
  padding: 0 0 0.95rem 0;
}

.sectionContainer {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
}

.sectionContainerBorder {
  border: 1px solid #ccc;
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
}

.sectionContainer .sectionBtn {
  background: #f7f6f6;
  color: #6b93c7;
  font-size: 1.6rem;
}

.helpIcon {
  color: #b8b8b8;
  margin-left: 0.7rem;
}

.participant-condition-badge {
  padding: 0.5rem 0.25rem 0.5rem 0;
  text-transform: none;
  font-size: 1rem;
}

.sectionContainer .formContent {
  padding: 0 2rem 0 2rem;
}

.sectionContainer .addIcon {
  float: right;
  color: #6b93c7;
  font-size: 1.9rem;
  position: relative;
  left: 1.3rem;
  top: -1.9rem;
}

.sectionContainer .blockCard {
  min-height: 9.4rem;
  padding: 0.65rem;
  background: #f1f1f1;
  margin-bottom: 0.65rem;
  max-width: 20rem;
}

.sectionContainer .descriptionText {
  font-size: 1rem;
}

.modalContent {
  background: #f9f9f9;
}

.sectionContainer .aPrioriPercentage {
  border: 1px solid #6b93c7;
  font-size: 1.75rem;
  padding: 1.25rem;
  position: relative;
  color: #6b93c7;
  font-weight: bold;
  text-align: center;
  background: #fff;
  margin: 0.625rem;
  width: 100%;
}

.sectionContainer .mainbg {
  background: #f1f1f1;
}

.sectionContainer .levelsContainer {
  font-size: 1rem;
}

.sectionContainer .defaultBlock {
  background: #c3e5fb;
}

.sectionContainer .modalLabel {
  color: #3a6297;
  font-size: 1.5rem;
}

.rz-datatable-data td .rz-cell-data, .rz-grid-table td .rz-cell-data {
  font-size: 1rem;
}

.blockIcons {
  position: absolute;
  right: 0.75rem;
  top: 0;
}

.hiddenIcons {
  visibility: hidden;
  font-size: 1.75rem;
}

.showIcons:hover .hiddenIcons,
.showIcons:active .hiddenIcons {
  visibility: visible;
}

.editIcon {
  color: #6b93c7;
}

.trashIcon {
  color: #de5353;
}

.defaultBlockBadge {
  margin-left: 3.125rem;
  margin-top: 0.875rem;
}

.checkboxSize {
  width: 1.4rem;
  height: 1.4rem;
}

.form-label {
  font-weight: bold;
}

.col-form-label {
  font-weight: bold;
}

.rz-column-title {
  font-weight: bold !important;
  font-size: 1rem !important;
}

.statusBanner {
  width: 15rem;
  margin-top: 0.125rem;
  background-color: #6c757d;
  border-color: #6c757d;
}

.activeStatus {
  background: #6eb476;
}

.inactiveStatus {
  background: #b8b8b8;
}

.endedStatus {
  background: #eb2222;
}

.pendingStatus {
  color: #e87b33;
}

.sectionContainer .levelsLabel {
  float: left;
}

.sectionContainer .levelsIcon {
  font-size: 1.6rem;
}

.showErrorBorder {
  border: 0.063px solid #eb2222 !important;
}

.errorIcon {
  margin-left: 0.7rem;
}

.spinner-border {
  width: 1rem !important;
  height: 1rem !important;
}

.selectBlock {
  background: #c3e5fb !important;
}

.errorHighlight {
  background-color: #dc3545;
  color: #fff;
  display: inherit;
}

.editErrorHighlight {
  border: 1px solid #dc3545;
  display: inherit;
}

/* Project Color Options */
.project-color-darkblue {
  /* GAIN ABS BLUE */
  background: #3a6297 !important;
}

.project-color-cosmicCobalt {
  /* Cosmic Cobalt */
  background: #33337B !important;
}

.project-color-burgundy {
  /* Redwood */
  background: #473330 !important;
}

.project-color-grey {
  /* Cadet Grey */
  background: #9aadbfff !important;
}

.project-color-black {
  /* Onyx */
  background: #35393cff !important;
}

.project-color-teal {
  /*Steel Teal */
  background: #42858C !important;
}

.project-color-darkgreen {
  /* Feldgrau */
  background: #5b6c5dff !important;
}

.project-color-blue {
  /* True Blue */
  background: #4464adff !important;
}

.project-color-darkgrey {
  /* Davys Grey */
  background: #4d5359ff !important;
}

.project-color-purple {
  /* Eggplant */
  background: #52414cff !important;
}

.colorPreview {
  width: 100%;
  height: 2.2rem;
  margin-top: 0.25rem;
}

.projectButton {
  margin-top: 0.125rem;
  margin-left: 0.625rem;
  height: 2.6rem;
  line-height: 1.6rem;
}

.roleChecked:checked {
  background-color: #198754 !important;
  border-color: #198754 !important;
}

.rz-datatable-thead th .rz-column-title, .rz-grid-table thead th .rz-column-title,
.rz-datatable-tfoot td, .rz-grid-table tfoot td {
  text-transform: initial;
  color: #000;
}

.rz-datatable-loading {
  background-color: #ffffff !important;
}

.rz-datatable-loading-content .rzi-circle-o-notch {
  font-size: 4rem !important;
}

.rz-datatable-loading-content {
  color: #b8b8b8 !important;
}

.accordion-body {
  padding: 2rem 2.25rem;
}

.searchLink {
  color: #6b93c7 !important;
  text-decoration: none;
}

.searchLink:hover {
  text-decoration: none;
  color: #0d6efd !important;
  cursor: pointer;
}

/* Landing Page */
.landingpageheader {
  background: #5e7890;
  padding: 1.6rem 0;
  color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  position: relative;
  top: -3.25rem;
  margin-bottom: 0 !important;
}

.landingPageIcon {
  float: left;
  font-size: 2.5rem;
  margin-right: 0.95rem;
  height: 5rem;
  position: relative;
  top: -0.65rem;
}

.projectIcon {
  margin-right: 0.95rem;
}

.landingPageCard {
  padding: 0.5rem 1rem 1rem 1rem;
  min-height: 10rem;
  color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.landingPageSubtitle {
  color: #fff;
}

.rz-message-popup {
  z-index: 99;
}

/*ACCOUNT REQUEST */
.requestForm {
  background: #eee;
  margin: 0 0 3.125rem 0;
}

.requestDetailsBg:hover {
  background: #f1f1f1;
  cursor: pointer;
}

.requestDetailsHeader {
  background: #eee;
}

.requestSubHeader {
  color: #6b93c7;
  margin: 0;
  border-bottom: 1px solid #ccc;
}

.requestSearchHeader {
  background: #f1f1f1;
}

.requestSendNewCode {
  float: right;
  color: #6b93c7;
  font-size: 1.875rem;
  position: absolute;
  right: 0.75rem;
  cursor: pointer;
}

.requestSendDenialEmail {
  float: right;
  color: #eb2222;
  font-size: 1.875rem;
  position: relative;
  right: 8rem;
  cursor: pointer;
}

.requestSendMoreInfoEmail {
  float: right;
  color: #e87b33;
  font-size: 1.875rem;
  position: relative;
  right: 3rem;
  cursor: pointer;
}

/* GLOBAL */
.defaultHeaderBtn {
  background: #f3f3f3;
  color: #000;
}

.defaultHeaderBtn:hover {
  background: #ccc !important;
  color: #000 !important;
}

.defaultHeaderBtn:active {
  background: #fff;
  color: #000;
}

.blueHeader {
  font-weight: bold;
  color: #6b93c7;
  padding: 0.625rem 0 0.95rem 0;
}

.infoIcon {
  color: #b8b8b8;
  margin-left: 0.625rem;
}

.btn-submit {
  background: #198754;
  color: #fff;
  border-color: #198754;
}

.btn-submit:hover {
  background: #188e58;
}

.blazored-toast-container {
  z-index: 99999 !important;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -0.063rem 0.125rem rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 99999;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazored-toast-heading {
  text-transform: none !important;
  z-index: 9999999;
}

.blazored-toast-info {
  background-color: var(--bs-info) !important;
}

.blazored-toast-success {
  background-color: var(--bs-success) !important;
}

.blazored-toast-warning {
  color: #000 !important;
  background-color: var(--bs-warning) !important;
}

.blazored-toast-error {
  background-color: var(--bs-danger) !important;
  z-index: 99999;
}

.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-icon) !important;
}

.rz-dropdown-items-wrapper {
  overflow-x: visible !important;
  max-height: 400px !important;
}

.rz-spinner.rz-state-disabled,
.rz-calendar.rz-state-disabled .rz-inputtext,
.rz-listbox.rz-state-disabled,
.rz-autocomplete-input:disabled,
.rz-state-disabled.rz-autocomplete,
.rz-state-disabled.rz-multiselect,
.rz-state-disabled.rz-dropdown,
.rz-radiobutton-box.rz-state-disabled,
.rz-chkbox-box.rz-state-disabled,
.rz-colorpicker:disabled,
.rz-lookup-search input:disabled,
.rz-spinner:disabled,
.rz-calendar .rz-inputtext:disabled,
.rz-multiselect:disabled,
.rz-dropdown:disabled,
.mask:disabled,
.rz-textarea:disabled,
.rz-textbox:disabled {
  box-shadow: inset 0 4px 7px 0 rgba(0, 0, 0, 0.03);
  background-color: #e9ecef !important;
  opacity: 1;
  border: 1px solid #ced4da !important;
  color: #000 !important;
}

/* This is a fix for the white checkmark when box is disabled */
.rz-chkbox-box.rz-state-active.rz-state-disabled span {
  color: #000 !important;
}

/* PARTICIPANTS */
.participantDownloadIcon {
  font-size: 2.5rem;
  color: #9aadbfff;
  position: relative;
  bottom: 0.6rem;
  cursor: pointer;
}

.participantDownloadIcon:hover {
  color: #7f8a93 !important;
}

.participantImportIcon {
  font-size: 2.5rem;
  color: #9aadbfff;
  position: relative;
  bottom: 0.6rem;
}

.participantImportIcon:hover {
  color: #8a9bab !important;
}

.addParticipantIcon {
  font-size: 2.5rem;
  position: relative;
  bottom: 0.6rem;
}

.participantErrorContainer {
  overflow-y: scroll;
  height: 7rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border: 1px solid #eee;
}

.participantImport .editIcon {
  font-size: 1.25rem;
  cursor: pointer;
}

/* DASHBOARD */
.dashboardContainer {
  border: 1px solid #b8b8b8;
  padding: 1rem;
  min-height: 100%;
  position: relative;
}

.dashboardHeader {
  font-weight: bold;
  color: #6b93c7;
  padding: 0 0 0.95rem 0;
}

#totalRandomizedParticipantCountContainer {
  float: right;
  background: #efefef;
  padding: 1rem;
  position: absolute;
  right: 0;
  top: 0;
}

.totalRandomizedParticipantCount {
  color: #d55f27e0;
  font-weight: bold;
  font-size: 2rem;
  margin-right: 0.5rem;
}

.rz-legend-bottom {
  bottom: -54px;
  left: 10px;
}

.rz-legend-item {
  display: flex !important;
}

.rz-lookup-panel {
  background-color: #f5f5f5 !important;
  width: 50rem;
  position: relative;
  right: 17.4rem;
}

.randomizationDownloadIcon {
  font-size: 2rem;
  position: relative;
  /*top: 0.5rem;*/
  cursor: pointer;
  margin: 0 1rem 0 0.7rem;
}

.randomizationDownloadIcon:hover {
  color: #7f8a93 !important;
}

.downloadToExcelIcon {
  font-size: 2rem;
  color: #9aadbfff;
  position: relative;
  top: -0.5rem;
  cursor: pointer;
  float: right;
}

.downloadToExcelIcon:hover {
  color: #7f8a93 !important;
}

.recentlyRandomizedDays {
  font-size: 1rem;
  color: #b8b8b8;
}

@media screen and (max-width: 1000px) {
  .sectionContainer .aPrioriPercentage {
    margin: 0;
  }

  .rz-lookup-panel {
    right: 0;
    width: 100%;
  }
}
@media screen and (max-width: 1200px) {
  .hiddenIcons {
    display: block;
    font-size: 1.75rem;
  }

  .modal-dialog {
    max-width: 100%;
  }

  .editIcon {
    padding: 0.625rem !important;
  }

  .mobileProjectDropdown {
    display: block !important;
  }

  .desktopProjectDropdown {
    display: none !important;
  }

  .navbar-expand-lg .navbar-collapse {
    overflow: visible !important;
    height: auto !important;
  }

  .navbar .btn-navbar {
    display: none;
  }

  .rz-chart {
    height: 200px;
  }

  .dashboardContainer {
    min-height: 0;
  }

  .recentlyRandomizedDays {
    display: none;
  }

  .dashboardHeader {
    font-size: 1rem;
  }
}
@media screen and (max-width: 1200px) and (orientation: portrait) {
  .dashboardHeader {
    font-size: 1rem;
  }

  .recentlyRandomizedDays {
    display: none;
  }

  .dashboardContainer {
    min-height: 0;
  }

  .rz-chart {
    height: 125px;
  }
}
@media screen and (min-width: 1201px) {
  .mobileProjectDropdown {
    display: none !important;
  }

  .desktopProjectDropdown {
    display: block !important;
  }
}
@media screen and (max-width: 1400px) and (orientation: landscape) {
  .landingPageIcon {
    height: 12rem;
  }
}
@media screen and (max-width: 990px) and (orientation: landscape) {
  .landingPageIcon {
    height: 6rem;
  }
}
@media screen and (max-width: 1400px) and (orientation: landscape) {
  .landingPageIcon {
    height: 12rem;
  }
}
@media screen and (max-width: 990px) and (orientation: landscape) {
  .landingPageIcon {
    height: 6rem;
  }
}
