body {
    background: url('../img/main-bg.jpg') repeat-x;
    color: #444;
}

a:link, a:visited {
    color: #4d6d99;
    text-decoration: none;
}

a:hover, a:active {
    color: #333;
}

#wrapper {
    background-color: #fff;
    width: 1200px;
    margin: 0 auto;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    position: relative;
}

header {
    background: #fff;
    text-align: right;
}

h1 {
    padding: 0px;
    margin-bottom: 45px;
    display: none;
}

ul#main-menu {
    list-style: none;
    padding: 0px;
    margin: 0px;
    background: url(../img/menu-bg.jpg) blue;
    border-bottom: 3px solid #a4433f;
    border-top: 3px solid #4d6d99;
    position: relative;
    display: table;
    width: 100%
}

ul#main-menu > li {
    display: table-cell;
    position: relative;
}

ul#main-menu li a {
    display: block;
    padding: 8px 11px;
    text-decoration: none;
    border-right: 1px solid #ccc;
}

ul#main-menu li:last-child a {
    border-right: none;
}


ul#main-menu li a:hover {
    background: #4d6d99;
    color: #fff;
}



ul.sub-menu {
    
    display: none;
    position: absolute;
      margin: 0px;
    padding: 0px;
    background: #fff;
    width: auto;
    box-shadow: 0px 3px 4px #444;
}

ul#main-menu li:hover ul.sub-menu {
    display: block;
}

ul.sub-menu li {
    list-style: none;
	text-align:left;
}

ul.sub-menu li a {
    border-right: none !important;
    border-top: 1px solid #ccc;
   display: block;
    white-space: nowrap !important;
    background: #fff;
    z-index: 1227;
    position: relative;
}

#main {
    background: url(../img/sidebar-left.jpg) repeat-y, url(../img/sidebar-right.jpg) repeat-y;
    background-position: 48px 0px, 951px;
}

#main aside {
    width: 250px;
    float: left;
    padding-top: 15px;
}

#main #sidebar-left {
  
}

#main #sidebar-left .border {
   border: 1px solid #ccc;
}


#main #sidebar-left .title {
    background: #be0917;
    display: block;
    padding: 7px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
    font-size: 14px;
}

#main #sidebar-right .title {
    background: #1b549d;
    display: block;
    padding: 7px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
    font-size: 14px;
}

#main #sidebar-left .title a, #main #sidebar-right .title a {
   color: #fff;
}


#main aside .widget-content {
    margin: 15px;
}

#content {
    float: left;
    background: url(../img/content-bg.jpg) repeat-x;
    width: 668px;
    min-height: 1690px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 15px;
}

#content img {
    max-width: 648px;
}

#content h2 {
    margin-top: 0px;
    font-size: 16px;
    text-align: center;
 margin-bottom: 45px;
}

#content h3 {
    margin-bottom: 45px;
}

#content .posts .item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

#content .posts .item:after {
    content: " ";
    display: table;
    clear: both;
}

#content .posts .item .thumb {
    float: left;
    margin-right: 15px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

#content .posts .item .thumb img {
    max-width: 150px;
    height: auto;
    padding: 2px;
}

#content .posts .item .text {
    
}

#content .posts .item h4 {
    margin-top: 0px;
}

#content .posts .item .text p a {
    color: #953131;
}

footer {
    border-top: 1px solid #ccc;
    padding: 15px;
    text-align: center;
}

footer {
   font-size: 13px;
}

#shadow_left {
    position: absolute;
    top: 1px;
    left: -32px;
    height: 610px;
    width: 31px;
    background: url(../img/left-shadow.png);
}

#shadow_right {
    position: absolute;
    top: 1px;
    right: -32px;
    height: 610px;
    width: 31px;
    background: url(../img/right-shadow.png);
}

.alignleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    padding: 5px;
    background: #fff;
    box-shadow: 0px 0px 5px #ccc;
}

.post table {
    width: 100%;
}
.posts .text a{
    color: white;
    background-color: #be0917;
    padding: 4px 5px 4px 5px;
    border-radius: 4px;
}

#sidebar-left .item {
    display: block;
    margin-top: 25px !important;
    border: 1px solid #ccc;
    font-size: 14px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

#sidebar-left .item img {
    width: 100%;
    display: block;
}

#sidebar-left .item .text {
    padding: 0px 10px;
}

#sidebar-left .item .text h3 {
    margin: 10px 0px 5px;
}

.widget-content > p {
    margin-bottom: 35px !important;
}

.anfrage {
    display: block;
     margin-bottom: 15px;
    text-align: center;
}

.anfrage .button {
    background: #be0917;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    box-shadow: inset 0px -3px 0px #663333;
    text-shadow: 1px 1px 0px #663333;
    font-weight: bold;
    display: block;
    margin: 52px 0px;
}

.anfrage .button:hover {
    box-shadow: inset 0px -3px 0px #aa1111;
}

select, select option {
    text-align: left !important;
}

#maininfobox {
	width: auto; 
	margin-top:20px; 
	text-align: left; 
	color: #fff; 
	background-color:#264f9e;
	padding:5px;
}

#maininfobox a,
#maininfobox a:link,
#maininfobox a:hover,
#maininfobox a:visited,
#maininfobox a:active {
	color:#fff;
}

#maininfobox a:hover
{
	text-decoration: underline;
}