/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
		background: #080b0e;
    color: #fff;
    font-size: 1em;
    line-height: 1.4;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	-webkit-font-smoothing: antialiased;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	padding: 0;
	margin: 0;
}

a {
	color: #2394ce;
}

.mobile-bg img {
	display: block;
	height: auto;
	max-width: 100%;
}

.wrapper {
	background: #224e65;
	margin: -50px 20px 20px;
	max-width: 850px;
	padding: 20px 0 20px 20px;
	-webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.success .wrapper {
	background: transparent;
	padding: 0;
}

.main {
	margin-right: 20px;
}

.aside {
	background: #1c4155;
	margin: 160px 20px 0 0;
	padding: 15px 20px 20px;
}

.bluray {
	text-align: center;
}

.bluray img {
	margin-top: -150px;
}

h1 {
	font-weight: normal;
}

h1 span {
	font-weight: bold;
}

h2 {
	border-bottom: 1px solid #185b77;
	font-size: 1em;
	line-height: 1em;
	margin-top: 2em;
	padding-bottom: 6px;
	text-transform: uppercase;
}

h3 {
	font-size: 90%;
	margin-bottom: 5px;
}

ul {
	margin: 0;
	padding: 0;
}

.form-group {
	padding: 10px 20px 10px 0;
}

.form-group span {
	font-size: 100%;
}

label {
	display: block;
	font-size: 100%;
	font-weight: 700;
	padding-bottom: 3px;
}

span.radio label{
	display: inline;
	padding: 0 2em 0 1em;
	font-size: 1em;
}

label.radio {
	display: inline;
	padding: 0 2em 0 1em;
}

.product-list label, .terms label {
	display: inline;
	font-weight: 300;
}

input[type="text"], select {
	background: #fff;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #333;
	font-size: 90%;
	height: 3em;
	padding: 0.8em;
	width: 100%;
}

.product-list input, .terms input {
	margin-right: 1em;
}

.first select, .stylecuts select, .justice select {
	width: auto;
}

fieldset li {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0.2em 1em 0.2em 0;
}

.postcode, .state, .gender {
	float: left;
	width: 50%;
}

.stylist {
	clear: left;
}

.submit-btn, .success-link a {
	background: #13a6ed;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 85%;
	font-weight: 700;
	padding: 1em 3em;
	text-decoration: none;
}

.note {
	font-size: 85%;
}

.mail {
	clear: left;
	padding-top: 1em;
}

.error {
	margin-left: 20px;
	color: #dbb366;
}

.error select,
.error select,
.error input,
.error textarea, .errorInput{ border: 1px solid #DA0000 !important; }
.error span{font-size: 100%; background: #DA0000; color: #FFF; padding: 5px 10px; position: absolute; top: 2px; left: 486px; -moz-border-radius: 5px; -webkit-border-radius: 5px; display: none; }

body.success {
	background: url('../img/bg-success-mobile.jpg') no-repeat center top;
	padding: 35% 0 30%;
}

.success-box {
	background: #224e65;
	margin: 0 auto;
	max-width: 600px;
	padding: 40px;
	text-align: center;
}

.success-box h1 {
	font-size: 45px;
	font-weight: 700;
	line-height: 1.2em;
	margin: 0;
}

.success-link {
	padding: 1.5em 0 4em;
}

.success-logos img {
	margin: 0 20px 20px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 500px) {

	fieldset li {
		float: left;
		width: 50%;
	}

	.form-group {
		float: left;
		width: 50%;
	}

	.postcode, .state, .gender {
		width: 25%;
	}

	.product-list, .terms {
		width: 100%;
	}

	.success-box h1 {
		font-size: 60px;
	}

}

@media only screen and (min-width: 740px) {

	body {
		background: url('../img/bg-desktop.jpg') no-repeat top center;
		padding: 710px 0 0;
	}

	body.success {
		background-image: url('../img/bg-success-desktop.jpg');
		height: 100%;
		padding-top: 15%;
		padding-bottom: 280px;
	}

	.mobile-bg {
		display: none;
	}

	.wrapper {
		margin-top: 0;
	}

	.main {
		float: left;
		margin: 0 20px 0 30px;
		width: 55%;
	}

	.aside {
		float: right;
		margin: 30px 40px 0 0;
		width: 30%;
	}

	fieldset li {
		width: 33%;
	}

	.terms li {
		width: 100%;
	}

	.note {
		display: block;
		margin-left: 2.1em;
	}

}

@media only screen and (min-width: 890px) {

	.wrapper {
		margin: 0 auto 20px;
	}

}

@media only screen and (min-width: 1600px) {

	body.success {
		padding-top: 300px;
	}

	.wrapper {
		margin: 0 auto 20px;
	}

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

