html, body{
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  margin: 0;
  padding: 0;
  background: #222020;
  color: #fff;
  position: relative;
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

*{
  box-sizing: border-box;
  flex-shrink: 0;
  text-decoration: none;
}

body.fullbg::before{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  content: "";
  background-image: url(/inc/background.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.2;
  pointer-events: none;
}

header{
  background: linear-gradient(180deg, #47443fe6, #2d2c2be6);
  border-bottom: 2px solid #3b3530cc;
  height: 84px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  user-select: none;
  z-index: 100000;
}

header > div{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
}

header > div:first-child{
  position: absolute;
  left: 18px;
}
header > div:last-child{
  position: absolute;
  right: 18px;
}

header a{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid #b78a39;
  border-radius: 64px;
  height: 32px;
  width: auto;
  transition: background 0.1s linear;
}

header a span{
  display: block;
  padding-left: 34px;
  padding-right: 34px;
  text-align: center;
  color: #cfa760;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
  transition: color 0.1s linear;
}

header a svg{
  height: 24px;
  width: 24px;
  fill: #cfa760;
  transition: fill 0.1s linear;
}

header a.right span{
  padding-right: 16px;
}

header a.right svg{
  margin-right: 12px;
}

header a.left span{
  padding-left: 16px;
}

header a.left svg{
  margin-left: 12px;
}

header a:hover{
  cursor: pointer;
  background: #b78a39;
}

header a:hover span{
  color: #000;
}
header a:hover svg{
  fill: #000;
}

header img{
  height: 54px;
  width: auto;
}

.mobileNav {
  width: 38px;
  position: relative;
  border: none;
  margin-right: 28px;
}

.mobileNav:hover{
  background: none;
}

.mobileNav .inner, .mobileNav .inner::before, .mobileNav .inner::after {
  background: #cfa760;
  content: "";
  display: block;
  height: 4px;
  width: 28px;
  transition: all 0.25s ease;
}

.mobileNav:hover .inner, .mobileNav:hover .inner::before, .mobileNav:hover .inner::after {
  background: #cb9533;
}

.mobileNav .inner {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.mobileNav .inner::before {
  margin-top: -7px;
  position: absolute;
}
.mobileNav .inner::after {
  margin-top: 7px;
  position: absolute;
}
.mobileNav.open .inner {
  background: transparent;
  left: 54%;
}
.mobileNav.open .inner::before, .mobileNav.open .inner::after {
  transform: rotate(31deg);
  transform-origin: 0 50%;
  width: 28px;
}
.mobileNav.open .inner::after {
  transform: rotate(-31deg);
}

.sidemenu{
  position: fixed;
  top: 84px;
  width: 320px;
  background: #373431e6;
  border: 2px solid #3b3530cc;
  backdrop-filter: blur(3px);
  border-top: none;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(0);
  transition: all 0.1s linear;
  user-select: none;
  z-index: 10000;
}

.sidemenu.open{
  opacity: 1;
  transform: unset;
}

.sidemenu.left{
  left: 12px;
  transform-origin: top left;
}
.sidemenu.right{
  right: 12px;
  transform-origin: top right;
}

.sidemenu a{
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding-left: 12px;
  padding-right: 12px;
  color: #ddd;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #4d4239ad;
  position: relative;
  transition: background 0.1s linear;
  will-change: transform;
}

.sidemenu a:last-child{
  border-bottom: none;
}

.sidemenu a svg{
  height: 34px;
  width: 34px;
  margin-right: 12px;
  fill: #cfa760;
}

.sidemenu a svg:last-of-type{
  position: absolute;
  right: 0px;
  fill: #cfa760;
  opacity: 0.35;
  transition: all 0.1s linear;
}

.sidemenu a:hover{
  cursor: pointer;
  background: #0808083d;
}

.sidemenu a:hover svg:last-of-type{
  transform: translateX(12px);
  opacity: 0.85;
}

.sidemenu a span{
  line-height: 1.1;
  color: #e7d3b3;
  opacity: 0.9;
  transition: all 0.1s linear;
}

.sidemenu a:hover span{
  opacity: 1;
  transform: translateX(4px);
}

.sidemenu a.logout span{
  color: #f14a4a;
}
.sidemenu a.logout svg{
  fill: #f14a4a;
}

.root{
  padding-top: 102px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

.content{
  width: 100%;
  max-width: 1024px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

.content > h1{
  margin: 0;
  padding: 0;
  color: #e9b564;
  font-size: 32px;
}

footer{
  margin-top: auto;
  background: #1a1919;
  width: 100%;
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  position: relative;
}

footer > .content{
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer > .content > span{
  display: block;
  font-size: 24px;
  font-weight: 300;
  position: relative;
  padding-left: 12px;
  padding-top: 2px;
  color: #cfa760;
  margin-right: 24px;
  margin-bottom: 8px;
}

footer > .content > span i{
  display: inline-block;
  height: 6px;
  width: 6px;
  background: #d1b686;
  border-radius: 12px;
  margin-left: 4px;
  opacity: 0.5;
}

footer > .content > span::after{
  content: "";
  position: absolute;
  width: 22px;
  height: 3px;
  top: 0;
  left: 0;
  background: #d1b686;
}
footer > .content > span::before{
  content: "";
  position: absolute;
  width: 3px;
  height: 18px;
  top: 0;
  left: 0;
  background: #d1b686;
}

footer > .content > a{
  color: #ffda98;
  opacity: 0.6;
  font-weight: 500;
  text-decoration: underline;
  margin-left: 14px;
  transition: opacity 0.1s linear;
}

footer > .content > a:hover{
  cursor: pointer;
  opacity: 1;
}

footer > .content > b{
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #ffda98;
  padding-top: 12px;
  opacity: 0.4;
}

footer .divider{
  display: none;
}

.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.1s linear;
  will-change: opacity;
}

.modal.raw{
  background: transparent;
  position: relative;
}

.modal.hidden{
  opacity: 0;
  pointer-events: none;
}

.modal > .content{
  max-width: 470px;
  min-height: 200px;
  transition: transform 0.1s linear;
  background: linear-gradient(0deg, #a58046 5%, #bbad82 10%, #efbf7b 20%, #635545 70%, #ad8a54 90%, #d7b672);
  position: relative;
  border: 1px solid #71634c;
  border-radius: 8px;
  padding: 4px;
  will-change: transform;
}

.modal.raw > .content{
  max-width: 540px;
}

.modal.hidden > .content{
    transform: translateY(90px);
}

.modal > .content > .page{
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: #F6DFB6;
  box-shadow: rgba(0, 0, 0, 0.025) 0px 0px 0px 1px, rgba(0, 0, 0, 0.65) 0px 0px 2px 2px inset, #6d4d138f 0px 50px 36px -28px inset, #47310a6b 0px -50px 36px -28px inset;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  overflow: hidden;
  max-height: 85vh;
  overflow: auto;
  overflow-x: hidden;
}

.modal > .content .title{
  width: 100%;
  background: linear-gradient(180deg, #bb8a1124, #573f2778);
  height: 48px;
  border-bottom: 1px solid #55401e;
  padding: 4px;
  padding-left: 22px;
  padding-right: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
  position: relative;
}

.modal > .content .title h2{
  margin: 0;
  padding: 0;
  font-weight: 700;
  text-align: left;
  width: 100%;
  font-size: 22px;
  color: #251607;
  background: -webkit-linear-gradient(#453712, #251607);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal > .content .title .close{
  position: absolute;
  right: 12px;
  height: 34px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 64px;
  padding: 0px;
}

.modal > .content .title .close svg{
  position: absolute;
  height: 32px;
  width: 32px;
  fill: #630000;
}

.modal > .content > .page > span{
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  margin-top: 12px;
  color: #773800;
  font-weight: 500;
}

form{
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 22px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
}

label{
  display: flex;
  color: #211e1b;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  padding-bottom: 4px;
  text-align: left;
  position: relative;
}

label.other{
  align-items: center;
  justify-content: center;
}

label > .action{
  margin-left: auto;
  color: #301a9f9c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

label > .action > svg{
  fill: #301a9f9c;
  width: 20px;
  height: 20px;
}

label > .action:hover{
  color: #3616d5bd;
  cursor: pointer;
}

label > .action:hover svg{
  fill: #3616d5bd;
}

input, select{
  border: none;
  outline: none;
  border: 1px solid #5b4c3a;
  border-bottom: 3px solid #5b4c3a;
  background: #f3e4cd;
  padding: 8px 8px;
  font-size: 18px;
  width: 100%;
  margin-bottom: 18px;
  color: #000;
  transition: opacity 0.1s linear;
}

input.error, select.error{
  border-color: #9b1111;
  background: #f3d4cd;
}

form.loading input, form.loading select{
  opacity: 0.5;
  pointer-events: none;
}

label.other{
  text-align: center;
  margin-top: 8px;
  font-size: 15px;
  color: #4d4034;
  transition: opacity 0.1s linear;
}

label.other > a{
  color: #714706;
  margin-left: 6px;
}
label.other > a:hover{
  cursor: pointer;
  color: #71490b;
  text-decoration: underline;
}

form .submitbtn{
  margin-bottom: 12px;
  min-width: 30%;
}

label[error]{
  color: #870000;
  border: 1px solid #bd4949;
  padding: 6px 9px;
  margin-bottom: 12px;
  width: 100%;
  background: #ff5d5d38;
  font-size: 18px;
  border-left-width: 3px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction:column;
}

label[error] svg{
  position: absolute;
  right: 12px;
  height: 28px;
  width: 28px;
  fill: #a71010;
}

label[error].info{
  color: #001787;
  border: 1px solid #4972bd;
  background: #5d96ff38;
  border-left-width: 3px;
}

label[error].info svg{
  fill: #001787;
}

label[error]:empty{
  display: none;
}

form i{
  margin-top: 6px;
  margin-bottom: 14px;
  width: 100%;
  text-align: left;
  font-style: normal;
  color: #4b2700;
  font-weight: 500;
  padding: 4px 8px;
  background: #4524011f;
  border-radius: 3px;
  font-size: 18px;
}

form i.static{
  font-weight: 500;
  background: transparent;
  padding: 0px;
  padding-left: 2px;
  opacity: 0.75;
  font-size: 16px;
  margin-bottom: 0px;
}

.or{
  color: #5b4421;
  font-weight: 500;
  display: block;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.or::before{
  content: "";
  position: absolute;
  left: -124px;
  width: 120px;
  height: 2px;
  background: #967015;
  background: linear-gradient(-90deg,rgba(150, 112, 21, 1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 4px;
}
.or::after{
  content: "";
  position: absolute;
  right: -124px;
  width: 120px;
  height: 2px;
  background: #967015;
  background: linear-gradient(90deg,rgba(150, 112, 21, 1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 4px;
}

.button{
  background-image: linear-gradient(to bottom, #c7a566, #7f681d);
  border: 1px solid #34353c;
  box-shadow: inset 0 -5px 0 -2px #bf9851, inset 0 5px 0 -2px #d8c890, inset 0 0 0 3px #c5b26d;
  padding: 8px 24px;
  line-height: 1.1;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.1s linear, opacity 0.1s linear;
  border-radius: 3px;
  user-select: none;
}

.button.disabled{
  filter: grayscale(1);
  opacity: 0.65;
  pointer-events: none;
}

.button svg{
  height: 24px;
  width: 24px;
  fill: #fff;
  margin-right: 8px;
}

.button svg:last-child{
  margin-right: 0px;
}

.button.rightIcon svg{
  margin-right: 0px;
  margin-left: 8px;
}

.button:hover{
  cursor: pointer;
  border: 1px solid #63451f;
  background-image: linear-gradient(to bottom, #e3b257, #776013);
  box-shadow: inset 0 -5px 0 -2px #cd9631, inset 0 5px 0 -2px #f5dd89, inset 0 0 0 3px #d3b857;
}

.row{
  display: flex;
  flex-direction: row;
  margin-top: -8px;
}

.row > .button{
  margin-left: 4px;
  margin-right: 4px;
}

.btnloader {
  opacity: 0;
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid #412f10;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  transition: opacity 0.1s linear;
}

.button.loading{
  color: transparent;
  pointer-events: none;
  opacity: 0.625;
}
.button.loading > .btnloader{
  opacity: 1;
}

form.loading .button{
  color: transparent;
  pointer-events: none;
  opacity: 0.625;
}
form.loading .button > .btnloader{
  opacity: 1;
}

form.loading .platformLogin{
  opacity: 0.5;
  pointer-events: none;
}
form.loading .other{
  opacity: 0.5;
  pointer-events: none;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

hr{
  outline: none;
  border: none;
  width: 100%;
  height: 1px;
  background: #7f6040;
  margin: 0px;
}

.platformLogins{
  display: flex;
  flex-direction: row;
  margin-top: 12px;
  margin-bottom: 18px;
}

.platformLogin{
  height: 40px;
  width: 40px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #34353c;
  background: #dfc8af;
  padding: 3px;
  margin-left: 6px;
  margin-right: 6px;
  transition: background 0.1s linear, opacity 0.1s linear;
}

.platformLogin svg{
  width: 100%;
  height: 100%;
  fill: #fff;
}

.platformLogin:hover{
  cursor: pointer;
  background: #ffe6cc;
}

@media screen and (max-width: 800px) {
  header a span{
    display: none;
  }
  header a svg{
    width: 28px;
    height: 28px;
  }
  header a.right svg{
    margin-right: unset;
  }
  header a.left svg{
    margin-left: unset;
  }
  header a{
    height: 48px;
    width: 48px;
  }
  footer .divider{
    display: flex;
    width: 100%;
  }
}

@media screen and (max-width: 340px) {
  header a.left{
    display: none;
  }
}
