:root {
  --panelColour: #336bff;
  --panelColourRGBVals: 51, 107, 255;
  --adminLinkColour: #e98449;
  --columnHeadingColour: #3e8989;
  --editedColourRGB: 15, 113, 115;
  --editedColourLight: rgba(var(--editedColourRGB), 0.5);
  --editedColourDark: rgba(var(--editedColourRGB), 0.8);
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #f6f8fa;
  overflow-x: hidden !important;
}
body p,
body input,
body {
  font-family: 'Lato', sans-serif !important;
  font-size: 13px;
}
input {
  color: black !important;
}

input[type='date'] {
  text-align: center !important;
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 20px;
  padding-top: 0.5vh;
  padding-bottom: 0.5vh;
  background: none;
  text-align: center !important;
}

.center_inside {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.box {
  text-align: center;
  margin: 5%;
  padding: 5%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
  max-width: 800px;
  box-sizing: content-box;
}
.data {
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  border-radius: 0px;
  text-align: center;
  width: 100%;
  transition: border-bottom-color ease 0.4s;
}
.datalabel {
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  color: black;
  padding-bottom: 1vh;
}
.datalabel:not(:first-child) {
  padding-top: 6vh;
}

#modele > div {
  position: relative;
  margin-top: 6vh;
}
#modele i {
  position: absolute;
  right: 0;
  cursor: pointer;
}
.data:not(:placeholder-shown) {
  border-bottom-color: #f9b58b;
}
.data:focus {
  border-bottom-color: #e9610c;
}
.data.button,
.button {
  text-transform: lowercase;
  font-variant: small-caps;
  font-weight: 900;
  font-size: 1.2em;
  color: black;
  transition: all 0.6s ease;
  min-width: 25%;
  background: white;
  border: 2px solid black;
  border-radius: 0px;
  width: 50%;
  position: relative;
}
.data.button:hover,
.button:hover {
  background: #333;
  color: #ddd !important;
}
.data.button:disabled,
.button:disabled {
  color: #333;
  background: #ddd;
  border-color: #ddd !important;
  cursor: no-drop;
}
.data.button:disabled:hover,
.button:disabled:hover {
  background: #777;
  color: #bbb !important;
  border-color: #777 !important;
}
.button:disabled::before {
  content: 'Podpisz się!';
  color: black;
  background: white;
  border-radius: 10px;
  padding: 0 15px;
  position: absolute;
  top: 100%;
  box-shadow: 6px 6px 12px 0px rgba(0, 0, 0, 0.15);
  visibility: hidden;
  opacity: 0;
  transition: all ease 0.5s;
}
.button:disabled:hover::before {
  visibility: visible;
  opacity: 1;
  transition: all ease 0.5s;
  top: 150%;
}
.signature-pad--actions {
  display: flex !important;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  padding-top: 2vh;
}
.signature-pad--actions button {
  border: 2px solid black;
  border-radius: 0px;
  background: none;
  padding: 0.5vh 1.5vw;
  transition: all 0.6s ease;
  text-transform: lowercase;
  font-variant: small-caps;
  font-weight: 800;
  font-size: 1.2em;
  letter-spacing: 0.5px;
}
.signature-pad--actions button:hover {
  background: #333;
  color: #ddd !important;
}

.buttons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 6vh;
}
.buttons .button {
  width: 40%;
}
/**************************************************************************************/
@keyframes edit {
  from {
    transform: translateY(-200%) translateX(-50%);
  }
  to {
    transform: translateY(0) translateX(-50%);
  }
}
body,
html {
  background-color: #eee;
}
#editFormWrapper {
  animation-name: edit;
  animation-duration: 1.5s;
  background: #ddd;
  padding-left: 15vw;
  padding-right: 15vw;
  width: 70vw;
  min-height: 70vh;
  margin-top: 10vh;
  position: absolute;
  z-index: 1000;
  margin-left: 50%;
  padding-top: 5vh;
  padding-bottom: 10vh;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transform: translateX(-50%);
}
#editForm {
  display: flex;
  flex-direction: column;
  text-align: center;
}
#editForm label {
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}
#editForm input {
  text-align: center;
  padding: 0.5rem 2rem;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 8px;
  box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.1);
}
#editForm input[type='date'] {
  border: 2px solid #222;
  background: white;
}
#editForm input[type='checkbox'] {
  box-shadow: none;
}
#editForm button[type='submit'] {
  margin-top: 1rem;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
  border-color: #222;
  background-color: #222;
  color: #ddd;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border-radius: 3px;
}
@keyframes slideFromLeft {
  from {
    transform: translateX(-200%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
#fields {
  display: flex;
  flex-direction: column;
  background: #eee;
  padding: 5vh 5vw 10vh;
  min-height: 100vh;
}
#fields .datarow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  text-align: center;
  background: #ddd;
  transition: all 0.5s ease;
  position: relative;
  padding-right: 2rem;
  justify-content: space-evenly;
}
#fields .datarow > * {
  width: 100%;
}
#fields .datarow.normal {
  animation: slideFromLeft 1.5s ease-in-out;
  animation-fill-mode: backwards;
}
#fields .datarow:hover {
  background: #ccc;
}
#fields .datarow:nth-child(odd) {
  background: #aaa;
}
#fields .datarow:nth-child(odd):hover {
  background: #999;
}
#fields .datarow.head {
  background: #555;
  color: #ddd;
  font-weight: 700;
  padding: 2vh 2rem 2vh 0;
  border-radius: 20px 20px 0px 0px;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
}
#fields .datarow:last-child {
}
#fields .datarow.head:hover {
  background: #555;
}
#fields .datarow .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-wrap: anywhere;
}
#fields .datarow .key {
  display: none;
}
#fields .datarow .check {
}
#fields .buttony button {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  border-radius: 20px;
  transition: ease 0.5s all;
  width: 100%;
}
#fields .buttony button:hover {
  background: #333;
  border-color: #333;
  color: #ddd;
}
.panel {
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #eee;
}
.panel button {
  padding: 0.6rem 4rem;
  background: #333;
  border-color: #333;
  color: #fff;
  font-weight: bold;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.dostarczone {
  position: absolute;
  width: fit-content !important;
  left: 0;
  transform: rotate(-90deg) translate(-100%, 100%);
  top: 0;
  -webkit-transform-origin-x: left;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  background: #66c3ff;
}
@media only screen and (max-width: 1200px) {
  #fields {
    padding-left: 1vw;
    padding-right: 1vw;
  }

  #fields .datarow {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  }
}
@media only screen and (max-width: 1000px) {
  #fields .datarow {
    display: flex;
    flex-direction: column;
    padding-right: 0 !important;
  }
  #fields .datarow {
    padding-right: 0 !important;
  }
  #fields .datarow .buttony {
    padding-left: 15vw;
    padding-right: 15vw;
  }
  .cell.id {
    width: 100% !important;
    max-width: 100vw !important;
  }
  #fields .datarow .key {
    display: inline;
    font-weight: 900;
    font-variant: small-caps;
    width: 20%;
    text-align: left;
    padding-left: 1rem;
  }
  #fields .datarow .val {
    width: 70%;
    text-align: left;
  }
  #fields .datarow .cell {
    padding-top: 1rem;
    display: flex;
    align-items: space-between;
    justify-content: space-between;
  }
}
@media only screen and (min-width: 981px) {
  .box {
    min-width: 500px !important;
  }
}
@media only screen and (max-width: 981px) {
  .dostarczone {
    transform: translate(10px, 10px);
  }
  .box,
  .modal-dialog {
    width: 85% !important;
    max-width: 100% !important;
    margin: 0;
    margin-top: 5vh;
    min-width: none !important;
  }
  .box {
    width: 85% !important;
    margin-top: 3vh;
    margin-bottom: 3vh;
    padding-top: 8vh;
    padding-bottom: 15vh;
  }
  .modal-dialog {
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
  }
  input {
    width: 95% !important;
    display: block;
    border-bottom-width: 3px !important;
  }
  #modele {
    width: 95%;
  }
  label[for='umowaAddress'] {
    font-size: 1em;
  }
  input[type='date'] {
    width: 60% !important;
    background: none;
    text-align: center !important;
    border-bottom-width: 1px !important;
  }
  input[type='submit'],
  .button {
    border-bottom-width: 2px !important;
    width: 70% !important;
    padding: 1vh;
  }
  form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .datalabel {
    padding-top: 2vh !important;
    font-size: 1.2em;
  }
  #modele > div {
    margin-top: 2vh;
  }
  input[type='date'],
  input[type='email'],
  input[type='number'],
  input[type='text'] {
    font-size: 16px !important;
  }
  .buttons {
    flex-direction: column;
    margin-top: 3vh;
  }
  .buttons .button {
    width: 70%;
  }
  .buttons .button:last-child {
    margin-top: 2vh;
  }
}
@media only screen and (max-width: 400px) {
  .modal-dialog {
    width: 98% !important;
  }
}

.modal-header {
  justify-content: center !important;
  border-bottom: 0px solid white !important;
}
button.close {
  background: none;
  border: none;
  font-size: 2em;
  position: absolute;
  right: 10%;
  top: 2%;
  display: none;
}
.modal-body {
  padding: 5vh 0 !important;
}

#monthPicker {
  border: 2px solid black;
  border-radius: 6px;
  padding: 0.5rem 2rem;
}
#monthPicker option {
  text-align: center;
}
