/* responsive style */

.js .no-js,
.no-js .js {
  display: none;
}

* {
margin: 0;
padding: 0;
}

html, body {
height: 100%;
background-color: #fff;
font-family: Arial, sans-serif;
}
#wrapper {
overflow: auto;
margin: 0 auto;
min-height: 100%;
background-color: #fff;
}
#main {
float: left;
width: calc(100% - 180px);
}
.a11y {
position: absolute;
top: auto;
left: -10000px;
overflow: hidden;
width: 1px;
height: 1px;
}

/* inline global */

img {
max-width: 100%;
border: none;
}
a {
outline: 0;
text-decoration: underline;
color: #D61231;
}
a:hover,
a:focus {
text-decoration: none;
}
a:visited {
color: #D61231;
}
strong {
color: #D61231;
}
strong a {
color: #D61231;
}
strong a:visited {
color: #D61231;
}
.center {
text-align: center;
}

/* content container */

#content {
padding: 20px;
text-align: center;
}
main {
display: block; /* <= IE 11 */
}
.box {
margin-bottom: 20px;
padding: 20px;
border: 1px solid #D9D9D9;
background-color: #FAFAFA;
text-align: left;
}
.box > :last-child,
.box > :last-child > :last-child {
margin-bottom: 0;
}
.message {
margin-bottom: 20px;
padding: 30px;
border: 1px solid #C5C5C5;
background-color: #FAFAFA;
text-align: center;
}
.message p {
margin-bottom: 0;
}
.infobox {
max-height: 160px;
overflow: auto;
margin-bottom: 20px;
padding: 10px;
border: 1px solid #FAFAFA
background-color: #fff;
font-size: 85%;
}

/* headings + paragraphs */

h1 {
margin-bottom: 20px;
font-size: 108%;
letter-spacing: 0.25em;
color: #616161;
}
.start h1 {
font-family: Verdana, sans-serif;
font-size: 150%;
color: #A41227;
}
h2 {
margin: 25px 0 10px;
font-size: 95%;
letter-spacing: 0.25em;
color: #B01027;
}
h2.subtitle {
margin: 10px 0 25px;
}
h1 a,
h2 a {
text-decoration: none;
color: #D61231;
}
h1 a:visited,
h2 a:visited {
color: #D61231;
}
h1 a:hover,
h1 a:focus,
h2 a:hover,
h2 a:focus {
text-decoration: underline;
}
h3 {
margin: 20px 0 10px;
font-size: 90%;
color: #D61231;
}
h2:first-child,
h3:first-child {
margin-top: 0;
}
p {
margin-bottom: 15px;
font-size: 90%;
}

/* lists */

ol {
margin-bottom: 15px;
padding-left: 20px;
}
ul {
margin-bottom: 15px;
text-indent: 0;
list-style-type: none;
}
li {
margin-bottom: 15px;
font-size: 90%;
}
.sitemap ul ul {
margin: 5px 0;
}
.sitemap li {
font-weight: bold;
color: #D61231;
}
.sitemap li li {
display: inline;
padding-right: 15px;
line-height: 180%;
font-weight: normal;
}

/* tables */

table {
margin-bottom: 20px;
width: 100%;
border: 1px solid #FAFAFA;
border-collapse: collapse;
text-align: left;
}
td,
th {
border: 1px solid #ffffff;
background-color: #FAFAFA;
padding: 7px 5px;
font-size: 90%;
}
th {
padding: 5px;
font-size: 75%;
color: #D61231;
}
caption {
padding: 7px 5px;
border: 1px solid #D9D9D9;
border-bottom: none;
background-color: #ffffff;
font-size: 90%;
font-weight: bold;
letter-spacing: 0.25em;
color: #D61231;
}
caption h2 {
margin: 0;
}
.col-forum {
width: 18%;
}
.col-user {
width: 18%;
}
.col-status {
width: 18%;
text-align: center;
}
.col-number {
width: 7%;
text-align: center;
}
.col-date {
width: 17%;
text-align: right;
}

/* forms */

.form,
form .box {
margin: 0 auto 20px;
width: 507px;
}
input,
textarea,
select {
padding: 3px;
border: 1px solid #D61231;
font-family: Arial, sans-serif;
font-size: 100%;
}
button {
margin-bottom: 5px;
padding: 5px 6px 5px 7px;
border: 1px solid #D61231;
border-radius: 5px;
background-color: #E5E8E9;
font-size: 100%;
letter-spacing: 1px;
color: #012;
}
button.main-btn {
background-color: #F0F1F2;
}
button:hover {
background-color: #fff;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
button img {
display: block;
}
textarea {
width: 500px;
}
input {
max-width: 500px;
}
.readonly {
border-style: dotted;
background-color: #fcffff;
}
.radio {
border: none;
}
.checkbox {
border: none;
}
.submit-group {
overflow: auto;
width: 100%;
font-size: 90%;
}
.submit {
float: right;
margin-left: 10px;
}
#bbcode-buttons {
width: 300px;
}

/* submenus */

.submenu {
font-weight: bold;
color: #9C0821;
}
.submenu a,
.submenu span {
display: inline-block;
white-space: nowrap;
}
div.submenu span,
div.submenu a {
margin: 1px;
padding: 8px 12px;
border: 1px solid #D9D9D9;
background-color: #EBEDED;
}
div.submenu span {
border-style: dashed;
background-color: transparent;
}
header.submenu a {
padding: 8px 4px;
border-left: 1px dotted #eeeeee;
border-right: 1px dotted #eeeeee;
}
.submenu a {
text-decoration: none;
color: #9B132A;
}
.submenu a:visited {
color: #9B132A;
}
header.submenu a:hover {
background-color: #ffffff;
border-color: #EEEEEE;
}
div.submenu a:hover,
div.submenu a:focus {
background-color: #FDFDFD;
}
.submenu a img {
vertical-align: middle;
}
header#top {
margin-top: 5px;
margin-bottom: 20px;
border: 1px solid #ffffff;
background-color: #ffffff;
font-size: 95%;
}

/* postings */

.posting .text {
font-size: 90%;
margin-bottom: 15px;
}
.posting * .text {
font-size: 100%;
margin-bottom: 0;
}
.posting > header {
margin-bottom: 20px;
padding: 5px;
border: 1px solid #D9D9D9;
background-color: #ffffff;
}
.posting > header h2,
.posting > header h3 {
overflow: auto;
margin: 0;
font-size: 90%;
letter-spacing: 0.05em;
}
.posting .number {
float: right;
margin-left: 8px;
}
blockquote {
padding: 20px;
border: 1px dotted #D9D9D9;
background-color: #eeeeee;
}
blockquote header {
margin-bottom: 20px;
padding: 5px;
border-bottom: 1px dashed #333;
font-weight: bold;
color: #D61231;
}
blockquote header a {
color: #66b;
}
pre {
overflow: auto;
padding: 10px;
max-height: 320px;
border: 1px dashed #D61231;
background-color: #f9f9f6;
font-family: 'Courier New', monospace;
font-size: 100%;
}
code strong {
border: 1px dotted #ccc;
background-color: #e9e9e3;
color: #422;
}
.video {
width: 560px;
height: 315px;
}
.signature {
padding-top: 10px;
border-top: 1px dashed #BA102C;
}
.posting > footer {
overflow: auto;
padding-top: 5px;
border-top: 1px solid #A00E26;
}
.date {
text-align: right;
font-size: 80%;
font-weight: bold;
color: #A00E26;
}
.plus {
text-align: right;
}

/* user profiles */

.profile {
margin: 0 auto 20px;
width: 507px;
}
.profile img {
float: right;
max-width: 120px;
max-height: 120px;
}
.profile h2 {
margin-top: 0;
}
.profile h3 {
clear: both;
}

/* sidebar */

#sidebar {
float: left;
padding: 25px 25px 20px;
width: 130px;
}
#sidebar-nav {
font-weight: bold;
}
#main-menu-heading {
display: none;
font-size: 15px;
color: #D61231;
}
#main-menu-heading:hover {
cursor: pointer;
}
#main-menu-heading span,
#main-menu-heading img {
line-height: 15px;
vertical-align: middle;
}
#sidebar-nav ul {
margin-bottom: 0;
font-size: 95%;
color: #D61231;
}
#sidebar-nav li {
margin-bottom: 0;
font-size: 100%;
}
#sidebar-nav > ul > li {
margin-bottom: 8px;
}
#sidebar-nav li img {
display: block;
}
#sidebar-nav li a,
#sidebar-nav li span {
display: block;
padding: 10px 0;
width: 128px;
border: 1px solid #D61231;
background-color: #ffffff;
text-align: center;
}
#sidebar-nav li span {
background-color: #FDFDFD;
}
#sidebar-nav a {
text-decoration: none;
color: #9F132A;
}
#sidebar-nav li li:not(:last-child) > a,
#sidebar-nav li li:not(:last-child) > span {
border-bottom: none;
}
#sidebar-nav a:visited {
color: #D61231;
}
#sidebar-nav a:hover,
#sidebar-nav a:focus {
background-color: #FDFDFD;
}
#sidebar-nav .logo {
padding: 0;
}
#sidebar-nav .logo img + span {
display: none;
border: none;
}

/* footer */

#main-footer {
padding: 0 20px;
text-align: center;
font-size: 90%;
}
#main-footer li {
display: inline-block;
margin: 0 10px 10px;
white-space: nowrap;
}

/* RESPONSIVE */

@media (max-width: 767px) {

#wrapper {
background-image: none;
}
#main {
float: none;
width: 100%;
}
#content {
padding: 10px;
}

/* sidebar */

#sidebar {
display: none;
}
#sidebar-mobile {
padding: 0 10px;
width: 100%;
height: 60px;
box-sizing: border-box;
text-align: center;
}
#sidebar-nav {
position: relative;
margin: 20px auto 0;
padding: 10px 10px 0;
width: 160px;
border: 1px solid #77c;
background-color: #EDEEEF;
}
#main-menu-heading {
display: block;
}
#main-menu {
display: none;
}
#sidebar-nav ul {
text-align: left;
}
#sidebar-nav li a,
#sidebar-nav li span {
width: 158px;
}
#sidebar-nav .logo img {
display: none;
}
#sidebar-nav .logo img + span {
display: block;
}

/* footer */

#main-footer {
margin-top: 20px;
padding: 0 10px;
}

}

@media (max-width: 599px) {

h1 {
font-size: 100%;
letter-spacing: 0.15em;
}
.start h1 {
font-size: 125%;
}

/* forms  */

.form,
form .box, 
.submit-group,
#bbcode-buttons {
width: auto;
}
#bbcode-buttons {
clear: right;
}
textarea {
width: 100%;
}
input {
max-width: 100%;
}

.video {
max-width: 100%;
}
.profile {
width: auto;
}
.profile img {
float: none;
}

/* tables */

table {
border-width: 0 0 1px;
}
th {
display: none;
}
caption {
background-color: #D9DBDD;
border-bottom: none;
}
td {
display: block;
border-bottom: none;
}
td br {
display: none;
}
td:first-child {
background-color: #E8E9EA;
}
td:first-child a {
text-decoration: none;
font-weight: bold;
color: #B8122D;
}
td:first-child a:visited {
color: #B7132E;
}
td:first-child a:hover,
td:first-child a:focus {
text-decoration: underline;
}
td.col-date,
td.col-user, 
td.col-forum {
width: auto;
text-align: left;
}
td.col-date:before, 
td.col-user:before, 
td.col-forum:before {
font-size: 90%;
color: #353535;
}
td.col-date:before {
content: 'Letzter Beitrag: '
}
  #users td.col-date:before {
    content: 'Registriert seit: '
  }
  #online td.col-date:before {
    content: 'Letzter Zugriff: '
  }
td.col-user:before {
content: 'Autor: '
}
td.col-forum:before {
content: 'Forum: '
}
td.col-number,
td.col-status {
display: none;
}

}

@media (min-width: 1281px) {

#wrapper {
width: 1280px;
border-right: 1px solid ##F6F4F4;
}
#main-footer {
padding-bottom: 20px;
}

}

/* module */

.col-module {
  width: 30%;
}
.col-checkbox {
  width: 10%;
  text-align: center;
}
.col-owners {
  width: 50%;
}
.col-shop {
  width: 10%;
}
@media (max-width: 38em) {
  td.col-module,
  td.col-checkbox,
  td.col-owners,
  td.col-shop {
    width: auto;
    text-align: left;
  }
  td.col-checkbox:before,
  td.col-owners:before,
  td.col-shop:before {
    color: #333;
  }
  td.col-module:before {
    content: '';
  }
  td.col-checkbox:before {
    content: 'Besitze ich: ';
  }
  td.col-owners:before {
    content: 'Im Besitz von: ';
  }
  td.col-shop:before {
    content: 'Kaufen: ';
  }
}

/* module */ 