@font-face {
  font-family: "RobotoCondensed-Regular";
  font-weight: 300;
  font-style: bold;

  src: url("~@static/fonts/RobotoCondensed-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "RobotoCondensed-Bold";
  font-weight: 700;
  font-style: bold;

  src: url("~@static/fonts/RobotoCondensed-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Fira Sans";
  font-weight: 300;
  font-style: normal;

  src: url("~@static/fonts/FiraSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Fira Sans Bold";
  font-weight: 300;
  font-style: normal;

  src: url("~@static/fonts/FiraSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Fira Sans SemiBold";
  font-weight: 300;
  font-style: normal;

  src: url("~@static/fonts/FiraSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Fira Code Regular";
  font-weight: 300;
  font-style: normal;

  src: url("~@static/fonts/FiraCode-Regular.ttf") format("truetype");
}


@font-face {
  font-family: "Grand Hotel";
  font-weight: 300;
  font-style: normal;

  src: url("~@static/fonts/GrandHotel-Regular.ttf") format("truetype");
}

html {
  box-sizing: border-box;

  text-shadow: 1px 1px 1px rgba(0,0,0,.004);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  background-color: #312c2a;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a {
  cursor: pointer;
  text-decoration: none;
}

::selection {
  background-color: var(--app-button-primary-color);
  color: var(--app-button-primary-background-color);
}

svg:not([class]) {
  g,
  path,
  circle {
    stroke: currentColor !important;
  }
}

svg[class='fillCurrentColor'] {
  g,
  path,
  circle {
    fill: currentColor !important;
  }
}


html,
body {
  padding: 0;

  background-color: var(--app-background-color);

  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
}

html,
body,
#app {
  height: 100vh;
  width: 100vw;
}

a {
  text-shadow: 1px 1px 1px rgba(0,0,0,.004);

  -webkit-font-smoothing: antialiased;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="text"],
button,
textarea { 
	-webkit-app-region: no-drag;
}

.scroll-light {
  background-color: rgba(255, 255, 255, 0.2);
}

.danger {
  margin-top: .5em !important;
  font-weight: bold !important;
  color: red !important;
  font-size: .65em !important;
}

.Label {
  font-size: .75rem;
  font-family: "RobotoCondensed-Regular";
  font-weight: 800;
  color: var(--app-card-label);
  margin-bottom: .25rem;
  text-transform: uppercase;
  > .Label-rightAligned {
    float:right;
    opacity: .7;
    font-style: italic;
    margin-right:1rem;
  }
}

.Value {
  font-size: 1.125rem;
  font-family: "Fira Code Regular";
  color: var(--app-card-value);
  word-break: break-all;
}

.DataRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem .8rem;
  background-color: var(--app-card-default-background);
  position: relative;
  border-bottom: 1px solid #aaa;
}

.TitleBar {
  font-family: "Fira Code Regular", monospaced;
  background: var(--app-card-default-background);
  word-wrap: break-word;

  display: flex;
  align-items: center;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #aaa;

  .BackButton {
    height: 100%;
    border-radius: 0;
  }

  .Title {
    font-size: 1.5rem;
    padding: 1.25rem;
  }
}

.RowItemTopAligned {
  align-self: flex-start;
}

.toast {
  position: fixed;
  left:50%;
  transform: translateX(-50%);
  padding:.8em 1em;
  margin:1em;
  background:#222;
  color:#fff;
  border-radius: 1em;
  bottom:0;
  z-index: 5;
  box-shadow: 0 3px 5px rgba(0,0,0,.2);
  border: solid 1px rgba(255,255,255,.1);
}

h3.Label {
  font-size: initial;
  color: var(--app-button-primary-background-color); 
  margin-left: 0;
}

.copy-to-clipboard-container{
  position: absolute;
}

.Waiting {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  font-family: RobotoCondensed-Bold;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--app-page-intentionally-left-blank);

  .spinner {
    margin-left: 10px;
    margin-bottom: 3px;
  }
  &.Waiting-Margin {
    margin: 3rem 0;
  }
  &.Waiting-Padded {
    padding: 3rem 0;
  }
}
