/******************* main elements **********************/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, a, div, img, input, fieldset, blockquote, cite
{
    margin: 0;
    padding: 0;
    border: 0;
}

.clear{clear: both;}
.space{height: 35px;}
.left{float: left;}
.right{float: right;}

html
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    height: 100%;
}

body
{
	font-size: 1.2em;
	color: #323232;
	background: #fff url(../images/bodybg.png) repeat-x;
	font-family: "Comic Sans MS", sans-serif, Arial, Helvetica, sans-serif;
}

a
{
    color: #754525;
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
	color: #000;
}

#top{
position:relative;
width:940px;
margin:0 auto;
z-index: 999;
}

h2{
    font-size: 1.7em;
    font-weight: normal;
    color: #754525;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #cacaca;
}

h3{
    font-size: 1.6em;
    font-weight: normal;
    margin: 0 0 15px 0;
    color: #754525;
}

h4{
    font-size: 1.4em;
    font-weight: normal;
    margin: 0 0 15px 0;
    color: #754525;
    padding: 15px 0 0 0;
}

table{padding: 0 0 15px 0;}

th, td{
  padding: 5px 40px 5px 15px;
  text-align: left;
  border: 1px solid #dadada;
  margin: 1px;
  background: url(../images/shadow-back.gif) repeat-x left bottom;
}
#elph {
	display:none;
}

/******************* main text area elements *******************/
#text h3{
    padding: 15px 0 0 0;
}

#text p, #text ul, #text ol{
    line-height: 1.6;
    padding: 0 0 15px 0;
    color: #444444;
}

#text ul, #text ol{
    padding: 0 0 15px 30px;
}

#text ul ul, #text ul ol, #text ol ol, #text ol ul{padding: 0 0 0 30px;}

#text img{
    padding: 3px;
    border: 1px solid #DEDFDE;
    vertical-align: middle;
    margin: 0 10px 10px 0;
}

#text table img{
    padding: 3px;
    border: 1px solid #DEDFDE;
    vertical-align: middle;
    margin: 0;
}

#text img.right{
    float: right;
    margin: 0 0 10px 10px;
}

#text .noborder{
    border: 0;
}

blockquote{
    font-size: 0.9em;
    background: url(../images/blockquote-middle.gif) repeat-y;
    margin: 0 0 15px 0;
}

#text blockquote p{
    padding: 0;
}

blockquote div{
    background: url(../images/blockquote-start.gif) no-repeat;
    padding: 15px 25px 5px 45px;
}

blockquote cite{
    width: 533px;
    height: 29px;
    display: block;
    background: url(../images/blockquote-end.gif) no-repeat right top;
    font-style: italic;
    font-weight: bold;
    color: #798263;
}


/***************************** layout divs *******************/

#wrapper{
    width: 945px;
    margin: 0 auto -80px auto; 
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#header{
    padding: 30px 15px 0 20px;
}

#logo{
    width: 300px;
    float: left;
}

#contacts{
    width: 200px;
    float: right;
    margin: -5px 5px 5px 0;
    font-size: 0.9em;
    text-align: right;
    line-height: 1.4;
}

#text{
    width: 580px;
    float: left;
    margin: 0 0 40px 50px;
    padding: 0 0 0 0;
}


/********************** main horizontal menu ***************/

/* navigation bar - styles dropdown menu*/
#top #nav{
	position:absolute;
	top:-46px;
	z-index:100;
	left:500px;
	width:600px;
	font-weight: bold;
}

#nav, #nav ul{
 margin:0;
 padding:0;
 list-style-type:none;
 list-style-position:outside;
 position:absolute;
 z-index: 100;
 line-height:25px; /*this defines the height of each element*/
 
 }
 
 #nav a{
 display:block;
 padding:0px 10px;
 }
 
 #nav li{
 float:left;
 position:relative;/*  opera + ie 6 need */
 
 }
 
  #nav li ul a{
	width:140px;
	height:auto;
	float:left;

 }
 
#nav ul {
    position:absolute;
    display:none;
	width:160px;
	top:25px;
	;
	}

	
#nav li ul ul {
    left:160px;
	top:0;
	position:absolute;

    }
 
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;

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

    }



#nav a{
color:#754525;
text-decoration:none;
}

#nav ul a{
background-color:#f3f3f3;
color:#754525;
}

#top #nav a:hover, #top #nav a:visited:hover {
background-image:none;
background-color:#ffd457;
color:#000;
}



/******************* headers  **********************/

.panel{
    width: 945px;
    height: 250px;
    background: url(../images/banner-home-01.png);
}

#first{
    background: url(../images/banner-home-01.png);
}
#second{
    background: url(../images/banner-home-02.png);
}
#third{
    background: url(../images/banner-home-03.png);
}

.panel-inner{
    width: 945px;
    height: 200px;
    background: url(../images/banner-inner.jpg);
}

.panel .show-next-banner{width: 20px; height: 100px; display: block; float: right; position: relative; top: 130px;}


/******************* left sidebar **********************/

#sidebar{
    width: 260px;
    float: left;
    padding: 0 0 0 20px;
}

#sidebar p, #sidebar ul{
    line-height: 1.6;
    padding: 0 0 15px 0;
    color: #444444;
    font-size: 0.9em;
}

#sidebar ul{
    list-style-image: url(../images/tick.gif);
    padding: 0 0 15px 25px;
}

#sidebar ul li{padding: 0 0 5px 5px;}

#sidebar img{
    float: left;
    padding: 3px;
    border: 1px solid #C8C8C8;
    margin: 0 15px 5px 0;
}

#sidebar strong{
    text-transform: uppercase;
}

#sidebar #sidemenu li{
    margin: 0 0 5px 0;
    border-bottom: 1px solid #dadada; 
}

#sidebar #sidemenu li a{
    color: #798263;
}

/******************* footer *****************************/

.push{height: 80px;}

#footer{height: 80px;}

#footer{
    background: #ffd457;
}

#footer p{
    width: 90%;
    margin: 0 auto;
	text-align: right; 
    padding: 10px 10px 10px 10px;
    font-size: 0.9em;
}



/**************** scrolling effect **********************/
#slider {
  width: 945px;
  position: relative;
}

.scroll {
  height: 250px;
  width: 945px;
  overflow: hidden;
  position: relative; /* fix for IE to respect overflow */
  clear: left;
  margin: 0 0 20px 0;
  z-index: 1;
}

.scrollContainer div.panel {
  width: 945px;
  height: 250px;
  z-index: 1;
}
