/* RESET - themelock.com */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin : 0;
padding : 0;
border : 0;
outline : 0;
font-size : 100%;
vertical-align : baseline;
background : transparent;
}
body {
line-height : 1;
}
ol, ul {
list-style : none;
}
blockquote, q {
quotes : none;
}
blockquote:before, blockquote:after, q:before, q:after {
content : '';
content : none;
}
:focus {
outline : 0;
}
ins {
text-decoration : none;
}
del {
text-decoration : line-through;
}
table {
border-collapse : collapse;
border-spacing : 0;
}
a {
text-decoration: none;
}

/* RESET ENDS HERE */

/* Global styles */

* {
	font-family: Helvetica, Arial, sans-serif;
	color: #666;
	font-size: 14px;
	line-height: 1.3em;
}

/* Headers */

h1 {
	font-family: Georgia, Arial, sans-serif;
	color: #1a1a1a;
	font-size: 2em;
	padding: 20px 0 5px;
	font-weight: normal;
	border-bottom: 1px solid #dfdfdf;
	margin-bottom: 15px;
}
h1.nomargin {
	margin: 0;
}
h2 {
	font-family: Georgia, Times New Roman, serif;
	font-size: 1.6em;
	color: #333;
	font-weight: normal;
	padding: 10px 0 10px;
}
h2 a {
	font-family: inherit;
	letter-spacing: inherit;
	color: inherit;
}
h3 {
	font-family: Lucida Grande, Arial, serif;
	font-size: 1.2em;
	color: #333;
	letter-spacing: -1px;
	_letter-spacing: normal;
	padding: 10px 0 10px;
}
h4 {
	font-family: Lucida Grande, Arial, serif;
	color: #333;
	letter-spacing: -1px;
	_letter-spacing: normal;
	font-size: 1em;
	padding: 0.5em 0 0.5em;
}
h5 {
	font-family: Georgia, Times New Roman, serif;
	color: #333;
	font-size: 1em;
	font-weight: normal;
	font-style: italic;
	padding: 0.5em 0 0.5em;
}

/* ULs */

ul li {
	padding: 2px 0 2px;
	color: #333;
}
#main li {
	border-bottom: 1px solid #ddd;
}
ul.disc li {
	list-style: disc;
	margin: 0 0 0 5px;
	list-style-position: inside;
}
ul.circles li {
	list-style-type: circle;
	list-style-position: inside;
	margin: 0 0 0 5px;
}
ul.roman li {
	list-style-type: upper-roman;
	list-style-position: inside;
	margin: 0 0 0 5px;
}
.post_list li {
	padding: 0;
}
ul.post_list h4, .blog_posts h4 {
	padding: 0;
}

/* Tables */

table {
	width: 100%;
	margin: 0.8em 0 2em;
	border-bottom: 4px solid #e6e6e6;
}
table th {
	font-family: Arial, serif;
	color: #333;
	border-bottom: 1px dotted #d6d6d6;
	border-right: 1px dotted #d6d6d6;
	font-size: 1.1em;
	padding: 0.2em 0.2em 0.4em;
}
table td {
	padding: 0.2em;
	border-bottom: 1px dotted #d6d6d6;
	border-right: 1px dotted #d6d6d6;
	font-size: 0.8em;
}
table td.last, table th.last {
	border-right: none;
}
td.currency {
	vertical-align: middle;
	line-height: 0.8em;
}
.currency strong {
	color: #f8981d;
	font-size: 3em;
}
.currency span, .currency a {
	color: #333;
	font-size: 0.8em;
	font-weight: normal;
	font-family: inherit;
}
.currency a {
	border-bottom: 1px dashed;
	background: url('img/arrow.gif') no-repeat right center;
	padding-right: 10px;

}

/* Paragraphs and links */

p {
	font-size: 14px;
	padding: 0 0 0.6em;
	color: #777;
}
p a {
	color: #f8981d;
	font-family: inherit;
}
p.align-center {
	text-align: center;
}
p.align-left {
	float: left;
	text-align: left;
	margin-right: 20px;
}
a {
	font-family: Lucida Grande, Arial, serif;
	color: inherit;
}
strong {
	color: #333;
	font-size: 1em;
	font-family: inherit;
}
hr {
	border: none;
	border-top: 1px dashed #ccc;
	margin: 20px 0;
}

/* Buttons */

p.read_more {
	text-align: right;
	margin: 10px 0 0;
}
p.read_more a {
	background: url('img/NRGsprite.png') no-repeat left -12px;
	padding: 10px 14px 10px;
	*padding: 8px 15px 19px;
	_padding: 8px 13px 10px;
	color: #333;
	font-family: Lucida Grande, arial, serif;
	letter-spacing: -1px;
	text-shadow: 0 1px 0 #fff;
	font-size: 0.9em;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
}
p .form_submit {
	font-size: 1em;
}

/* Img */

img {
	background: #d3d3d3;
	padding: 5px;
	border: 1px solid #bbb;
}
img.align_left {
	display: block;
	float: left;
	margin: 5px 10px 0 0;
}
img.align_center {
	display: block;
	margin: auto;
}
img.align_right {
	display: block;
	float: right;
	margin: 5px 0 10px 10px;
} 

/* Etc */

span {
	font-family: inherit;
	color: inherit;
	letter-spacing: inherit;
}
.body {
	width: 950px;
	margin: auto;
}
/* CODE */

code, pre {
	display:block;
	font-family:"Courier New",Courier,Consolas,Monospace;
	font-size:12px;
	font-weight:normal;
	line-height:18px;
	margin: 0 0 30px;
	overflow:auto;
	padding:10px;
	white-space:pre;
	background: #fff;
	color: #333;
	text-shadow: none;
	letter-spacing: normal;
	border: 1px solid #f2f2f2;
	border-left: 20px solid #f2f2f2;
}


/* Header */

#header {
	background: url('img/body_back.png') no-repeat center top;
	height: 95px;
	position: relative;
	z-index: 10;
}
#header.inner {
	background: url('img/head_back.jpg') no-repeat center top #1a1a1a;
	height: 168px;
	margin-bottom: 10px;
}
#header .body {
	width: 950px;
	margin: auto;
	padding: 18px 0 0;
}
h1.logo {
	border: 0;
	padding: 0;
	margin: 0;
	width: 320px;
	float: left;
}
h1.logo a {
	display: block;
	height: 70px;
	text-indent: -9999px;
	background: url('img/NRGsprite.png') no-repeat left -30px;
}
#header .navigation {
	float: right;
	height: 61px;
	position: relative;
	padding: 0;
}
#header .navigation li {
	float: left;
	position: relative;
}
#header .navigation li.current {
	
}
#header .navigation li a {
	height: 53px;
	color: #808080;
	text-transform: uppercase;
	font-size: 0.8em;
	padding: 13px 10px 0;
	display: block;
	float: left;
	letter-spacing: -1px;
	_letter-spacing: normal;
}
#header .navigation li.current a,
#header .navigation li a:hover {
	color: #fff;
	border-bottom: 3px solid #fff;
}

/* Subnav */

ul.subnav {
	position: absolute;
	z-index: 100;
	top: 72px;
	left: 55px;
	width: 180px;
	border: 1px solid;
	background: #333;
	border: 1px solid #222;
	border-top: 2px solid #222;
	-webkit-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
	border-radius: 0 0 8px 8px;
	display: none;
}
#header ul.subnav li {
	float: none;
	width: auto;
	padding: 0;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #444;
	border-top: none;
	border-bottom: none;
}
#header ul.subnav li.last {
	-webkit-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
	border-radius: 0 0 8px 8px;
	border-bottom: 1px solid #444;
	padding-bottom: 8px;
}
#header ul.subnav li.first {
	padding-top: 5px;
}
#header ul.subnav li a {
	padding: 0;
	margin: 0;
	display: inline;
	color: #fff;
	text-transform: none;
	color: #808080;
	float: none;
}
#header li.current .subnav li a {
	border: none;
	color: #808080;
}
#header ul.subnav li a:hover {
	color: #fff;
	border: none;
}

/* Slider */

#slider {
	height: 305px;
	background: no-repeat center top #1a1a1a;
	margin: -95px 0 10px;
	position: relative;
	padding: 95px 0 0;
	z-index: 1;
	background-image: none;
}
#slider.preloader {
	background: url('img/preloader.gif') no-repeat center center #1a1a1a;
}
.slides {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	_height: 400px;
	zoom:1;
	background-position: center top;
	background-repeat: no-repeat;
	display: none;
}
.slides .body {
	background: url('img/slider_body_back.png') repeat-y;
	position: relative;
	padding: 20px;
	height: 270px;
	top: 90px;
}
#slider .description {
	position: absolute;
	bottom: 15px;
	width: 650px;
}
#slider p, #slider h1, #slider h2, #slider h3, #slider h4{
	font-family: Lucida Grande, sans-serif;
	letter-spacing: -1px;
	_letter-spacing: normal;
	color: #fff;
}
#slider h1 {
	border: none;
	margin: 0;
	font-size: 3em;
	padding: 0 0 10px 0;
	font-weight: bold;
	text-transform: uppercase;
	color: #f8981d;
	line-height: 1em;
}
#slider h2 {
	font-size: 1.3em;
}
#slider p {
	color: #fff;
}
.slides.current {
	z-index: 10;
	display: block;
}
.slides.prev {
	z-index: 5;
	display: block;
}
#slider_controls {
	width: 950px;
	margin: auto;
	z-index: 100;
	position: relative;
	text-align: right;
}
#slider_controls a {
	color: #fff;
	background: #1a1a1a;
	font-size: 0.8em;
	padding: 0 4px;
	margin: 0 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	zoom:1;
}
#slider_controls a.current {
	color: #1a1a1a;
	background: #fff;
	_display:inline;
}

/* Wrapper */

#wrapper {
	width: 950px;
	margin: auto;
	overflow: hidden;
}

/* Main content */

#intro {
}
#main {
	
}
#wrapper .container {
	overflow: hidden;
	*float: left;
}
.column_one_fourth, .column_one_third, .column_one_half, .column_two_thirds, .column_one_sixth {
	float:left;
	margin:0 20px 10px 0;
	*margin-right:15px;
	position:relative;
}
.column_one_fourth.last, .column_one_third.last, .column_one_half.last, .column_two_thirds.last, .column_one_sixth.last {
	margin-right: 0;
}
.column_one_half {
	width: 450px;
	float: left;
}
.column_two_thirds {
	float: left;
	width: 630px;
}
.column_two_thirds.last {
	float: right;
}
.column_one_third {
	width: 300px;
}
.column_one_fourth {
	width: 217px;
}
.column_one_sixth {
	width: 142px;	
}

/* Slideshow */

.slideshow * {
	
}
.slideshow {
	height: 485px;
	padding-bottom: 50px;
	_padding-bottom:0;
}
.slideshow .navigation {
	position: relative;
}
.slideshow .container {
	position: relative;
	height: 534px;
	padding: 0;
	margin: 0;
}
.slideshow .slides {
	display: block;
}
#wrapper .navigation {
	position: absolute;
	top: -50px;
	right: 0;
	width: auto;
	float: right;
}
#wrapper .slideshow .navigation {
	top: -35px;
}
#wrapper .navigation li {
	float: left;
	height: 10px;
}
#wrapper .navigation li a {
	display: block;
	text-indent: -9999px;
	font-size: 0.6em;
	background: url('img/NRGsprite.png') no-repeat 2px top;
	width: 12px;
}
#wrapper .navigation li a.current {
	background: url('img/NRGsprite.png') no-repeat -11px top;
	width: 12px;
	height: 12px;
	cursor: default;
}
#wrapper .navigation li a.prev, #wrapper .navigation li a.next {
	font-family: Lucida Grande, arial, serif;
	color: #333;
	font-weight: bold;
	text-indent: 0;
	background: none;
	margin: 0 5px;
	width: auto;
}
#wrapper .slideshow .navigation {
	position: relative;
	float: none;
	width: auto;
	margin-left: 420px;
	display: inline-block;
}

/* Projects */

.project_data {
	font-size: 0.8em;
	color: #333;
	font-weight: bold;
	font-family: Lucida Grande, Arial, serif;
	letter-spacing: -1px;
	_letter-spacing:normal;
	padding-bottom: 15px;
}
#wrapper #slider {
	height: 430px;
	background: none;
	position: relative;
	margin-top: 0;
}
#wrapper #slider #slider_controls {
	position: relative;
	text-align: center;
	top: 405px;
	width: 70px;
	margin: auto;
	overflow: hidden;
}
#wrapper #slider_controls a {
	display: inline-block;
	float: left;
	text-indent: -9999px;
	font-size: 0.6em;
	background: url('img/NRGsprite.png') no-repeat 2px top;
	width: 12px;
	height: 12px;
	padding: 0;
	margin: 0;
}
#wrapper #slider_controls a.current {
	background: url('img/NRGsprite.png') no-repeat -11px top;
	width: 12px;
	height: 12px;
	cursor: default;
	margin: 0;
}


/* Blog styles */

.sticky {
}
.post {
	position: relative;
	padding-bottom: 20px;
}
h2.over_img {
	position: absolute;
	top: 212px;
	left: 5px;
	color: #f8981d;
	width: 520px;
	background: url('img/slider_body_back.png') repeat-y;;
	line-height: 1em;
	height: 80px;
	padding: 10px 80px 10px 10px;
}
h2.over_img a {
	line-height: 1em;
}
h2.over_img span {
	font-size: 0.6em;
	color: #fff;
	font-weight: normal;
}
.post .post_data {
	font-size: 0.8em;
	color: #333;
	font-weight: bold;
	padding: 12px 0 0;
	float: left;
	font-family: Lucida Grande, sans-serif;
	letter-spacing: -1px;
	_letter-spacing:normal;
}
.post_data.single {
	padding: 0 0 20px;
}

/* Post Author */

.post_author {
	background: #f2f2f2;
	padding: 10px 10px 10px 190px;
	position: relative;
	margin: 0 0 30px;
	zoom:1;
}
.post_author img {
	position: absolute;
	background: none;
	border: none;
	padding: 0;
	top: 5px;
	left: 5px;
}
.post_author h3 {
	font-size: 0.8em;
	font-weight: normal;
	color: #999999;
	padding: 0;
}
.post_author h4 {
	font-size: 1.3em;
	padding: 0 0 2px;
}
.author_meta {
	padding: 0;
}
.author_meta a {
	font-family: Lucida Grande, Arial, serif;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: -1px;
	_letter-spacing:normal;
	background: url('img/homepage.png') no-repeat left center;
	padding-left: 12px;
}

/* Comments section */

.comments {
	margin: 0 0 30px;
}
.comment {
	background: url('img/link_list_back.gif') repeat-x	left bottom;
	padding: 10px;
}
.comment.last {
	background: none;
}
.comment.author {
	background-color: #f2f2f2;
}
.comment h4 {
	font-size: 1.3em;
	padding: 0 0 8px;
}
.comment h4 span {
	font-size: 0.6em;
	font-weight: normal;
	color: #999;
}
.comment .reply a {
	font-family: Lucida Grande, Arial, serif;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: -1px;
	_letter-spacing:normal;
	background: url('img/reply.png') no-repeat left center;
	padding-left: 12px;
}

/* Google Maps */

.gmap_container {
	height:308px;
	padding:5px;
	background:#f2f2f2;
	margin-bottom: 20px;
}
#map_canvas {
	width: 100%;
	height: 308px;
}

/* Sidebar content */

#sidebar {
	width: 300px;
	overflow: hidden;
}
#sidebar .left {
	float: left;
}
#wrapper ul.post_list li {
	border-bottom: 1px dashed #ddd;
	margin-bottom: 10px;
}
#wrapper ul.post_list li:last-child {
	border: none;
}
/* Page navigation */

#page_navigation {
	margin-bottom: 15px;
	font-size: 1.2em;
}
#page_navigation a {
	color: #333;
	letter-spacing: -1px;
	_letter-spacing: auto;
}
#page_navigation li {
	padding: 2px 16px;
}
.left #page_navigation li.current {
	padding: 9px 10px;
	background: url("img/NRGsprite.png") no-repeat -212px top;
}
#page_navigation li.current {
	background: url("img/NRGsprite.png") no-repeat -516px top;
	padding: 9px 16px;
}
#page_navigation li.current a {
	font-size: 1.2em;
	font-weight: bold;
	color: #333;
}

/* News */

.news {
	position: relative;
}
.news .content_slider {
	height: 510px;
	_height: 513px;
	position: relative;
	overflow: hidden;
}
.content_slider .body {
	width: auto;
	overflow: auto;
	position: absolute;
}
.content_slider .container {
	width: 300px;
	height: 225px;
	overflow: hidden;
	margin-bottom: 5px;
}
.news .container, .blog_posts .container {
	background: url('img/link_list_back.gif') repeat-x left bottom;
}
.news .container.last, .blog_posts .container.last {
	background: none;
}
.news .container, .blog_posts .container {
	padding: 0 0 15px;
	margin: 0 0 15px;
}
p.post_data {
	font-size: 0.8em;
	font-family: Lucida Grande, sans-serif;
	letter-spacing: -1px;
	_letter-spacing: normal;
	color: #bbb;
}
p.post_data a {
	font-weight: bold;
}
span.views {
	background: url('img/user.png') no-repeat left center;
	padding: 0 0 0 13px;
	margin-right: 10px;
}
span.comments {
	background: url('img/comment.png') no-repeat left center;
	padding: 0 0 0 13px;
	margin-right: 10px;
}
.tags {
	font-size: 0.8em;
	overflow: hidden;
	margin-bottom: 15px;
}
.tags span {
	display: inline-block;
	font-family: Lucida Grande, sans-serif;
	letter-spacing: -1px;
	_letter-spacing: 1px;
	background: #eee;
	margin: 2px 0;
	padding: 2px 6px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.tags span a {
	color: #333;
}
.subscribe {
	overflow: hidden;
	margin: 0 0 15px;
}

/* Contact info */

.contact_info p {
	font-family: Lucida Grande,arial,serif;
	color: #333;
	font-weight: bold;
	letter-spacing: -1px;
	_letter-spacing:normal;
	padding-left: 15px;
}
p.phone {
	background: url('img/phone.png') no-repeat left 5px;
}
p.email {
	background: url('img/email.png') no-repeat left 7px;
}
p.address {
	background: url('img/address.png') no-repeat left 4px;
}


/* Footer */

#footer {
	background: url('img/footer_back.jpg') repeat-x bottom left;
	overflow: hidden;
	padding: 5px 0 0 0;
	text-shadow: 0 1px 0 #fff;
}

/* Footer Navigation */

#footer .navigation {
	padding: 0 0 10px;
	height: 260px;
}
.navigation h3 {
	padding: 0 0 10px;
}
#footer li {
	border-bottom: 1px solid #ddd;
	padding: 0;
}
#footer li a {
	display: block;
	padding: 2px 0;
	letter-spacing: -1px;
	font-size: 0.9em;
	color: #333;
}
#footer li a:hover {
	background: #333;
	color: #fff;
	padding: 2px 4px;
	text-shadow: 0 -1px 0 #000;
	margin-left: -4px;
}

/* Contact form */

form {
	background: #f2f2f2;
	padding: 20px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}
#footer form {
	padding: 0;
	background: none;
}
form p {
	position: relative;
	padding: 0;
}
input {
	display: block;
	background: #fff;
	border-bottom: 2px solid #ccc;
	border-right: 1px solid #ccc;
	margin: 0 0 5px;
	border-top: none;
	border-left: none;
	background-position: right 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 3px 0 2px 60px;
	height: 22px;
	font-style: italic;
}
.column_one_third input {
	width: 200px;
}
.column_one_third textarea {
	width: 230px;
}
.column_two_thirds input {
	width: 525px;
}
.column_two_thirds textarea {
	width: 555px;
}
label {
	font-family: Lucida Grande, sans-serif;
	font-size: 0.8em;
	color: #333;
	position: absolute;
	top: 6px;
	left: 15px;
}
textarea {
	background: #fff;
	border: none;
	border-right: 1px solid #ccc;
	border-bottom: 2px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 30px 15px 15px;
	margin: 0 0 5px ;
	font-style: italic;
	font-size: 0.8em;
	margin: 0;
}
.form_submit {
	background: url('img/NRGsprite.png') no-repeat -86px -12px;
	border: none;
	float: right;
	text-align: center;
	width: 125px;
	height: 34px;
	color: #333;
	font-family: Lucida Grande, arial, serif;
	letter-spacing: -1px;
	_letter-spacing: normal;
	text-shadow: 0 1px 0 #fff;
	font-size: 0.8em;
	cursor: pointer;
	outline: none;
}
#footer .form_submit {
	margin: 0;
}
#email_form .form_submit,
#comment_form .form_submit {
	margin: 10px 5px;
}
.form_alert {
	font-family: Lucida Grande, sans-serif;
	font-size: 0.8em;
	color: #333;
	position: absolute;
	bottom: 30px;
	left: 25px;
}
form .success {
	position: absolute;
	text-align: center;
	width: 100%;
	top: 40%;
	color: #1a1a1a;
	font-family: Lucida Grande;
	font-size: 0.8em;
}
form .success span {
	font-size: 2em;
	font-weight: bold;
}
.column_one_third .form_alert {
	bottom: 35px;
	left: 12px;
	font-size: 0.7em;
}
#footer .column_one_third .form_alert {
	font-size: 0.7em;
	bottom: 10px;
	left: 10px;
}
.form_alert strong {
	font-weight: bold;
	font-family: inherit;
	color: inherit;
}
#footer input {
	width: 239px;
}
#footer textarea {
	width: 269px;
	height: 70px;
}
#footer p {
	padding: 0;
}

/* Copyrights */

.copyright {
	background: url('img/copyright_back.jpg') no-repeat top right;
	height: 28px;
	padding: 25px 0 15px;
	font-size: 0.6em;
}
.copyright p {
	padding: 0;
	margin: 0;
}
.copyright a {
	color: #333;
	font-family: Lucida Grande, sans-serif;
}

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('img/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	z-index: 1101;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: Arial;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding: 10px 0;
	text-align: center;
	color: #333;
}

.fancybox-title-outside {
	padding-top: 5px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
}

.fancybox-title-over {
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('img/fancybox/fancy_title_over.png');
	display: block;
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -90px;
	background-repeat: no-repeat;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background-image: url('img/fancybox/fancybox-x.png');
	background-position: 0px -40px;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -55px -90px;
	background-repeat: no-repeat;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background-image: url('img/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible;    /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancy-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('img/fancybox/fancybox-x.png');
}

#fancy-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -162px;
}

#fancy-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('img/fancybox/fancybox-y.png');
	background-position: -20px 0px;
}

#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -182px; 
}

#fancy-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('img/fancybox/fancybox-x.png');
	background-position: 0px -20px;
}

#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -142px;
}

#fancy-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('img/fancybox/fancybox-y.png');
}

#fancy-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('img/fancybox/fancybox.png');
	background-position: -40px -122px;
}

/* IE */

#fancybox-loading.fancybox-ie div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-close		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-title-over	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie #fancybox-title-left	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-main	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-right	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-left-ico		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-right-ico	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie .fancy-bg { background: transparent !important; }

.fancybox-ie #fancy-bg-n	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-ne	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-e	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-se	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-s	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-sw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-w	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-nw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
