* {
  margin: 0;
}

body {
  background: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-attachment: fixed;
}

@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather-Light.ttf");
}

div#website {
  min-height: 100vh;
}

div#container-wrapper {
  justify-content: center;
  align-items: center;
  display: flex;
}

#container {
  background: rgb(255 255 255 / 50%);
  min-width: 50vw;

  border-radius: 10px;
  backdrop-filter: blur(10px);

  position: relative;
}

.title {
  text-align: center;
  display: grid;
  grid-gap: 10px;
  padding: 10px;
  font-family: "Merriweather";
  font-size: 2em;
}

.hidden {
  display: none;
}

.hidden.force {
  display: none !important;
}

.flex {
  display: flex;
}

.flex.evenly {
  justify-content: space-evenly;
}

.flex.between {
  justify-content: space-between;
}

.flex.row {
  flex-direction: row !important;
}

.col-2 {
  display: grid;
  grid-template-columns: max-content auto;
}

.col-3 {
  display: grid;
  grid-template-columns: max-content auto auto;
}

.col-4 {
  display: grid;
  grid-template-columns: 30% 30% 25% 15%;
}

.col-2 > *,
.col-3 > *,
.col-4 > * {
  margin: 10px;
  align-self: center;
  align-items: center;
}

.no-margin {
  margin: 0;
}

.text-center {
  text-align: center;
}

.btn {
  text-decoration: none;
  color: #ecfcd1;
  background: #3d7e07;
  margin: 20px;
  box-shadow: inset 0 20px 20px 0px #2d5a03;
  padding: 10px 20px;
  border: 1px solid #55b603;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn:hover {
  color: white;
  background: #4b9900;
  box-shadow: inset 0 0 20px 0px #2d5a03;
  text-shadow: 0 0 2px black;
}

.btn.w-max {
  width: max-content;
}

.slide-btn {
  position: absolute;
  background: #63c800;
  padding: 5px 15px;
  padding-left: 35px;
  border-radius: 50px;
  color: white;
  font-family: initial;
  cursor: pointer;
  margin-right: 10px;
  box-shadow: inset 0 0 10px 0px #2d5a03;
  top: 15px;
  right: 15px;
}

.slide-btn::before {
  content: "";
  position: absolute;
  background: #417f06;
  inset: 0;
  max-width: 100%;
  border-radius: 50px;
  font-family: initial;
  text-align: center;
  padding: 5px;
  transition: all 0.25s;
  content: attr(value);
}

.slide-btn:hover:before {
  max-width: 20px;
}

.slide-btn.forwards:hover:before {
  content: "→";
}

.slide-btn.backwards:hover:before {
  content: "←";
}

.span-fill {
  grid-column: 1 / -1;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

hr {
  margin: 30px 10%;
  border: 0.5px dashed #2d5a03;
}

.width-200 {
  width: 200px;
}

.width-750 {
  width: 750px;
}

.button {
  background: #e0e0e0;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 2px;
  outline: 1px solid #a7a7a7;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  text-align: center;
}

.button:hover {
  margin-top: 0;
  margin-bottom: 4px;
  box-shadow: 0px 5px 20px 0px #adadad;
}

.button.no-anim:hover {
  margin: inherit;
}

.button:active {
  margin-top: 3px;
  margin-bottom: 1px;
}

.button.red {
  background: #ffdddd;
  outline: 1px solid red;
  color: #790000;
}

.button.green {
  background: #dfffdf;
  outline: 1px solid green;
  color: #0a7900;
}

.button.blue {
  background: #dddfff;
  outline: 1px solid blue;
  color: #020079;
}

.button.yellow {
  background: #ffffdd;
  outline: 1px solid yellow;
  color: #797900;
}

.button.orange {
  background: #ffe8dd;
  outline: 1px solid orange;
  color: #793b00;
}

.button.purple {
  background: #ffddfa;
  outline: 1px solid purple;
  color: #790079;
}

.button.active {
  margin-top: 4px;
  margin-bottom: 0;
  cursor: wait;
}

.underlined {
  border-bottom: 2px solid;
}

.left-aligned {
  text-align: left;
}

notification-pane {
  position: fixed;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  right: 0;
  bottom: 0;
}

notification {
  background: linear-gradient(45deg, #94f53f, #cbff9e);
  padding: 10px 25px;
  margin: 10px 35px;
  border-radius: 50px;
  min-width: 250px;
  max-width: 250px;
  overflow-wrap: break-word;
  animation: 3s float-in forwards ease-out;
  cursor: pointer;
  box-shadow: 1px 3px 20px rgb(101 101 101 / 35%);
}
@keyframes float-in {
  0% {
    margin-right: -20px;
    opacity: 0.00001;
  }
  10% {
    margin-right: 35px;
    opacity: 1;
  }
  80% {
    margin-right: 35px;
    opacity: 1;
  }
  100% {
    margin-right: -20px;
    opacity: 0.00001;
  }
}

.heading {
  font-size: 150%;
  font-family: "Merriweather";
  display: flex;
  grid-column: 1 / -1;
  position: relative;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}

.grid-last {
  grid-column: -2 / -1;
}

.subheading {
  font-size: 125%;
  font-family: "Merriweather";
  position: relative;
  margin-bottom: 15px;
  font-weight: inherit;
}

.soft-heading {
  font-size: 105%;
  font-weight: 500;
}

.span-30-70 {
  grid-template-columns: 30% auto;
}

.span-70-30 {
  grid-template-columns: 70% auto;
}

.span-60-20-20 {
  grid-template-columns: 60% 20% 20%;
}

.vcenter {
  align-items: center;
}

.gap-20 {
  grid-gap: 20px;
}

input[type="number"] {
  width: 60px;
  text-align: center;
}

td {
  overflow-wrap: break-word;
}

textarea,
select,
input {
  padding: 10px;
  font-family: inherit;
  outline: none;
  border: 1px solid rgb(177, 177, 177);
  border-radius: 5px;
  box-shadow: 0 0 20px rgb(177 177 177 / 25%);
}

input[disabled] {
  cursor: not-allowed;
}

.float-right {
  float: right;
}

.margin-tb-10px {
  margin: 10px 0;
}

.margin-rl-10px {
  margin: 0 10px;
}

.margin-l-10px {
  margin-left: 10px;
}

.margin-r-10px {
  margin-right: 10px;
}

.margin-10px {
  margin: 10px;
}

.modal-wrapper {
  position: absolute;
  height: 100vh;
  width: 100vw;
  inset: 0;
}

.modal {
  width: 50%;
  inset: 25%;
  position: absolute;
  background: white;
  padding: 20px;
  border-radius: 20px;
  height: fit-content;
  box-shadow: 0 0 500px 0px #db3232;
}

.modal-header {
  display: grid;
  grid-template-columns: auto 5%;
  font-size: 1.5em;
  padding-bottom: 5px;
  border-bottom: dotted;
}

.modal-close {
  text-align: center;
  padding: 5px;
  margin: 2px;
  transition: all 0.15s;
}

.modal-close:hover {
  margin-top: 0;
  margin-bottom: 4px;
  cursor: pointer;
}

.modal-content {
  margin-top: 20px;
  text-align: center;
  position: relative;
}

.modal-save {
  width: 200px;
  position: absolute;
  right: 25px;
}

label {
  text-align: right;
}

label[required]::before {
  content: "* ";
  color: red;
}

.clickable {
  cursor: pointer;
}

.clickable.link,
a.email {
  text-decoration: none;
  color: inherit;
}

span#hide {
  float: right;
  cursor: pointer;
}

#pub-table tr,
#patent-table tr,
#claim-list tr {
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  .col-2 {
    display: block;
  }

  textarea,
  select,
  input:not(input[type="radio"], input[type="checkbox"], .hidden) {
    display: block;
    width: calc(100% - 50px);
    width: -webkit-fill-available;
  }

  select {
    max-width: 300px;
  }

  .col-3 {
    display: block;
  }

  input[type="submit"] {
    margin: 10px 22.5px !important;
  }

  #container {
    min-width: 95vw;
  }
}
