/** Normalize */
#registration {

    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

#registration button,
#registration input,
#registration select,
#registration textarea {
    font-family: sans-serif;
}

#registration a:focus {
    outline: thin dotted;
}

#registration a:active,
#registration a:hover {
    outline: 0;
}

#registration p {
    margin: 1em 0; padding: 0;
    color: #000000;
}

#registration ol,
#registration ul {
    margin: 1em 0; padding: 0 0 0 40px;
}

#registration form {
    margin: 0;
}

#registration fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

#registration legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px;
}

#registration button,
#registration input,
#registration select,
#registration textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

#registration button,
#registration input {
    line-height: normal;
}

#registration button,
#registration select {
    text-transform: none;
}

#registration button,
html #registration input[type="button"],
#registration input[type="reset"],
#registration input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible;
}

#registration button[disabled],
html #registration input[disabled] {
    cursor: default;
}

#registration input[type="checkbox"],
#registration input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}

#registration input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}


#registration input[type="search"]::-webkit-search-cancel-button,
#registration input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

#registration button::-moz-focus-inner,
#registration input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

#registration textarea {
    overflow: auto;
    vertical-align: top;
}

/** Custom */
#registration {
    margin: 20px;
    width: 330px;
    border: 1px solid black;
    font-size: 12px;
    color: #000000;
}

#registration .formTitle {
    margin: 0; padding: 10px 0 8px;
    border-bottom: 1px solid black;;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

html.lt-ie7 #registration .formTitle {
    width: 360px;
}

#registration .formBox {
    margin: 0; padding: 8px 10px;
}

#registration label,
#registration legend {
    float: left;
    width: 120px; max-width: 120px;
    margin: 3px 0 0; padding: 0;
    vertical-align: middle;
}

#registration label.fromTil {
    clear: none;
    width: 16px;
    padding: 0 6px;
}

#registration .row {
    margin: 8px 0 0; padding: 0;
}

#registration .row.error {
    padding: 0 0 0 20px;
    color: #dd0505;
}

#registration fieldset {
    border: none;
    margin: 0; padding: 0;
}

#registration fieldset.oneRow {
    clear: both;
}

#registration fieldset.oneRow legend {
    margin: 12px 0 0; padding: 0;
}

#registration .oneRow .element {
    float: left;
}

#registration select#birthDay, select#birthMonth {
    margin: 0 3px 0 0;
}

#registration .emailHint .element p.hint, 
#registration .tosHint .element p {
    font-size: 10px;
}

#registration .submitButton {
    display: block;
    margin: 10px auto; padding: 16px 12px;
    font-weight: bold;
    font-size: 18px;
}

#registration select.error,
#registration input.error {
    border: 2px solid #dd0505;
}



/* Display Box for general errors and registration confirmation */
#apiResponseBox {
    height: 1px;
    margin: 0;
    padding: 0;
    position: relative;
    top: -300px;
}

#apiResponseBoxContent {
    background: none repeat scroll 0 0 #333333;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0px 5px 10px #444444;
    color: #ffffff;
    font-size: 1.1em;
    margin: 10px;
    padding: 10px;
    position: absolute;
    border: 1px solid #dd0505;
    font-weight: bold;
}

#apiResponseBoxContent a {
    color: #dd0505;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2em;
}

#apiResponseBoxContent h3 {
    margin: 7px 0;
    padding: 0;
    color: #5F9B03;
}

#close {
    position: absolute;
    top: -10px; right: -10px;
}

#close span {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0;
    padding: 2px;
    background: #333333;
    display: inline-block;
    font-family: Sans-serif;
    border: 1px solid #DD0505;
    cursor: pointer;
    border-radius: 3px 3px 3px 3px;
}

#close span:hover {
    background: #dd0505;
}


/* Form customization */

/* colors */
#registration {
    background: #ffffff;
    float: left;
    margin: 20px;
}

#registration .formTitle,
.no-cssgradient #registration .formTitle {
    background: #cd0404;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cd0404', endColorstr='#8c0504');
}

.cssgradients #registration .formTitle {
    background: -webkit-linear-gradient(to bottom, #cd0404 0px, #8c0504 100%) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(to bottom, #cd0404 0px, #8c0504 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(to bottom, #cd0404 0px, #8c0504 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(to bottom, #cd0404 0px, #8c0504 100%) repeat scroll 0 0 transparent;
    background: -khtml-linear-gradient(to bottom, #cd0404 0px, #8c0504 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(to bottom, #cd0404 0px, #8c0504 100%) repeat scroll 0 0 transparent;
}

#registration .formTitle {
    border-bottom: 1px solid #538005;
    color: #ffffff;
}
    
.textshadow #registration .formTitle {
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;    
}
    
#registration input[type=text],
#registration input[type=password],
#registration input[type=email] {
    background: #ffffff;
}

#registration select {
/*    background: #ffffff;*/
}

#registration input[type=submit] {
    color: #ffffff;
    border: 1px solid #5f9b03;
}

.no-cssgradients #registration input[type=submit] {
    background: #95c902;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#95c902', endColorstr='#5f9b03');
}

.cssgradients #registration input[type=submit] {
    background: -webkit-linear-gradient(to bottom, #95c902 0px, #5f9b03 100%) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(to bottom, #95c902 0px, #5f9b03 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(to bottom, #95c902 0px, #5f9b03 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(to bottom, #95c902 0px, #5f9b03 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(to bottom, #95c902 0px, #5f9b03 100%) repeat scroll 0 0 transparent;
}

.textshadow #registration input[type=submit] {
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
}

#registration input[type=submit]:hover,
.no-cssgradients #registration input[type=submit] {
    background: #cee97d;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cee97d', endColorstr='#78ab2b');
}

.cssgradients #registration input[type=submit]:hover {
    background: -webkit-linear-gradient(to bottom, #cee97d 0px, #78ab2b 100%) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(to bottom, #cee97d 0px, #78ab2b 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(to bottom, #cee97d 0px, #78ab2b 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(to bottom, #cee97d 0px, #78ab2b 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(to bottom, #cee97d 0px, #78ab2b 100%) repeat scroll 0 0 transparent;
}


/* rounded corners */
.borderradius #registration {
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -kthml-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;	
}

.borderradius #registration .formTitle {
    -moz-border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -kthml-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}

.borderradius #registration input[type=submit] {
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -kthml-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
}
