﻿/*共用*/
@font-face {
    font-family: 'Noto Sans TC';
    src: url(/font/Noto_Sans_TC/NotoSansTC-Black.otf);
    src: url(/font/Noto_Sans_TC/NotoSansTC-Bold.otf);
    src: url(/font/Noto_Sans_TC/NotoSansTC-Light.otf);
    src: url(/font/Noto_Sans_TC/NotoSansTC-Medium.otf);
    src: url(/font/Noto_Sans_TC/NotoSansTC-Regular.otf);
}

@font-face {
    font-family: 'Roboto';
    src: url(/font/Roboto/Roboto-Black.ttf);
    src: url(/font/Roboto/Roboto-Bold.ttf);
    src: url(/font/Roboto/Roboto-Light.ttf);
    src: url(/font/Roboto/Roboto-Medium.ttf);
    src: url(/font/Roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: 'Gill';
    src: url(/font/GillSans/Gill_SansMedium.otf);
}

@font-face {
    font-family: 'Majorant';
    src: url(/font/Majorant/MajorantTRIAL-Md.otf);
}

@font-face {
    font-family: 'SourceHanSans';
    src: url(/font/SourceHanSans/SourceHanSansTW-Bold.otf);
    src: url(/font/SourceHanSans/SourceHanSansTW-ExtraLight.otf);
    src: url(/font/SourceHanSans/SourceHanSansTW-Heavy.otf);
    src: url(/font/SourceHanSans/SourceHanSansTW-Light.otf);
    src: url(/font/SourceHanSans/SourceHanSansTW-Medium.otf);
    src: url(/font/SourceHanSans/SourceHanSansTW-Normal.otf);
    src: url(/font/SourceHanSans/SourceHanSansTW-Regular.otf);
}

@font-face {
    font-family: 'Hind';
    src: url(/font/Hind/Hind-Bold.ttf);
    src: url(/font/Hind/Hind-Light.ttf);
    src: url(/font/Hind/Hind-Medium.ttf);
    src: url(/font/Hind/Hind-Regular.ttf);
    src: url(/font/Hind/Hind-Semibold.ttf);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}
:focus,
:focus-visible,
.btn:focus,
.btn:focus-visible {
    outline: none !important;
    box-shadow:none;
}
a{
    color: #666;
}
a:hover, a:focus {
    text-decoration: none;
    color: transparent;
    outline: none;
    outline-offset: unset;
}
.form-control:focus {
    box-shadow: none;
    border-color: #ccc;
}
ul, ol, li {
    list-style: none;
    margin-bottom: 0;
}
.btn:active {
    box-shadow: none;
}
img {
    max-width: 100%;
    height: auto;
}
.main_content .row{
    justify-content:center;
}
.content {
    max-width: 520px;
    width: 100%;
    padding: 0;
}
/*Modal*/
.modal {
    width: 100%;
    height: 100%;
}
.modal.fade {
    transition: all 0.6s ease;
}
.modal.fade.show {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    overflow: auto;
    padding: 0 !important;
    display: block;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
    display: none;
}
.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
}
.modal.show .modal-dialog {
    transform: none;
}
.modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    border-radius: 15px;
    outline: 0;
    box-shadow: none;
    background: #ffffff;
}
.modal-body {
    padding: 20px 40px;
}
.modal-footer{
    justify-content:center;
    border:none;
}
/*活動規範Modal*/
.a_spec_modal .modal-dialog-centered {
    max-width: 800px;
}
.a_spec_modal .modal-content {
    background: #000000;
    border: 1px solid #ce0815;
    border-radius: 0;
}
.a_spec_modal .modal-body {
    padding: 20px 25px;
}
.a_spec_modal .title {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    background: #ce0815;
}
.a_spec_modal .title span {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 18px;
    letter-spacing: 2px;
    padding: 9px 10px;
}
.a_spec_modal .info_text {
    padding: 0 15px;
}
.a_spec_modal .info_text .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 7px;
}
.a_spec_modal .info_text .item span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 300;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: justify;
    display: inline-block;
}
.a_spec_modal .info_text .item .number {
    padding-right: 5px;
}
.a_spec_modal .modal-footer {
    justify-content: center;
    padding-top: 0;
    padding-bottom: 25px;
}
.a_spec_modal .modal-footer .agree {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    background: #000000;
    color: #ffffff;
    letter-spacing: 4px;
    font-size: 21px;
    padding: 8px 15px;
    margin: 0;
    min-width: 215px;
    text-align: center;
    border: 1px solid #ce0815;
    transition:all 0.8s ease;
}
.a_spec_modal .modal-footer .agree:hover{
    background:#ffffff;
    color:#000000;
}

/*Error_Modal*/
.error .modal-content {
    background: #161616;
    border: none;
    border-radius: 0;
}
.error .modal-body {
    padding-bottom: 30px;
}
.error .modal-body .err_text {
    text-align: center;
    margin-top: 10px;
}
.error .modal-body .err_text span {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    letter-spacing: 2px;
}
.error .modal-body .err_text .other{
    position:relative;
    display:inline-block;
}
.error .modal-body .err_text .other:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #ce0815;
    left: 0;
    bottom: -3px;
}
.error .modal-body .err_text .pic{
    margin-top:10px;
}
.error .err_text .btn {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #ce0815;
    border-radius: 0;
    letter-spacing: 5px;
    font-size: 20px;
    padding: 7px 10px;
    background: #ce0815;
    width: 95%;
    margin:auto;
    transition: all 0.8s ease;
}
.error .err_text .btn:hover {
    background: #ffffff;
}
.error .err_text .link_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 97%;
    margin: auto;
    margin-top: 15px;
}
.error .err_text .link_item .link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1px solid #ce0815;
    padding: 5px 10px;
    margin: 0 5px;
    transition: background 0.8s ease;
}
.error .err_text .link_item .link:hover {
    background: #ffffff;
}
.error .err_text .link_item .link span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    padding: 0;
    transition: color 0.8s ease;
}
.error .err_text .link_item .link:hover span {
    color: #000000;
}
.error .err_text.link_item .link .en_text {
    font-family: "Hind", sans-serif;
    margin-bottom: -5px;
}

/*寄件資料_Modal*/
.i_modal .modal-dialog-centered{
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.i_modal .modal-content {
    border-radius: 0;
}
.i_modal .title {
    text-align: center;
    margin-bottom: 20px;
}
.i_modal .title span {
    display: inline-block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    background: #000000;
    border: 1px solid #ce0815;
    font-size: 19px;
    letter-spacing: 3px;
    padding: 5px 28px;
}
.i_modal .modal-body {
    padding: 30px 20px;
}
.i_modal .item {
    margin-bottom:10px;
}
.i_modal .item .t_item {
    margin-bottom: 5px;
}
.i_modal .item .t_item span {
    font-family: "SourceHanSans", sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 18px;
    letter-spacing: 1px;
}
.i_modal .item .form-control {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 16px;
    border: 1px solid #000000;
    border-radius: 0;
    height: 50px;
    color: #000000;
    padding-top: 7px;
    padding-left: 15px;
}
.i_modal .item .postal{
    margin-bottom:5px;
}
.i_modal .send_item {
    width: 100%;
    padding: 0 15px;
    margin-top: 35px;
    margin-bottom: 5px;
}
.i_modal .send_item .btn {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-size: 19px;
    letter-spacing: 2px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #ce0815;
    border-radius: 0;
    transition:all 0.8s ease;
}
.i_modal .send_item .btn:hover{
    background:#ce0815;
    color:#000000;
}
.i_modal .text {
    text-align: center;
}
.i_modal .text span {
    display:block;
    font-family: "SourceHanSans", sans-serif;
    font-weight: 500;
    font-size:16px;
    letter-spacing:1px;
    color: #000000;
}
.i_modal .link_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    margin: auto;
    margin-top: 10px;
}
.i_modal .link_item .link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1px solid #ce0815;
    padding: 5px 10px;
    margin: 0 5px;
    transition: background 0.8s ease;
}
.i_modal .link_item .link:hover {
    background: #ffffff;
}
.i_modal .link_item .link span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-size: 21px;
    letter-spacing: 2px;
    color: #ffffff;
    padding: 0;
    transition: color 0.8s ease;
}
.i_modal .link_item .link:hover span {
    color: #000000;
}
.i_modal .link_item .link .en_text {
    font-family: "Hind", sans-serif;
    margin-bottom: -5px;
}
/*admin*/
.admin_content {
    padding: 20px 30px;
}
.admin .title_item  {
    display: flex;
    align-items: center;
}
.admin .title_item .title span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    font-size: 28px;
    letter-spacing: 3px;
}
.admin .title_item .btn_item{
    margin-left:10px;
}
.admin .title_item .btn_item .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 7px 10px;
    min-width: 110px;
    transition: background 0.8s ease,color 0.8s ease;
}
.admin .title_item .btn_item .btn:hover{
    background:#000000;
    color:#ffffff;
}
.admin .table_item {
    margin-top: 30px;
    overflow:auto;
}
.admin .table_item .table {
    word-break: keep-all;
}
.admin .table_item .table th {
    font-family: 'Noto Sans TC';
    font-weight: 500;
    border: none;
    border-bottom: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
}
.admin .table_item .table td {
    font-family: 'Noto Sans TC';
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-top: 1px solid #dee2e6;
}
.admin .table_item .table .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 7px 10px;
    min-width: 110px;
    transition: background 0.8s ease, color 0.8s ease;
}
.admin .table_item .table .btn:hover{
    background:#000000;
    color:#ffffff;
}
.admin .modal-header .close {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: bold;
    background: #000000;
    font-size: 20px;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border: 2px solid #000000;
    transition: all 0.6s ease;
    opacity: 1;
    text-shadow: none;
    margin: 0;
    padding: 0;
}
.admin .modal-content {
    border-radius: 5px;
}
.admin .modal-body{
    padding:15px;
}
.admin .modal-body .input-group,
.admin .input-group {
    margin-bottom: 10px;
}
.admin .modal-body .input-group .input-group-text,
.admin .input-group .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    min-width: 100px;
    justify-content: center;
}
.admin .modal-footer{
    justify-content:center;
}
.admin .modal-footer .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 7px 10px;
    min-width: 110px;
    transition: background 0.8s ease,color 0.8s ease;
}
.admin .modal-footer .btn:hover {
    background: #000000;
    color: #ffffff;
}
.admin .u_item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}
.admin .u_item .file_text {
    display: inline-block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #666666;
    width: 65%;
    padding-bottom: 5px;
    letter-spacing: 2px;
    overflow: hidden;
    min-height: 31px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.admin .u_item .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    background: #000000;
    border-radius: 0;
    font-size: 15px;
    letter-spacing: 2px;
    border: none;
    padding: 8px 10px;
    margin-left: 10px;
}
.admin .pic_link {
    display: inline-block;
    width: 100px;
    height: 100px;
}
.admin .pic_link .pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
}
.admin .main_content .row {
    justify-content: flex-start;
}
.admin .other {
    margin-top:20px;
}
.admin .select_item{
    margin-top:20px;
}
.admin .remaining_prizes{
    margin-top:10px;
}
.admin .remaining_prizes .r_title span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ff0000;
    font-size: 22px;
    letter-spacing: 1px;
}
.admin .remaining_prizes .r_info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.admin .remaining_prizes .r_info .info {
    padding-right:20px;
}
.admin .remaining_prizes .r_info .info .text {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    color: #000000;
    font-size: 20px;
    letter-spacing: 1px;
}
.admin .remaining_prizes .r_info .info .other{
    color:#ff0000;
}
/*item01*/
.item01 {
    position: relative;
}
.item01 .play_btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 17%;
}
.item01 .play_btn .btn {
    font-family: "Majorant";
    color: #fefeff;
    border: 1px solid #fefeff;
    border-radius: 10px;
    font-size: 25px;
    letter-spacing: 5px;
    padding: 7px 60px;
    padding-top: 9px;
    transition:all 0.8s ease;
}
.item01 .play_btn .btn:hover {
    background: #ce0815;
    color: #000000;
    border: 1px solid #000000;
}
/*item02*/
.item02 {
    position: relative;
}
.item02 .a_method {
    width: 90%;
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
}
.item02 .a_method .t1 {
    text-align: center;
    margin-bottom: 20px;
}
.item02 .a_method .t1 span {
    display: inline-block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    background: #000000;
    border: 1px solid #ce0815;
    font-size: 19px;
    letter-spacing: 3px;
    padding: 5px 28px;
}
.item02 .a_method .t2 {
    text-align: center;
}
.item02 .a_method .t2 span {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 19px;
    letter-spacing: 2px;
    padding-bottom: 7px;
}
.item02 .a_method .t2 .other_item span {
    display: inline-block;
}
.item02 .a_method .t2 .other {
    color: #ce0815;
    padding-bottom: 0;
}
.item02 .a_method .t3{
    width:80%;
    margin:auto;
}
.item02 .order_item {
    width: 90%;
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    background: #161616;
    border: 1px solid #ce0815;
    padding: 0 15px;
    padding-top: 50px;
    padding-bottom: 40px;
}
.item02 .order_item span {
    display: block;
    font-family: "SourceHanSans", sans-serif;
    font-weight: 300;
    text-align: center;
    color: #ffffff;
    font-size: 21px;
    letter-spacing: 2px;
    padding-bottom: 10px;
}
.item02 .order_item .form-control {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size:30px;
    border: 1px solid #ce0815;
    border-radius: 0;
    height: 50px;
    text-align: center;
    color:#000000;
}
.item02 .order_item .form-control::placeholder {
    font-size:25px;
}
.item02 .agree_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 35px;
}
.item02 .agree_item a {
    display:flex;
    align-items:center;
    font-family: "SourceHanSans", sans-serif;
    font-weight: 300;
    color: #ffffff;
    font-size: 21px;
    letter-spacing: 2px;
    border-radius: 0;
    border: none;
    padding: 0;
}
.item02 .agree_item .t1 {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item02 .agree_item .t1 .btn {
    display: flex;
    align-items: center;
}
.item02 .agree_item .t1 img {
    width: 20%;
    margin-left: 7px;
}
.item02 .agree_item .t2 {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item02 .agree_item .t2 label {
    margin: 0;
    margin-right: 20px;
}
.item02 .agree_item .t2 .chk_btn {
    position: relative;
    padding: 0;
}
.item02 .agree_item .t2 .chk_btn:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #ececec;
    width: 30px;
    height: 30px;
    left: -7px;
}
.item02 .agree_item .t2 .chk_btn.active:before {
    background: #ce0815;
}
.item02 .send_item {
    width: 80%;
    margin: auto;
}
.item02 .send_item .btn {
    width: 100%;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    background: #ce0815;
    color: #000000;
    display: block;
    border-radius: 0;
    border: 1px solid #ce0815;
    font-size: 21px;
    letter-spacing: 2px;
    padding: 5px 10px;
    transition: background 0.8s ease;
}
.item02 .send_item .btn:hover{
    background:#ffffff;
}
.item02 .link_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82%;
    margin: auto;
    margin-top: 15px;
}
.item02 .link_item .link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1px solid #ce0815;
    padding: 5px 10px;
    margin: 0 5px;
    transition: background 0.8s ease;
}
.item02 .link_item .link:hover {
    background: #ffffff;
}
.item02 .link_item .link span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    padding: 0;
    transition: color 0.8s ease;
}
.item02 .link_item .link:hover span {
    color: #000000;
}
.item02 .link_item .link .en_text {
    font-family: "Hind", sans-serif;
    margin-bottom: -5px;
}
/*item04*/
.item04{
    position:relative;
}
.item04 .award_info {
    width: 100%;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}
.item04 .award_info .pic_item {
    width: 90%;
    margin: auto;
}
.item04 .btn_item {
    text-align: center;
}
.item04 .btn_item .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    color: #000000;
    background: #ce0815;
    border-radius: 0;
    border: 1px solid #ce0815;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 5px 60px;
    transition: background 0.8s ease;
}
.item04 .btn_item .btn:hover{
    background:#ffffff;
}
.item04 .link_item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 82%;
    margin: auto;
    margin-top: 15px;
}
.item04 .link_item .btn {
    width: 97%;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    background: #ce0815;
    color: #000000;
    display: block;
    border-radius: 0;
    border: 1px solid #ce0815;
    font-size: 21px;
    letter-spacing: 2px;
    padding: 5px 10px;
    transition: background 0.8s ease;
}
.item04 .link_item .btn:hover {
    background: #ffffff;
}
.item04 .link_item .l_item {
    display: flex;
    width: 100%;
    margin-top: 10px;
}
.item04 .link_item .link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1px solid #ce0815;
    padding: 5px 10px;
    margin: 0 5px;
    transition: background 0.8s ease;
}
.item04 .link_item .link:hover {
    background: #ffffff;
}
.item04 .link_item .link span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-size: 21px;
    letter-spacing: 2px;
    color: #ffffff;
    padding: 0;
    transition: color 0.8s ease;
}
.item04 .link_item .link:hover span {
    color: #000000;
}
.item04 .link_item .link .en_text {
    font-family: "Hind", sans-serif;
    margin-bottom: -5px;
}
/*footer_item*/
.footer_item {
    text-align: center;
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
}
.footer_item span {
    font-family: "SourceHanSans", sans-serif;
    font-weight: 300;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
}
.footer_item .t1 {
    margin-bottom: -2px;
}


