/*
Theme Name: MWIS
Author: Big Fish Creative
*/

/* ----------------------------------------------------------------
    RESET
-----------------------------------------------------------------*/

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, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section { display: block; }

audio,
canvas,
video { display: inline-block; max-width: 100%; }

html { overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: #fff; }

strong,
b { font-weight: 400; }

em,
i { font-style: italic; }

blockquote { -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; quotes: none; color: #767676; font-size: 19px; font-style: italic; font-weight: 300; margin-bottom: 24px; }
blockquote:before,
blockquote:after { content: ""; content: none; }
blockquote cite,
blockquote small { color: #2b2b2b; font-size: 16px; font-weight: 400; line-height: 1.5; }
blockquote em,
blockquote i,
blockquote cite { font-style: normal; }
blockquote strong,
blockquote b { font-weight: 400; }

small { font-size: smaller; }

ul,
ol { list-style: none; margin: 0 0 24px 20px; }
ul { list-style: disc; }
ol { list-style: decimal; }
ul li,
ol li { margin: 0 0 10px 20px; }

img { -ms-interpolation-mode: bicubic; border: 0; vertical-align: middle; }

fieldset { border: 1px solid rgba(0, 0, 0, 0.1); margin: 0 0 24px; padding: 11px 12px 0; }
legend { white-space: normal; }

button,
input,
select,
textarea { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; font-size: 100%; margin: 0; max-width: 100%; vertical-align: baseline; }
button,
input { line-height: normal; }
input,
textarea { background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */ }
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled],
input[disabled] { cursor: default; }
input[type="checkbox"],
input[type="radio"] { padding: 0; }
input[type="search"] { -webkit-appearance: textfield; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; width: 100%; height: 180px; }


table,
th,
td { border: 1px solid rgba(0, 0, 0, 0.1); }
table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin-bottom: 24px; width: 100%; border-color: #c2c2c2; }
th,
td { font-weight: normal; text-align: left; border-color: #c2c2c2; padding: 5px 8px; }
th { border-width: 0 1px 1px 0; font-weight: 500; color: #fff; background: #139938; }
td { border-width: 0 1px 1px 0; }
tr.alt td { background: #fbfaf5; }

hr { background-color: rgba(0, 0, 0, 0.1); border: 0; height: 1px; margin-bottom: 27px; }

/* Support a widely-adopted but non-standard selector for text selection styles */

::selection { background: #a2c9e3; color: #fff; text-shadow: none; }
::-moz-selection { background: #a2c9e3; color: #fff; text-shadow: none; }

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder { color: #001b2a; }
:-moz-placeholder {	color: #001b2a; }
::-moz-placeholder { color: #001b2a; opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */}
:-ms-input-placeholder { color: #001b2a; }

/* Responsive images. Fluid images for posts, comments, and widgets */

img,
.wp-caption { max-width: 100%; }

/* Make sure images with WordPress-added height and width attributes are scaled correctly */

img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] { height: auto; }

img,
img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img { height: auto; max-width: 100%; }

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video { margin-bottom: 24px; max-width: 100%; }

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object { margin-bottom: 0; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix { display: inline-block; *zoom:1;}
* html .clearfix { height: 1%;} /* Hides from IE-mac \*/
.clearfix { display: block;}

/* ----------------------------------------------------------------
    STRUCTURE
-----------------------------------------------------------------*/

#wrapper { width: 100%; margin: 0 auto; position: relative; }
.container { width: 960px; margin: 0 auto; position: relative; }
.bottommargin { margin-bottom: 60px !important;}
.nobottommargin { margin-bottom: 0 !important;}
.norightborder { border-right: none !important; }
.inset { padding: 0 25px; }
.align-left { float: left; }
.align-right { float: right; }
.list-reset { margin: 0; padding: 0; list-style: none; }

.col-full { width: 100%; }
.col-half { width: 48%; }
.col-one-third { width: 30.63%; }
.col-two-third { width: 65.33%; }
.col-one-fourth { width: 22%; }
.col-three-fourth { width: 74%; }
.col-one-fifth { width: 16.8%; }
.col-two-fifth { width: 37.6%; }
.col-three-fifth { width: 58.4%; }
.col-four-fifth { width: 79.2%; }
.col-one-sixth { width: 13.33%; }
.col-five-sixth { width: 82.67%; }

.col-full,
.col-half,
.col-one-third,
.col-two-third,
.col-three-fourth,
.col-one-fourth,
.col-one-fifth,
.col-two-fifth,
.col-three-fifth,
.col-four-fifth,
.col-one-sixth,
.col-five-sixth { display: block; position: relative; margin-right: 4%; margin-bottom: 50px; float: left; }

.col-full { clear: both; float: none; margin-right: 0; }
.col-last { margin-right: 0 !important; clear: right; }

/* ----------------------------------------------------------------
    REPEATABLE PATTERNS
-----------------------------------------------------------------*/

.table { display:table; width:100%; height:100%; }

.wrapper { width: 100%; overflow: hidden; padding: 50px 0 0 0; }
.bg { background: #dcddde; }

/* IMAGES */

img { max-width: 100%; }
.cover { position: relative; background-repeat: no-repeat; background-position: 50% 100%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

/* FORMS */

label { display: inline-block; font-size: 15px; padding-bottom: 5px; cursor: pointer; }
input[type="text"], input[type="email"], input[type="password"], select, textarea { font-family: 'Varela Round', sans-serif; display: block; background: #FFF; padding: 10px 12px;  margin: 0 0 15px; border: 1px solid #bcbec0; outline: 0; font-size: 14px; color: #999999; font-weight: 300; -webkit-transition: all ease-in-out 0.2s; -moz-transition: all ease-in-out 0.2s; -o-transition: all ease-in-out 0.2s; transition: all ease-in-out 0.2s; width: 100%; -webkit-appearance: none; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus { color: #0c2d72; border-color: #00192a; -webkit-box-shadow: 0 0 5px rgba(0, 25, 42, 1); -moz-box-shadow: 0 0 5px rgba(0, 25, 42, 1); box-shadow: 0 0 5px rgba(0, 25, 42, 1); background: #ebf7ff; }
input[type="submit"] { font-family: 'Varela Round', sans-serif; outline: none; border: none; background: #a2c9e3; color: #fff; text-transform: uppercase; padding: 10px 35px; cursor: pointer; font-size: 14px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
input[type="submit"]:hover, input[type="submit"]:active { background: #001b2a; }
#contact-captcha { margin-bottom: 20px; }
img.wpcf7-captcha-captcha { margin-bottom: 10px; }
div.wpcf7-response-output { margin: 2em 0 1em 0 !important; padding: 10px 15px !important; border-width: 1px !important; background: #fffef0 !important; font-size: 14px !important; color: #656565 !important; line-height: 20px; }
div.wpcf7-validation-errors { border: 1px solid #ff0000 !important; background: #ffe7e7 !important; color: red !important; text-shadow: none; }
span.wpcf7-not-valid-tip { font-size: 12px !important; font-style: italic; padding: 3px 8px; color: red !important; text-shadow: none; font-weight: 400; }
div.wpcf7-mail-sent-ok { background: #f1ffeb !important; color: #398F14 !important; }

/* BUTTONS */

.button { color: #fff; display: inline-block; padding: 8px 20px; text-transform: uppercase; font-size: 18px; line-height: 22px; border: 1px solid #fff; -webkit-transition: all ease-in-out 0.15s; -moz-transition: all ease-in-out 0.15s; -o-transition: all ease-in-out 0.15s; transition: all ease-in-out 0.15s; }
.button:hover, .button.active { border-color: #f2efbb; color: #f2efbb; }
.button.inverse { background: #001b2a; color: #fff; }
.button.inverse:hover { border-color: #a2c9e3; background: #a2c9e3; }

/* IMAGES */

.entry-content img, .comment-content img, .widget img { max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ }
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
img.size-full, img.size-large { max-width: 97.5%; width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
.alignleft, .alignright, .aligncenter { margin-bottom: 10px; }
.alignleft, .alignright { display: inline; }
.alignleft { margin-right: 15px; float: left; }
.alignright { margin-left: 15px; float: right; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1.625em; }
p img, .wp-caption { margin-top: 0.4em; }
.wp-caption { background: #eee; max-width: 96%; padding: 8px; border: 1px solid #dbdbdb; }
.wp-caption img { display: block; margin: 0 auto; width: 100%; }
.wp-caption .wp-caption-text, .gallery-caption { color: #666; font-size: 12px; line-height: 16px; }
.wp-caption .wp-caption-text { padding: 10px 0 2px 6px; position: relative; margin-bottom: 0; }
.rounded { -webkit-border-radius: 500px; -moz-border-radius: 500px; border-radius: 500px; }

/* TOOLTIPS */

.tipsy { font-size: 14px; position: absolute; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 13px 4px 12px; text-align: center; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }
.tipsy-arrow-e { border-left-color: #001b2a; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }

/* CAROUSELS */

.bx-wrapper { margin: 0 auto; }
.bx-controls-direction a { position: absolute; top: 45%; width: 30px; height: 30px; display: block; text-indent: -5000px; background-repeat: no-repeat; }
.bx-prev { background-image: url(gfx/sprite-icon-prev.png); }
.bx-next { background-image: url(gfx/sprite-icon-next.png); }
.bx-controls-direction a:hover, .bx-controls-direction a:active { background-position: 0 -30px; }
.bx-controls-direction a.disabled { background-image: none; }

/* SINGLE NAV */

#single-nav { padding-top: 10px; width: 100%; clear: both; overflow: hidden; }
#single-nav li { margin: 0; }
#single-nav li a { -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
#single-nav li em { display: none; }

/* ----------------------------------------------------------------
    TYPOGRAPHY
-----------------------------------------------------------------*/

body { font-family: 'Varela Round', sans-serif; color: #001b2a; font-size: 17px; line-height: 25px; font-weight: 300; }

p { margin-bottom: 20px; }

.kicker { font-weight: 400; font-size: 22px; line-height: 30px; }

.upper { text-transform: uppercase; }
.centered { text-align: center; }

/* HEADINGS */

h1,h2,h3,h4,h5,h6 { font-family: 'Roboto Slab', serif; font-weight: 300; color: #001b2a; margin-bottom: 15px; }
h1 { font-size: 36px; line-height: 42px; font-family: 'Varela Round', sans-serif; margin-bottom: 25px; }
h2 { font-size: 27px; line-height: 31px; }
h2.section-heading { margin-bottom: 50px; }
h2.section-heading span { border-bottom: 1px solid #001b2a; padding-bottom: 5px; }
.dark h2.section-heading span { border-bottom: 1px solid #fff; }
h3 { font-size: 24px; line-height: 28px; }
h4 { font-size: 17px; line-height: 20px; }

/* LINKS */

a { color: #a2c9e3; text-decoration: none; -webkit-transition: color ease-in-out 0.15s; -moz-transition: color ease-in-out 0.15s; -o-transition: color ease-in-out 0.15s; transition: color ease-in-out 0.15s; }
a:focus { outline: thin dotted; }
a:hover,
a:active { outline: 0; color: #468ebf; }

/* ----------------------------------------------------------------
    MASTHEAD
-----------------------------------------------------------------*/

#masthead { background-color: #000; }

	/* MAIN NAV */
	
	#main-nav-wrapper { background: #001b2a; width: 100%; float: left; line-height: 0; position: relative; z-index: 1000; position: fixed; top: 0; }
		
		.retina-logo, #responsive-nav { display: none; }
		#menu-main-nav { text-transform: uppercase; text-align: left; list-style: none; padding: 0; display: table; margin: 0 auto; }
		#menu-main-nav li { float: left; position: relative; cursor: pointer; margin: 0; }
		#menu-main-nav li a { color: #fff; display: block; font-size: 15px; line-height: 20px; text-decoration: none; padding: 22px 25px; font-weight: 300; }
		#menu-main-nav li:hover a,
		#menu-main-nav li.current-menu-item a,
		#menu-main-nav li.current-menu-parent a,
		.single-mwis_profile #menu-main-nav li#menu-item-30 a { color: #a2c9e3; }
		#menu-main-nav .sub-menu { display: none; list-style: none; float: left; margin: 0; position: absolute; top: 60px; left: -20px; width: 170px; z-index: 99999; border-top: 2px solid #fff; -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); text-align: center; }
		#menu-main-nav .sub-menu li { background: #2d4553; padding: 0; margin: 0; border-bottom: none; }
		#menu-main-nav .sub-menu a, #menu-main-nav li:hover .sub-menu a { font-size: 14px; font-weight: 400; height: auto; line-height: 1.4em; padding: 10px; width: 150px; text-transform: none; display: block; color: #fff; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
		#menu-main-nav .sub-menu a:hover, #menu-main-nav .sub-menu li.current-menu-item a { background: #a2c9e3; color: #fff; }
		#menu-main-nav .sub-menu li.current-menu-item a { border-top: 1px solid #d1e7f5; border-bottom: 1px solid #d1e7f5; }
		#menu-main-nav li:hover ul { display: block; }

	/* HERO HEADER */
	
	#hero-header, #google-map { margin-top: 63px; position: relative; z-index: 10; }
	#hero-header { overflow: hidden; }
	#google-map img { max-width: none; }
	#info-window h4 { margin-bottom: 8px; border-bottom: 1px solid #001b2a; padding-bottom: 5px; }
	#info-window p { font-family: 'Varela Round', sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 5px; }
	
		.header-overlay { width: 100%; height: 100%; position: relative; }
		.header-overlay:after { content: ""; background-image: url("gfx/overlay-header-image.png"); background-repeat: no-repeat; position: absolute; z-index: 1; bottom: 0; right: 0; height: 648px; width: 530px; }
		.header-overlay a { display: block; float: right; position: relative; top: 25%; right: 16%; z-index: 5; }

/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/

#main-content-wrapper { padding: 50px 0; background: #fff; position: relative; z-index: 2; overflow: hidden; }
#main-content-wrapper:before { content: ""; background-image: url("gfx/bg-main-content-wrapper.png"); background-repeat: no-repeat; position: absolute; z-index: 3; top: 0; right: 0; width: 670px; height: 200px; }
.single-mwis_profile #main-content-wrapper { background: #fff url("gfx/bg-profile.gif") repeat-x 0 0; padding-top: 40px; }
.single-mwis_profile #main-content-wrapper:before { display: none; }
.page-id-15 #main-content-wrapper { background-image: none; }
	
	#main-content { position: relative; z-index: 10; }
	
	/* HOME */
	
	#vacancies h2.section-heading { margin-bottom: 38px; }
	.vacancy { background: #f3faff; border: 1px solid #a2c9e3; padding: 15px 20px 20px 20px; margin-bottom: 20px; }
	
	#home-contact h2.section-heading { margin-bottom: 20px; }
	
	#services-list { width: 825px; margin: 0 auto; }
	#services-list li.col-one-fourth { text-align: center; margin: 0 0 2% 0; width: 25%; }
	#services-list h4 { font-family: 'Varela Round', sans-serif; font-size: 15px; }
	#services-list a { color: #001b2a; display: block; padding-top: 120px; }
	#services-list a:hover { background-position: center 0; }
	#services-list a:hover h4 { color: #a2c9e3; }
	#service-civil-litigation a { background: url(gfx/sprite-civil-litigation.png) no-repeat center -200px; }
	#service-employment a { background: url(gfx/sprite-employment.png) no-repeat center -200px; }
	#service-commercial a { background: url(gfx/sprite-commercial.png) no-repeat center -200px; }
	#service-property a { background: url(gfx/sprite-property.png) no-repeat center -200px; }
	#service-family a { background: url(gfx/sprite-family.png) no-repeat center -200px; }
	#service-crown a { background: url(gfx/sprite-crown.png) no-repeat center -200px; }
	#service-trusts-and-estates a { background: url(gfx/sprite-trusts.png) no-repeat center -200px; }
	#service-maori-land a { background: url(gfx/sprite-maori-land.png) no-repeat center -200px; }
	
	#latest-events h4 { margin-bottom: 0; }
	#latest-events h4 a { font-family: 'Varela Round', sans-serif; }
	#latest-events p { margin-bottom: 0; font-size: 15px; line-height: 20px; }
	
	#supporter-list { overflow: hidden; }
	#supporter-list li { text-align: center; margin-left: 0; }
	
	/* OUR TEAM */
	
	#team .col-full { overflow: hidden; margin-bottom: 50px; }
	.profile.col-one-fourth { float: none; display: inline-block; margin-right: 3.5%; vertical-align: top; }
	.profile { margin: 0 4% 25px 0; overflow: visible; }
	.profile img { width: 100%; margin-bottom: 10px; }
	.profile h4 { font-family: 'Varela Round', sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0; }
	.profile span, .profile a { display: block; }
	.profile span { color: #666666; font-size: 13px; margin-bottom: 4px; }
	.profile a { font-size: 14px; }
	
		/* SINGLE PROFILE */
		
		#profile-meta { margin-bottom: 70px; }
		#profile-meta h1, #profile-meta h4 { font-family: 'Varela Round', sans-serif; }
		#profile-meta h4 { font-size: 20px; margin-bottom: 15px; }
		#profile-meta h1 { margin-bottom: 5px; }
		#job-title { font-size: 20px; display: inline-block; padding-right: 8px; }
		#profile-details { width: 41.5%; }
		#profile-image img { margin-bottom: 30px; }
		#profile-contacts { padding-left: 18%; }
		#profile-contacts p { margin-bottom: 8px; }
		#profile-contacts span { display: inline-block; padding-right: 5px; }
		#profile-contacts .icon { padding: 0; border-radius: 50%; color: #fff; background-color: #a2c9e1; display:block; height: 40px; width: 40px; text-align: center; line-height: 40px; }
		#profile-contacts .fa-envelope { font-size: 18px; }
		#profile-contacts .fa-phone { font-size: 23px; }
	
	/* SERVICES */
	
	#service-title { width: 100%; clear: both; overflow: hidden; margin-bottom: 10px; }
	#service-title img { margin-right: 15px; }
	#service-title h1 { padding-top: 17px; }
	
	.related-staff { width: 100%; clear: both; margin-bottom: 40px; position: relative; }
	#related-staff h3 { margin-bottom: 30px; }
	
/* ----------------------------------------------------------------
    SIDEBAR RIGHT
-----------------------------------------------------------------*/

	.sidebar-item { margin-bottom: 40px; }
	.sidebar-item h2.section-heading { margin-bottom: 20px; }
	
	/* GLOBAL CONTACT */
	
	#global-contact { font-size: 15px; color: #666666; }
	#global-contact ul { margin: 0 0 15px 0; }
	#global-contact li { margin: 0; }
	#global-contact li span { color: #000000; }
	
	/* SUBNAV */
	
	#subnav ul { list-style: none; margin: 0; padding: 0 0 0 80px; }
	#subnav li { margin-bottom: 20px; }
	#subnav a { display: block; width: 80px; height: 80px; text-indent: -5000px; }
	#subnav a:hover, #subnav li.current-menu-item a { background-position: center 0; }
	li#menu-item-107 a { background: url(gfx/sprite-family.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-108 a { background: url(gfx/sprite-property.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-109 a { background: url(gfx/sprite-commercial.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-110 a { background: url(gfx/sprite-employment.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-111 a { background: url(gfx/sprite-civil-litigation.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-144 a { background: url(gfx/sprite-crown.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-143 a { background: url(gfx/sprite-trusts.png) no-repeat center -160px; background-size: 80px 240px; }
	li#menu-item-142 a { background: url(gfx/sprite-maori-land.png) no-repeat center -160px; background-size: 80px 240px; }

	
/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/
	
#global-footer { background: #dcddde; border-bottom: 30px solid #bcbec0; color: #666666; font-size: 14px; }
	
	#global-footer a { color: #000000; }
	#global-footer a:hover { color: #75acd1; }
	#global-footer li { margin: 0; }
	#global-footer li span { color: #000000; }
	
	.footer-nav ul { list-style: none; margin: 0; padding: 0; }
	
	#footer-meta { font-size: 13px; }
	#footer-meta a { display: block; line-height: 18px; }
	#footer-meta span { display: block; padding-top: 10px; }
	
/* ----------------------------------------------------------------
    BACK TO TOP
-----------------------------------------------------------------*/

#back-to-top { display: none; z-index: 999; position: fixed; width: 40px; height: 40px; top: auto; left: auto; right: 30px; bottom: 30px; cursor: pointer; background: url(gfx/sprite-btn-btt.png) no-repeat 0 0; }
#back-to-top:hover,
#back-to-top:active { background-position: 0 -40px; }
#back-to-top span { display: block; text-indent: -10000px; }