﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Microsoft JhengHei UI',Verdana,monospace;
    padding: 0;
    margin: 0;
    /*background-color: #FCE1E2;*/
    /*background-color: #FFF1E6;*/
    background-color: #F3F4F7;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.navbar {
    height: 3.2rem;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-basis: auto;
    background-color: #FCE1E2;
}

.navbar-right .nav-item {
    position: static;
}

.dropdown-menu.show {
    width: calc(100% - 20px);
    max-width: 500px;
    right: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
}

.dropdown-menu > li {
    text-align: left;
    width: calc(100% - 30px);
    max-width: 320px;
    font-size: 1.2rem;
    padding: 5px 0;
    transition: all 0.3s ease-in-out;
}

    .dropdown-menu > li:hover > a:before {
        visibility: visible;
        transform: scale(1, 1);
    }

    .dropdown-menu > li > a {
        display: block;
        padding: 0 7px 0 7px;
        margin: 0 0 10px;
        text-decoration: none;
        position: relative;
    }

        .dropdown-menu > li > a:hover,
        .dropdown-menu > li > a:active {
            background-color: #FFFFFF;
            color: #000000;
        }

        .dropdown-menu > li > a.dropdown-logout:hover,
        .dropdown-menu > li > a.dropdown-logout:active {
            color: #A71D2A;
        }

        .dropdown-menu > li > a:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 3px;
            bottom: -10px;
            left: 0px;
            background-color: #A1A1A1;
            transition: all 0.2s ease-in-out;
            transform: scale(0, 0);
            visibility: hidden;
        }

        .dropdown-menu > li > a.dropdown-logout:before {
            background-color: #A71D2A;
        }


.wrapper {
    width: 100%;
    position: relative;
    top: 3.2rem;
    text-align: center;
    margin: 0px auto;
    min-height: calc(100% - 48px);
}

.content {
    width: 100%;
    max-width: 1000px;
    margin: 0px auto 20px auto;
    text-align: center;
    font-size: 15px;
    border-radius: 0 0 15px 15px;
}

.content-title {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    /*background-color: #333;
    padding: 8px 20px;*/
    letter-spacing: 2px;
    /*border-radius: 12px;*/
    border-bottom: 1px solid #000;
    line-height: 0.1rem;
    margin: 10px 0 20px;
}

    .content-title span {
        background-color: #C6D7CD; /*B3CDBE*/
        padding: 10px;
    }

.content-content {
    font-size: 14px;
    text-align: left;
    font-weight: 600;
    margin: -15px auto 10px auto;
    /*background-color: #FFF;*/
    border-radius: 10px;
    width: 90%;
    padding: 20px 0px 10px 0px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


#btn_BackToTop {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: #FFFFFF;
    background-color: #000000;
    text-align: center;
    border-radius: 5px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    cursor: pointer;
}

    #btn_BackToTop.BackToTop_show {
        opacity: 1;
        visibility: visible;
    }


footer {
    height: 48px;
    position: relative;
    top: 3.2rem;
    text-align: center;
    padding: 5px 0px;
}


@media screen and (min-width: 481px) {
    .wrapper {
        min-height: calc(100% - 60px);
    }

    .content-title {
        font-size: 24px;
    }

    .content-content {
        font-size: 18px;
    }

    #btn_BackToTop {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        bottom: 15px;
        right: 15px;
    }

    footer img {
        width: 394px;
        height: 50px;
    }

    footer {
        height: 60px;
    }
}
