.site-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

main {
  display: flex;
  flex: 1;
  justify-content: center;
  height: 100%;
}

section.login,
section.testmode {
  display: flex;
  flex: 1;
}

/* header */

/* header {
  background-color: var(--athens-grey);
  box-shadow: 0 1px 2px 0 rgba(8, 47, 77, 0.1);
  display: flex;
  height: var(--nav-height);
} */

.xmas-logo {
  margin: auto;
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

/* section login */

section.login {
  align-items: center;
  justify-content: center;
  overflow: auto;
}

section.login .__form-login {
  display: flex;
  flex-direction: column;
  max-width: var(--panel-width);
}

section.login .__logo-wrapper {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
}

section.login .__logo {
  width: 60px;
  height: 60px;
  opacity: 0.3;
  margin: 0;
}

section.login .__form-login h1 {
  color: #363e51;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 2.5em;
  line-height: 140%;
  margin: 0px 0px 15px 0px;
  text-align: center;
}

section.login .__actions {
  align-items: center;
  flex: 0 0 auto;
  flex-direction: column;
  display: flex;
}

section.login .__actions a {
  margin-bottom: var(--row-gap-2);
}

/* section testmode */

.testmode-wrapper {
  align-items: center;
  background-color: var(--charcoal-grey);
  color: var(--white);
  display: flex;
  flex: 0 0 35%;
  justify-content: space-between;
  -webkit-box-shadow: inset 10px 0 30px 0 var(--shadow-grey);
  box-shadow: inset 10px 0 30px 0 var(--shadow-grey);
  overflow: auto;
}

.__testmode {
  height: 100%;
}

.testmode-wrapper .__header {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  margin-top: 30px;
}

.testmode-wrapper .__header-img {
  padding: 20px 0px;
  width: 70%;
  height: auto;
}

.testmode-wrapper .__description-wrapper {
  margin-bottom: var(--row-gap-3);
  display: -webkit-flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* arrow style */

.testmode-wrapper .__description-wrapper .__arrow {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 16px solid var(--white);
}

/* description panel */

.testmode-wrapper .__description-wrapper .__description {
  margin-bottom: var(--row-gap-3);
  display: block;
  width: 70%;
  height: auto;
  padding: 15px;
  font-size: 0.8em;
  color: var(--charcoal-grey);
  background-color: var(--white);
  line-height: 1.7;
  word-break: break-word;
  white-space: normal;
  -webkit-box-shadow: 10px 10px 0 0 var(--shadow-grey);
  box-shadow: 10px 10px 0 0 var(--shadow-grey);
}

.testmode-wrapper .btn.--btn-cta {
  padding: 10px 10px 10px 20px;
  justify-content: space-around;
  align-items: center;
  background-color: #34be91;
  width: 70%;
  font-size: 1em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: initial;
  outline: 0;
  box-shadow: 0px 5px #30a57b;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
  margin-bottom: 20px;
}

.testmode-wrapper .btn.--btn-cta:hover,
.testmode-wrapper .btn.--btn-cta:focus {
  background-color: #39c694;
  color: var(--white);
}

.testmode-wrapper .btn.--btn-cta:active {
  box-shadow: 0 4px #30a57b;
  transform: translateY(2px);
}

.__actions-wrapper {
  margin-bottom: var(--row-gap-3);
  display: flex;
  justify-content: center;
  width: 100%;
}

.testmode-wrapper .btn.--btn-affiliate {
  padding: 10px 10px 10px 20px;
  width: 70%;
  justify-content: space-around;
  align-items: center;
  background-color: #465266;
  color: var(--white);
  font-size: 1em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: initial;
  outline: 0;
  box-shadow: 0px 5px var(--shadow-grey);
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

.testmode-wrapper .btn.--btn-affiliate:hover,
.testmode-wrapper .btn.--btn-affiliate:focus {
  background-color: #495668;
  color: var(--white);
}

.testmode-wrapper .btn.btn.--btn-affiliate:active {
  box-shadow: 0 4px var(--shadow-grey);
  transform: translateY(2px);
}

/* section info */

section.info {
  background-color: var(--charcoal-grey);
  color: var(--white);
  flex: 0 0 35%;
}

.--announcement-wrapper {
  /*switch of the announcment panel temporarily*/
  display: none;
  -webkit-box-shadow: inset 3px 3px 10px -8px var(--black);
  box-shadow: inset 3px 3px 10px -8px var(--black);
  justify-content: center;
  background-color: var(--charcoal-grey);
  overflow: auto;
}

.--announcement {
  flex-flow: row wrap;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 767px) {
  .--announcement-wrapper {
    overflow: initial;
    height: initial;
  }
}

/* password recovery */

.password-recovery-wrapper {
  align-items: center;
  align-content: stretch;
  display: flex;
  flex: 1 1 100%;
  flex: 1;
  justify-content: center;
}

.password-recovery-wrapper .__password-recovery {
  display: flex;
  flex-direction: column;
  max-width: var(--panel-width);
}

.password-recovery-wrapper .__password-recovery h1 {
  color: var(--charcoal-grey);
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 2.5em;
  line-height: 140%;
  margin: 0px 0px 15px 0px;
  text-align: center;
}

.password-recovery-wrapper .__password-recovery .__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
}

/* totp setup */

.totp-auth-wrapper {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
}

.totp-auth-wrapper .__totp-auth {
  flex-direction: column;
  max-width: var(--panel-width);
}

.totp-auth-wrapper .__totp-auth h1 {
  color: var(--charcoal-grey);
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 2.5em;
  line-height: 140%;
  margin: 0px 0px var(--row-gap-2) 0px;
  text-align: center;
}

.totp-auth-wrapper .__app-store-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--row-gap-2);
}

.totp-auth-wrapper .__app-store-buttons img {
  opacity: 0.8;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

.totp-auth-wrapper .__app-store-buttons img:hover {
  opacity: 1;
}

.totp-auth-wrapper .__qr-code-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: var(--row-gap-1);
}

.totp-auth-wrapper .__secret-wrapper {
  margin-bottom: var(--row-gap-1);
  width: 100%;
  color: #7f8d9a;
  text-align: center;
  word-break: break-word;
}

.totp-auth-wrapper .__code-wrapper {
  margin-bottom: var(--row-gap-2);
}

.totp-help-wrapper {
  font-size: 0.9em;
  margin-top: 20px;
  color: #7f8d9a;
}

.totp-help-wrapper .totp-help-title {
  font-size: 0.9em;
  font-weight: 500;
}

.totp-help-wrapper a {
  color: #7f8d9a;
}

/* locked application*/

.lock {
  width: 120px;
  height: auto;
}

/* initiate only at the start of login page */
.loading-screen {
  position: absolute;
  top: 45%;
  left: 50%;
  margin-left: -50px;
  margin-top: -50px;
}

#loading-spinner {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
}

/* stethoscope circle element animation */
.outer-circle {
  animation: show1 3s linear forwards alternate;
  stroke-dasharray: 160;
  animation-iteration-count: infinite;
  stroke: #363e51;
  stroke-width: 1;
}

/* stethoscope heart shape animation */
.left-ear,
.right-ear {
  animation: show2 3s linear forwards alternate;
  stroke-dasharray: 150;
  animation-iteration-count: infinite;
  stroke: #363e51;
  stroke-width: 1;
}

/* animation timing */
@keyframes show1 {
  0% {
    stroke-dashoffset: -160;
  }

  35% {
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dashoffset: 0;
  }

  80% {
    stroke-dashoffset: 160;
  }

  100% {
    stroke-dashoffset: 160;
  }
}

@keyframes show2 {
  0% {
    stroke-dashoffset: 150;
  }

  35% {
    stroke-dashoffset: 150;
  }

  60% {
    stroke-dashoffset: 0;
  }

  80% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -150;
  }
}

/* autoscale style */

.__status-ecomode {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 10px;
  left: 10px;
  background-color: var(--metal-grey);
  padding: 5px;
  border-radius: 20px;
  font-size: 0.8em;
  z-index: 9999;
  cursor: pointer;
  max-width: 295px;
}

.__status-ecomode .icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  flex: 1 1 25px;
  border-radius: 50%;
  background-color: #43b38d;
}

.__status-ecomode .icon-wrapper img {
  width: 14px;
  height: 14px;
}

.__status-ecomode .__ecomode-text {
  padding-left: 5px;
  padding-right: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.__status-ecomode:hover .__ecomode-text {
  white-space: normal;
  text-overflow: initial;
  overflow: initial;
}

/* password style */

.password-wrapper {
  display: flex;
  flex-flow: row;
  flex: 1 1 100%;
}

.password-wrapper:focus-within {
  border-color: #ddd;
  box-shadow: 0 0 5px #ddd;
}

.password-wrapper .password {
  flex: 1 1 0%;
  border-radius: 4px 0px 0px 4px;
  padding: 6px 12px;
}

.password-wrapper .showBtn {
  flex: 0 1 auto;
  border-radius: 0px 4px 4px 0px;
  background-color: #f0f2f5;
  height: 3em;
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.password-display {
  display: none;
  width: 100%;
  box-shadow: 0px, 0px, 6px, 0px, #00000020;
  border-radius: 4px;
  font-size: 0.85em;
  border-left: 8px solid #4f9cde;
  background-color: white;
  min-height: 32px;
  align-items: center;
  flex: 1 1 100%;
  margin-bottom: var(--row-gap-2);
}

.password-wrapper .showBtn .showHideIcon {
  width: 18px;
  opacity: 0.7;
}

.password-display-wrapper {
  display: flex;
  flex-flow: row;
  align-items: center;
  word-break: break-word;
  margin: 0 0.9em;
}

.password-display-wrapper .lock-icon {
  flex: 0 1 auto;
  width: 10px;
  opacity: 0.7;
  margin-right: 5px;
}

.password-display-wrapper .password-text {
  flex: 0 1 auto;
}

input::placeholder {
  color: #6d6d6d !important;
}
