/*common*/

.wrap {
    width: 950px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

.content {
    float: left;
    width: 700px;
}

.content a,
.sidebar a {
    background: url('../images/sprite.png') no-repeat top left;
    background-position: 0 -180px;
    padding-left: 20px;
}

/*header*/

.header {
    height: 178px;
    background: url('../images/header_bg.png') repeat-x;
    border-bottom: 1px solid #1a171b;
}

.header .wrap {
    position: relative;
    height: 178px;
}

.header img.logo {
    position: absolute;
    left: 70px;
    bottom: 0;
    height: 10rem;
}

/*menus*/

/*main*/

ul.main_menu {
    position: absolute;
    bottom: 0;
    right: 0;
}

ul.main_menu li {
    float: left;
    background: #fff;
    margin-left: 10px;
    border: 1px solid #b1b2b4;
    border-bottom: none;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    text-align: center;
}

ul.main_menu li .icon {
    position: absolute;
    top: -94px;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
}

ul.main_menu li:hover .icon,
ul.main_menu li.section .icon,
ul.main_menu li.current .icon {
    opacity: 1;
}

ul.main_menu li:hover,
ul.main_menu li.current,
ul.main_menu li.section {
    background: #dedc1e;
}

ul.main_menu li a {
    display: block;
    text-align: center;
    line-height: 40px;
    padding: 0 20px;
}

/*meta*/

ul.meta_menu {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 20px;
}

ul.meta_menu li {
    float: left;
    margin-left: 20px;
}

ul.meta_menu li a {
    display: block;
}

ul.meta_menu li a .icon {
    display: block;
    float: left;
    margin-right: 10px;
}

/*main*/

.main {
    border-bottom: 1px solid #1a171b;
    background: url('../images/main_bg.png') bottom repeat-x;
    padding-bottom: 80px;
}

.main img.logo {
    margin-top: 22px;
    margin-bottom: 25px;
    height: 3rem;
}

.footer {
    border-top: 1px solid #c6c5c6;
    padding-top: 5px;
}

/*sidebar*/

.sidebar {
    float: right;
    width: 230px;
    background: #f0efed;
    position: relative;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.sidebar .inner {
    padding: 20px 15px;
}

.sidebar .arrow {
    width: 20px;
    height: 10px;
    background: url('../images/sidebar_arrow.png') no-repeat;
    position: absolute;
    left: 105px;
    top: -10px;
}

.sidebar a.external {
    display: block;
    background-position: 0 -280px !important;
    height: 24px;
    padding-left: 30px;
}

.sidebar h3 {
    border-top: 1px solid #fff;
    padding-top: 20px;
    margin-bottom: 10px;
}

.sidebar h3:first-of-type {
    border-top: none;
}

.sidebar p {
    border-bottom: 1px solid #c6c4bf;
    padding-bottom: 20px;
}

.sidebar p:last-of-type {
    border-bottom: none;
}

.sidebar h3.anfahrt .icon {
    display: block;
    float: right;
    margin-right: 50px;
    position: relative;
    top: -5px;
}

/*slideshow*/

.slideshow {
    position: relative;
    margin-bottom: 25px;
    width: 700px;
    height: 310px;
    overflow: hidden;
}

.slideshow img {
    display: block;
    z-index: 30;
    width: 700px;
    height: 310px;
}

.slideshow .text {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: 402px;
    padding: 15px;
    background: url('../images/slideshow_text.png') no-repeat;
}

.slideshow .nav {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 40;
}

.slideshow .nav li {
    float: left;
    margin-left: 10px;
    list-style: none;
}

.slideshow .nav li a {
    display: block;
    width: 20px;
    height: 20px;
    padding-left: 0;
    background: #fff;
    border: 1px solid #B1B2B4;
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
}

.slideshow .nav li.activeSlide a,
.slideshow .nav li a:hover {
    background: #DEDC1E;
}

/*team*/


.team_member img {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    height: auto;
}

.team_member {
    width: 220px;
    float: left;
    margin-bottom: 30px;
    margin-right: 20px;
}

.team_member.third {
    margin-right: 0;
}

/*footer*/

.footer {
    padding-bottom: 80px;
    position: relative;
}

.footer .top {
    display: block;
    position: absolute;
    right: 0;
    top: -100px;
}

.footer .top span {
    display: none;
    padding: 2px 5px;
    background: #fff;
    color: #000;
    position: absolute;
    left: -130px;
    top: 0;
}

.footer .top:hover span {
    display: block;
}

ul.footer_menu {
    float: right;
}

ul.footer_menu li {
    float: left;
    margin-left: 20px;
}
