.flex {
  flex: 1 1;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-row-reverse {
  display: flex;
  flex-direction: row-reverse;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-column-reverse {
  display: flex;
  flex-direction: column-reverse;
}

.flex-smart {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .flex-smart {
    flex-direction: row;
  }
}

.flex-smart-reverse {
  display: flex;
  flex-direction: column-reverse;
}
@media (min-width: 768px) {
  .flex-smart-reverse {
    flex-direction: row-reverse;
  }
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-around {
  justify-content: space-around;
}

.justify-between {
  justify-content: space-between;
}

.justify-evenly {
  justify-content: space-evenly;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

body {
  margin: 0;
}

.container, .container-wide {
  max-width: 320px;
  margin: 0 auto;
  padding: 10px;
}
@media (min-width: 512px) {
  .container, .container-wide {
    max-width: 512px;
    padding: 20px 10px;
  }
}
@media (min-width: 768px) {
  .container, .container-wide {
    max-width: 768px;
  }
}

@media (min-width: 992px) {
  .container-wide {
    max-width: 992px;
  }
}

.flex-list.flex-column > *:not(:last-child), .flex-list.flex-column-reverse > *:not(:first-child), .flex-list.flex-smart > *:not(:last-child), .flex-list.flex-smart-reverse > *:not(:first-child) {
  margin-bottom: 20px;
}
.flex-list.flex-row > *:not(:last-child), .flex-list.flex-row-reverse > *:not(:first-child) {
  margin-right: 20px;
}
@media (min-width: 768px) {
  .flex-list.flex-smart > *:not(:last-child), .flex-list.flex-smart-reverse > *:not(:first-child) {
    margin-right: 20px;
    margin-bottom: 0;
  }
}
.flex-list.flex-wrap > * {
  margin-right: 20px;
  margin-bottom: 20px;
}

.nav-spacer {
  flex: 1 1 auto;
}

.flex-row .nav-left {
  margin-right: auto !important;
}
.flex-row .nav-right {
  margin-left: auto !important;
}

@media (min-width: 768px) {
  .nav-left {
    margin-right: auto !important;
  }

  .nav-right {
    margin-left: auto !important;
  }
}
.btn, .btn-outline, .btn-disabled {
  border: #0af 2px solid;
  border-radius: 3px;
  padding: 10px;
  font-family: inherit;
  font-size: inherit;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.2s;
}

.btn {
  background-color: #0af;
  color: #fff;
}
.btn:hover {
  background-color: #0088cc;
}

.btn-outline {
  background-color: transparent;
  color: #0af;
}
.btn-outline:hover {
  background-color: #0af;
  color: #fff;
}

.btn-disabled {
  background-color: #555;
  border-color: #555;
  color: #b3b3b3;
  cursor: not-allowed;
}

.card {
  box-shadow: #777 0 2px 6px;
  border-radius: 2px;
  padding: 20px;
}