/* base stuff `*/
html {
  font-family: sans-serif;
}
body {
    margin: 0;
}

a {
  color: #3b8bba;
  text-decoration: none;
}
a:visited {
  color: #265778;
}

input.link {
  width: auto;
  color: #3b8bba;
  background: none;
  margin: 0;
  padding: 0;
}

.inline {
  display: inline;
}


/* lists */
ul.no-style {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* grid ish */
.fill,.full {
  width: 100%;
}

.half {
  width: 50%;
}

.third {
    width: 33.33333%;
}

.fourth {
    width: 25%;
}

.fifth {
    width: 25%;
}

/* login util */
.text-right {
  text-align: right;
}

/* inputs */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

input, textarea {
  line-height: 1.5;
  margin: 0;
  padding: .3em .6em;
  border: 1px solid #aaa;
  background-color: #fff;
  border-radius: .2em;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

input {
  height: 2.1em;
}

input:focus, textarea:focus {
    border: 1px solid #0074d9;
    outline: 0;
}

input.compact, textarea.compact, button.compact {
  width: auto;
  margin: .3em;
}

select {
  background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyIiBoZWlnaHQ9IjMiPjxwYXRoIGQ9Im0gMCwxIDEsMiAxLC0yIHoiLz48L3N2Zz4=) no-repeat scroll 95% center/10px 15px;
  background-position: calc(100% - 15px) center;
  border: 1px solid #aaa;
  border-radius: 0.2em;
  cursor: pointer;
  width: 100%;
  height: 2.2em;
  box-sizing: border-box;
  padding: 0.3em 0.45em;
  transition: all 0.3s;
  appearance: none;
}

select option {
  font-size: inherit;
  padding: 0.45em; 
}


/* buttons */
button, .button, [type="submit"] {
  display: inline-block;
  padding: .3em .9em;
  margin: .3em 0;
  height: auto;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: .2em;
  vertical-align: baseline;
  text-align: center;
  letter-spacing: inherit;
  box-shadow: 0 0 rgba(17,17,17,0) inset;
  background: #0074d9;
  color: #fff;
  border: 0;
}

.button:visited {
  color: #fff;
}

button:hover, button:focus,
.button:hover, .button:focus,
:hover[type=submit], :focus[type=submit] {
    box-shadow: inset 0 0 0 99em rgba(255, 255, 255, 0.2);
    border: 0;
}

.button.is-light {
  background-color: #eee;
  color: rgba(0,0,0,.7);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.streamer {
  background-color: #00a8d9;
  color: #ffffff;
  margin-bottom: 20px;
}
.streamer h1 {
  padding: 8px 0;
  margin: 0;
}

.streamer a {
  color: #ffffff;
  text-decoration: none;
}

.nav-item {
  margin: 0 5px;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

td,th {
  border-bottom: 0.1rem solid #e1e1e1;
  padding: .5rem;
}

td.padded {
  padding: .5rem .75rem;
}

td.squashed {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.billing-total th, .billing-total td {
  border-bottom: none;
}

.billing-total th.total {
  border-top: 0.2rem solid #000;
}

.footer {
  margin-top: 20px;
}

.status-None {
  border-left: 3px solid #efefef;
}
.status-new, .status-done {
  border-left: 3px solid #d1e7dd;
}
.status-error {
  border-left: 3px solid #f8d7da;
}

/* Flex */
.flex {
  display: flex;
  flex-flow: row wrap;
}

.flex.right {
  justify-content: flex-end;
  align-items: center;
}

.flex.two > * {
  width: 50%;
}

.flex dd {
  flex-grow: 1;
  flex-basis: 40%;
}

.grower {
  flex-grow: 2;
}

/* Stack */
.stack {
  margin-top: 0;
  margin-bottom: 0;
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 0;
}

pre {
  background: #f4f5f6;
  border-left: 0.3rem solid #00a8d9;
  overflow-y: hidden;
}

code {
  font-size: 86%;
}

pre > code {
  border-radius: 0;
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
}

/* alerts / flash */
.alert {
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.alert, .alert-info {
  color: #24292e;
  background: #dbedff;
  border-color: #b6d4fe;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffecb5;
}

.alert-error {
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.hidden {
  display: none;
}
