:root {
  --height-header: 52px;
  --height-footer: 16px;
  --height-content: calc(100vh - var(--height-header));
  --col-01: hsl(210deg 10% 10%);
  --col-02: hsl(225deg 8% 13%);
  --col-03: #eee;
  --col-04: hsl(224deg 11% 17%);
  --col-link: gold;

  --col-text-01: hsl(224deg 8% 90%);
  --col-text-02: hsl(224deg 8% 70%);

  --navigation-width: 440px;
  --dialog-popup-width: 30vw;
  
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* html{
  overflow: hidden;
} */

body {
  color: var(--col-03);
  font-family: "Rubik";
  font-weight: 100;

}
#container {
  position: absolute;
  /* overflow: hidden; */
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;

  background-color: var(--col-02);
}
#header {
  position: fixed;
  box-sizing: border-box;
  top: 0px;
  left: 0px;
  width: 100%;
  height: var(--height-header);
  background-color: var(--col-01);
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 400;
  justify-content: space-between;
  z-index:900;
}

#footer {
  position: fixed;
  box-sizing: border-box;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: var(--height-footer);
  background-color: var(--col-01);
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 400;
  justify-content: space-between;
  z-index:900;
}

.page-container {
  margin-top: var(--height-header);
  padding-top: 40px;
  background-color: var(--col-02);
  padding-left: 20vw;
  padding-right: 20vw;
}

.content {
  position: absolute;
  top: var(--height-header);
  left: 0px;
  width: calc(100vw);
  
  height: var(--height-content);
  background-color: #eee;
  min-height: 400px;

  overflow: hidden;
}

#panel {
  position: absolute;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  top: var(--height-header);
  right: 0px;
  width: 400px;
  min-width: 320px;
  /* height: var(--height-content); */
  max-height: var(--height-content); 
  margin-right: 16px;
 padding-top:8px;
  /* background-color: --col-02; */

  /* opacity: 0.8; */
  /* padding: 20px; */
  /* min-height: 600px; */

  font-size: 12px;
   overflow-y: auto;
   overflow-x: hidden;
}

.panel::-webkit-scrollbar {
  display: none;
}

#dialog-overlay {
  position: absolute;
  top: var(--height-header);
  left: 0px;
  width: 100vw;
  height: var(--height-content);
  color: #fff;
  background-color: rgba(10, 10, 10, 0.5);
  z-index: 99;

  display: flex;
  justify-content: center;
  align-items: center;
}
.dialog-box {
  color: #ddd;
  background-color: var(--col-02);
  z-index: 98;
  border-radius: 10px;

  -webkit-box-shadow: 10px 10px 56px -1px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 10px 10px 56px -1px rgba(0, 0, 0, 0.8);
  box-shadow: 10px 10px 56px -1px rgba(0, 0, 0, 0.8);
}

#dialog-popup {
  position: absolute;
  top: 30vh;
  left: calc(((100vw - 440px) / 2) - 250px);
  width: 500px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dialog-login {
  position: absolute;
  top: 20vh;
  left: calc(((100vw - 440px) / 2) - 200px);
  width: 400px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dialog-default {
  position: absolute;
  top: 100px;
  left: calc(((100vw - 440px) / 2) - 220px);
  width: 20vw;
  min-width: 440px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px;
  max-height: 80vh;
}

.dialog-default-wide {
  position: absolute;
  top: 100px;
  left: calc(((100vw - 440px) / 2) - 300px);
  width: 600px;
  min-width: 600px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: 10px;
  max-height: 80vh;
}

.dialog-mask {
  position: absolute;
  /* top: var(--height-header); */
  left: 0px;
  width: 100%;
  height: var(--height-content);
  background-color: rgba(0, 0, 0, 0);
  z-index: 99;
  height: calc(100vh - var(--height-footer));
}
/* 
#footer {
  display: flex;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100vw;
  height: var(--height-footer);
  background-color: var(--col-01);
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  font-size: small;
  justify-content: center;
} */

.flex-between{
  display:flex;
  justify-content: space-between;
}
/* .lds-ring {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  margin: 2px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
} */
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 1024px) {
  #container {
    overflow-y: scroll;
  }
  #header {
    position: absolute;
    width: 100vw;
    height: var(--height-header);
    background-color: var(--col-01);
    z-index:900;
  }

  .content {
    position: relative;
    width: 100vw;
    height: calc(80vh - 84px);
    background-color:  var(--col-02);
  }
  #panel {
    position: relative;
    justify-content: flex-start;
    width: 100vw;
    margin-bottom: 200px;
  }
  #footer {
    position: relative;
    background-color: var(--col-01);
  }

  #dialog-login {
    position: absolute;
    top: 10vh;
    left: calc(50vw - 200px);
    width: 400px;
    /* height: 400px; */
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
  }

  .dialog-default {
    position: absolute;
    top: 10vh;

    left: calc(((100vw - 80vw) / 2));
    width: 80vw;
    /* height: 400px; */
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 600px;
  }

  .dialog-mask {
    position: absolute;
    /* top: var(--height-header); */
    top: 0px;
    left: 0px;
    width: 100%;
    height: var(--height-content);
    background-color: rgba(0, 0, 0, 0);
    z-index: 99;
  }

  .dialog-default-wide {
    position: relative;
    top:50px;
    left:0px;
    width: 95%;
    min-width: 300px;
    padding: 30px;
    margin: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-radius: 10px;
    max-height: 600px;
  }

  .space-between {
    display: flex;
    justify-content: space-between;
  }
  .subtitle.is-5 {

    font-size: .8rem
  }
}
