/*Main Stylesheet of sunreflexx.de
 * @Version: 1.0
 */

/* needed imports
-----------------*/

@font-face {
  font-family: 'serpentine-bold-oblique';
  src: url('fonts/serpentine-bold-oblique.ttf') format('truetype');
}

@font-face {
  font-family: 'Open Sans', sans-serif;
}

/* layout-css definitions
-------------------------*/

html, body {
  height: 100%;
}

body {
  color: #000000; /* Schriftfarbe */
  font-weight: normal;
  margin: 0;
  min-width: 1024px;
  background-color: #f1670c;

  /*Font Settings*/
  font-family: verdana, sans-serif;
  font-size: 12pt;

  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

nav {
  /* Position */
  margin: 10px;

  /* Dimension */
  /*width: 270px;*/
  width: 26.3%;

  /* Appearance */
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid #ffffff;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
  z-index: 1;
  position: relative;
}

nav li {
  border-bottom: 1px solid #ffffff;
  text-align: right;
  padding: 10px 0;
  margin: 0 15px 0 15px;
}

nav li:last-child {
  border-bottom: 0;
}

nav a {
  text-decoration: none;
  font-size: 13pt;
  font-weight: bold;
  color: #000;

  /* Font Settings */
  font-family: serpentine-bold-oblique, helvetica, verdana, sans-serif;
}

nav a:hover {
  color: #f1670c;
}

h1 {
  /* Position */
  margin: 10px 10px 5px;

  /* Appearance */
  background-color: transparent;

  /* Font Settings */
  font-family: serpentine-bold-oblique, helvetica, verdana, sans-serif;
  font-weight: bold;
  font-size: 16pt;

  /* border */
  border-bottom: 2px solid #f1670c;
}

hr {
  border-color: #f1670c;
}

header#page {

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  /* Dimensions */
  height: 170px;
  width: 100%;
  min-width: 1024px;
}

header#page img {
  /* Position */
  margin: 10px 0;

  /* Dimensions */
  width: 1024px;
  height: 150px;
}

section#main {
  /* Position */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  z-index: 1;

  /* Dimensions */
  width: 100%;

  /*Shadow generation*/
  box-shadow: -5px 5px 20px #111;
  overflow: hidden;

  /* Appearance */
  background-color: #000000;
  /*background: #000000 url(images/metalFloorTile1.jpg) repeat;
  background-size: 20% 20%;*/
}

section#container {
  /* Position */
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  /* Dimensions */
  width: 1024px;
  min-height: 100%;

  /* Glow generation with white shadow*/
  box-shadow: 0 0 20px #fff;

  /* Appearance */
  background-size: cover;
  background-color: #ffffff;
  background-position: bottom;

}

section#scrollpane {
  /* Position */
  margin: 10px;

  /* Dimension */
  width: 69.7%;

  /* Appearance */
  background-color: rgba(255, 255, 255, 0.6);
  overflow: auto;
}

section#content {
  /* Appearance */
  background-color: transparent;
  padding: 0 20px 20px;
}

section#error {
  /*position: absolute;
  bottom: 0;*/
}

footer {
  /* Position */
  padding: 10px 15px 0 15px;

  /* Dimension */
  height: 40px;
  width: 100%;

  background-color: #f1670c;
}

div#footer_links {
  width: 1024px;
  margin: -25px auto 0 auto;
  position: relative;
  right: 12px;

  text-align: right;
  color: #fff;
  z-index: 10;
}

div#footer_links a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  margin: 0 3px;
}

input.contact, textarea.contact {
  width: 80%;
}

/*Home specific definitions
============================*/

section#decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right:0;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

img#home-car {
  width: 34%;
  transform: scaleX(-1);
  margin-left: -5%;
  margin-bottom: -2%;
  margin-right: -1%;
}

img#home-racing-car {
  width: 34%;
  margin-right: -2%;
  margin-bottom: -1%;
  margin-left: -5%;
}

img#home-womo {
  width: 30%;
  margin-bottom: -1%;
}

/* bbcode-css definitions
==========================*/

img.bbcode.thumb {
  border: 1px #f1670c solid;
  margin: 6px;
  cursor: pointer;
}

/*umschliest den Bildlink*/
a.bbcode.bildlink {
  position: relative;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;

  /* font settings */
  text-decoration: none;
  color: #ddd;
  font-weight: normal;
  font-size: 14pt;
  font-family: 'Open Sans', helvetica, verdana, sans-serif;

  /*border: 2px solid #222;*/
}

a.bbcode.bildlink:hover, span.bbcode.thumb-big:hover {
  color: #f1670c;
  cursor: pointer;
}

img.bbcode.bildlink {
  /*max-width: 300px;*/
  /*max-height: 225px;*/
  /*min-width: 120px;*/
  /*min-height: 90px;*/
  /*height: auto;*/

  height: 225px;
  width: 300px;

  display: block;
}

img.bbcode.thumb-big {
  height: 225px;
  width: 300px;
}

span.bbcode.thumb-big {
  display: block;
  position: relative;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  height: 225px;

  cursor: pointer;

  /* font settings */
  text-decoration: none;
  color: #ddd;
  font-weight: normal;
  font-size: 14pt;
  font-family: 'Open Sans', helvetica, verdana, sans-serif;
}

span.bbcode.bildlink, span.bbcode.thumb-description {
  position: absolute;
  bottom: 0px;
  left: 0px;
  line-height: 2.5em;
  font-size: 16pt;
  width: 100%;
  text-align: center;
  border-top: 2px solid #999;
  background-color: rgba(0, 0, 0, 0.6);
}

.image-lightbox h1 {

  /* Position */
  margin: 0;
  padding: 10px 20px;

  /* border */
  border-bottom: 0;
}

.zoomer-container {
  min-width: 600px;
  max-width: 800px;
  height: 600px;
}

/* Image Lightbox Styling*/
.image-lightbox {

  /* position */
  position: relative;
  margin: 40px auto;
  z-index: 100;

  /* Dimension */
  min-width: 600px;
  max-width: 800px;

  /* appearance */
  text-align: left;
  background-color: #eeeeee;
}

/* generic definitions
==========================*/
.table {
  display: table;
  border-spacing: 10px;
  width: 100%;
}

.table-row {
  display: table-row;
}

.table-cell {
  display: table-cell;
  vertical-align: top;
}

.table-cell.rowspan {
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  padding-left: 10px;
}

.table-cell.empty {
  height: 30px;
}

.valign-center {
  vertical-align: middle !important;
}

.hr {
  /* border */
  border-bottom: 2px solid #f1670c;
}

a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 12pt;
  font-family: verdana, sans-serif;
}

a:hover {
  color: #f1670c;
}