@import url("https://fonts.googleapis.com/css?family=Encode+Sans+Condensed:400,600");

* {
  outline: none;
}

.default-color {
  background-color: #111111 !important;
}
.header {
  position: fixed;
  height: 100vh;
  width: 100%;
  pointer-events: none;
}
.header .bg {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100% - 70px);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  background: #000;
}
.header:focus-within .bg {
  visibility: visible;
  opacity: 0.6;
}
.header * {
  visibility: visible;
}

.button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  float: right;
  z-index: 1;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  height: 50px;
  width: 30px;
  margin-right: 25px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.button.icon-alert {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  float: right;
  z-index: 1;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  height: 50px;
  width: 30px;
  margin-right: 0;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.header:focus-within .button {
  pointer-events: none;
}
::-webkit-validation-bubble-heading:focus-within .icon-bar:nth-of-type(1) {
  transform: translate3d(0, 8px, 0) rotate(45deg);
}
.header:focus-within .icon-bar:nth-of-type(2) {
  opacity: 0;
}
.header:focus-within .icon-bar:nth-of-type(3) {
  transform: translate3d(0, -8px, 0) rotate(-45deg);
}

#nav-content {
  margin-top: 70px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  position: absolute;
  top: 0;
  right: 0;
  height: calc(100% - 70px);
  background: #ececec;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform: translateX(+100%);
  transition: transform 0.3s;
  will-change: transform;
  contain: paint;
  float: right;
}

#nav-content ul {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#nav-content li a {
  padding: 10px 5px;
  display: block;
  text-transform: uppercase;
  transition: color 0.1s;
}

#nav-content li a:hover {
  color: #bf7497;
}

.header:focus-within #nav-content {
  transform: none;
}

main {
  padding: 70px 20px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.toast {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}
.toast.top-right {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 1;
}

.alerts-panel-header {
  padding-bottom: 20px;
}

.alert-primary a {
  color: #004085;
  text-decoration: underline;
  font-weight: bolder;
}

.alert-success a {
  color: #155724;
  text-decoration: underline;
  font-weight: bolder;
}

.alert-warning a {
  color: #856404;
  text-decoration: underline;
  font-weight: bolder;
}

