﻿/*
 * Common Custom
 * 
 * 尺寸分類 (附加：.xs .sm .md .lg) 依照下面分類
 * All 全尺寸 (不附加.xs .sm .md .lg)
 * Extra small devices (Phones)：.xs <= 767px 手機模式 → @media (max-width: 767px){} (設定)
 * Small devices (Tablets)： 769px <= .sm  <= 991px 平板模式 → @media (min-width: 768px) and (max-width: 991px){} (設定)
 * Medium devices (Desktops)： 992px <= .md  <= 1200px PC模式 → @media (max-width: 1200px){} (不用設定)
 * Large devices (Desktops)： 1200px <= .lg  <= max PC模式以上 (目前沒用到不實作) → @media (min-width: 1200px){} (不用設定)
*/

/* margin */
.m-0 {
    margin: 0 !important;
}

.m-5 {
    margin: 5px !important;
}

.m-10 {
    margin: 10px !important;
}

.m-15 {
    margin: 15px !important;
}

.m-20 {
    margin: 20px !important;
}

.m-25 {
    margin: 25px !important;
}

.m-30 {
    margin: 30px !important;
}

@media (max-width: 767px) {
    .xs-m-0 {
        margin: 0 !important;
    }

    .xs-m-5 {
        margin: 5px !important;
    }

    .xs-m-10 {
        margin: 10px !important;
    }

    .xs-m-15 {
        margin: 15px !important;
    }

    .xs-m-20 {
        margin: 20px !important;
    }

    .xs-m-25 {
        margin: 25px !important;
    }

    .xs-m-30 {
        margin: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-m-0 {
        margin: 0 !important;
    }

    .sm-m-5 {
        margin: 5px !important;
    }

    .sm-m-10 {
        margin: 10px !important;
    }

    .sm-m-15 {
        margin: 15px !important;
    }

    .sm-m-20 {
        margin: 20px !important;
    }

    .sm-m-25 {
        margin: 25px !important;
    }

    .sm-m-30 {
        margin: 30px !important;
    }
}

/* margin-top */
.m-t-0 {
    margin-top: 0 !important;
}

.m-t-5 {
    margin-top: 5px !important;
}

.m-t-10 {
    margin-top: 10px !important;
}

.m-t-15 {
    margin-top: 15px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-t-25 {
    margin-top: 25px !important;
}

.m-t-30 {
    margin-top: 30px !important;
}

.m-t-70 {
    margin-top: 70px !important;
}

.m-t-100 {
    margin-top: 100px !important;
}

@media (max-width: 767px) {
    .xs-m-t-0 {
        margin-top: 0 !important;
    }

    .xs-m-t-5 {
        margin-top: 5px !important;
    }

    .xs-m-t-10 {
        margin-top: 10px !important;
    }

    .xs-m-t-15 {
        margin-top: 15px !important;
    }

    .xs-m-t-20 {
        margin-top: 20px !important;
    }

    .xs-m-t-25 {
        margin-top: 25px !important;
    }

    .xs-m-t-30 {
        margin-top: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-m-t-0 {
        margin-top: 0 !important;
    }

    .sm-m-t-5 {
        margin-top: 5px !important;
    }

    .sm-m-t-10 {
        margin-top: 10px !important;
    }

    .sm-m-t-15 {
        margin-top: 15px !important;
    }

    .sm-m-t-20 {
        margin-top: 20px !important;
    }

    .sm-m-t-25 {
        margin-top: 25px !important;
    }

    .sm-m-t-30 {
        margin-top: 30px !important;
    }
}

/* margin-bottom */
.m-b-0 {
    margin-bottom: 0 !important;
}

.m-b-5 {
    margin-bottom: 5px !important;
}

.m-b-10 {
    margin-bottom: 10px !important;
}

.m-b-15 {
    margin-bottom: 15px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.m-b-25 {
    margin-bottom: 25px !important;
}

.m-b-30 {
    margin-bottom: 30px !important;
}

@media (max-width: 767px) {
    .xs-m-b-0 {
        margin-bottom: 0 !important;
    }

    .xs-m-b-5 {
        margin-bottom: 5px !important;
    }

    .xs-m-b-10 {
        margin-bottom: 10px !important;
    }

    .xs-m-b-15 {
        margin-bottom: 15px !important;
    }

    .xs-m-b-20 {
        margin-bottom: 20px !important;
    }

    .xs-m-b-25 {
        margin-bottom: 25px !important;
    }

    .xs-m-b-30 {
        margin-bottom: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-m-b-0 {
        margin-bottom: 0 !important;
    }

    .sm-m-b-5 {
        margin-bottom: 5px !important;
    }

    .sm-m-b-10 {
        margin-bottom: 10px !important;
    }

    .sm-m-b-15 {
        margin-bottom: 15px !important;
    }

    .sm-m-b-20 {
        margin-bottom: 20px !important;
    }

    .sm-m-b-25 {
        margin-bottom: 25px !important;
    }

    .sm-m-b-30 {
        margin-bottom: 30px !important;
    }
}

/* margin-left */
.m-l-0 {
    margin-left: 0 !important;
}

.m-l-5 {
    margin-left: 5px !important;
}

.m-l-10 {
    margin-left: 10px !important;
}

.m-l-15 {
    margin-left: 15px !important;
}

.m-l-20 {
    margin-left: 20px !important;
}

.m-l-25 {
    margin-left: 25px !important;
}

.m-l-30 {
    margin-left: 30px !important;
}

@media (max-width: 767px) {
    .xs-m-l-0 {
        margin-left: 0 !important;
    }

    .xs-m-l-5 {
        margin-left: 5px !important;
    }

    .xs-m-l-10 {
        margin-left: 10px !important;
    }

    .xs-m-l-15 {
        margin-left: 15px !important;
    }

    .xs-m-l-20 {
        margin-left: 20px !important;
    }

    .xs-m-l-25 {
        margin-left: 25px !important;
    }

    .xs-m-l-30 {
        margin-left: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-m-l-0 {
        margin-left: 0 !important;
    }

    .sm-m-l-5 {
        margin-left: 5px !important;
    }

    .sm-m-l-10 {
        margin-left: 10px !important;
    }

    .sm-m-l-15 {
        margin-left: 15px !important;
    }

    .sm-m-l-20 {
        margin-left: 20px !important;
    }

    .sm-m-l-25 {
        margin-left: 25px !important;
    }

    .sm-m-l-30 {
        margin-left: 30px !important;
    }
}

/* margin-right */
.m-r-0 {
    margin-right: 0 !important;
}

.m-r-5 {
    margin-right: 5px !important;
}

.m-r-10 {
    margin-right: 10px !important;
}

.m-r-15 {
    margin-right: 15px !important;
}

.m-r-20 {
    margin-right: 20px !important;
}

.m-r-25 {
    margin-right: 25px !important;
}

.m-r-30 {
    margin-right: 30px !important;
}

@media (max-width: 767px) {
    .xs-m-r-0 {
        margin-right: 0 !important;
    }

    .xs-m-r-5 {
        margin-right: 5px !important;
    }

    .xs-m-r-10 {
        margin-right: 10px !important;
    }

    .xs-m-r-15 {
        margin-right: 15px !important;
    }

    .xs-m-r-20 {
        margin-right: 20px !important;
    }

    .xs-m-r-25 {
        margin-right: 25px !important;
    }

    .xs-m-r-30 {
        margin-right: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-m-r-0 {
        margin-right: 0 !important;
    }

    .sm-m-r-5 {
        margin-right: 5px !important;
    }

    .sm-m-r-10 {
        margin-right: 10px !important;
    }

    .sm-m-r-15 {
        margin-right: 15px !important;
    }

    .sm-m-r-20 {
        margin-right: 20px !important;
    }

    .sm-m-r-25 {
        margin-right: 25px !important;
    }

    .sm-m-r-30 {
        margin-right: 30px !important;
    }
}

/* padding */
.p-0 {
    padding: 0 0 0 0 !important;
}

.p-5 {
    padding: 5px !important;
}

.p-10 {
    padding: 10px !important;
}

.p-15 {
    padding: 15px !important;
}

.p-20 {
    padding: 20px !important;
}

.p-25 {
    padding: 25px !important;
}

.p-30 {
    padding: 30px !important;
}

@media (max-width: 767px) {
    .xs-p-0 {
        padding: 0 0 0 0 !important;
    }

    .xs-p-5 {
        padding: 5px !important;
    }

    .xs-p-10 {
        padding: 10px !important;
    }

    .xs-p-15 {
        padding: 15px !important;
    }

    .xs-p-20 {
        padding: 20px !important;
    }

    .xs-p-25 {
        padding: 25px !important;
    }

    .xs-p-30 {
        padding: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-p-0 {
        padding: 0 0 0 0 !important;
    }

    .sm-p-5 {
        padding: 5px !important;
    }

    .sm-p-10 {
        padding: 10px !important;
    }

    .sm-p-15 {
        padding: 15px !important;
    }

    .sm-p-20 {
        padding: 20px !important;
    }

    .sm-p-25 {
        padding: 25px !important;
    }

    .sm-p-30 {
        padding: 30px !important;
    }
}

/* padding-top */
.p-t-0 {
    padding-top: 0 !important;
}

.p-t-5 {
    padding-top: 5px !important;
}

.p-t-10 {
    padding-top: 10px !important;
}

.p-t-15 {
    padding-top: 15px !important;
}

.p-t-20 {
    padding-top: 20px !important;
}

.p-t-25 {
    padding-top: 25px !important;
}

.p-t-30 {
    padding-top: 30px !important;
}

.p-t-35 {
    padding-top: 35px !important;
}

@media (max-width: 767px) {
    .xs-p-t-0 {
        padding-top: 0 !important;
    }

    .xs-p-t-5 {
        padding-top: 5px !important;
    }

    .xs-p-t-10 {
        padding-top: 10px !important;
    }

    .xs-p-t-15 {
        padding-top: 15px !important;
    }

    .xs-p-t-20 {
        padding-top: 20px !important;
    }

    .xs-p-t-25 {
        padding-top: 25px !important;
    }

    .xs-p-t-30 {
        padding-top: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-p-t-0 {
        padding-top: 0 !important;
    }

    .sm-p-t-5 {
        padding-top: 5px !important;
    }

    .sm-p-t-10 {
        padding-top: 10px !important;
    }

    .sm-p-t-15 {
        padding-top: 15px !important;
    }

    .sm-p-t-20 {
        padding-top: 20px !important;
    }

    .sm-p-t-25 {
        padding-top: 25px !important;
    }

    .sm-p-t-30 {
        padding-top: 30px !important;
    }
}

/* padding-bottom */
.p-b-0 {
    padding-bottom: 0 !important;
}

.p-b-5 {
    padding-bottom: 5px !important;
}

.p-b-10 {
    padding-bottom: 10px !important;
}

.p-b-15 {
    padding-bottom: 15px !important;
}

.p-b-20 {
    padding-bottom: 20px !important;
}

.p-b-25 {
    padding-bottom: 25px !important;
}

.p-b-30 {
    padding-bottom: 30px !important;
}

.p-b-35 {
    padding-bottom: 35px !important;
}

@media (max-width: 767px) {
    .xs-p-b-0 {
        padding-bottom: 0 !important;
    }

    .xs-p-b-5 {
        padding-bottom: 5px !important;
    }

    .xs-p-b-10 {
        padding-bottom: 10px !important;
    }

    .xs-p-b-15 {
        padding-bottom: 15px !important;
    }

    .xs-p-b-20 {
        padding-bottom: 20px !important;
    }

    .xs-p-b-25 {
        padding-bottom: 25px !important;
    }

    .xs-p-b-30 {
        padding-bottom: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-p-b-0 {
        padding-bottom: 0 !important;
    }

    .sm-p-b-5 {
        padding-bottom: 5px !important;
    }

    .sm-p-b-10 {
        padding-bottom: 10px !important;
    }

    .sm-p-b-15 {
        padding-bottom: 15px !important;
    }

    .sm-p-b-20 {
        padding-bottom: 20px !important;
    }

    .sm-p-b-25 {
        padding-bottom: 25px !important;
    }

    .sm-p-b-30 {
        padding-bottom: 30px !important;
    }
}

/* padding-left */
.p-l-0 {
    padding-left: 0 !important;
}

.p-l-5 {
    padding-left: 5px !important;
}

.p-l-10 {
    padding-left: 10px !important;
}

.p-l-15 {
    padding-left: 15px !important;
}

.p-l-20 {
    padding-left: 20px !important;
}

.p-l-25 {
    padding-left: 25px !important;
}

.p-l-30 {
    padding-left: 30px !important;
}

@media (max-width: 767px) {
    .xs-p-l-0 {
        padding-left: 0 !important;
    }

    .xs-p-l-5 {
        padding-left: 5px !important;
    }

    .xs-p-l-10 {
        padding-left: 10px !important;
    }

    .xs-p-l-15 {
        padding-left: 15px !important;
    }

    .xs-p-l-20 {
        padding-left: 20px !important;
    }

    .xs-p-l-25 {
        padding-left: 25px !important;
    }

    .xs-p-l-30 {
        padding-left: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-p-l-0 {
        padding-left: 0 !important;
    }

    .sm-p-l-5 {
        padding-left: 5px !important;
    }

    .sm-p-l-10 {
        padding-left: 10px !important;
    }

    .sm-p-l-15 {
        padding-left: 15px !important;
    }

    .sm-p-l-20 {
        padding-left: 20px !important;
    }

    .sm-p-l-25 {
        padding-left: 25px !important;
    }

    .sm-p-l-30 {
        padding-left: 30px !important;
    }
}

/* padding-right */
.p-r-0 {
    padding-right: 0 !important;
}

.p-r-5 {
    padding-right: 5px !important;
}

.p-r-10 {
    padding-right: 10px !important;
}

.p-r-15 {
    padding-right: 15px !important;
}

.p-r-20 {
    padding-right: 20px !important;
}

.p-r-25 {
    padding-right: 25px !important;
}

.p-r-30 {
    padding-right: 30px !important;
}

@media (max-width: 767px) {
    .xs-p-r-0 {
        padding-right: 0 !important;
    }

    .xs-p-r-5 {
        padding-right: 5px !important;
    }

    .xs-p-r-10 {
        padding-right: 10px !important;
    }

    .xs-p-r-15 {
        padding-right: 15px !important;
    }

    .xs-p-r-20 {
        padding-right: 20px !important;
    }

    .xs-p-r-25 {
        padding-right: 25px !important;
    }

    .xs-p-r-30 {
        padding-right: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-p-r-0 {
        padding-right: 0 !important;
    }

    .sm-p-r-5 {
        padding-right: 5px !important;
    }

    .sm-p-r-10 {
        padding-right: 10px !important;
    }

    .sm-p-r-15 {
        padding-right: 15px !important;
    }

    .sm-p-r-20 {
        padding-right: 20px !important;
    }

    .sm-p-r-25 {
        padding-right: 25px !important;
    }

    .sm-p-r-30 {
        padding-right: 30px !important;
    }
}

/* visible */
.xs-visible-phone {
    display: none !important;
}

.sm-visible-tablet {
    display: none !important;
}

.visible-desktop {
    display: inherit !important;
}

/* .xs  */
@media (max-width: 767px) {
    .visible-desktop {
        display: none !important;
    }

    .xs-visible-phone {
        display: inherit !important;
    }
}

/* .sm  */
@media (min-width: 768px) and (max-width: 991px) {
    .visible-desktop {
        display: none !important;
    }

    .sm-visible-tablet {
        display: inherit !important;
    }
}

/* h1 ~ h5 */
/*h1, h2, h3, h4, h5, h6 {
    font-weight: 100 !important;
}

h1 {
    font-size: 30px !important;
}

h2 {
    font-size: 24px !important;
}

h3 {
    font-size: 16px !important;
}

h4 {
    font-size: 14px !important;
}

h5 {
    font-size: 12px !important;
}

h6 {
    font-size: 10px !important;
}

h3, h4, h5 {
    margin-top: 5px !important;
    font-weight: 600 !important;
}*/

/* Width Percents */
.full-width {
    width: 100% !important;
}

.width-95p {
    width: 95% !important;
}

.width-90p {
    width: 90% !important;
}

.width-85p {
    width: 85% !important;
}

.width-80p {
    width: 80% !important;
}

.width-75p {
    width: 75% !important;
}

.width-70p {
    width: 70% !important;
}

.width-65p {
    width: 65% !important;
}

.width-60p {
    width: 60% !important;
}

.width-55p {
    width: 55% !important;
}

.width-50p {
    width: 50% !important;
}

.width-45p {
    width: 45% !important;
}

.width-41p {
    width: 41% !important;
}

.width-40p {
    width: 40% !important;
}

.width-35p {
    width: 35% !important;
}

.width-30p {
    width: 30% !important;
}

.width-25p {
    width: 25% !important;
}

.width-20p {
    width: 20% !important;
}

.width-15p {
    width: 15% !important;
}

.width-10p {
    width: 10% !important;
}

.width-7p {
    width: 7% !important;
}

.width-5p {
    width: 5% !important;
}

.width-4p {
    width: 4% !important;
}

/* Text Colors */
.text-color-red {
    color: #e74c3c !important;
}

.text-color-sea {
    color: #1abc9c !important;
}

.text-color-aqua {
    color: #27d7e7 !important;
}

.text-color-blue {
    color: #3498db !important;
}

.text-color-grey {
    color: #95a5a6 !important;
}

.text-color-dark {
    color: #555555 !important;
}

.text-color-green {
    color: #72c02c !important;
}

.text-color-brown {
    color: #9c8061 !important;
}

.text-color-light {
    color: #ffffff !important;
}

.text-color-orange {
    color: #e67e22 !important;
}

.text-color-yellow {
    color: #f1c40f !important;
}

.text-color-green1 {
    color: #2ecc71 !important;
}

.text-color-purple {
    color: #9b6bcc !important;
}

.text-color-dark-blue {
    color: #4765a0 !important;
}

.text-color-light-grey {
    color: #585f69 !important;
}

.text-color-light-green {
    color: #79d5b3 !important;
}

.text-color-navy {
    color: #2f2f4f !important;
}

.text-color-aliceblue {
    color: aliceblue !important;
}

/* Background Colors */
.bg-color-dark {
    background-color: #263238 !important;
}

.bg-color-white {
    background-color: #fff !important;
}

.bg-color-sea {
    background-color: #1abc9c !important;
}

.bg-color-red {
    background-color: #e74c3c !important;
}

.bg-color-aqua {
    background-color: #27d7e7 !important;
}

.bg-color-blue {
    background-color: #3498db !important;
}

.bg-color-gray {
    background-color: #95a5a6 !important;
}

.bg-color-light {
    background-color: #f7f7f7 !important;
}

.bg-color-green {
    background-color: #72c02c !important;
}

.bg-color-brown {
    background-color: #9c8061 !important;
}

.bg-color-orange {
    background-color: #e67e22 !important;
}

.bg-color-green1 {
    background-color: #2ecc71 !important;
}

.bg-color-purple {
    background-color: #9b6bcc !important;
}

.bg-color-dark-blue {
    background-color: #4765a0 !important;
}

.bg-color-light-gray {
    background-color: #585f69 !important;
}

.bg-color-light-green {
    background-color: #79d5b3 !important;
}

.bg-color-pink {
    background-color: #ec407a !important;
}

.bg-color-skin {
    background-color: #e8ddcb !important;
}

.bg-color-navajowhite {
    background-color: navajowhite !important;
}

/* hr */
.hr-line-dashed {
    border-top: 1px dashed #e7eaec;
    color: #ffffff;
    background-color: #ffffff;
    height: 1px;
    margin: 20px 0;
}

.hr-line-solid {
    border-bottom: 2px solid #E6E9ED;
    padding: 0 5px 0;
    margin-bottom: 20px;
}

/* Border */
.border-left-right {
    border-left: 1px solid #e7eaec;
    border-right: 1px solid #e7eaec;
    border-top: none;
    border-bottom: none;
}

.border-left {
    border-left: 1px solid #e7eaec;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

.border-right {
    border-left: none;
    border-right: 1px solid #e7eaec;
    border-top: none;
    border-bottom: none;
}

.border-top-bottom {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #e7eaec !important;
    border-bottom: 1px solid #e7eaec !important;
}

.border-bottom {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #e7eaec !important;
}

.border-top {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #e7eaec !important;
    border-bottom: none !important;
}

.border-circle {
    border-radius: 50% !important;
}

.border-solid-3px {
    border: 3px solid !important;
}

/* Button */
.btn-primary {
    background-color: #1ab394 !important;
    border-color: #1ab394 !important;
    color: #FFFFFF !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:hover, .btn-primary.active:focus {
        background-color: #18a689 !important;
        border-color: #18a689 !important;
        color: #FFFFFF !important;
    }

.btn-success {
    background-color: #1c84c6 !important;
    border-color: #1c84c6 !important;
    color: #FFFFFF !important;
}

    .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success, .btn-success:active:focus, .btn-success:active:hover, .btn-success.active:hover, .btn-success.active:focus {
        background-color: #1a7bb9 !important;
        border-color: #1a7bb9 !important;
        color: #FFFFFF !important;
    }

.btn-info {
    background-color: #23c6c8 !important;
    border-color: #23c6c8 !important;
    color: #FFFFFF !important;
}

    .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info, .btn-info:active:focus, .btn-info:active:hover, .btn-info.active:hover, .btn-info.active:focus {
        background-color: #21b9bb !important;
        border-color: #21b9bb !important;
        color: #FFFFFF !important;
    }

.btn-warning {
    background-color: #f8ac59 !important;
    border-color: #f8ac59 !important;
    color: #FFFFFF !important;
}

    .btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning, .btn-warning:active:focus, .btn-warning:active:hover, .btn-warning.active:hover, .btn-warning.active:focus {
        background-color: #f7a54a !important;
        border-color: #f7a54a !important;
        color: #FFFFFF !important;
    }

.btn-danger {
    background-color: #ed5565 !important;
    border-color: #ed5565 !important;
    color: #FFFFFF !important;
}

    .btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger, .btn-danger:active:focus, .btn-danger:active:hover, .btn-danger.active:hover, .btn-danger.active:focus {
        background-color: #ec4758 !important;
        border-color: #ec4758 !important;
        color: #FFFFFF !important;
    }

/* Text Align */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

@media(max-width: 767px) {
    .xs-text-left {
        text-align: left !important;
    }

    .xs-text-right {
        text-align: right !important;
    }

    .xs-text-center {
        text-align: center !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sm-text-left {
        text-align: left !important;
    }

    .sm-text-right {
        text-align: right !important;
    }

    .sm-text-center {
        text-align: center !important;
    }
}

/*  Text  */
.text-5x, .text-4x, .text-5x, .text-2x {
    line-height: 1.25 !important;
}

.text-2x {
    font-size: 2em !important;
}

.text-3x {
    font-size: 3em !important;
}

.text-4x {
    font-size: 4em !important;
}

.text-5x {
    font-size: 5em !important;
}

.text-xx-large {
    font-size: xx-large !important;
}

.text-bold {
    font-weight: 700 !important;
}

.text-overflow {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.text-break-word {
    overflow-wrap: break-word !important;
    word-break: break-all !important;
}

/* div table */
.div-table-border-right {
    border-left: none;
    border-right: 1px solid #e7eaec;
    border-top: none;
    border-bottom: none;
    height: auto;
}

.div-table-hr-line-solid {
    border-bottom: 2px solid #E6E9ED;
    margin: 10px 0 20px 0;
}

.div-table {
    padding: 0;
}

    .div-table input[type="button"],
    .div-table input[type="submit"],
    .div-table input[type="text"] {
        margin: 9px 0;
        width: 100%;
        padding: 6px 12px;
        border-radius: 4px;
        border: 1px solid #ccc;
        font-size: 14px;
    }

    .div-table .div-table-td {
        position: relative;
    }

    .div-table .div-table-td {
        margin-top: -1px;
        border: #ddd 1px solid !important;
    }

        .div-table .div-table-td label {
            font-size: 15px !important;
            margin: 16px 0;
            padding: 0 10px;
        }

        .div-table .div-table-td .div-table-span {
            margin: 10px 0;
        }

    .div-table .clearfix {
        display: table !important;
    }

@media (max-width: 767px) {
    .div-table-border-right {
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: none;
    }

    .div-table .clearfix {
        display: table !important;
    }

    .div-table .div-table-td label {
        text-align: left;
    }

    .div-table .div-table-td .div-table-span {
        margin: 10px 0;
        text-align: left !important;
    }
}

/* table RWD */
.rwd-table {
    border-collapse: collapse;
}

    .rwd-table th, .rwd-table td {
        text-align: left;
    }

@media (max-width: 767px) {
    .rwd-table tr {
        border: 1px solid #c0c0c0;
    }

    .rwd-table th {
        display: none;
    }

    .rwd-table td {
        display: block;
        border: none;
        text-align: left;
        overflow: hidden;
    }

        .rwd-table td:before {
            content: attr(data-th) "：";
            font-weight: bold;
            margin: 0 10px 0 0;
            float: left;
        }
}

@media (max-width: 991px) {
    .rwd-table tr {
        border: 1px solid #c0c0c0;
    }

    .rwd-table th {
        display: none;
    }

    .rwd-table td {
        display: block;
        border: none;
        text-align: left;
        overflow: hidden;
    }

        .rwd-table td:before {
            content: attr(data-th) "：";
            font-weight: bold;
            margin: 0 10px 0 0;
            float: left;
        }
}

/* 列印模式 */
@media print {
    @page {
        size: A3 landscape;
        margin: 5mm 0 1.5mm 0;
    }

    .page-break {
        display: block;
        page-break-before: always;
    }
}

/* spinner (Ajax Block UI載入中的圖示) */
/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-rotating-plane"></div>
 *
 */
.sk-spinner-rotating-plane.sk-spinner {
    width: 30px;
    height: 30px;
    background-color: #1ab394;
    margin: 0 auto;
    -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
    animation: sk-rotatePlane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotatePlane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }

    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

@keyframes sk-rotatePlane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }

    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-double-bounce">
 *      <div class="sk-double-bounce1"></div>
 *      <div class="sk-double-bounce2"></div>
 *    </div>
 *
 */
.sk-spinner-double-bounce.sk-spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 0 auto;
}

.sk-spinner-double-bounce .sk-double-bounce1, .sk-spinner-double-bounce .sk-double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #1ab394;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-doubleBounce 2s infinite ease-in-out;
    animation: sk-doubleBounce 2s infinite ease-in-out;
}

.sk-spinner-double-bounce .sk-double-bounce2 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

@-webkit-keyframes sk-doubleBounce {
    0%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-doubleBounce {
    0%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-wave">
 *      <div class="sk-rect1"></div>
 *      <div class="sk-rect2"></div>
 *      <div class="sk-rect3"></div>
 *      <div class="sk-rect4"></div>
 *      <div class="sk-rect5"></div>
 *    </div>
 *
 */
.sk-spinner-wave.sk-spinner {
    margin: 0 auto;
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 10px;
}

.sk-spinner-wave div {
    background-color: #1ab394;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
    animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
}

.sk-spinner-wave .sk-rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-spinner-wave .sk-rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-spinner-wave .sk-rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-spinner-wave .sk-rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-waveStretchDelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes sk-waveStretchDelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-wandering-cubes">
 *      <div class="sk-cube1"></div>
 *      <div class="sk-cube2"></div>
 *    </div>
 *
 */
.sk-spinner-wandering-cubes.sk-spinner {
    margin: 0 auto;
    width: 32px;
    height: 32px;
    position: relative;
}

.sk-spinner-wandering-cubes .sk-cube1, .sk-spinner-wandering-cubes .sk-cube2 {
    background-color: #1ab394;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-wanderingCubeMove 1.8s infinite ease-in-out;
    animation: sk-wanderingCubeMove 1.8s infinite ease-in-out;
}

.sk-spinner-wandering-cubes .sk-cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

@-webkit-keyframes sk-wanderingCubeMove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
        transform: translateX(42px) rotate(-90deg) scale(0.5);
    }

    50% {
        /* Hack to make FF rotate in the right direction */
        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
        transform: translateX(42px) translateY(42px) rotate(-179deg);
    }

    50.1% {
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
        transform: translateX(42px) translateY(42px) rotate(-180deg);
    }

    75% {
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes sk-wanderingCubeMove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
        transform: translateX(42px) rotate(-90deg) scale(0.5);
    }

    50% {
        /* Hack to make FF rotate in the right direction */
        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
        transform: translateX(42px) translateY(42px) rotate(-179deg);
    }

    50.1% {
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
        transform: translateX(42px) translateY(42px) rotate(-180deg);
    }

    75% {
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-pulse"></div>
 *
 */
.sk-spinner-pulse.sk-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background-color: #1ab394;
    border-radius: 100%;
    -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
    animation: sk-pulseScaleOut 1s infinite ease-in-out;
}

@-webkit-keyframes sk-pulseScaleOut {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes sk-pulseScaleOut {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-chasing-dots">
 *      <div class="sk-dot1"></div>
 *      <div class="sk-dot2"></div>
 *    </div>
 *
 */
.sk-spinner-chasing-dots.sk-spinner {
    margin: 0 auto;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    -webkit-animation: sk-chasingDotsRotate 2s infinite linear;
    animation: sk-chasingDotsRotate 2s infinite linear;
}

.sk-spinner-chasing-dots .sk-dot1, .sk-spinner-chasing-dots .sk-dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: #1ab394;
    border-radius: 100%;
    -webkit-animation: sk-chasingDotsBounce 2s infinite ease-in-out;
    animation: sk-chasingDotsBounce 2s infinite ease-in-out;
}

.sk-spinner-chasing-dots .sk-dot2 {
    top: auto;
    bottom: 0;
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

@-webkit-keyframes sk-chasingDotsRotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes sk-chasingDotsRotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes sk-chasingDotsBounce {
    0%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-chasingDotsBounce {
    0%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-three-bounce">
 *      <div class="sk-bounce1"></div>
 *      <div class="sk-bounce2"></div>
 *      <div class="sk-bounce3"></div>
 *    </div>
 *
 */
.sk-spinner-three-bounce.sk-spinner {
    margin: 0 auto;
    width: 70px;
    text-align: center;
}

.sk-spinner-three-bounce div {
    width: 18px;
    height: 18px;
    background-color: #1ab394;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
    animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.sk-spinner-three-bounce .sk-bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.sk-spinner-three-bounce .sk-bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-threeBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-threeBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-circle">
 *      <div class="sk-circle1 sk-circle"></div>
 *      <div class="sk-circle2 sk-circle"></div>
 *      <div class="sk-circle3 sk-circle"></div>
 *      <div class="sk-circle4 sk-circle"></div>
 *      <div class="sk-circle5 sk-circle"></div>
 *      <div class="sk-circle6 sk-circle"></div>
 *      <div class="sk-circle7 sk-circle"></div>
 *      <div class="sk-circle8 sk-circle"></div>
 *      <div class="sk-circle9 sk-circle"></div>
 *      <div class="sk-circle10 sk-circle"></div>
 *      <div class="sk-circle11 sk-circle"></div>
 *      <div class="sk-circle12 sk-circle"></div>
 *    </div>
 *
 */
.sk-spinner-circle.sk-spinner {
    margin: 0 auto;
    width: 22px;
    height: 22px;
    position: relative;
}

.sk-spinner-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

    .sk-spinner-circle .sk-circle:before {
        content: '';
        display: block;
        margin: 0 auto;
        width: 20%;
        height: 20%;
        background-color: #1ab394;
        border-radius: 100%;
        -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out;
        animation: sk-circleBounceDelay 1.2s infinite ease-in-out;
        /* Prevent first frame from flickering when animation starts */
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

.sk-spinner-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-spinner-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-spinner-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-spinner-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-spinner-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-spinner-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-spinner-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-spinner-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-spinner-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-spinner-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-spinner-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-spinner-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-spinner-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-spinner-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-spinner-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-spinner-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-spinner-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-spinner-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-spinner-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-spinner-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-spinner-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-spinner-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-cube-grid">
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *      <div class="sk-cube"></div>
 *    </div>
 *
 */
.sk-spinner-cube-grid {
    /*
   * Spinner positions
   * 1 2 3
   * 4 5 6
   * 7 8 9
   */
}

    .sk-spinner-cube-grid.sk-spinner {
        width: 30px;
        height: 30px;
        margin: 0 auto;
    }

    .sk-spinner-cube-grid .sk-cube {
        width: 33%;
        height: 33%;
        background-color: #1ab394;
        float: left;
        -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
        animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    }

        .sk-spinner-cube-grid .sk-cube:nth-child(1) {
            -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(2) {
            -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(3) {
            -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(4) {
            -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(5) {
            -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(6) {
            -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(7) {
            -webkit-animation-delay: 0s;
            animation-delay: 0s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(8) {
            -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
        }

        .sk-spinner-cube-grid .sk-cube:nth-child(9) {
            -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
        }

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-wordpress">
 *      <span class="sk-inner-circle"></span>
 *    </div>
 *
 */
.sk-spinner-wordpress.sk-spinner {
    background-color: #1ab394;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    position: relative;
    margin: 0 auto;
    -webkit-animation: sk-innerCircle 1s linear infinite;
    animation: sk-innerCircle 1s linear infinite;
}

.sk-spinner-wordpress .sk-inner-circle {
    display: block;
    background-color: #fff;
    width: 8px;
    height: 8px;
    position: absolute;
    border-radius: 8px;
    top: 5px;
    left: 5px;
}

@-webkit-keyframes sk-innerCircle {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes sk-innerCircle {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*
 *  Usage:
 *
 *    <div class="sk-spinner sk-spinner-fading-circle">
 *      <div class="sk-circle1 sk-circle"></div>
 *      <div class="sk-circle2 sk-circle"></div>
 *      <div class="sk-circle3 sk-circle"></div>
 *      <div class="sk-circle4 sk-circle"></div>
 *      <div class="sk-circle5 sk-circle"></div>
 *      <div class="sk-circle6 sk-circle"></div>
 *      <div class="sk-circle7 sk-circle"></div>
 *      <div class="sk-circle8 sk-circle"></div>
 *      <div class="sk-circle9 sk-circle"></div>
 *      <div class="sk-circle10 sk-circle"></div>
 *      <div class="sk-circle11 sk-circle"></div>
 *      <div class="sk-circle12 sk-circle"></div>
 *    </div>
 *
 */
.sk-spinner-fading-circle.sk-spinner {
    margin: 0 auto;
    width: 22px;
    height: 22px;
    position: relative;
}

.sk-spinner-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

    .sk-spinner-fading-circle .sk-circle:before {
        content: '';
        display: block;
        margin: 0 auto;
        width: 18%;
        height: 18%;
        background-color: #1ab394;
        border-radius: 100%;
        -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out;
        animation: sk-circleFadeDelay 1.2s infinite ease-in-out;
        /* Prevent first frame from flickering when animation starts */
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

.sk-spinner-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-spinner-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-spinner-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-spinner-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-spinner-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-spinner-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-spinner-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-spinner-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-spinner-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-spinner-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-spinner-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-spinner-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-spinner-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-spinner-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-spinner-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-spinner-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-spinner-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-spinner-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-spinner-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-spinner-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-spinner-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-spinner-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

/* ./ End spinner (Ajax Block UI載入中的圖示) */

/* ./ Page Style */

.pagination.pagination-v2 li a {
    padding: 6px 12px;
    margin: 0 2px;
    min-width: 35px;
    border: 1px solid #e5e6e7;
}

.pagination.pagination-v2 li a,
.pagination.pagination-v2 li span {
    background: #f7f7f7;
}

.pagination.pagination-v2 > li > a:hover,
.pagination.pagination-v2 > .active > a,
.pagination.pagination-v2 > .active > span,
.pagination.pagination-v2 > .active > a:hover,
.pagination.pagination-v2 > .active > span:hover,
.pagination.pagination-v2 > .active > a:focus,
.pagination.pagination-v2 > .active > span:focus {
    border-color: #1ab394;
    background-color: #1ab394;
    color: #FFF;
}

.pagination.pagination-v2 > li.disabled > a:hover {
    background: #f7f7f7;
    border-color: #e5e6e7;
    color: inherit;
}

/* ./ End Page Style */

/* ./ Bootbox Style */

.modal-dialog {
}

.modal-content {
}

.modal-header {
    padding: 15px !important;
    border-bottom: 1px solid #e5e5e5 !important;
    display: block !important;
}

.modal-title {
    color: #666666 !important;
}

.modal-body {
    padding: 15px;
}

.bootbox-body {
    color: #666666;
}

/* ./ End Bootbox Style */

/* ./ Login Style */

.login_wrapper {
    max-width: 450px;
}

/* ./ End Login Style */

/* ./ Mobile Style */

html {
    font-size: 16.4px;
}

body {
    font-family: monospace !important;
    /*font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif !important;*/
    font-weight: bold !important;
    background-color: #fff5ee !important;
    color: #212529 !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
}

a {
    color: inherit !important;
    text-decoration: none !important;
}

.height-150px {
    height: 150px !important;
}

.display-initial {
    display: initial !important;
}

.display-block {
    display: block !important;
}

table {
    border: 1px solid black !important;
    width: 100% !important;
}

tbody {
    vertical-align: middle !important;
}

th {
    height: 40px !important;
    text-align: center !important;
}

th, td {
    border: 1px solid #ddd !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.btn.btn-radio {
    opacity: 0 !important;
}

    .btn.btn-radio + label {
        width: 100% !important;
        border-radius: 5px !important;
        border: 2px solid #40210f !important;
        color: #40210f !important;
        font-weight: 700 !important;
        display: inline-block !important;
        text-align: center !important;
        background: #fbffe3 !important;
        font-size: 1.5em !important;
    }

    .btn.btn-radio:checked + label {
        background: #40210f !important;
        border: 2px solid transparent !important;
        color: #fff !important;
        outline: 0 !important;
    }

.login-style {
    padding: 0 0 22px !important;
    margin: 100px 25px 0 !important;
    text-align: center !important;
    font-size: xx-large !important;
    background-color: #cccccc !important;
    color: #212529 !important;
}

.logoSize {
    width: 145px !important;
    height: 45px !important;
    position: relative !important;
    top: -5px !important;
}

.orderTimeLimit {
    width: 100% !important;
    position: relative !important;
    text-align: center !important;
    background: #e8ddcb !important;
    padding-top: 70px !important;
}

.navbar-top-height {
    height: 66px !important;
}

.navbar-brand {
    color: #fff !important;
    line-height: inherit !important;
    font-weight: bold !important;
}

.navbar-icon {
    font-size: xx-large !important;
    margin: 10px 30px !important;
}

@media (max-width: 359px) {
    .navbar-icon {
        font-size: xx-large !important;
        margin: 10px 10px !important;
    }
}

@media (min-width: 360px) and (max-width: 767px) {
    .navbar-icon {
        font-size: xx-large !important;
        margin: 10px 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-icon {
        font-size: xx-large !important;
        margin: 10px 25px !important;
    }
}

.pad-cart-type {
    position: relative !important;
    top: -12px !important;
    left: -5px !important;
    font-size: 50% !important;
}

.long-text-auto-cut {
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
}

.mainClass {
    width: 100% !important;
    position: relative !important;
    text-align: center !important;
    background: white !important;
}

.subClass {
    width: 100% !important;
    position: relative !important;
    text-align: center !important;
    background: white !important;
}

.root-active {
    background-color: sienna !important;
    color: #edebe6 !important;
}

.sub-active {
    background-color: peru !important;
    color: #edebe6 !important;
}

#mainClass .slickBox,
#subClass .slickBox {
    line-height: 50px !important;
    height: 50px !important;
}

.slick-slider .slick-list, .slick-slider .slick-track {
    border: none !important;
}

.slick-item {
    border-right: 2px solid #9c8061 !important;
}

    .slick-item div {
        border-top: 1px solid #9c8061 !important;
        border-left: 1px solid #9c8061 !important;
        border-bottom: 1px solid #9c8061 !important;
    }

.swiper {
    height: 60px !important;
}

.swiper-border {
    line-height: 50px !important;
    height: 50px !important;
    border-top: 2px solid #9c8061 !important;
    border-left: 2px solid #9c8061 !important;
    border-bottom: 2px solid #9c8061 !important;
}

.swiper-scrollbar-drag {
    background-color: red !important;
}

.slick-dots {
    float: left !important;
    background-color: white !important;
    font-size: 0 !important;
}

    .slick-dots li {
        margin: 0 !important;
        width: 25px !important;
    }

        .slick-dots li.slick-active button:before {
            font-size: small !important;
        }

        .slick-dots li button {
            position: absolute !important;
            top: 0 !important;
        }

            .slick-dots li button:before {
                transform: scale(0.5) !important;
                font-size: x-small !important;
            }

.slick-dotted.slick-slider {
    margin-bottom: 20px !important;
}

.productList {
    margin: 0 0 70px 0 !important;
    padding: 0 0 22px !important;
    position: relative !important;
    z-index: 0 !important;
    -webkit-transform: translate3d(0,0,0);
}

.productTextList {
    margin: 0 0 70px 0 !important;
    padding: 0 0 22px !important;
    position: relative !important;
    z-index: 0 !important;
    -webkit-transform: translate3d(0,0,0);
}

.card-body {
    padding: 5px 5px 15px !important;
}

.card-body-span {
    position: absolute !important;
    right: 10px !important;
    color: red !important;
}

.product-detail-style {
    padding: 0 0 0 0 !important;
    margin: 0 -5px !important;
}

.select-style {
    display: block;
    width: 100%;
    padding: 6px 6px;
    line-height: 1.5;
    color: #6e7072;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.btn-padcart-style {
    display: inline-block;
    background-color: rgb(159, 146, 138);
    border: 1px solid rgb(159, 146, 138);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.fancybox-skin {
    padding: 5px !important;
}

.thead-border-bottom-style {
    border-bottom: 2px black solid !important;
}

.tbody-border-bottom-style {
    border-bottom: 2px #ddd dashed !important;
}

.tfoot-border-top-style {
    border-top: 2px black solid !important;
}

/* ./ End Mobile Style */
