@charset "UTF-8";
/* CSS Document */

/* global zeroing of margin an padding on all elements */
* {
	margin:0;
	padding:0;
	
}

html, body, #wrapper {
	height: 100%;
	background:#f7f7f7 url(images/pattern.png) repeat top left;
	font-family:"Arial", Verdana, Hei ti, "黑体", "微软雅黑", sans-serif;
	
}

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

p {
	font-size:14px;
	line-height: 18px;

}

div.tseparator {
	border-bottom: 1px solid #999;
	margin-bottom: 15px;
	margin-top: 15px;
 
}

h1 {
	font-weight:normal;
	font-size:24px;

}

h2 {
	font-weight:normal;
	font-size:18px;
	margin-bottom:8px;

}


body > #wrapper {
	height: auto;
	min-height: 100%;
}

#main {
	padding-bottom: 30px; /* MUST BE THE SAME HEIGHT VALUE AS THE FOOTER */
}

#header {
	background: #000;
	height: 65px;
	padding-top: 5px;
	margin-bottom:10px;
}

#headeri {
  width:900px;
  margin: 0 auto;
}

#social {

  float:right;

}

#header h1 { margin: 0; float:left; padding-top:17px; }

/*navigation*/
#navigation
{
	
	float:right;
	margin-top:10px;
	clear:right;
	
}

nav.primary ul,
nav.primary ul li {
	margin: 0px;
}

nav.primary select {
	display: none;
	width:  100%;
	height: 28px;
	margin: 21px 0;
}

nav.primary ul li {
	display: inline;
	float: left;
	position: relative;
}

nav.primary ul li a {
	display: inline-block;
	line-height: 26px;
	padding:  0 8px;
	color: #fff;
	font-size:12px;
	text-transform: uppercase;
	text-decoration: none;
	font-weight:normal;
	letter-spacing: 0.08em;
}

nav.primary ul li a:hover {
	background: #fff;
	cursor: pointer;
}

nav.primary ul li a.active {
	background: #fff;
	cursor: pointer;
}

/*sub menu*/
nav.primary ul ul {
	opacity: 0; 
  	filter: alpha(opacity=0); 

	position: absolute;
	top:100%;
	left: 0;
	z-index: 999;
	background: url(images/bg.png);
	
	height: 0px;
	overflow: hidden;
	
	width: 195px;
	
	-webkit-transition: opacity 0.4s ease-out;
	-moz-transition: opacity 0.4s ease-out;
	-o-transition: opacity 0.4s ease-out;
	-ms-transition: opacity 0.4s ease-out;
	transition: opacity 0.4s ease-out;
	
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);	
}

nav.primary ul li span {
	display: none;
}

nav.primary ul li:hover ul {
	opacity: 10; 
  	filter: alpha(opacity=100); 
  	
	height: auto;
	overflow: auto;
}

nav.primary ul ul li {
	float: none;
	display: list-item;
	border-bottom: 1px solid #262626;
}

nav.primary ul ul li a {
	display: block;
	line-height: 35px;
	text-transform: none;
	white-space: nowrap;
	color: #fff;
	background: #000;
}

nav.primary ul li:hover > a {
	background: #fff;
	color: #000;
}
ul#language {
float:right;
margin-top: 0px;
padding-top: 2px;
margin-right: 15px;
}
ul#language li {
	
	display:inline;
	margin:0;
	padding:0;
	}	

ul#language a{
	display: block;
	float: left;
	border-right: 1px solid #fff;
	padding: 0px 10px;
	color: #fff;
	text-decoration: none;
	
	
	}	
	
	ul#language li.last a {
	border: none;
	}
	


ul#language a:hover, ul#language li.current a {
	color: #CCC;
	
	}
	
	ul#language a.active {
	color: #CCC;
	}

/* this is wrapper container for the main content - fixed width and centered */
#contentcontainer {
	width: 100%;
	margin: 0 auto;
	overflow: auto;
	margin-bottom:0px;
}

#content {
	
	width: 900px;
	margin: 0 auto;
	
}



#content h1 {
	background:#000;
	color:#FFF;
	font-size:18px;
	margin-bottom:8px;
	padding:5px;
	
}

div#home {
    float: left;
	padding:10px;
    width: 270px;
	margin-right:12px;
	margin-bottom:10px;
	border: 1px solid #CCC;
	height: 300px;
    background:#000 url(images/home/icons.jpg) no-repeat center;
}

div#home p {
   color:#FFF;
   padding: 8px;
   margin-top:125px;
   background: rgba(0, 0, 0, 0.5)
}

#top_content {
	
	width: 100%;
	margin-bottom:12px;
	height:430px;
	background: url(images/home/background.jpg) no-repeat;
}




div#top-text {
	padding:10px;
	position:inherit;
    width: 900px;
	margin: 0 auto;
	margin-bottom:10px;
	
}

div#top-text p {
   color:#FFF;
   padding: 8px;
   width:600px;
   margin-left:0px;
   font-size:18px;
   line-height:24px;
   background: rgba(0, 0, 0, 0.5)
}

div#left {
    float: left;
	padding:10px;
    width: 410px;
	text-align:center;
	margin-right:12px;
	margin-bottom:10px;
	border: 1px solid #CCC;
	height: 300px;
    background-color: #fff;
}

div#media {
    float: left;
	margin-left:15px;

   
}

div#media p {
	text-align:center;
	padding:5px;
	font-size: 13px;
}

div#mediacn {
    float: left;
	margin-left:15px;

   
}

div#mediacn p {
	text-align:center;
	padding:5px;
	font-size: 12px;
}




div#content-left {
    float: left;
	padding:10px;
    width: 570px;
	margin-right:12px;
	margin-bottom:10px;
	border: 1px solid #CCC;
	
    background-color: #fff;
}

div#content-left{
    float: left;
	padding:10px;
    width: 570px;
	margin-right:12px;
	margin-bottom:10px;
	border: 1px solid #CCC;
	
    background-color: #fff;
}



.ryan {
	
	margin-top: 0px;
	background-color: #fff;
	padding:10px;
}

.large {
	
	margin-bottom: 10px;
	
}

.about {
	padding-bottom:8px;
	
	
}

div#middle {
	float:left;
	padding:10px;
    width: 410px;
margin-right:12px;
margin-bottom:10px;
border: 1px solid #ccc;
height: 300px;
    background-color: #fff;
}

div#right {
    float: left;
	padding:10px;
    width: 270px;
	height: 500px;
	border: 1px solid #ccc;
	margin-bottom:10px;
    background-color: #fff;
}

div#hright {
    float: left;
	padding:10px;
    width: 270px;
	height: 300px;
	border: 1px solid #ccc;
	margin-bottom:10px;
    background-color: #fff;
}



#sidebar {
	width: 290px;
	padding: 10px;
	float: left;
	background: url(images/bg.png) repeat;
}





#titleblock 
{
	float:left;
margin-top:10px;
margin-bottom:5px;
padding-left:10px;
padding-top:10px;
margin-right:10px;
padding-bottom:8px;
background: url(images/bg.png) repeat;
width: 570px;


}

#titleblock h1
{
	font-size:18px;
	margin: 0px;
	padding: 0;
	float:left;
	color:#FFF;
	
}

#titleblockaside
{
	float: left;
margin-top:10px;
margin-bottom:5px;
background: url(images/bg.png) repeat;
width: 300px;	
padding-left:10px;
padding-top:10px;
padding-bottom:8px;

}

#titleblockaside h1
{
	font-size:18px;
	margin: 0px;
	padding: 0;
	float:left;
	color:#FFF;
	
}



h3
{
	background:#999;
	color:#FFF;
	font-size:18px;
	font-weight:normal;
	margin-bottom:0px;
	padding:5px;
	
}

h4
{
	background:#900;
	color:#FFF;
	font-size:10px;
	font-weight:normal;
	margin:0px;
	padding:5px;
	margin-top:-14px;
	
}

#image 
{
	
margin-top:0px;
margin-bottom: 10px;



}

#item {
margin-bottom: 20px;	
}


.imgright {
	float: right;
	padding: 2px;
	margin: 10px;
}

/* floats an image left, so text wraps around it */
.imgleft {
	float: left;
	padding: 2px;
	margin-right: 10px;
}

/* NOTE:  ALL HEIGHTS NEED TO BE THE SAME VALUE, INCLUDING THE MINUS VALUE FOR THE STICKY TO STAY IN CORRECT POSITION */
#footer {
	position: relative;
	margin-top: -30px; /* negative value of footer height */
	height: 30px;
	background: #000;
	clear:both;
}

#footeri {
	color:#FFF;
 width:900px;
  margin: 0 auto;
  font-size:12px;
   
}
#fleft {
	float: left;
	padding-top:8px;
}
#fright
{

float: right;
padding-top:3px;
	
}

ul#social {
	
	list-style: none;
	margin:0;
	padding:0;
float:right;
	
	}

ul#social li {
	
	display:inline;
	margin:0;
	padding:0;
	}	

ul#social a{
	color: #fff;
	font-weigh:bold;
	text-decoration: none;
	display:block;
	float:left;
	padding: 0px 3px;

	
	}	

ul#social a:hover, ul#social li.current a {
	color: #368800;
	}

/* DO NOT REMOVE THE CLEAR FIX CLASS */
/* CLEAR FIX to ensure footer stays at bottom of window and any floated content in main content area is cleared */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
/* End hide from IE-mac */