@charset "UTF-8";

:root {
    --dp-mainblue: #238BCD;
    --dp-mainblue-dark: #174c94;
    --dp-text-black: #404040;
    --dp-text-gray: #828282;
    --dp-text-white: #ffffff;
    --dp-page-bg: #F6F6F7;
    --dp-body-background: #ffffff;
    --dp-white-smoke: #eaeaea;
    --dp-card-defaultbg: #f8f9fa;
}

/* variables */
/* mixins */
/*@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);*/
html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 64px;
    font-size: 1.2rem;
    font-family: "Noto Sans JP", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", 微軟正黑體, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: var(--dp-text-black) !important;
    overflow-x: hidden;
    overflow-y: scroll;
}

.color-mainblue {
    color: var(--dp-mainblue);
}

/* To cover default & BS */
a:focus:not(.btn),
a:hover:not(.btn) {
    color: unset;
    text-decoration: none !important;
}

a {
    color: unset !important;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn.focus,
.btn:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.container {
    position: unset;
}

section.section-only>.container {
    min-height: 700px;
}

.container-narrow {
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .container-narrow {
        width: 100%;
    }
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.progress {
    height: 20px;
    border-radius: 10px;
    font-weight: bold;
}

/* Custom utilities */
.font-12 {
    font-size: 12px;
}

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

.font-16 {
    font-size: 16px;
}

.font-18 {
    font-size: 18px;
}

.font-20 {
    font-size: 20px;
}

.font-24 {
    font-size: 24px;
}

.font-28 {
    font-size: 28px;
}

.font-32 {
    font-size: 32px;
}

.font-60 {
    font-size: 60px;
}

.text-dpBlue {
    color: var(--dp-mainblue-dark);
}

.text-red {
    color: #F44336;
}

.text-light-gray {
    color: #E0E0E0;
}

.text-black {
    color: #212121;
}

.border-dpBlue {
    border: 1px solid var(--dp-mainblue-dark) !important;
}

.bg-dpBlue {
    background-color: var(--dp-mainblue-dark) !important;
}

.bg-lightGray {
    background-color: #F5F5F5 !important;
}

.bg-transparent {
    background-color: transparent;
    border: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.px-30 {
    padding-right: 30px;
    padding-left: 30px;
}

.nowrap {
    white-space: nowrap;
}

/* button */
.btn-blue {
    color: #ffffff !important;
    border-width: 1px;
    border-style: solid;
    background-color: var(--dp-mainblue-dark);
    border-color: var(--dp-mainblue-dark);
    border-radius: 100px !important;
    padding: 6px 20px;
}

.btn-blue:hover {
    color: #ffffff;
    background-color: #1b58aa;
    border-color: #1b58aa;
}

.btn-blue:active,
.btn-blue.active,
.btn-blue:focus,
.btn-blue:active:focus {
    color: #ffffff;
    background-color: #1b58aa;
    border-color: #1b58aa;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-light {
    color: #212121 !important;
    border-width: 1px;
    border-style: solid;
    background-color: #ffffff;
    border-color: #ffffff;
    border-radius: 100px !important;
    padding: 6px 20px;
}

.btn-light:hover {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

.btn-light:active,
.btn-light.active,
.btn-light:focus,
.btn-light:active:focus {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-gray {
    color: #ffffff;
    border-width: 1px;
    border-style: solid;
    background-color: #9E9E9E;
    border-color: #9E9E9E;
    border-radius: 100px !important;
    padding: 6px 20px;
}

.btn-gray:hover {
    color: #ffffff;
    background-color: #BDBDBD;
    border-color: #BDBDBD;
}

.btn-gray:active,
.btn-gray.active,
.btn-gray:focus,
.btn-gray:active:focus {
    color: #ffffff;
    background-color: #BDBDBD;
    border-color: #BDBDBD;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-outline-blue {
    color: var(--dp-mainblue-dark);
    border-width: 1px;
    border-style: solid;
    background-color: transparent;
    border-color: var(--dp-mainblue-dark);
    border-radius: 100px !important;
    padding: 6px 20px;
}

.btn-outline-blue:hover {
    background-color: var(--dp-mainblue-dark);
    color: #ffffff;
}

.btn-outline-blue:active,
.btn-outline-blue.active,
.btn-outline-blue:focus,
.btn-outline-blue:active:focus {
    background-color: #1b58aa;
    border-color: #1b58aa;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-append {
    color: #212121;
    border-width: 1px;
    border-style: solid;
    background-color: #E0E0E0;
    border-color: #E0E0E0;
    padding: 6px 20px;
}

.btn-append:hover {
    color: #212121;
    background-color: #EEEEEE;
    border-color: #EEEEEE;
}

.btn-append:active,
.btn-append.active,
.btn-append:focus,
.btn-append:active:focus {
    color: #212121;
    background-color: #EEEEEE;
    border-color: #EEEEEE;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.minus-btn,
.plus-btn {
    background-color: rgba(255, 255, 255, 0);
}

.home-btn {
    background-color: var(--dp-egyptian-blue);
    color: var(--dp-white-smoke);
}

.home-btn:visited {
    background-color: var(--dp-white-smoke) !important;
    color: var(--dp-egyptian-blue) !important;
}

/* radio label button
 *
 * <div class="btn-group radio-label" data-toggle="buttons">
 *   <label class="btn btn-radio-label">
 *     <input type="radio">text1
 *   </label>
 *   <label class="btn btn-radio-label">
 *     <input type="radio">text2
 *   </label>
 * </div>
 */
.btn-group.radio-label {
    padding: 0;
    display: inline-table;
}

.btn-group.radio-label label.btn.btn-radio-label {
    color: #9E9E9E;
    border: 1px solid #ced4da;
    background-color: #EEEEEE;
    padding: 6px 20px;
}

.btn-group.radio-label label.btn.btn-radio-label:active,
.btn-group.radio-label label.btn.btn-radio-label.active,
.btn-group.radio-label label.btn.btn-radio-label:focus,
.btn-group.radio-label label.btn.btn-radio-label:active:focus {
    background-color: #ffffff;
    color: #212121;
}

.btn-group.radio-label label.btn.btn-radio-label input[type=checkbox],
.btn-group.radio-label label.btn.btn-radio-label input[type=radio] {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

/* input number */
input[type=number].no-spinner::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    -webkit-box-shadow: 0 2px 3px -1px rgba(33, 33, 33, 0.2);
    box-shadow: 0 2px 3px -1px rgba(33, 33, 33, 0.2);
    background-color: #ffffff;
}

@media (max-width: 992px) {
    header #navbar {
        padding-left: 10px;
    }
}

header .navbar .navbar-nav .nav-link,
header .navbar .navbar-nav .nav-link:hover {
    color: #212121;
}

header .navbar.navbar-light .navbar-toggler {
    border: none;
}

header .navbar.navbar-light .navbar-toggler:focus {
    outline: none;
}

header .navbar.navbar-light .navbar-toggle-icon {
    width: 25px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    cursor: pointer;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

header .navbar.navbar-light .navbar-toggle-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    background-color: var(--dp-mainblue-dark);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

header .navbar.navbar-light .navbar-toggle-icon span:nth-child(1) {
    top: 2px;
}

header .navbar.navbar-light .navbar-toggle-icon span:nth-child(2),
header .navbar.navbar-light .navbar-toggle-icon span:nth-child(3) {
    top: 10px;
}

header .navbar.navbar-light .navbar-toggle-icon span:nth-child(4) {
    top: 18px;
}

header .navbar.navbar-light .navbar-toggle-icon.open span:nth-child(1) {
    top: 11px;
    width: 0%;
    left: 50%;
}

header .navbar.navbar-light .navbar-toggle-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

header .navbar.navbar-light .navbar-toggle-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

header .navbar.navbar-light .navbar-toggle-icon.open span:nth-child(4) {
    top: 11px;
    width: 0%;
    left: 50%;
}

header .logo {
    height: 48px;
}

@media (max-width: 1200px) {
    header .logo {
        height: 37px;
        margin-top: 4px;
        margin-bottom: 4px;
    }
}

@media (max-width: 1200px) {
    header ul.navbar-nav {
        text-align: center;
    }
}

header ul.navbar-nav .nav-link {
    padding: 10px 15px;
    position: relative;
    font-size: 14px;
}

header ul.navbar-nav .nav-link span {
    padding: 20px 15px;
    font-weight: bold;
}

@media (max-width: 1200px) {
    header ul.navbar-nav .nav-link {
        padding: 10px 0px;
    }

    header ul.navbar-nav .nav-link span {
        padding: 20px 15px;
    }
}

@media (max-width: 992px) {
    header ul.navbar-nav .nav-link {
        padding: 10px 0px;
    }

    header ul.navbar-nav .nav-link span {
        padding: 10px 0px;
    }
}

header ul.navbar-nav .dropdown-item {
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 1200px) {
    header ul.navbar-nav .dropdown-item {
        text-align: center;
    }
}

header ul.navbar-nav .dropdown-item:hover,
header ul.navbar-nav .dropdown-item.active,
header ul.navbar-nav .dropdown-item:active {
    background-color: #E0E0E0;
    color: #212121;
}

header .shopping span {
    position: relative;
    color: #212121;
}

@media (max-width: 1200px) {
    header .shopping span {
        float: right;
    }
}

.counter {
    border-radius: 50%;
    max-width: 5em;
    height: 1.5em;
    background: #f44336;
    border: 3px solid #f44336;
    color: #000;
    text-align: center;
    font: 10px Arial, sans-serif;
    position: relative;
    top: -15px;
    right: 10px;
    padding: 0 1.5px;
}

/* Header Dropdown Menu */
header .navbar li .dropdown-menu {
    left: unset;
    border: none;
    z-index: 998;
    -webkit-box-shadow: 0 2px 5px -1px rgba(33, 33, 33, 0.4);
    box-shadow: 0 2px 5px -1px rgba(33, 33, 33, 0.4);
}

@media (max-width: 1200px) {
    header .navbar li .dropdown-menu {
        width: 100%;
    }
}

header .navbar li .dropdown-menu .dropdown-toggle-split {
    width: 35px;
    outline: none;
    text-align: center;
}

header .navbar li .dropdown-menu.dropdown-menu-sub {
    position: absolute;
    top: -8px;
    left: 312px;
}

@media (max-width: 1199px) {
    header .navbar li .dropdown-menu.dropdown-menu-sub {
        top: 35px;
        left: -2px;
    }
}

header .navbar select.form-control {
    width: 90px;
}

.btn-group>a.dropdown-item::after {
    content: '';
    width: 1.5px;
    height: 20px;
    background-color: #F5F5F5;
    display: inline-block;
    position: absolute;
    right: 31.5px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: black;
}

/* Header Menu Hover Animation  */
.navbar li a span.menu::before,
.navbar li a span.menu::after {
    width: 100%;
    height: 100%;
    z-index: 3;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    border-bottom: 2px solid var(--dp-mainblue-dark);
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

.navbar li:hover a span.menu::before,
.navbar li:hover a span.menu::before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

/* Search */
.expanding-search-form {
    padding: 1px;
}

.expanding-search-form .form-group-sm {
    background-color: #F5F5F5;
    border-radius: 3px;
}

@media (max-width: 1200px) {
    .expanding-search-form .form-group-sm {
        margin: 5px auto;
        min-width: 190px;
    }
}

.expanding-search-form select,
.expanding-search-form .nav-search {
    border: 0;
    background-color: #F5F5F5;
    width: 120px;
}

.expanding-search-form select:focus,
.expanding-search-form .nav-search:focus {
    background-color: #F5F5F5;
}

@media (max-width: 1200px) {

    .expanding-search-form select,
    .expanding-search-form .nav-search {
        width: auto;
        display: inline-block;
    }
}

/* Footer */
footer {
    font-size: 14px;
    width: 100%;
    background-color: var(--dp-mainblue-dark);
    padding: 40px 0 20px 0;
    color: #ffffff !important;
    position: absolute;
    bottom: 0;
}

footer li a {
    color: #ffffff !important;
}

footer .footer-content {
    padding-left: 15px;
    font-size: 12px;
}

@media (max-width: 992px) {
    footer .footer-content {
        text-align: center;
    }

    footer .footer-content ul {
        display: inline-block;
    }

    footer .footer-content ul li {
        display: inline-block;
        margin: 0 10px;
    }
}

footer .footer-content form {
    display: inline-block;
}

footer .footer-content form .language {
    display: inline-block;
    margin: 10px 10px 5px 0;
}

footer .footer-content form .language select {
    font-size: 12px;
}

footer .footer-content li {
    line-height: 20px;
}

@media (max-width: 992px) {
    footer .footer-menus {
        padding: 0;
        display: none;
    }
}

footer .footer-menus .footer-menu {
    display: block;
    float: left;
    padding: 0 10px 20px 10px;
    margin-right: 15px;
    line-height: 24px;
}

@media (max-width: 992px) {
    footer .footer-menus .footer-menu {
        display: none;
    }
}

footer .footer-menus .footer-menu li {
    font-size: 12px;
}

footer .copyright {
    font-size: 12px;
    text-align: center;
}

#useCookie {
    background-color: var(--dp-mainblue-dark);
    position: fixed;
    bottom: 0%;
    width: 110%;
    font-size: x-large;
    color: var(--dp-text-white);
    border-top: white 3px solid;
}

/* Product */
.main-product-trigger {
    font-size: 16px;
    position: relative;
    margin: 0 25px;
}

.main-product-trigger:hover {
    color: var(--dp-mainblue-dark);
}

.main-product-trigger:hover img {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-transition: 0.5s linear;
    transition: 0.5s linear;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

.product-cate {
    background-color: #E0E0E0;
    position: absolute;
    width: 90%;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: -245px;
    z-index: -1;
    padding: 155px 0 30px 0;
}

.product-cate .product-cate-card {
    width: 110%;
    background-color: #FAFAFA;
    position: relative;
    left: -5%;
    color: #212121;
    padding: 25px 20px 20px 20px;
    -webkit-box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    min-height: 220px;
}

.product-trigger {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-trigger:hover {
    color: #616161;
}

.product-item {
    padding: 11px;
    border-radius: 3px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 1px 2px rgba(15, 51, 99, 0.3);
    box-shadow: 0 1px 2px rgba(15, 51, 99, 0.3);
}

.product-item:hover {
    -webkit-box-shadow: 0 3px 5px -3px rgba(15, 51, 99, 0.2), 0 5px 15px -2px rgba(15, 51, 99, 0.2);
    box-shadow: 0 3px 5px -3px rgba(15, 51, 99, 0.2), 0 5px 15px -2px rgba(15, 51, 99, 0.2);
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

.product-item .img-box {
    min-height: 140px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    box-align: center;
    flex-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 992px) {
    .product-item .img-box {
        min-height: 115px;
    }
}

.product-item .img-box img {
    width: 85%;
}

@media (max-width: 992px) {
    .product-item .img-box img {
        width: 65%;
    }
}

.title {
    margin-bottom: 5px;
}

.text-ellipsis {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    min-height: 34px;
    max-height: 34px;
}

/* Card */
.card .card-header {
    color: #212121;
}

.card i.fa-angle-down,
.card i.fa-angle-up {
    float: right;
    vertical-align: middle;
    height: 24px;
    margin-top: 5px;
}

.card .card-body {
    background-color: #F5F5F5;
}


@media (min-width: 1200px) {
    .category-card:hover img {
        transform: scale(1.1);
        transition: 0.1s linear;
        transform-origin: 50% 50%;
    }
}

/* Step bar */
.step-bar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: table;
    table-layout: fixed;
    width: 100%;
    color: #8c8c8c;
}

.step-bar>li {
    position: relative;
    display: table-cell;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.step-bar>li:before {
    content: attr(data-step);
    display: block;
    margin: 0 auto;
    background: #E0E0E0;
    width: 3em;
    height: 3em;
    text-align: center;
    margin-bottom: 0.25em;
    line-height: 3em;
    border-radius: 100%;
    position: relative;
    z-index: 100;
}

.step-bar>li:after {
    content: '';
    position: absolute;
    display: block;
    background: #E0E0E0;
    width: 100%;
    height: 0.5em;
    top: 1.25em;
    left: 50%;
    margin-left: 1.5em;
    z-index: -1;
}

.step-bar>li:last-child:after {
    display: none;
}

.step-bar>li.is-complete {
    color: #0f3363;
}

.step-bar>li.is-complete:before,
.step-bar>li.is-complete:after {
    color: #FFF;
    background: #0f3363;
}

.step-bar>li.is-active {
    color: var(--dp-mainblue-dark);
}

.step-bar>li.is-active:before {
    color: #FFF;
    background: var(--dp-mainblue-dark);
    -webkit-box-shadow: 0 1px 5px 1px rgba(21, 75, 148, 0.5);
    box-shadow: 0 1px 5px 1px rgba(21, 75, 148, 0.5);
}

.step-bar-last:after {
    display: none !important;
}

/* Tab */
ul.nav-tabs li.nav-item {
    margin-right: 1px;
    margin-left: 1px;
}

ul.nav-tabs li.nav-item a.nav-link {
    font-size: 14px;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-bottom: none;
    color: #9E9E9E;
    font-weight: bold;
}

ul.nav-tabs li.nav-item a.nav-link.active {
    background-color: #ffffff;
    color: var(--dp-mainblue-dark);
    border-top: 3px solid var(--dp-mainblue-dark);
}

/* Section */
section {
    padding: 50px 0 50px 0;
    position: relative;
}

section.section-first {
    padding: 70px 0 50px 0;
}

section.section-last {
    padding: 50px 0 80px 0;
}

section.section-only {
    padding: 70px 0 80px 0;
}

section.nopadding {
    padding: 0;
}

.section-title {
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    margin-left: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    border-bottom: 3px solid var(--dp-mainblue-dark);
    position: absolute;
    bottom: -8px;
    left: 0;
}

/* News */
.news-block {
    background-color: var(--dp-body-background);
    color: var(--dp-text-black);
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 150px;
}

.news-block .read-more {
    color: var(--dp-mainblue-dark);
}

.news-block .news-info {
    min-height: 50px;
    font-weight: bold;
    padding: 0px 15px;
}

.news-block .news-info .date {
    font-size: 16px;
    font-style: italic;
    line-height: 20px;
}

.news-block .img-mask {
    overflow: hidden;
    position: relative;
}

.news-block .img-mask .blue-mask {
    background-color: var(--dp-mainblue-dark);
    position: absolute;
    z-index: 900;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
}

.news-block:hover {
    color: var(--dp-mainblue-dark);
    background-color: var(--dp-page-bg);
    transition: 0.1s linear;
}

.card-corner {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 3px var(--dp-white-smoke);
}

@media (min-width: 992px) {
    .news-block:hover img {
        transform: scale(1.1);
        transition: 0.1s linear;
        transform-origin: 50% 100%;
    }
}

.news-block:hover .blue-mask {
    opacity: .75;
    -webkit-transition: 0.5s linear;
    transition: 0.5s linear;
}

.news-block .fa-angle-double-right {
    display: inline-block;
    margin-left: 15px;
}

.inner-container {
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .inner-container {
        width: 95%;
    }
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    padding-left: 30px;
    line-height: 28px;
}

.content {
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
    padding: 15px;
}

/* Purchase */
.purchase {
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #E0E0E0;
    text-align: center;
}

.purchase .quantity img.minus-btn,
.purchase .quantity img.plus-btn {
    width: 10px;
}

/* Add to cart animation */
.add-cart-feedback {
    position: fixed;
    width: 240px;
    min-height: 180px;
    top: 37%;
    left: 50%;
    margin-left: -120px;
    z-index: 990;
    text-align: center;
    background-color: #ffffff;
    border-radius: 3px;
    padding: 30px 20px;
    -webkit-box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.3);
}

.add-cart-feedback .add-cart-success {
    font-size: 80px;
    -webkit-filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
    margin-bottom: 10px;
}

.add-cart-feedback .add-cart-error {
    font-size: 80px;
    -webkit-filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
    margin-bottom: 10px;
}

.error-feedback {
    position: fixed;
    width: 240px;
    min-height: 180px;
    top: 37%;
    left: 50%;
    margin-left: -120px;
    z-index: 990;
    text-align: center;
    background-color: #ffffff;
    border-radius: 3px;
    padding: 30px 20px;
    -webkit-box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.3);
}

.error-feedback .error-style {
    font-size: 80px;
    -webkit-filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
    margin-bottom: 10px;
}

.slide-top {
    -webkit-animation: slide-top .8s;
    animation: slide-top .8s;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes slide-top {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        -webkit-transform: translateY(-120px);
        transform: translateY(-120px);
    }

    60% {
        -webkit-transform: translateY(-90px);
        transform: translateY(-90px);
    }

    100% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
        opacity: .95;
    }
}

@keyframes slide-top {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        -webkit-transform: translateY(-120px);
        transform: translateY(-120px);
    }

    60% {
        -webkit-transform: translateY(-90px);
        transform: translateY(-90px);
    }

    100% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
        opacity: .95;
    }
}

/* Loader */
#loader {
    width: 100%;
    height: 100%;
    background-color: rgba(33, 33, 33, 0.8);
    z-index: 9999;
    position: fixed;
    top: 0;
    display: none;
}

#loader .loading-spinner {
    width: 60px;
    height: 60px;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 100px;
    right: 0;
}

#loader .loading-spinner .double-bounce1,
#loader .loading-spinner .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: bounce 2.0s infinite ease-in-out;
    animation: bounce 2.0s infinite ease-in-out;
}

#loader .loading-spinner .double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes bounce {

    0%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* Iframe */
.scroll-wrapper {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
}

.scroll-wrapper #mainframe {
    width: 1px;
    min-width: 100%;
    width: 100%;
}

/* Facebook plugin */
.fb-box {
    display: block;
    float: left;
    width: 280px;
    z-index: 999;
    position: fixed;
    left: -280px;
    top: 20%;
    -webkit-box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.5);
}

.fb-box .fb-sidebar {
    background: url("/assets/img/facebook_leftsidebar.svg") no-repeat;
    width: 35px;
    height: 100px;
    position: absolute;
    right: -35px;
}

@media (max-width: 992px) {
    .fb-box .fb-sidebar {
        width: 30px;
        right: -30px;
    }
}

/* Google reCAPTCHA */
.g-recaptcha {
    float: right;
}

@media (max-width: 320px) {
    .g-recaptcha {
        float: none;
        -webkit-transform: scale(0.85);
        transform: scale(0.85);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
    }
}

.pagination .page-item.active .page-link {
    background-color: var(--dp-mainblue-dark);
    color: white;
}

.pagination a {
    color: black;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

/* datable head 置中 */
table>thead>tr>th.sorting_disabled,
table>thead>tr>th.sorting {
    padding-right: 20px;
    padding-left: 20px;
}

/* LinkedIn 側邊按鈕 */
.linkedin-sidebar {
    cursor: pointer;
    display: block;
    float: left;
    position: fixed;
    width: 35px;
    height: 35px;
    background-color: transparent;
    top: calc(20% + 100px);
    z-index: 997;
}

.linkedin-sidebar i {
    color: #0a66c2;
    font-size: 2.5em;
    height: 35px;
}

.linkedin-sidebar .icon_div {
    z-index: 998;
    position: absolute;
    left: -3px;
}

.linkedin-sidebar .icon_div>svg {
    width: 100% !important;
    height: 100% !important;
}

.linkedin-sidebar .linkedin_background {
    background-color: #ffffff;
    position: absolute;
    top: 6px;
    height: 29px;
    width: 29px;
    z-index: 997;
}

@media(max-width:992px) {
    .linkedin-sidebar {
        width: 30px;
        height: 30px;
        top: calc(20% + 90px);
    }

    .linkedin-sidebar i {
        color: #0a66c2;
        font-size: 2.2em;
        height: 30px;
    }
}

header .cart span {
    position: relative;
    color: #212121
}

header .cart span .counter {
    background-color: #f44336;
    color: #fff;
    max-width: 5em;
    min-width: 1.5em;
    height: 1.5em;
    border-radius: 1em;
    font-size: 11px;
    line-height: 16px;
    position: absolute;
    top: -8px;
    right: -5px
}

.renderHumanFileSize {
    white-space: nowrap;
}

[data-f-id=pbf] {
    display: none;
}

.max-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
}

.link {
    color: var(--dp-mainblue);
    text-decoration: underline;
    cursor: pointer;
}

.text-m {
    font-size: medium !important;
}

.text-s {
    font-size: small !important;
}

.text-l {
    font-size: large !important;
}

.text-xl {
    font-size: x-large !important;
}

.switch {
    font-size: 1rem;
    position: relative;
}

.switch input {
    position: absolute;
    height: 1px;
    width: 1px;
    background: none;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    padding: 0;
}

.switch input+label {
    position: relative;
    min-width: calc(calc(2.375rem * 0.8) * 2);
    border-radius: calc(2.375rem * 0.8);
    height: calc(2.375rem * 0.8);
    line-height: calc(2.375rem * 0.8);
    display: inline-block;
    cursor: pointer;
    outline: none;
    user-select: none;
    vertical-align: middle;
    text-indent: calc(calc(calc(2.375rem * 0.8) * 2) + 0.5rem);
}

.switch input+label::before,
.switch input+label::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(calc(2.375rem * 0.8) * 2);
    bottom: 0;
    display: block;
}

.switch input+label::before {
    right: 0;
    background-color: #dee2e6;
    border-radius: calc(2.375rem * 0.8);
    transition: 0.2s all;
}

.switch input+label::after {
    top: 2px;
    left: 2px;
    width: calc(calc(2.375rem * 0.8) - calc(2px * 2));
    height: calc(calc(2.375rem * 0.8) - calc(2px * 2));
    border-radius: 50%;
    background-color: white;
    transition: 0.2s all;
}

.switch input:checked+label::before {
    /*background-color: #08d;*/
    background-color: #154B94;
}

.switch input:checked+label::after {
    margin-left: calc(2.375rem * 0.8);
}

.switch input:focus+label::before {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}

.switch input:disabled+label {
    color: #868e96;
    cursor: not-allowed;
}

.switch input:disabled+label::before {
    background-color: #e9ecef;
}

.switch.switch-sm {
    /*font-size: 0.875rem;*/
    font-size: 14px;
}

.switch.switch-sm input+label {
    min-width: calc(calc(1.9375rem * 0.8) * 2);
    height: calc(1.9375rem * 0.8);
    line-height: calc(1.9375rem * 0.8);
    text-indent: calc(calc(calc(1.9375rem * 0.8) * 2) + 0.5rem);
}

.switch.switch-sm input+label::before {
    width: calc(calc(1.9375rem * 0.8) * 2);
}

.switch.switch-sm input+label::after {
    width: calc(calc(1.9375rem * 0.8) - calc(2px * 2));
    height: calc(calc(1.9375rem * 0.8) - calc(2px * 2));
}

.switch.switch-sm input:checked+label::after {
    margin-left: calc(1.9375rem * 0.8);
}

.switch.switch-lg {
    font-size: 1.25rem;
}

.switch.switch-lg input+label {
    min-width: calc(calc(3rem * 0.8) * 2);
    height: calc(3rem * 0.8);
    line-height: calc(3rem * 0.8);
    text-indent: calc(calc(calc(3rem * 0.8) * 2) + 0.5rem);
}

.switch.switch-lg input+label::before {
    width: calc(calc(3rem * 0.8) * 2);
}

.switch.switch-lg input+label::after {
    width: calc(calc(3rem * 0.8) - calc(2px * 2));
    height: calc(calc(3rem * 0.8) - calc(2px * 2));
}

.switch.switch-lg input:checked+label::after {
    margin-left: calc(3rem * 0.8);
}

.switch+.switch {
    margin-left: 1rem;
}

.container .table>table>tbody>tr>td {
    border-top: 0px;
}

.carousel-control-container {
    display: flow;
    align-items: center;
}

.carousel-control {
    height: 33.33%;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
}

.update-lang-btn {
    width: 90%;
    align-content: center;
    color: white !important;
    background-color: var(--dp-mainblue) !important;
}

#lang_close {
    position: absolute;
    right: 0;
    top: 75;
    color: var(--dp-mainblue) !important;
}

#lang_close:hover {
    color: var(--dp-mainblue-dark) !important;
}

.no-border {
    border: 0;
}

.no-background {
    background-color: transparent !important;
}

#recommended_language {
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    background-color: white;
    z-index: 100;
}

.dp-color.active {
    color: white !important;
    background-color: var(--dp-mainblue) !important;
}

.dp-color {
    border-color: var(--dp-mainblue) !important;
    color: var(--dp-mainblue-dark) !important;
}

.image.image_resized img {
    width: 100%;
}

.pointer {
    cursor: pointer;
}

.address_english_note {
    color: gray;
    font-size: small;
    margin-left: 10px;
}

.toast-top-right {
    top: 75px !important;
}

#user-submenu .dropdown-item {
    text-align: right;
}

.normal-size {
    font-size: 1rem;
}