/*
 * Semantic UI
 * */

.ui.top.attached.header,
.ui.bottom.attached.segment {
  background: #EAEAEA;
}

.ui.loading.segment.no-background:before {
  background: none;
}

.ui.mini.loading.segment:after {
  width: 1.85em;
  height: 1.85em;
  margin: -0.925em 0 0 -1.5em;
}

.ui.table.linked td {
  padding: 0;
}

.ui.table.linked td > a {
  display: block;
  padding: 0.78571429em;
  color: inherit;
}

table.ui.striped.table > tbody > tr.positive:nth-child(odd) {
  background: #FCFFF5 !important;
}

table.ui.striped.table > tbody > tr.positive:nth-child(even) {
  background: #EFF3E7 !important;
}

table.ui.striped.table > tbody > tr.positive:nth-child(odd):hover,
table.ui.striped.table > tbody > tr.positive:nth-child(even):hover {
  background: #FFFFFF !important;
}

table.ui.striped.table > tbody > tr.warning:nth-child(odd) {
  background: #FDF0DD !important;
}

table.ui.striped.table > tbody > tr.warning:nth-child(even) {
  background: #EAE2D6 !important;
}

table.ui.striped.table > tbody > tr.warning:nth-child(odd):hover,
table.ui.striped.table > tbody > tr.warning:nth-child(even):hover {
  background: #FFF7EC !important;
}

.ui.form input:not([type]),
.ui.form input[type=text],
.ui.form input[type=email],
.ui.form input[type=search],
.ui.form input[type=password],
.ui.form input[type=date],
.ui.form input[type=datetime-local],
.ui.form input[type=tel],
.ui.form input[type=time],
.ui.form input[type=file],
.ui.form input[type=url],
.ui.form input[type=number],
.ui.form textarea,
.ui.selection.dropdown {
  background: #FBFBFB;
}

input.small {
  width: 3em !important;
}

/*
 * General
 * */

body {
  background: url("/static/img/seamless_paper_texture.png") fixed #E5E2DA;
}

hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #DDDDDD;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

div.website {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}

div.body.aligner {
  padding-bottom: 0;
}

div.footer.aligner {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0;
}

html > body > div#print {
  display: none;
}

/*
 * Grid
 * */

header.main > div.inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6em;
}

div.content > div.inner {
  width: 1800px;
  margin: 0 auto;
  padding: 1rem 0;
}

/*
 * Header
 * */

header.main {
  position: relative;
  padding: 0.75em 0 0 0;
  border-bottom: 1px solid #AAAAAA;
  background: #FFFFFF;
}

header.main:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #F7EFDA;
}

header.main > div.inner > img.logo {
  display: block;
  width: auto;
  height: 50px;
}

header.main > div.inner > div.controls > a {
  position: relative;
}

header.main > div.inner > div.controls > a.active.button::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background: #8F9814;
}

/*header.main > div.inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.authenticated header.main > div.inner {
  justify-content: space-between;
}*/

/*
 * Footer
 * */

/*
 * Navigation
 * */

/*
 * Content
 * */

div.page.content {
  padding: 1em 0;
}

/*
 * Responsive
 * */

/* * 1861px * */

@media screen and (max-width:1861px) {
  div.content > div.inner {
    width: 96.72%;
  }
}

/* * 1360px * */

@media screen and (max-width:1360px) {
  header.main > div.inner {
    display: block;
    padding: 0;
    text-align: center;
  }

  header.main > div.inner > img.logo {
    margin: 0 auto;
  }

  header.main > div.inner > div.controls > a {
    margin: 1em 0.15em 0.35em 0.15em;
  }
}

/* * 1204px * */

@media screen and (max-width:1204px) {
  header.main > div.inner {
    width: 94%;
    margin: 0 auto;
  }
}