*,*::before,*::after{
    box-sizing: border-box;
}

*{
    margin: 0;
    padding: 0;
}
html, body{
    height: 100%;
    /* overflow: hidden; */
    overflow-x: hidden;
    position:relative;
    left:0px;top:0px;
    font-family: sans-serif, serif, "Noto Sans CJK TC", "Microsoft JhengHei", PingFang, STHeiti;
    letter-spacing: .05rem;
    line-height: 1.5;
    color: #666666;
}
#container{
    display: flex;
    flex-direction: column;
    height: 100%;
}
header{
    flex: 0 0 auto;
    box-shadow: #aaaaaa 1px 0px 3px;
}
.main{
    flex: 1 0 auto;
}
footer{
    flex: 0 0 auto;
    width: 100%; 
    background-color: #1E1E42;
    color: white; 
    padding: 1rem; 
    text-align:center; 
    font-size: small;
}
footer p{
    margin-bottom: 0%;
}
footer img{
    width: 90%;
    margin: 0 auto;
}
/* 初始設定 end */
.material-icons {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    vertical-align: middle;
    transform: translateY(-.1em);
}
.content{
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 5rem;
    width: 90%;
    max-width: 1920px;
}
.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.row [class="col-"] {
    display: flex;
    flex-direction: column;
}
.m-0auto{
    margin: 0 auto;
}
.mw-1200{
    max-width: 1200px;
}
.mw-8rem {
    max-width: 8rem;
}

.mw-15rem {
    max-width: 15rem;
}
ul {
    text-align: start;
}
li{
    line-height: 2;
}
a{
    text-decoration: none;
}
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.5;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
}

h3 {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.5;
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
}

h5 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
}

h6 {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
}
.fs-sm{
    font-size: small;
}
.fs-14{
    font-size: 14px;
}
.fs-20{
    font-size: 1.25rem;
}
.fc-fff{
    color: #fff;
}
.fc-gray{
    color: #666666;
}
.fc-pink{
    color: #ED93AF;
}
.fc-green{
    color: #35C2BA;
}
.fc-red{
    color: #d40000;
}
/* button start */
.btn-normal {
    padding: .75rem;
    border-radius: .25rem;
    text-align: center;
}

.btn-sm {
    padding: .5rem 1rem;
    border-radius: .25rem;
    font-size: small;
}

.btn-lg {
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    font-size: 1.25rem;
}

.btn-w100 {
    width: 100%;
    padding: .5rem 1.5rem;
    border-radius: .25rem;
}

.btn-cancel {
    background-color: #ffffff;
    color: #424242;
    border: 1px solid lightgray;
}

.btn-cancel:hover {
    background-color: lightgray;
    color: #fff;
    border: 1px solid lightgray;
}

.btn-green {
    background-color: #35C2BA;
    color: #fff;
    border: 1px solid #35C2BA;
}

.btn-green:hover,
.btn-green-outlined:hover {
    background-color: #44dbd4;
    color: #fff;
    border: 1px solid #44dbd4;
}

.btn-green:active,
.btn-green-outlined:active {
    background-color: #0eaca4;
    color: #fff;
    border: 1px solid #0eaca4;
}

.btn-green-outlined {
    background-color: #fff;
    color: #35C2BA;
    border: 1px solid lightgray
}

.btn-red {
    background-color: #ac0101;
    color: #fff;
    border: 1px solid #ac0101;
}

.btn-red:hover,
.btn-red-outlined:hover {
    background-color: #cc0101;
    color: #fff;
    border: 1px solid #cc0101;
}

.btn-red:active,
.btn-red-outlined:active {
    background-color: #800808;
    color: #fff;
    border: 1px solid #800808;
}

.btn-red-outlined {
    background-color: #fff;
    color: #ac0101;
    border: 1px solid lightgray
}
/* button end */
/* home start */
.border-box {
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 2rem 1rem;
}
.project-border-box {
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, .5);
    box-shadow: 3px 3px 3px lightgray;
    display: flex; 
    flex-direction:column; 
    height:100%;
}



@media (max-width: 767.98px) {
    .bb-dashed-none {
        border-bottom: dashed 1px lightgray;
        padding-bottom: 1rem;
    }

    .bb-dashed-none:last-child {
        border-bottom: none;
    }

    .md-trans-img{
        width: 90%;
        margin: 0 auto;
    }
}
/* home end */
/* home background-circle start */
.circle1-1{
    background-color:#c8ef808e;
    position: absolute;
    display: block; 
    left: -10rem;
    top: -5rem;
    border-radius: 50%; 
    height: 25rem; 
    width: 25rem;  
    z-index: -1;
}
.circle1-2{
    background-color:#c8ef808e;
    position: absolute;
    display: block; 
    left: -10rem;
    bottom: -50rem;
    border-radius: 50%; 
    height: 25rem; 
    width: 25rem;  
    z-index: -1;
}
.circle1-3{
    background-color:#4931d08e;
    position: absolute;
    display: block; 
    right: -10rem;
    top: 40rem;
    border-radius: 50%;
    height: 18rem;
    width: 18rem;
    z-index: -1;
}
.circle1-4{
    background-color:#fb04008e;
    position: absolute;
    display: block; 
    right: 3rem;
    top: 38rem;
    border-radius: 50%; 
    height: 7rem; 
    width: 7rem;  
    z-index: -1;
}
/* home background-circle end */
/* login background-circle start */
.circle2-1 {
    background-color: #7f7ff88e;
    position: absolute;
    display: block;
    left: -10rem;
    top: -4rem;
    border-radius: 50%;
    height: 23rem;
    width: 23rem;
    z-index: -1;
    overflow: hidden;
}

.circle2-2 {
    background-color: #ff77778e;
    position: absolute;
    display: block;
    left: 6rem;
    top: 13rem;
    border-radius: 50%;
    height: 6rem;
    width: 6rem;
    z-index: -1;
    overflow: hidden;
}

.circle2-3 {
    background-color: #c8ef808e;
    position: absolute;
    display: block;
    right: -6em;
    bottom: 2em;
    border-radius: 50%;
    height: 25em;
    width: 25em;
    z-index: -1;
    overflow: hidden;
}
/* login background-circle end */
/* login-page start */
.login-info {
    box-shadow: 3px 3px 10px #70707025;
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2rem 1rem;
}
.form-group label{
    font-size: 14px;
    margin-bottom: .5rem;
}
.nav-tabs .nav-link.active{
    color: #00cbbf;
    font-weight: bold;
    background-color: rgba(255, 255, 255, .5);
}
.nav-link{
    color: #666666;
}
.nav-link:hover{
    color: #00cbbf;
}
/* login-page end */
/* project-page start */
.table {
    border-collapse: separate;
    border-spacing: 0rem .5rem;
    text-align: center;
}
table thead tr {
    background-color: rgba(53, 194, 186, 0.8);
    color: #fff;
}
table tbody tr td:first-child {
    text-align: end;
}
table tbody tr {
    background-color: rgba(237, 237, 237, 0.54);
}
.table-hover>tbody>tr:hover {
    background-color: rgba(0, 255, 240, 0.33);
}
th:first-child, td:first-child{
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}
th:last-child, td:last-child{
    border-top-right-radius: .5rem;
    border-bottom-right-radius: .5rem;
}
td{
    border-left: 1px solid #fff;
    vertical-align: middle;
}
/* project-page end */
/* check & enter page start */
.state-box {
    border: 1px solid lightgray;
    border-radius: .5rem;
    width: 625px;
    margin-left: .25rem;
    margin-top: .5rem;
}

.state-btn-box {
    display: flex;
    align-items: center;
}

.state-box-inner-border {
    border-left: 1px solid lightgray;
    border-right: 1px dashed lightgray;
}

button:disabled,
button[disabled] {
    border: 1px solid #cccccc;
    background-color: #cccccc;
    color: #666666;
}

.btn-icon {
    padding: .25rem .75rem;
    border-radius: .25rem;
    font-size: small;
    align-items: center;

}

.btn-icon .material-icons {
    font-size: large;
}

.btn-switch-on {
    background-color: #35C2BA;
    color: #fff;
    border: 1px solid #35C2BA;
}

.btn-switch-off {
    background-color: #ffffff;
    color: darkgray;
    border: 1px solid lightgray;
}
/* check & enter page end */