html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    padding: 0;
    background-color: #e9e6e6;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #000000;
}
a {
    display: inline-block;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
input, button, select {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
}
.clearfix:after {
    content: '';
    display: table;
    clear: both;
}
.container {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1000px;
    box-sizing: border-box;
}
.header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 50px;
    line-height: 50px;
    background-color: #000000;
}
.header img {
    height: 45px;
    vertical-align: middle;
}
.footer {
    margin-top: 20px;
    height: 45px;
    line-height: 45px;
    background-color: #252525;
    text-align: center;    
    font-weight: bold;
}
.footer a {
    color: #ffffff;
}
.main-image {
    position: relative;    
    display: flex;
    justify-content: center;
    min-height: 400px;
    max-height: 650px;
    overflow: hidden;
}
.main-image img {
    max-width: none;
    min-height: 400px;
}
.main-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}
.main-image h1 span {
    display: block;
    margin-top: 10px;
    font-size: 20px;
}
.paragraph li h3 {
    margin: 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #d65050;
}
/* registration */
.lock-overlay .registration {
    top: 20px;
    padding: 20px 0 80px;
}
.registration {
    width: 99%;
    max-width: 410px;
}
.registration .form-icon {
    z-index: 99;
}
.registration .btn-primary {
    padding: 15px;
    width: 120px;
    box-sizing: border-box;    
    border-color: #b78001;
    background-color: #d1950a;
    font-weight: bold;
}
.registration .btn-primary:hover {
    border-color: #b78001;
    background-color: #b78001;
}
.registration .block-button-group p,
.registration .block-field-group .form-group label {
    font-weight: bold;
}
.registration .block-button-group .btn {
    margin: 0 10px;
    padding: 15px;
    width: 120px;
    box-sizing: border-box;
    font-weight: bold;
}
.registration .block-button-group input[type=radio] + .btn {
    border: 0;
}
.registration .form-group-birthday .form-group-birthday-inner,
.registration .block-field-group .form-group .form-group-inner {
    padding: 0 15px;
}
.registration .block-field-group .btn-group {
    text-align: center;
}
.registration .btn.btn-default,
.registration .btn.btn-primary {
    padding: 0;
    min-width: 25px;
    height: 45px;
    line-height: 45px;
    box-sizing: border-box;
}
.registration .block-field-group .form-group .form-control.error {
    background-color: #ffc1c1;
    border-color: #ff0000;
}
.registration .block-field-group .form-group .required {
    display: block;
    padding: 3px;
    background-color: #ff0000;
    text-align: center;
    color: #ffffff;
}
.registration .block-field-group .form-group.has-agreement .btn-group {
    margin-top: 20px;
    text-align: center;
}

.registration .block-field-group .form-group.has-agreement .agreements label {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    font-size: 11px;
    font-weight: normal;
}
.registration .block-field-group .form-group.has-agreement .agreements a {
    text-decoration: underline;
}
.registration .block-field-group .form-group.has-agreement .agreements input[type="checkbox"] + label:before {
    float: left;
}
.registration .block-field-group .form-group.has-agreement .agreements input[type="checkbox"] + label.checkbox-error:before {
    background-color: #ffc1c1;
    border-color: #ff0000;
}
.registration .block-field-group .form-group.has-agreement .agreements li:last-child input[type="checkbox"] + label:before {
    margin-top: -5px;
}
.registration .progress-bar-wrapper {
    padding: 10px 20px 15px;
}
/* for iphone 5 */
@media (max-width: 350px) {
    .main-image h1 {
        font-size: 22px;
    }
    .main-image h1 span {
        font-size: 16px;
    }
    .registration-inner {
        -ms-transform: scale(0.95);
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}
@media (min-width: 414px) {
    .registration .block-group-container,
    .registration .form-group-username,
    .registration .form-group-birthday,
    .registration .form-group-email,
    .registration .form-group-password {
        padding-left: 40px;
        padding-right: 40px;
    }

    .registration .block-field-group .form-group.has-agreement .agreements,
    .registration .block-field-group .form-group.has-agreement .btn-group {
        float: left;
        width: 76%;
    }
    .registration .block-field-group .form-group.has-agreement .btn-group {
        margin-top: 0;
        width: 24%;
    }
    .registration .block-field-group .form-group.has-agreement .btn-group .btn {
        float: left;
        height: 60px;
    }
    .registration .block-field-group .form-group.has-agreement .btn-group .btn.btn-primary {
        margin-left: 2px;
        width: 56px;
        line-height: 1.5;
    }
}
/* table */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .main-image {
        display: block;
    }
    .main-image img {
        width: 100%;
        max-width: 100%;
    }
}
/* small desktop */
@media (min-width: 992px) {
    .header {
        height: 60px;
        line-height: 60px;
        background-color: rgba(58, 1, 1, 0.4);
    }
}   