:root {
  --input-border: #8b8a8b;
  --input-focus-h: 245;
  --input-focus-s: 100%;
  --input-focus-l: 42%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

textarea, input, select {
/*  resize: vertical;*/
  font-size: 14px !important;
  border-width: 1px !important;
  color: white !important;
}
textarea:focus, input:focus, select:focus {
  border-width: 1px !important;
  border-color: #198754 !important;
  box-shadow: 0 0 0 0.01rem #198754 !important;
}
input[type="checkbox"]{
	border-color: white !important;
}
input[type="checkbox"]:checked {
  background-color: #198754 !important;
  border-color: black !important;
}
.form-select{
  background: #212529 !important;
}
.form-control{
  background: #212529 !important;
}
.select2-search__field{
  background: #212529 !important;
}
.form-switch{
  padding-left: 2em;
}
.form-switch .form-check-input{
  width: 3.5em;
  height: 1.75em;
}
.text-xs{
  font-size: 14px;
}
.text-xxs{
  font-size: 12px;
}
.text-sm{
  font-size: 16px;
}
.text-tertiary{
  color: #E3E3E3 !important;
}
.elipsis-text{
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bg-highlight{
  background-color: #1F1F1F !important;
}
.copy-input{
  cursor: pointer;
/*  text-decoration: underline;*/
}
.delete-responsibility{
  cursor: pointer; 
}
.select2-results__option{
/*  width: 100% !important;*/
  z-index: 1001 !important;
}
.select2-container{
  padding: 0.15rem 0.50rem !important;
  border-radius: .25rem !important;
}
.select2-container--default .select2-selection--multiple{
  background-color: var(--bs-dark);
}
.select2-container--default .select2-selection--multiple {
  border: none !important;
}
.ms-container{
  width: 100% !important;
}
.ms-selectable > input{
  background-color: white !important;
  margin: .25rem !important;
  width: 95%;
  color: black !important;
}
.ms-selection > input{
  background-color: white !important;
  margin: .25rem !important;
  width: 95%;
  color: black !important;
}
/*Nav*/
.nav-link{
  color: white;
}
.nav-link:hover{
  color: var(--bs-gray);
}
.nav-tabs {
    border-bottom: 1px solid var(--bs-gray);
}

/*Data Tables*/
.dataTables_wrapper {
	background: #212529!important;
	color: white;
}
.dataTables_info{
  padding-top: 0px !important;
}
.paginate_button.page-item > a{
  background-color: var(--bs-table-bg) !important;
  color: white !important;
  border-color: white !important;
}

.paginate_button.page-item.active > a{
  background-color: white !important;
  color: black !important;
  border-color: white !important;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    color: rgba(255, 255, 255, 0.75);
}
.div.dt-button-collection button.dt-button:active:not(.disabled), div.dt-button-collection button.dt-button.active:not(.disabled), div.dt-button-collection div.dt-button:active:not(.disabled), div.dt-button-collection div.dt-button.active:not(.disabled), div.dt-button-collection a.dt-button:active:not(.disabled), div.dt-button-collection a.dt-button.active:not(.disabled){
  background: #212529 !important;
  color: white !important;
}
.button.dt-button, div.dt-button, a.dt-button, input.dt-button{
  background: white !important;
}
.btn-xs{
  font-size: .65em;
}
div.dt-button-collection.fixed{
  background: #212529 !important;
  width: 65% !important;
}
.field-remove-btn{
  cursor: pointer;
}
.choice-remove-btn{
  cursor: pointer;
}
table.dataTable.table-sm>thead>tr>th.sorting.dtfc-fixed-left{
  z-index: 10;
}
.table-auto{
  width: auto !important;
}
.dtfh-floatingparent.dtfh-floatingparenthead{
  top: -6px !important;
  height: 45px !important;
  border-bottom: 1px solid white;
  background-color: var(--bs-dark) !important;
}
.fixed-scroll{
  height: 80vh;
  overflow-y: scroll;
}
.dt-button-info{
  background-color: #212529!important;
  color: white;
}
.dt-button-info>h2{
  background-color: #212529!important;
  color: white;
}
.fixed-td{
  z-index: 1000 !important;
}
.fixed-th{
  position: sticky;
  left: 0px;
}
.reduced-td{
  max-height: 50px;
  overflow-y: auto;
}
.reduced-xl-td{
  max-height: 150px;
  overflow-y: auto;
}

.errorlist{
	color: white;
	margin-bottom: 0px;
}
.callout-td{
  max-width: 450px !important;
  min-width: 250px !important;
}
.callout-td > div{
  max-height: 300px;
  overflow-y: auto;
}
.callout-td > div > p{
  overflow-wrap: break-word;
}
.callout-td-lg{
  max-width: 600px !important;
  min-width: 250px !important;
}
.callout-td-lg > div{
  max-height: 500px;
  overflow-y: auto;
}
.callout-td-lg > div > p{
  overflow-wrap: break-word;
}
.log-td > div{
  max-height: 450px;
  overflow: auto;
}
.api-log-td > div{
  max-height: 450px;
  max-width: 600px;
  overflow: auto;
}
.report-td{
  width: 350px;
}
.report-td-sm{
  width: 200px;
  max-height: 25px;
}
.td-form{
  min-width: 300px;
}
.td-title-sm{
  min-width: 31px;
  max-width: 31px;
  text-align: center;
}
.campaign-data{
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
.overflow-tr-text{
  display: inline-block;
  overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 280px;
}
.overflow-tr-text-sm{
  display: inline-block;
  overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}
.custom-data-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.callout-history-section{
  max-height: 60vh;
  overflow-y: auto;  
}
.callouts-history{
  max-height: 85vh;
  overflow-y: auto;  
}
.contractor-history{
  max-height: 50vh;
  overflow-y: auto;  
}
.dashboard-card-md{
  overflow-y: auto;
  max-height: 40vh;
}
.dashboard-card-lg{
  overflow-y: auto;
  max-height: 62vh;
}
.dashboard-card-xl{
  overflow-y: auto;
  max-height: 80vh;
}
.dashboard-card-xl{
  overflow-y: auto;
  max-height: 80vh;
}
#powerbi-dashboard{
  width: 100vw !important;
  height: 100vh !important;
}
.options-td{
  max-width: 200px;
}
.report-card{
  max-height: 500px;
  overflow-y: auto;
}
.performance-card{
  max-height: 650px;
  overflow-y: auto;
}
.max-height-card{
  max-height: 250px;
}
/* width */
::-webkit-scrollbar {
  max-width: 8px;
  max-height: 8px;
  width: 8px;  
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 30px;
  background: #212529 !important;
  border: 1px rgba(255, 255, 255, .5) solid;
}

/*Select2*/
.select2-container{
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #212529 !important;    
    background-clip: padding-box;
    border: 1px solid white !important;
}
.select2-selection__arrow{
    width: 20px !important;
}
.select2-container--default .select2-selection--single{
  border: 0px !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background: #212529 !important;
  color: white;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    background: #212529 !important;
    color: white !important;
}

/* Select2 Clear Button - Make it white */
.select2-container--default .select2-selection--single .select2-selection__clear {
    color: white !important;
    font-weight: bold;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    color: white !important;
    font-weight: bold;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #f8f9fa !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
    color: #f8f9fa !important;
}

/*Datepicker*/
.air-datepicker-cell.-selected-, .air-datepicker-cell.-selected-.-current- {
    color: #fff !important;
    background-color: #212529 !important;    
}
.air-datepicker-body--day-name {
    color: black !important;
}
.air-datepicker-time--row > input{
  background-color: white !important;
  color: var(--bs-dark) !important;
}
.air-datepicker-time--row > input[type='range']::-webkit-slider-runnable-track{
  background-color: var(--bs-dark) !important;
}
.air-datepicker-time--row > input[type='range']::-webkit-slider-thumb{
  background: var(--bs-success) !important;
}
.air-datepicker-global-container{
  z-index: 1002;
}

/*Radio Buttons*/
.radio-choice{
  font-size: 24px;
}
input[type="radio"].radio-choice {
    transform: scale(1.5); /* Adjust the scaling factor as needed */
}

input[type="radio"].radio-choice + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

input[type="radio"].radio-choice + label:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #000;
}

input[type="radio"].radio-choice:checked + label:after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
}

/*Emoji Picker*/
.fg-emoji-picker-search > input{
  color: black !important;
}

/*Timeline*/
.timeline {
  border-left: 1px solid hsl(0, 0%, 90%);
  position: relative;
  list-style: none;
}

.timeline .timeline-item {
  position: relative;
}

.timeline .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline .timeline-item:after {
  background-color: hsl(0, 0%, 90%);
  left: -38px;
  border-radius: 50%;
  height: 11px;
  width: 11px;
  content: "";
}

.reminders{
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  max-width: 100vw;
  overflow-x: auto;
  margin-bottom: 2px;
}

.reminder{
  max-width: 400px;
  min-width: 250px;
  height: 150px;
  overflow-y: auto;
  overflow-x: clip;
  text-align: justify;
  margin: 5px 8px;
  padding: 5px;
  border: 1px white solid;
}

.responsibilities{
  overflow-y: auto;
  max-height: 185px;
}

.date-select{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.date-select > select{
  min-width: 80px;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* width */
.date-select > select::-webkit-scrollbar {
  width: 8px;
}

/*DPI*/
.qc-bar{
  min-width: 80px !important;
}
.micro-qc-scores{
  width: 200px;
  height: 40px;
  font-size: 10px;
  float: left;
  border: 1px solid white;
}

/*Analytics*/
.chart-bar{
  width: 100%;
  height: 500px;
}
.chart-bar-sm{
  width: 100%;
  height: 350px;
}
.chart-bar-xs{
  width: 100%;
  height: 150px;
}
.chart-bar-md{
  width: 100%;
  height: 450px;
}
.chart-variable-radius{
  width: 100%;
  height: 650px;  
}

/*Notifications*/
.dropdown-menu.notifications{
  min-width: 28rem !important;
}
.dropdown-menu[data-bs-popper].notifications {
  left: -15rem;
  max-height: 80vh;
  overflow-y: scroll;
}
.dropdown-menu.show{
  z-index: 1002;
}
.close-notification{
  cursor: pointer;
  
}
#clear-notifications:hover{
  background-color: var(--bs-dark);
  color: white;
  border-color: white;
}
.toastify{
  background: none;
}

/*User Profile*/
.user-picture{
  border-radius: 50%;
  width: 80px;
  height: 80px;
  background-color: white;
}

/*Project View*/
.team-td{
  overflow-x: auto;
  max-width: 900px;
}
.team-container{
  display: flex;
  flex-direction: row;
/*  width: 980px;*/
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
}
.team-container-xl{
  display: flex;
  flex-direction: row;
  width: 1450px;
  max-height: 300px;
  overflow-y: auto;
}
.team-box{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  border: 1px solid white;
  padding: .5rem;
  margin-right: .1rem;
  margin-left: .1rem;
  height: 100%;
}
.member-cell{
  cursor: pointer;
}
.member-cell:hover{
  background-color: var(--bs-green) !important;
}
.campaign-cell{
  cursor: pointer;
}
.campaign-cell:hover{
  background-color: var(--bs-red) !important;
}

/* Easy Markdown Editor */
.EasyMDEContainer {
  background-color: #212529 !important;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.CodeMirror {
  background-color: #212529 !important;
  color: white !important;
}
.CodeMirror-cursor {
  border-left: 1px solid white !important;
}
.editor-toolbar.fullscreen {
  background-color: #212529 !important;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.editor-toolbar button{
  color: white !important;
}
.editor-toolbar button.active{
  background-color: white !important;
  border-color: #95a5a6;
  color:  #212529 !important;
}
.editor-toolbar button:hover{
  background-color: #585859 !important;
  border-color: #95a5a6;
}
.editor-preview {
  background-color: #212529 !important;
  color: white !important;
}
.editor-preview pre {
  background-color: #36383a !important;
  color: white !important;
} 
/* Markdown Preview */
.markdown-preview .markdown-text, .markdown-preview textarea {
  visibility: hidden;
  background-color: #212529 !important;
  color: #212529 !important;;
}
.markdown-preview .EasyMDEContainer {
  min-height: 0 !important;
}
.markdown-preview .CodeMirror .CodeMirror-scroll {
  min-height: 0 !important;
  overflow-y: auto !important;  
}
.markdown-preview .CodeMirror .CodeMirror-scroll .CodeMirror-lines {
  min-height: 0 !important;
  max-height: 300px !important;
  overflow-y: auto !important;  
}
.markdown-preview .CodeMirror {
  min-height: 0 !important;
}
.markdown-preview .editor-preview {
  min-height: 0 !important;
}

/*Containers*/
.full-container{
  height: 100vh !important;
}
.video-container{
  width: 100%;
}
.video-fit{
  width: 100%;
}

/*Tootips*/
span[data-bs-toggle="tooltip"], 
td[data-bs-toggle="tooltip"], 
a[data-bs-toggle="tooltip"], 
button[data-bs-toggle="tooltip"]{
  cursor: help;
}


/* xl */
@media (min-width: 1200px) and (max-width: 1649.98px) {
  .team-container{
    max-width: 700px;
  }.team-container-xl{
    max-width: 1024px;
  }
}

/* >xxl */
@media (min-width: 1650px) and (max-width: 1900px) {
  .team-container{
    width: 1550px;
  }
  .team-container-xl{
    width: 1550px;
  }
}
