/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
body {
    font-weight: normal;
}

.text-size-110pcnt {
    font-size: 110% !important;
}

.fbox-plain .fbox-icon i {
    font-size: 2rem;
    line-height: 1;
}

.fbox-content h3 span.subtitle {
    display: block;
    margin-top: 5px;
    color: #444;
    font-weight: normal;
    text-transform: none;
}

.heading-block > span:not(.before-heading) {
    font-weight: normal;
}

.feature-box {
    margin-left: 0rem;
    margin-right: 0rem;
}

.heading-block.center::after {
    margin: -35px auto 0px;
}

.heading-block::after {
    content: '';
    display: block;
    margin-top: 30px;
    width: 30%;
    border-top: 2px solid #444;
}

#joint.table th, .table td {
    border-top: 0px solid #dee2e6;
}

element.style {
    height: 60px;
}

@media (max-width: 575.98px) {
    #header-wrap #logo svg {
        height: 60px;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .sticky-header-shrink #header-wrap #logo svg {
        height: 60px;
        padding: 10px 0;
        margin: 0px 0;
    }
}

#logo svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: 90px;
    margin: 5px 0;
    padding: 20px 0;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

#section-power .fbox-icon {
    width: auto;
    height: 3rem;
}

#section-power .feature-box h3 {
    margin: 0 0 0px 0;
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    .RwdTable table,
    .RwdTable thead,
    .RwdTable tbody,
    .RwdTable th,
    .RwdTable td,
    .RwdTable tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .RwdTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .RwdTable tr {
        margin: 0 0 1rem 0;
    }

        .RwdTable tr:not(.text-info):nth-child(odd) {
            background: #5d4949;
            color: #FFFFFF !important;
            border-radius: 5px;
        }

    .RwdTable.table.table-separate td:first-child {
        /* Behave  like a "row" */
        padding-left: 50% !important;
    }

    .RwdTable.table-hover tbody tr:hover {
        background-color: #51535d;
        color: #FFFFFF;
    }

    .RwdTable td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 0px solid #eee !important;
        position: relative;
        padding-left: 37% !important;
        text-align: left !important;
    }

    .RwdTable tr.text-info {
        border: 1px solid #8950FC !important;
        border-radius: 5px;
    }

    .RwdTable td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 50%;
        left: 6px;
        width: 33%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: right;
        transform: translateY(-50%);
    }
}


@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    .RwdTable td:nth-of-type(1):before {
        content: "標案案號";
    }

    .RwdTable td:nth-of-type(2):before {
        content: "標案單位";
    }

    .RwdTable td:nth-of-type(3):before {
        content: "內容";
    }

    .RwdTable td:nth-of-type(4):before {
        content: "類別";
    }

    .RwdTable td:nth-of-type(5):before {
        content: "下載";
    }
}


.cookie-panel {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 999;
    background-color: #000000c2;
    border-radius: 0.5rem;
    border: 1px solid #69b3ff;
    border-bottom: 0;
    outline: 0;
    color: #fff;
    box-shadow: 1px 9px 15px -3px rgb(0 0 0 / 20%);
}

    .cookie-panel.show {
        display: block;
    }

.cookie-message {
    color: #FFF;
    padding: 20px 30px;
}

.cookie-title {
    font-size: 1.2rem;
    color: #FFF !important;
    font-weight: bolder;
}

.cookie-text {
    font-size: 1rem !important;
    margin-bottom: 0px;
}

.cookie-button a {
    font-size: 1.1rem !important;
    font-weight: bolder;
    color: #292d3f;
    text-align: center;
}

.see_more {
    color: #d3d3d3;
    font-size: 1.0rem !important;
    text-align: center;
}

    .see_more:hover {
        color: #fff;
        font-size: 1.0rem !important;
    }

.terms, .privacy {
    font-size: 1.0rem;
    color: rgba(255,255,255,0.4);
}

    .terms:hover, .privacy:hover {
        color: #fff;
    }

.contact_us {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.grid-item {
    display: grid;
    place-items: center;
}
