/*
  Color reference:
    red:      #D62A18
    grey1:    #797979 (dark)
    grey2:    #E3E3E3
    grey3:    #F9F9F9 (light)
*/
* html body {
    text-align: center;
}
body {
    margin: 0;
    padding: 0;
    font: normal 12px Tahoma, tahoma, sans-serif;
    color: #7A7A7A;
}
div.wraper {
    width: 900px;
    margin: 15px auto;
}
div.container {
    border: 1px solid #CCCCCC;
}
/* over head nav */
div.overhead {
    width: 430px;
    height: 30px;
    float: right;
    font-size: 10px;
    color: #797979;
}
form.search {
    float: left;
    margin: 1px;
}
form.search label {
    margin-right: 5px;
}
form.search input.text {
    border: 1px solid #B6B6B6;
    height: 14px;
    width: 120px;
}
form.search input.button, input.button {
    border: none;
    background: url(../images/go.png) center no-repeat;
}
ul.overhead {
    float: right;
}
ul.overhead li {
    float: right;
    height: 16px;
    padding: 4px 0 0 10px;
    margin: 0 0 0 12px;
    border-left: 1px dotted #797979;
}
/* header */
div.header {
    height: 93px;
    background: #F3F3F3 url(../images/header-bg.png) bottom repeat-x;
}
h1.logo {
    margin: 20px 0 0 20px;
    width: 265px;
    height: 55px;
    float: left;
    background: url(../images/logo.png) center center no-repeat;
}
h1.logo a {
    display: block;
    width: 100%;
    height: 100%;
}
ul.top-nav {
    list-style: none;
    width: 560px;
    height: 30px;
    margin: 55px  20px 0 0;
    float: right;
    font: bold 11px Tahoma, tahoma, sans-serif;
}
ul.top-nav li {
    display: inline;
    margin: 0 5px;
}
/* language form */
form#language {
    margin: -3px 0 0;
}
form#language select {
    height: 15px;
    border: none;
    background: #F3F3F3;
}
/* content */
div.content {
    background: #F9F9F9 url(../images/content-bg-bottom.png) bottom center no-repeat;
}
div.content > div.inside {
    padding: 25px 0;
    background: url(../images/content-bg-top.png) top center no-repeat;    
}
div.wide {
    float: right;
    width: 555px;
    min-height: 300px;
    margin: 0 25px 0 0;
    border: 1px solid #CECECE;
    background-color: #fff;
    position: relative;
}
div.wide > div.inside {
    margin: 15px 25px;
}
div.wide h2 {
    margin: 5px 0 10px;
}

/* narrow */
div.narrow {
    float: left;
    width:270px;
    margin: 0 0 0 25px;
}
div.narrow h3 {
    color: #797979;
    margin: 0 0 15px;
}
div.narrow div.item {
    margin: 15px 0 20px;
}
div.item p {
    margin: 4px 0 7px;
    font-size: 11px;
}
div.item a {
    border-bottom: 1px solid #D9D9D9;
}
div.item a:hover {
    border-bottom: 1px solid #797979;
}
a.rss {
    
}

/* home */
div.wide div.slideshow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    text-align: right;
    overflow: hidden;
}
div.wide div.content-over {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #4D4D4D;
    color: #fff;
    opacity: 0.8;
}
div.content-over div.inside {
    margin: 10px;
}
p.short.text {
    position: absolute;
    bottom: -35px;
    left: 0;
    font-size: 9px;
    z-index: 200;
}
div.home p {
    font-size: 11px;
}

/* products */
p.short-desc {
    margin: 0 0 10px;
}
ul.roots {
    margin: 0;
    padding: 0;
}
ul.roots li {
    float: left;
    width: 161px;
    margin: 3px;
    background-color: #f3f3f3;
    overflow: hidden;
}
ul.roots li span {
    display: block;
    margin: 2px;
}
ul.roots li img {
    display: block;
    margin: 0;
}
ul.roots li p {
    margin: 5px;
}

ul.roots li:hover {
    background-color: #e9e9e9;
}

ul.categories,
ul.categories ul,
ul.products {
    margin: 0 0 0 15px;
}
ul.categories li,
ul.categories ul li,
ul.products li {
    list-style: square;
}
div.product ul.images {
    margin: 20px auto;
    width: 500px;
    list-style: none;
}
div.product ul.images li {
    padding: 0;
    margin: 10px auto;
    text-align: center;
}
a.company {
    display: block;
    float: right;
    border: 1px solid #ccc;
    padding: 2px;
    -moz-border-radius: 3px;
    margin: 0 0 5px 10px;
}
a.company img {
    width: 120px;
}
a.request {
    display: block;
    float: right;
    height: 20px;
    margin: 5px 0;
    padding: 4px 0 0 26px;
    background: url('../images/icons/22x22/x-office-document.png') center left no-repeat;
    font-size: 11px;
}
img.product {
    display: block;
    margin: 10px auto !important;
    max-width: 505px;
}
div.product ul.products,
div.product ul.categories {
    margin: 0;
}
div.product ul.products li,
div.product ul.categories li {
    float: left;
    position: relative;
    width: 150px;
    height: 150px;
    margin: 7px;
    list-style: none;
    text-align: center;
}
ul.products li img,
ul.categories li img {
    max-width: 120px;
    max-height: 100px;
    display: block;
    margin: 5px auto;
}

ul.products li span,
ul.categories li span {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 11px;
}

/* news */
div.news ul.archive li {
    margin: 0 15px 10px;
}
ul.archive li {
    margin: 0 15px;
    list-style: square;
}
div.pagination {
    height: 25px;
    position: absolute;
    bottom: 0;
    width: 90%;
}
a.next, a.previous {
    display: block;
}
a.disabled, a.disabled:hover {
    color: #B0B0B0;
}
a.next {
    float: right;
}
a.previous {
    float: left;
}
span.date {
    font-size: 10px;
    font-weight: normal;
    color: #B0B0B0;
    margin: 0 0 0 5px;
}
/* pages */
div.preview {
    width: 260px;
    margin: 0 0 10px;
    padding: 5px;
    border: 1px solid #e1e1e1;
}
div.preview.loading, div.loading {
    background: url('../images/icons/loading.gif') center no-repeat;
}
div.preview img {
    display: block;
    max-width: 260px;
}
ul.side-image li {
    float: left;
    width: 48px;
    height: 48px;
    margin: 2px;
    border: 1px solid #F9F9F9;
}
ul.side-image li:hover {
    border-color: #797979;
}
ul.side-image li img {
    max-width: 48px;
    max-height: 48px;
}
body#page div.wide {
    padding-bottom: 25px;
}
a.back {
    display: block;
    position: absolute;
    bottom: 15px;
    left: 25px;
    height: 15px;
    padding: 0 0 0 17px;
    font-size: 11px;
    font-weight: bold;
    line-height: 120%;
    background: url('../images/go_rtl.png') left center no-repeat;
}
ul.children li {
    font-weight: bold;
}

/* sitemap */
ul.sitemap {
    padding: 10px 15px;
}
ul.sitemap ul {
    padding: 0 15px;
}
ul.sitemap li {
    list-style-type: square;
    margin: 3px 0;
}
/* company */
ul.company > li {
    width: 100%;
    float: left;
    padding: 2px 0 5px;
    margin: 0 0 10px;
    border-bottom: 1px solid #E3E3E3;
}
ul.company > li:hover {
    background-color: #FAFAFA;
    border-bottom: 1px solid #bbb;
}
ul.company li img.company {
    display: block;
    float: right;
    width: 150px;
    border: 1px solid #ccc;
    padding: 2px;
    -moz-border-radius: 3px;
    margin: 0 0 5px 10px;
}
ul.company li h4 {
    margin: 0 0 5px;
}
ul.company li p {
    text-align: justify;
    font-size: 11px;
}
div.company div.single img.company {
    display: block;
    float: right;
    width: 150px;
    border: 1px solid #ccc;
    padding: 3px;
    -moz-border-radius: 4px;
    margin: 0 0 5px 10px;
}
div.company div.single p {
    text-align: justify;
    line-height: 135%;
    
}
h5.product {
    margin: 15px 0 5px;
    font-size: 11px;
    clear: both;
}
div.company ul.product {
    margin: 0 0 0 14px;
    font-size: 11px;
}
div.company ul.product li {
    /*display: inline;*/
    margin: 0 0 5px;
    list-style: square;
}

/* search result */
ul.result {
    margin: 10px 0;
}
ul.result li {
    margin: 10px 0;
    padding: 5px;
}
ul.result li.alt {
    background-color: #F2F2F2;
}
ul.result li h3 span.type {
    font-size: 10px;
    color: #b3b3b3;
    margin: 0 0 0 10px;
}
span.highlight {
    background-color: #DC2B19;
    color: #fff;
}

/* contact */
ul.form {
    margin: 10px 0 0;
}
ul.form li {
	clear: both;
}
ul.form li > p {
    margin: 10px 0;
}
ul.form li > span {
	display: block;
	width: 100px;
	height: 20px;
	margin: 0 0 10px;
	float: left;
}
ul.form li > div {
	float: left;
	width: 300px;
	margin: 0 0 10px;
}
ul.form input.text, ul.form textarea {
	width: 100%;
    border: 1px solid #B6B6B6;
}
ul.form select {
	width: 50%;
}
ul.form label {
	cursor: pointer;
}
ul.form input.button {
    border: 1px solid #B6B6B6;
    background: none;    
}
/* login form */
form.login {
    margin: 20px 0 0;
    font-size: 11px;
}
form.login h3 {
    font-size: 14px;
}
form.login ul li { 
    margin: 10px 0;
    height: 20px;
}
form.login label {
    display: block;
    float: left;
    width: 70px;
    padding: 2px 0 0;
}
form.login input.text {
    display: block;
    float: left;
    width: 130px;
    border: 1px solid #B6B6B6;
    height: 15px;
}
form.login label.login {
    width: 50px;
    float: right;
    cursor: pointer;
}

ul.error {
    margin: 10px 0;
    color: #D62A18;
}

ul.userbox {
	direction: ltr;
	text-align: left;
}
ul.userbox li {
	margin: 2px 0;
	padding: 2px 0 0;
}
ul.userbox li a {
	display: block;
	padding: 2px 5px 4px 20px;
	margin: -1px 0 0;
}
li.homepage {background: url('../images/icons/16x16/go-home.png') left center no-repeat;}
li.mainpage {background: url('../images/icons/16x16/preferences-desktop.png') left center no-repeat;}
li.logout {background: url('../images/icons/16x16/system-log-out.png') left center no-repeat;}

/** splash **/
html, body {
    height: 100%;
}
body.splash div.wrapper {
    direction: ltr;
}
body.splash div.space { 
    width: 1px;
    height: 10%;
    margin-bottom: -150px;
    float: left;
}
body.splash div.wrapper {
    margin: 0 auto;
    height: 300px;
    width: 500px;
    clear: left;
}
ul.langs {
    width: 250px;
    height: 20px;
    margin: 20px 0 0 150px;
}
ul.langs li {
    background: url('images/bullet_red.png') left center no-repeat;
    width: 75px;
    height: 15px;
    margin: 5px 0;
    padding: 0 0 0 17px;
}
p.info {
    width: 350px;
    color: #A6A6A6;
    font-size: 10px;
    margin: 30px 0 0 155px;
}

/* footer */
div.footer {
    margin: 10px 0 20px;
    height: 20px;
    font-size: 10px;
}
div.footer p {
    border-right: 1px dotted #797979;
    float: left;
    padding: 0 10px 0 0;
}
div.footer a.author {
    display: block;
    width: 85px;
    height: 20px;
    border-left: 1px dotted #797979;
    float: right;
    background: url('../images/dg.png') center right no-repeat;
}
/* reset */
h1, h2, h3, h4, h5, h6, p, ul, ol, li {
	margin: 0;
	padding: 0;
}
ul, ol, li {
	list-style: none;
}
a, a:link, a:active, a:hover, a:visited {
	text-decoration: none;
    color: #797979;
}
a:hover {
    color: #D62A18;
}
img, a.img {
	border: none;
}
/* general elements */
.right {
    float: right;
}
.left {
    float: left;
}
.hide-text {
	overflow: hidden;
	text-indent: -9000px;
}
hr.clear, .clear {
	height: 0;
	margin: 0;
	padding: 0;
	border: none;
	clear: both;
}
hr.line {
    border: 1px solid #E3E3E3;
    border-width: 0 0 1px 0;
    margin: 15px 0;
}
input.button {
    cursor: pointer;
}
pre {
    direction: ltr;
    text-align: left;
    color: green;
    font-family: monospace;
}

