html {
  box-sizing: border-box;
}

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

* {
  margin: 0;
  padding: 0;
  outline: 0;
  font-family: "Open sans", tahoma, arial, sans-serif;
  font-size: 14px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  border: 0;
}

body, html {
  height: 100%;
}

@media only screen and (min-width: 1000px) {
  body {
    padding-top: 50px;
    background: linear-gradient(#FFFFFF 0%, #FFFFFF 300px, #F9F9F9 300px, #F9F9F9 100%);
  }
}

p.warning {
  text-align: center;
  color: #94151b;
  margin-top: 20px;
  font-weight: bold;
}

div.container {
  width: 1000px;
  background: #FFFFFF;
  margin: 0 auto 0 auto;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -moz-transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -webkit-transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
div.container.home {
  width: 370px;
}
@media only screen and (max-width: 500px) {
  div.container.home {
    width: 100%;
  }
}
@media only screen and (max-width: 1000px) {
  div.container:not(home) {
    width: 100%;
  }
}
@media only screen and (min-width: 1000px) {
  div.container {
    -moz-box-shadow: 0 0 30px 1px #CDCDCD;
    -webkit-box-shadow: 0 0 30px 1px #CDCDCD;
    box-shadow: 0 0 30px 1px #CDCDCD;
  }
}
div.container:not(.active) {
  transform: translateY(-50px);
  -moz-transform: translateY(-50px);
  -ms-transform: translateY(-50px);
  -o-transform: translateY(-50px);
  -webkit-transform: translateY(-50px);
  opacity: 0;
}
div.container > .top {
  text-align: center;
  background: #a92d55;
  color: #FFFFFF;
  font-size: 20px;
  padding: 20px;
  text-transform: uppercase;
}
div.container > .top a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
  vertical-align: top;
}
div.container > .top a span {
  vertical-align: top;
  font-size: 18px;
}
div.container > .top a:hover {
  opacity: 0.7;
}
div.container > .top > span {
  display: block;
  font-size: 18px;
}
div.container > .top > span svg {
  fill: #FFFFFF;
}
div.container > .top > span.center {
  text-align: center;
}
@media only screen and (min-width: 1000px) {
  div.container > .top > span.left {
    float: left;
  }
}
@media only screen and (min-width: 1000px) {
  div.container > .top > span.right {
    float: right;
  }
}
div.container > .inner {
  padding: 10px;
  min-height: 400px;
}
@media only screen and (min-width: 500px) {
  div.container > .inner {
    padding: 50px;
  }
}
div.container.home > .inner {
  padding: 50px;
}
div.container p.error {
  color: red;
  margin-top: 10px;
}

div.footer {
  margin: 50px;
}
div.footer, div.footer * {
  font-size: 11px;
  text-align: center;
}
div.footer a {
  color: inherit;
  text-decoration: none;
}
div.footer a:hover {
  text-decoration: underline;
}

input {
  display: block;
  margin-top: 20px;
}
input.input {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 2px solid #CDCDCD;
  background: none;
  transition: border 0.3s ease-in-out;
  -moz-transition: border 0.3s ease-in-out;
  -webkit-transition: border 0.3s ease-in-out;
  -o-transition: border 0.3s ease-in-out;
}
input:focus {
  border-color: #666666;
}

button {
  width: 60px;
  height: 60px;
  font-weight: bold;
  color: #a92d55;
  border: 2px solid #a92d55;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  -webkit-transition: background 0.3s ease-in-out;
  -o-transition: background 0.3s ease-in-out;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  background: none;
  display: block;
  margin: 50px auto 0 auto;
}
button svg {
  width: 100%;
  height: 100%;
  padding: 10px;
  fill: #a92d55;
  transition: fill 0.3s ease-in-out;
  -moz-transition: fill 0.3s ease-in-out;
  -webkit-transition: fill 0.3s ease-in-out;
  -o-transition: fill 0.3s ease-in-out;
}
button:hover {
  color: #FFFFFF;
  background: #a92d55;
}
button:hover svg {
  fill: #FFFFFF;
}

table, th, td {
  border-collapse: collapse;
  padding: 5px;
}
@media only screen and (min-width: 500px) {
  table, th, td {
    border: 1px solid #CCCCCC;
  }
}

a.button {
  display: inline-block;
  background: #a92d55;
  color: #FFFFFF;
  padding: 5px;
  text-decoration: none;
  font-weight: bold;
}
a.button:hover {
  background: #812241;
}
a.button.important {
  background: #307373;
}
a.button.important:hover {
  background: #214f4f;
}
a.button.cert {
  background: #c9801b;
}
@media only screen and (max-width: 500px) {
  a.button.cert {
    margin-top: 10px;
  }
}
a.button.cert:hover {
  background: #9c6315;
}
a.button span {
  float: right;
}
a.button svg {
  float: left;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
a.button svg path {
  fill: #FFFFFF;
}

span.status {
  font-weight: bold;
}
span.status.status-1 {
  color: #ff991d;
}
span.status.status-0 {
  color: #8f0000;
}
span.status.status-2 {
  color: #108028;
}

table {
  width: 100%;
}
table th {
  font-weight: bold;
  text-align: left;
  background: #F9F9F9;
  overflow: hidden;
}
table thead th {
  background: #CCCCCC;
  font-weight: normal;
  white-space: nowrap;
}
table td {
  min-height: 30px;
}
table td.calc {
  text-align: right;
}
table td.first {
  padding-left: 10px;
}
table tr.low td {
  background: #ffb2b4;
}
table tr.high td {
  background: #d6d4ff;
}
table tr:hover td {
  background: #fff4a8;
}
@media only screen and (max-width: 500px) {
  table {
    /* Force table to not be like tables anymore */
    /* Hide table headers (but not display: none;, for accessibility) */
    /*
    Label the data
    */
  }
  table table,
table thead,
table tbody,
table th,
table tbody td, table thead td,
table tbody tr, table thead tr {
    display: block;
  }
  table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  table tbody td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50% !important;
    white-space: normal;
    text-align: left !important;
    font-weight: bold;
  }
  table tbody td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: normal;
  }
  table tr {
    border-bottom: 1px solid #222222;
  }
  table tbody td:before {
    content: attr(data-title);
  }
  table tfoot {
    float: right;
  }
  table a.button1 {
    clear: both;
  }
}