html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.navbar-default {
    font-weight: 200;
    letter-spacing: 1px;
}

.navbar-default .navbar-header .navbar-brand {
    font-weight: 200;
    letter-spacing: 1px;
    color: #474157;
}

.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
    color: #474157;
}

.navbar-default .navbar-header .navbar-toggle {
    font-size: 12px;
    color: #474157;
    padding: 8px 10px;
}

.navbar-default .nav > li > a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: #7a798c;
}

.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
    color: #474157;
}

.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
    color: #474157 !important;
    background-color: transparent;
}

.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus:hover {
    background-color: transparent;
}

#mainbody {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #474157;
    height: auto;
}

#mainbody .index-text {
    text-align: center;
    padding: 250px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody .index-text h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody .index-gallery {
    text-align: center;
    padding: 200px 0 50px;
    position: relative;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }

    .navbar-right {
        margin-top: 7.5px;
    }
}

@media (max-width: 767px) {

    .navbar-default {
        background-color: #f1f6fd;
        border-color: #f1f6fd;
    }

    .navbar-default .navbar-collapse {
        background: #f1f6fd;
        box-shadow: 5px 9px 5px rgba(0, 0, 0, 0.07);
    }

    #mainbody {
        height: unset;
    }

    #mainbody .index-text {
        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody .index-gallery {
        padding: 30px 0 50px 0;
    }

    #mainbody .index-text h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
}

footer {
    padding: 10px 0;
    background-color: #090a0c;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

footer p {
    font-size: 14px;
    margin-left: 50px;
    margin-bottom: 0;
}

footer p:first-child {
    color: #fe6102;
    font-weight: bold;
    padding-bottom: 5px;
    font-size: 18px;
}

.line {
    margin: 2px 0;
    border-bottom: 1px solid grey;
}

.line1 {
    margin: 2px 0;
    border: 1px solid rgba(220, 220, 220, 0.35);
}

.line2 {
    background: url("/assets/img/line.png");
}

.bg-primary {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
}

.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    /*border-radius: 300px;*/
}

.btn-xl {
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
}

#page-top {
    background: url("/assets/img/20251031-161515.jpg") no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

#mainNav .btn {
    text-transform: capitalize;
    font-weight: 500;
    float: right;
}

#mainNav {
    margin-bottom: 0;
    margin-top: 20px;
}

#mainNav .navbar-right {
    min-width: 120px;
}

#mainbody .form {
    width: 100%;
    margin: 10px auto;
    color: white;
}

#mainbody .form-logo {
    width: 60%;
    margin: 0 auto;
    text-align: center;
}

#mainbody .form-detail {
    margin: 20px auto;
    text-align: center;
    border: 1px solid white;
    border-radius: 2%;
    width: 460px;
    height: 520px;
    z-index: 999;
    background-color: rgba(220, 220, 220, 0.15);
}

#mainbody .form-detail .form-title {
    font-weight: bold;
    padding-top: 20px;
    font-size: 18px;
}

#mainbody .form-detail .form-title .mail-text {
    font-size: 16px;
    font-weight: normal;
}

#mainbody .form-detail .form-title .mail-text a {
    color: #ffd800;
}

#mainbody .form-detail .form-control {
    height: 46px;
    font-size: 16px;
    padding: 3px 12px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 1px solid white;
    border-left: 2px solid #ccc;
}

#mainbody .form-detail .input-group-addon {
    background-color: white;
    font-size: 26px;
    padding: 0 12px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border: none;
}

#mainbody .form-detail .input-group {
    margin: 40px 16px;
    z-index: 9999;
}

#mainbody .form-detail .input-group:first-child {
    margin-bottom: 0;
}

.help-block {
    text-decoration: underline;
    text-align: right;
    margin-right: 16px;
    font-size: 12px;
    cursor: pointer;
}

.help-block a {
    color: #ffd800;
    font-size: 14px;
}

#mainbody .form-detail .submit-button {
    margin: 50px 16px;
}

#mainbody .form-detail .submit-button button {
    color: #fff;
    font-weight: bold;
    background-color: #ff6100;
    border-color: #ff6100;
}

#mainbody .form-logo img {
    width: 25%;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.form-detail .content {
    padding: 10px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 120px;
}

.right-img {
    text-align: center;
    margin: 0 auto;
}

.complete-words {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
}

.footer-words {
    font-size: 16px;
    font-weight: 500;
}

/* 平板电脑和小屏电脑之间的分辨率 */
@media (min-width: 1024px) {
    #mainbody .form-detail {
        width: 780px;
    }
}

@media (max-width: 780px) {
    #mainNav .navbar-right {
        float: right;
        margin-right: 0;
    }

    .navbar-nav .open .dropdown-menu {
        position: absolute;
        background-color: white;
    }
}

/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) {

    #mainNav {
        min-height: 40px;
        margin-top: 0;
    }

    #mainbody .form-detail {
        width: 360px;
        height: 340px;
    }

    #mainbody .form-logo img {
        width: 50%;
    }

    #mainbody .form-detail .form-title {
        margin: 0 10px;
        font-size: 12px;
    }

    #mainbody .form-detail .input-group {
        margin: 20px 16px;
    }

    #mainbody .form-detail .form-control {
        height: 32px;
        font-size: 12px;
    }

    #mainbody .form-detail .submit-button {
        margin: 18px 16px;
    }

    #mainbody .form-detail .form-title {
        padding-top: 10px;
        font-size: 12px;
    }

    #mainbody .form-detail .form-title .mail-text {
        font-size: 12px;
    }

    #mainNav .btn {
        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }

    footer p {
        margin-left: 0;
        text-align: center;
        font-size: 10px;
    }

    footer p:first-child {
        font-size: 12px;
    }

    .form-detail .content {
        padding-top: 60px;
    }

    .right-img {
        width: 30%;
    }

    .complete-words {
        font-size: 14px;
    }

    .footer-words {
        font-size: 12px;
    }
}

/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 380px) {
    #mainbody .form-detail {
        width: 320px;
    }
}

.top-content {
    text-align: center;
    color: white;
}

.top-words p {
    margin-bottom: 0;
    line-height: 1.2;
    font-size: 1rem;
    font-weight: bold;
}

.top-words p:first-child {
    margin-bottom: 2px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.title-words {
    background-color: #ff6100;
    margin: 40px auto 10px;
    width: 15.741rem;
    font-size: 1rem;
    border-radius: 8px;
    padding: 2px;
}

#mainbody .gift {
    width: 100%;
    background-color: #ff6100;
    border-radius: 6px;
    margin: 10px 0;
    padding: 5px;
}

#mainbody .gift .img {
    width: 100%;
    background-color: white;
    border-radius: 6px;
    padding: 15px;
}

#mainbody .gift .content {
    height: 40px;
    font-size: 12px;
}

#mainbody .gift .content .title {
    float: left;
    width: 70%;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    vertical-align: center;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 40px;
}

#mainbody .gift .content .checkbox {
    background-color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    float: right;
}

.gift-page-file {
    position: relative;
    display: inline-block;
    background: #ff6100;
    border-radius: 4px;
    padding: 4px 5px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    text-indent: 0;
}

.gift-page-file input {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
}

.gift-page-file:hover {
    background: #AADFFD;
    border-color: #78C3F3;
    color: #004974;
    text-decoration: none;
}

.top-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    max-height: 460px;
}

.upload-file {
    background-color: #e5e5e5;
    border-radius: 6px;
    margin: 2px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-file .words {
    font-size: 12px;
    line-height: 1.2;
    color: #666;
    padding-right: 1px;
}

.choose-file {
    font-size: 12px;
    line-height: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.shopping-form {
    color: #333;
    margin: 20px 10px;
}

.shopping-form .title {
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    font-size: 14px;
}

.shopping-form .submit-button {
    background-color: #ff6100;
    text-transform: capitalize;
    color: white;
    font-weight: 500;
    border: none;
}

@media (min-width: 1024px) {
    .top-bg{
        max-height: 460px;
    }
}
@media (max-width: 1024px) {
    .top-bg{
        max-height: 360px;
    }
}