/**** Basic Elements ****/
body {
	font-family:Verdana;
	margin:0px;
	padding:0px;
	color:#4d4a3f;
	/*font-size:62.5%;*/
	font-size:11px;
}

body#body {
	background:url(../images/body.gif) top center no-repeat;
}

p {
	margin:0px;
	padding:0px;
}

table {
	border-collapse:collapse;
}

img { 
	border: 0 none; 
}

pre {
	font-family:Trebuchet MS, Verdana;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: o-pre-wrap;
}

/******** Links ********/
a:link, a:visited {
	text-decoration:none;
	border:0px;
	color:#6c5d31;
}

a:hover {
	text-decoration:underline;
	border:0px;
	color:#514a35;
}

/****** Page Layout ******/
#body_1 {
	background:url(../images/footer.gif) no-repeat bottom center;
	padding-bottom:130px;
}

#container {
	width:850px;
	margin:auto;
}

#header {
	position:relative;
	height:80px;
}

#logo {
	position:absolute;
	bottom:0px;
	right:4px;
	font-family:Garmond;
	color:#514a35;
	font-size:32px;
	text-decoration:none;
}

.nav {
	list-style:none;
	position:absolute;
	z-index:5;
	top:56px;
	left:10px;
	margin:0px;
	height:22px;
}

.nav a {
	margin:0px 2px;
	background:url(../images/gray_95.png);
	font-size:14px;
	float:left;
	padding:3px 12px 4px;
	text-align:center;
	height:16px;
	border:1px solid #dddddd;
	border-bottom:none;
	font-family:Garmond;
	color:#514a35;
}

.nav a.selected, .nav a:hover {
	text-decoration:none;
	height:17px;
	background:url(../images/white_95.png);
}

#content {
	min-height:400px;
	padding:35px;
	border:1px solid #dddddd;
	background:url(../images/white_95.png);
}

.left {
	float:left;
	width:545px;
}

.right {
	float:left;
	margin-left:30px;
	width:200px;
}

#footer {
	position:relative;
	padding:15px 15px;
	color:#ffffff;
	margin-top:25px;
	font-family:Garmond;
	font-size:13px;
	color:#514a35;
	border:1px solid #dddddd;
	z-index:30;
	background:url(../images/white_95.png);
}

#footer .col {
	float:left;
	width:160px;
	margin:0px 20px;
}

#copyright {
	position:absolute;
	bottom:10px;
	right:15px;
	width:400px;
	text-align:right;
}

#parallax {
	position:absolute;
	overflow:hidden; 
	width:850px; 
	height:250px;
	z-index:1;
	margin-top:-120px;
}
#parallax .move {
	height:250px;
}
#parallax .move img {
	padding-left:60px;
}

/********* Forms *********/
form {
	margin: 0;
	padding: 0;
}

textarea, input[type=text], input[type=password] {
	padding:3px;
	font-size:12px;
	background:#ffffff;
	border:1px solid #ebebeb;
	font-family: Verdana;
}

.default {
	color:#999999;
}

.submit, .button { 
	cursor: hand;
	cursor: pointer; 
}

a.button {
	font-family:Garmond;
	float:left;
	padding:8px 20px;
	background:#514a35;
	border:2px solid #9a937f;
	color:#f5f5ea;
	font-size:20px;
	text-align:center;
	text-decoration:none;
}

a.button:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/******** Headings ********/
h1 {
	font-family:Garmond;
	font-size:22px;
	margin:0px;
	color:#514a35;
	font-weight:normal;
}

h1 a, h1 a:link, h1 a:hover, h1 a:visited, h2 a, h2 a:link, h2 a:hover, h2 a:visited {
	color:#514a35;
	text-decoration:none;
}

h2 {
	font-family:Garmond;
	color:#514a35;
	padding:2px;
	font-size:14px;
	margin:0px;
	font-weight:normal;
	border-bottom:2px dotted #b4af9d;
	margin-bottom:5px;
}

h3 {
	font-family:Garmond;
	color:#514a35;
	font-size:14px;
	font-weight:bold;
	padding:0px;
	margin:0px;
}

h4 {
	display:inline;
	font-size:10px;
	font-weight:normal;
	padding:0px;
	margin:0px;
	color:#777777;
}

.hr {
	border-bottom:5px dotted #b4af9d;
}

/******** Lists ********/
ul {
	margin: 0px;
	padding: 0px 0px 0px 15px;
}

li {
	margin: 0px;
	padding: 0px;
}

/****** Images *******/
img.box {
	padding:4px;
	background:#ffffff;
	margin-bottom:4px;
	border:1px solid #dddddd;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	box-shadow:#cfcfcf 3px 3px 4px;
	-moz-box-shadow:#cfcfcf 3px 3px 4px;
	-webkit-box-shadow:3px 3px 4px #cfcfcf;
}

ul.thumbs {
	list-style:none;
	padding:8px 0px;
	margin:0px;
}

ul.thumbs li {
	float:left;
	text-align:center;
	overflow:hidden;
}

ul.thumbs li.t {
	width:85px;
	height:80px;
}

ul.thumbs li.s {
	width:150px;
	height:130px;
}

ul.thumbs li.m {
	width:300px;
	height:300px;
}

div.li {
	text-align:center;
}

li.s .corner {
	position:absolute;
	margin-left:-70px;
	margin-top:-10px;
}

/***** Videos ******/
div.video {	
	background-repeat:no-repeat;
	background-position:center center;
	margin:auto;
}

.vbox {
	padding:4px;
	border:1px solid #cfcfcf;
	background:#ffffff;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	box-shadow:#cfcfcf 3px 3px 4px;
	-moz-box-shadow:#cfcfcf 3px 3px 4px;
	-webkit-box-shadow:3px 3px 4px #cfcfcf;
}

.s .vbox, .s .vbox .video {
	width:100px;
	height:75px;
}

.t .vbox, .t .vbox .video {
	width:50px;
	height:38px;
}

div.li .vbox, div.li .box {
	margin:0px auto 4px;
}

/***** Buttons ****/
div.button {
	position:relative;
}

.buttons {
	position:absolute;
	background:#ffffff;
	border:1px solid #dddddd;
	border-left:none;
	display:none;
	width:16px;
	height:38px;
	padding:4px;
	padding-left:0px;
	text-align:center;
	z-index:2;
	border-top-right-radius:3px;
	border-bottom-right-radius:3px;
	-moz-border-radius-topright:3px;
	-moz-border-radius-bottomright:3px;
	-webkit-border-top-right-radius:3px;
	-webkit-border-bottom-right-radius:3px;
	box-shadow:#cfcfcf 3px 3px 4px;
	-moz-box-shadow:#cfcfcf 3px 3px 4px;
	-webkit-box-shadow:3px 3px 4px #cfcfcf;
}	

.buttons img {
	padding:1px 0px 2px;
}

/* LI Buttons */
div.t .buttons {
	margin-left:69px;
}

div.s .buttons {
	margin-left:129px;
}

div.li.button:hover .box, .button:hover .vbox {
	border-top-right-radius:0px;
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
}

/* Table Buttons */
div.table .buttons {
	border:none;
	background:none;
	margin:0px;
	top:2px;
	right:2px;
	width:auto;
	height:16px;
	text-align:right;
}

/***** Tagging *****/
div.tag {
	color:#0084bc;
	border:1px solid #33ccff;
	background:#f9fdff;
	padding:3px;
	float:left;
	margin:2px;
}

.overflow { 
	max-height:150px;
	overflow:auto;
}

* html .overflow { 
	height: expression( this.scrollHeight > 149 ? "150px" : "auto" );
	max-height: 150px;
	overflow:auto;
}

#quicksearch, #quicksearch li {
	margin:0px;
	padding:0px;
	list-style:none;
}

#tags {
	max-height:100px;
	overflow:auto;
}

.checkbox {
	 position:absolute;
	 margin-left:33px;
	 margin-top:3px;
	 width:18px;
	 height:17px;
	 padding:4px;
	 background:#ffffff;
}

/********** Tabs *********/
div.h1 {
	position:relative;
}

div.h1 ul, div.h1 span {
	font-size:12px;
	color:#FFFFFF;
	text-align:right;
	margin-left:auto;
	list-style:none;
	position:absolute;
	margin-top:-21px;
	right:10px;
}

div.h1 span {
	right:5px;
}

div.h1 ul li {
	list-style:none;
	float:left;
	height:12px;
	padding:2px 8px 5px;
	margin:0px 2px;
	border:1px solid #cfcfcf;
	background:#f3f3f3;
	
}

div.h1 li.selected {
	background:#ffffff;
	height:13px;
	/*border:2px solid #94e4e8;*/
	border-bottom:none;
	/*border-top-left-radius:8px;
	border-top-right-radius:8px;
	-moz-border-radius-topleft:8px;
	-moz-border-radius-topright:8px;
	-webkit-border-top-left-radius:8px;
	-webkit-border-top-right-radius:8px;*/
}

div.h1 ul li.selected a, div.h1 ul li.selected a:link, div.h1 ul li.selected a:visited, div.h1 ul li.selected a:hover {
	color:#666666;
}

div.h1 li.author {
	padding:6px 8px 8px;
	background:#ffffff;
	border:2px solid #cfcfcf;
	text-align:center;
	height:auto;
	max-width:80px;
	/*border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;*/
}

div.h1 li.selected .white {
	color:#33ccff;
}

ul.subnav {
	list-style:none;
	padding:0px 5px;
	margin:0px;
	height:26px;
	border-bottom:1px solid #cfcfcf;
}

ul.subnav li {
	float:left;
	padding:5px 12px;
	height:15px;
	text-align:center;
	margin:0px 2px;
	border:1px solid #cfcfcf;
	background:#f3f3f3;
}

ul.subnav li.selected {
	border-bottom:1px solid #ffffff;
	background:#ffffff;
}

/********* Divs ********/
.clear {
	clear:both;
}

.absmiddle {
	vertical-align:middle;
}

div.red {
	margin:6px;
	padding:6px;
	color:#990000;
	border:1px solid #990000;
	background-color:#f8f0f0;
}

div.green {
	margin:6px;
	padding:6px;
	color:#608112;
	border:1px solid #8DA820;
	background-color:#eff4e5;
}

div.blue {
	margin:6px;
	padding:6px;
	color:#0084bc;
	border:1px solid #33ccff;
	background-color:#f9fdff;
}

div.center {
	margin:auto;
	text-align:center;
	width:400px;
}

.fade {
	opacity:.30;
	filter: alpha(opacity=30); 
	-moz-opacity: 0.3;
}

.hover {
	opacity:.70;
	filter: alpha(opacity=70); 
	-moz-opacity: 0.7;
}

.hover:hover {
	opacity:1.0;
	filter: alpha(opacity=100); 
	-moz-opacity: 1.0;
}

.p {
	display:inline;
	width:20px;
	padding:2px 5px 3px 5px;
	margin:0px 2px;
	font-weight:bold;
	background:#FFFFFF;
	border:1px solid #CFCFCF;
}

.p.selected {
	background:#f3f3f3;
}

.row {
	border-bottom:1px solid #e7e7e7;
}

div.box, div.code {
	padding:15px;
	background:url(../images/gray_95.png);
}

div.code {
	border:1px solid #514a35;
}

div.preview {
	min-height:120px;
	max-height:300px;
	overflow:hidden;
	position:relative;
}

div.preview_fade {
	position:absolute;
	bottom:0px;
	left:0px;
	height:150px;
	width:100%;
	background:url(../images/preview.png) repeat-x;
	z-index:2;
}

.quote {
	padding:6px;
	border:1px solid #33ccff;
	background:#f9fdff;
}

.quote .quote {
	background:#fbfcfe;
}

.quote .quote .quote {
	background:#ffffff;
}

.quote div {
	padding:4px 6px;
}

/****** Inline Edit *******/
.inline {
	padding:6px;
	position:relative;
	background:none;
	height:13px;
}

.inline:hover {
	background:#eeeeee;
	border:1px solid #cfcfcf;
	padding:4px 5px;
}

.inline:hover .inline_edit {
	top:2px;
	right:0px;
}

.inline_edit {
	position:absolute;
	top:4px;
	right:1px;
	display:none;
	width:20px;
}

/***** Validation *****/
label.error {
	margin-left: 5px;
	width: auto;
	display: inline;
	color:#B80A0A;
	display: none;
}

/***** Tooltips *****/
#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #111;
	background-color: #eee;
	padding: 12px;
	opacity: 0.90;
	filter: alpha(opacity=90);
	font-size:12px;
	max-width:250px;
}
#tooltip h3, #tooltip div { 
	margin: 0;
	font-size:12px;
	font-weight:normal;
}

/***** Tables *****/
.even {
	background-color:#ffffff;
}

.odd {
	background-color:#f9f9f6;
}

/***** Auto Complete *****/
.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url(../images/ajax-loader.gif) right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #0A246A;
	color: white;
}

/***** Rating ******/
.rating {
	clear: both;
	display: block;
}
.rating:after {
	content: '.';
	display: block;
	height: 0;
	width: 0;
	clear: both;
	visibility: hidden;
}
.cancel,
.star {
	float: left;
	width: 17px;
	height: 15px;
	overflow: hidden;
	text-indent: -999em;
}
.star-left,
.star-right {
  width: 8px
}
.cancel,
.cancel a {background: url(../images/delete.png) no-repeat 0 -16px;}

.star,
.star a {background: url(../images/star.gif) no-repeat 0 0px;}
.star-left,
.star-left a {background: url(../images/star-left.gif) no-repeat 0 0px;}
.star-right,
.star-right a {background: url(../images/star-right.gif) no-repeat 0 0px;}
	
.cancel a,
.star a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0px;
	cursor: pointer;
}

div.rating div.on a {
	background-position: 0 -16px;
}
div.rating div.hover a,
div.rating div a:hover {
	background-position: 0 -32px;
}

.cancel {
	display:none;
}

/********** jwysiwyg *********/
div.wysiwyg { border: 1px solid #cccccc; padding: 5px; background-color: #ffffff; }
div.wysiwyg * { margin: 0; padding: 0; }

div.wysiwyg ul.panel { border-bottom: 1px solid #cccccc; float: left; width: 100%; padding: 0 0 4px 0; }
div.wysiwyg ul.panel li { list-style-type: none; float: left; margin: 0 2px;  background: #ffffff;}
div.wysiwyg ul.panel li.separator { height: 16px; margin: 0 4px; border-left: 1px solid #cccccc; }
div.wysiwyg ul.panel li a { opacity: 0.6; display: block; width: 16px; height: 16px; background: url('../images/jquery.wysiwyg.gif') no-repeat -64px -80px; border: 0; cursor: pointer; padding: 1px; }
div.wysiwyg ul.panel li a:hover, div.wysiwyg ul.panel li a.active { opacity: 0.99; }
div.wysiwyg ul.panel li a.active { background-color: #f9f9f9; border: 1px solid #cccccc; border-left-color: #aaaaaa; border-top-color: #aaaaaa; padding: 0; }

div.wysiwyg ul.panel li a.bold { background-position: 0 -16px; }
div.wysiwyg ul.panel li a.italic { background-position: -16px -16px; }
div.wysiwyg ul.panel li a.strikeThrough { background-position: -32px -16px; }
div.wysiwyg ul.panel li a.underline { background-position: -48px -16px; }

div.wysiwyg ul.panel li a.justifyLeft { background-position: 0 0; }
div.wysiwyg ul.panel li a.justifyCenter { background-position: -16px 0; }
div.wysiwyg ul.panel li a.justifyRight { background-position: -32px 0; }
div.wysiwyg ul.panel li a.justifyFull { background-position: -48px 0; }

div.wysiwyg ul.panel li a.indent { background-position: -64px 0; }
div.wysiwyg ul.panel li a.outdent { background-position: -80px 0; }

div.wysiwyg ul.panel li a.subscript { background-position: -64px -16px; }
div.wysiwyg ul.panel li a.superscript { background-position: -80px -16px; }

div.wysiwyg ul.panel li a.undo { background-position: 0 -64px; }
div.wysiwyg ul.panel li a.redo { background-position: -16px -64px; }

div.wysiwyg ul.panel li a.insertOrderedList { background-position: -32px -48px; }
div.wysiwyg ul.panel li a.insertUnorderedList { background-position: -16px -48px; }
div.wysiwyg ul.panel li a.insertHorizontalRule { background-position: 0 -48px; }

div.wysiwyg ul.panel li a.h1 { background-position: 0 -32px; }
div.wysiwyg ul.panel li a.h2 { background-position: -16px -32px; }
div.wysiwyg ul.panel li a.h3 { background-position: -32px -32px; }
div.wysiwyg ul.panel li a.h4 { background-position: -48px -32px; }
div.wysiwyg ul.panel li a.h5 { background-position: -64px -32px; }
div.wysiwyg ul.panel li a.h6 { background-position: -80px -32px; }

div.wysiwyg ul.panel li a.cut { background-position: -32px -64px; }
div.wysiwyg ul.panel li a.copy { background-position: -48px -64px; }
div.wysiwyg ul.panel li a.paste { background-position: -64px -64px; }

div.wysiwyg ul.panel li a.increaseFontSize { background-position: -16px -80px; }
div.wysiwyg ul.panel li a.decreaseFontSize { background-position: -32px -80px; }

div.wysiwyg ul.panel li a.createLink { background-position: -80px -48px; }
div.wysiwyg ul.panel li a.insertImage { background-position: -80px -80px; }

div.wysiwyg ul.panel li a.html { background-position: -48px -48px; }
div.wysiwyg ul.panel li a.removeFormat { background-position: -80px -64px; }

div.wysiwyg ul.panel li a.empty { background-position: -64px -80px; }

div.wysiwyg iframe { border: 0; margin: 5px 0 0 0; clear: left; }

/***** Thickbox *****/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../images/overlay.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
	/*border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;*/
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 20px 0 0 15px;
}

#TB_caption{
	padding:7px 30px 10px 25px;
}

#TB_closeWindow{
	height:20px;
	position:absolute;
	top:3px;
	right:3px;
}

#TB_closeAjaxWindow{
	padding:5px;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background:#514a35;
	height:27px;
	color:#ffffff;
	border-top-left-radius:2px;
	border-top-right-radius:2px;
	-moz-border-radius-topleft:2px;
	-moz-border-radius-topright:2px;
	-webkit-border-top-left-radius:2px;
	-webkit-border-top-right-radius:2px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}