* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

#options {
	margin:0;
	text-align: center;	
}

#background-on-popup {
    z-index: 1;
    position: fixed;
    display: none;
    height: 100%;
    width: 100%;
    background: #000000;
    top: 0px;
    left: 0px;
}

div.close {
    background: url(../images/closebox.png) no-repeat scroll 0 0 transparent;
    cursor: pointer;
    float: right;
    height: 16px;
    top: 10px;
    right: 10px;
    position: relative;
    width: 16px;
}

/* ==== Sign-In and Register Tabs ==== */
#sign-in-tab, #register-tab {
	color: #fff;
	font-size: 15px;
	padding:0 8px;
	display: inline-block;
	cursor: pointer;
	font-weight:normal;
	letter-spacing:1px;
	text-transform: uppercase;
	font-family:Arial, sans-serif;
}

/* ==== Wrapper of the forms ==== */
#sign-in-form {
	max-width: 480px;
	min-width: 280px;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	position: absolute;
	display: none;
	left: 50%;
    top: 8%;
	margin-left: -240px;
    border-radius: 4px;
    z-index: 2;
}

#register-form {
	max-width: 480px;
	min-width: 250px;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	position: absolute;
	display: none;
	left: 50%;
	top: 8%;
	margin-left: -240px;
    border-radius: 4px;
    z-index: 2;
}

/* ==== The form section styling of elements ==== */
#form-section {
	border-radius: 4px;
	background: #f9f9f9; /* here you can change the background color of the form */
	padding: 30px;
}

#form-section li {
	list-style: none;
}

#form-section label span {
	cursor: pointer;
	color: #e60000;
	display: block;
	margin: 5px 0;
	font-size: 15px;
}

.left-column { /* left column from the two column input row */
	float: left;
	width: 48%;
}

.right-column { /* right column from the two column input row */
	width: 48%;
	float: right;
}

@media (max-width: 380px) { /* takes care of the responsive behavior of the two column inputs */
	.left-column {
		width: 100%;
	}

	.right-column {
		width: 100%;
	}
}

@media (max-width: 480px) { /* takes care of the responsive behavior of the pop-up forms */
	#register-form, #sign-in-form {
		margin-left: 0;
		left: 0;
	}
}

/* ==== Inputs and Buttons of the form, with hover and focus behavior ==== */
#form-section input { /* here you can change the properties of the input fields */
	width: 100%;
	border: 1px solid #ddd;
	background: #fff; 
	margin: 0 0 5px;
	padding:10px 8px;
	font-size: 12px;
	padding-right: 25px;
	color: #333;
}

#form-section input:hover {
	border: 1px solid #ccc;
	-webkit-transition: border-color 0.2s ease-in-out;
	-moz-transition: border-color 0.2s ease-in-out;
	-o-transition: border-color 0.2s ease-in-out;
	-ms-transition: border-color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out;
}

#form-section button[type="submit"] { /* here you can change the properties of the submit button */
	cursor: pointer;
	width: 100%;
	height: 36px;
	line-height: 36px;
	border: none;
	color: #FFF;
	margin: 20px 0 5px;
	border-radius: 3px;
	display: block;
	font-size: 14px;
	background: #e60000;
	box-shadow: 0 4px 0 #bb0303;
	-o-box-shadow: 0 4px 0 #bb0303;
	-ms-box-shadow: 0 4px 0 #bb0303;
	-moz-box-shadow: 0 4px 0 #bb0303;
	-webkit-box-shadow: 0 4px 0 #bb0303;
}

#form-section button[type="submit"]:hover {
	background-color: #bb0303;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	transition: background 0.3s ease-in-out;
}

#form-section input:focus {
	outline: 0;
	border: 1px solid #ccc;
}

#form-section label.rem-me {
	font-size: 12px;
}

/* === The section numbering from the registration form === */

span.register-numbering {
	padding: 3px 8px;
	background-color: #fff;
	color: #333;
	margin-right: 10px;
	border-radius: 3px;
}

span.register-numbering-text {
	color: #ddd;
}

div.loader {
    background: url(../images/loading.gif) no-repeat scroll 0 0 transparent;
    height: 32px;
    width: 32px;
    display: none;
    z-index: 9999;
    top: 40%;
    left: 50%;
    position: absolute;
    margin-left: -10px;
}


/* === Footer section === */
footer {
	max-width: 550px;
	min-width: 250px;
	width: 95%;
	margin: 15px auto 0px;
	position: relative;
	font-size: 12px;
	color: #999;
	text-align: center;
}

footer a:link, a:visited {
	color: white;
}

/* ==== Placeholder customization ==== */
::-webkit-input-placeholder {
	color: #888;
}

:-moz-placeholder {
	color: #888;
}

::-moz-placeholder {
	color: #888;
}

:-ms-input-placeholder {
	color: #888;
}
/* ==== End of placeholder customization ==== */

/* === HTML5 validation styles === */
#form-section input:required:valid {
	background: #fff url(../images/valid-icon.png) no-repeat 99% 50%;
	background-position: right 6px center;
}

#form-section input:focus:invalid {
	background: #fff url(../images/invalid-icon.png) no-repeat 99% 50%;
	background-position: right 6px center;
}

/* === Custom checkbox (Remember me checkbox) === */

#checkbox li {
	margin-top: 10px;
	border-radius: 4px;
	position: relative;
	display: inline-block;
	border: 1px solid #ddd;
	top: 5px;
}

#checkbox li:hover {
	border: 1px solid #ccc;
	-webkit-transition: border-color 0.2s ease-in-out;
	-moz-transition: border-color 0.2s ease-in-out;
	-o-transition: border-color 0.2s ease-in-out;
	-ms-transition: border-color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out;
}

#checkbox li input {
	display: none;
}

#checkbox label {
	font-size: 14px;
	margin-left: 6px;
	color: #e60000;
}

#checkbox .selected {
	background-color: #333;
}

#checkbox .selected span.unchecked-state {
	display: none;
}

span.unchecked-state {
	display: block;
	width: 18px;
	height: 18px;
	color: #333;
	cursor: pointer;
	background-color: #fff;
	border-radius: 4px;
}

span.checked-state {
	display: none;
	width: 18px;
	height: 18px;
	cursor: pointer;
	background-color: #fff;
	background-image: url(../images/checkmark-icon.png);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border-radius: 4px;
}

#checkbox li.selected span.checked-state {
	display: block;
}

/* ==== HTML5 Custom Validation Bubble for Chrome ===== */
::-webkit-validation-bubble-message {
	background-color: #E5534E;
	font-size: 14px;
	top: -4px;
	left: 0px;
	width: auto;
	margin: 0;
	border: none;
	text-align: left;
	display: block;
	padding: 6px;
	border-radius: 4px;

	-webkit-box-shadow: none;
	box-shadow: none;
	text-indent: -22px;
}

::-webkit-validation-bubble-message > div > div + * {
	font-size: 16px;
	line-height: 32px;
	font-family: sans-serif;
	color: #000;
}

::-webkit-validation-bubble-icon {
	background-color: transparent;
	padding: 0px;
	text-indent: 0px;
	display: inline-block;
	position: relative;
	background-image: none;
	background-repeat: none;

	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	background-size: 100%;
	float: left;
}

::-webkit-validation-bubble-arrow {
	background-color: transparent;
	border: none;
	position: absolute;
	top: 5px;
	color: #E5534E;
}

::-webkit-validation-bubble-arrow:before {
	position: absolute;
	content: "\25E4";
} 

/* ==== End of validation bubbles customization ==== */