/*! @import */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --tw-ring-offset-shadow: 0 0 transparent;
  --tw-ring-shadow: 0 0 transparent;
  --bg1: #006fb9;
  --bg2: #EEEEEE;
  --header-height: 48px;
  --fg-error: rgb(248, 113, 113);
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);
}

html, body {
  padding: env(safe-area-inset);
  margin: 0;
}

body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* @media (max-width: 768px) {
  * {
    overflow-x: hidden;
  }
} */

.space-between > * + * {
  margin: 0 0.5rem;
}

a {
  color: #000;
}
a:hover {
  color: rgb(160, 160, 160);
}

h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.875rem;
  }
}

h2 {
  font-size: 2rem;
  font-weight: 300;
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }
}

h3 {
  margin: 0.25rem 0;
  font-size: 1.5rem;
  font-weight: 200;
}
@media (max-width: 768px) {
  h3 {
  }
}

hr {
  border-style: solid;
  border-top-width: 1px;
  border-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}

input {
  font: unset;
}

input[type="text"],
input[type="password"],
select {
  font: unset;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);
  appearance: none;
  border-width: 1px;
  border-radius: 0.25rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  color: rgb(55, 65, 81);
  line-height: 1.25;
}

select {
  font: unset;
  line-height: 1;
}

label {
  display: flex;
  align-items: center;
  line-height: 1;
}

.litepicker .container__months .month-item-header div>.month-item-year {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem !important;
}

.popup_container-1 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999 !important;
  width: 100px;
  height: 100px;
  overflow: hidden;
  outline: 0;
}
.popup_container-2 {
  display: grid;
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
  justify-content: center;
  align-content: center;
}

.popup_content {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-color: white;
  background-clip: padding-box;
  border-radius: 1rem;
  outline: 0;
  padding: 1rem;
  color:rgb(44, 44, 44);
}

.popup_background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998 !important;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.25);
}


.nothing-returned{
  font-weight: bolder;
  padding: 0.5rem;
}

.card-list-row-1 {
  display: flex;
  flex-direction: column;
}
.card-list-row-1.in-filter {
  border-left: 0.25rem;
  border-color: white;
  border-style: solid;
}
.card-list-row-majorFieldValues-1 {
  font-weight: bolder;
  display: grid;
  text-align: right;
  column-gap: .5rem;
  
  grid-template:
    'field1 space field2' auto
    / minmax(0, auto) 1fr minmax(0, auto);
  background-color: rgb(231, 233, 234);
  padding: 0.5rem;
  width: 100%;
}
.card-list-row-majorFieldValues-1.in-filter {
  background-color: hsl(231, 56%, 36%);
  text-align: right;
  column-gap: .5rem;
}

.card-list-row-minorFieldValues-1 {
  grid-template:
    'field1 space field2' auto
    / minmax(0, auto) 1fr minmax(0, auto);
  background-color: rgb(208, 210, 211);
  padding: 0.5rem;
  width: 100%;
}
.card-list-row-minorFieldValues-value-1 {
  float: left;
  display: flex;
  flex-direction: column;
  padding-right: 0.5rem;
}
.card-list-row-minorFieldValues-header {
  font-size: 0.5rem;
  font-weight: lighter;
}
.card-list-row-minorFieldValues-value {
  font-weight: bolder;
}
.card-list-card-spacer {
  padding-top: 0.5rem;
}







.label {
}

.sidebar {
  color: white;
  background-color: var(--bg1);
}

.sidebar a {
  color: white;
}

.heavy-box {
  border-width: 4px;
  border-style: solid;
  border-color: rgb(209, 213, 219);
  margin: 1rem;
  padding: 1rem;
}

.button {
  padding: 0.5rem 1rem;
  background-color: var(--bg1);
  color: white;
  font-weight: 700;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);
  cursor: pointer;
}

.brand {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 100;
  line-height: inherit;
  white-space: nowrap;
  letter-spacing: 0.75rem;
  color: #ffffff;
}
.brand:hover {
  color: #ddd;
  text-decoration: none;
}
.brand.active {
  background-color: #e0e0e0;
  color: #000;
}

.disable-scrollbars::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* Chrome/Safari/Webkit */
}
.disable-scrollbars {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

  .page-buttons {
    display: flex;
      justify-content: flex-end;
    }
.page-buttons > * {
  display: flex;
  margin: 0.5rem;
}


@media (min-width: 768px) {
  .page-buttons-transanction {
    display: flex;
    justify-content: flex-end;
  }
  
  .page-buttons-transanction > * {
    display: flex;
    margin: 0.5rem;
  }
}

@media (max-width: 768px) {
  .page-buttons-transanction {
    display: flex;
      white-space: nowrap;
      overflow-x: scroll;
  }
  
  .page-buttons-transanction > * {
    display: flex;
    margin: 0.5rem;
  }
}

.simple-page-buttons {
  display: flex;
}
.simple-page-buttons > * {
  display: flex;
  margin: 0.5rem;
}

.heavy-box-1 {
  margin: 0 0 4rem 0;
}
.heavy-box-2{
  display: flex;
  flex-direction: column;
  border-style: solid;
  border-width: 0.25rem;
  border-color: var(--bg1);
  padding: 2rem 0;
  overflow-x: auto;
}
.mobile .heavy-box-2 {
  border-style: unset;
  padding: unset;
  overflow-x: visible;
}
.heavy-box-3 {
  display: grid;
  gap: 2rem;
}
.heavy-box-title {
  font-weight: 100;
  color: var(--bg1);
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin: 0 0 0.25rem 0;
}

.form-section-1 {
}
.form-section-2 {
  width: 100%;
  background-color: var(--bg2);
}
.form-section-3 {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.5rem;
}
.form-section-3 > * + * {
  margin: 1rem 0 0 0;
}
.form-section-title {
  margin: 0 0 0 0.5rem;
  font-weight: 100;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.simple-page-container {
  max-width: 768px;
}
@media (max-width: 768px) {
  .simple-page-container {
    margin: 1rem 0;
  }
}



/* Garbage for checkbox styling. */
.checkbox-radioButton-container {
  position: relative;
  padding: 0 0 1rem 2.5rem;
  margin: 0.5rem 0;
  user-select: none;
  cursor: pointer;
}
.checkbox-radioButton-container input {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  cursor: pointer;
  opacity: 0;
}
.checkmark {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  width: 2rem;
  height: 2rem;
  background-color: white;
}
.checkbox-radioButton-container:hover input ~ .checkmark {
  background-color: #ccc;
}
.checkbox-radioButton-container input:checked ~ .checkmark {
  background-color: var(--bg1);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-radioButton-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-radioButton-container .checkmark:after {
  left: 0.71rem;
  top: 0.22rem;
  width: 0.65rem;
  height: 1.33rem;
  border: solid white;
  border-width: 0 0.22rem 0.22rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.radioButton {
  border-radius: 50%;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  width: 2rem;
  height: 2rem;
  background-color: white;
}

.checkbox-radioButton-container:hover input ~ .radioButton {
  background-color: #ccc;
}
.checkbox-radioButton-container input:checked ~ .radioButton {
  background-color: var(--bg1);
}

.radioButton:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-radioButton-container input:checked ~ .radioButton:after {
  display: block;
}

.checkbox-radioButton-container .radioButton:after {
  top: calc((2rem/2) - (0.75rem/2));
  left: calc((2rem/2) - (0.75rem/2));
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: white;
}

/*
Dropdown stuff
*/
.dropdown {
  display:none;
}

.dropdown-button {
  margin:0 !important;
  display: grid;
  grid-template:
  'f x a' auto
  / auto 1fr auto;
  width: 100%;

  min-height: 3rem;
  justify-content: center;
  align-content: center;
  cursor: pointer;
}

.inactive_filter{
  text-decoration:line-through;
  color: rgb(185, 185, 185);
}

