﻿html, body {
  height: 100%;  /*Required */
}

body 
{
	
    font-family:Tahoma;
    font-size:8pt;
    margin:0;
    padding:0;
}
div
{
    behavior: url(../scripts/ipengfix.htc);
    }

a
{
    color:#000;
    text-decoration:none;
}
a:hover
{
    color:#000;
    text-decoration:underline;
}
a:visited
{
    color:#0c4f9e;
    text-decoration:none;
}
#main
{
    position:absolute;
    z-index:10;
    width:1250px;
    min-height: 100%; /* For Modern Browsers */
    height: auto !important; /* For Modern Browsers */
  	height: 100%; /* For IE */
    
}
#primaryContent{
    width:295px;
    min-height: 100%; /* For Modern Browsers */
    height: auto !important; /* For Modern Browsers */
  	height: 100%; /* For IE */
    float:left;
    background:url(../images/grad.gif) repeat-x;
}
#logo
{
    width:255px;
    height:79px;
    background:url(../images/logo.png) no-repeat top;
    left:20px;
    top:20px;
    position:relative;
    font-size:0px;
    display:block;
}
#lang
{
    position:relative;
    left:95px;
    top:80px;
    height:20px;
    width:105px;
}
#lang a
{
    color:Silver;
}
#lang a:hover
{
    color:#000;
    text-decoration:underline;
}
#sidebar
{
    position:relative;
    width:211px;
    height:550px;
    left:20px;
    top:164px;
    line-height:18pt;
    /*margin-bottom:198px;*/
}
#sidebar ul
{
    list-style:none;
    margin:0;
    padding:0;
}
#sidebar a
{
    display:block;
    width:196px;
    height:25px;
    background-color: #bbc4c3;
    margin-top:2px;
    font-weight:bold;
    padding-left:15px;
    
    color:#0157a8;
    border-left: solid 1px #969ea0;
    border-right: solid 1px #969ea0;
    border-bottom: solid 1px #969ea0;
}
#sidebar a:hover
{
    text-decoration:none;
    background-color: #aec9d0;
}
#secondaryContent
{
    
    height:100%;
    background:#fff;
    float:left;
    position:relative;
    left:30px;
    width:685px;
    margin-right:30px;
}
#banner
{
    width:658px;
    height:264px;
}
#menu
{
    position:relative;
    top:1px;
    width:658px;
    height:26px;
    background:#8af;
}
#content
{
    width:636px;
    padding-left:5px;
    padding-right:5px;
    padding-top: 35px;
    padding-bottom:25%;
    
}

#primaryContent:after {
  	clear: both;
  	display: block;
  	font: 1px/0px serif;
  	content: ".";
  	height: 160px;
  	visibility: hidden;	
}
#content h1
{
    font-family:Tahoma;
    font-size:16pt;
    font-weight:bold;
    
}

#content h2
{
    font-family:Tahoma;
    font-size:14pt;
    font-weight:bold;
    
}

#contenthome
{
    width:646px;
    padding-left:5px;
    padding-right:5px;
    padding-top: 35px;
    padding-bottom:00%;
    
}
#contenthome:after {
  	clear: both;
  	display: block;
  	font: 1px/0px serif;
  	content: ".";
  	height: 160px;
  	visibility: hidden;	
}

#contenthome p
{
    width:400px;
    padding-left:130px;
    /*padding-right:800px;*/
}

#contenthome h1
{
    font-family:Tahoma;
    font-size:16pt;
    font-weight:bold;
    padding-left: 130px;
    
}


#contenthome h2
{
    font-family:Tahoma;
    font-size:14pt;
    font-weight:bold;
    
}

#contenthome h4
{
    font-family:Tahoma;
    font-size:16pt;
    font-weight:bold;

#contactimage
{
    float:left;
    width: 180px
    height:100%;	   
}

#contactpiece
{
    
    margin-left: 180px;	   
}

#image 
{
    
    height:100%;	   
}

#image img
{
    
    margin-right: 15px;	   
}

#piece
{
    padding-left:10px; 
}

#piece img
{
    margin-right: 10px;
}



#header
{
    color:#0157a8;
    font-weight:bold;
}
#footer
{
	
    z-index:20;
    clear:both;
    background:url(../images/ruler.png) no-repeat top;
    width:842px;
    height:160px;
    left:150px;
	position: absolute;
  	bottom: 0 !important;
  	bottom: -1px; /* For Certain IE widths */
    
}
#copyright
{
    left:155px;
    top:115px;
    position:relative;
}
#copyright a:visited
{
    color:Black;
}
#copyright a:hover
{
    text-decoration:underline;
}

#popPage
{
   position:absolute;
   z-index: 100;
   right:-9px;
 
}

#popPage img
{
    border:none;
}

/* Lightbox **/

    #modal_container {  
        padding:5px;  
        background-color:#050535;  
        border:1px solid #666;  
        overflow:auto;  
        font-family:"Lucida Grande",Verdana;  
        font-size:12px;  
        color:#333;  
        text-align:left;  
   } 
    
   #modal_overlay {  
       background-color:#000;  
   }  
   
   
 /* end of Lightbox */
