@font-face {
   font-family: "URW Gothic L";
   font-weight: normal;
   src: url("font/URWGothicL-Book.eot");
   src: local("Avant Garde Gothic"), local("Avant Garde"), url("font/URWGothicL-Book.otf") format("opentype");
}

/**
 * pretty font 
 */
h1,h2,h3,#logo,.buttonbar, dt a, .buttons, legend {
	font-family: "URW Gothic L", "Avant Garde Gothic","Avant Garde","Century gothic","Futura",sans-serif;
	font-weight: normal;
}

html, body { margin: 0;	padding: 0; }
body {
	background: #000 url("img/body2.jpg") center top; 
	padding: 13px 12px;
	font-family: verdana, sans-serif;
	font-size: 12px;
	line-height: 1.5;
}

/**
 --- default styles
*/
p, form, fieldset,h1,h2,h3 { margin: 0; padding: 0; }
a img { border: none; }
img,input { vertical-align: middle; }

span.underline {
	text-decoration: underline; 
}

a {
	text-decoration: none;
}

/**
 * Ruler style
 */
.hr {
	height: 10px;
	overflow: hidden;
	margin-bottom: 10px;
	border-bottom: 2px groove #EFEBE7;
}
.hr hr {
	display: none;
}


/**
 * A buttonbar like the main menu
 */
.buttonbar {
	border-top: 1px solid #FFF 
}
.buttonbar, .buttonbar li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 28px;
	line-height: 28px;
	background: #5d5d5d url("img/button_sprite.gif") bottom left repeat-x;
}
.buttonbar li {
	float: left;
	background-position: top right;
	padding-right: 1px;
	font-size: 13px;
}
.buttonbar li a, .buttons a.submit {
	color: #EFEFEF;
	opacity: 0.9;
   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
}

.buttons a.submit {
	float: left;
	font-size: 13px;
	cursor: pointer;
}
.buttonbar li a, .buttonbar li a span, .buttons a.submit , .buttons a.submit span {
	background: #5d5d5d url("img/button_sprite.gif") left -56px repeat-x;
	display: block;
	padding: 0 0 0 25px;
	text-decoration: none;
}
.buttonbar li a span, .buttons a.submit span {
	padding: 0 25px 0 0;
	background-position: right -56px;
	color: #EFEBE7;
}
.buttonbar li a:hover, #wrapper .buttons a.submit:hover {
	background-position: left -28px;
	text-decoration: none;
}
.buttonbar li a:hover span, .buttons a.submit:hover span {
	padding: 0 25px 0 0;
	background-position: right -28px;
	color: #223866;
}
.buttonbar li a:active span, .buttons a.submit:active span {
	color: #ddc799;
}



/**
 * Gradient boxes
 */
.gradbox {
	background: #7d7d7d url("img/grad.jpg") top left no-repeat;
	color: #EFEBE7;
}
.gradbox .ig {
	padding: 5px 10px 10px 20px;
}
.gradbox h1, h2, h3, legend {
	margin: 0;
	padding: 3px 0 3px 9px;
	font-size: 16px;
	color: #ddc799;
	
}
.gradbox h3 {
	padding: 0;
	font-size: 14px;
}
.gradbox a, #sidebar a {
	color: #ddc799;
}
.gradbox a:active, #sidebar a:active {
	color: #fe9f34;
}



/**
 --- clear list styling for structural lists
*/
.flat, .flat li, .flat dt, .flat dd {
	margin: 0;
	padding: 0;
	list-style-type: none;
}


/**
 * pagination
 */
.prevnext {
	height: 20px;
	line-height:  20px;
}
.prevnext .prev {
	float: left;
}
.prevnext .next {
	float: right;
}







/**
 --- Site width and blocks
*/

#wrapper {
	width: 902px;
	border: 5px solid #333740;
	border-top: 4px solid #333740;
	border-right: 4px solid #333740;
	margin: 0 auto;
	position: relative;
	background: #333740 url("img/wrapper.gif") top left;
}
/* fake rounded corners with redudant spans */
#ex1 {
	display: block;
	height: 1px;
	line-height: 1px;
	overflow: hidden;
	width: 910px;
	background: #7d7d7d;
	position: absolute;
	top: -5px;
	left: -4px;
}
#ex2 {
	position: absolute;
	display: block;
	width: 1px;
	top: -5px;
	bottom: -4px;
	left: 906px;
	background: #7d7d7d;
	border-top: 1px solid #4d4d4d;
}

#logo {
	display: block;
	height: 70px;
	border: 1px solid #FFF;
	border-bottom: none; 
	background: #223866 url("img/header.jpg") top left no-repeat;
	margin: 0; padding: 0;
}
#logo a {
	padding-left: 29px;
	display: block;
	height: 70px;
	line-height: 70px;
	font-size: 25px;
	color: #FFF;
	margin-right: 675px;
	white-space: nowrap;
}
#mainmenu {
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	z-index: 25px;
}
#wrapper #mainmenu li {
	font-size: 16px;
	position: relative;
	z-index: 25;
}
#mainmenu li.first a {
	padding-left: 29px; 
}
#mainmenu li.first a span {
	padding-right: 29px; 
}

#mainmenu li:hover ul.submenu {
	display: block;
}
#mainmenu li ul.submenu {
	position: absolute;
	display: none;
	top: 27px;
	left: -7px;
	padding: 0 7px 7px 7px;
	width: 150px;
	background: url("img/submenu.png") bottom left no-repeat;

}
#mainmenu li ul.submenu li {
	float: left;
}
#mainmenu li ul.submenu li a span {
	width: 100px;
	padding: 0 25px 0 0;
	font-size: 13px;
}
#mainmenu li ul.submenu li a {
	padding-left: 25px;
}


#breadcrumb {
	height: 12px;
	line-height: 12px;
	font-size: 9px;
	padding-left: 29px;
	color: #AAA;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
}

#breadcrumb a {
	color: #AAA;
}
#breadcrumb a:hover {
	color: #EFEBE7;
}
#breadcrumb a:active {
	color: #ddc799;
}


#descbar {
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
}
#descbar .inner {
	background: url("img/descbar.gif") bottom left no-repeat;
	position: relative;
	z-index: 1;

}

#descbar #description {
	width: 540px;
	padding-bottom: 1px;
	padding: 5px 10px 5px 20px;
}
#descbar #course {
	float: right;
	width: 288px;
	border-left: 12px solid  #333740;
	padding-bottom: 1px;
	padding: 5px 10px 33px 20px;
}
#descbar #course p {
	line-height: 1.2;
	padding-bottom: 5px;
}
#descbar .buttonbar {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 318px;
}

#descbar .clear { margin: 0; }



div.clear {
	clear: both;
	border: none;
	height: 0;
}


#contentwrapper {
	background: #7d7d7d  url("img/contentbot.gif") top left;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	border-left: 1px solid #FFF;
}

#desc {
	border-bottom: 12px solid #333740;
}
#desc.img .ig {
	padding: 3px;
}
#desc.img .ig  img {
	border: 1px solid #CCC;
}

#artwrap {
	float: left;
	width: 570px;
	border-right: 12px solid #333740;
}

#main {
	min-height: 250px;
	padding-bottom: 10px;
}
#main .lead {
	padding-bottom: 10px;
	font-weight: bold;
	color: #e3dfdb;
}

#main h3, #news h3 {
	padding: 5px 0 10px 9px;
}
#main a:hover , #news a:hover {
	text-decoration: underline;
}
#main strong, #news strong {
	color: #dfdcd8;
}
#main p, #news p {
	padding: 2px 0 5px 0; 
}
#main .hf, #news .hf {
	margin: 0 0 0 9px;
	padding: 0 0 0 10px;
}
#main .img img, #news .img img {
	border: 1px solid #CCC;
}
#main .imgcaption {
	color: #dfdcd8;
	font-size: 10px;
	font-style: italic;
}






#sidebar {
	width: 318px;
	float: right;
	color: #EFEBE7;
}
#sidebar h2 { padding-left: 29px; }
#sidebar dl dt {
	padding-top: 5px; 
	font-size: 14px;
}
#sidebar dl {
	margin: 0 0 0 10px;
	padding: 0 10px 5px 10px;
}
#sidebar dl .date {
	font-style: italic;
	color: #cfcbc8;
}
#sidebar dl dd {
	font-family: verdana, sans-serif;
	padding-bottom: 5px;
	font-size: 11px;
}
#sidebar dl dd a {
	white-space: nowrap;
}
#sidebar #cimg {
	padding: 3px;
	position: relative;
	border-bottom: 12px solid #333740;
}
#sidebar #cimg img {
	border: 1px solid #CCC;
}

#contentwrapper .clear, #homewrapper .clear {
	margin: 0;
}




/**
 * Homepage ...
 */
#homewrapper {
	background: #7d7d7d  url("img/homebot.gif") top left;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	border-left: 1px solid #FFF;
}
#news {
	min-height: 528px;
	width: 360px;
	float: left;
	font-family: verdana, sans-serif;
}

#news .lead {
	font-family: verdana, sans-serif;
	padding-bottom: 10px;
	font-size: 12px;
}
#news .lead .date {
	font-style: italic;
	color: #cfcbc8;
}
.newsmeta {
	font-size: 10px;
	padding:  0 0 5px 9px;
}


#testimonial {
	width: 528px;
	margin-left: 12px;
	float: right;
	position: relative;
	background: #7d7d7d url("img/dot.gif") top left no-repeat;
}

.imagebar {
	height: 108px;
	background: #7d7d7d url("img/dot.gif") top right no-repeat;
}
.imagebar li.i1 {
	background: #7d7d7d url("img/dot.gif") top left no-repeat;
}	

#imagetrick {
	height: 108px;
	overflow: visible;
	position: relative;
}
#imagetrick li, .imagebar li {
	width: 102px;
	height: 102px;
	background: #7d7d7d ;
	float: left;
	padding: 3px 0 0 3px;
}
#imagetrick li.i6  {
	position: absolute;
	left: 0;
	top: 105px;
}
#imagetrick li.i7 {
	position: absolute;
	left: 0;
	top: 210px;
}
#imagetrick li.i8 {
	position: absolute;
	left: 0;
	top: 315px;
}
#imagetrick li.i9 {
	position: absolute;
	left: 0;
	top: 420px;
}
#imagetrick li img, .imagebar li img {
	border: 1px solid #CCC;
}
#testimonial .inner {
	border-top: 12px solid #333740;
	border-left: 12px solid #333740;
	width: 408px;
	float: right; 
}

#imagetarget {
	margin: 0;
	padding: 0;
	position: relative;
}
#imagetarget div.animation {
	position: absolute;
	top: 0;
	left: 0;
}
#imagetarget div img {
	border: 1px solid #CCC;
	margin: 3px;
}
#imagetarget #about {
	padding: 5px 15px 10px 20px;
}
#imagetarget .ani {
	visibility: hidden;
}
#about p {
	padding-bottom: 6px; 
}	
#about img {
	float: right;
		
}






/**
 * Image galleries
 */

/**
 * Course list, gallery list
 */
#gallerylist li,
.courselist li {
	border: 1px solid #CCC;
	position: relative;
	margin-right: 10px;
	line-height: 1.2;
	margin-bottom: 12px; 
	background: #7d7d7d url("img/grad.jpg") top left no-repeat;
	zoom: 1;
}
#gallerylist li {
	line-height: 1.4;
}
#gallerylist li a.img img,
#wrapper .courselist li a img {
	border: none;
}
#gallerylist li a.img,
.courselist li a.img {
	border: 1px solid #CCC;
	display: block;
	position: absolute;
	top: -1px;
	left: -1px;
	width: 70px;
	height: 70px;
	overflow: hidden;
}
#gallerylist li a.img {
	width: 100px;
	height: 100px;
}

.courselist li a.img:hover,
#gallerylist li a.img:hover {
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}
.courselist li div {
	min-height: 70px;
	margin-left: 80px;
	margin-right: 10px;
}
#gallerylist li div {
	min-height: 100px;
	margin-left: 110px;
	margin-right: 10px;
}
#wrapper #gallerylist li h3,
#wrapper .courselist li h3 {
	margin: 0;
	padding: 5px 0 0 0;
}




/**
 * 
 -- Forms
 *
 */
form {
	display: block;
	border: 12px solid #333740;
	margin: 10px 10px 0 0;
}
#sidebar form {
	border: none;
	margin: 0;
}
#sidebar form p.help {
	font-size: 11px;
	line-height: 1.2;
}
#sidebar form.duo {
	border-top: 12px solid #333740;
	border-bottom: 12px solid #333740;

}
fieldset {
	padding: 6px 12px 12px 12px;
	border: none;
}
fieldset legend {
	margin: 0;
	padding: 0;
}
form label {
	line-height: 1.5;
	display: block;
	color: #ddc799;
	font-weight: bold;
	padding: 4px 0 0 0;
}
input.text, textarea {
	border: 1px solid #333740;
	padding: 1px 2px;
	color: #5d5d5d;
	width: 475px;
	background: #EFEBE7;
	font-family: tahoma, verdana, sans-serif;
	font-size: 12px;
	line-height: 1.5;
}
input.text {
	height: 18px;
}
#sidebar form li {
	clear: left;
	padding-top: 4px;
}
#sidebar form li label {
	float: left;
	width: 100px;
}
#sidebar input.text {
	height: 16px;
}
#sidebar input.text, #sidebar textarea {
	width: 188px;
	font-size: 11px;
}
input.required, textarea.required {
	width: 470px;
	border-right: 6px solid #333740;
}
#sidebar input.required, #sidebar textarea.required {
	width: 183px;
	border-right: 6px solid #333740;
}
input.text:focus, textarea:focus {
	color: #222;
	background: #FFF;
}


#wrapper p.buttons {
	margin: 0;
	padding: 0;
	border-top: 1px solid #FFF;
	height: 28px;
	line-height: 28px;
	background: #5d5d5d url("img/button_sprite.gif") bottom left repeat-x;
}





/**
 --- UBB editor
 */
.ubbeditor textarea  {
	width: 437px;
	height: 180px;
}
.ubbeditor,
.ubbeditor .editor {
	position: relative;
}

.ubbeditor .buttons {
	position: absolute;
	top: 1px;
	right: 0;
	list-style-type: none;
	width: 28px;
	margin: 0; padding: 0;
}
.ubbeditor .buttons li {
	float: left;
	clear: none;
	padding: 0;
	margin: 0;
}


#wrapper .ubbeditor div h2 a,
#wrapper .ubbeditor .buttons li a {
	text-decoration: none;
}

.ubbeditor div h2 a,
.ubbeditor .buttons li a {
	display: block;
	line-height: 28px;
	width: 28px;
	background: url("img/ubb_buttons_sprite.gif") top left no-repeat;
}
.ubbeditor .buttons li a * {
	visibility: hidden; 
}
.ubbeditor .buttons li a:active {
	color: #ddc799;
}
.ubbeditor .buttons li a.b { background-position: 0 0; }
.ubbeditor .buttons li a.b:active { background-position: 0 -28px; }
.ubbeditor .buttons li a.b:hover { background-position: 0 -56px; }

.ubbeditor .buttons li a.i { background-position: -28px 0; }
.ubbeditor .buttons li a.i:hover  { background-position: -28px -56px; }
.ubbeditor .buttons li a.i:active { background-position: -28px -28px; }

.ubbeditor .buttons li a.u { background-position: -56px 0; }
.ubbeditor .buttons li a.u:hover  { background-position: -56px -56px; }
.ubbeditor .buttons li a.u:active { background-position: -56px -28px; }

.ubbeditor .buttons li a.s { background-position: -84px 0; }
.ubbeditor .buttons li a.s:hover { background-position: -84px -56px; }
.ubbeditor .buttons li a.s:active { background-position: -84px -28px; }

.ubbeditor div h2 a { float: right; vertical-align: top; }
.ubbeditor div h2 a { background-position: -112px 0; }
.ubbeditor div h2 a:hover { background-position: -112px -56px; }
.ubbeditor div h2 a:active { background-position: -112px -28px; color: #ddc799; }

.ubbeditor div h2 {
	line-height: 28px;
	padding: 0;
	margin: 0;
}
.ubbeditor div.preview {
	border: 1px solid #CCC;
	border-bottom: none;
	position: absolute;
	bottom: -12px;
	left: -12px;
	width: 492px;
	padding: 6px;
	min-height: 240px;
	background: #8d8d8d url("img/ubb_preview.gif") top left repeat-x;
}
.ubbeditor div.preview div {
	margin: 10px auto 10px auto;
	width: 460px;
	line-height: 1.3;
}

/**
 * news item
 */
.article {
	overflow: auto;

}

/**
 * News listing
 */
ul.news li {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #8d8d8d;
}
#wrapper ul.news li h3 {
	padding-bottom: 0;
}
ul.news li .meta {
	position: relative;
	top: -3px;
	padding-left: 9px;
	font-size: 11px;
	color: #CFCBC8;
	font-style: italic;
}
#wrapper ul.news .comments {
	float: right;
	font-size: 11px;
	color: #CFCBC8;
	text-decoration: none;
}

ul.newslist li {
	position: relative;
	line-height: 24px;
	border-bottom: 1px solid #8d8d8d;
}
ul.newslist li .date {
	float: left;
	width: 100px;
	display: block;
}
#wrapper  ul.newslist li .comments {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 11px;
	color: #CFCBC8;
	text-decoration: none;
}
#wrapper ul.news .comments:hover,
#wrapper ul.newslist li .comments:hover {
	color: #ddc799;
}
#wrapper ul.news .comments:active,
#wrapper ul.newslist li .comments:active {
	color: #fe9f34;
}

/**
 --- Comment listing
 */
.ubb_styled span.underline {
	text-decoration: underline; 
}

#comments {
	background: #7d7d7d url("img/grad.jpg") top left no-repeat;
	border-top: 12px solid #333740;
	padding-top: 20px;
	clear: both;
	position: relative;
	left: -20px;
	width: 540px;
	padding: 10px 10px 0 20px;
	margin-top: 20px;
}
#comments h2 {
	margin: 0;
	padding-bottom: 0;
}

.addcomment {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
}

#wrapper .addcomment a {
	text-decoration: none;
}
.addcomment a {
	display: block;
	width: 28px;
	height: 28px;
	background: url("img/ubb_buttons_sprite.gif") -140px 0;
}
.addcomment a:hover  { background-position: -140px -56px; }
.addcomment a:active { background-position: -140px -28px; color: #ddc799; }
 
.addcomment a span { visibility: hidden; }

ul.comments {
	margin: 0 10px 0 0;
}
ul.comments li {
	clear: both; 
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	position: relative;
	border-bottom: 1px solid #8d8d8d;
}

ul.comments li .meta {
	background: url("img/th.gif") bottom right repeat-x;
	padding: 2px 9px;
	font-size: 11px;
	text-align: right;
}

ul.comments li .meta .name {
	float: left;
}
ul.comments li .actions {
	position: absolute;
	top: 30px;
	right: 0;
	width: 20px;
	height: 40px;
	overflow: visible;
	color: #ECECEC;
}
ul.comments li .actions a {
	color: #ECECEC;
	opacity: 0.6;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}
ul.comments li .actions a:hover {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
ul.comments li .message {
	min-height: 40px;
	padding: 6px 20px 6px 50px;
	color: #CFCBC8;
	line-height: 1.3;
}

ul.comments li .message .edited {
	font-size: 10px;
	display: block;
	position: relative;
	top: 5px;
	font-style: italic;
	color: #CCC;
} 
ul.comments li hr {
	display: none;
}






#gallerynav {
	border-bottom: 12px solid #333740;
	height: 28px;
}
#gallerynav li {
	float: left;
	width: 238px;
	padding: 0 12px;
	height: 28px;
	line-height: 28px;
	text-align: center;
}
#gallerynav .prev, #gallerynav .next, #gallerynav .prev a, #gallerynav .next a {
	display: block;
	width: 28px;
	height: 28px;
	padding: 0;
	background: url("img/prevnext_sprite.gif") left bottom;
}
#sidebar #gallerynav.working, #sidebar #gallerynav.working a {
	cursor: progress;
}

#gallerynav .prev a.inact, #gallerynav .prev a.inact:hover, #gallerynav .prev a.inact:active {
	background-position: left bottom;
}

#gallerynav .next, #gallerynav .next a.inact, #gallerynav .next a.inact:hover, #gallerynav .next a.inact:active {
 	background-position: right bottom;
 	cursor: default;
}
#gallerynav .next a {
 	background-position: top right ;
}
#gallerynav .next a:hover {
	background-position: right -56px;
}
#gallerynav .next a:active {
	color: #ddc799;
	background-position: right -28px;
}

#gallerynav .prev a {
 	background-position: left top;
 	cursor: default;
}
#gallerynav .prev a:hover {
	background-position: left -56px;
}
#gallerynav .prev a:active {
	color: #ddc799;
	background-position: left -28px;
}

#thumblist .prev span, #thumblist .next span {
	visibility: hidden;
}

#gallerynav li.c {
	text-align: right;
}
#gallerynav a span {
	display: none;
}


#thumblist li {
	float: left;
	padding: 3px 0 0 3px;
	overflow: hidden;
}
#thumblist li.current a {
	display: block;
	width: 100px;
	height: 100px;
	border: 1px solid #FFF;
}
#thumblist li.current img {
	width: 96px;
	height: 96px;
	border: 1px solid #5d5d5d;
	padding: 1px;
	background: #FFF;
}

#thumblist {
 padding-bottom: 3px;
}
#thumblist.working, #thumblist.working li a {
	cursor: progress;
}
#thumblist li a:hover {
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}
#thumblist li a img {
	border: 1px solid #CCC;
}


#image {
	position: relative;
	left: -5px;
	text-align: center;
}

#image.hasjs .imwrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#image img {
	border: 1px solid #CCC;
}
#image .description {
	text-align: left;
}
