.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 {
  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 
 */
.survey-button,
.survey-small-button,
.survey-reversed-button,
.survey-naked-button {
  text-align: center;
  cursor: pointer;
  font-size: 1em;
}
.survey-button,
.survey-small-button {
  background-color: #1896a7;
  color: #fdfdfd;
  border-radius: 6px;
  box-sizing: border-box;
}
.survey-button {
  padding: 12px 20px;
}
.survey-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;
}
.survey-small-button {
  padding: 6px 8px;
  font-size: 0.8em;
}
.survey-naked-button {
  padding: 4px;
  color: #41d0e4;
}
.survey-button:hover {
  background-color: #1ebed4;
}
.survey-naked-button:hover {
  text-decoration: underline;
}
.survey-upload-button {
  position: relative;
  display: flex;
  flex-direction: row;
  z-index: 59;
}
.survey-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
 */
.survey-input-block {
  position: relative;
  padding: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  box-sizing: border-box;
  text-align: left;
}
.survey-input-block .survey-text-input,
.survey-input-block .survey-password-input {
  font-size: 1em;
}
.survey-text-input,
.survey-password-input {
  vertical-align: top;
  color: #303030;
  background-color: #fdfdfd;
  border-style: none;
  text-align: left;
}
.survey-text-input {
  width: 100%;
}
.survey-password-input {
  width: calc(100% - 20px);
}
.survey-password-show {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 1em;
  color: #41d0e4;
  cursor: pointer;
}
.survey-input-error {
  color: rgba(255, 210, 210, 0.3);
  font-size: 0.9em;
  font-style: italic;
  text-align: right;
}
.survey-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 
 */
#survey-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;
}
.survey-message-section-hidden {
  display: none;
  max-height: 0;
  transition: max-height 0.5s ease;
}
.survey-message-section-shown,
.survey-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;
}
.survey-message-section-shown {
  border-top-color: #f6953f;
  border-bottom-color: #f6953f;
}
.survey-message-section-error {
  border-top-color: #ff0202;
  border-bottom-color: #ff0202;
}
.survey-message,
.survey-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
 */
.survey-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: #1896a7;
}
.survey-header {
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-grow: 1;
  background-color: #eeeeee;
}
.survey-header-dev {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #eeeeee 10px, #448844 20px);
}
.survey-header-test {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #eeeeee 10px, #ffaaaa 20px);
}
.survey-header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-grow: 1;
  flex-direction: row;
}
.survey-logo {
  background-image: url("../resources/images/common/logo_meillard.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  height: 50px;
  width: 240px;
}
.survey-header-center {
  display: flex;
  flex-direction: row;
  gap: 50px;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
}
.survey-header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-grow: 1;
  flex-direction: row;
}
/* Menu */
.survey-header-menu {
  vertical-align: top;
  text-transform: uppercase;
}
.survey-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;
}
.survey-menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.survey-menu-shown {
  animation: menuAnim 400ms ease;
}
.survey-menu-item {
  padding: 8px 10px;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
}
.survey-menu-item-text {
  cursor: pointer;
  color: black;
}
.survey-menu-item-language {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
}
.survey-menu-item-button {
  padding: 12px 25px;
  position: relative;
  background-color: #fdfdfd;
  color: black;
  border-style: solid;
  border-width: 2px;
  border-color: #1896a7;
  cursor: pointer;
}
.survey-menu-item-text:hover {
  color: #1ebed4;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #1ebed4;
}
.survey-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;
}
.survey-menu-dropdown-item {
  background-color: #1896a7;
  color: #fdfdfd;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.8em;
  cursor: pointer;
}
.survey-menu-dropdown-item:hover {
  background-color: #1ebed4;
}
/* User */
.survey-user {
  display: flex;
  flex-direction: left;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  flex-direction: row;
}
/* Language */
.survey-language-block {
  font-size: 0.8em;
}
.survey-language {
  padding: 0 4px;
  cursor: pointer;
}
/* Body */
.survey-body-section {
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  color: black;
  flex-grow: 1;
}
/*
 * Footer
 */
.survey-footer-section {
  padding: 20px 4%;
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 20px;
  background-color: #eeeeee;
  z-index: 4;
}
.survey-footer-section-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
.survey-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: 1200px) {
  .survey-logo {
    height: 79px;
    width: 142px;
    margin-left: 30px;
  }
  .modal {
    padding: 10% 10%;
  }
}
@media only screen and (max-width: 950px) {
  .modal,
  .modal-wide {
    padding: 0;
  }
  .survey-header {
    flex-direction: column;
  }
  .survey-logo {
    margin-left: 0;
  }
  .survey-header-section {
    padding: 5px 20px 25px 20px;
  }
  .survey-header-center {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
  }
  .survey-header-menu {
    margin-top: 0;
  }
  .survey-menu-hamburger {
    display: flex;
  }
  .survey-menu {
    position: absolute;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column;
    display: none;
    width: 100%;
    left: 0;
    background-color: #6edbea;
    z-index: 8;
    transform: translateY(12%);
    height: 252px;
  }
  .survey-menu-shown {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .survey-menu-item-text {
    border-bottom-color: #6edbea;
  }
  .survey-language-block {
    text-align: right;
  }
}
@media only screen and (max-width: 850px) {
  .survey-header-right {
    align-self: flex-end;
  }
  .survey-footer-info {
    flex-direction: column;
    gap: 5px;
  }
  .survey-footer-section {
    gap: 5px;
    padding: 10px 4%;
  }
}
@media only screen and (max-width: 640px) {
  .survey-list {
    justify-content: space-between !important;
    gap: 15px !important;
  }
}
@media only screen and (max-width: 375px) {
  .survey-header-left {
    gap: 10px;
  }
}
@keyframes menuAnim {
  from {
    transform: translateX(120%) translateY(12%);
  }
  to {
    transform: translateX(0) translateY(12%);
  }
}
