/*generic*/

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: "PingFang HK";
}

main{
    position: relative;
    overflow: hidden;
    width: 100%;
}

button{
    border: none;
    color: unset;
}

a{
    color: #cd5150;
}

a:hover{
    color: #b54444;
    text-decoration: none;
}

p{
    color: #222222;
    font-size: 17px;
    font-weight: 300;
}

h5{
    color: #4F4F4F;
}

b{
    font-weight: 500;
}

strong{
    color: #4c506d;
    font-weight: bold;
}

span{
    color: #4F4F4F;
}

section{
    padding: 60px 0;
}

button:focus {
    outline:none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

label.required:after{margin-left:2px;content:"*";color:red}

hr{
    width: 100%;
    background-color: #ECECEC;
}

/*class*/
.btn-general{
    font-size: 16px;
    padding: 10px 30px;
    background-color: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #188753;
    color: #188753;
    transition: 0.2s ease;
}

.btn-general:hover{
    background-color: #188753;
    color: #FFFFFF;
}

.btn-general-lg {
    max-width: unset;
}

.btn-primary {
    font-size: 16px;
    padding: 14px 30px;
    font-weight: medium;
    width: 250px;
    background-color: #188753;
    border-radius: 4px;
    color: #FFFFFF;
    margin-top: 0.5rem;
    transition: 0.2s ease;
}

.btn-primary:hover{
    background-color: #126f43;
}

.btn-news, .btn-donate{
    padding: 20px 15px;
    border-radius: 8px 0 0 8px;
    position: fixed;
    right: 0;
    margin-bottom: 10px;
    font-size: 17px;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0px 1px 7px rgba(85, 85, 85, 0.25);
}

.btn-news{
    background-color: #41bc86;
    /*background-repeat: no-repeat;*/
    /*background-size: 20px 15px;*/
    /*background: url("../img/lantern_with_text_04.png");*/
    top: 150px;
}

.btn-donate{
    background-color: #e97271;
    top: 230px;
}

#register .img_item{
    height: 400px;
    width: auto;

}

.btn-category{
    width: auto;
    height: auto;
    display: flex;
}

/*.btn-category:hover{*/
/*    box-shadow: 0px 1px 7px rgba(85, 85, 85, 0.5);*/
/*    background-size: 120%;*/
/*}*/

.btn-category span{
    padding: 10px;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
}

.btn-category span.site{
    background-color: #22D3EA;
}

.btn-category span.online{
    background-color: #958CFF;
}

.btn-category span.souvenir{
    background-color: #FFCB27;
}

.btn-category span.donate{
    background-color: #CD5150;
}

.btn-individual{
    background-color: #1FC8DF;
    color: #FFFFFF;
    border: none;
}

.btn-individual:hover{
    background-color: #13B5CB;
}

.btn-team{
    background-color: #03E9BF;
    color: #FFFFFF;
    border: none;
}

.btn-team:hover{
    background-color: #01CAA5;
    color: #FFFFFF;
}

.btn-payment{
    border: 1px solid #ced4da;
    color: #222222;
    background-color: #ffffff;
    padding: 12px;
    transition: 0.2s ease;
    cursor: pointer;
    width: 49.5%;
    margin-bottom: 6px;
}

.btn-payment:hover, .btn-payment:focus{
    border: 1px solid #CD5150;
    background-color: #CD5150;
    color: #ffffff;
}

.btn-payment.click_active{
    background-color: #CD5150;
    color: #ffffff;
}
.shareBtn{
    padding: 20px;
    font-size: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    background: #ffffff;

}
.show_img{
    position: relative;

}
.content_news{
    padding-left: 1.3rem;

}
.img-fluid {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}
.show_img:hover .img-fluid{
    opacity: 70%;
}

.avatar{
    width: 120px;
    height: auto;
}

.power-bg {
    position: relative;
    width: 100%;
    height: 100px;
    background: rgb(254, 248, 192);
    margin-bottom: 35px;
    margin-top: 35px;
}

.power-bar {
    /*width: 50%;*/
    height: 100px;
    background: #FFCB27;
    margin-bottom: 35px;
    margin-top: -30px;
}

.power-bg .donate-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.ic-gift{
    position: absolute;
    /*left: 30%;*/
    padding: 8px;
    width: 80px;
    height: auto;
}

.card{
    background: #FFFFFF;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.12);
    border: none;
    border-radius: 8px;
}

.card.default{
    box-shadow: unset;
}

.card-body{
    padding: 1.8rem 2.3rem;
}

.carousel-inner{
    min-height: 340px;
}

.title{
    font-size: 48px;
    font-weight: 200;
    padding: 50px;
    color: #4c506d;
}

.subtitle{
    font-weight: bold;
    font-size: 28px;
    color: #4c506d;
}

.title-souvenir{
    font-size: 28px;
    font-weight: 400;
}

.featured-g{
    box-shadow: 18px 18px 0px #188753;
}

.featured-o{
    box-shadow: 18px 18px 0px #FFCB27;
}

.list{
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-soldout{
    padding: 8px 12px;
    background-color: #ee8360;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 4px;
    width: fit-content;
}

.margin-top{
    margin-top: 80px;
}

.quote{
    font-size: 70px;
    color: #FFCB27;
}

.pagination{
    margin-top: 20px;
    justify-content: center;
}

.pagination .page-link {
    color: #4F4F4F;
    border: none;
}

.pending{
    color: #FFCB27;
}

.confirmed{
    color: #188753;
}

.form{
    background: #FFFFFF;
    margin-top: 50px;
    padding: 10px 150px;
}

.form-group input::placeholder{
    color: #DBDBDB;
}

label{
    font-size: 17px;
    color: #4F4F4F;
}

.form-remarks{
    font-size: 15px;
    color: #222222;
}

.text-end{
    text-align: end;
}

.bg-pattern{
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    height: 410px;
    width: auto;
}

.remark-lv-1{
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    padding: 10px 0;
    margin: 0 16px;
}

.remark-lv-2{
    margin: 0 12px;
    padding: 12px;
    background-color: #F5F5F5;
    border-radius: 2px;
}

.required-icon{
    color: red;
    font-size: 15px;
}

.modal-custom{
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-custom::before{
    content: '';
    background-color: #000000;
    opacity: 0.6;
    width: 100%;
    height: 100vh;
    position: absolute;
}

.modal-close-2{
    width: 100%;
    border: none;
}

.modal-custom .modal-header{
    background-color: #ddefe9;
    border: none;
    padding: 1.5rem 1.25rem;
}

.modal-custom .modal-header .close{
    transform: translate(-8px);
}

.modal-custom .modal-title{
    color: #000000;
    font-size: 1.2rem;
}

.modal-custom .modal-body, .modal-custom .modal-footer{
    padding: 1.25rem 1.5rem;
}

.modal-custom .modal-dialog{
    margin: 1rem;
}

.modal-custom .modal-content {
    border: none;
}

.payme{
    max-width: 300px;
}

.highlight{
    background-color: #eef7ff;
    padding: 1rem;
    border-radius: 4px;
}

.desktop-version{
    visibility: visible;
}

.mobile-version{
    visibility: collapse;
}

.table-even{
    table-layout: fixed;
    width: 100%;
}

    /*id*/
#navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.13);
}

#navbar .menu-toggle{
    display: none;
    font-size: 35px;
    background: none;
    color: #4c506d;
    padding: 5px;
}

#navbar .nav-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #FFFFFF;
}

#navbar .nav-top .cta{
    display: flex;
    align-items: center;
}

#navbar .nav-bottom{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 7px 20px;
    background-color: #4c506d;
}

#navbar ul{
    display: flex;
    list-style: none;
    margin: 0;
}

#navbar ul li{
    padding: 0 12px;
}

#navbar .nav-top ul li a{
    color: #444444;
    font-size: 15px;
}

#navbar .nav-bottom ul li a{
    color: #FFFFFF;
    font-size: 15px;
}

#navbar .nav-mobile ul{
    display: block;
    position: absolute;
    background-color: #FFFFFF;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    transform: translateX(-100%);
    transition: 0.7s ease-in-out;
}

#navbar .nav-mobile ul li{
    padding: 8px 0;
    text-align: center;
}

#navbar .nav-mobile ul li a{
    color: #444444;
    font-size: 15px;
}

#navbar .nav-mobile ul li a:hover{
    color: #188753;
}

#navbar .nav-top .logo{
    width: 180px;
    height: auto;
}

#cover{
    height: 80vh;
    min-height: 800px;
    width: 100%;
    background-image: url("../img/cover_2024.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: opacity(90%);
    margin-top: 85px;
}

#cover .text{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: auto;
}

#cover h1{
    font-weight: bold;
    font-size: 48px;
    margin-top: 40px;
}

#cover h1 span{
    font-size: 33px;
    font-weight: normal;
}

#cover h5{
    font-size: 34px;
    font-weight: normal;
    margin-top: 57px;
}

#info{
    margin-top: -230px;
}

#info .category{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 84px;
}

#action{
    text-align: center;
    background-color: #e5f3ec;
}

#action h5{
    color: #FFFFFF;
}

#action .card{
    margin: 0 12px;
    font-size: 26px;
    height: 100%;
    margin: 0;
    background-color: #cd5150;
    cursor: pointer;
    transition: 0.15s ease-in-out;
    box-shadow: none;
    overflow: hidden;
}

#action .card:hover{
    box-shadow: 0 1px 6px #ab9595;
    background-color: #e86261;
}

#action .card-body{
    padding: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ranking{
    background-color: #F8F8F8;
    padding: 60px 0;
}

#ranking .medal{
    width: 210px;
    height: 190px;
    align-items: center;
    display: flex;
    margin: 30px 10px 10px 10px;
    position: relative;
    background-color: #FFFFFF;
    border-radius: 8px;
}

#ranking .medal::before{
    content: "1";
    position: absolute;
}

#ranking .medal:nth-child(1){
    border: 5px solid #FFA14B;
}

#ranking .medal::before {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 35px;
    color: #FFFFFF;
    font-weight: 900;
}

#ranking .medal:nth-child(1)::before {
    content: "1";
    background-color: #FFA14B;
}
#ranking .medal:nth-child(2)::before {
    content: "2";
    background-color: #BBA56A;
}
#ranking .medal:nth-child(3)::before {
    content: "3";
    background-color: #D3A67D;
}
#ranking .medal:nth-child(4)::before {
    content: "4";
    background-color: #D9B4AF;
}
#ranking .medal:nth-child(5)::before {
    content: "5";
    background-color: #D9B4AF;
}

#ranking .medal:nth-child(2){
    border: 5px solid #BBA56A;
}

#ranking .medal:nth-child(3){
    border: 5px solid #D3A67D;
}

#ranking .medal:nth-child(4), #ranking .medal:nth-child(5){
    border: 5px solid #D9B4AF;
}

#ranking .medal:nth-child(1) .fa-crown{
    color: #FFA14B;
    font-size: 30px;
}

#ranking .medal:nth-child(2) .fa-crown{
    color: #BBA56A;
    font-size: 30px;
}

#ranking .medal:nth-child(3) .fa-crown{
    color: #D3A67D;
    font-size: 30px;
}

#ranking .medal span{
    width: 100%;
    text-align: center;
}

#ranking .gift-row .col-6{
    display: flex;
    justify-content: center;
}

#ranking .gift-row{
    justify-content: center;
}

#ranking .gift{
    width: 100%;
    height: 240px;
    display: flex;
    flex: 0 0 auto;
    border-radius: 2px;
    align-items: center;
    margin: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    background-position: top;
}

#ranking .gift::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #222522;
    opacity: 0;
    transition: 0.3s ease-in;
}

#ranking .gift:hover::before{
    opacity: .3;
}

#ranking .gift-1{
    background-image: url("../img/Buffet.png");
}

#ranking .gift-2 , .gift-3{
    background-image: url("../img/Fullset.png");
}

#ranking .gift-4{
    background-image: url("../img/High_4s.jpg");
}

#ranking .gift-5{
    background-image: url("../img/High_5s.jpg");
}


#ranking .gift-1 span{
    opacity: 0;
    background: #13757be8;
    font-size: 16px;
    padding: 40px 5px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #FFFFFF;
    box-shadow: 0 1px 6px #a49c95;
    position: absolute;
    bottom: 0;
    line-height: 2rem;
}

#ranking .gift-2 span{
    opacity: 0;
    background: #5b7bb1e8;
    font-size: 16px;
    padding: 40px 5px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #FFFFFF;
    box-shadow: 0 1px 6px #a49c95;
    position: absolute;
    bottom: 0;
    line-height: 2rem;
}

#ranking .gift:hover span{
    animation: hover-text 0.35s ease-in forwards;
}

@keyframes hover-text {
    from{
        opacity: 0;
        transform: translateX(-150px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

#ranking .remark{
    margin-top: 30px;
    position: relative;
    padding-left: 1rem;
}

#ranking .remark::before{
    content: '';
    background-color: #958CFF;
    width: 8px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#ranking.ranking-gift{
    background-color: #FFFFFF;
    padding: 0;
}

#ranking.ranking-gift .gift span {
    background: #FFFFFF;
}


#story .story-name{
    color: #CD5150;
    font-size: 20px;
    font-weight: 500;
}

#story.btn-general{
    font-size: 16px;
    padding: 10px 30px;
    background-color: #FFFFFF;
    border: 1px solid #CD5150;
    color: #CD5150;
    transition: 0.2s ease;
}
#story .btn-general:hover{
    background-color: #188753;
    color: #FFFFFF;
}
#story .btn-general-lg {
    max-width: unset;
}


#story .card{
    transition: 0.25s;
    height: 450px;
}
#story .card2{
    background: #FFFFFF;
    box-shadow: 0px 2px 13px rgba(0, 0, 0, 0.07);
    border: none;
    border-radius: 0;
}

#story .card2.default{
    box-shadow: unset;
}

#story .card2-body{
    padding: 1.8rem 2.3rem;
}

#story .card:hover{
    box-shadow: 0px 2px 13px #C9C9C9;
}

#story .card-body{
    padding: 1.5rem;
}

#supportus .support .card::before{
    content: '';
    width: 100%;
    height: 100%;
    background-color: #CD5150;
    border-radius: 8px;
    top: 15px;
    left: 15px;
    position: absolute;
    z-index: -1;
}

#supportus .support .card{
    background-image: url("../img/support_banner.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

#supportus .support .btn-general{
    color: #CD5150;
    border: 1px solid #CD5150;
}

#supportus .support .btn-general:hover{
    color: #FFFFFF;
    background-color: #CD5150;
}
#story .title{
    color: #FFFFFF;
}

#story .title::before{
    content: '';
    background-color: #e0c68b;
    position: absolute;
    left: 0;
    top: 0;
    padding: 170px 100%;
    z-index: -1;
}

#story .quote {
    margin-left: 50px;
}

#story .article{
    padding: 50px 140px;
    background-color: #FFFFFF;
    margin-top: -10px;
}

#story .card .brief{
    /*overflow-y: hidden;*/
    text-overflow: ellipsis;
    max-height: 8em;
    text-align: justify;
    margin-bottom: 0;
}

#story .story-deco{
    width: 320px;
    height: auto;
    margin-top: 30px;
}


#video .video{
    width: 600px;
    margin: 0 auto;
}

#about-sage{
    background-color: #F8F8F8;
    padding: 110px 0;
    margin-bottom: 0;
}


#footer{
    border-top: 30px solid #e0c68b;
    padding: 110px 0;
}

#footer a{
    font-size: 16px;
    color: #4F4F4F;
}

#footer a:hover{
    color: #188753;
}

#footer .btn-general{
    font-size: 15px;
    margin-bottom: 10px;
}

#footer .site-map{
    display: grid;
}

#latest-news p{
    line-height: 1.5;
}

#latest-news .card{
    margin-bottom: 20px;
}

#latest-news .card:hover{
    box-shadow: 0px 2px 13px rgba(0, 0, 0, 0.1);
}

/*stanley*/
/*#latest-news .btn-back{*/
    /*margin: 50px 0;*/
/*}*/

#register .title{
    color: #FFFFFF;
}

#register .title::before{
    content: '';
    background-color: #e0c68b;
    position: absolute;
    left: 0;
    top: 0;
    padding: 170px 1000%;
    z-index: -1;
}

#register.register-team .title::before{
    background-color: #188753;
}

#register.register-individual .title::before{
    background-color: #1FC8DF;
}

#register.register-online .title::before{
    background-color: #958CFF;
}

#register .category{
    display: grid;
    justify-content: center;
}

#register .category .btn-category {
    padding: 0;
}

#register .category .btn-category span {
    padding: 20px;
}

#register .card.login{
    width: 500px;
    margin: 0 auto;
}

#register .btn-login{
    padding: 10px 60px;
    margin-bottom: 15px;
}

#register a{
    /*font-size: 15px;*/
    color: #0b76b8;
    transition: 0.2s;
}

#register a:hover{
    color: #0c5460;
}

#souvenir .card .card-body{
    padding: 1.25rem;
}

#souvenir .price{
    margin: 50px 0 20px 0;
}

#souvenir .btn-number{
    background-color: #FFFFFF;
    color: #188753;
    border-radius: 50%;
    box-shadow: 0px 1px 5px #DBDBDB;
    margin: 0 7px;
    width: 39px;
    height: 39px;
    font-weight: bold;
    font-size: 22px;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: -webkit-center;
    padding: 0;
}

#souvenir .btn-number:hover{
    background-color: #188753;
    color: #FFFFFF;
}

#souvenir .cart p{
    display: contents;
}

#souvenir .cart .subtitle{
    color: #4F4F4F;
}

#souvenir .cart{
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 0px 2px 13px rgba(0, 0, 0, 0.07);
    line-height: 2.8;
    table-layout: fixed;
    border: 1px solid #f1f1f1;
}

#souvenir .cart thead tr:nth-child(2), #souvenir .cart tfoot tr{
    background-color: #F9F9F9;
}

#souvenir .cart thead tr:nth-child(2){
    font-weight: bold;
}

#souvenir .cart thead td:nth-child(1), #souvenir .cart tbody td:nth-child(1){
    text-align: center;
    padding: 5px;
    width: 8%;
}

#souvenir .cart td:nth-child(2){
    width: 58%;
}

#souvenir .cart td:nth-child(3){
    width: 20%;
}

#souvenir .cart td:nth-child(4){
    width: 19%;
}

#souvenir .cart .fa-times{
    color: #CD5150;
}

#qna .subtitle{
    margin: 0;
}

#qna .card .card-body{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#qna .card:hover{
    background-color: #188753;
    transition: 0.2s ease-in-out;
}

#qna .card .fa-chevron-right{
    color: #188753;
    font-size: 50px;
}

#qna .card:hover .subtitle ,#qna .card:hover .fa-chevron-right{
    color: #FFFFFF;
}

#accordion-1{
    position: relative;
    box-shadow: 0px 1px 7px #DBDBDB;
}

#accordion-1 .head{
    background-color: #FFFFFF;
    color: #188753;
    padding: 20px 30px;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#accordion-1 .arrow{
    color: #AAAAAA;
    font-size: 60px;
    transition: 0.25s ease;
    opacity: 0.3;
    transform: rotate(-90deg);
}

#accordion-1 .head:hover .arrow{
    color: #FFFFFF;
    opacity: 1;
}

#accordion-1 .head:hover, #accordion-1 .active{
    color: #FFFFFF;
    background-color: #188753;
}

#accordion-1 .arrow-animate{
    transform: rotate(0deg);
    opacity: 1;
    color: #FFFFFF;
}

#accordion-1 .content{
    background-color: #FFFFFF;
    display: none;
    padding: 20px 30px;
    color: #333333;
}

#color .title{
    color: #FFFFFF;
}

#color .title::before{
    content: '';
    background-color: #e0c68b;
    position: absolute;
    left: 0;
    top: 0;
    padding: 170px 100%;
    z-index: -1;
}

#color .workflow img{
    width: 180px;
    height: auto;
    margin-bottom: 10px;
}
#color .wish1 {
    color: #4c506d;
}

#color .wish2{
    color: #e0c68b;
}

#my-bag .title::before{
    content: '';
    background-color: #FFCB27;
    position: absolute;
    left: 0;
    top: 0;
    padding: 170px 30%;
    z-index: -1;
}

#my-bag .title{
    color: #FFFFFF;
}

#my-bag .card.my-info::before{
    content: '';
    background-color: #FFCB27;
    position: absolute;
    width: 100%;
    height: 80%;
    z-index: -1;
    top: 23%;
    left: 20px;
}

#my-bag .my-info .card-header{
    background-color: #188753;
    display: flex;
    align-items: center;
    padding: 1.8rem 2.3rem;
    border-radius: 0;
    border: none;
}

#my-bag .my-info .card-header .subtitle{
    color: #FFFFFF;
}

#my-bag .record{
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 0px 2px 13px rgb(0 0 0 / 7%);
    line-height: 2.8;
    table-layout: fixed;
}

#my-bag .record p {
    display: contents;
}

#my-bag .record thead td:nth-child(1), #my-bag .record tbody td:nth-child(1) {
    text-align: center;
    padding: 5px;
    width: 30%;
}

#my-bag .record td:nth-child(2){
    width: 20%;
}

#my-bag .record td:nth-child(3){
    width: 40%;
}

#my-bag .record td:nth-child(4){
    width: 10%;
}

#my-bag .record thead tr:nth-child(2) {
    font-weight: bold;
    background-color: #F9F9F9;
}

#my-bag .btn-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#my-bag .btn-fb{
    display: flex;
    align-items: center;
}
#my-bag .fa-facebook{
    color: #3B5998;
}

/*responsive*/
/*byron handle 籌款額最高的5位線上義工將分別獲贈*/
@media only screen and (max-width: 1200px) {

    #footer {
        text-align: center;
        padding: 30px 0;
    }

    #footer a {
        margin-bottom: 20px;
        font-size: 15px;
    }

    #footer .btn-general {
        padding: 10px 34px;
        font-size: 15px;
    }

    #footer .logo {
        width: 200px;
        margin-bottom: 30px;
    }

    #footer .site-map {
        justify-content: center;
    }
    #qna .qna_youtube{
        width: 100%;
        height: 10%;
    }
}

/*responsive*/
@media only screen and (max-width: 991.99px) {

    p {
        font-size: 15px;
    }

    label {
        font-size: 15px;
    }

    section{
        padding: 40px 0;
    }

    .title {
        font-size: 40px;
        padding: 30px;
    }

    .subtitle {
        font-size: 25px;
    }

    .card-body {
        padding: 1rem;
    }

    .form {
        margin-top: 20px;
        padding: 25px;
    }

    .form-remarks {
        font-size: 15px;
    }

    .btn-general {
        font-size: 15px;
    }

    .btn-news, .btn-donate {
        position: fixed;
        right: 0;
        margin-bottom: 10px;
        font-size: 15px;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 3;
        box-shadow: 0px 1px 7px rgba(85, 85, 85, 0.25);
    }

    .btn-news {
        top: unset;
        bottom: 70px;
    }

    .btn-donate {
        top: unset;
        bottom: 0;
    }

    .btn-category {
        width: auto;
        height: auto;
    }

    .btn-category span {
        font-size: 15px;
    }

    .margin-top {
        margin-top: 84px;
    }

    .form {
        padding: 20px 55px;
    }

    #navbar ul {
        display: none;
    }

    #navbar ul.active {
        transform: translateX(0);
    }

    #navbar .menu-toggle {
        display: flex;
    }

    #navbar .nav-top {
        padding: 10px;
    }

    #cover {
        margin-top: 60px;
    }

    #ranking .medal {
        width: 130px;
        height: 150px;
        margin: 30px 3px 3px 3px;
    }

    #ranking .medal::before {
        position: absolute;
        top: -30px;
        width: 40px;
        height: 40px;
        font-size: 28px
    }

    #ranking .medal.four::before {
        content: "4";
        background-color: #D9B4AF;
    }

    #ranking .medal.five::before {
        content: "5";
        background-color: #D9B4AF;
    }

    #ranking .medal.four, #ranking .medal.five {
        border: 5px solid #D9B4AF;
    }

    #supportus .support .card {
        background-image: none;
    }

    #story .article {
        padding: 50px 50px;
    }

    #video .video {
        padding: 0;
    }

    #footer a {
        font-size: 15px;
    }

    #footer .btn-general {
        padding: 10px 10px;
        font-size: 15px;
    }

    #register .title::before {
        padding: 170px 100%;
    }

    #color .title::before {
        padding: 170px 100%;
    }

    #color .workflow img {
        width: 160px;
    }

    #register .remain {
        font-weight: bold;
    }
    #qna .qna_youtube{
        width: 100%;
        height: 10%;
    }
}

/*mobile*/
@media only screen and (max-width: 767.99px) {
    .btn-payment{
        border: 1px solid #ced4da;
        background-color: #ffffff;
        padding: 12px;
        transition: 0.2s ease;
        cursor: pointer;
        width: 100%;
        margin-bottom: 6px;
    }

    .btn-primary{
        width: 100%;
    }

    p{
        font-size: 15px;
    }
    
    h4{
        font-size: 22px;
    }

    label {
        font-size: 15px;
    }

    .title{
        font-size: 37px;
        padding: 30px;
    }

    .subtitle{
        font-size: 22px;
    }

    .quote{
        text-align: center;
    }

    .form {
        margin-top: 20px;
        padding: 25px;
    }

    .form-remarks {
        font-size: 13px;
    }

    .btn-general {
        font-size: 15px;
    }

    .btn-category {
        /*width: 90%;*/
        margin: 0 auto;
    }

    .colour-img{
        min-width: 200px;
    }

    .desktop-version{
        visibility: collapse;
    }

    .mobile-version{
        visibility: visible;
    }

    #cover .text{
        max-width: 90%;
        min-width: 600px;
    }

    #info .category {
        display: block;
        margin-top: 20px;
    }

    #supportus .support .card::before {
        left: unset;
    }
    #story .quote{
        margin-left: 0;
    }

    #story .article{
        padding: 50px 30px;
    }
    #story .card{
        height: unset;
    }
    #footer {
        text-align: center;
        padding: 30px 0;
    }

    #footer a {
        margin-bottom: 20px;
        font-size: 15px;
    }

    #footer .btn-general {
        padding: 10px 34px;
        font-size: 15px;
    }

    #footer .logo {
        width: 200px;
        margin-bottom: 30px;
    }

    #footer .site-map {
        justify-content: center;
    }

    #souvenir .form{
        padding: 0;
    }

    #souvenir .title-souvenir{
        font-size: 21px;
    }

    #souvenir .card .card-body{
        padding: 1rem;
    }

    #souvenir .item{
        padding: 0;
    }
    #register .card.login {
        width: 100%;

    }
    #color .workflow img{
        width: 140px;
    }

    .myinfo .card::before {
        left: unset;
    }
    #ranking .fa-crown {
        font-size: 23px;
    }
    #ranking .medal {
        width: 100px;
    }

    #video .video{
        width:100%;
    }
    #qna .qna_youtube{
        width: 100%;
        height: 10%;

    }

    #action .card{
        margin: 12px 0;
    }

    #action h5{
        font-size: 20px;
    }

    #ranking .gift-row{
        justify-content: start;
    }

    .container{
        max-width: 650px !important;
    }

    .logo-3{
        width: 100px !important;
    }
}
