.application-page {
    padding: 30px;
    border: 1px solid #ddd;
}
.application-page h1 {
    margin-top: 15px;
    margin-left: 180px;
    font-family: "Brandon Grotesque Light";
    font-weight: normal;
    font-size: 3rem;
    text-transform: uppercase;
}
.application-page p.guide.warning {
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-size: 12pt;
    font-weight: bold;
    color: red;
}
.fantagio-form fieldset {
    border: 0;
    padding: 0.01em 0 0 0;
    margin: 0 0 20px;
    min-width: 0;
}
.fantagio-form fieldset legend {
    width: 140px;
    display: inline-block;
    margin: 0;
    float: left;
    text-align: right;
    font-weight: bold;
    height: auto;
}
.fantagio-form fieldset.required legend:after {
    content: "*";
    color: #cc0000;
}
.fantagio-form fieldset legend,
.fantagio-form fieldset input,
.fantagio-form fieldset label,
.fantagio-form fieldset span.guide,
.fantagio-form fieldset select {
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    margin-left: 20px;
    padding: 0 10px;
    font-size: 0.8rem;
}
.fantagio-form fieldset legend {
    height: auto;
}
.fantagio-form fieldset input:first-child {
    margin-left: 0;
    /* line-height: 40px; */
    /* vertical-align: middle; */
    /* padding-top: 10px; */
}
.fantagio-form fieldset label {
    margin: 0;
    padding-left: 5px;
}
.fantagio-form .short {
    width: 120px;
}
.fantagio-form .medium {
    width: 260px;
}
.fantagio-form .long {
    width: 680px;
}
a.search-postal-code.button:visited,
a.search-postal-code.button {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    background-color: black;
}
.fantagio-form .no-legend {
    margin-left: 180px;
}
.fantagio-form p.guide {
    margin-left: 11.5rem;
    font-size: 0.9rem;
    color: #555;
}
/* .fantagio-form .apply-field,
.fantagio-form .email {
    margin-bottom: 10px;
}
.fantagio-form .apply-field  + p.guide,
.fantagio-form .email  + p.guide {
    margin-bottom: 20px;
} */
.fantagio-form .contact.email input:first-child {
    margin-left: 20px;
}
.fantagio-form .contact.home input,
.fantagio-form .contact.mobile input {
    margin-left: 0;
}
.fantagio-form .contact.home span,
.fantagio-form .contact.mobile span {
    margin: 0px 6px 0 7px;
}
body.en .fantagio-form .mobile-phone-number legend,
body.cn .fantagio-form .mobile-phone-number legend {
    line-height: 1.5;
}
.fantagio-form input[type='radio'] + label {
    padding: 0;
}
.fantagio-form input[name='family_order'] {
    margin-left: 0;
}
.fantagio-form p.family-guide {
    font-size: 0.8rem;
    color: #888;
    padding-left: 20rem;
}
.fantagio-form legend span {
    display: block;
    line-height: 1;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #888;
}
.fantagio-form legend span.options:before {
    content: "*";
}
.fantagio-form legend.with-option {
    line-height: 1.2;
}
.fantagio-form textarea {
    margin-left: 20px;
    min-height: 100px;
}
.fantagio-form .upload-video,
.fantagio-form .upload-images {
    display: inline-block;
    float: left;
    padding: 0 20px;
    width: 20rem;
}
.fantagio-form .upload-images input:first-child,
.fantagio-form .upload-images input,
.fantagio-form .upload-video input:first-child,
.fantagio-form .upload-video input {
    margin-left: 0;
    width: 100%;
}
.fantagio-form .upload-guide {
    display: inline-block;
    line-height: 1.4;
    font-size: 0.8rem;
    color: #888;
    width: 25rem;
    margin-left: 20px;
}
.fantagio-form input[type="file"] {
    line-height: 1;
    padding: 0;
    width: 280px;
    margin-bottom: 8px;
    height: 24px;
}
.fantagio-form .attachment-video .upload-guide {
    /* margin-top: 20px; */
    /* margin-left: 180px; */
}
.fantagio-form .files {
    display: inline-block;
    width: 20rem;
    height: 7.5rem;
    vertical-align: top;
}
.fantagio-form .files p.file {
    display: inline-block;
    width: 100%;
    font-size: 0.8rem;
    color: #888;
    font-weight: bold;
}
.fantagio-form .files p.file.red {
    color: brown;
    text-decoration: line-through;
}
.fantagio-form .files p.file a.delete.button,
.fantagio-form .files p.file a.delete.button:visited {
    float: right;
    display: inline-block;
    background-color: #888;
    color: white;
    width: 20px;
    height: 20px;
    text-align: center;
    text-decoration: none;
}
.fantagio-form .files p.file:after {
    content: "";
    display: block;
    clear: both;
}
.fantagio-form section#application {
    margin-bottom: 50px;
}
.fantagio-form section#consent-1,
.fantagio-form section#consent-2 {
    padding: 30px 0;
    border-top: 1px solid #ddd;
}
.fantagio-form section#consent-1:after,
.fantagio-form section#consent-2:after {
    content: "";
    display: block;
    clear: both;
}
.fantagio-form section#consent-2 {
    border-bottom: none;
    /* padding-top: 10re; */
}
.fantagio-form section#consent-2:after {
    content: "";
    display: block;
    clear: both;
}
.fantagio-form h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.fantagio-form section .contents {
    padding: 30px 20px;
    border: 1px solid #ddd;
}
.fantagio-form section .contents h3 {
    font-size: 0.9rem;
    margin-top: 30px;
    line-height: 1.8;
}
.fantagio-form section .contents h3:first-child {
    margin-top: 0;
}
.fantagio-form section .contents p {
    font-size: 0.8rem;
    margin-left: 35px;
    line-height: 1.8;
}
.fantagio-form span.dot {
    display: inline-block;
    margin-right: 1rem;
}
.fantagio-form section label {
    font-size: 1rem;
}
section#consent-2 input[type="text"] {
    margin-left: 20px;
    height: 40px;
    width: 260px;
}
section#consent-2 .contents {
    margin-top: 3.5rem;
}
section .agree {
    margin-top: 20px;
}
section .agree label {
    font-size: 0.9rem;
}
section .agree label.guardian-contact {
    margin-left: 20px;
}
section .agree .agree-yes,
section .agree .agree-no {
    float: right;
    height: 40px;
    line-height: 40px;
}
section .agree .agree-yes {
    margin-right: 30px;
}
section .fourteen.agree {
    float: right;
    margin-top: 0;
}
.controls {
    padding: 20px 0;
    border-top: 1px solid #ddd;
}
.controls:after {
    content: "";
    display: block;
    clear: both;
}
.controls > * {
    float: left;
    display: inline-block;
    background-color: #888;
    border: none;
    padding: 0;
    color: white;
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.controls input[type="submit"] {
    margin-right: 20px;
    background-color: black;
}
.address input[type="text"].no-legend {
    margin-top: 20px;
}
.contact.home label {
    padding-left: 24px;
}
#application-form label[for="country"] {
    margin-left: 1rem;
}
#application-form label[for="postal_code"] {
    margin-left: 1rem;
}
#application-form input[name="postal_code"] {
    width: 11.8rem;
}
#application-form select[name="home_phone_number_first"] {
    margin-left: 1.3rem;
}
body.en #application-form input[name="email_id"],
body.cn #application-form input[name="email_id"] {
    margin-left: 1.7rem;
}
#application-form input[name="email_domain"] {
    margin-left: 0.3rem;
}
body.en #application-form input[name="mobile_phone_number_middle"],
body.cn #application-form input[name="mobile_phone_number_middle"] {
    width: 16.6rem;
}