/* General Styles Site-wide */

/* CSS hack examples
Hide a rule from IE: */
html>body p { } 

/*Hide a rule from all browsers but IE: */
* html p { }

/* structure */

html,body,#bgflash{
	height:100%;
}
body {
	background: #ccc url(../media/images/bg_top.jpg) no-repeat center top;
	padding:0;
	margin:0;
}
body,input,select,textarea{
	font-family:'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, Sans-serif;
	color:#666;
	font-size:70%; /* nested elements inherit this size*/
}
a {
	text-decoration: underline;
	color: #999;
}
a:hover {
	text-decoration:none;
}
a img {
	border:none;
}
hr{
	height:1px;
	background-color:#ddd;
	color:#ddd; /*IE6 hack*/
	border:none;
	margin:1.5em 0;
	clear:both;
}
h1, h2, h3, h4, h5, #nav {
	font-weight: normal;
	font-family:'ExRoundedBold','Arial Rounded MT Bold','Arial Rounded','Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Sans-serif;
	clear:both;
}
h1 {
	/*font-size: 72px;*/
	/*float: left;*/
	font-size: 630%;
	color: #fff;
	padding: 0;
	padding-left: 15px;
	margin: 0;
	line-height: 96px;
	height: 96px;
	text-shadow: 0px 2px 10px #007CAF;
}

.ie7 h1, .ie8 h1 {
	font-size: 68px;
}

.no-textshadow h1 {
}

h2 {
	font-size: 230%;
	color: #666;
	margin: 0 0 .5em 0;
}
h3 {
	margin-top:0;
	font-size: 160%;
	margin: .5em 0;
}
h4 {
	font-size: 140%;
}
h5 {
	font-size: 120%;
}
fieldset, p, #content table, textarea{
	margin-bottom:1em;
	margin-top:0;
}
ol{
	margin-top:.5em; /*ie 6 adds too much auto padding*/
	margin-bottom:1em; /*ie 6 adds too much auto padding*/
}
small{
	font-size:90%;
}
code{
	font-family:Consolas, "Lucida Console", "Courier New","Courier", typewriter;
	font-size:110%;
}

/* layout*/
#background{
	margin:0 auto;
	background: url(../media/images/bg_bottom.jpg) no-repeat center bottom;
	/*padding-bottom: 180px;*/
}
#header {
	height: 100px;
	position: relative;
	width: 850px;
	margin: 0 auto;
}
#header-social {
	width: 220px;
	position: absolute;
	right: 0;
	top: 0;
	background: #ccc;
	padding: 0 10px 10px;
	-moz-box-shadow: 0px 3px 8px rgba(0,0,0,.4);
	-webkit-box-shadow: 0px 3px 8px rgba(0,0,0,.4);
	box-shadow: 0px 3px 8px rgba(0,0,0,.4);
}
.ie6 #header-social 
,.ie7 #header-social 
,.ie8 #header-social 
{
	behavior: url('/css/PIE.htc');
}

#header-social-inner {
	background: white;
	padding: 5px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
	-moz-box-shadow: 0px 0px 8px rgba(0,0,0,.3);
	-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,.3);
	box-shadow: 0px 0px 8px rgba(0,0,0,.3);
}
.ie6 #header-social-inner 
,.ie7 #header-social-inner
,.ie8 #header-social-inner  
{
	behavior: url('/css/PIE.htc');
	position: relative;
}
.ie7 #header-social-inner {
	height: 30px;
}
.twitter-share-button {
	vertical-align: bottom;
}

#nav {
	font-size: 180%;
	position: absolute;	
	line-height: 1.5;
	bottom: 0;
	right: 0;
	margin-bottom: 10px;
	margin-right: 10px;
}

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

#nav ol, #nav ul, #nav li {
	margin: 0;
	padding: 0;
}

#nav li {
	list-style-type: none;
	float: left;
	border-left: 1px dotted #999;
	padding-left: .4em;
	margin-left: .4em;
	padding-bottom: 0;
	padding-top: 0;
}

#nav li:first-child {
	border: none;
}

#nav a:hover{
	color: #333;
}

#nav .active a {
	color: #00aeef;
}

#frame-shadow {
	padding: 0 100px 100px 100px;
	margin: 0 auto;
	width: 850px;
	background: url('/media/images/bg_blur.png') no-repeat;
	background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-webkit-background-size: 100% 100%;
}
.ie6 #frame-shadow
,.ie7 #frame-shadow
,.ie8 #frame-shadow
{
	background-image: none;
	position: relative;
}

#frame-outer {
	background: #ccc;
	width: 830px;
	padding: 10px;
	-moz-box-shadow: 0px 3px 8px rgba(0,0,0,.4);
	-webkit-box-shadow: 0px 3px 8px rgba(0,0,0,.4);
	box-shadow: 0px 3px 8px rgba(0,0,0,.4);
}
.ie6 #frame-outer
,.ie7 #frame-outer
,.ie8 #frame-outer
{
	behavior: url('/css/PIE.htc');
	position: relative;
}
#frame-inner {
	background: white;
	padding: 15px;    
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0px 0px 8px rgba(0,0,0,.3);
	-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,.3);
	box-shadow: 0px 0px 8px rgba(0,0,0,.3);
}
.ie6 #frame-inner
,.ie7 #frame-inner
,.ie8 #frame-inner
{
	behavior: url('/css/PIE.htc');
	position: relative;
}
#h1-wrapper{
	background-color: #60d4ff;
	height:96px; 
	overflow:hidden;
}
#logo-wrapper{
	 float:right;
	 direction:rtl;
	 text-align:right;
}
#content{
	padding:20px;
	background:#eee;
}

/* Layout */
#footer {
	font-size:95%;
	padding-top: 10px;
	color: #666;
	overflow:hidden;
}
#footer a{
	color: #666;
}
#footer-links{
	float: left;
	white-space: pre;
}
#footer-legal{
	white-space: pre;
	float:right;
}
/* Tables */
table {}
td{
	vertical-align:top;
}
th {}
th a {}
th a:hover {}
.linetable td{
	border-bottom:1px solid #333;
	padding:3px 0;
}
/* Forms */
form {
	padding:0;
	margin:0;
}
input,textarea,select{
	font-size:100%;
	margin-bottom:1em;
	/*
	width:100%;
	padding:2px;
	background:#99ccff;
	border:1px solid #ccc;*/
}
fieldset {
	border: 1px solid #333;
	padding: 16px 20px;
}
fieldset legend {
	font-size: 120%;
	font-weight: bold;
	padding:0.5em;
	margin:0;
	color:#ccc;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
label {
	display: block;
}
.inlineinput{
	width:auto;
}
.submit{
	clear:both;
	display:block;
}
.success{
	color:#CC3333;
}
.required{
	color:#CC3333;
}
a.button {
	font-weight: bold;
	text-decoration: none;
	color: #777;
	text-align: center;
	display: -moz-inline-box;
	display: inline-block;
	line-height: 26px;
	height: 26px;
	padding: 0 .5em;
	border: 1px solid #999;
	background: #ddd;
	background: -moz-linear-gradient(top, #fff, #ddd, #eee);
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd), to(#eee));
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	float: left;
	margin-right: 3px;
	-pie-background: linear-gradient(90deg, #eee, #ddd, #fff);
}
a.button:hover {
	background: #ccc;
	background: -moz-linear-gradient(top, #ddd, #bbb, #ccc);
	background: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#bbb), to(#ccc));
	-pie-background: linear-gradient(90deg, #ccc, #bbb, #ddd);
	color: #555;
}
p a.button:last-child {
	margin-right: 0;
}
.ie6 a.button
,.ie7 a.button
,.ie8 a.button
{
	zoom: 1;
	display: inline;
	behavior: url('/css/PIE.htc');
	position: relative;
}
/* content styling */
pic, .picleft, .picright, .picleftholder img, .picleftholder img{
	border:1px solid #ccc;
	background:#fff;
	padding:5px;
}
.picleftholder, .picrightholder{
	border:10px solid #333;
}
.picleft, .picleftholder{
	clear:left;
	float:left;
	margin:0.4em 15px 0 0;
}
.picright, .picrightholder{
	clear:right;
	float:right;
	margin:0.4em 0 0 15px;
}
caption{
	font-size:85%;
	color:#999;
	margin-bottom: 15px;
	margin-top: 4px;
	padding-top: 4px;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clearfix:after {
	content: "\0020";
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; 
}
.clearfix {
	zoom: 1;
}

