


/* @ modal */

.modal {
	display: none;
	position: absolute;
	top:0;
	left:0;
	height:100%; /* Gotcha not get the full document height, have used javascript to acheived result */
	width: 100%;	
	z-index: 5000;
	background: url(../../images/ui-generic2/ui-generic-transparent.png);
	/* may need to apply js to fill the window */
}

.rgba .modal {
	background: rgba(0,0,0, 0.8);
}




/* @ form */

/*
.modal > section {
	background: white;
	position: relative;
	padding: 30px 40px 40px 40px;
	width: 581px;
	height: auto;
	margin: 80px auto;
}
*/
.modal > section {
	background: white;
	position: absolute;
	padding: 30px 40px 40px 40px;
	width: 581px;
	height: auto;
	top: 100px;
	left: 50%;
	margin-left: -330px;
}


.modal > section h3 {
	margin: 9px 0;
}

.modal > section h5.subhead {
	position: relative;
	font-size: 22px;
	font-weight: bold;
}
.modal > section p.blurb {
	margin: 0;
	font-size: 20px;
}


.modal > section i {
	position: absolute;
	width: 20px;
	height: 20px;
	display: block;
	top: 32px;
	right: 10px;
}

.modal > section .username i {
    top: 53px;
}

.modal > section label {
	display: block;
	margin: 3px 0;
}


.modal > section label.small {
	color: black;
	font-size: 12px;
}

.modal > section label.small input {
	position: relative;
	top:-1px;
}

.modal > section input {
	padding: 7px 4px;
}



.modal > section form > div {
	position: relative;
	margin: 16px 0;
}

.modal > section form > div > div {
	position: relative;
	float: left;
	margin-right: 20px;
}

.modal > section form > div > div.last {
	margin-right: 0;
}





/* CLose button */

.modal > section a.close-btn {
	position: absolute;
	right: 10px;
	top: 10px;
	display: block;
	width: 14px;
	height: 15px;
	background: url(../../images/ui-generic2/ui-generic-close-modal-btn.png) center no-repeat;
	text-indent: -99999px;
}


/* Validation error maangement */

.modal > section label.error {
	position: absolute;
	right: 0;
	bottom: -23px;
	font-size: 12px;
	color: #CF2700;
}

.modal > section input.error {
	border:1px solid #cf2700;
}

.modal > section i.error {
	background: url(../../images/ui-generic.png) -7514px -175px no-repeat;
	border: none;
}

.modal > section i.valid {
	background: url(../../images/ui-generic.png) -7574px -175px no-repeat;	
	border: none;
}

.modal > section input.valid {
	border:1px solid #51a95a;
}




/* @ Facebook button login */

.modal > section .fb-login-bttn {


	position: absolute;
	width: 170px;
	height: 31px;
	display: block;
	background: url(../../images/ui-generic2/fb-login-standard-btn.png) top left no-repeat;
	text-indent: -99999px;
	right: 40px;
	top: 52px;
	z-index: 10000;
}



/* @ Facebook button mobile */

#loginModal.modal.off > section .fb-login-bttn {
	right: 10px;
	top: 19px;
}


/* @ Facebook login button */

.fb-login-button.fb_iframe_widget  {
	position: absolute;
	width: 63px;
	height: 22px;
	overflow: hidden;
	right: 41px;
	top: 50px;
	z-index: 500;
}


/* Login form */

#loginModal form  
{
    width:590px;
}

#loginModal.modal > section {
	width:901px;
	margin-left: -490px;
	height: auto;
}


#loginModal.modal > section .fb-login-bttn {
	right: 0;
	top: 11px;
}


#loginModal.modal > section form > div  {
	float: left;
	margin:10px 0;
}

#loginModal.modal > section form > div small {
	position: absolute;
	top: 5px;
	right: 0px;
}

#loginModal.modal > section form > div small a {
	font-size: 12px;
}

#loginModal.modal > section form > div.email {
	margin-right: 21px;
}

#loginModal.modal > section form > div.email input{
	width: 271px;
}

#loginModal.modal > section form > div.password input {
	width:272px;
}


#loginModal.modal > section form > div.checkout 
{
}

#loginModal.modal > section form button {
	display: block;
	position: absolute;
	top: 200px;
	left:0;
}





/* @ login left */

#loginModal.modal > section div.left {
	position: relative;
	float: left;
}


/* @ login right */

#loginModal.modal > section div.right {
	position: relative;
	float: right;
}



#loginModal.modal > section div.right span.top {
	background: url(../../images/ui-generic/ui-generic-horizontal-rule-light.png) repeat-x;
	position: absolute;
	top: 10px;
	left: 0;
	width: 100%;
	height: 1px;
	z-index: 100;
}

#loginModal.modal > section div.right span.bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	background: url(../../images/ui-generic/ui-generic-horizontal-rule-light.png) repeat-x;
	width: 100%;
	height: 1px;
	z-index: 100;
}

#loginModal.modal > section div.right span.left {
	position: absolute;
	width: 90px;
	height: 1px;
	background: url(../../images/ui-generic/ui-generic-horizontal-rule-light.png) repeat-x;
	left: 0;
	top: 50%;
}

#loginModal.modal > section div.right span.right {
	position: absolute;
	width: 90px;
	height: 1px;
	background: url(../../images/ui-generic/ui-generic-horizontal-rule-light.png) repeat-x;
	right: 0;
	top: 50%;
}


#loginModal.modal > section div.right > div h3 {
	font-size: 24px;
	margin-top: 25px;
}


#loginModal.modal > section div.right a:hover {
	text-decoration: none !important;
}


#loginModal.modal > section div.right > div {
	position: relative;
	width: 260px;
	height: 200px;
	padding: 10px;
	text-align: center;
	margin-top: 10px;
	background: #f0f3f8;
	line-height:3.3em;
}


/* @ register form */

#registerModal > section div.left {
	position: relative;
	width:582px;
	height: auto;
}






#registerModal > section form {
	margin-top:-3px;

}

#registerModal > section input[type=text], #registerModal > section input[type=password] {
	width: 571px;
}


#registerModal > section form div.clearfix {
	margin: 18px 0 32px 0;
}



#registerModal > section small {
	font-size: 10px;
	margin:0px 0 5px 0;
	display: block;
}



/* @ Facebook */

#registerModal > section .fb-login-bttn {
	background: url(../../images/ui-generic2/fb-signup-standard-btn.png) top left no-repeat;
	top:40px;
}


/* @ email */

#registerModal > section #email {
	width: 285px;
}
#registerModal > section div.email i {
	top:35px;
}

/* @ postcode */

#registerModal > section  #postcode {
	width: 114px;
}

#registerModal > section div.postcode i {
	top:35px;
}

#registerModal > section div.postcode label.error {
	bottom: -39px;
}


/* @ password */

#registerModal > section div.password i.error, #registerModal > section div.password i.valid {
	top:51px;
}



/* @ news and terms */

#registerModal > section div.left .checkboxes {
	margin-top: 52px;
}

#registerModal > section .checkboxes > label {
	margin: 5px 0;
}

#registerModal > section .checkboxes label.error {
	bottom: -34px;
	right: 158px;
}



/* @ gender */


#registerModal > section div.gender-group {
	margin-top: -10px;
}

#registerModal > section label.small.gender label.error{
	left: 0;
	bottom: -20px;
	white-space: nowrap;
}

#registerModal > section #gender_select {
	display: none;
}

#registerModal > section #gender_select.active {
	display: block;
}






#registerModal > section #registerModal_yearOfBirth {
	width: 122px;
}



#registerModal > section button {
	position: relative;
	display: block;
	margin-top: -12px;
}


.modal > section .formView.submitted, .modal > section .formView.processing  {
	top:0;
	left:0;
	position: absolute;
	background: white;
	width: 100%;
	height:100%;
	z-index: 1;
}



.modal > section .formView.error {
	z-index: 1;
}

.modal > section .formView.error p {
	color: #CF2700;
}

.modal > section .formView.error a {
	text-decoration: underline;
}


/* @ registerModal form complete */

.modal > section .formView {
	top:20px;
	display: none;
	position:relative;
	/*
	background: white;
	width: 100%;
	height: auto;
	z-index: 1;
	*/
}

.modal > section .formView.active {
	display: block;
	z-index: 10000;
}





/*  @ modal form submitted */

.modal > section .formView.submitted > div{
	position: relative;
	padding: 40px;
}


/* @ register moal form processing */


.modal > section .formView.processing .icon {
	background: url(../../images/ui-generic2/ui-ajax-loader.gif) top left no-repeat;
	position: absolute;
	width: 32px;
	height: 32px;
	top: 50%;
	margin-top: -16px;
	left: 50%;
	margin-left: -16px;
	display: block;
}


/* @ Tool tip next to sub heading on register modal */

#registerModal section .subhead .tooltip {
	position: relative;
	right: inherit;
	top: -3px;
	display: inline-block;
	left: 7px;
}



/*  @ tool tip for display name */


#registerModal > section .username label {
	position: relative;
	bottom:0;
}

#registerModal > section .username a.tooltip {
	right: 0;
	position: relative;
	display: inline-block;
	top: -1px;
	left: 4px;
}


#registerModal > section form#login-form .username div.visuallyhidden {
	color:#222;
}
#registerModal > section form#login-form .username div.visuallyhidden.active {
	top: 6px;
	left: 125px;
	right: inherit;
	height: 180px;
}






/* @ Heading tool tip */

#rolloverInfo.active {
	display: block;
	height: auto;
	clip: inherit;
}


/* Birth Date tooltip */


#registerModal > section .tooltip {
	position: absolute;
	top: 8px;
	right: 14px;
	color: #4176BA;
	font-size: 9px;
	display: block;
	padding: 1px 3px;
	border: 1px solid #9FBFE9;
	line-height: 1em;
}

#registerModal > section form#login-form div.visuallyhidden.active {
	display: block;
	height: auto;
	position: absolute;
	width: 270px;
	clip: inherit;
	bottom: 50px;
	right: 14px;
	padding: 5px 20px;
	background: #F0F3F8;
	z-index: 100;
	cursor: pointer;
}









/* @ validation error */

.error-container {
    display:none;
    position:relative;
}

.error-container.active {
    display:block;
}

.error-container ul {
   margin:0;
}

.error-container ul li {
    list-style:none;
    font-size:12px;

}

#loginModal.modal > section form > div.error-container {
    margin-top: 50px;
}

#loginModal.modal > section i {
    top: 37px;
}