ul {
    list-style: none;
    padding-left: 0;
}

.clear {
    clear: both;
}

.btn {
    font-family: 'Helvetica Neue', 'Helvetica', 'PingFang SC', 'Heiti TC', '微軟正黑體', 'Montserrat', sans-serif;
}

.btn-custom-width {
    width: 130px;
}

.primary-tag {
    border-radius: 100px;
    background-color: #cfa972;
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
}

#img1 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.indexlogo {
    background-image: url("../img/logo_indexw.png");
    background-size: cover;
    width: 205px;
    height: 48px;
}

#index .scroll .indexlogo {
    background-image: url("../img/logo_indexb.png");
    background-size: cover;
    width: 205px;
    height: 48px;
}

#index .scroll #main-menu>li {
    border-left: 1px solid #282827;
}

#index .scroll #main-menu>li a,
#index .scroll .header-menu #toggle-nav {
    color: #000;
}

#index .scroll #main-menu>li a:hover,
#index .scroll .header-menu #toggle-nav:hover {
    color: #cfa972;
}

#index .header-menu #toggle-nav {
    color: #fff;
}

#phone-icon {
    margin-top: -6px;
}

#cart-icon {
    margin-top: -6px;
}

#cart-icon:after {
    border-right: 1px solid #cdcdcd;
    height: 36px;
    margin: 0 10px;
    position: absolute;
    top: -5px;
    right: 53px;
}

#member-icon {
    margin-right: 5px;
}

#section-testimonial,
#section-skills,
#section-pricing,
#section-contact,
#page-header {
    background-image: url('../img/preview/1600x600.jpg');
}

#site-header.fix-me-top>.header-menu {
    background-color: rgba(186, 186, 186, 0.9);
}

#site-header.fix-me-top>.header-menu.else {
    background-color: rgba(255, 255, 255, 0.9);
}

#site-header.fix-me-top>.header-menu>nav>#main-menu>li>a {
    color: #000;
}

.else>#main-menu>li>a {
    color: #282828;
}

.tophead {
    height: 30px;
    padding: 0px 0 5px;
    position: relative;
}

#main-menu.menu-2>li>a {
    color: #000;
}

#main-menu.menu-2>li.hover>a {
    color: #cfa972;
}

#site-header.fix-me-top>.tophead.fix-me-top {
    background-color: rgba(240, 240, 240, 0.9);
}

.topright {
    position: relative;
    display: block;
}

.topright a {
    padding-right: 18px;
}

.white-line {
    border-top: 1px solid #cdcdcd;
    margin: 0px 0 5px 0;
    width: 100%;
    position: absolute;
    top: 30px;
    left: 0;
}

#site-header #marquee-container {
    width: 100%;
    height: 45px;
    overflow-y: hidden;
}

#site-header #site-header-title-1 {
    background-color: #b22222;
    color: #ffffff;
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scroll-up 8s linear infinite;
    margin: 0;
    text-decoration: none;
}

#site-header #site-header-title-1>p {
    margin: 0;
}

#site-header #site-header-title-2 {
    background-color: #b22222;
    color: #ffffff;
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* animation: scroll-up 8s linear infinite; */
    margin: 0;
    text-decoration: none;
}

#site-header #site-header-title-2>p {
    margin: 0;
}

@media (max-width: 500px) {
    #site-header #site-header-title-2>p {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    #site-header #site-header-title-2>p {
        font-size: 11px;
    }
}

#site-header #site-header-title-3 {
    background-color: #b22222;
    color: #ffffff;
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scroll-up 8s linear infinite;
    text-decoration: none;
}

#site-header #site-header-title-3>p {
    margin: 0;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0%);
    }

    40% {
        transform: translateY(0%);
    }

    50% {
        transform: translateY(-100%);
    }

    90% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(-200%);
    }
}

#site-header #site-header-title p {
    margin: 0;
}

.primary-right-line {
    border-right: 1px solid #cdcdcd;
    height: 30px;
    margin: 0 10px;
    position: absolute;
    right: 38px;
}

.gray-right-line {
    border-right: 1px solid #959595;
    margin: 0 10px;
    height: auto;
}

.line_bar {
    width: 38px;
    height: 7px;
    background-color: #fff;
    display: block;
    padding: 10px 3px;
}

.btn-round {
    border-radius: 100px;
    background-color: #cfa972;
    color: #fff;
}

.about_4img {
    padding: 0px;
}

.about-position {
    position: relative;
    display: table;
}

.about-text {
    position: absolute;
    z-index: 3;
    top: 120px;
    left: 28%;
    width: 44%;
    height: auto;
    display: table-cell;
    vertical-align: middle;
    /*background-image: url(img/about_bg.png) !important;
    background-size: contain;*/
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.shadow {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    height: min-content;
}

.border {
    margin: 5px;
    border: 1px solid #cfa972;
    display: table;
}

.about_logo {
    margin: 20px;
}

.v-hr {
    border-right: 1px solid #cfa972;
    height: 40px;
    margin: 15px 0;
}

.l-hr {
    border-bottom: 1px solid #7d7d7d;
}

.dream-bg {
    background-color: #f6f6f6;
}

.font-Montserrat {
    font-family: 'Helvetica Neue', 'Helvetica', 'PingFang SC', 'Heiti TC', 'Montserrat';
}

.border-right {
    border-right: 1px solid #cfa972;
}

.dream {
    margin: 40px 5px;
}

.wedding-bg {
    background-image: url(../img/wedding_bg.png);
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.display-table {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px
}

.me-table {
    margin-right: auto;
    margin-left: auto;
    display: table;
}

.text-white {
    color: #fff;
}

.text-gray {
    color: #e1e1e1;
}

a.text-white:hover {
    color: #cfa972;
}

.font-wlight {
    font-weight: normal;
}

.display-cell {
    display: table-cell;
    vertical-align: middle;
}

.wedding-tb {
    min-height: 360px;
    padding: 60px 80px 80px;
}

.cockie-bg,
.news-bg,
.comment-bg,
.about-bg,
.about-bg-1,
.language-bg,
.dream-list,
.news-list-bg,
.news-detail-bg,
.dream-p-bg,
.dream-p-f,
.content-bg,
.wedding-b,
.cockie-detial-bg,
.cookie-maylikebg,
.weddingDetial-bg {
    background-size: cover;
}

.news-bg {
    background-image: url("../img/news_bg.png");
    background-position: center;
}

.news-detail-bg {
    background-image: url("../img/news_d_bg.png");
    background-attachment: fixed;
}

.news-list-bg {
    background-image: url("../img/news_list_bg.png");
    background-attachment: fixed;
}

.cockie-bg {
    background-image: url("../img/product_bg.png");
}

.cockie-detial-bg {
    background-image: url("../img/2025CNYBanner.jpg");
    margin-top: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 2;
}

@media screen and (min-width: 770px) and (max-width: 1200px) {
    .cockie-detial-bg {
        margin-top: 170px;
    }
}

@media screen and (max-width: 488px) {
    .cockie-detial-bg {
        margin-top: 170px;
    }
}

.cockie-detial-product {
    background-image: url("../img/cookie-productbg.png");
    background-size: cover;
}

.comment-bg {
    background-image: url("../img/comment_bg.png");
}

.about-bg-1 {
    background-image: url("../img/about-bg.png");
}

.about-banner {
    background-image: url("../img/about-banner.png");
    background-position: center;
    ;
    min-height: 500px;
}

.language-bg {
    background-image: url("../img/about-footer-bg.png");
}

.dream-p-bg {
    background-image: url("../img/dream-bg.png");
}

.dream-p-f {
    background-image: url("../img/dream-footer-img.png");
    background-position: center;
}

/* .dream-list {
    background-image: url("../img/dream/01.jpg");
    background-position: center;
    min-height: 500px;
} */

.dream-list {
    background-image: url("../img/dream/banner.jpg");
    margin-top: 170px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 3.18725;
}

.baby-list {
    background-image: url("../img/baby/2024new-page/01.jpg");
    margin-top: 140px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    aspect-ratio: 2.2857;
}

@media screen and (min-width: 770px) and (max-width: 1200px) {
    .baby-list {
        margin-top: 170px;
    }
}

@media screen and (max-width: 488px) {
    .baby-list {
        margin-top: 170px;
    }
}

.baby-footer {
    background-image: url("../img/baby0501/27.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
    width: 100%;
}

.wedding-footer {
    background-image: url(../img/wedding/41-2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
    width: 100%;
}


.wedding-b {
    background-image: url("../img/wedding/2024new-page/banner.jpg");
    margin-top: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 1.5;
}

@media screen and (min-width: 770px) and (max-width: 1200px) {
    .wedding-b {
        margin-top: 170px;
    }
}

@media screen and (max-width: 488px) {
    .wedding-b {
        margin-top: 170px;
    }
}

.content-bg {
    background-image: url("../img/contact-main.png");
    background-position: center;
    min-height: 500px;
}

.weddingDetial-bg {
    background-image: url("../img/wedding-detailFooterBG.png");
    background-position: center;
}

/*.about-bg{background-image: url("../img/about_bg.png");}*/
.full-bg {
    position: relative;
    height: auto;
}

.full-bg .bg {
    width: 100%;
    background-attachment: fixed;
}

.fill-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.team-members {
    padding: 5px;
}

/* Zoom In #1 */
.zoom img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.zoom:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.product_title {
    position: absolute;
    bottom: 15px;
    /*left: 20%*/
    ;
    text-transform: uppercase;
    min-width: 100%;
}

.new-box {
    padding: 40px 30px 20px 30px;
}

.news-pre {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
}

.news-list-pre {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    /*font-size: 13px;*/
}

.text-black {
    color: #1b1b1b;
}

.text-black:hover {
    color: #cfa972;
}

.relative img {
    width: 100%
}

.news-list h3 {
    font-size: 18px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-list li {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.news-list li:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    background: #FFF;
    -webkit-transform: scale(1.0);
    transform: scale(1.0);

}

.news-list li .entry-content {
    padding: 10px 5px;
}

/*.news-list .entry-content h3{margin-top: 15px;font-weight: 600;}*/
.news-list .col-sm-6 {
    padding-left: 0px;
}

.content-box {
    margin: 0px;
}

.content-box img {
    width: 280px;
    overflow: hidden;
}

#comment.flexslider.carousel .slides>li {
    background-color: transparent;
    border: none;
}

.flexslider.carousel .slides>li .comment-li-bg {
    /*margin-right: 30px;*/
    /*margin: 38px;*/
    padding: 70px 30px 40px;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    height: 326px;
    background-image: url(../img/comment_bubble.png);
    background-size: cover;
    font-size: 14px;
}

.flexslider.carousel .slides>.comment-li-bg:hover {
    box-shadow: none;
}

.contact-data {
    z-index: 2;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.contact-data .data-i img {
    margin-top: 25px;
}

.contact-data hr,
.contact hr {
    border-top: 1px solid #222;
    margin: 10px 0 30px;
}

.contact-data ul {
    padding-left: 0;
}

.contact-data ul li {
    list-style: none;
    line-height: 2.5;
    font-weight: 600
}

.contact-data ul li i,
.contact ul li i {
    color: #cfa972;
    margin-right: 5px;
    width: 15px;
    text-align: center;
}

.fa-rotate-315 {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
    -webkit-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    transform: rotate(315deg);
}

#about-b img {
    margin-top: -40px;
    margin-left: -150px;
    position: relative;
    z-index: 3;
}

.fa-quote-left:before,
.fa-quote-right:before {
    font-size: 12px;
    vertical-align: text-top;
}

/*2018-05-22*/
/*.association .col-sm-6{padding: 0 40px;}*/
.association {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px 15px;
}

/*2018-05-22 end*/

.association div:first-child {
    padding-left: 15px;
    border-right: 1px solid #c8c8c8;
    height: auto;
}

#about-p3 {
    margin-top: -150px;
    position: relative;
    z-index: 2;
    padding-right: 100px;
}

#about-p32 {
    margin-top: -320px;
    margin-left: -80px;
    position: relative;
    z-index: 3;
}

.mession h6 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.mession .col-sm-3>img {
    height: 100px;
    width: auto;
    margin: 0 auto 30px;
}

.section-header h4.text-left {
    margin-top: 20px;
}

.dearm-data {
    padding: 60px;
}

.icon-box {
    background-color: #cfa972;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 25px;
}

.icon-box-nocolor {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 25px;
}

.icon-box img {
    margin: 0px auto;
    padding: 30px 0 10px;
}

.icon-box-nocolor img {
    margin: 0px auto;
    padding: 50px 0 10px;
}

.news-d-data {
    background-color: #fff;
    padding: 50px 80px;
}

.news-list-main-data {
    padding: 0px 15px 5px;
}

.news-list-main img {
    position: absolute;
    clip: rect(0px, 500px, 300px, 0px);
}

.news-list-main li {
    display: inline-block;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    /*border-bottom: 1px solid #7d7d7d;*/
    padding: 15px 0px;
}

.news-list-main li:hover {
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.news-list-main a {
    display: block;
}

.news-list-data img {
    position: absolute;
    clip: rect(0px, 282px, 180px, 0px);
}

.news-list-data {
    padding: 18px 15px;
}

.pagination>li>a,
.pagination>li>span {
    background: none;
    color: #1b1b1b;
    border: none;
    padding: 6px 6px;
    margin: 0px 10px;

}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    /*padding-right: 18px;*/
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    /*padding-left: 18px;*/
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

.pagination>li>a,
.pagination>li>a,
.pagination>li>span {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    border-bottom: 1px solid #1b1b1b;
    background: none;
    color: #1b1b1b;
}

.pagination>li.none_mbroder>a:hover {
    border-bottom: none;
}

.primary-o {
    width: 170px;
    height: 170px;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
    padding: 35px 20px;
}

.primary-o h6 {
    line-height: 2;
}

#base-data .form-group label {
    padding: 10px 10px 0 0;
}

#base-data .row {
    margin-left: 0px;
}

.form-control {
    background-color: #fff;
    margin-left: 0px;
    border-color: #cfcfcf;
    border-radius: 10px;
    /* 设置圆角的半径，根据需要进行调整 */
    padding: 5px;
    /* 设置内边距，以增加输入框的可读性 */
}

.form-group p {
    margin-top: 10px;
}

.person hr {
    border: 1px solid #cbcbcb;
}

.form-t43 {
    background-color: #434343;
    color: #fff;
    padding: 5px 15px;
    margin-bottom: 30px;
}

.form-tee {
    background-color: #eee;
    color: #313131;
    padding: 5px 15px;
    /*margin-bottom: 30px;*/
}

.cost {
    text-align: right;
}

.count span {
    margin: 0 6px;
}

.from-border {
    border: 1px solid #959595;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px;
    /*margin-right: 30px;*/
}

.form-add-item .btn-nofill {
    border: 1px solid #959595;
    color: #959595;
    /*margin-right:30px; */
}

.total label {
    line-height: 3.2
}

.money:after,
.money2:after {
    border-right: 1px solid #959595;
    /*margin: 0 10px;*/
    content: "";
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    /*width: 42px;*/
    height: 100%;

}

.readonly.form-control[readonly] {
    background-color: #fff;
}

.dream-f-num {
    padding: 0;
}

.m-box--content {
    padding: 0 15px;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
}

.item-tb {
    display: table;
    vertical-align: middle;
    height: 340px;
}

.main-product-img {
    border: 1px solid #d2d2d2;
    background-color: #fff;
    padding: 5px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;

}

.main-product-img img {
    margin: 0 auto;
}

.main-product-data {
    border-bottom: 1px solid #626262;
    border-top: 1px solid #626262;
    padding: 20px;
}

.pri-left button {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    padding: 10px;
    border: 1px solid #cfa972;
    background-color: #fff;
}

.pri-right button {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    padding: 10px;
    border: 1px solid #cfa972;
    background-color: #fff;
}

.cookie-list-bg {
    background-image: url("../img/cookie-list-bg.png");
    background-position: center;
    background-attachment: fixed;

}

.list-filters>li>a {
    border: 1px solid #fcfcfc;
}

.list-filters>li>a:focus {
    text-decoration: none;
}

.list-filters>.active>a {
    background-color: #cfa972;
    color: #fff;
}

.portfolio-list .post-portfolio {
    background-color: #fff;
    border: 1px solid #d2d2d2;
}

.box-content {
    background-image: url("../img/cookie-detail-line.png");
    height: 125px;
    background-position: center;

}

.cookie-maylikebg {
    background-image: url("../img/cookie-detail-footer.png");
    background-position: center;

}

.cookie-list.portfolio-list.cols-4>li {
    padding: 10px 15px;
}

/*.cookie-list .product_title{left: 12%;}*/
.cookiebox img {
    margin: 0 auto;
}

.round-hr {
    width: 80px;
    height: 80px;
    background-color: #cfa972;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    line-height: 5;
    margin-top: -10px;
    z-index: 2;
}

.rl-hr:before {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #cfa972;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    z-index: -1
}

.mask:before {
    background-color: #fff;
    width: 135px;
    height: 50px;
    content: "";
    position: absolute;
    top: 6px;
    right: 44%;
    z-index: -1;
}

.flexslider.carousel.cookie ul.slides>li {
    border: none;
    height: auto;
}

.flexslider.carousel .slides>li:hover {
    box-shadow: none;
}

.cookie-name {
    border-top: 1px solid #cfa972;
    border-bottom: 1px solid #cfa972;
    padding: 5px 10px;
    margin: 0 auto;
    margin-bottom: 8px;
    width: 85%;
}

.gram {
    float: right;
}

#mayliketitel:before {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #af99c1;
    position: absolute;
    left: 15px;
    top: 20px;
    width: 42px;
    margin-top: 20px;
}

.maylikeitembg {
    background-color: #fff;
    padding: 50px 30px;
    display: flex;
}

.bg-login {
    background-color: #fff;
    padding: 60px 30px;
}

.login:before {
    border-right: 1px solid #959595;
    margin: 0 10px;
    content: "";
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 100%;
}

.btn-bb {
    border-radius: 5px;
}

.member-bg {
    background-image: url("../img/member-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}

table.orderlist>tbody>tr>td {
    padding: 15px 8px;
}

table.orderlist>thead>tr>th {
    text-align: center;
}

.td-re {
    display: block;
    position: relative;
}

.s-alert {
    width: 22px;
    height: 22px;
    line-height: 22px;
    top: 12px;
    right: 45px;
    position: absolute;
    border-radius: 50%;
    background-color: #cfa972;
    color: #fff;
    font-size: 12px;
}

#orderlist img,
#editdata img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#orderlist img:hover,
#editdata img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

#orderlist:focus,
#editdata:focus {
    text-decoration: none;
}

.orderdetial .img-preview {
    width: 150px;
    overflow: hidden;
    padding: 5px 10px;
    margin-right: 40px;
    float: left;
}

.orderdetial .text {
    display: table;
    height: 10px;
}

.orderdetial td p,
.orderdetial td #count,
.orderlist>tbody>tr>td {
    display: table-cell;
    vertical-align: middle;
}

.orderdetial {
    border-bottom: 1px solid #ddd;
}

#count .d {
    background-color: #fff;
    border: 1px solid #bfbfbf;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    padding: 10px;
}

#count .u {
    background-color: #fff;
    border: 1px solid #bfbfbf;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    padding: 10px;
}

.message-form {
    border-bottom: 1px solid #fff;
}

.message-form textarea {
    width: 100%;
    border: none;
    border-radius: 3px;
    padding: 15px 20px;
}

.v-submit {
    background-color: #a0a0a0;
    color: #fff;
    height: 119px;
}

.message-bubble {
    background-color: #eee;
    list-style: none;
    padding-left: 0;
    padding: 25px;
}

.message-bubble li {
    padding: 5px 0;
}

.message-bubble img {
    float: right;
    z-index: 2;
}

.message-bubble i {
    font-size: 43px;
}

.me {
    background-color: #dcdcdc;
    padding: 15px 20px;
}

.you {
    background-color: #fff;
    padding: 15px 20px;
}

.me:before {
    position: absolute;
    display: inline-block;
    content: '';
    top: 30%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #dcdcdc;
    right: -10px;
}

.you:before {
    position: absolute;
    display: inline-block;
    content: '';
    top: 30%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    left: -10px;
}

/*.me:after{
    position: absolute;
    content: "";
    background-image: url(../img/me.png);
    top: 30%;
    width: 44px;
    height: 43px;
    right: -80px;
}*/

.stepul {
    text-align: center;
}

.stepul li {
    display: inline;
}

.stepul li:after {
    content: "";
    position: absolute;
    width: 45px;
    border-top: 1px solid #959595;
    top: 30%;
    right: -15px;
}

.stepul li:last-child:after {
    content: "";
    position: absolute;
    width: 45px;
    border: none;
    top: 30%;
    right: -15px;
}

.shop-qna li {
    list-style: none;
}

.receiptT .radio label {
    display: inline-block;
    margin-right: 20px;
}

.footermap {
    position: absolute;
    height: 700px;
    bottom: 50px;
    right: 0;
    width: 100%;
    max-width: calc(100% - 27%);
    display: block;
}

.contact-map {
    height: 400px;
    width: 100%;
    min-height: calc(50vh + 60px);
    /*min-width: calc(100% - 10%);*/
}

.contact-form .form-control {
    border-color: #f4f4f4;
}

.cockie-detial-product .nav-tabs,
.tab-content {
    border: none;
}

.cockie-detial-product .nav-tabs>li.active>a {
    color: #fff;
}

.cockie-detial-product .nav-tabs>li.active>a,
.cockie-detial-product .nav-tabs>li.active>a:hover,
.cockie-detial-product .nav-tabs>li.active>a:focus {
    background-color: #cfa972;
    border-radius: 3px;
}

.cockie-detial-product .nav-tabs>.active>a:after {
    position: relative;
    content: none;
}

#wedding-item .tab-content {
    padding: 10px;
}

.panel-heading a {
    font-family: 'Helvetica Neue', 'Helvetica', 'PingFang SC', 'Heiti TC', "微軟正黑體";
    padding: 0;
    height: inherit;
}

.panel-default,
.panel-default,
.panel-default>.panel-heading {
    border-color: #f4f4f4;
    background: #f4f4f4;
}

.modal-body .panel-default,
.modal-body .panel-default,
.modal-body .panel-default>.panel-heading {
    border-color: #eaeaea;
    background: #FFF;
    padding: 5px;
}

.modal-body .panel-default a,
.modal-body .panel-default a,
.modal-body .panel-default>.panel-heading a {
    padding: 8px;
}

/*.modal-body .accordion .panel-heading a:after{font-size: 14px;}*/
.accordion .panel-heading a:after {
    font-size: 0px;
}

.panel {
    background-color: #f4f4f4;
}

/*
| ----------------------------------------------------
| checkbox
| ----------------------------------------------------
*/
.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #cfa972;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: 1em;
    margin-top: .3em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon,
.radio label input[type="radio"]+.cr>.cr-icon {
    /*transform: scale(3) rotateZ(-20deg);*/
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon,
.radio label input[type="radio"]:checked+.cr>.cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
    color: #cfa972;
}

.checkbox label input[type="checkbox"]:disabled+.cr,
.radio label input[type="radio"]:disabled+.cr {
    opacity: .5;
}

#cart-2iname {
    width: 650px;
}


/*
| ----------------------------------------------------
| mobile
| ----------------------------------------------------
*/


@media (max-width:1600px) {
    .primary-right-line {
        right: 35px;
    }
}

@media (max-width:1401px) {
    .primary-right-line {
        right: 50px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .primary-right-line {
        right: 35px;
    }
}

/*2018-05-22*/
@media (max-width: 1200px) {

    .dream-p-bg {
        background-image: url("../img/dream-bg-mobile.png");
    }
}

/*2018-05-22 end*/

@media screen and (min-width: 770px) and (max-width: 1025px) {
    .wedding-tb {
        padding: 60px 80px 80px 0px;
    }

    /*.cookie-list .product_title{left:3%}*/

    #main-menu>li,
    #index #main-menu>li {
        padding: 0 10px;
    }

    #toggle-nav {
        opacity: 0;
        display: none !important;
    }

    .primary-right-line {
        right: 50px;
    }

    .flex-direction-nav .flex-prev {
        left: -55px;
    }

    .flex-direction-nav .flex-next {
        right: -55px;
    }

    .dearm-data {
        padding: 0;
    }
}

@media screen and (max-width: 860px) {
    #comment.flexslider.carousel .flex-direction-nav {
        top: auto;
        bottom: 0;
    }

}

@media (max-width: 769px) {

    /*#home-slider .slides > li{ margin-top: 15px;}*/
    .row {
        margin: 0;
    }

    .primary-right-line {
        right: 50px;
    }

    #site-header .site-nav {
        float: right;
        margin-top: 45px;
        text-align: center;
    }

    #index #main-menu>li a {
        padding: 20px;
    }

    #index #main-menu>li {
        height: auto;
        height: auto;
        float: none;
    }

    #index .dream-bg .font-Montserrat {
        font-size: 34px;
    }

    .masthead.h2 {
        font-size: 60px;
    }

    #main-menu>li {
        height: auto;
        color: #fff;
        border-left: none;
        text-align: center;
    }

    #main-menu>li>a {
        padding: 20px;
    }

    #img1 {
        max-width: 150px;
    }

    .about-text {
        top: 120px;
        left: 28%;
        width: 44%;
        height: 60%;
        text-align: center;
    }

    .tophead div.col-sm-2.col-xs-5>a {
        font-size: 14px;
    }

    .content-box.icon-on-left .entry-content {
        display: inline-block;
    }

    .news-list li {
        background-color: rgba(239, 236, 236, 0.85);
    }

    .news-list .col-sm-6 {
        padding-left: 15px;
    }

    /*.flexslider.carousel .slides > .comment-li-bg{ margin: 15px;}*/
    .wedding-tb {
        padding: 45px;
        font-weight: 600;
        min-height: 250px;
    }

    .wedding-tb h4 {
        font-size: 26px;
    }

    .wedding-tb .display-cell {
        width: 100vw;
    }

    /*2018-05-22*/
    .association div:first-child {
        /*		padding-left:40px;*/
        border-right: none;
        height: auto;
    }

    /*2018-05-22 end*/

    #about-b img {
        margin-left: 0px;
        margin-top: -10px;
    }

    /*.contact-data{margin: 0 15px}*/
    #about-p3 {
        margin-top: 0px;
        padding-right: 30px;
    }

    #about-p32 {
        margin-top: 0px;
        margin-left: 0px;
    }

    footer .display-cell {
        display: block;
    }

    footer .list-social {
        text-align: left;
    }

    .dearm-data {
        padding: 10px;
    }

    .icon-box {
        background-color: #cfa972;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        margin: 0 10px;
    }

    .icon-box img {
        padding: 15px 0 10px;
    }

    #dream-xs-pdt {
        padding-top: 40px;
    }

    .dearm-data p {
        font-size: 14px;
    }

    .news-d-data {
        padding: 30px;
    }

    /*.news-list-main-data{padding: 40px 0;}*/
    .news-list-data {
        padding: 18px 0px;
    }

    .news-list-main img {
        position: relative;
    }

    .form-group,
    .stepul {
        padding-left: 0;
    }

    #base-data .form-group label {
        padding: 0 15px;
    }

    .from-border,
    .form-add-item .btn-nofill {
        margin-right: 0;
    }

    .money:after {
        height: 0;
    }

    .cookie-btns div.col-sm-4 {
        padding: 0 15px;
    }

    .login:before {
        border: none;
    }

    .bg-login {
        padding: 60px 5px;
    }

    .message-form .pr0 {
        text-align: center;
    }

    .order-no h5 {
        text-align: left;
    }

    .message-bubble li.row,
    .message .row,
    .orderdetialpg.row {
        margin: 0;
    }

    .s-alert {
        top: 8px;
        right: 45px;
    }

    .shop-qna {
        padding-left: 20px;
    }

    .stepul li:after {
        width: 15px;
        top: 25px;
        right: -10px;
    }

    .footermap {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }

    .comment-bg .row {
        margin: 0;
    }

    .flexslider.carousel .slides>.comment-li-bg {
        height: 315px;
    }

    .icon-box-nocolor {
        width: 150px;
        height: 150px;
        margin: 0;
        margin-left: -15px
    }

    .icon-box-nocolor img {
        padding: 20px 0 10px;
    }

    #wedding-item .row,
    .wedding-booking .col-sm-12,
    .wedding-booking .col-sm-6 {
        margin: 0;
        padding: 0;
    }

    .cookie .flex-direction-nav {
        margin-top: 20px !important;
    }

    #main-menu>li>a,
    #main-menu ul a {
        margin-top: 0;
    }

    #index .flex-direction-nav img {
        padding: 10px 10px 5px 15px;
        width: 100%;
        display: block;
    }

    #index .flex-direction-nav img.arrow-l {
        padding: 10px 15px 5px 10px;
    }

    .flexslider.carousel .flex-direction-nav a {
        background-color: #fff;
        border-radius: 100px;
        display: none
    }

    .content-bg,
    .wedding-bg,
    /* .cockie-detial-bg, */
    .about-banner {
        min-height: 250px;
    }

    /*.cookie-list .product_title{left: 15%;}*/
    .flex-direction-nav .flex-prev {
        left: 10px;
    }

    .flex-direction-nav .flex-next {
        right: 10px;
    }

    .cookie-list .team-member .entry-media {
        height: 300px;
    }

    .contact-map {
        min-height: auto;
    }

    .form-group {
        margin-bottom: 15px;
    }

    #cart-2iname {
        width: 400px;
    }

    .form-group p {
        margin-top: 0px;
    }

    #wedding-item .main-product-data {
        padding: 15px 0px;
    }

    #wedding-item .item-tb {
        height: 200px;
    }

    #wedding-item.container {
        padding: 0px;
    }

    #wedding-item .main-product-data h4.font-semibold {
        font-size: 24px;
    }

}

@media (max-width: 415px) {

    /*.cookie-list .product_title{left: 19%;}*/
    .masthead.h2 {
        font-size: 50px;
    }

    .flexslider.carousel .slides>li .comment-li-bg {
        height: 300px;
        margin-right: 0px;
    }

    .flex-control-paging li a {
        width: 18px;
        height: 18px;
    }

    #main-menu>li,
    #index .scroll #main-menu>li,
    #index #main-menu>li {
        padding: 0 10px;
    }

    .news-list-main-data {
        padding: 40px 0;
    }

    .cost {
        text-align: center;
    }

    .s-alert {
        top: 8px;
        right: 0;
    }

    .dream-f-num {
        padding: 15px;
    }

    .money:after,
    .money2:after {
        height: 50%;
        top: 25%;
    }
}

@media (max-width: 376px) {

    /*.cookie-list .product_title{left: 14%;}*/
    .primary-right-line {
        right: 35px;
    }

    .tophead .col-xs-6 {
        padding: 0;
        font-size: 14px !important;
        line-height: 2.2;
    }
}

@media (max-width: 321px) {

    .tophead div.col-sm-2.col-xs-5>a,
    .tophead div.col-sm-offset-8.col-sm-2>a {
        font-size: 12px !important;
    }

    .wedding-tb {
        padding: 25px;
    }

    .tophead .col-xs-6 {
        padding: 0;
        font-size: 12px !important;
        line-height: 2.5;
    }

    /*.cookie-list .product_title{left: 3%;}*/
    .cookie-list .team-member .entry-media {
        height: 320px;
    }

    .primary-right-line {
        right: 33px;
    }

}

@media (min-width: 770px) {
    .container {
        width: 750px
    }

    .display-table {
        display: table;
        width: 725px;
        margin: 0 auto;
        height: 100%;
    }

    #main-menu>li>a,
    #index .scroll #main-menu>li a,
    #index #main-menu>li a {
        padding: 0;
    }

}

@media (min-width: 992px) {
    .container {
        width: 970px
    }

    .display-table {
        display: table;
        width: 970px;
        margin: 0 auto;
        height: 100%;
    }

    #main-menu>li,
    #index .scroll #main-menu>li,
    #index #main-menu>li {
        padding: 0 20px;
    }

    .wedding-tb {
        padding: 60px 40px;
    }

}

@media (min-width: 1200px) {
    .container {
        width: 1170px
    }

    .display-table {
        display: table;
        width: 1125px;
        margin: 0 auto;
        height: 100%;
    }

    #main-menu>li,
    #index .scroll #main-menu>li,
    #index #main-menu>li {
        padding: 0 20px;
    }

    .share-middle {
        margin-left: 0px;
    }
}

/*@media (min-width: 1600px) {
    .display-table{display: table;width: 1270px;margin: 0 auto;height: 100%;}
    .footermap {
	    max-width: calc(100% - 30%);
	}
    .share-middle{margin-left: -20px;}
}*/


/* 這裡是隱藏跑馬燈時的 */
/* .no-marquee {
    margin-top: 91px !important;
}

@media screen and (min-width: 770px) and (max-width: 1200px) {
    .no-marquee {
        margin-top: 134px !important;
    }
}

@media screen and (max-width: 488px) {
    .no-marquee {
        margin-top: 121px !important;
    }
} */


/* 這裡是使用跑馬燈時 */
.no-marquee {
    margin-top: 141px !important;
}

@media screen and (min-width: 770px) and (max-width: 1200px) {
    .no-marquee {
        margin-top: 184px !important;
    }
}

@media screen and (max-width: 488px) {
    .no-marquee {
        margin-top: 171px !important;
    }
}