﻿/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 基本設定 */

:root {
    --primary: #0a638f;
    --secondary: #242424;
    --sectionBG: #ebebeb;
    --buttonColor: #165d81;
    --newsletter: #165d81;
    --buttonText: #181818;
    --headline: #fffffe;
    --hightlight: #165d81;
    --stroke: #181818;
    --paragraph: #535353;
    --white: #fff;
}

body {
    font-family: 'microsoft jhenghei', "Segoe UI", 'Noto Sans TC', sans-serif, "Lucida Grande", Helvetica, Arial, Verdana;
    background-color: #161616;
    color: #1d1d1d;
    position: relative;
    letter-spacing: 1px;
}

html,body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main{
    flex-grow: 1;
    padding-bottom: 40px;
}

.footer{
    padding: 12px 0;
    margin-top: -40px;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.section-user{
    min-height: calc(100vh - 80px);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.text-secondary {
    color: var(--secondary);
}

.text-warning {
    color: #FF0024;
}

.text-warning:hover {
    color: #ff1938;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color .5s ease-in-out;
}

a:hover,
a:active,
a.active {
    color: #3ac1ff;
    text-decoration: none;
}

input,
select,
textarea,
.userphone,
#bankSelect,
#bank-account,
#bank-name {
    height: 40px;
    padding: 0 8px;
    background-color: var(--white);
    border: 2px solid #545454;
    color: var(--sectionBG);
    border-radius: 2px;
}

input,
select {
    width: 100%;
    margin-top: 0;
    box-sizing: border-box;
}

textarea {
    height: 300px;
    width: calc(100% - 19px);
    overflow-y: scroll;
    padding: 8px;
}

option {
    width: 50px;
}

input[placeholder],
[placeholder]::placeholder,
*[placeholder] {
    font: 400 15px 'microsoft jhenghei';
    color: var(--paragraph);
    opacity: 1;
}


input[type="file"] {
    background-color: transparent;
    border: none;
    padding: 0;
    height: 40px;
    padding: 7px 0px;
    box-sizing: border-box;
}

.input-block {
    margin: 10px 0;
}

label {
    color: #333;
    margin-bottom: 8px;
    display: inline-block;
}


/* 輸入框點擊後外框顏色 */
input:focus,
textarea:focus {
    border: 2px solid rgba(150, 150, 150, 0.9);
    box-shadow: 0 0 3px rgba(150, 150, 150, .9);
    -moz-box-shadow: 0 0 3px rgba(150, 150, 150, .9);
    -webkit-box-shadow: 0 0 3px rgba(150, 150, 150, .9);
}

input:focus,
textarea:focus,
select:focus {
    outline-offset: 0px;
    outline: none;
}


span {
    font-size: 13px;
    color: #FF0024;
    letter-spacing: 1px;
}

button:focus {
    outline: none;
}

.btn {
    padding: 10px 30px;
    background-color: #b5334f;
    border: none;
    transition: all .5s ease-in-out;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
}

.btn:hover,
.btn:active {
    background-color: #2998ff;
}


.btn1 {
    font-weight: 500;
    padding: 12px 25px;
    outline: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--secondary);
    overflow: hidden;
    position: relative;
    z-index: 0;
    cursor: pointer;
    transition: color .5s cubic-bezier(0.13, 0.78, 0.38, 0.98);
}

.btn1:hover,
.btn1:active {
    color: var(--white);
    background-color: var(--secondary);
}

.btn1::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    left: -100%;
    z-index: -1;
    width: 120%;
    height: 100%;
    background-color: var(--primary);
    transform: skewX(-15deg) scale(0, 1);
    -webkit-transform: skewX(-15deg) scale(0, 1);
    transform-origin: top left;
    transition: transform .5s cubic-bezier(0.13, 0.78, 0.38, 0.98),
        left .5s cubic-bezier(0.13, 0.78, 0.38, 0.98);
}

.btn1:hover::after {
    left: 0;
    transform: skewX(-15deg) scale(1, 1);
    -webkit-transform: skewX(-15deg) scale(1, 1);
}

.btn2 {
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid #b5334f;
    color: #b5334f;
    border-radius: 5px;
    transition: all .5s ease-in-out;
}

.btn2:hover,
.btn2:active {
    background-color: #b5334f;
    color: #fff;
}


.submit {
    width: 100%;
}

.btn-store {
    margin-top: 10px;
}

/* 文字顏色 */
.font-green {
    color: #068485;
}

/* 顯示排列 */
.display-flex {
    display: flex;
}

/* 圖片顯示 */
img {
    width: auto;
}

/* 登入登出的判斷 */
.hidden {
    display: none;
}

/*================================================*/
/* 所有共同使用 */


.member-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
    min-height: calc(100vh - 80px -88px);
}

.footer {
    display: flex;
    justify-content: center;
    color: #ffffff;
    background-color: #242424;
}

/*================================================*/
/* login + register */


.login-form .full-page {
    background-color: var(--white);
    box-shadow:
        0px 1px 1.1px rgba(0, 0, 0, 0.028),
        0px 3.4px 3.6px rgba(0, 0, 0, 0.042),
        0px 15px 16px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    overflow: hidden;
}

.web-left-block,
.web-right-block {
    padding: 0 15px;
}

.web-left-block {
    padding: 50px;    
    background: #fff url(../images/bg2.jpg) no-repeat top / cover;
}

.web-left-block .logo {
    vertical-align: middle;
    max-width: 200px;
    width: 80%;
    /* filter: drop-shadow(2px 2px 3px #575757); */
    display: flex;
    margin: auto;
}


.web-left-block h1 {
    color: #00235a;
    margin: 0;
}

.web-right-block {
    padding-bottom: 30px;
}

.login-btn {
    margin-top: 30px;
}

form .link-area {
    max-width: 400px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-evenly;
}

form .forget-password {
    display: block;
    text-align: right;
    margin-top: 5px;
    color: #9c9c9c;
}


form .link-area * {
    color: var(--secondary);
    font-weight: 500;
}

form .link-area a:hover {
    /* opacity: .5; */
    color: #0a638f;
}

/*================================================*/
/* register */
.communication-software {
    margin: 0;
}

.register_form .img-block {
    display: flex;
    margin-top: 5px;
    align-items: center;
}

.change {
    background-image: url(../images/icon_change.png);
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-left: 15px;
}

.input-verification-code-block .display-flex .img-block {
    margin-right: 10px;
}

[type="checkbox"] {
    width: 21px;
    height: 21px;
    margin-right: 5px;
    margin-top: 0;
}


#register .input-block .communication-software:last-child {
    margin-top: 10px;
}

#register .text-block {
    color: #333;
}









@media screen and (min-width:1024px) {

    /*================================================*/
    /* login + register */
    .full-page {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        flex-direction: column;
    }

    .web-right-block {
        padding: 50px;
        flex: auto;
        box-sizing: border-box;
        background-color: var(--white);
    }

    .web-left-block {
        padding: 50px;
        flex-basis: 200px;
        box-sizing: border-box;
        display: grid;
        place-items: center;
    }




    /*================================================*/
    /* login */

    .login-form .full-page {
        max-width: 800px;
        margin: 0 auto;
    }

    /*================================================*/
    /* register */

    #register .full-page {
        max-width: initial;
        margin: 0 auto;
    }
    .input-block-area {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .input-block-area .input-block {
        width: calc(50% - 5px);
    }

    .input-verification-code-block {
        padding: 20px 0;
    }

    .verification {
        display: flex;
        align-items: center;
    }

    .register_form .img-block {
        margin-left: 15px;
    }

    #register .web-left-block {
        /* width: 370px; */
    }

    #register .web-right-block {
        /* width: calc(100% - 370px); */
    }

    #register .input-block .communication-software:last-child {
        margin-top: 0;
    }

}







.test {
    color: rgb(255, 170, 58);
    color: rgba(238, 187, 195, 1);
    color: rgba(42, 46, 57, 1);
    color: rgba(255, 255, 254, 1);
    color: rgba(184, 193, 236, 0.12);
    color: rgba(184, 193, 236, 0.12);
    color: rgba(184, 193, 236, 0.12);
}