
/* Override DataTables default - set date columns to left-aligned by default */
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-date {
  text-align: left;
}

  /* Also fix the flex direction for date column headers */
  table.dataTable th.dt-type-date div.dt-column-header,
  table.dataTable th.dt-type-date div.dt-column-footer,
  table.dataTable td.dt-type-date div.dt-column-header,
  table.dataTable td.dt-type-date div.dt-column-footer {
    flex-direction: row;
  }

  /* Allow explicit text-right class to override the default */
  table.dataTable th.dt-type-date.text-right,
  table.dataTable td.dt-type-date.text-right {
    text-align: right;
  }

    table.dataTable th.dt-type-date.text-right div.dt-column-header,
    table.dataTable th.dt-type-date.text-right div.dt-column-footer,
    table.dataTable td.dt-type-date.text-right div.dt-column-header,
    table.dataTable td.dt-type-date.text-right div.dt-column-footer {
      flex-direction: row-reverse;
    }

/* ----------- Tempus Dominus ----------- */
.special-day {
  background-color: yellow;
}

.datepicker-yellow-date {
  background-color: #FFFA99;
}

/* ----------- Bootstrap 5 update tweaks ----------- */
.h1, .h2, .h3, h1, h2, h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.btn-secondary {
  --bs-btn-hover-color: none;
  --bs-btn-hover-bg: none;
}

.modal-title {
  margin-top: 0 !important;
}

.modal-header h5 {
  font-size: 1rem;
  padding-top: 0.3rem;
}

a, .nav-link {
  color: #337ab7;
  text-decoration: none
}

  a:focus, a:hover {
    color: #23527c;
    text-decoration: none
  }


.nav-tabs .nav-link {
  color: #A7B1C2;
  font-weight: 600;
  text-decoration: none;
}

.table {
  --bs-table-bg: none !important;
}

  .table > :not(caption) > * > * {
    color: inherit;
  }

/*
table tr:hover td,
table tr > td:hover {
    background-color: #dff0d8 !important;
}
    */

.hidden {
  display: none !important;
}

.bootstrap-duallistbox-container {
}

  .bootstrap-duallistbox-container .box1 {
    display: flex;
    flex-direction: column;
  }

  .bootstrap-duallistbox-container .box2 {
    display: flex;
    flex-direction: column;
  }

  .bootstrap-duallistbox-container select {
    height: 300px !important;
    border: 1px solid #e5e6e7 !important;
    padding: 16px;
    font-size: 0.9rem;
  }

/* Fix for chosen dropdowns in tabs */
.chosen-container {
  width: 100% !important;
}

.btn {
  font-size: 14px;
}

.btn-sm {
  font-size: 12px;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  opacity: inherit;
}

/* Fix for old bootstrap 3 / template details views */
/*
    <dl class="dl-horizontal">
        <dt>Name</dt>
        <dd>Bla bla</dd>
*/

.dl-horizontal {
  /*background-color: lightblue;*/
  overflow: hidden;
}

  .dl-horizontal dt {
    /*background-color: lightgray;*/
    text-align: right;
    float: left;
    clear: left;
    min-width: 150px;
    padding: 0px 10px 6px 0px !important;
    margin: 0px 0px 0px 0px !important;
  }

  .dl-horizontal dd {
    /*background-color: lightyellow;*/
    float: left;
    padding: 0px 0px 6px 0px !important;
    margin: 0px 0px 0px 0px !important;
  }

/*
.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px;
}

.nav-tabs {
    margin-bottom: 0;
}
*/
.form-select {
  font-size: 0.9rem;
  color: inherit;
}

.breadcrumb .active {
  font-weight: bold;
}

.breadcrumb-item a {
  text-decoration: none;
}

.col-form-label {
  font-weight: bold;
}

@media only screen and (min-width: 575px) {
  .col-form-label {
    text-align: right;
  }
}

/**
 * @deprecated Please use 'float-start' instead!
 */
.pull-left {
  float: left !important;
}

/**
 * @deprecated Please use 'float-end' instead!
 */
.pull-right {
  float: right !important;
}


/* CUSTOMS */

.action-column {
  min-width: 40px;
}

.uncofirmedChangesIcon {
  cursor: pointer;
}

.femalesDataTableColumn {
  white-space: normal !important;
  width: 200px !important;
}

.eggsLogRow {
  height: 45px !important;
  vertical-align: middle !important;
}

/* Used with hr tags*/
.lessMargin {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* Overwrite the padding for checkbox in bootstrap*/
.checkbox {
  padding-left: 0px !important;
  padding-top: 8px !important;
}

  .checkbox label {
    padding-left: 0px !important;
    padding-right: 15px !important;
  }


/* Buttons with fontawesome icon in it*/
.fontAwesomeButton {
  padding: 10px 10px 10px 6px;
}

.fontAwesomeButtonIcon {
  vertical-align: middle;
}

/* Used for floating scroll */
.spacious-container {
  overflow: auto;
  width: 100%;
}

/* Custom checkbox style*/
.checkbox label:after {
  content: '';
  display: table;
  clear: both;
}

.checkbox .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: .25em;
  width: 1.3em;
  height: 1.3em;
  float: left;
  margin-right: .5em;
}

  .checkbox .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 15%;
  }

.checkbox label input[type="checkbox"] {
  display: none;
}

  .checkbox label input[type="checkbox"] + .cr > .cr-icon {
    opacity: 0;
  }

  .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon {
    opacity: 1;
  }

  .checkbox label input[type="checkbox"]:disabled + .cr {
    opacity: .5;
  }

.incubations-warning {
  color: #D8000C;
  /* background-color: #FFD2D2; */
}

.cylinders-warning {
  color: #f8ac59;
  /* background-color: #FFD2D2; */
}

.storage-warning {
  color: lightsalmon;
}

.storage-danger {
  color: orangered;
  font-weight: bold;
}

.storage-inherited {
  color: lightseagreen;
}

/* For removing up/down arrows in number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.help-modal-dialog {
  width: 70%;
  padding: 0;
}

.divWaiting {
  position: absolute;
  background-color: #FAFAFA;
  z-index: 2147483647 !important;
  opacity: 0.8;
  overflow: hidden;
  text-align: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding-top: 20%;
  visibility: hidden;
}

/* Chosen Dropdowns*/

.chosen-select {
}

/*OverWrite - This was inspinia, needs checking if updated */

/* CHOSEN PLUGIN */
.chosen-disabled {
  color: black !important;
  font-weight: bold;
}

.search-choice-close {
  cursor: default;
}

.chosen-container-single .chosen-single {
  font-family: inherit !important;
  font-size: 14px !important;
  color: inherit !important;
  border: 1px solid #e5e6e7 !important;
  box-shadow: none;
  background: #ffffff;
  -moz-box-sizing: border-box;
  border-radius: 2px;
  cursor: text;
  height: auto !important;
  margin: 0;
  min-height: 30px;
  overflow: hidden;
  padding: 4px 12px;
  position: relative;
  width: 100%;
}

.chosen-container-multi .chosen-choices {
  font-family: inherit !important;
  font-size: 14px !important;
  color: inherit !important;
  border: 1px solid #e5e6e7 !important;
  box-shadow: none;
  background: #ffffff;
  -moz-box-sizing: border-box;
  border-radius: 2px;
  cursor: text;
  height: auto !important;
  margin: 0;
  /*min-height: 30px;*/
  overflow: hidden;
  padding: 2.5px 12px;
  position: relative;
  width: 100%;
}

  .chosen-container-multi .chosen-choices li.search-choice {
    font-family: inherit !important;
    font-size: 14px !important;
    background: #f1f1f1;
    border-radius: 2px;
    box-shadow: none;
    color: #333333;
    cursor: default;
    line-height: 13px;
    margin: 3px 0 3px 5px;
    padding: 3px 20px 3px 5px;
    position: relative;
  }

  .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    font-family: inherit !important;
    font-size: 14px !important;
    color: inherit !important;
  }

.chosen-container .chosen-drop {
  font-family: inherit !important;
  font-size: 14px !important;
  color: inherit !important;
  border: 1px solid #1ab394 !important;
}

.chosen-container-active .chosen-single {
  border: 1px solid #1ab394 !important;
}

.chosen-container-active .chosen-choices {
  border: 1px solid #1ab394 !important;
}

.chosen-container .chosen-results li.highlighted {
  background-color: #1ab394 !important;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #1ab394), color-stop(90%, #13866f)) !important;
  background-image: linear-gradient(#1ab394 20%, #13866f 90%) !important;
}

/* -> /// Chosen Dropdowns*/

/* Custom Padding Styles - change to pt pb when bootstrap 5 is up */

/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.pad-top-14px {
  padding-top: 14px;
}
/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.pad-top-10px {
  padding-top: 10px;
}
/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.pad-top-6px {
  padding-top: 6px;
}
/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.pad-bottom-10px {
  padding-bottom: 10px;
}
/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.pad-bottom-6px {
  padding-bottom: 6px;
}
/**
 * @deprecated Please use built-in styles in Bootstrap instead!
 */
.w200px {
  width: 200px;
}

.card-gray-bg {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}

/*
.card-heading-green-bg {
    padding: 10px 10px;
    color: white;
    background-color: #1ab394;
    border-color: #1ab394;
}

.card-heading-gray-bg {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
*/
/* -> ///  Custom Padding Styles */

/* Font Awesome tweaks*/
.fa, .fas, .fab {
  margin-right: 6px !important;
  margin-left: 6px !important;
}

/* Operations Grids*/
.row-bgr-gray {
  background-color: #F5F5F6 !important;
  margin: 2px !important;
  padding-top: 6px;
  padding-bottom: 8px;
}

/* // Operations Grids*/

/*Fix row so that cols with different height wrap correctly AVG*/

div.row.flex {
  display: flex;
  flex-wrap: wrap;
}

.updateddata {
  background-color: #FFFA99;
}

.errordata {
  background-color: #FC682A;
  color: white;
  font-weight: 700;
}
/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.paddingRight0 {
  padding-right: 0px;
}
/**
 * @deprecated Please use built-in paddings in Bootstrap instead!
 */
.paddingLeft0 {
  padding-left: 0px;
}
/**
 * @deprecated Please use built-in margins in Bootstrap instead!
 */
.marginTop10 {
  margin-top: 10px;
}

.smoltsRecurringDataOverviewBox .control-label {
  margin-top: 10px;
}

.smoltsRecurringDataOverviewBox .form-control {
  padding-left: 5px;
  padding-right: 5px;
}

.containsInlineHeaderFilter.table > thead:first-child > tr:first-child > th {
  padding-top: 3px;
  vertical-align: bottom;
}

.actionDateTodayBtn {
  width: 45px;
  height: 15px;
  font-size: 11px;
  float: right;
  margin-top: 4px;
  margin-right: 3px;
  padding-top: 4px;
  padding-left: 5px;
  padding-bottom: 18px;
}

.roundcorners {
  min-width: 185px;
  width: 100%;
}

#filterSelectsPanel {
  margin-bottom: 0px;
  z-index: 2000 !important;
}

#filterButtonsPanel {
  margin-top: 10px;
  margin-bottom: 10px;
  z-index: 1500 !important;
}

  #filterButtonsPanel .ibox-content {
    padding-bottom: 10px;
  }

  #filterButtonsPanel .btn {
    margin-bottom: 6px;
  }

/*
.filterButtonsPanelScrollTop-mobile {
    position: fixed;
    z-index: 1000;
    top: 0.1px;
    background: rgb(243, 243, 244);
    padding-top: 5px;
    width: 100%;
}

@media (min-width: 800px) {
    .filterButtonsPanelScrollTop-mobile {
        width: 80% !important;
    }
}

.filterSelectsPanelScrollTop {
    position: fixed;
    top: 0px;
    z-index: 2000;
    width: 87%;
    height: 170px;
}

.filterButtonsPanelScrollTop {
    position: fixed;
    top: 178px;
    z-index: 1000;
    background: rgb(243, 243, 244);
    padding-top: 5px;
    width: 100%;
    height: 105px;
}



@media (max-width: 1182px) {
    .filterButtonsPanelScrollTop {
        top: 406px;
        width: 80% !important;
        height: 140px !important;
    }
}

@media (max-width: 992px) {
    .filterSelectsPanelScrollTop {
        position: relative !important;
        top: auto;
        z-index: 2000;
        width: 100%;
        height: auto !important;
        margin-bottom: 30px;
    }

    @media (max-width: 600px) {
        .filterSelectsPanelScrollTop {
            position: relative;
            top: auto;
            z-index: 2000;
            width: 100%;
            height: auto;
            margin-bottom: 30px;
        }

        .filterButtonsPanelScrollTop {
            position: relative;
            top: 0;
            z-index: 1000;
            background: rgb(243, 243, 244);
            padding-top: 5px;
            height: auto;
        }

        .filterButtonsPanelScrollTop {
            position: relative !important;
            top: 0 !important;
            z-index: 1000;
            background: rgb(243, 243, 244);
            padding-top: 5px;
            height: auto !important;
        }

        #filterSelectsPanel {
            margin-bottom: 30px;
        }
    }
}

@media (max-width: 975px) {
    .filterButtonsPanelScrollTop {
        top: 0px;
        height: 180px !important;
    }
}
*/


table#starthatchingtbl > tbody > tr.child ul.dtr-details > li {
  display: grid;
}

#tableWrapper1, #tableWrapper2 {
  height: auto !important;
}

.minWidth60 {
  min-width: 60px;
}

.minWidth85 {
  min-width: 85px;
}

.minWidth100 {
  min-width: 100px;
}

.minWidth175 {
  min-width: 175px;
}

.minWidth250 {
  min-width: 250px;
}

#relocationTabs li {
  padding: 15px;
  cursor: pointer;
}

  #relocationTabs li.active {
    border: 1px solid #1ab394;
    margin-top: -1px;
    background-color: #1ab394;
    color: #FFFFFF;
  }

#relocationTabs {
  height: 50px;
}

#relocationTabsContent {
  margin-top: 25px;
}

.inlineCheckbox input[type=checkbox] {
  margin-right: 5px;
}

.inlineCheckbox {
  display: inline-block;
  margin-left: 10px;
}

input[type=checkbox].form-control {
  max-width: 25px;
}

.shrimpRelocateCell {
  margin-left: -5px;
  margin-top: 5px;
}

.restrictedForAutoCalculation {
  opacity: 40%;
}

label#relocateTotal {
  padding-top: 8px;
}

.logBanner a {
  color: #999c9e;
}

.logBanner {
  margin-top: 5px;
}

@media (max-width: 767px) {
  .logBanner.navbar-nav {
    display: block;
    text-align: center;
    clear: both;
  }
}

.required::after {
  content: ' *';
  color: red;
}


.paddingTop7 {
  padding-top: 7px;
}

.red {
  color: red;
}

/* Inspinia-styled Filter Buttons */
.filter-btn-group {
  border: none !important;
  box-shadow: none !important;
}

  .filter-btn-group .btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 3px;
    font-weight: 400;
    transition: all 0.3s ease;
    margin-right: 5px;
    background-color: #ffffff;
    border: 1px solid #e7eaec;
    color: #676a6c;
  }

    .filter-btn-group .btn:hover {
      background-color: #f3f3f4;
      border-color: #d1dade;
      color: #676a6c;
    }

    .filter-btn-group .btn.active {
      background-color: #1ab394;
      border-color: #1ab394;
      color: #ffffff;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }

      .filter-btn-group .btn.active:hover {
        background-color: #18a689;
        border-color: #18a689;
      }

    .filter-btn-group .btn:focus,
    .filter-btn-group .btn.focus {
      outline: none;
      box-shadow: none;
    }

    .filter-btn-group .btn input[type="checkbox"] {
      position: absolute;
      clip: rect(0, 0, 0, 0);
      pointer-events: none;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-btn-group .btn {
    margin-bottom: 5px;
    display: block;
    width: 100%;
    margin-right: 0;
  }
}
