.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 #000000;
}
.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: "Montserrat";
  src: url('../resources/fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: "Montserrat";
  src: url('../resources/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: normal;
}
:root {
  font-size: 12pt;
}
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: Montserrat, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
}
input {
  outline: none;
}
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: #a97d4f;
}
h1 {
  padding: 10px 50px 50px 50px;
  text-align: center;
}
/*
 * Common styles 
 */
.all-width {
  width: 100%;
}
/* 
 * Buttons 
 */
.intervention-button,
.intervention-small-button,
.intervention-reversed-button,
.intervention-naked-button {
  text-align: center;
  cursor: pointer;
  font-size: 1em;
}
.intervention-button,
.intervention-small-button {
  background-color: #a97d4f;
  color: #fdfdfd;
  border-radius: 6px;
  box-sizing: border-box;
}
.intervention-button {
  padding: 12px 20px;
}
.intervention-reversed-button {
  padding: 11px 19px;
  background-color: #fdfdfd;
  color: #a97d4f;
  border-style: solid;
  border-width: 2px;
  border-color: #a97d4f;
  border-radius: 6px;
  box-sizing: content-box;
}
.intervention-small-button {
  padding: 6px 8px;
  font-size: .8em;
}
.intervention-naked-button {
  padding: 4px;
  color: #ccb092;
}
.intervention-button:hover {
  background-color: #bc966f;
}
.intervention-naked-button:hover {
  text-decoration: underline;
}
/*
 * Inputs
 */
.intervention-input-block {
  position: relative;
  padding: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  box-sizing: border-box;
  text-align: left;
}
.intervention-input-block .intervention-text-input,
.intervention-input-block .intervention-password-input {
  font-size: 1em;
}
.intervention-text-input,
.intervention-password-input {
  vertical-align: top;
  color: #333333;
  background-color: #fdfdfd;
  border-style: none;
  text-align: left;
}
.intervention-text-input {
  width: 100%;
}
.intervention-password-input {
  width: calc(100% - 20px);
}
.intervention-password-show {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 1em;
  color: #ccb092;
  cursor: pointer;
}
.intervention-input-error {
  color: #ff0202;
  font-size: .9em;
  font-style: italic;
  text-align: right;
}
.intervention-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 
 */
#intervention-message-section {
  position: fixed;
  top: 0;
  width: 90%;
  margin: 0 5%;
  top: 200px;
  left: 0;
  text-align: center;
  font-size: 1.5em;
  z-index: 90;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  overflow-y: hidden;
}
.intervention-message-section-hidden {
  max-height: 0;
  transition: max-height 0.5s ease;
}
.intervention-message-section-shown,
.intervention-message-section-error {
  max-height: 200px;
  transition: max-height 2s ease;
  border-top-style: solid;
  border-top-width: 3px;
  border-top-color: #9f5143;
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-bottom-color: #9f5143;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.intervention-message-section-shown {
  border-top-color: #9f5143;
  border-bottom-color: #9f5143;
}
.intervention-message-section-error {
  border-top-color: #ff0202;
  border-bottom-color: #ff0202;
}
.intervention-message,
.intervention-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: #a97d4f;
  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
 */
.intervention-header-section {
  position: sticky;
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: space-between;
  align-items: stretch;
  top: 0;
  z-index: 9;
  background-color: #fdfdfd;
  color: #a97d4f;
}
.intervention-header {
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-grow: 1;
  background-color: #eeeeee;
}
.intervention-header-dev {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #eeeeee 10px, #448844 20px);
}
.intervention-header-test {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #eeeeee 10px, #ffaaaa 20px);
}
.intervention-header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-grow: 1;
  flex-direction: row;
}
.intervention-logo {
  background-image: url("../resources/images/common/qws-logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  height: 50px;
  width: 240px;
}
.intervention-header-center {
  display: flex;
  flex-direction: row;
  gap: 50px;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
}
.intervention-header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-grow: 1;
  flex-direction: row;
}
/* Menu */
.intervention-header-menu {
  vertical-align: top;
  text-transform: uppercase;
}
.intervention-menu-hamburger {
  display: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  font-size: 1.3em;
  background-color: #a97d4f;
  color: white;
  border-radius: 5px;
}
.intervention-menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.intervention-menu-shown {
  animation: menuAnim 400ms ease;
}
.intervention-menu-item {
  padding: 8px 10px;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
}
.intervention-menu-item-text {
  cursor: pointer;
  color: black;
}
.intervention-menu-item-language {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
}
.intervention-menu-item-button {
  padding: 12px 25px;
  position: relative;
  background-color: #fdfdfd;
  color: black;
  border-style: solid;
  border-width: 2px;
  border-color: #a97d4f;
  cursor: pointer;
}
.intervention-menu-item-text:hover {
  color: #bc966f;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #bc966f;
}
.intervention-menu-dropdown {
  padding: 14px;
  background-color: #fdfdfd;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-style: solid;
  border-color: #a97d4f;
  border-width: 1px;
  position: absolute;
  z-index: 70;
}
.intervention-menu-dropdown-item {
  background-color: #a97d4f;
  color: #fdfdfd;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: .8em;
  cursor: pointer;
}
.intervention-menu-dropdown-item:hover {
  background-color: #bc966f;
}
/* User */
.intervention-user {
  display: flex;
  flex-direction: left;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  flex-direction: row;
}
/* Language */
.intervention-language-block {
  font-size: .8em;
}
.intervention-language {
  padding: 0 4px;
  cursor: pointer;
}
/* Body */
.intervention-body-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px 20px 20px;
  color: black;
}
/*
 * Footer
 */
.intervention-footer-section {
  padding: 20px 4%;
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 20px;
  background-color: #eeeeee;
  z-index: 4;
}
.intervention-footer-section-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
.intervention-footer-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-evenly;
  align-items: center;
  font-size: .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: #9f5143;
  color: #333333;
  opacity: .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: #fdfcfa;
  color: #9f5143;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 1s, opacity 1s;
  z-index: 50;
  border-style: solid;
  border-width: 1px;
  border-color: #dcc9b5;
  cursor: pointer;
}
@media only screen and (max-width: 1200px) {
  .intervention-logo {
    height: 79px;
    width: 142px;
    margin-left: 30px;
  }
  .modal {
    padding: 10% 10%;
  }
}
@media only screen and (max-width: 950px) {
  .modal,
  .modal-wide {
    padding: 0;
  }
  .intervention-header {
    flex-direction: column;
  }
  .intervention-logo {
    margin-left: 0;
  }
  .intervention-header-section {
    padding: 5px 20px 25px 20px;
  }
  .intervention-header-center {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
  }
  .intervention-header-menu {
    margin-top: 0;
  }
  .intervention-menu-hamburger {
    display: flex;
  }
  .intervention-menu {
    position: absolute;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column;
    display: none;
    width: 100%;
    left: 0;
    background-color: #dcc9b5;
    z-index: 8;
    transform: translateY(12%);
    height: 252px;
  }
  .intervention-menu-shown {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .intervention-menu-item-text {
    border-bottom-color: #dcc9b5;
  }
  .intervention-language-block {
    text-align: right;
  }
}
@media only screen and (max-width: 850px) {
  .intervention-header-right {
    align-self: flex-end;
  }
  .intervention-footer-info {
    flex-direction: column;
    gap: 5px;
  }
  .intervention-footer-section {
    gap: 5px;
    padding: 10px 4%;
  }
}
@media only screen and (max-width: 640px) {
  .intervention-list {
    justify-content: space-between !important;
    gap: 15px !important;
  }
}
@media only screen and (max-width: 375px) {
  .intervention-header-left {
    gap: 10px;
  }
}
@keyframes menuAnim {
  from {
    transform: translateX(120%) translateY(12%);
  }
  to {
    transform: translateX(0) translateY(12%);
  }
}
