/* 表單錯誤訊息 */
.error_msg {
    display: none !important;
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

@media (min-width: 1024px) {
    .md\:hidden {
        display: none !important;
    }
    
    .md\:show {
        display: block !important;
    }
}

/* 禁止點擊 */
.disabled, [disabled="disabled"] {
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.3 !important;
}

.disabled *, [disabled="disabled"] * {
    pointer-events: none !important;
}

.no-link-style {
    text-decoration: none;
    color: inherit;
}

.no-underline {
    text-decoration: none;
}

[v-cloak] {
    display: none;
}

.copy-element {
    font-size: 16px;
    position: absolute;
    left: -10000px;
    top: -10000px;
}

/* 編輯器 */
.html__content table {
    max-width: 100%;
}

.html__content td {
    vertical-align: middle;
    border: 1px solid;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.html__content ul,
.html__content ol {
    list-style: initial;
    list-style-position: outside;
    padding-left: 2rem;
}

@media screen and (max-width: 768px) {
    .html__content table {
        width: 100% !important;
    }
}

.loginBox__socialBtn p {
    justify-content: flex-start !important;
    padding-left: 1.25rem !important;
}

/*  */
.btn__large {
    width: 90%;
    max-width: 300px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CC2027;
    border-radius: 4px;
    box-shadow: 0 4px 6px 0 rgb(0 0 0 / 15%);
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn__large:not(.is--invert) > a {
    color: #FFF;
    text-decoration: none;
}
.btn__large.is--invert {
    background-color: #FFDCDD;
}
.btn__large.is--invert > a {
    color: #CC2027;
    text-decoration: none;
}
@media (hover: hover) {
    .btn__large:hover {
        background-color: #FFDCDD;
    }
    .btn__large:hover > a {
        color: #CC2027;
    }
    .btn__large.is--invert:hover {
        background-color: #CC2027;
        opacity: 0.8;
    }
    .btn__large.is--invert:hover > a {
        color: #FFF;
    }
}

/*  */
.seperator {
    color: #D70C19;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.seperator > .seperator__text {
    flex: none;
    margin: 0 0.5rem;
}
.seperator:before,
.seperator:after {
    content: '';
    flex: auto;
    height: 1px;
    background-color: #D70C19;
}
.seperator.is--vertical {
    flex-direction: column;
}
.seperator.is--vertical > .seperator__text {
    margin: 0.5rem 0;
}
.seperator.is--vertical:before,
.seperator.is--vertical:after {
    width: 1px;
    height: auto;
    margin: 0.5rem 0;
}

/*  */
.checkbox__group {
    display: flex;
    flex-wrap: wrap;
}

.checkbox {
    display: flex;
    position: relative;
    margin-right: 20px;
    margin-bottom: 20px;
}

.checkbox input[type="checkbox"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.checkbox .checkmark {
    flex: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #808080;
    border-radius: 5px;
    margin-right: 10px;
}

.checkbox .checklabel {
    flex: none;
    font-size: 20px;
}

.checkbox input[type="checkbox"]:checked ~ .checkmark {
    background-color: #CC2027;
    border-color: #CC2027;
    position: relative;
}

.checkbox input[type="checkbox"]:checked ~ .checkmark:after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.checkbox input[type="checkbox"]:checked ~ .checklabel {
    color: #CC2027;
}

.wrapper__item__sdg_icons {
    padding: 10px;
}

.wrapper__item__sdg_icons > label > span {
    display: block;
}

.wrapper__item__sdg_icons .checkbox__group {
    padding: 10px 10px 0px 10px;
}

.wrapper__item__sdg_icons .checkbox {
    position: relative;
}
.wrapper__item__sdg_icons .checkbox .checkmark {
    width: 30px;
    height: 30px;
    border: 2px solid #fff !important;
    position: absolute !important;
    bottom: 4px;
    right: 2px;
    margin-right: 0 !important;
}
.wrapper__item__sdg_icons .checkbox .checklabel img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #ccc;
    /* margin-top: 10px; */
}

.wrapper__item__sdg_icons .error_text {
    font-size: 14px;
    color: #f44336;
    margin-top: 10px;
}

@media screen and (min-width: 768px) {
    .wrapper__item__sdg_icons {
        padding: 20px;
    }
    .wrapper__item__sdg_icons > label > span {
        display: inline-block;
    }
    .wrapper__item__sdg_icons .checkbox__group {
        padding: 20px 20px 0px 20px;
    }
}

/*  */
.sdg__icon {
    width: 55px;
}
@media screen and (min-width: 768px) {
    .sdg__icon {
        width: 50px;
    }
}

/* 活動辦法 */
.main__contents__wrapper.isInVoteTime .main__contents__inner .main__contents__tab ul { width: 100%; }
.main__contents__wrapper.isInVoteTime .main__contents__inner .main__contents__tab ul li { width: calc(100% / 7); }
.main__contents__wrapper.isInVoteTime .main__contents__inner .main__contents__tab ul li a { width: 100%; text-align: center; }

/* 提案、結案 - 提醒填寫問卷文字 */
.main__contents__inner__announcement {
    position: relative;
    font-weight: 500;
    box-sizing: border-box;
    background-image: linear-gradient(to bottom, #fffef3, #fffbe7 36%, #fff7cf 98%);
    padding:18px 10px 20px;
    display: flex;
    align-items: center;
    p {
        margin: 0 auto;
        position: relative;
        font-weight: 400;
        font-stretch: normal;
        font-style: normal;
        letter-spacing: normal;
        text-align: center;
        color: #000;
        font-size: 14px;
        line-height: 48px;
        width: 100%;
        height: 48px;
        border-radius: 24px;
        box-shadow: inset 0 2px 8px 0 rgba(0, 0, 0, .08);
        background-color:#fde980;
    }
    img {
        vertical-align: middle;
        margin-right: 5px;
    }
}
