:root {
    --color-1: #6ac045;  /* 綠(文字、背景) */
    --color-2: #e8f7f7;  /* 淡藍綠(背景) */
    --color-3: #717171;  /* 灰黑(文字) */
    --color-3-1: #AAAAAA;/* 灰(背景) */
    --color-1-h: #7ad254;/* 亮綠(文字、背景) */

    --color-1: #F4836F;  /* 桃橘(文字、背景) 244, 131, 111 */
    --color-2: #F5E7E5;  /* 淡桃橘(文字、背景) */
    --color-1-h: #F39180;/* 亮暗紅(文字、背景) */

    --color-l: #F04393;/* 桃紅(文字、背景) */
    --color-r: #F9C449;/* 橘黃(文字、背景) */
}
.text-1 {
    color: var(--color-1);
}
.text-3 {
    color: var(--color-3);
}
.text-3-1 {
    color: var(--color-3-1);
}
.bg-1 {
    background-color: var(--color-1);
}
.bg-2 {
    background-color: var(--color-2);
}
.bg-3 {
    background-color: var(--color-3);
}
.bg-3-1 {
    background-color: var(--color-3-1);
}
.bg-lg {
    background-image: linear-gradient(to right, var(--color-l), var(--color-r));
}
.bg-lg-50 {
    background-image: linear-gradient(to right, #f0439380, #F9C44980);
}
.bg-lg-r45 {
    background-image: linear-gradient(to bottom right, var(--color-l), var(--color-r));
}
.bg-lg-50-r45 {
    background-image: linear-gradient(to bottom right, #f0439380, #F9C44980);
}


.text-underline {
    text-decoration: underline;
}


a {
    color: #000;
}
a:hover {
    color: var(--color-1);
}


p.comment {
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.2;
}


.mt-45 {
    margin-top: 2.2rem !important;
}
.mb-45 {
    margin-bottom: 2.2rem !important;
}



.cursor-pointer {
    cursor: pointer;
}


/* 活動詳細 & 會員中心 */
@media (max-width: 992px) {
    .profile-tabs > ul.nav {
        flex-wrap: nowrap;
        overflow: auto;
    }
    .profile-tabs > ul.nav > li {
        flex: unset;
        min-width: 120px;
    }
    #profileTabContent .main-card > div.nav {
        flex-wrap: nowrap;
        overflow: auto;
    }
    #profileTabContent .main-card > div.nav button {
        flex: unset;
        padding: 8px 12px;
        word-break: keep-all;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.detail-section .main-event-dt > .main-card > div.nav {
    flex-wrap: nowrap;
    overflow: auto;
}
.detail-section .main-event-dt > .main-card > div.nav button {
    flex: unset;
    padding: 10px 12px;
    word-break: keep-all;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* .bootstrap-select .dropdown-toggle -------------------------- */
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: unset !important;
}



/* swal2-styled -------------------------- */
.swal2-icon.swal2-success {
    color: var(--color-1);
}
.swal2-icon.swal2-success .swal2-success-ring {
    border: 0.25em solid var(--color-4);
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: var(--color-4);
}
.swal2-styled.swal2-confirm {
    width: 120px;
    font-weight: 400;
    background-color: var(--color-1);
    border: 1px solid #F3918000;
}
.swal2-styled.swal2-confirm:focus {
    box-shadow: unset !important;
}
.swal2-styled.swal2-confirm:hover {
    color: #fff !important;
    border-color: var(--color-1-h);
    background: var(--color-1-h);
}
.swal2-title {
    font-size: 1.4em;
}
.swal2-icon-content {
    font-family: 'Roboto', sans-serif !important;
}



/* 活動卡 -------------------------- */
.program-card {
    width: 400px;
    width: 100%;
    position: relative;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: 0 0 15px 0 #0001;
}
.program-card .top-card {
    aspect-ratio: 40 / 21;
    overflow: hidden;
    display: flex;
    transition: ease 0.2s;
    position: relative;
}
.program-card .top-card img {
    object-fit: cover;
    width: 100%;
/*    transition: ease 0.5s;*/
    transition: ease 5s;
}
.program-card .top-card .position-absolute {
    width: 100%;
    height: 100%;
    top: 0;
    transition: ease 0.5s;
}
.program-card .top-card .position-absolute.cover {
    aspect-ratio: 40 / 21;
    z-index: 1;
    background-image: linear-gradient(to bottom, #fff0 0%, #fff0 65%, #ffff 100%);
}
.program-card .top-card .position-absolute.detal {
    opacity: 0;
    z-index: 1;
    background-color: #fff;
    padding: 10px 60px 10px 10px;
    transition: ease 0.5s;
}
.program-card .top-card .position-absolute.detal p {
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 500;
    color: #000;
}
.program-card .bookmark-icon {
    top: 5px;
    right: 5px;
    opacity: 0.6;
}
.program-card .bookmark-icon.bookmarked {
    opacity: 0.9;
}
/* bottom-card -------- */
.program-card .bottom-card {
    background-color: #ffffff;
    padding: 5px 10px 2px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}
.program-card .bottom-card .block-1,
.program-card .bottom-card .block-2 {
    font-weight: 400;
    display: flex;
    align-items: center;
    height: 24px;
}
.program-card .bottom-card .block-3 {
    color: #000;
    height: 48px;
    /*font-size: 16px;*/
    font-size: 20px;
    font-size: 1.3rem;
    line-height: 22px;
    padding-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}
.program-card .bottom-card .block-1 > div,
.program-card .bottom-card .block-2 > div {
    line-height: 0.9;
}
.program-card .bottom-card .block-1 > div {
    margin-right: 10px;
    text-wrap: nowrap;
}
.program-card .bottom-card .block-2 > div:nth-child(2) {
    line-height: 1.5;
    border-radius: 5px;
    text-wrap: nowrap;
}
/* hover -------- */
.program-card:hover .top-card .position-absolute.detal {
    opacity: 0.85;
}
.program-card:hover .top-card img {
    transform: scale(1.05);

    transform: scale(1.2);
}
.program-card:hover .bookmark-icon {
    opacity: 1;
}




/* 顯示/隱藏 密碼 -------------------------- */
.password_switch {
    margin: 0;
    width: 100%;
    position: relative;
}
.password_switch input {
    padding-right: 35px;
}
.password_switch i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    font-size: 14px;
    cursor: pointer;
}
.password_switch.has_show i.eye_hide {
    display: none;
}
.password_switch i.eye_show {
    display: none;
}
.password_switch.has_show i.eye_show {
    display: block;
}

/* header -------------------------- */
.h-search-area {
    position: relative;
    /* margin-right: 1.2rem; */
}
.h-keyword {
    background-color: #f5f7f9 !important;
}
.h-search {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    font-size: 14px;
    cursor: pointer;
}


/* 活動詳細頁 -------------------------- */
.detail-section .program-summary {
    color: #000000;
    font-weight: 500;
}
@media (min-width: 1200px) {
    .detail-section .program-summary {
        width:calc(66.7% - 50px);
    }
}


/* 活動標籤設定 -------------------------- */
.table-tags {
    vertical-align: middle !important;
}
/*.table-tags tr td {
    padding: 1rem !important;
}*/
.td-category {
    background-color: #E6C069 !important;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    width: 25%;
}
.td-tag {
    background-color: #FAF2E1 !important;
}
.tags-label {
    padding: 3px;
}
.tagify {
    width: 100%;
}


/* .acc9ss-modal -------------------------- */
.acc9ss-modal {

}
@media (min-width: 576px) {
    .acc9ss-modal .modal-dialog {
        max-width: 700px;
    }
}