html {
  --background-color: #fff;
  --main-color: rgba(0, 0, 0, .87);
  --inactive-main-color: #a4a2a5;

  --error-color: #c10c13;
  --warning-color: #ffcc00;
  --success-color: #5bb35b;
  --info-color: #97d2f6;

  --haze-color: rgba(0, 0, 0, .3);
  --shadow-color: #3d3d3d;
  --green-shadow-color: #43662a;

  --error-background-color: #bf4c52;
  --warning-background-color: #ffe999;

  --header-background-color: #5ab55a;
  --header-border-color: #5ab55a;
  --footer-background-color: #f5f5f5;
  --inverted-main-color: #fff;
  --inactive-inverted-main-color: #cfcfcf;

  --interactive-background-color: #f5f5f5;
  --interactive-hover-background-color: #5ab55a;
  --interactive-active-background-color: #5ab55a;
  --interactive-inactive-background-color: #666467;
  --interactive-primary-background-color: #5ab55a;

  --inverted-interactive-background-color: #272727;

  --interactive-border-color: #5ab55a;
  --interactive-active-border-color: #5ab55a;
  --interactive-inactive-border-color: #666467;

  --link-color: #2a282b;
  --active-link-color: #5ab55a;
  --inactive-link-color: #d9d7da;
  --inverted-link-color: #fff;
  --inverted-active-link-color: #5ab55a;

  --screen-xs-max: 575px;
  --screen-sm-min: var(--screen-xs-max+1);
  --screen-sm-max: 767px;
  --screen-md-min: var(--screen-sm-max+1);
  --screen-md-max: 991px;
  --screen-lg-min: var(--screen-md-max+1);
  --screen-lg-max: 1199px;
  --screen-xl-min: var(--screen-lg-max+1);

  --images-path: '../assets/img';
  --fonts-path: '../assets/fonts';
  --font-size: 12pt;
  --form-width: 700px;
}

/* fonts */

/* Roboto */

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Thin.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Thin.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-MediumItalic.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-MediumItalic.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Regular.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Regular.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-BlackItalic.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-BlackItalic.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-LightItalic.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-LightItalic.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Black.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Black.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Italic.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Italic.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Light.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Light.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Bold.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Bold.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-BoldItalic.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-BoldItalic.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-Medium.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-Medium.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/Roboto-ThinItalic.woff2') format('woff2'),
  url('../assets/fonts/Roboto/Roboto-ThinItalic.woff') format('woff'),
  url('../assets/fonts/Roboto/Roboto-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

/* ~Roboto */

/* Material Icons */

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/MaterialIcons/MaterialIcons-Regular.eot'); /* For IE6-8 */
  src: local('../assets/fonts/MaterialIcons/Material Icons'),
  local('../assets/fonts/MaterialIcons/MaterialIcons-Regular'),
  url('../assets/fonts/MaterialIcons/MaterialIcons-Regular.woff2') format('woff2'),
  url('../assets/fonts/MaterialIcons/MaterialIcons-Regular.woff') format('woff'),
  url('../assets/fonts/MaterialIcons/MaterialIcons-Regular.ttf') format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

/* ~Material Icons */

/* ~fonts */

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  font-family: 'Roboto', sans-serif;
  color: var(--main-color);
  font-size: var(--font-size);
}

* {
  box-sizing: border-box;
}

/* container */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* ~container */

/* grid-container */
.grid-container {
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(1em, auto) 1fr minmax(1em, auto);
  grid-template-areas: "header""main""main""footer";
  width: 100vw;
  height: 100vh;
}

.grid-container__header {
  grid-area: header;
  background-color: var(--header-background-color);
  /* border-bottom: 4px solid var(--header-border-color); */
  box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
  color: var(--main-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.grid-container__footer {
  grid-area: footer;
  background-color: var(--footer-background-color);
  color: var(--main-color);
  display: flex;
  flex-direction: row;
  font-size: 1em;
  justify-content: center;
  padding: 12px 12px;
}

.grid-container__main {
  grid-area: main;
  display: grid;
  padding-bottom: 20px;
  overflow-y: scroll;
  grid-template-columns: 2fr;
  grid-template-areas: "content";
}

@media screen and (min-width: 992px) {
  .grid-container__main {
    grid-template-columns: repeat(8, 1fr);
    grid-template-areas: ". content content content content content content .";
  }
}

.grid-container__content {
  grid-area: content;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* ~grid-container */

.alves-splash {
  display: flex;
  justify-content: center;
}

.alves-splash__animation {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  justify-content: center;

  width: 60vmin;
  height: 5vmin;
  border: 0.5vmin solid #5ab55a;
  padding: 0.5vmin;
}

.alves-splash__logo {
  width: 80vmin;
  height: 20vmin;
  enable-background: new 0 0 480 117;
}

.alves-splash__logo_small {
  width: 40vmin;
  height: 50vmin;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* button */
.button {
  background-color: var(--interactive-background-color);
  color: var(--main-color);
  box-shadow: 0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12) !important;
  transition-duration: .28s;
  transition-property: box-shadow,transform,opacity;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 4px;
  font-weight: 500;

  outline: none;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
  user-select: none;
  position: relative;
}

.button_primary {
  background-color: var(--interactive-primary-background-color);
  color: var(--inverted-main-color);
}

.button_dark {
  background-color: var(--inverted-interactive-background-color);
  color: var(--inverted-main-color);
}

.button:before {
  background-color: currentColor;
  border-radius: inherit;
  bottom: 0;
  color: inherit;
  content: "";
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .2s cubic-bezier(.4,0,.6,1);
}

@media screen and (max-width: 575px) {
  .button {
    font-size: 4vmin;
  }
}

@media screen and (min-width: 576px) {
  .button {
    font-size: 1em;
  }
}

.button_fixed-min {
  min-width: 140px;
}

/* .button:active,
.button:focus {
  background-color: var(--interactive-active-background-color);
} */

.button:active:before,
.button:focus::before {
  opacity: .24;
}

.button:hover:before {
  opacity: .08;
}


.button_disabled {
  background-color: var(--interactive-inactive-background-color);
}

.button_disabled:active,
.button_disabled:focus,
.button_disabled:hover {
  background-color: var(--interactive-inactive-background-color);
}

/* ~button */

/* form-group */
.form-group {
  display: flex;
  flex-direction: column;
  padding: 6px;
}

.form-group_horizontal {
  display: block;
}

.form-group_horizontal-flex {
  flex-direction: row;
  align-items: center;
}

.form-group_right-alignment {
  justify-content: flex-end;
}

.form-group_not-padded {
  padding: 6px 0;
}

/* ~form-group */

/* line-edit */
.line-edit {
  background-color: transparent;
  border: 1px solid var(--interactive-border-color);
  border-radius: 4px;
  color: var(--main-color);
  font-size: 1rem;
  padding: 12px 18px;
}

.line-edit:focus {
  border-color: var(--interactive-active-border-color);
  outline: 1px solid var(--interactive-active-border-color);
}

.line-edit_disabled {
  border-color: var(--interactive-inactive-border-color);
}

.line-edit_disabled:focus {
  border-color: var(--interactive-inactive-border-color);
  outline: 0;
}

.line-edit_warning {
  background-color: var(--warning-background-color);
}

.line-edit_error {
  background-color: var(--error-background-color);
}

.line-edit_full-width {
  width: 100%;
}

/* ~line-edit */

/* link */

.link {
  color: var(--link-color);
  cursor: pointer;
  text-decoration: none;
}

.link:hover {
  color: var(--active-link-color);
}

.link:active,
.link.active {
  color: var(--active-link-color);
}

.link_inverted {
  color: var(--inverted-link-color);
  border-radius: 2px;
}

.link_inverted:hover {
  color: var(--inverted-active-link-color);
  background-color: var(--interactive-hover-background-color);
}

.link_inverted:active,
.link_inverted.active {
  color: var(--inverted-active-link-color);
  background-color: var(--interactive-background-color);
}

.link_inverted.active:hover {
  background-color: var(--interactive-hover-background-color);
}

.link_disconnected {
  color: var(--error-color);
}

.link_disabled,
.link_disabled:hover {
  color: var(--inactive-link-color);
}

/* ~link */

/* error-message */
.error-message {
  font-size: 2rem;
  font-weight: bold;
}

.error-message__header {
  color: var(--interactive-inactive-background-color);
  font-size: 3em;
  line-height: 0.4em;
}

.error-message__text {
  font-size: 1em;
}

/* ~error-message */

/* logo */
.logo {
  align-items: center;
  cursor: pointer;
  flex-direction: row;
  justify-content: flex-start;

  background-image: url("../assets/img/logo.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;

  min-height: 40px;
  min-width: 210px;
}

/* ~logo */

/* login */
.login {
  align-items: center;
  display: flex;
  flex-direction: row;
  padding: 12px;
}

.login__username {
  flex-grow: 1;
  flex-shrink: 1;
  margin-right: 10px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  color: var(--inverted-main-color);
}

@media screen and (max-width: 767px) {
  .login__username {
    display: none;
  }
}

/* ~login */

/* server-list */
/* .server-list {} */

.server-list__item {
  font-size: 1.5rem;
  line-height: 1.25;
}

.server-list__item::marker {
  color: var(--active-link-color);
  font-size: 1.25em;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  text-indent: 0px !important;
  text-align: start !important;
  text-align-last: start !important;
}

/* ~server-list */

/* mixins */

/* grid-container-mixins */

.grid-container__logo {
  flex-shrink: 0;
  flex-grow: 0;
}

.grid-container__login {
  flex-shrink: 0;
  flex-grow: 0;
}

@media screen and (max-width: 991px) {
  .grid-container__login {
    order: 3;
  }
}

/* ~grid-container-mixins */

/* ~mixins */