/*
Theme Name: Keswick Climbing Wall
Description: Keswick Climbing Wall website theme.
Version: 1.0
Author: e-IGNiTION
Author URI: http://www.e-ignition.co.uk
Tags: custom design, widgets
*/

/* Begin Typography & Colors */
.purple {
color:#7d60a4;
}
html {
font-size: 62.5%; /* Resets 1em to 10px */
}

body, body.mceContentBody {
font-size: 1.5em;
font-family: "Century Gothic",Verdana,Arial,Helvetica,sans-serif;
color: #333;
text-align:left;
background-color:#95b529;
}

body.mceContentBody {
background-color:#FFFFFF;
}


#page {
background-color: white;
border: 1px solid #959596;
text-align: left;
}

#header {
}

#headerimg 	{
margin: 7px 9px 0;
height: 192px;
width: 740px;
}

#content {
float: left;
padding: 5px;
margin:0;
width:948px;
}

.narrowcolumn .entry, .widecolumn .entry {
line-height: 1.4em;
}

.narrowcolumn {
float:left;
width:635px;
margin-bottom:30px;
}

.widecolumn {
line-height: 1.6em;
}

.narrowcolumn .postmetadata {
text-align: center;
}

.thread-alt {
background-color: #f8f8f8;
}
.thread-even {
background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .even a {
color:#95B529;
}

.odd, .odd a {
color:#7d60a4;
}

#footer {
border: none;
}

small {
font-size: 0.9em;
line-height: 1.5em;
}

h1, h2, h3 {
font-weight: normal;
color:#7D60A4;
}

h1 {
font-size: 2em;
text-align: left;
}

#headerimg .description {
font-size: 1.2em;
text-align: center;
}

h2 {
font-size: 1.6em;
}

h2.pagetitle {
font-size: 1.6em;
}

#sidebar h2 {
font-size: 1.2em;
}

h3 {
font-size: 1.6em;
}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
text-decoration: none;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
color:#7d60a4;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
text-decoration: none;
}

.entry p a:visited {
color: #b85b5a;
}

.sticky {
background: #f7f7f7;
padding: 0 10px 10px;
}
.sticky h2 {
padding-top: 10px;
}

.commentlist li, #commentform input, #commentform textarea {
}
.commentlist li ul li {
font-size: 1em;
}

.commentlist li {
font-weight: bold;
}

.commentlist li .avatar { 
float: right;
border: 1px solid #eee;
padding: 2px;
background: #fff;
}

.commentlist cite, .commentlist cite a {
font-weight: bold;
font-style: normal;
font-size: 1.1em;
}

.commentlist p {
font-weight: normal;
line-height: 1.5em;
text-transform: none;
}

#commentform p {
font-family: Verdana, Arial, Sans-Serif;
}

.commentmetadata {
font-weight: normal;
}

#sidebar {
font: 1em Verdana, Arial, Sans-Serif;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
color: #777;
}

acronym, abbr, span.caps {
font-size: 0.9em;
letter-spacing: .07em;
}

a, h2 a:hover, h3 a:hover {
color: #06c;
text-decoration: none;
outline:none;
}

a:hover {
color: #147;
text-decoration: underline;
}

/* End Typography & Colors */



/* Begin Structure */
body {
margin: 0;
padding: 0;
}

.page-wrapper {
background-color:#FFFFFF;
padding: 0 0 25px 0;
margin: 0;
}

#page {
background-color: white;
margin: auto;
padding: 0;
width: 956px;
border: 1px solid #d8d7dd;
border-top:0;
overflow:hidden;
padding:1px;
}
.pagewidth {
width:960px;
margin:auto;
}

#header {
background:url(images/header-bg.gif) no-repeat center #fff;
margin: 0;
padding: 0;
height: 121px;
}

.headerimage {
background:url(images/header-bg.gif) no-repeat center #fff;
width:960px;
margin: 0 auto;
padding: 0;
height: 121px;
text-indent: -999em;
overflow:hidden;
}

.header-home {
display:block;
height:100px;
width:670px;
}

.topbar{
background:url(images/topbar-bg.jpg) repeat-x #a2cb17;
border-bottom: solid 1px #7d60a4;
height:33px;
font-size:0.9em;
}

.inner-topbar {
background:url(images/topbar-bg.jpg) repeat-x #a2cb17;
width:960px;
height:33px;
}

.topnav{
margin:0;
padding: 2px 0 0 0;
float:left;
text-size: 1em;
}
.topnav ul{
margin:0;
}
.topnav li{
display:block;
float:left;
margin: 5px;
}
.topnav li a{
list-style:none;
color:#FFFFFF;
border-right: solid 1px #fff;
padding-right: 15px
}
.topnav li a.endstop{
border-right:0; !IMPORTANT
}
.topnav li a:hover{
color:#7d60a4;
text-decoration:none;}
#breadcrumbs{
font-size:0.8em;
margin: 0;
padding-left:5px;
color:#95B529;
}
#breadcrumbs a{
color:#7D60A4;
}
#breadcrumbs a:hover{
color:#95B529;
text-decoration: none;
}
.post {
margin: 0 0 40px;
text-align: justify;
}

.post hr {
display: block;
}

.widecolumn .post {
margin: 0;
}

.narrowcolumn .postmetadata {
padding-top: 5px;
}
.widecolumn .postmetadata {
margin: 30px 0;
}

.widecolumn .smallattachment {
text-align: center;
float: left;
width: 128px;
margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
text-align: center;
margin: 5px 0px;
}

.postmetadata {
clear: both;
}

.clear {
clear: both;
}

#footer {
padding: 0;
background:url(images/footer-bg.jpg) repeat-x #95b529;
border-top: solid 1px #7d60a4;
margin: 0;
width: 100%;
clear: both;
color:#FFFFFF;
font-size:0.9em;
}

#footer a{
color:#FFFFFF;
}

#footer a:hover{
text-decoration:none;
color: #6f8f03;
}

#footer h4 {
font-size: 1em;
font-weight: bold;
}

.footertel{
margin:0;
color:#fff;
border-bottom: solid 1px #6f8f03;
overflow:hidden;
padding: 0 0 5px 0;
}
.footertel p{
margin:0;
color:#fff;
font-size:2em;
}
#footer ul{
margin:0;
padding:0;
}
#footer ul li{
list-style:none;
}
.footerwall {
float:left;
width: 175px;
clear:both;
}
.footercourses {
float:left;
width: 275px;
}
.footercourses h4, .footercontact h4 {
padding-left: 25px;
}
.footercourses ul{
border-left: solid 1px #6F8F03;
border-right: solid 1px #6F8F03;
padding-left: 25px;
}
.footercourses ul li{
padding-left: 25px;
}
.footeractivities {
float:left;
width: 230px;
padding-left: 25px;
}
.footercontact {
float:left;
width: 200px;
}
.footercontact p {
padding-left:25px;
border-left: solid 1px #6F8F03;
}
#footer img {
border: solid 1px #6F8F03;
}
/* End Structure */



/*	Begin Headers */
h1 {
padding:0;
margin: 0;
margin: 5px 0 0 5px;
}

h2 {
margin: 30px 0 0;
}

h2.pagetitle {
margin-top: 30px;
text-align: center;
}

#sidebar h2 {
margin: 5px 0 0;
padding: 0;
}

h3 {
padding: 0;
margin: 30px 0 0;
}

h3.comments {
padding: 0;
margin: 40px auto 20px ;
}
/* End Headers */



/* Begin Images */
p img {
padding: 0;
max-width: 100%;
}

/*	Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}
.activity-images, .page-image{
float:right;
}
.activity-images{
clear:right;
}

.main-image {
border: solid 2px #95B529;
}

.thumbs {
overflow:hidden;
padding-top:5px;
}

.thumb-image{
float:left;
margin:0 5px 5px 0;
}

.thumb-image a {
border: solid 2px #7d60a4;
display:block;
}

.thumb-image a:hover, .thumb-image a.current-image {
border: solid 2px #95B529;
}

.thumb-end {
margin-right:0;
}

.thumb-begin {
clear:both;
}
/* End Images */



/* Begin Lists */
ul, ol {
margin: 0; !IMPORTANT
}

.entry ol {
padding: 0 0 0 35px;
margin: 0;
}

.entry ol li {
margin: 0;
padding: 0;
}

.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}

#sidebar ul, #sidebar ul ol {
margin: 0;
padding: 0;
}

#sidebar ul li {
list-style-type: none;
list-style-image: none;
margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select {
margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol {
margin: 5px 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol {
margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li {
list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li {
margin: 3px 0 0;
padding: 0;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
float:right;
width: 211px;
height:23px;
margin-top:5px;
padding:0;
background:url(images/search-bg.jpg) no-repeat #fff;
}

#searchform #s {
border:1px solid #FFFFFF;
color:#7D60A4;
margin:2px 0 0 5px;
vertical-align:top;
width:175px;
}

#searchsubmit {
padding: 0;
width:20px;
height:20px;
background:url(images/search-button.jpg) no-repeat #fff 0 -2px;
border:0;
cursor:pointer;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
text-align:center;
}

select {
width: 130px;
}

#commentform input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
}

#commentform {
margin: 5px 10px 0 0;
}
#commentform textarea {
width: 100%;
padding: 2px;
}
#respond:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}
#commentform #submit {
margin: 0 0 5px auto;
float: right;
}
/* End Form Elements */



/* Begin Comments*/
.alt {
margin: 0;
padding: 10px;
}

.commentlist {
padding: 0;
text-align: justify;
}

.commentlist li {
margin: 15px 0 10px;
padding: 5px 5px 10px 10px;
list-style: none;

}
.commentlist li ul li { 
margin-right: -5px;
margin-left: 10px;
}

.commentlist p {
margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
margin: 5px 0;
}

.nocomments {
text-align: center;
margin: 0;
padding: 0;
}

.commentmetadata {
margin: 0;
display: block;
}
/* End Comments */



/* Begin Sidebar */
#sidebar {
float:left;
width: 200px;
}

#sidebar form {
margin: 0;
}

.downloadform {
display:block;
float:right;
margin-bottom:10px;
width:289px;
}
/* End Sidebar */


/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
cursor: help;
}

acronym, abbr {
border-bottom: 1px dashed #999;
}

blockquote {
margin: 15px 30px 0 10px;
padding-left: 20px;
border-left: 5px solid #ddd;
}

blockquote cite {
margin: 5px 0 0;
display: block;
}

.center {
text-align: center;
}

.hidden {
display: none;
}

.screen-reader-text {
position: absolute;
left: -1000em;
}

hr {
display: none;
}

a img {
border: none;
}

#navigation {
background-color:#FFFFFF;
overflow:hidden;
}

#navigation ul {
width:960px;
margin:0 auto;
padding:0;
list-style:none;
}

#navigation ul li {
float:left;
}

#navigation ul li a {
display:block;
background-color:#FFF;
height:50px;
background-image:url(images/main-nav.gif);
background-repeat:no-repeat;
background-position:0 0;
text-indent:-999em;
}

#navigation ul li.blank-main-nav {
display:block;
background-color:#FFF;
height:50px;
width:206px;
background-image:url(images/main-nav.gif);
background-repeat:no-repeat;
background-position:-754px -52px;
text-indent:-999em;
}



#navigation ul li ul li a {
display:block;
background-color:#7d60a4;
height:50px;
text-indent:-999em;
}

#navigation ul li.page-item-5 {
width:250px;
}
#navigation ul li.page-item-5 a:hover {
background-position:0 -52px;
}
#navigation ul li.page-item-5.current_page_item a, #navigation ul li.page_item.page-item-5.current_page_ancestor.current_page_parent a{
background-position:0 -104px;
}
#navigation ul li.page-item-7{
width:252px;
}
#navigation ul li.page-item-7 a{
background-position:-250px 0;
}
#navigation ul li.page-item-7 a:hover {
background-position:-250px -52px;
}
#navigation ul li.page-item-7.current_page_item a, #navigation ul li.page_item.page-item-7.current_page_ancestor.current_page_parent a {
background-position:-250px -104px;
}

#navigation ul li.page-item-12{
width:252px;
}
#navigation ul li.page-item-12 a{
background-position:-502px 0;
}
#navigation ul li.page-item-12 a:hover {
background-position:-502px -52px;
}
#navigation ul li.page-item-12.current_page_item a, #navigation ul li.page_item.page-item-12.current_page_ancestor.current_page_parent a {
background-position:-502px -104px;
}

#navigation ul li.page-item-subs {
width:206px;
}

#navigation ul li.page-item-subs a{
background-position:-754px 0;
}
#navigation ul li.page-item-subs a:hover {
}

#navigation ul li.page-item-subs ul {
position:absolute;
margin-left: 3px;
padding-bottom:85px;
width:201px;
background:url(images/side-nav-footer.gif) no-repeat bottom #7d60a4;
z-index:99;
}

#navigation ul li.page-item-subs ul li {
width:201px;
}

#navigation ul li.page-item-subs ul li a {
height:auto;
background-image:none;
text-indent:0;
color: #FFF;
font-size: 0.9em;
padding:7px 30px 7px 10px;
border-bottom: dotted 1px #fff;
}

#navigation ul li.page-item-subs ul li a:hover {
height:auto;
background: url(images/side-nav-hover.gif) no-repeat right #95B529;
text-decoration:none;
}
#navigation ul li ul li.current_page_item a {
height:auto;
background: url(images/side-nav-hover.gif) no-repeat right #95B529;
text-decoration:none;
}
.navigation-footer{
display:block;
background: url(images/side-nav-footer.gif) no-repeat;
height: 79px;
}

.home-features {
}

.home-features .feature {
border:#7d60a4 1px solid;
float:left;
padding:5px;
}

.home-features .feature h2{
color:#7D60A4;
line-height:1em;
margin:0 0 5px;
text-align:center;
}

.home-features .feature p {
margin:10px 0;
line-height:1.4em;
}

.home-features-wall {
width:240px;
margin-right:5px;
}

.home-features-courses {
height:200px;
margin:0 0 5px 5px;
width:215px;
}

.home-features-newsletter {
width:215px;
height:200px;
margin:0 0 5px 0;
background-image:url(images/view-from-the-wall.gif);
background-repeat:no-repeat;
background-position:top center;
}

.home-newsletter-signup {
margin-top:60px;
}

.home-newsletter-signup label {
text-align:right;
display:block;
}

.home-newsletter-signup .home-feature-input {
vertical-align:middle;
border:1px solid #7D60A4;
background-image:url(images/home-input-bg.gif);
background-repeat:repeat-x;
background-position:top left;
color:#95b529;
font-size: 0.9em;
font-family: "Century Gothic",Verdana,Arial,Helvetica,sans-serif;
padding:3px;
margin:0 0 3px 3px;
width:150px;
}

.home-newsletter-signup .home-newsletter-submit, .newsletter-submit {
width:139px;
height:32px;
background-image:url(images/home-newsletter-submit-btn.gif);
background-position:top left;
background-repeat:no-repeat;
text-indent:-999em;
border:0;
cursor:pointer;
padding:0;
margin-top:10px;
}

.home-newsletter-signup .home-newsletter-submit:hover, .newsletter-submit:hover {
background-position:bottom left;
cursor:pointer;
}

.newsletter-submit {
margin-top:0;
margin-right:160px;
}

.home-features-climbingclub, .home-features-video {
width:214px;
margin:0 5px 5px 0;
height:188px;
position:relative;
}

.youtube-large {
bottom:5px;
height:159px;
left:5px;
opacity:1;
position:absolute;
width:214px;
text-indent:-999em;
z-index:9;
background-color:#CCCCCC;
opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "alpha(opacity=0)";
-khtml-opacity: 0;
-moz-opacity: 0;
}

.home-features-opening-times {
width:214px;
height:188px;
margin:0 5px 5px 0;
position:relative;
}

.home-features-activities {
height:200px;
margin:0 0 5px;
width:445px;
}

.home-features-social {
height:188px;
}

.home-features-social img {
display:block;
}
.fb-link img {
margin-bottom:5px;
}

.location-keswick {
float:left;
background-image:url(images/location-keswick.gif);
text-indent:-999em;
width: 224px;
height:32px;
}
.location-keswick:hover{
background-position: bottom;
}

.location-a66 {
float:left;
background-image:url(images/location-a66.gif);
margin-right:10px;
text-indent:-999em;
width: 224px;
height:32px;
}
.location-a66:hover {
background-position: bottom;
}

.view-times-btn {
display:block;
background-image:url(images/view-times-btn.gif);
background-position:top;
text-indent:-999em;
width: 139px;
height:32px;
margin:auto;
position:absolute;
bottom:5px;
left:43px;
}
.view-times-btn:hover {
background-position: bottom;
}

.search-excerpt {
background-color:#95B529;
}

.booking-info {
clear:left;
width:635px;
}

.booking-details {
color:#7d60a4;
margin-left:5px;
width:99%;
}

.booking-details .info-key {
text-align:right;
border-bottom:1px solid #ded6e1;
width:13%;
vertical-align:top;
}

.booking-details .info-value {
text-align:left;
border-bottom:1px solid #ded6e1;
}

.book-activites-btn {
width:205px;
display:block;
height:50px;
background-image:url(images/book-activities-btn.gif);
background-position:top;
text-indent:-999em;
margin-top:10px;
float:right;
}

.book-courses-btn {
width:205px;
display:block;
height:50px;
background-image:url(images/book-courses-btn.gif);
background-position:top;
text-indent:-999em;
margin-top:10px;
float:right;
}

.book-activites-btn:hover, .book-courses-btn:hover {
background-position:bottom;
}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions */

/*
* 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 {
position: absolute;
margin-top: 0;
}

#fancybox-loading div {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 480px;
background-image: url('images/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 {
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('images/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('images/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('images/fancybox/fancybox.png');
background-position: -40px -90px;
background-repeat: no-repeat;
}

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

#fancybox-title-right {
padding-left: 15px;
background-image: url('images/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('images/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('images/fancybox/fancybox.png');
background-position: -40px -30px;
}

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

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

#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('images/fancybox/fancybox-x.png');
}

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

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

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

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

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

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

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

.fancybox-ie #fancy-bg-n	{ background-image: none; }
.fancybox-ie #fancy-bg-ne	{ background-image: none; }
.fancybox-ie #fancy-bg-e	{ background-image: none; }
.fancybox-ie #fancy-bg-se	{ background-image: none; }
.fancybox-ie #fancy-bg-s	{ background-image: none; }
.fancybox-ie #fancy-bg-sw	{ background-image: none; }
.fancybox-ie #fancy-bg-w	{ background-image: none; }
.fancybox-ie #fancy-bg-nw	{ background-image: none; }
