:root {
  --base-red:rgb(109,18,0);
  --base-orange:rgb(255, 156, 0);
  --darker-color: rgb(146, 94, 16);
  --hover-color: #ff2222;
}

body, html {
  font-family: 'Langar', Arial;
  margin: 0;
  padding: 0;
  min-height: 100%;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  font-size: 10px;
}
body {
  overflow-y: scroll;
}
#header-buttons {
  background-color: var(--base-orange);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
#header-toggle {
  display: none;
  text-align: right;
  width: 5em;
}
#header-toggle img {
  width: 100%;
}
.header-button {
  color: white;
  display: inline-block;
  padding: 0.5em;
  cursor: pointer;
  transition-duration: 200ms;
  font-size: 2.5em;
}
.header-button:hover {
  color: var(--base-red);
}
.header-button.selected {
  color: var(--base-red);
}
.poem-wrap {
  margin-top: 20px;
  font-size: 1.8em;
  text-align: center;
  color: var(--base-red);
}
.poem-wrap p {
  margin: 0;
}
.poem-wrap img {
  width: 10em;
}
.poem-wrap img.rotated {
  transform: rotate(180deg);
  margin-top: 0.5em;
}
#preloader-img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
#data-deploy-wrap {
  min-height: 100%;
}
@media 
(pointer: coarse) { 
  body, html {
    font-size: 30px;
  }
  #header-wrap {
    position: fixed;
    display: inline-flex;
    flex-direction: column;
    z-index: 256;
    align-items: flex-end;
    right: 0;
    margin-right: 1em;
  }
  #header-buttons {
    display: flex;
    flex-direction: column;
  }
  #header-buttons.hidden {
    display: none;
  }
  #header-toggle {
    display: block;
    right: 0;
  }
}
#achievements-categories {
  text-align: center;
}
.achievements-button {
  cursor: pointer;
  color: white;
  background-color: var(--base-red);
  display: inline-block;
  margin: 0.2em;
  border-radius: 0.5em;
  padding: 0.2em 1em 0.2em 1em;
  font-size: 2.5em;
  transition-duration: 0.2s;
}
.achievements-button:hover {
  background-color: var(--base-orange);
}
.achievements-button.selected {
  background-color: var(--base-orange);
}

#achievements-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  color: var(--base-red);
  justify-content: center;
}
#achievements-list .achievement-wrap {
  width: 300px;
  margin: 5px;
  background-color: #ff9c0030;
  border-radius: 10px;
}
#achievements-list .achievement-wrap .name {
  font-size: 35px;
  text-align: center;
}
#achievements-list .achievement-wrap .description {
  font-size: 18px;
  text-align: justify;
  padding: 0 10px 10px 10px;
}

#achievements-users {
  padding: 20px;
  text-align: center;
  margin-bottom: 500px;
}
#achievements-users table {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
#achievements-users input {
  background-color: var(--base-orange);
  color: #fff;
  height: 2em;
  font-size: 1.5em;
  font-family: inherit;
  border: 0 solid;
  padding: 0.5em;
  border-radius: 0.5em;
  border: 1px solid var(--base-red);
  box-sizing: border-box;
  margin: 0.2em;
}
#achievements-users tr {
  border-top: 3px solid #ff9c0030;
}
#achievements-users .achievement-selector {
  display: inline-block;
  width: 2em;
  height: 2em;
  border: 5px solid var(--base-red);
  border-radius: 100%;
  cursor: pointer;
  margin: 10px;
}
#achievements-users .achievement-selector.selected {
  background-color: var(--base-red);
}
#achievements-users td {
  position: relative;
  white-space: nowrap;
}
#achievements-users td.not-achieved {
  opacity: 0.3;
}
#achievements-users td:not(.name) img {
  width: 100px;
  vertical-align: middle;
  margin-right: -10px;
}
#achievements-users td:not(.name) .count {
  font-size: 25px;
  display: inline;
  vertical-align: middle;
}
#achievements-users td:hover .hover-details {
  display: block;
}
#achievements-users .hover-details {
  position: absolute;
  top: 50%;
  z-index: 8;
  background-color: white;
  padding: 0.5em;
  border: 1px solid var(--base-orange);
  display: none;
  white-space: nowrap;
  font-size: 14px;
}
#achievements-users td.name {
  color: var(--base-red);
  font-size: 18px;
  white-space: normal;
}
#achievements-users td.name img {
  width: 80px;
  border-radius: 100%;
  border: 5px solid var(--base-orange);
  display: block;
  margin-top: 20px;
}
#achievements-users td.name div {
  position: relative;
  top: -20px;
  background-color: var(--base-orange);
  padding: 5px;
  border-radius: 5px;
}
#activity-viewer-wrap table {
  border-spacing: 0;
  border-collapse: collapse;
}
#activity-viewer-wrap table tr#header td {
  background-color: var(--base-red);
  color: white;
}
#activity-viewer-wrap table td {
  border: 1px solid var(--base-red);
  padding: 2px 10px;
}
#admin-page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#user-adder-wrap {
  background-color: var(--base-orange);
  margin: 20px;
  border-radius: 5px;
  padding: 20px;
}
#activity-viewer-wrap {
  background-color: var(--base-orange);
  margin: 20px;
  border-radius: 5px;
  padding: 20px;
}
#user-adder-wrap #inputs-wrap {
  text-align: center;
  margin-top: 20px;
}
#user-adder-wrap #inputs-wrap input, 
#user-adder-wrap #inputs-wrap select,
#user-adder-wrap #inputs-wrap textarea {
  width: 300px;
  margin-bottom: 10px;
  padding: 5px;
  font-family: inherit;
  border: 2px solid #341004;
  padding: 0.5em;
  font-size: inherit;
  border-radius: 0.5em;
}
#user-adder-wrap #inputs-wrap input:focus, 
#user-adder-wrap #inputs-wrap select:focus,
#user-adder-wrap #inputs-wrap textarea:focus {
  outline: none;
}
#user-adder-wrap #inputs-wrap .input-button {
  cursor: pointer;
  background-color: var(--base-red);
  color: white;
  display: inline-block;
  border-radius: 5px;
  padding: 5px;
  margin: 10px;
}
#user-adder-wrap #profile-images-wrap {
  max-width: 500px;
  display: inline-block;
}
#user-adder-wrap #inputs-wrap .profile-image {
  width: 64px; 
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  border: 4px solid white;
}
#user-adder-wrap #inputs-wrap .profile-image.selected {
  border-color: var(--base-red);
}
#user-adder-wrap #reply-wrap {
  max-width: 800px;
  display: inline-block;
}
#user-adder-wrap #reply-wrap {
  margin-top: 40px;
  width: 600px !important;
  height: 200px;
  resize: none;
}
#user-adder-wrap #preloader-img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
:root {
  --orbit-color: rgba(255, 208, 0, 0.267);
}
#geo-background {
  height: 100%;
  background-image: url("../../images/geo/starsBg.jpg");
  background-size: cover;
  position: relative;
  overflow: hidden;
}
#geo-background * {
  box-sizing: border-box;
}
#geo-square {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  overflow: hidden;
  font-size: 1vmin;
}
.geo-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.geo-rotate-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
}
.geo-orbit-tag {
  color: var(--orbit-color);
  position: absolute;
  left: 50%;
  transform: translate(0,-100%);
}
#geo-bar {
  width: 100px;
  height: 100px;
  border-right: 1px solid var(--orbit-color);
  border-top: 1px solid var(--orbit-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-100%,-100%);
}
.geo-bar-tag {
  color: var(--orbit-color);
  position: absolute;
  left: 0%;
  transform: translate(0,-100%);
}
#geo-iss {
  width: 100px;
}
#geo-iss-rotate-wrap {
  animation: rotating 10s linear infinite;
}
#geo-gps {
  width: 100px;
}
#geo-gps-rotate-wrap {
  animation: rotating 30s linear infinite;
}
#geo-astra {
  width: 100px;
}
#geo-astra-rotate-wrap {
  animation: rotating 120s linear infinite;
}
#geo-iss-orbit  {
  border: 1px solid var(--orbit-color);
  border-radius: 100%;
}
#geo-stationary-orbit {
  border: 1px solid var(--orbit-color);
  border-radius: 100%;
}
#geo-medium-orbit {
  border: 1px solid var(--orbit-color);
  border-radius: 100%;
}
@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#geo-info-button {
  position: absolute;
  right: 1%;
  bottom: 1%;
  cursor: pointer;
  opacity: 0.5;
  transition-duration: 200ms;
}
#geo-info-button:hover {
  opacity: 1;
}
#geo-info-wrap {
  position: absolute;
  color:white;
  background-color: black;
  padding: 5em;
  font-size: 2em;
  opacity: 0;
  transition-duration: 200ms;
}
#geo-info-wrap.visible {
  opacity: 0.8;
}
#geo-ufo {
  position: absolute;
}
#overview-center-wrap {
  text-align: center;
}
/* FILTERS *****************************/
#overview-filters-wrap {
  overflow: hidden;
  position: relative;
  display: inline-block;
  width: 70em;
}
#overview-search-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: flex-end;
  transform: translate(-50%);
  background-color: #ffebcc;
  border-radius: 0.5em;
  border: 2px solid var(--base-red);
  box-sizing: border-box;
  padding: 1em;
  height: 100%;
}
.overview-search-input {
  background-color: var(--base-orange);
  color: white;
  height: 2em;
  font-size: 1.5em;
  font-family: inherit;
  border: 0px solid;
  padding: 0.5em;
  border-radius: 0.5em;
  border: 1px solid var(--base-red);
  box-sizing: border-box;
  margin: 0.2em;
}
.overview-search-input::-webkit-input-placeholder { 
  opacity: 0.4;
}
.overview-search-input::-moz-placeholder {
  opacity: 0.4;
}
.overview-search-input:focus {
  outline: none;
}
.half-circle {
  background-color: #ffebcc;
  position: absolute;
  transform-origin: top center;
  top: 0;
  left: 50%;
  transition-duration: 500ms;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  font-size: 2em;
}
.half-circle img {
  width: 100%;
}
.half-circle.active {
  background-color: var(--base-orange);
}
.half-circle:hover {
  background-color: var(--base-orange);
}
.half-circle-text-holder {
  position: absolute;
  left: 50%;
  transform-origin: top center;
}
.half-circle-text {
  top: 0;
  left: 0;
  transform-origin: center;
  position: absolute;
  display: inline-block;
  transform: translate(-50%,-50%) rotate(90deg);
  color: white;
  user-select: none;
}
#overview-filters-wrap-alt {
  display: none;
  padding-top: 5em;
}
.overview-filters-button {
  display: inline-block;
  background-color: #ffebcc;
  color: white;
  font-size: 2em;
  padding: 0.1em 0.5em 0.1em 0.5em;
  border-radius: 0.2em;
  margin: 0.2em;
}
.overview-filters-button.active {
  background-color: var(--base-orange);
}
@media 
(pointer: coarse) {
  #overview-center-wrap {
    overflow-y: scroll;
  } 
  #overview-filters-wrap {
    display: none;
  }
  #overview-filters-wrap-alt {
    display: block;
  }
}
/* TOTALS ****************************/
#overview-totals-wrap {
  color: var(--base-red);
  font-size: 2em;
  margin: 1em;
}
/* USERS *****************************/
#overview-data-wrap {
  text-align: center;
  padding: 0 10px;
}
.overview-user-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.5em;
  position: relative;
  margin-top: 0.2em;
}
.overview-user-wrap img {
  width: 100%;
  display: inline-block;
  background-color: white;
  width: 5em;
  height: 5em;
  border: 0.8em solid var(--base-orange);
  border-radius: 100%;
}
.overview-user-wrap .bar {
  height: 1.6em;
  border-radius: 0 0.8em 0.8em 0;
  background-color: var(--base-orange);
  margin-left: -0.1em;
}
.overview-user-wrap .count {
  color: var(--base-red);
  white-space: nowrap;
  margin-left: 0.1em;
}
.overview-user-wrap .date {
  opacity: 0.6;
  color: var(--base-red);
  font-size: 0.5em;
  margin-top: 0.4em;
}
.overview-user-wrap .name {
  color: var(--base-red);
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 6em;
}
.overview-user-wrap .position {
  font-size: 0.7em;
  color: var(--base-red);
  position: absolute;
  top: 0;
}
/* CHALLENGE *****************************/
#overview-challenge-wrap {
  display: inline-block;
  margin: 0 auto 0 auto;
  color: var(--base-red);
  border: 0.1em solid var(--base-red);
  padding: 1em;
  border-radius: 0.8em;
  margin-top: 1em;
  font-size: 1.5em;
  box-sizing: border-box;
  margin-bottom: 0.5em;
}
#overview-challenge-wrap #heading {
  font-size: 2em;
}
#overview-challenge-wrap #bar {
  height: 1.6em;
  width: 20em;
  border-radius: 0.8em;
  overflow: hidden;
  position: relative;
}
#overview-challenge-wrap #hundred {
  width: 100%;
  height: 100%;
  background-color: var(--base-orange);
  opacity: 0.2;
}
#overview-challenge-wrap #passed {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: var(--base-orange);
}


#login-wrap {
  margin-top: 200px;
  text-align: center;
  padding: 1em;
}
#login-wrap #message {
  font-size: 2em;
  height: 2em;
  color: var(--base-red); 
}
#login-wrap input {
  border: none;
  background-color: var(--base-orange);
  padding: 0.5em;
  font-size: 2em;
  font-family: inherit;
  color: var(--base-red);
  margin: 0.5em;
  border-radius: 0.5em;
}
#login-wrap input::placeholder {
  opacity: 0.5;
}
#login-wrap input:focus {
  outline: var(--base-red) solid 2px;
}
#login-wrap input[type=button] {
  background-color: var(--base-red);
  color: white;
  cursor: pointer;
  transition-duration: 200ms;
}
#login-wrap input[type=button]:hover {
  background-color: var(--base-orange);
}
#login-wrap #instructions {
  font-size: 1.5em;
  text-align: left;
  max-width: 30em;
  display: inline-block;
  margin-top: 30px;
  opacity: 0.5;
}
#login-wrap #instructions span.click {
  cursor: pointer;
  color: var(--base-orange);
}

#personal-wrap {
  text-align: center;
}
#personal-info-header {
  margin-top: 2em;
  font-size: 2em;
  color: var(--base-red);
}
#personal-info-header img {
  border-radius: 100%;
  border: 10px solid var(--base-orange);
}
#personal-info-header .button{
  cursor: pointer;
  background-color: var(--base-orange);
  color: white;
  display: inline-block;
  padding: 0.5em;
  border-radius: 0.5em;
  transition-duration: 200ms;
}
#personal-info-header .button:hover{
  background-color: var(--base-red);
}
#personal-info-content {
  margin-top: 2em;
  margin-bottom: 5em;
}
#personal-wrap table {
  margin-left: auto; 
  margin-right: auto;
  border-spacing: 0 0.2em;
}
#personal-wrap table#sums .border-left {
  border-left: 1px solid var(--base-red);
}
#personal-wrap table thead td {
  background-color: var(--base-red);
  color: white;
  padding: 0.5em;
}
#personal-wrap table#overview thead td {
  font-size: 1.5em;
}

#personal-wrap table thead input, #personal-wrap table thead select{
  background-color: var(--base-red);
  color: white;
  font-family: inherit;
  border: 2px solid #341004;
  padding: 0.5em;
  font-size: inherit;
  border-radius: 0.5em;
} 
#personal-wrap table thead input:focus, #personal-wrap table thead select:focus {
  outline: none;
}
#personal-wrap table tr td:first-child {
  border-radius: 0.5em 0 0 0.5em;
}
#personal-wrap table tr td:last-child {
  border-radius: 0 0.5em 0.5em 0;
}
#personal-wrap table tbody td {
  background-color: var(--base-orange);
  padding: 0.2em;
  margin: 0.2em;
}
#personal-wrap table tbody td img {
  height: 1.5em;
}
#personal-wrap table tbody .publish {
  cursor: pointer;
}
#personal-wrap .switch-wrap {
  display: inline-flex;
  color: var(--base-red);
}
#personal-wrap .switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
  margin-right: 1em;
} 
#personal-wrap .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#personal-wrap .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CCCCCC;
  -webkit-transition: .3s;
  transition: .3s;
}
#personal-wrap .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  -webkit-transition: .3s;
  transition: .3s;
} 
#personal-wrap input:checked + .slider {
  background-color: var(--base-orange);
} 
#personal-wrap input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
#personal-wrap .slider {
  border-radius: 32px;
} 
#personal-wrap .slider:before {
  border-radius: 50%;
}
#personal-wrap .slider-tag {
  display: inline-block; 
  font-size: 2em;
  vertical-align: middle;
}
#personal-wrap .tooltip {
  display: inline-block;
  color: var(--base-red);
  font-size: 1em;
  max-width: 40em;
  opacity: 0.5;
  text-align: justify;
}
#registration-wrap {
  text-align: center;
}
#registration-inner {
  max-width: 800px;
  margin: 0 20px 0 20px;
  display: inline-block;
}
#registration-text {
  font-size: 1.5em;
}
#registration-text .bigger {
  font-size: 1.5em;
  color: var(--base-orange);
}
#registration-text a {
  color: inherit;
  text-decoration: none;
}
#rules-wrap {
  text-align: center;
}
#rules-inner {
  text-align: left;
  max-width: 800px;
  margin: 0 20px 0 20px;
  display: inline-block;
}
#rules-text {
  font-size: 1.5em;
}
#rules-text p {
  text-indent: 1em;
}
#rules-inner li {
  margin-left: 3em;
}
#rules-inner a {
  text-decoration: none;
  color: var(--base-orange);
}
#rules-inner span.click {
  cursor: pointer;
  color: var(--base-orange);
}
#rules-inner .paragraph-number {
  font-size: 1.5em;
  display: block;
  border-top: 1px solid #00000030;
}

#weather-wrap {
  text-align: center;
}
#prev-week, #next-week {
  cursor: pointer;
  display: inline-block;
  background-color: var(--base-orange);
  padding: 1em;
  color: white;
  border-radius: 0.5em;
  margin: 1em;
  font-size: 1.5em;
}
#weather-deploy-wrap{
  padding: 2em;
  display: inline-block;
  text-align: left;
}
.weather-day-content {
  line-height: 0;
}
.weather-day-heading {
  border-bottom: 1px solid black;
  margin-top: 0.5em;
  font-size: 1.5em;
}
.weather-qday-wrap {
  position: relative;
  display: flex;
  margin-top: 0.4em;
  align-items: center;
}
.weather-qday-time {
  position: absolute;
  top: 4.8em;
  left: 3em;
  transform: translate(-50%);
  font-size: 1em;
  z-index: 3;
}
.weather-bars-wrap {
  display: flex;
  flex-direction: column;
}
.weather-bar-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0.2em 0 0.2em -0.2em;
}
.weather-qday-icon, .weather-home-icon {
  width: 5em;
  border: 0.5em solid var(--base-orange);
  border-radius: 100%;
  z-index: 2;
  position: relative;
  background-color: white;
}
.weather-home-icon {
  border-color:  var(--base-red); 
  border-width: 0.8em;
  width: 8em;
}
.weather-qday-temp-bar, .weather-qday-spd-bar, .weather-qday-cnt-bar {
  background-color: var(--base-orange);
  width: 100px;
  height: 0.8em;
  border-radius: 0 0.4em 0.4em 0;
}
.weather-qday-cnt-bar {
  top: 50%;
  background-color: var(--base-red); 
  height: 2em;
  border-radius: 0 1em 1em 0;
}
.weather-qday-temp, .weather-qday-spd, .weather-qday-cnt {
  padding-left: 0.4em;
  white-space: nowrap;
  font-size: 1em;
}
.weather-qday-cnt {
  font-size: 1.5em;
}
#welcome-wrap {
  margin: 0 auto 0 auto;
  text-align: center;
  color: var(--base-red);
}
#welcome-logo {
  width: 100%;
  max-width: 1000px;
}
#welcome-lines-wrap {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 50%;
}
.welcome-line {
  font-size: 2.5em;
  display: inline-flex;
  text-align: left;
  transition-duration: 200ms;
  cursor: pointer;
  margin: 0.5em;
  white-space: nowrap;
  align-items: center;
}
.welcome-line:hover {
  color: var(--base-orange);
}
.welcome-line:hover .welcome-icon {
  background-color: var(--base-orange);
}
.welcome-line.right {
  justify-content: flex-end;
}
.welcome-icon {
  background-color: var(--base-red);
  min-width: 2em;
  width: 2em;
  height: 2em;
  border-radius: 100%;
  padding: 0.8em;
  transition-duration: 200ms;
}
.welcome-icon-tag {
  margin: 0.3em;
}
.welcome-icon img {
  width: 100%;
}
.welcome-button {
  color: white;
  display: inline-block;
  font-size: 2.5em;
  margin-top: 0.5em;
  margin-bottom: 2em;
  background-color: var(--base-red);
  padding: 0.5em;
  cursor: pointer;
  border-radius: 0.5em;
  transition-duration: 200ms;
}
.welcome-button:hover {
  background-color: var(--base-orange);
}
@media 
(pointer: coarse) { 
  #welcome-lines-wrap {
    display: block;
  }
  .welcome-line {
    display: flex;
  }
  .welcome-icon-tag {
    flex: 1;
    text-align: center;
  }
}
