
* { padding: 0; margin: 0; }
a img { border: 0; }
button { cursor: pointer; }

input, textarea, select {
	font-family: Arial, sans-serif;
	font-size: .95em;
}

html {
	height: 100%;
}

body {
	font-family: Arial, sans-serif;
	font-size: .8em;
	min-width: 320px;
	display: table;
	width: 100%;
	height: 100%;
}

#login {
	background: url(../customization/login_bg_1920.jpg) no-repeat 50% 0 fixed;
	background-size: cover;
}

@media screen and (min-width: 641px) and (max-width: 1024px) {
	#login {
		background-image: url(../customization/login_bg_1024.jpg);
	}
}

@media screen and (min-width: 321px) and (max-width: 640px) {
	#login {
		background-image: url(../customization/login_bg_640.jpg);
	}
}

@media screen and (max-width: 320px) {
	#login {
		background-image: url(../customization/login_bg_320.jpg);
	}
}

#loginbox,
#personaldatabox {
	padding: .5em;
	display: table-cell;
	height: 100%;
	vertical-align: middle;
}

#login .wrapper {
	background: #fff;
	max-width: 424px;
	margin: auto;
	/*box-shadow: 0 0 .5em rgba(0,0,0,.4);*/
}

#personaldatabox .wrapper {
	max-width: 700px;
}

#login .content {
	margin: auto;
	padding: 3em 0;
	max-width: 300px;
	width: 90%;
	text-align: left;
}

#personaldatabox .content {
	max-width: 450px;
}

#login h1 {
	text-align: center;
	font-size: 1.4em;
	margin-bottom: 2em;
}

#login .message {
	text-align: center;
	color: #535553;
	margin: 1em 0;
}

#login .fieldrow {
	margin: 1.5em 0 0;
}

#login .fieldrow {
    position:relative;
}
#login .fieldrow label {
    position:absolute;
    left:0;
    top:-1.1em;
	color: #999999;
}

#login .fieldrow.type_checkbox label,
#login .fieldrow.type_radio label{
    position:static;
    margin-left:.5em;
}

#login .field {
	display: block;
	border: 1px #adadad solid;
	border-radius: .1em;
	padding: .4em .5em;
	background: #fff;
}

#login .field_gender select,
#login .field_location select,
#login .field_province select {
	padding: 4px .25em 4px;
	outline: 0;
	width: 100%;
	font-size: 14px;
}

#login select option.empty {
    color:#999;
    font-style:italic;
}

#login .date select,
#login .field_birthdate select {
    padding: 4px .25em 4px;
	outline: 0;
	font-size: 1.1em;
}

#login .field input,
#login .field select {
	border: 0;
	outline: 0;
	background: none;
	width: 100%;
	font-size: 1.1em;
}

#login .actions {
	text-align: center;
	margin-top: 2em;
}

#login .actions button {
	background: #db5a27;
	border: 0;
	padding: .8em 1.2em;
	color: #fff;
	text-transform: uppercase;
}

#login a {
    color: #d2171c;
    text-decoration: none;
}

#login a:hover {
    text-decoration: underline;
}

#errors,
.errors {
	display: none;
	color: #f33;
	font-style: italic;
	margin-top: 2em;
	line-hright: 1.4em;
}

#errors li,
.errors li {
	margin-left: 1.2em;
}

#personaldatabox .fieldrow {
	float: left;
	width: 48%;
}

#personaldatabox .fieldrow.odd,
#personaldatabox .fieldrow:nth-child(odd) {
	clear: both;
}

#personaldatabox .fieldrow.even,
#personaldatabox .fieldrow:nth-child(even) {
	float: right
}

#personaldatabox .field_terms {
    width: auto;
	clear: both;
    float: none !important;
	padding-top: 1.5em;
    text-align:left;
}
#personaldatabox .field_terms label {
    display:inline;
}

#personaldatabox .field_terms > * {
	vertical-align: middle;
}

#voucherform {
	margin-bottom: 4em;
}

@media screen and (max-width: 410px) {
	#personaldatabox .fieldrow.even,
	#personaldatabox .fieldrow.odd {
		float: none;
		width: auto;
	}
}

#login .button {
	background: #d2171c;
	border: 0;
	padding: .8em 1.2em;
	color: #fff;
	text-transform: uppercase;
	display: inline-block;
	cursor: pointer;
}

#login .button-arrow {
	/*background: transparent url('images/button-arrow.png') no-repeat center right;*/
	padding-right: 2em;
}

#login .hide {
	display: none;
}

#login p[class*="button-"] {
	text-align: center;
	margin-top: 3em;
}

#login [class*="tab-"] {
	margin-top: 3em;
}

.notifications {
    position:absolute;
    width:100%;
    padding:1em;
}

#login .notifications .content {
    background: #eaedf1;
    margin: auto;
    max-width:1024px;
    padding:0;
}

#login .notifications .content .message.error {
    color: #f1000a;
}

#login .notifications .message {
    position:relative;
    padding: 1em;
}

#login .notifications .message .close {
    text-decoration:none;
    font-weight:bold;
    color:#666;
    position:absolute;
    top:0em;
    right:-1em;
}

.notifications .message,
.notifications .message > * {
    text-align: center;
    color: #D2171C;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 2em;
}

.notification {
    padding: 2em 2em 4em;
}

.notification > * {
    text-align: center;
    color: #D2171C;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 2em;
}