.shadow-1 {
  box-shadow: 2px 2px 2px #0a3a65;
}
.shadow-2 {
  box-shadow: 4px 4px 16px #434d56;
}
.shadow-3 {
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
.shadow-4 {
  box-shadow: 0 24px 28px -12px black;
}
.shadow-5 {
  box-shadow: rgba(0, 0, 0, 0.15) 0 0 5px;
}
.shadow-6 {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.text-shadow-1 {
  text-shadow: 2px 2px 2px #484848bf;
}
/*
 * Fonts
 */
@font-face {
  font-family: "Lato";
  src: url('../resources/fonts/Lato/Lato-Bold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: "Lato";
  src: url('../resources/fonts/Lato/Lato-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: "Lato";
  src: url('../resources/fonts/Lato/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
}
:root {
  font-size: 12pt;
}
* {
  margin: 0;
  padding: 0;
}
body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Lato, sans-serif;
  justify-content: space-between;
}
a,
textarea {
  text-decoration: none;
  color: inherit;
  outline: none;
}
input {
  outline: none;
  border-width: 1px;
}
select {
  background: transparent;
}
input[type=number] {
  -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background-color: #1896a7;
}
h1 {
  padding: 10px 50px 50px 50px;
  text-align: center;
}
/*
 * Common styles 
 */
.all-width {
  width: 100%;
}
/*
 * Nelly
 */
.ny-radio-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.ny-radio-block {
  padding: 4px;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  align-items: center;
}
.ny-radio-block-active {
  cursor: pointer;
}
.ny-radio-label {
  font-size: 0.8em;
}
.ny-radio-button {
  width: 15px;
  height: 15px;
  border-style: solid;
  border-width: 2px;
  border-radius: 50%;
  border-color: lightgrey;
}
.ny-radio-selected .ny-radio-button {
  background-color: #1896a7;
  border-color: #1896a7;
}
.ny-radio-unselected .ny-radio-label {
  font-weight: bold;
}
/* 
 * Buttons 
 */
.yawn-button,
.yawn-small-button,
.yawn-reversed-button,
.yawn-naked-button {
  text-align: center;
  cursor: pointer;
  font-size: 1em;
}
.yawn-button,
.yawn-small-button {
  background-color: #1896a7;
  color: #fdfdfd;
  border-radius: 6px;
  box-sizing: border-box;
}
.yawn-button {
  padding: 12px 20px;
}
.yawn-button-ro {
  background-color: lightgrey;
  cursor: default;
}
.yawn-reversed-button {
  padding: 11px 19px;
  background-color: #fdfdfd;
  color: #1896a7;
  border-style: solid;
  border-width: 2px;
  border-color: #1896a7;
  border-radius: 6px;
  box-sizing: content-box;
}
.yawn-small-button {
  padding: 6px 8px;
  font-size: 0.8em;
}
.yawn-naked-button {
  padding: 4px;
  color: #41d0e4;
}
.yawn-button:hover {
  background-color: #1ebed4;
}
.yawn-naked-button:hover {
  text-decoration: underline;
}
.yawn-upload-button {
  position: relative;
  display: flex;
  flex-direction: row;
  z-index: 59;
}
.yawn-upload-file {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  box-sizing: border-box;
}
/*
 * Inputs
 */
.yawn-input-block {
  position: relative;
  padding: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  box-sizing: border-box;
  text-align: left;
}
.yawn-input-block .yawn-text-input,
.yawn-input-block .yawn-password-input {
  font-size: 1em;
}
.yawn-text-input,
.yawn-small-text-input,
.yawn-password-input {
  vertical-align: top;
  color: #303030;
  background-color: #fdfdfd;
  border-style: none;
  text-align: left;
}
.yawn-text-input {
  width: 100%;
}
.yawn-password-input {
  width: calc(100% - 20px);
}
.yawn-small-text-input {
  padding: 4px;
}
.yawn-password-show {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 1em;
  color: #41d0e4;
  cursor: pointer;
}
.yawn-input-error {
  color: rgba(255, 210, 210, 0.3);
  font-size: 0.9em;
  font-style: italic;
  text-align: right;
}
.yawn-input-label {
  text-align: left;
  color: black;
  padding: 12px 0 8px 0;
  font-size: 1em;
}
/*
 * Checkbox
 */
.bootiq-checkbox,
.bootiq-checkbox-selected {
  cursor: pointer;
}
.bootiq-checkbox:before,
.bootiq-checkbox-selected:before {
  padding-right: 2px;
  font-family: "Font awesome 6 Pro";
  font-size: 1em;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}
.bootiq-checkbox:before {
  content: "\f0c8";
  font-weight: 300;
}
.bootiq-checkbox-selected:before {
  content: "\f14a";
  font-weight: 300;
}
/* 
 * Messages 
 */
#yawn-message-section {
  position: absolute;
  top: 10px;
  width: 90%;
  margin: 0 5%;
  left: 0;
  text-align: center;
  font-size: 1.5em;
  z-index: 90;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  overflow-y: hidden;
}
.yawn-message-section-hidden {
  display: none;
  max-height: 0;
  transition: max-height 0.5s ease;
}
.yawn-message-section-shown,
.yawn-message-section-error {
  max-height: 200px;
  transition: max-height 2s ease;
  border-top-style: solid;
  border-top-width: 3px;
  border-top-color: #f6953f;
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-bottom-color: #f6953f;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.yawn-message-section-shown {
  border-top-color: #f6953f;
  border-bottom-color: #f6953f;
}
.yawn-message-section-error {
  border-top-color: #ff0202;
  border-bottom-color: #ff0202;
}
.yawn-message,
.yawn-message-error {
  margin: 0 20% 0 20%;
  padding: 20px;
  opacity: 1;
  color: #fdfdfd;
}
/* 
 * Modals 
 */
.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 2px;
  color: #1896a7;
  font-size: 2em;
  cursor: pointer;
  z-index: 80;
}
.close-modal > i {
  font-size: 1.8em;
}
.modal,
.modal-wide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
  z-index: 80;
}
.modal {
  padding: 5% 20%;
}
.modal-wide {
  padding: 5% 10%;
}
/*
 * Header
 */
.yawn-header-section {
  position: sticky;
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  top: 0;
  z-index: 9;
  background-color: #fdfdfd;
  color: #1896a7;
}
.yawn-header {
  max-width: 1250px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-grow: 1;
  background-color: #eeeeee;
}
.yawn-header-dev {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #eeeeee 10px, #ddffdd 20px);
}
.yawn-header-test {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #eeeeee 10px, #ffdddd 20px);
}
.yawn-header-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}
.yawn-header-center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.yawn-header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-direction: row;
}
/* Title */
.yawn-header-title-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  font-weight: bold;
}
.yawn-header-title {
  font-size: 1.6em;
  text-align: center;
}
.yawn-header-sub-title {
  font-size: 1.2em;
  text-align: center;
}
/* Menu */
.yawn-header-menu {
  vertical-align: top;
  text-transform: uppercase;
}
.yawn-menu-hamburger {
  display: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  font-size: 1.3em;
  background-color: #1896a7;
  color: white;
  border-radius: 5px;
}
.yawn-menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.yawn-menu-shown {
  animation: menuAnim 400ms ease;
}
.yawn-menu-item {
  padding: 8px 10px;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
}
.yawn-menu-item-text {
  cursor: pointer;
  color: black;
}
.yawn-menu-item-language {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
}
.yawn-menu-item-button {
  padding: 12px 25px;
  position: relative;
  background-color: #fdfdfd;
  color: black;
  border-style: solid;
  border-width: 2px;
  border-color: #1896a7;
  cursor: pointer;
}
.yawn-menu-item-text:hover {
  color: #1ebed4;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #1ebed4;
}
.yawn-menu-dropdown {
  padding: 14px;
  background-color: #fdfdfd;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-style: solid;
  border-color: #1896a7;
  border-width: 1px;
  position: absolute;
  z-index: 70;
}
.yawn-menu-dropdown-item {
  background-color: #1896a7;
  color: #fdfdfd;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.8em;
  cursor: pointer;
}
.yawn-menu-dropdown-item:hover {
  background-color: #1ebed4;
}
/* User */
.yawn-user {
  display: flex;
  flex-direction: left;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  flex-direction: row;
}
/* Language */
.yawn-language-block {
  font-size: 0.8em;
}
.yawn-language {
  padding: 0 4px;
  cursor: pointer;
}
/*
 * Footer
 */
.yawn-footer-section {
  padding: 20px 4%;
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 20px;
  background-color: #eeeeee;
  z-index: 4;
}
.yawn-footer-section-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
.yawn-footer-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-evenly;
  align-items: center;
  font-size: 0.9em;
}
/*
 * Information popup
 */
.information-popup {
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #f6953f;
  color: #303030;
  opacity: 0.9;
  z-index: 1;
  cursor: pointer;
}
/* 
 * Move to top widget
 */
.move-to-top-widget,
#move-to-top-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #c7f1f7;
  color: #f6953f;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 1s, opacity 1s;
  z-index: 50;
  border-style: solid;
  border-width: 1px;
  border-color: #6edbea;
  cursor: pointer;
}
@media only screen and (max-width: 640px) {
  .yawn-header-title-block {
    font-size: 0.8em;
  }
  .yawn-header-sub-title {
    display: none;
  }
  .yawn-user {
    flex-direction: column;
  }
}
@keyframes menuAnim {
  from {
    transform: translateX(120%) translateY(12%);
  }
  to {
    transform: translateX(0) translateY(12%);
  }
}
