/**
 * MTS Website Design
 *
 * @author      Open New Media GmbH
 * @since       2009 (Webdesign Relaunch)
 * @package     MTS Sensors Typo3 Frontend
 */

 
 
/**
 * Definition of common HTMl Elements 
 */ 
html {
    
}

body {
    background: #F0F0F0 url(../img/bg_body.gif) repeat-x top;
    font-family: arial, helvetica, sans-serif;
    font-size: 11px;
    color: #818185;
    line-height: 1.8em;
}

.menuebutton {
    background: #cccccc url(../img/bg_menuelinks.gif) no-repeat left;
    display: block;
    width: 30px;
    padding: 7px 11px 7px 18px;
    color: #000000;
    font-weight: bold;
}


/**
 *  Layout Container
 * 
 * +-------------------------------+
 * |           #page               |
 * + +---------------------------+ +
 * | |        #header            | |
 * + +---------------------------+ +
 * | |         #nav              | |
 * + +---------------------------+ +  
 * | |     #headercontainer      | |
 * | |      +subnav&headerimg    | |
 * + +----+--------------+-------+ + 
 * | |    |    #main     |       | |
 * | |    |              |       | |
 * | |    |              |       | |
 * + +----+--------------+-------+ +
 * | |        #footer            | |
 * + +---------------------------+ +
 * |         #subfooter            |
 * +-------------------------------+ 
 */
 
#page {
    width: 849px;
    margin: 0 auto;
    position: relative;
}

#header {
    background: #FFFFFF;
    height: 101px;
    position: relative;
}

#nav {
    background: #929794;
    height: 34px;
    font-size: 12px;
    line-height: 1em;
    overflow: hidden;
}

#headercontainer {
    background: url(../img/bg_headerimg.gif) repeat-x top;
    height: 197px;
    clear: both;
}

#main  {
    background: #FFFFFF;
    position: relative;
}

#footer {
    padding: 8px 35px 15px 35px;
    background: #d8d8d8;
    clear: both;
    color: #424845;
}

#subfooter {
    padding: 10px 0 30px 0;
	text-align: center;
}



/**
 * Header Area
 */
#header #logo {
    position: absolute;
    top: 0;
    left: 0;
}

#header #languages {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 200px;
}

#header #languages li {
    float: right;
}

#header #languages li a {
    display: block;
    padding: 5px;
}

#header #languages li.sel a, #header #languages li.sel a:hover {
    background-image: url(../img/lang/sel.gif);
}

#header #languages li a:hover {
    background-image: url(../img/lang/hover.gif);
}



/**
 * Main Navigation
 */
#nav #home {
    display: block;
    float: left;
    padding: 7px 9px 13px 9px;
    margin: 4px 0px 4px 4px;
    height: 6px;
    background-color: #6D716F;
    overflow: hidden;
} 
 
#nav ul {
    margin: 0 4px;
}

#nav ul li {
    float: left;
    margin: 0 0 0 1px;
    line-height: 1em;
}

#nav ul li a{
    color: #FFFFFF;
    font-weight: bold;
    padding: 11px 20px 12px 20px;
    display: block;
    background: url(../img/bg_main_nav_a.gif) no-repeat top center;
}

#nav ul li.sel a, #nav ul li.sel a:hover{
    background: url(../img/bg_main_nav_a_sel.gif) no-repeat top center;
}

#nav ul li:hover a{
    text-decoration: none;
    background-position: bottom center;
}

#nav ul li ul {
    position: absolute;
    width: 816px;
    height: 27px;
    padding: 0 0 0 33px;
    background: #9C182F;
    z-index: 3;
    display: none;
    left: -4px;
    top: 135px;
}

#nav ul li:hover ul {
    display: block;
}

#nav ul li ul li{
    float: left;
    margin: 0 0 0 1px;
    line-height: 1em;
}

#nav ul li ul li a,
#nav ul li.sel ul li a,
#nav ul li.sel:hover ul li a,
#nav ul li:hover ul li a{
    float: left;
    margin: 0 0 0 30px;
    background: url(../img/bg_submenue_li.gif) no-repeat left;
    background-position: left;
    padding: 9px 0 12px 12px;
    margin: 0 17px 0 0;
    color: #CF8F9F;
}


#nav ul li ul li a:hover,
#nav ul li.sel ul li a:hover{
    color: #FFFFFF;
    background: none;
    background: url(../img/bg_submenue_li.gif) no-repeat left;
    background-position: left;
}
 
 
#nav #search {
     background: url(../img/bg_search.gif) no-repeat top right;
     height: 12px;
     width: 122px;
     float: left;
     padding: 9px 0 9px 30px;
     margin: 0;
     overflow: hidden;
}

#nav #search input.text{
    background-color: transparent;
    border: none;
    float: left;
    width: 90px;
    margin: 0 0 0 0;
}

#nav #search input#searchsubmit{
    border: none;
    float: right;
    width: 11px;
    margin: 2px 10px 0 0;
}

#nav #features {
    float: right;
    margin: 4px;
    width: 90px;
}

#nav #features a {
    float: right;
    margin-left: 8px;
}



/**
 * Header image and subnavigation
 */
#headercontainer {
    background: url(../img/bg_headerimg.gif) repeat-x top;
    height: 197px;
    clear: both;
}

#headerimg {
    background-repeat: no-repeat;
    background-position: bottom right;
    height: 192px;
    position: relative;
}

#headerimg #nav-level2 {
    padding: 8px 20px;
    font-weight: bold;
}

#headerimg #nav-level2 li{
    float: left;
    margin: 0 0 0 30px;
    list-style-image: url(../img/bg_submenue_li.gif);
}

#headerimg #nav-level2 li a{
    color: #cf8f9f;
}

#headerimg #nav-level2 li.sel a{
    color: #ffffff;
}

#headerimg #headline {
    position: absolute;
    top: 120px;
    left: 30px;
}

#headerimg #headline h1{
    color: #FFFFFF;
    font-size: 22px;
    font-weight: normal;
    margin: 0;
}

#headerimg #headline h2{
    color: #ecc0cb;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}



/**
 * Main content container
 * 3 horizontal cols: subnav, content, sidebar
 */
#subnav {
   padding: 0 4px 0 26px; 
   min-height: 200px;
   float: left;
   width: 160px;
   margin: 0 0 30px 0;
}

#subnav ul{
   margin: 23px 0 0 0;
}

#subnav ul li{
   border-bottom: 1px #d0d0d1 solid;
   padding: 6px 0;
}

#subnav ul li.last{
   border-bottom: none;
}

#subnav ul li.sel a{
   font-weight: bold;
   color: #000000;
}

#subnav h2 {
    font-size: 12px;
    margin: 25px 0 10px 0;
}

#content {
   min-height: 200px;
   float: left;
   width: 340px;
   padding: 13px 20px 50px 20px;
   overflow-x: hidden;
}

/* If right column is empty */
.RightIsEmpty #content {
    width: 590px;
    float: left;
}

#box_region_placeholder {
    display: none;
}

.RightIsEmpty #box_region_placeholder {
    display: block;
    float: right;
    height: 40px;
    width: 240px;
}

#sidebar {
   min-height: 200px;
   float: left;
   width: 270px;
   margin: 10px 0 0 0;
}

.RightIsEmpty #sidebar {
   position: absolute;
   height: 1px; 
}

#sidebar .csc-textpic-imagewrap dl,
#sidebar .csc-textpic-imagewrap dt,
#sidebar .csc-textpic-imagewrap dd
{
    margin: 0;
    padding: 0;
}

/* If right column is empty */
.RightIsEmpty #sidebar {
    float: none;
    position: absolute;
    top: 3px;
    right: 5px;
}

#sidebar .content-element{
   background-color: #FFFFFF;
   line-height: 1.4em;
   padding: 7px;
   border: 3px #e5e5e5 solid;
   margin: 0 0 9px 0;
}



/**
 * Footer
 */
#footer #claim {
    float: right;
    margin-top: 5px;
}

#footer #copyright {
    float: left;
    width: 500px;
    margin: 0 0 0 0;
}



/*
 * select element replacement
 */
#choose_region {
    position: absolute;
    top: -80px;
    left: 710px;
    width: 150px;
}
 
.selectbox {
    position: relative;
    padding: 0 20px 0 0;
} 

.selectbox a {
    display: block;
    height: 1em;
    padding: 2px 4px 10px 10px;
    background: url(../img/bg_select.gif) #FFF no-repeat top left;
    color: #AAAAAA;
}

.selectbox a:hover {
    text-decoration: none;
    background-position: bottom left;
}

.selectbox ul{
    position: absolute;
    top: 20px;
    left: 0;
    background: #FFFFFF;
    width: 126px;
    border-right: 1px #CCCCCC solid;
    border-left: 2px #CCCCCC solid;
    border-bottom: 1px #CCCCCC solid;
    padding: 5px 0 0 0 ;
} 

.selectbox ul li {
	margin: 0;
	padding: 0;
}
.selectbox ul li a{
    background: #FFFFFF;
    border-bottom: 1px #DEDEDE solid;
    color: #666666;
} 

.selectbox ul li a:hover {
    background-color: #EEEEEE
}