/* Solitaire Automotive iPad Entry Form Style Sheet */

body, h1, h2, h3, h4, h5, h6, p, ul, li, form {
	margin: 0px;
	padding: 0px;
	list-style: none;
	font-size: 1em;
}

body, p {
	color: #000000;
}

body {
	font-size: 18px;
}

body, input {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 200;
	color: #000000;
}

body {
	line-height: 20px;
	background-color: black;
}

a {
	color: #777777;
	text-decoration: none;
	outline: none;
}

img {
	border: none;
}

input, select {
	font-size: 1em;
}

label {}

.wrapper {
	display: none;
	margin: 0;
	width: 924px;
	padding: 30px 50px 30px 50px;
	position: relative;
	overflow: hidden;
	background-color: white;
	min-height: 547px;
	position: absolute;
	top: 0;
}

.entryform {
	display: block;
	position: relative;
}

.thankyou {
}

#form-errors {
	display: none;
	width: 390px;
	padding: 25px 20px 25px 20px;
	background-color: white;
	-webkit-border-radius: 7px; 
	border-radius: 7px;
	margin: 0;
	-webkit-box-shadow: 0px 0px 20px 5px #555;
	box-shadow:         0px 0px 20px 5px #555;
	position: absolute;
	z-index: 10;
	top: 200px;
	left: 40px;
	border: 3px solid red;
}

#form-errors p {
	font-size: 18px;
	line-height: 22px;
}

#form-errors p .red-bold {
	color: red;
	font-weight: 500;
}

.wrapper.wait {
}

#left-column {
	width: 415px;
	float: left;
}

.wide-column {
	width: 924px;
	min-height: 320px;
	float: left;
}

#left-column h1, .wide-column h1 {
	font-weight: bold;
	font-size: 88px;
	line-height: 80px;
	padding-bottom: 0;
}

.wide-column h1 {
	padding-bottom: 20px;
}

#left-column h2, .wide-column h2 {
	font-weight: bold;
	font-size: 56px;
	line-height: 56px;
	padding-bottom: 0;
}

#left-column h2.grey-text, .wide-column h2.grey-text {
	padding-bottom: 18px;
	color: #999;
}

#left-column h3, .wide-column h3 {
	font-weight: bold;
	font-size: 30px;
	line-height: 40px;
	padding-bottom: 0;
}

#left-column h4, .wide-column h4 {
	font-weight: bold;
	font-size: 38px;
	line-height: 48px;
	padding-bottom: 10px;
	color: #a7a7a7;
}

#left-column p, .wide-column p {
	font-weight: 200;
	font-size: 18px;
	line-height: 23px;
}

#right-column {
	width: 485px;
	float: right;
}

.form-row-left {
	float: left;
	width: 95px;
	height: 30px;
	margin-bottom: 12px;
}

.form-row-right {
	float: left;
	width: 390px;
	height: 30px;
	margin-bottom: 12px;
}

.form-row-full {
	float: left;
	width: 485px;
	height: 30px;
	margin-bottom: 12px;
}

.button-wrapper {
	float: left;
	width: 485px;
	min-height: 30px;
}

.button-wrapper input.button {
	width: 483px;
	text-decoration: none;
	display: inline-block;
	height: 30px;
	line-height: 30px;
	font-size: 15px;
	background: #2ba84f;
	color: white;
	font-weight: bold;
	-webkit-border-radius: 5px; 
	border-radius: 5px;
	-webkit-tap-highlight-color: rgba(255,255,255,0.6);
	text-shadow: rgba(0,0,0,0.7) 0 1px 0;
	text-align: center;
	margin: 0;
	padding: 0;
}

.button-wrapper input#submit-button {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#48ce73), to(#0b7f26));
	margin-bottom: 10px;
	border: 1px solid #8fc6a1;
}

.button-wrapper input#submit-button:active {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0b7f26), to(#48ce73));
	border: 1px solid #8fc6a1;
}

.button-wrapper input#cancel-button {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cccccc), to(#666666));
	border: 1px solid #999999;
}

.button-wrapper input#cancel-button:active {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#666666), to(#cccccc));
	border: 1px solid #999999;
}

.form-row-full p, .form-row-full label {
	font-size: 12px;
	line-height: 16px;
}

.brands-wrapper {
	background-image: url(../images/brand-logos-v2.png);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 485px;
	min-height: 95px;
	border-bottom: 1px solid #bababa;
}

.brands-wrapper p.small-text {
	padding-bottom: 5px;
}

.brands {
	float: left;
	text-align: center;
}

.aston-martin {
	width: 50px;
}

.audi {
	width: 47px;
}

.bentley {
	width: 49px;
}

.jaguar {
	width: 52px;
}

.land-rover {
	width: 49px;
}

.skoda {
	width: 38px;
}

.volkswagen {
	width: 37px;
}

.vw-commercial {
	width: 37px;
}

.volvo {
	width: 34px;
}

.maserati {
	width: 34px;
}

.pre-owned {
	width: 56px;
}

.form-row-left label, .form-row-right label {
	line-height: 30px;
}

.form-row-right input.full-width {
	width: 100%;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	min-height: 30px;
}

.form-row-right input.postcode-input {
	width: 110px;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	min-height: 30px;
	float: left;
}

.form-row-right .state-wrapper {
	float: right;
	height: 30px;
}

.form-row-right .state-wrapper select#state {
	min-width: 90px;
	min-height: 30px;
}

.check-wrapper {
	width: 485px;
	margin-bottom: 20px;
	clear: both;
	font-size: 12px;
	line-height: 16px;
}

.check-wrapper .form-row {
	margin: 0 0 7px 0;
}

.check-wrapper label {
	display: inline;
}

.check-wrapper input.check-box, .check-wrapper input.check-box {
	vertical-align: baseline;
    float: none;
    margin: 0 5px 0 0;
}


/* Footer Styles */

footer {
	margin: 0;
	background-color: black;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#595959), to(#000000));
	padding: 25px 50px 25px 50px;
	clear: both;
	position: relative;
	overflow: hidden;
	width: 924px;
}

footer p {
	color: white;
	font-size: 11px;
	line-height: 15px;
	font-weight: 200;
	margin-bottom: 10px;
}

footer p strong {
	font-weight: 800;
}

footer a {
	color: white;
}

.footer-column-narrow {
	float: left;
	width: 113px;
	margin-right: 27px;
	border-right: 1px solid #4d4d4d;
	min-height: 185px;
}

.footer-column-wide {
	float: left;
	width: 138px;
	margin-right: 27px;
	border-right: 1px solid #4d4d4d;
	min-height: 185px;
}

.footer-column-last {
	float: left;
	width: 138px;
	margin-right: 27px;
	min-height: 185px;
}

.terms-button-wrapper {
	float: right;
	width: 300px;
	text-align: right;
	height: 27px;
	margin-bottom: 17px;
}

.terms-button-wrapper input.button {
	width: 255px;
	text-decoration: none;
	display: inline-block;
	height: 60px;
	line-height: 20px;
	font-size: 12px;
	background-color: #505150;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2e2f2f), to(#717271));
	color: white;
	font-weight: 500;
	-webkit-border-radius: 5px; 
	border-radius: 5px;
	-webkit-tap-highlight-color: rgba(255,255,255,0.6);
	text-shadow: rgba(0,0,0,0.7) 0 1px 0;
	border: 1px solid #565656;
	text-align: center;
	margin: 0;
	padding: 0 10px;
	white-space: normal;
}

.terms-button-wrapper input.button:active {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#717271), to(#2e2f2f));
}

#solitaire-logo {
	width: 624px;
	height: 27px;
	margin-bottom: 17px;
	float: left;
}

/* Terms and Conditions Page */


#terms-wrapper {
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#terms-content {
	width: 80%;
	padding: 30px;
	background-color: white;
	-webkit-border-radius: 10px; 
	border-radius: 10px;
	margin: 40px auto;
	-webkit-box-shadow: 0px 0px 30px 10px #000;
	box-shadow:         0px 0px 30px 10px #000;
}

#terms-content h2 {
	font-size: 18px;
	line-height: 23px;
	padding-bottom: 20px;
	color: #888888;
}

#terms-content ol {
	color: #888888;
	margin: 0;
	padding-bottom: 10px;
}

#terms-content ol li {
	font-size: 16px;
	line-height: 20px;
	padding-bottom: 7px;
	list-style: decimal;
}

#terms-content p {
	color: #888888;
	font-size: 16px;
	line-height: 20px;
	padding-bottom: 7px;
}

#terms-content .terms-footer-logo {
	padding: 50px 0 0 0;
}

#terms-content .close-window {
	float: right;
	margin: 0;
	padding: 5px 10px 5px 7px;
	background-color: rgba(0,0,0,0.2);
	border-radius: 5px;
	-webkit-border-radius: 5px;
}

#terms-content .close-window img {
	float: left;
	display: inline;
	padding-right: 7px;
}

#terms-content .close-window h4 {
	font-size: 12px;
	line-height: 20px;
}

#terms-content .close-window h4 a:link, #terms-content .close-window h4 a:visited {
	color: white;
}

#terms-content .close-window h4 a:active {
	color: black;
}
 
.show_hide {
    display:none;
}

.hide_show {
    display:block;
}

form .error {
	outline: 1px dashed red;
	outline-offset: 2px;
}

label.error {
position:relative;
font-size: 14px;
border: 1px solid #acacac;
border-radius: 5px;
padding: 7px 7px 7px 24px;
background-color: white;
line-height: 18px;
background-image: url(../images/warn.png);
background-repeat: no-repeat;
background-position: 3px center;
margin: 0;
text-indent: 0;
top: 10px;
float: left;
}

label.error:before {
content: ' ';
height: 13px;
width: 24px;
display: block;
background-image: url(../images/point.png);
position: absolute;
top: -13px;
left: 13px;
}


/* Entry Form Status Area */
#entry-form-status {
    font-size: 8pt;
    float: left;
    margin-top: 10px;
    position: absolute;
    left: 50px;
    bottom: 30px;
}

#entry-form-status .status {
border: 1px solid #999;
border-radius: 3px;
padding: 1px 3px;
background: #aaa;
color: white;
margin-right: 10px;
}

#entry-form-status .status.ok {background: #2a2;}
#entry-form-status .status.bad {background: #a22;}

/* http://tobiasahlin.com/spinkit/ */
.spinner {
width: 20px;
height: 13px;
text-align: center;
font-size: 30px;
display: inline-block;
line-height: 10px;
vertical-align: top;
}
.spinner.hidden {
    visibility: hidden;
    width: 0;
}

.spinner > div {
  background-color: #333;
  height: 100%;
  width: 2px;
  margin-right: 2px;
  display: inline-block;
  
  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}
