@media (min-width: 1200px) {
  .container-fluid {
    max-width: 85%;
  }
}

.container-fluid {
  flex: 1;
}

@media only screen and (max-width: 1200px) {
  .table-xl {
    display: none;
  }
}

.table-sm td {
  padding: 0.2rem;
}

.datepicker {
  padding: 0.375rem 0.75rem !important;
} /* Restore default boostrap input padding for .datepicker  */

form .form-group > label {
  color: #0c5460;
  font-weight: bold;
}

.black {
  color: black;
}
.gray {
  color: #c7c7c7;
}
.darkgray {
  color: #747474;
}
.red {
  color: orangered;
}
.orange {
  color: darkorange;
}
.yellow {
  color: yellow;
}
.green {
  color: green;
}
.grey {
  color: lightgrey;
}
.cyan {
  color: #17a2b8;
}
.blue {
  color: #007bff;
}

.dropdown-menu {
  margin-top: 0;
}

.alert {
  margin: 10px;
}
.alert ul {
  margin: 0;
  padding: 0;
  padding-inline-start: 15px;
}
.alert ul li {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.pointer {
  cursor: pointer;
}
.hidden {
  display: none !important;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  cursor: -moz-not-allowed;
  cursor: -webkit-not-allowed;
}

.bd-callout {
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #eee;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}

.bd-callout-default {
  border-left-color: #777;
  background-color: #f4f4f4;
}
.bd-callout-danger {
  border-color: #ebccd1;
  border-left-color: #d32535;
  background-color: #f2dede;
}
.bd-callout-warning {
  border-color: #faebcc;
  border-left-color: #edb100;
  background-color: #fcf8e3;
}
.bd-callout-info {
  border-color: #b8daff;
  border-left-color: #148ea1;
  background-color: #d2eef7;
}
.bd-callout-success {
  border-color: #d6e9c6;
  border-left-color: #28a745;
  background-color: #dff0d8;
}

.bd-callout-default h4,
.bd-callout-default i {
  color: rgb(86, 99, 124);
}
.bd-callout-danger h4,
.bd-callout-danger i {
  color: #a94442;
}
.bd-callout-warning h4,
.bd-callout-warning i {
  color: #f0ad4e;
}
.bd-callout-info h4,
.bd-callout-info i {
  color: #31708f;
}
.bd-callout-success h4,
.bd-callout-success i {
  color: #3c763d;
}

.bd-callout ul {
  list-style: none;
  margin: 0;
  padding: 5px;
}

#add-quote-number #id_year {
  width: 50px;
}

table tbody tr td {
  vertical-align: middle !important;
}

table.fs-1 tbody,
table.fs-1 tfoot {
  font-size: 0.9em;
}

.top-message {
  background-color: rgba(253, 124, 37, 0.925);
  color: black;
  font-weight: bold;
  padding: 5px;
}

.collapsed .collapse-icon.fas:before {
  content: "\f0d7"; /* Caret down */
}
.collapse-icon.fas:before {
  content: "\f0d8"; /* Caret up*/
}

.less .details-icon.fa-regular:before,
.collapsed .collapse-icon-plus.fas:before {
  content: "\f0fe"; /* + */
}
.details-icon.fa-regular:before,
.collapse-icon-plus.fas:before {
  content: "\f146"; /* - */
}

.select2 {
  width: 100% !important;
}

.select2-container .select2-selection--single,
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 37px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 37px !important;
}

.select2-container--open {
  z-index: 99;
}

.custom-crispy-field .invalid-feedback {
  display: block;
}

.custom-crispy-field .is-invalid {
  color: #dc3545;
}

.modal-xxl {
  max-width: 1000px;
}

.email-modal .wrapper {
  overflow: hidden;
  font-family: Arial;
  font-size: 0.8em;
}

.email-modal .wrapper p {
  margin: 0;
  padding: 0;
}

.email-modal .wrapper img {
  max-width: 100% !important;
  height: auto !important;
}

.email-modal .wrapper .headers ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.email-modal .wrapper .attachments .icon,
.email-modal .wrapper .attachments .file {
  display: inline-block;
  vertical-align: middle;
}

.email-modal .wrapper .attachments .file span {
  font-size: 0.9em;
  color: #333;
}

.email-modal .wrapper .attachments .item {
  border: 1px solid #ddd;
  border-radius: 3px;
  display: inline-block;
  padding: 5px;
  min-width: 170px;
  background-color: #f3f3f3;
  transition: background-color 0.2s ease;
}

.email-modal .wrapper .attachments .item:hover {
  background-color: #eaf4ff;
}

@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap !important;
  }
}

.top-banner {
  position: sticky;
  top: 0;
  z-index: 100;
}

.flex-1 {
  flex: 1!important;
}

#notfound {
  text-align: center;
  display: flex;
}

.notfound {
  max-width: 520px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.notfound h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 180px;
  font-weight: 200;
  text-transform: uppercase;
}

.notfound h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}

.notfound h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.checkboxinput {
  width: 35%;
  height: auto;
}

.custom-checkbox .checkboxinput {
  width: inherit;
}

.table-responsive,
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  table-layout: auto;
}

h3,
h4,
h5,
h6 {
  padding-top: 15px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
