/*
Theme Name: Martin Denby V2
Version: 1.0
Theme URI: http://www.skincancerdoctor.co.nz
Author: Luxe Interactive
Author URI: http://www.luxe.net.nz
Description: A custom responsive theme developed by Luxe for Martin Denby
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, light, one-column, two-columns, responsive-layout, left-sidebar, right-sidebar, custom-menu, featured-images, sticky-post, translation-ready, black, blue, custom-background, custom-colors, featured-images, theme-options, threaded-comments
*/



/*
This CSS resource incorporates links to font software which is the valuable copyrighted
property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
Imaging with any questions regarding Web Fonts:  http://webfonts.fonts.com
*/

/*  IMPORT Fonts  ============================================================================= */

/*
This CSS resource incorporates links to font software which is the valuable copyrighted
property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
Imaging with any questions regarding Web Fonts:  http://webFonts.Fonts.com
*/

			@font-face{
font-family:"NeueHaasGroteskText Pro";
src:url("Fonts/1261935/95271da8-8990-4306-bc7f-0e2d1a92f72e.eot?#iefix");
src:url("Fonts/1261935/95271da8-8990-4306-bc7f-0e2d1a92f72e.eot?#iefix") format("eot"),url("Fonts/1261935/4b96e8db-6bb0-4bbf-8561-ad1668425256.woff") format("woff"),url("Fonts/1261935/b07e68ca-f6b5-47bd-9d55-540e832dcfab.ttf") format("truetype"),url("Fonts/1261935/2d4198ee-aaf9-4613-ace5-01f31b62810b.svg#2d4198ee-aaf9-4613-ace5-01f31b62810b") format("svg");
}
@font-face{
font-family:"NeueHaasGroteskText Pro1261937";
src:url("Fonts/1261937/8b39e04f-9487-4eac-a4a2-754cc0f7a8c0.eot?#iefix");
src:url("Fonts/1261937/8b39e04f-9487-4eac-a4a2-754cc0f7a8c0.eot?#iefix") format("eot"),url("Fonts/1261937/a258f2b1-cb57-42f2-9432-5eb93521fd2a.woff") format("woff"),url("Fonts/1261937/ea1c4a97-4341-4800-b0b3-9072c96f6701.ttf") format("truetype"),url("Fonts/1261937/1542ad96-b492-49c1-a6d9-8108d8e011a4.svg#1542ad96-b492-49c1-a6d9-8108d8e011a4") format("svg");
}
@font-face{
font-family:"NeueHaasGroteskText Pro Md";
src:url("Fonts/1261940/7cfcca0c-7dc0-43f9-94ae-59c7be593329.eot?#iefix");
src:url("Fonts/1261940/7cfcca0c-7dc0-43f9-94ae-59c7be593329.eot?#iefix") format("eot"),url("Fonts/1261940/114cebe1-1e11-46b0-a45c-f29a2f907467.woff") format("woff"),url("Fonts/1261940/d0dbfc93-f3b1-486e-b8b5-66d984f65eff.ttf") format("truetype"),url("Fonts/1261940/1d452e54-b774-4e63-8d73-17a4f9afaa1a.svg#1d452e54-b774-4e63-8d73-17a4f9afaa1a") format("svg");
}
@font-face{
font-family:"NeueHaasGroteskText Pro1261942";
src:url("Fonts/1261942/16223bd0-e940-42c5-ad2b-ac4ee8aabbfb.eot?#iefix");
src:url("Fonts/1261942/16223bd0-e940-42c5-ad2b-ac4ee8aabbfb.eot?#iefix") format("eot"),url("Fonts/1261942/8bc0c422-40f0-40ce-a57c-c12c4e542ae5.woff") format("woff"),url("Fonts/1261942/50c29edd-c075-4f13-8e30-4a36e49b115a.ttf") format("truetype"),url("Fonts/1261942/52ecdab0-f84c-45ee-98ae-a6964addd3ee.svg#52ecdab0-f84c-45ee-98ae-a6964addd3ee") format("svg");
}
@font-face{
font-family:"NeueHaasGroteskText Pro1261944";
src:url("Fonts/1261944/7a9f5e8a-31f9-430c-bb19-1920ca99b73a.eot?#iefix");
src:url("Fonts/1261944/7a9f5e8a-31f9-430c-bb19-1920ca99b73a.eot?#iefix") format("eot"),url("Fonts/1261944/7eac4442-f81d-41ec-8517-bbe52aecfcbf.woff") format("woff"),url("Fonts/1261944/10c620b6-7e51-4bcb-9ee6-6e6a2ffef4e6.ttf") format("truetype"),url("Fonts/1261944/81071a35-5f00-4350-919f-611181bb8c1d.svg#81071a35-5f00-4350-919f-611181bb8c1d") format("svg");
}
@font-face{
font-family:"NeueHaasGroteskText Pro1261946";
src:url("Fonts/1261946/cd90f712-5eee-43bf-87ae-6f3c2680d885.eot?#iefix");
src:url("Fonts/1261946/cd90f712-5eee-43bf-87ae-6f3c2680d885.eot?#iefix") format("eot"),url("Fonts/1261946/6628fcf5-2ef5-4a69-9bdf-1ead2f93295c.woff") format("woff"),url("Fonts/1261946/0f1d2fa8-d7a0-4636-9883-7000f99e3ad2.ttf") format("truetype"),url("Fonts/1261946/47c6487a-9794-483a-a2a2-3a196bf61fb6.svg#47c6487a-9794-483a-a2a2-3a196bf61fb6") format("svg");
}



@font-face {
  font-family: 'fontello';
  src: url('Fonts/fontello.eot?10061550');
  src: url('Fonts/fontello.eot?10061550#iefix') format('embedded-opentype'),
       url('Fonts/fontello.woff?10061550') format('woff'),
       url('Fonts/fontello.ttf?10061550') format('truetype'),
       url('Fonts/fontello.svg?10061550#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?10061550#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-right-open-big:before { content: '\e801'; } /* '' */
.icon-left-open-big:before { content: '\e802'; } /* '' */


/* BASIC PAGE SETUP ============================================================================= */

body { 
margin : 0 auto;
padding : 0;
font: 16px/1.4 'NeueHaasGroteskText Pro Md', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;	
color: #3f3e3d; 
text-align: center;
}

.fadein {
	display: none;
}

button, 
input, 
select, 
textarea { 
font-family:  'NeueHaasGroteskText Pro', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;
color: #3f3e3d; }

/*  HEADINGS  ============================================================================= */

h1, h2, h3, h4, h5, h6, .intro-blurb p {
font-family: 'NeueHaasGroteskText Pro Md', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;
font-weight: normal;
margin-top: 10px;
letter-spacing: -0.5px;
}

h1{ 
font-family: 'NeueHaasGroteskText Pro Md', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;
color: #3f3e3d;
margin-bottom : 0.2em;
font-size: 40px; 
line-height : 1.4;
}

.page-id-4 h1 {
	
}

h1.large{ 
font-size: 36px; 
color: #333;
padding-top: 1em;
}

.contact p, .contact input, input[type="submit"] {
	font-size: 32px; 
	text-align: center;
	padding-top: 0;
	color: #3f3e3d;
	font-family:  'NeueHaasGroteskText Pro', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;
}
.contact p strong{
	font-family:  'NeueHaasGroteskText Pro Md', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;
}

.contact input {
	font-size: 34px;
}
input[type="submit"] {
	font-size: 32px;
}

h2, .intro-blurb p{ 
color: #3f3e3d;
margin-bottom: .5em;
margin-top: .5em;
font-size: 32px; 
line-height: 1.4;
}

h3 { 
color: #3f3e3d;
margin-bottom: 0.3em;
letter-spacing: -0.5px;
font-size: 28px; 
line-height: 1.4; }



h4{ 
color: #3f3e3d;
margin-bottom: 40px;
font-size: 18px; 
text-transform: uppercase;
letter-spacing: 2px;
line-height: 1.4; }


	footer h4 { 
		color: #ccc;
	}

h5 { 
color: #555;
margin-bottom : 1.25em;
font-size : 1em; /* 20 / 16 */ }

h6 { 
color: #666;
font-size : 1em; /* 16 / 16  */ }

.yellow {
	color: #fed858 !important;
}


/*  TYPOGRAPHY  ============================================================================= */

p, ol, ul, dl, address { 
font-family: 'NeueHaasGroteskText Pro Md', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif;
margin-bottom: 1.5em; 
font-size: 18px; 
line-height: 1.6;
color: #4d4848;
}

p, div {
hyphens: manual;  
}

.results-desc p {
	text-align: center;
}
.desc p {
	text-indent:30px;
	margin-left:0px;
	margin-bottom: 0;
	padding-bottom: 0;
}
.desc p:first-child, .desc blockquote p {
	text-indent:0px;
	margin-left:0px
}
.desc p img{
	margin: 40px auto;
	display: block;
}

.desc h3 {
	text-align: center;
	margin: 40px auto 20px;
}

.desc ul li {
	list-style: none;
	text-align: center;
	padding: 0;
	margin: 0;
	line-height: 1.4;
}

.desc blockquote {
	margin: 40px auto;
	background-color: #fed858;
	padding: 38px;
	text-align: center;
}
.desc blockquote p{
	padding: 14px 0;
	font-size: 24px;
}

p.introtext {
font-size : 2.5em; /* 40 / 16 */
color: #333;
line-height: 1.4em;
letter-spacing: -0.5px;
margin-bottom: 0.5em;
}


p.center, h2.center, h1.center, h3.center, h4.center, a.center {
text-align: center;
}


#testimonialblock #icons{
	position: relative;
}
.prev-container, .next-container {
	width: 50px;
	font-size: 30px;
	color: #4d4848;
	padding-bottom: 10px;
}

#testimonialblock #icons .icon-next{
	position: absolute;
	right: 40px;
	top: -50px;
}
#testimonialblock #icons .icon-previous{
	position: absolute;
	left: 40px;
	top: -50px;
}
#testimonialblock #icons .icon-next:hover, #testimonialblock #icons .icon-previous:hover{
	color: #000;
}

.testimonial.white h4 span, h4.underlined-y span{
	background: #fff url(img/yellow-dots-1x.svg) left bottom repeat-x;
	padding: 0 3px 15px;
}
.testimonial.grey h4 span, .testimonial.yellow h4 span, h4.underlined-g span{
	background: transparent url(img/grey-dots-1x.svg) left bottom repeat-x;
	padding: 0 5px 15px;
}
/*.testimonial h4 {
	margin: 2em 0 3.4em;
}
*/
.pullquote {
  position: relative;
  float: left;
}
.pullquote br { display: none; }
.pullquote:before { 
  content: "“";
  position: absolute;
}
.pullquote:before { 
  top: 0;
  left: -10px;
}


ul, 
ol { 
margin : 0 0 1.5em 0; 
padding : 0 0 0 24px; }

li ul, 
li ol { 
margin : 0;
font-size : 1em; /* 16 / 16 = 1 */ }

dl, 
dd { 
margin-bottom : 1.5em; }

dt { 
font-weight : normal; }

b, strong { 
font-weight : normal; font-family: 'NeueHaasGroteskText Pro1261944', 'Helvetica Neue', 'Helvetica', 'Trebuchet MS', verdana, arial, sans-serif; }

hr { 
display : block; 
margin : 1em 0; 
padding : 0;
height : 1px; 
border : 0; 
border-top : 1px solid #ccc;
}

small { 
font-size : 1em; /* 16 / 16 = 1 */ }

sub, sup { 
font-size : 75%; 
line-height : 0; 
position : relative; 
vertical-align : baseline; }

sup { 
top : -.5em; }

sub { 
bottom : -.25em; }

.subtext {
	color: #666;
	}

/* LINKS =============================================================================  */

a { 
color : #001;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
text-decoration: none;
}

a:visited { 
color : #001; }

a:focus { 
outline : none; 
color : rgb(0,0,0); }

a:hover, 
a:active { 
outline : none;
color : #001;
}

a.greylink {
	color: #3f3e3d;	
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

a.greylink:hover {
	color: #001;	
}

.contact-form a, .contact-form a:visited {
	color: #3f3e3d;
}
/* IMAGES ============================================================================= */

img {
border : 0;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}


img.floatleft { float: left; margin: 0 10px 0 0; }
img.floatright { float: right; margin: 0 0 0 10px; }


/* TABLES ============================================================================= */

table { 
border-collapse : collapse;
border-spacing : 0;
margin-bottom : 1.4em; 
width : 100%; }

th, td, caption { 
padding : .25em 10px .25em 5px; }

tfoot { 
font-style : italic; }

caption { 
background-color : transparent; }

/* FORMS ============================================================================= */

form { 
margin : 0; }

fieldset { 
margin-bottom : 1.5em; 
padding : 0; 
border-width : 0; }

legend { 
*margin-left : -7px; 
padding : 0; 
border-width : 0; }

label{
font-weight : normal;
cursor : pointer;
display:block;
margin:0;
position:relative;
top:0;
left:0;
}

	label.inline{
	display:inline;
	margin:0;
	}
	
	label span{
	color:#666;
	font-size:0.9em;
	}
	
	label span.right{
	position:absolute;
	bottom:0;
	right:1em;
	text-align:right;
	}
	
	label.disabled{
	color:#ccc;
	}


input, textarea, select, a { outline: none; }

button, 
search,
input, 
select, 
textarea { 
font-size : 100%; 
margin : 0; 
vertical-align : baseline; 
*vertical-align : middle; }

button, input { 
line-height : normal; 
*overflow : visible; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
padding: 5px;
margin: 0;
cursor : pointer; 
width: auto !important;
}

input[type="submit"]:hover{
	color: #fed858;
}

input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
	box-sizing : content-box;
}

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0;  }

input, textarea{
margin:0;
border:1px solid #FFF;
font-size:32px;
padding:5px;
width: 80%;
color: #3f3e3d;
background:#fff;
-moz-box-shadow:none;
-webkit-box-shadow:none;
box-shadow:none;
-webkit-appearance: none;
}

.wpcf7-form p, .wpcf7-form-control {
	margin-bottom: 0;
	font-size: 32px;
}
div.wpcf7-mail-sent-ok {
	border: 2px solid #fed858;
}
.message-box {
	border: 14px solid transparent;
	    padding: 0 10px 0 0;
	-webkit-border-image: url(img/border.png) 30 30 round; /* Safari 3.1-5 */
	    -o-border-image: url(img/border.png) 30 30 round; /* Opera 11-12.1 */
	    border-image: url(img/border.png) 30 30 round;
}
textarea {
	height: 150px;
	border: none;
	width: 100%;
	font-size:18px;
	margin-bottom
}
	input::-webkit-input-placeholder,
	input:-moz-placeholder,
	.placeholder{
	color:#bbb;
	}
	
	input::-moz-focus-inner {border:0;}

	input[disabled="disabled"], input.disabled{
	color:#999;
	background:#f5f5f5;
	-moz-box-shadow:inset 0px 0px 2px #ddd;
	-webkit-box-shadow:inset 0px 1px 2px #ddd;
	box-shadow:inset 0px 1px 2px #ddd;
	}


/* Colors for form validity */
input:valid, 
textarea:valid   {  
/* Styles */ }

input:invalid, 
textarea:invalid {
-webkit-box-shadow : 0 0 2px #f00; 
-moz-box-shadow : 0 0 2px #f00;
box-shadow : 0 0 2px #f00; }

.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid {
background-color : #ccc; }

div.wpcf7 img.ajax-loader {
	position: absolute;
}

::-webkit-input-placeholder {
   color: #3f3e3d;
}

:-moz-placeholder { /* Firefox 18- */
   color: #3f3e3d;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #3f3e3d;  
}

:-ms-input-placeholder {  
   color: #3f3e3d;  
}

span.wpcf7-not-valid-tip{
	font-size: 12px;
}
div.wpcf7-validation-errors {
text-align: center;
padding: 20px;
}

/*  MAIN LAYOUT	============================================================================= */

.hidden { display: none; }

#wrapper {
	width: 100%;
	position: relative;
	text-align: left;
}


header {
	clear: both;
	width: 80%; /* 1000px / 1250px */
	font-size: 0.8125em; /* 13 / 16 */
	max-width: 92.3em; /* 1200px / 13 */
	margin: 0 auto;
	padding: 45px 0px 10px 0px;
	position: relative;
	color: #000;
	text-align: center;
}
 
.logo {
	display: block;
}   
.logo img {
	width: 38%;
}
		

	#maincontentcontainer {
		width: 100%;
	}

		.standardcontainer {
			
		}
		
		.darkcontainer {
			background: rgba(102, 102, 102, 0.05);
		}

		.lightcontainer {
			background: rgba(255, 255, 255, 0.33);
		}
		
		
			.maincontent{
				clear: both;
				width: 75%; /* 1000px / 1250px */
				font-size: 0.8125em; /* 13 / 16 */
				max-width: 1100px; 
				margin: 0 auto;
				padding: 1em 0px;
				color: #333;
				line-height: 1.5em;
				position: relative;
			}
			
			
/* .linedivider {
	height: 1px;
	width: 100%;
	border-top: 1px dotted #999;
	margin: 4em 0 0;
	padding: 0 0 3em;
	clear: both;
} */

.maincontent p.small {
	font-size: 120%;
}
	.linedivider {
		background: transparent url(img/grey-dots-1x.svg) left center repeat-x;
		height: 1px;
		width: 100%;
		margin: 0;
		padding: 0 0 3em;
		clear: both;	
	}

.highlighted {
	background-color: #fed858;
	padding: 4em;
	text-align: left;
}

.testimonial.grey, .testimonial.white{ 
	padding: 2em 0;
	margin: 2em 0;
}
.testimonial.grey {
	/*border-top: 1px dotted #999;
	border-bottom: 1px dotted #999;*/
	background-color: #f6f5f0;
}
.testimonial.yellow {
	/*border-top: 1px dotted #999;
	border-bottom: 1px dotted #999;*/
	background-color: #fed858;
}
.affiliate-logos {
	margin: 0 auto;
	text-align: center;
	padding-top: 2em;
}
.affiliate-logo {
	display: inline;
	padding: 0 20px;
}
.affiliate-logo img {
	max-width: 180px;
	height: auto;
	max-height: 140px;
}

.img-centered {
	margin: 40px auto 0;
	text-align: center;
}

#slides {
	min-height: 400px;
}

ul#heros, #heros li {
	list-style: none;
	padding-left: 0;
}
#heros li
{
	display: none;

}
#heros li:first-child
{
	display: block;
}

#heros-nav {
	position: absolute;	
}
			
/*  NAVIGATION ============================================================================= */	
#mobile-nav {
	position: absolute;
	top: 50px;
	right: 20px;
	display: none;
}

#mainnavigation ul{ 
	/* border-top: 1px dotted #999;
	border-bottom: 1px dotted #999; 
	padding: 25px 0; */
	margin: 15px auto 25px;
}
		
#mainnavigation ul li{ 
	list-style: none; 
	display: inline-block;
	text-align: center;
	/* text-transform: uppercase;
	letter-spacing: 2px; */
	font-size: 90%;
}
#mainnavigation ul li a{ 
	color: #333;
}
#mainnavigation ul li a:hover .circle{ 
	background: #fed858;
}

.circle {
	position: relative;
	text-align: center;
	margin: 0 auto;
	border-radius: 50%;
	width: 90%;
	padding-bottom: 90%;
	background-color: #f6f5f0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	transition: all .5s ease;
}
.active .circle {
	background-color: #fed858;
}
.single-results #mainnavigation .results .circle {
	background-color: #fed858;
}


.emailbut a:hover .circle {
	background-color: #000;
}
.emailbut .circle {
	background-color: #3f3e3d;
	width: 86px;
	padding-bottom: 86px;
}

.circ_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}
.circ_content:before {
  content: '';
  vertical-align: middle;
  display: inline-block;
  width: 0;
  height: 100%;
}

.circ_content span {
  vertical-align: middle;
  display: inline-block;
}

/*  FOOTER ============================================================================= */			

	#footercontainer {
		width: 100%;
		margin: 4em 0;	
	}
	
		footer {
			clear: both;
			width: 80%; /* 1000px / 1250px */
			font-size: 0.8125em; /* 13 / 16 */
			max-width: 92.3em; /* 1200px / 13 */
			margin: 0 auto;
			padding: 20px 0px 10px 0px;
			color: #999;
		}

		p.up {
			background: transparent url(img/grey-dots-1x.svg) left center repeat-x;
			height: 52px;	
		}
		p.up a {
			display: block;
			opacity: 0.8;
			filter: alpha(opacity=80);
			-webkit-transition: all .5s ease;
			-moz-transition: all .5s ease;
			transition: all .5s ease;
		}
		
		p.up a:hover {
			display: block;
			opacity: 1;
			filter: alpha(opacity=100);
		}
		
		.emaildeets {
			background: transparent url(img/grey-dots-1x.svg) left center repeat-x;
			padding: 10px 0;
		}
		.col.emaildeets {
			margin-bottom: 0;
			padding-bottom: 0;
		}
		.email-deets .col {
			margin-top: 0;
		}
		
		.emailbut {
			width: 100px;
			text-align: center;
			margin: 4em auto 2em;
			color: #fff;
			text-transform: uppercase;
			letter-spacing: 1px;
		}
		.emailbut a{
			color: #fff;
		}
		
		footer h3 {
			color: #333;
			font-size: 18px;
			letter-spacing: -0.5px;
		}


/*  CIRCLE IMAGE WRAP - RESULTS LIST  ==================================================================== */

#before-after .image-wrap, #before-after .image-wrap:before, #before-after-detail .image-wrap, #before-after-detail .image-wrap:before {
	-moz-border-radius: 50%;
	border-radius: 50%;
}
#before-after .image-wrap, #before-after-detail .image-wrap {
	display: inline-block;
	position: relative;
	overflow: hidden;
	width: 90%;
	text-align: center;
	margin: 0 auto;
}	

#before-after .image-wrap img, #before-after-detail .image-wrap img{ 
	vertical-align: top;
	width: 100%;
}	


#before-after .slideshow .image-wrap { display: none } /* hide all images so no flash of content */
#before-after .slideshow .image-wrap:first-child { display: block }  /* now show first image */


#before-after{ 
	padding: 25px 0; */
	margin: 15px auto 25px;
	position: relative;
	padding-bottom: 80px; /* to allow room for title below */
}
		
#before-after li{ 
	list-style: none; 
	display: inline-block;
	text-align: center;
	font-size: 90%;
}

.results-hover-title {
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -400px;
	width: 800px;
	display:none;
	overflow: auto;
}

#before-after-detail {
	padding-top: 40px;
}

/*  RESULTS LIST - second version ==================================================================== */


#resultsblock li {
	margin: 0 auto;
	text-align: center;
	list-style-type: none;
}

#resultsblock p {
	width: 65%;
	margin: 10px auto 40px;
}
		
/*  INFORMATION TOGGLE LIST  ============================================================================= */

#toggle-view {
    list-style:none;    
    margin:0;
    padding:0;
}
#toggle-view li {
    margin:10px;
    position:relative;
    cursor:pointer;
}
#toggle-view span.icon {
    position:absolute;
    right:5px; top:12px;
	display:none;
}

#toggle-view h1 {
    margin:0;
	padding: 0;
}

#toggle-view .panel {
    margin:5px 0;
    display:none;
	overflow: auto;
}

		
/*  SECTIONS  ============================================================================= */

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

	
/*  CODE  ============================================================================= */

pre.code {
	padding: 0;
	margin: 0;
	font-family: monospace;
	white-space: pre-wrap;
	font-size: 1.1em;
}

strong.code {
	font-weight: normal;
	font-family: monospace;
	font-size: 1.2em;
}


/*  EXAMPLE  ============================================================================= */

#example .col {
	background: #ccc;
	background: rgba(204, 204, 204, 0.85);

}

/*  SAMPLE  ============================================================================= */

#sample .col {
	background: #ccc;
	padding: 1em 0;
	background: rgba(204, 204, 204, 0.85);

}

/*  CALCUATIONS  ============================================================================= */

#calculated .col {
	background: #ccc;
	padding: 1em 0;
	background: rgba(204, 204, 204, 0.85);

}

/*  NOTES  ============================================================================= */


.note {
	position:relative;
	padding:1em 1.5em;
	margin: 0 0 1em 0;
	background: #fff;
	background: rgba(255, 255, 255, 0.5);
	overflow:hidden;
}

.note:before {
	content:"";
	position:absolute;
	top:0;
	right:0;
	border-width:0 16px 16px 0;
	border-style:solid;
	border-color:transparent transparent #cccccc #cccccc;
	background:#cccccc;
	-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
	box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
	display:block; width:0; /* Firefox 3.0 damage limitation */
}

.note.rounded {
	-webkit-border-radius:5px 0 5px 5px;
	-moz-border-radius:5px 0 5px 5px;
	border-radius:5px 0 5px 5px;
}

.note.rounded:before {
	border-width:8px;
	border-color:#ff #ff transparent transparent;
	-webkit-border-bottom-left-radius:5px;
	-moz-border-radius:0 0 0 5px;
	border-radius:0 0 0 5px;
}

/*  SCREENS  ============================================================================= */


/*  COLUMNS  ============================================================================= */

.twocolumns{
	-moz-column-count: 2;
	-moz-column-gap: 2em;
	-webkit-column-count: 2;
	-webkit-column-gap: 2em;
	column-count: 2;
	column-gap: 2em;
  }

/*  BUTTONS  ============================================================================= */


.button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-weight: normal;
	color: #fff;
	padding: .5em 1em;
	margin: 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	background: #cc1122 url(/images/glass.png) repeat-x 0 50%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-size : 1.1em;
				
}
.button:hover {
	background: #dd2233 url(/images/glass.png) repeat-x 0 50%;
	color: #fff;
	text-decoration: none;
}
.button:active {
	background: #dd2233 url(/images/glass.png) repeat-x 0 50%;
	color: #fff;
	position: relative;
	top: 1px;
}
.button:visited { 
	color : #fff;
}



/*  GLOBAL OBJECTS ============================================================================= */

.breaker { clear: both; }

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}


.floatleft {
    float: left;
}

.floatright {
    float: right;
}


/* VENDOR-SPECIFIC ============================================================================= */

html { 
-webkit-overflow-scrolling : touch; 
-webkit-tap-highlight-color : rgb(52,158,219); 
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

.clearfix { 
zoom : 1; }

::-webkit-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::-moz-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::selection { 
background : rgb(254,216,88); 
color : rgb(250,250,250); 
text-shadow : none; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
-webkit-appearance : button; }

::-webkit-input-placeholder {
font-size : .875em; 
line-height : 1.4; }

input:-moz-placeholder { 
font-size : .875em; 
line-height : 1.4; }

.ie7 img,
.iem7 img { 
-ms-interpolation-mode : bicubic; }

input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
-webkit-box-sizing : content-box;
-moz-box-sizing : content-box; }

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0; }

p {
/* http://www.w3.org/TR/css3-text/#hyphenation */
-webkit-hyphens : manual;
-moz-hyphens : manual; }


