/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
	font-size: 1em;
	border: 1px;
}

/* images */
img.float-right, img.video-image {
  	margin: 0px 0px 0px 10px;
	float:right;  
}
img.float-left, img.news-image {
  	margin: 0px 10px 0px 0px;
	float:left;
}

p {
	padding: 5px;		
	margin: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #e4241b; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #e4241b;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   background-color: inherit;
   color: #e4241b;
}

/*****************
basic layout 
*****************/
body {
   color: #333;
   background-color:#e4e4e4;
   background-image:url(upload/images/home.jpg) no-repeat;
   background-position:center;
   margin-right:auto;
   margin-left:auto;
   margin-top:0;
}

/* center wrapper, min max width */
div#pagewrapper {
	margin: 0 auto;
	color: black;
	width: 1024px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
	height: 178px;
	background-image: url(upload/images/header.jpg);
}

div#logo {
       width: 250px;
       height: 170px;
       position: absolute;
       margin: 7px 0 0 115px;
}

div#content {
	margin: 0 auto 2em auto; /* some air above and under menu and content */
	width:900;
	background-color:#e4e4e4;
	background-image: url(upload/images/back_content.jpg);
	background-repeat: no-repeat;
	height: auto;
}

div#main_central {
	width: 880px;
	float: right;
	margin-bottom: 20px;
	height: auto;
	background-image: url(upload/images/back_content.jpg);
	background-repeat: no-repeat;
}

div#main {
	width: 380px;
	background-color:#FFFFFF;
	float: inherit;
	padding:5px;
	margin-right: 40px;
	margin-bottom: 10px;
	margin-left: 5px;
}

div#main2 {
	background-color:#FFFFFF;
	width: 380px;
	float: right;
	position: relative;
	padding:5px;
	margin-right: 40px;
	margin-bottom: 10px;
	padding-left: 5px;
}

div#news {
	background-color:#FFFFFF;
	width: 400px;
        height: 500px;
	float: left;
	position: relative;
	padding:5px;
	margin-right: 40px;
	margin-bottom: 10px;
	margin-left: 40px;
	padding-left: 20px;
}

div#popup {
	background-color:#FFFFFF;
	padding: 5px;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 118px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 10px;
   background-color:#FFFFFF;
   padding:5px;
}

div#sidebar_back {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 118px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 10px;
   margin-top: 25px;
   height:200px;
   z-index:0;
}

div#background_left {
	position:absolute;
	left:174px;
	top:608px;
	width:148px;
	height:119px;
	z-index:1;
	background-image: url(upload/images/background_left.gif);
}

div#footer {
	clear:both;       /* keep footer below content and menu */
	color: #e4241b;
	background-color: #cbcbcb; /* same bg color as in header */
	height:21px;
	text-align:center;
	font-weight: bold;
}

div#footer p {
	font-size: 0.8em;      /* some air for footer */
	text-align: center; /* centered text */
	margin:0;
	font-weight: bold;
	padding-top: 4px;
}

div#footer p a {
   color: #e4241b; /* needed becouse footer link would be same color as background otherwise */
}

div#copyright {
	color: #666666;
	background-color: #E4E4E4; /* same bg color as in header */
	height:21px;
	text-align:center;
	font-size: xx-small;
}
div#copyright a {
	color:#666666;
	text-decoration:none:
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2.2em;  /* font size for h1 */
   color: #000000; 
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #000000;
   font-size: 1.8em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #e4241b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #000000;
   font-size: 1.3em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #e4241b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}

div#content h4 {
   color: #e4241b;
   font-variant:small-caps;
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #e4241b;
   font-size: 1em;
   line-height: 1.3em;

}
div#content h6 {
   color: #e4241b;
   font-size: 1em;
   line-height: 1.3em;
   text-align:right;
   font-weight: bold;
}

/* END HEADINGS */

/* TEXT */
p {
	font-size: 1em;  /* some air around p elements */
	line-height:1.4em;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}
div#search {
	width: 265px;
	text-align: left;
    padding:0;
	margin: 0;
	background-color:#FFFFFF;
	top: 46px;
	float: right;
	position: relative;
	left: 720px;
	height: 22px;
}

form {
    margin:0;
    padding:0;
}
input.fields {
	width: 100px;
	border-top: 1px solid #E3E4E9;
	border-left: 1px solid #E3E4E9;
	border-bottom: 1px solid #E3E4E9;
	border-right: 1px solid #E3E4E9;
	height: 18px;
	margin:0;
	padding:0;
}

label {
	color: #000000;
	margin:0;
	padding:0;
}

#contact_form label {
        display: block;
        font-weight: bold;
        padding: 4px;
}

.submit_button {
	background-color:#FFFFFF;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;
	height: 18px;
	margin:0;
	padding:0;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* NAVIGATION */

#menu_vert {
	float:right;
	height:28px;
	width:720px;
	font-size:13px;
	font-weight:bold;
	font-family:Arial,Verdana,Helvitica,sans-serif;
	background-color:#FFFFFF;
	position: relative;
	top: 107px;
	overflow: auto;
	}


#menu_vert ul{
	margin:0;
	padding:0;
	list-style-type:none;
	width:auto;
	background-color:#FFFFFF;
	}

#menu_vert ul li{
	display:block;
	float:left;
	margin:0;
	}


#menu_vert ul li a{
	display:block;
	float:left;
	color:#000;
	text-decoration:none;
	padding:11px 0px 0 20px;
	background:#FFF url(upload/images/bg_off.gif) no-repeat top left;
	}


#menu_vert ul li a:hover,#stylefour ul li a.current{
	color:#e4241b;
	background:#FFF url(upload/images/bg_off.gif) no-repeat top left;
	}

/* END NAVIGATION */

/* DOCK */
#dock {
/*	display:block;*/
	clear:both; 
	float:center;
	margin-left:auto;
	margin-right:auto;
	/*border: 1px solid black;*/
	height:60px;
	/*width:780px;*/
	/*background-color:#FFFFFF;*/
	margin-top: 20px;
	text-align:center;
	}

/* END DOCK */

/* VIDEO */
#video {
	background-color:#000000;
	color:#FFFFFF;
	padding: 5px;
	}

#video img {
	border: 0;
	float: right;
	margin-right: 5px;
}

#player_video {
        text-align: center;
}

.lala { border:0; }

#menu_left {
	position:relative;
	float:left;
	width: 118px;
}

/* END VIDEO */

.shadetabs{
padding: 3px 0;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
list-style-type: none;
text-align: left;
}

.shadetabs li{
display: inline;
margin: 0;
}

.shadetabs li a{
text-decoration: none;
margin-right: 3px;
border: 1px solid #778;
color: #2d2b2b;
background: white;
font-size: 8pt;
padding-left:2px; padding-right:2px; padding-top:2px; padding-bottom:2px
}

.shadetabs li a:visited{
color: #2d2b2b;
}

.shadetabs li a:hover{
text-decoration: underline;
color: #2d2b2b;
}

.shadetabs li.selected{
position: relative;
top: 1px;
}

.shadetabs li.selected a { /*selected main tab style */
border-bottom-color: white
}

.shadetabs li.selected a:hover{ /*selected main tab style */
text-decoration: none;
}

.contentstyle{
border: 1px solid gray;
width: 352px;
margin-bottom: 1em; padding: 10px;
}
.fisheye{
	text-align: center;
	height: 50px;
	position: relative;
}
a.fisheyeItem
{
	text-align: center;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	width: 40px;
	position: absolute;
	display: block;
	top: 0;
}
a.fisheyeItem2
{
	text-align: center;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	width: 40px;
	position: absolute;
	display: block;
	bottom: 0;
}
.fisheyeItem img
{
	border: none;
	margin: 0 auto 5px auto;
	width: 100%;
}
.fisheyeItem2 img
{
	border: none;
	margin: 5px auto 0 auto;
	width: 100%;
}
.fisheyeItem span,
.fisheyeItem2 span
{
	display: none;
	positon: absolute;
}
.fisheyeContainter
{
	
	height: 50px;
	width: 200px;
	left: 500px;
	position: absolute;
}
#fisheye2
{
	position: absolute;
	width: 100%;
	bottom: 0px;
}
