/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

body, html {
  font-size: 20px;
  color: black;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif !important;
}

p, ul, ol, li {
  /*font-family: 'sans-serif';*/
}

a {
  color: #031E35 !important;
}

.font-26 {
  font-size: 1.6em;
}

.font-2 {
  font-size: 2em;
}

.font-3 {
  font-size: 3em;
}

.dark-blue {
  color: #031E35 !important;
}

.blue {
  color: #334C62 !important;
}

.light-blue {
  color: #83bfdb !important;
}

.brown {
  color: #413322 !important;
}

.btn-primary {
  color: #fff !important;
  background-color: #031E35;
  background-image: -moz-linear-gradient(top, #334C62, #031E35);
  background-image: -ms-linear-gradient(top, #334C62, #031E35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#334C62), to(#031E35));
  background-image: -webkit-linear-gradient(top, #334C62, #031E35);
  background-image: -o-linear-gradient(top, #334C62, #031E35);
  background-image: linear-gradient(top, #334C62, #031E35);
  background-repeat: repeat-y;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  color: #fff !important;
  background-color: #334C62;
  background-image: -moz-linear-gradient(top, #031E35, #334C62);
  background-image: -ms-linear-gradient(top, #031E35, #334C62);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#031E35), to(#334C62));
  background-image: -webkit-linear-gradient(top, #031E35, #334C62);
  background-image: -o-linear-gradient(top, #031E35, #334C62);
  background-image: linear-gradient(top, #031E35, #334C62);
  background-repeat: repeat-y;
}

.btn-secondary {
  color: #fff !important;
  background-color: #6b3a43;
  background-image: -moz-linear-gradient(top, #834450, #6b3a43);
  background-image: -ms-linear-gradient(top, #834450, #6b3a43);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#834450), to(#6b3a43));
  background-image: -webkit-linear-gradient(top, #834450, #6b3a43);
  background-image: -o-linear-gradient(top, #834450, #6b3a43);
  background-image: linear-gradient(top, #834450, #6b3a43);
  background-repeat: repeat-y;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  color: #fff !important;
  background-color: #6b3a43;
  background-image: -moz-linear-gradient(top, #6b3a43, #834450);
  background-image: -ms-linear-gradient(top, #6b3a43, #834450);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6b3a43), to(#834450));
  background-image: -webkit-linear-gradient(top, #6b3a43, #834450);
  background-image: -o-linear-gradient(top, #6b3a43, #834450);
  background-image: linear-gradient(top, #6b3a43, #834450);
  background-repeat: repeat-y;
}

.maroon-background {
  background-color: #6b3a43;
  background-image: -moz-linear-gradient(top, #834450, #6b3a43);
  background-image: -ms-linear-gradient(top, #834450, #6b3a43);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#834450), to(#6b3a43));
  background-image: -webkit-linear-gradient(top, #834450, #6b3a43);
  background-image: -o-linear-gradient(top, #834450, #6b3a43);
  background-image: linear-gradient(top, #834450, #6b3a43);
  background-repeat: repeat-y;
}

/***** NAVIGATION *****/
.navbar {
  box-shadow: 0 0 15px 0 black;
  background-color: #CCC8BA !important;
}

.navbar-brand img {
  width: 60% !important;
}

.navbar-light .navbar-nav .nav-link {
  /*color: #6b3a43 !important;*/
  color: #2e7b9e !important;
}

.nav-link.active {
  box-shadow: 0px 0px 5px 1px #d4d4d4;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: inherit;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: .5rem 0;
  margin: .125rem 0 0;
  font-size: .8rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .25rem;
}

.dropdown-item {
  padding: .25rem .5rem;
}

/***** BASE PILLS *****/
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff !important;
  background-color: #83bfdb !important;
}

.nav-pills .nav-link:hover {
  border-radius: .25rem !important;
  background-color: #334C62 !important;
  color: white !important;
}

select.form-control:not([size]):not([multiple]) {
  height: calc(2rem + 2px);
}

#crf-form .form-group {
  margin-bottom: 0;
}

#crf-form label {
  display: inline-block;
  margin-bottom: .1rem;
}

#crf-form .form-control,
#id_outsourcing_explanation,
#id_outsourcing_alternatives,
#id_annual_days_in_use,
#id_average_use,
#id_anticipated_useful_life {
  font-size: .8rem !important;
}

.form-check input[type="checkbox"] {
  height: 27px;
  margin-top: 0;
  position: relative;
  top: 8px;
  width: 20px;
}

#costs_table td input,
#optional_table td input,
#net_effect_table td input,
#funding_source td input,
#effects_funding td input,
#funding_table td input,
#effects_table td input {
  text-align: right;
  border: none;
  padding: 0 5px;
}

#costs_table tbody tr td,
#optional_table tbody tr td,
#net_effect_table tbody tr td,
#funding_source td input,
#effects_funding td input,
#funding_table tbody tr td,
#effects_table tbody tr td {
  font-size: .8em !important;
  width: 100px;
}

#costs_table tbody tr:nth-of-type(odd) td input,
#optional_table tbody tr:nth-of-type(odd) td input,
#net_effect_table tbody tr:nth-of-type(odd) td input,
#funding_table tbody tr:nth-of-type(odd) td input,
#effects_table tbody tr:nth-of-type(odd) td input {
  background-color: rgba(0, 0, 0, 0.0);
}

#costs_table td, #costs_table th,
#optional_table td, #optional_table th,
#net_effect_table td, #net_effect_table th,
#funding_table td, #funding_table th,
#effects_table td, #effects_table th,
#ranks_of_importance {
  /*padding: .2rem .1rem;*/
  padding: 0;
  vertical-align: middle;
  width: 200px !important;
}

#costs_table, #optional_table,
#net_effect_table, #funding_table,
#effects_table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: white;
}

#costs_table input,
#optional_table input,
#net_effect_table input {
  /*width: 100px;*/
}

input[type="number" i]:disabled {
  background-color: rgba(235, 235, 228, 0);

}

/*tr.total td{*/
/*border:double 1px black;*/
/*}*/
#costs_table tr.total td,
#funding_source tr.total td,
#net_effect_table tbody tr:last-child td,
#funding_table tbody tr:last-child td,
#costs_table tbody tr:last-child td {
  border-top: 4px double black;
}

#costs_table tbody tr td:last-child,
#net_effect_table tbody tr td:last-child,
#optional_table tbody tr td:last-child {
  border-left: double;
}

#costs_table thead tr,
#funding_source thead tr,
#effects_funding thead tr,
#funding_table thead tr,
#effects_table thead tr {
  font-size: .9em;
}

#supplemental_documents {

}

.double-top-border {
  border-top: 4px double black !important;
}

.tab-content {
  background-color: #83bfdb !important;
  box-shadow: 0px 0px 5px 1px #d4d4d4;
  padding: 15px;
  border-radius: 5px;
}

hr.white {
  border-top: 1px solid white;
}

.required-label label:after {
  color: red;
  content: ' *';
  display: inline;
}

.rTable {
  display: table;
  width: 100%;
}

.rTableRow {
  display: table-row;
}

.rTableHeading {
  display: table-header-group;
  background-color: #ddd;
}

.rTableCell, .rTableHead {
  display: table-cell;
  padding: 3px 10px;
  border: 1px solid #999999;
}

.rTableHeading {
  display: table-header-group;
  background-color: #ddd;
  font-weight: bold;
}

.rTableFoot {
  display: table-footer-group;
  font-weight: bold;
  background-color: #ddd;
}

.rTableBody {
  display: table-row-group;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: rgba(0, 0, 0, .05);
  border-color: rgba(0, 0, 0, .25);
}

.required:after {
  color: red;
  content: ' *';
  display: inline;
}

/***HOME***/

h2 {
  color: #2E7B9E !important;
}

.primary-title {
  font-size: 40px !important;
  color: #2E7B9E !important;
  margin-top: 50px;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  .primary-title {
    font-size: 30px !important;
    margin-top: 30px;
  }
}

/**** REPORTS *****/
#spending-report select {
  box-shadow: inset -1px -1px 6px -2px;
}

#spending-report label {
  color: #073761;
}

.spending-report-select {
  padding: 25px;
}

.spending-report-select button {
  margin-bottom: 25px;
}

.wood-background {
  font-size: 26px;
  padding: 15px;
  color: #073761 !important;
  background: #cccccb; /* Old browsers */
  background: -moz-linear-gradient(top, #cccccb 0%, #cccccb 0%, #b0ac96 16%, #b0ac96 28%, #b0ac96 40%, #b0ac96 53%, #b0ac96 66%, #b0ac96 82%, #ccccc5 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #cccccb 0%, #cccccb 0%, #b0ac96 16%, #b0ac96 28%, #b0ac96 40%, #b0ac96 53%, #b0ac96 66%, #b0ac96 82%, #ccccc5 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #cccccb 0%, #cccccb 0%, #b0ac96 16%, #b0ac96 28%, #b0ac96 40%, #b0ac96 53%, #b0ac96 66%, #b0ac96 82%, #ccccc5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccb', endColorstr='#ccccc5', GradientType=0); /* IE6-9 */
}

.report-tables {
  border-radius: 5px;
}

.report-tables thead {
  background-color: #073761;
  color: #cccccb;
  border-radius: 30px 30px 0 0;
}

.report-tables.table td, .report-tables.table th {
  font-size: 16px;
  padding: .5rem;
}

.report-tables tr:last-child {
  border-top: double;
  border-bottom: double;
}

.filters {
  display: grid;
  grid-gap: 10px;
  justify-items: start;
  align-items: center;
  margin: 2rem auto;
  max-width: 255px;
}

.filter > label {
  display: block;
}

.filter > select {
  min-width: 255px;

}

/***RESPONSIVENESS***/
@media screen and (min-width: 992px) {
  .filters {
    margin: 1rem auto;
    padding:0 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    max-width: 100%;
  }

  .filter > select {
    min-width: 255px;

  }

}

@media screen and (min-width: 1200px) {
  .filters {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
  }

  .filter > select {
    min-width: 0;

  }

}

@media screen and (min-width: 1600px) {
  .filters {
    padding: 1rem 10vw;
  }

  .filter > select {
    min-width: 255px;

  }
}

.btn-sign-in {
  margin-left: 10px;
}

.dropdown-toggle::after {
  margin-top: 16px;
  margin-right: 4px;
}

.secondary-title {
  margin-top: 30px;
  margin-bottom: 30px;
}

.center-select {
  margin: 0 auto 20px !important;
  display: block !important;
}

.col-list {
  width: 100% !important;
  max-width: 1279px;
  margin: 0 auto;
}

.notes-button {
  color: white !important;
  margin-top: 2%;
  margin-bottom: 3%;
}

.border-detrail {
  border-right: 1px solid black;
}

.btn-res {
  margin-top: 10px;
}

.nav-link-cr {
  margin-top: 4px;
}

#crf-form label {
  margin-right: 10px;
}

@media (min-width: 1200px) {
  .btn-add-notes {
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 1460px) {
  table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    padding-right: 40px;
  }

  .btn-res2 {
    font-size: 16px !important;
  }

  .btn-res {
    font-size: 16px !important;
  }

  .nav-link-res {
    font-size: 16px !important;
  }

}

@media (max-width: 1200px) {
  .col-detail {
    width: 100% !important;
    max-width: 100% !important;
    flex: 100% !important;
  }

  .btn-res2 {
    max-width: 200px;
    margin: 10px auto;
  }

  .border-detail {
    border-right: none !important;
  }

  .h1, h1 {
    font-size: 1.6em !important;
  }

  .h2, h2 {
    font-size: 1.4em !important;
  }

  .h3, h3 {
    font-size: 1em !important;
  }

  #crf-form label {
    display: inline-block;
    margin-bottom: .1rem;
    font-size: 16px !important;
  }

  .nav-pills-res {
    display: inline !important;
  }

  .nav-link-res2 {
    display: inline-block !important;
  }

  .btn-res3 {
    display: block !important;
    margin: 20px auto;
  }

}

@media (max-width: 992px) {

}

@media (min-width: 768px) {
  .nav-desk {
    position: absolute !important;
    right: 20px !important;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }

}

@media (max-width: 768px) {
  .navbar-res {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .navbar-brand {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 0;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
  }

  .navbar-brand img {
    width: 100% !important;
    max-width: 140px !important;
  }

  .navbar-expand-md .navbar-nav .dropdown-menu {
    position: absolute;
  }

  .table-responsive-res {
    min-width: 500px !important;
  }

  div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
    text-align: left !important;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: left !important;
  }

}

@media (max-width: 480px) {
  .btn-res2 {
    width: 100% !important;
    display: block !important;
    margin-top: 10px;
  }

  .form-control {
    font-size: 16px !important;
    padding: 7px 10px !important;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .btn-sign-in {
    margin-left: 0;
  }

  .navbar-brand img {
    max-width: 120px !important;
  }

  label {
    display: block;
  }

  select.form-control:not([size]):not([multiple]) {
    height: auto;
    width: 100%;
    max-width: 150px;
  }

  /*div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }*/
  div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
    padding-left: 0;
  }

  .secondary-title {
    font-size: 1.4em;
  }

  table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    font-size: 16px;
  }

  .float-right {
    float: none !important;
  }

}

/***ACCORDIONS RESPONSIVE***/

.list-detail-crf {
  display: none !important;
}

@media (min-width: 1200px) {
  .accordion-show-res {
    display: none !important;
  }

}

@media (max-width: 1200px) {
  .container-sm {
    padding-bottom: 0 !important;
  }

  .list-detail-crf {
    display: block !important;
  }

}

@media (max-width: 1200px) {
  .accordion-hide-res {
    display: none !important;
  }

  /*.accordion-show-res {
    display: block !important;
    height: 100%;
    opacity: 1 !important;
  }*/
  .accordion-show-res {
    display: block;
    height: 100%;
    opacity: 1 !important;
    background: #83bfdb !important;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .accordion-show-res .active {
    display: block !important;
  }

  .container-tabs {
    margin-bottom: 50px;
  }

  .accordion-show-res h2 {
    margin-top: 20px;
    font-size: 20px !important;
  }

  .accordion-show-res h3 {
    font-size: 16px !important;
  }

  .accordion-show-res h4 {
    font-size: 16px !important;
  }

  .accordion-show-res h5 {
    font-size: 16px !important;
  }

  .accordion-show-res p {
    font-size: 16px !important;
  }

  .accordion-show-res li {
    font-size: 16px !important;
  }

  .accordion-show-res li a {
    background: transparent !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    font-size: 16px !important;
  }

}

th.rotate, td.rotate {
  text-align: center !important;
  height: 80px;
  white-space: nowrap;
  position: relative;
  margin-top: -20px !important;
  width: 5%;
  padding: 0 !important;
}

th.rotate > div {
  transform: rotate(-90deg);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 17px);
  margin: auto;

}

td.rotate > div {
  transform: rotate(-90deg);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 17px);
  margin: auto;

}

#ranks_of_importance {
  vertical-align: middle;
  text-align: center;
}

.double-right-border {
  border-right: 3px double black !important;
}

.table-bordered td, .table-bordered th {
  border: 1px solid #000000;
}
