html {
  background-color: rgba(255, 0, 0, 0.25);
  background: url("../tweed.png") repeat;
  height: 100%;
}

body {
  height: 100%;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  min-height: 100%;
  font-family: Arial, sans-serif;
  font-size: 10pt;
}

body a {
  color: #000;
}

#main {
  -webkit-box-shadow: 3px 3px 3px 0px rgba(50, 50, 50, 0.6);
  -moz-box-shadow: 3px 3px 3px 0px rgba(50, 50, 50, 0.6);
  box-shadow: 3px 3px 3px 0px rgba(50, 50, 50, 0.6);
}

#top-nav,
#top-nav-low {
  background: #333;
}

#top-nav ul,
#top-nav-low ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow: hidden;
  width: 100%;
  display: table;
}

#top-nav li,
#top-nav-low li {
  padding: 10px;
  display: table-cell;
  height: 100%;
  border-right: 1px solid #444;
}

#top-nav li a,
#top-nav-low li a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #eee;
  text-transform: uppercase;
}

@media (min-width: 1100px) {
  #top-nav li a,
  #top-nav-low li a {
    font-size: 10pt;
  }
}

@media (max-width: 1100px) {
  #top-nav li a,
  #top-nav-low li a {
    font-size: 8pt;
  }
}

@media (max-width: 800px) {
  #top-nav li a,
  #top-nav-low li a {
    font-size: 6pt;
  }
}

#top-nav li:hover,
#top-nav-low li:hover {
  background-color: #3a3a3a;
}

#top-nav li.active,
#top-nav-low li.active {
  /* background-color: #3a3a3a; */
  background-color: #700;
}

#header {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  overflow: hidden;
  padding: 0;
  height: 180px;
  background-color: #700;
  border-radius: 5px;
  background-image: url("/static/header.png");
  background-position: center;
}

#header #header-content {
  margin: 10px;
  width: 230px;
  float: left;
  border-radius: 3px;
  padding: 3px;
  font-family: sans-serif;
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: 1px 1px 1px 0px rgba(10, 50, 50, 0.3);
  -moz-box-shadow: 1px 1px 1px 0px rgba(50, 50, 50, 0.3);
  box-shadow: 1px 1px 1px 0px rgba(50, 50, 50, 0.3);
}

#header #header-content input[type="text"],
#header form input[type="password"] {
  width: 210px;
}

#header2 {
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding: 5px;
  height: 35px;
  line-height: 35px;
  text-align: left;
  color: #fff;
  background-color: #f00;
  background:
    url("../geda-logo.png") no-repeat right,
    #f00;
  background:
    url("../geda-logo.png") no-repeat right,
    -webkit-gradient(linear, left bottom, right top, from(rgba(255, 255, 255, 0.2)), to(rgba(255, 0, 0, 1)), color-stop(0.5, #333333));
  background:
    url("../geda-logo.png") no-repeat right,
    -ms-linear-gradient(left, rgba(255, 255, 255, 0.2), #ff0000 100%);
  border-radius: 5px;
}

#image2 img {
  height: 30px;
}

#content {
  padding: 10px;
  border-top: 5px solid #700;
  overflow: hidden;
  background-color: #ddd;
  font-family: Sans-Serif;
  font-size: 11pt;
}

#content article {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  border-bottom: 1px dotted #a00;
  text-align: justify;
}

#results-suppliers td {
  padding: 5px;
}

#results-suppliers td.supplier-address {
  vertical-align: top;
  font-size: 8pt;
}

#tabs-results {
  font-family: Serif;
}

#similair-searches {
  background-color: #fff;
  margin-top: 10px;
  height: 100px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #aaa;
  padding: 10px;
}

#order-form {
  margin: 0 auto;
}

#order-form-address {
  display: block;
}

#order-form-products {
  display: block;
}

#order-form-address label {
  width: 150px;
}

#order-form-address input,
#order-form-address select {
  display: block;
}

#order-form-products input,
#order-form-products select {
  width: 150px;
}

#search-data th {
  text-decoration: none;
  font-weight: normal;
  font-size: 10pt;
}

#search-data td {
  text-align: center;
}

#content-main table {
  text-align: left;
}

#content-main th {
  width: 200px;
}

#content-main caption {
  text-align: left;
}

#content-main caption a {
  font-weight: bold;
}

#content-main a {
  text-decoration: none;
  font-weight: normal;
}

footer {
  left: 0;
  width: 100%;
  position: fixed;
  bottom: 0; /* stick to bottom */
  padding: 3px;
  text-align: center;
  background-color: #eee;
  font-family: Serif;
  border-top: 1px dotted #a00;
  background-color: #ddd;
}

footer ul {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow: hidden;
}

footer li {
  display: inline;
}

footer li a {
  display: inline-block;
  width: 150px;
  text-align: center;
  text-decoration: none;
  color: #555;
}

footer li a:hover {
  text-decoration: underline;
}

footer li a.active {
  text-decoration: underline;
}
