/* 套版常用設定 */
:root {
    --bs-primary: #417d3b;
    --bs-primary-rgb: 65, 125, 59;
}
img {
    max-width: 100%;
    height: auto !important;
}

.wrapper {
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.cke_editable ol,
.cke_editable ul,
.backend-editor-body ol,
.backend-editor-body ul,
.editor ol,
.editor ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}
.cke_editable ol > li,
.backend-editor-body ol > li,
.editor ol > li,
.cke_editable ul > li,
.backend-editor-body ul > li,
.editor ul > li {
    list-style-type: unset;
}
.cke_editable ol,
.backend-editor-body ol,
.editor ol {
    list-style: decimal;
}
.cke_editable ol[type="1"],
.backend-editor-body ol[type="1"],
.editor ol[type="1"] {
    list-style: decimal;
}
.cke_editable ol[type="a"],
.backend-editor-body ol[type="a"],
.editor ol[type="a"] {
    list-style: lower-alpha;
}
.cke_editable ol[type="A"],
.backend-editor-body ol[type="A"],
.editor ol[type="A"] {
    list-style: upper-alpha;
}
.cke_editable ol[type="i"],
.backend-editor-body ol[type="i"],
.editor ol[type="i"] {
    list-style: lower-roman;
}
.cke_editable ol[type="I"],
.backend-editor-body ol[type="I"],
.editor ol[type="I"] {
    list-style: upper-roman;
}
.cke_editable ul,
.backend-editor-body ul,
.editor ul {
    list-style-type: disc;
}

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

.embed-responsive {
    position: relative;
    display: block;
    height: auto;
    padding: 0;
    overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background: #111111;
}
body div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{
    box-shadow:0 0 0 3px rgba(17,17,17,.5)
}


.file-upload {
    position: relative;
    height: 2.14285714em;
    border-bottom: 1px solid #000;
    margin-bottom: .5em
}

.file-upload input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0
}

.file-upload .btn {
    width: 120px;
    line-height: 28px;
    background: #b59059;
    color: #fff;
    margin-bottom: 5px;
    position: absolute;
    right: 0;
    bottom: 0
}

.file-upload .filename {
    color: #9a9a9a
}

.photo-upload {
    position: relative;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    margin: 0 .5em .5em 0
}

.photo-upload input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0
}

.photo-upload .preview {
    width: 80px;
    height: 80px;
    background: #fff no-repeat 50% 50%;
    background-size: cover;
    border: 1px solid #999;
    border-radius: 8px;
}
.photo-upload.is-invalid .preview {
    border-color: #f00;
}

.display-toggle {
    display: none
}

.display-toggle.show {
    display: block
}

span.label {
    display: inline-block;
    padding: 0 0.5em;
    border-radius: 0.25em;
    font-size: 0.8em;
    line-height: 1.5;
}
.label-primary {
    color: #fff;
    background: #3c8dbc;
}
.label-danger {
    color: #fff;
    background: #dd4b39;
}
.label-success {
    color: #fff;
    background: #00a65a;
}
.text-red {
    color: #dd4b39 !important;
}
.text-green {
    color: #00a65a !important;
}
.text-orange {
    color: #ff851b !important;
}
.text-blue {
    color: #0073b7 !important;
}
.text-purple {
  color: #605ca8 !important;
}
.text-maroon {
  color: #d81b60 !important;
}

.tp-offcanvas-social ul li a svg {
    max-height: 1em;
    width: auto;
}
.dgm-footer-bg::after {
    width: 30%;
}
.dgm-footer-col-1 {
    padding-right: 80px;
}
.dgm-hero-social a span {
    display: inline-block;
    min-width: 2em;
    text-align: center;
}
.dgm-footer-widget-menu ul li {
    font-weight: 500;
    font-size: 16px;
    color: #afb2b8;
}
.dgm-footer-widget-menu ul li a {
    word-break: break-all;
}
.tp-copyright-2-middle .txt {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.71;
    color: #afb2b8;
}
.dgm-hero-thumb .banner-slider,
.dgm-hero-thumb .banner-slider .slick-list,
.dgm-hero-thumb .banner-slider .slick-list * {
    height: 100%;
}
.dgm-hero-thumb .banner-slider a {
    display: block;
}

.dgm-hero-thumb .banner-slider img {
    height: 100% !important;
    object-fit: cover;
}
.dgm-hero-thumb .banner-slider .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dgm-hero-thumb .banner-slider .slick-dots button {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 101%;
    padding: 0;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    position: relative;
}
.dgm-hero-thumb .banner-slider .slick-dots button::before {
    content: '';
    display: block;
    text-indent: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}
.dgm-hero-thumb .banner-slider .slick-dots .slick-active button::before {
    background: var(--tp-common-green-regular);
}
.tp-about-area {
    padding-top: 140px;
}
.tp-header-3-style .tp-header-bar button {
    vertical-align: top;
}
.postbox-meta {
    display: inline-block;
    margin-right: 1.5em;
}
.postbox-meta:hover {
    color: var(--tp-common-green-regular);
}
.postbox-meta i {
    color: inherit;
    font-size: 1.25em;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0.15em;
}
.postbox-meta i svg {
    width: auto !important;
    height: 1em !important;
}
.postbox-details-tag span:last-child::after {
    display: none;
}

.agntix-light .tp-contact-us-wrap .tp-contact-form-input .is-invalid {
    border-color: #f00;
}
.tp-portfolio-inner-thumb .badge {
    position: absolute;
    top: 1em;
    left: 1em;
    background: var(--tp-common-black);
}
.tp-login-option-item a {
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
}
.tp-login-option-item a svg {
    display: inline-block;
    width: 1.5em;
    height: auto;
    margin-right: 0.5em;
}
.tp-checkout-input .is-invalid,
.tp-login-input .is-invalid {
    border-color: #f00;
}
.tp-login-remeber a {
  position: relative;
  display: inline-block;
  color: var(--tp-common-black);
}
.tp-login-remeber a::after {
  position: absolute;
  content: "";
  left: auto;
  right: 0;
  bottom: 4px;
  width: 0%;
  height: 1px;
  background-color: var(--tp-common-black);
  transition: 0.3s;
}
.tp-login-remeber a:hover::after {
  left: 0;
  right: auto;
  width: 100%;
}
.tp-checkout-input input, .tp-checkout-input textarea {
    text-transform: none;
}
.tp-checkout-input .form-control-plaintext,
.tp-checkout-input select,
.tp-checkout-input .bootstrap-select>.dropdown-toggle {
    width: 100%;
    height: 60px;
    outline: none;
    padding: 0 26px;
    line-height: 56px;
    font-size: 14px;
    border: 1px solid transparent;
    color: var(--tp-common-black);
    background: #F4F0EA;
    border-radius: 8px;
}
.tp-checkout-input textarea,
.tp-checkout-input .form-control-plaintext {
    height: auto;
    min-height: 60px;
    padding: 15px 26px;
    line-height: 30px;
}
.tp-checkout-input .form-control-plaintext svg {
    width: 1.5em;
    height: auto;
    margin-right: 0.5em;
}

.tp--hover-img canvas {
    pointer-events: none;
}
.agntix-light .tp-pd-2-bottom-item .tp-portfolio-details-btn span {
    margin-bottom: 0;
}
.agntix-light .tp-pd-2-bottom-item .tp-portfolio-details-btn:hover span {
    color: inherit;
}
.tp-checkout-option label,
.tp-checkout-payment-item label {
    line-height: 26px;
    margin-bottom: 0;
}
.agntix-light .postbox-details-input select {
    background: rgb(246, 246, 249);
    color: var(--tp-common-black);
    border: 1px solid rgb(246, 246, 249);
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 25px;
    border-radius: 14px;
    outline: none;
    height: 60px;
    width: 100%;
    line-height: 60px;
    padding-left: 26px;
    padding-right: 26px;
}
.event-rule-box {
    font-size: 14px;
    border: 1px solid transparent;
    color: var(--tp-common-black);
    background: #F4F0EA;
    border-radius: 8px;
    padding: 1em 1.5em;
    max-height: 10em;
    overflow-y: auto;
}
.tp-error-content .tp-btn {
    padding-right: 24px;
}
.tp-cart-list .table > :not(caption) > * > * {
    padding: 10px 20px;
}
.signup-user-info .dt {
    position: relative;
    padding-right: 1em;
    min-width: 6em;
}
.signup-user-info .dd::before {
    content: '|';
    display: inline-block;
    color: #ccc;
    margin-right: 1em;
}
.tp-checkout-payment-item label {
    color: #55585B;
    font-size: 15px;
}
.order-table th {
    white-space: nowrap;
}
.order-table tbody {
    line-height: 1.5;
}
.order-table .tp-logout-btn {
    white-space: nowrap;
    margin: 3px;
}

@media (max-width: 767px) {
    .tp-pd-2-bottom .tp-pd-2-bottom-item:not(:last-of-type) {
        margin-right: 0;
    }
}

@media (min-width: 1400px) {
}

@media (min-width: 768px) {
    .tp-about-box {
        min-height: 300px;
    }
}
