@charset "utf-8";
/* CSS Document */
*{
    font-family: Microsoft JhengHei, Arial;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body,h1,h2,h3,h4,h5,h6,ul,ol,dl,dt,dd,p{
    margin:0px;
    padding:0px;
}
ul,ol{
    list-style:none;
}
a img{
    border:none;
}
a{
    text-decoration:none;
}
select,
input[type='tel'],
input[type='email'],
input[type='number'],
input[type='text'],
input[type='password'],
input[type='search'],
input[type='button'],
button,
textarea{
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
}
input[type='tel']::-ms-clear,
input[type='email']::-ms-clear,
input[type='number']::-ms-clear,
input[type='text']::-ms-clear,
input[type='password']::-ms-clear,
input[type='search']::-ms-clear,
input[type='button']::-ms-clear {
    display: none;
}

/* =========================================================
 * 彈跳訊息區塊
 * ========================================================= */
#cyMsgBox,
#cyMsgBox>.alert{
    width: calc(100% - 10% * 2);
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 10%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 999;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox,
    #cyMsgBox>.alert{
        width: calc(100% - 5% * 2);
        padding: 0px 5%;
    }
}

#cyMsgBox>.contentArea,
#cyMsgBox>.alert>.contentArea{
    min-width: calc(20% - 2.60417vw * 2);
    max-width: calc(100% - 2.60417vw * 2);
    min-height: calc(20% - 2.60417vw * 2);
    max-height: calc(100% - 2.60417vw * 2);
    overflow: auto;
    background: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 1);
    display: flex;
    font-size: 0.72916vw;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.60417vw;
    position: relative;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea,
    #cyMsgBox>.alert>.contentArea{
        min-width: calc(60% - 6.25vw * 2);
        max-width: calc(100% - 6.25vw * 2);
        min-height: calc(20% - 6.25vw * 2);
        max-height: calc(100% - 6.25vw * 2);
        font-size: 4.375vw;
        padding: 6.25vw;
    }
}
#cyMsgBox>.contentArea>.title{
    width: 100%;
    color: rgba(197, 58, 46, 1);
    font-size: 1.5625vw;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0px 0px 1.5625vw 0px;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea>.title{
        font-size: 6.25vw;
        margin: 0px 0px 3.125vw 0px;
    }
}
#cyMsgBox>.contentArea>.title.line{
    border-bottom: 1px solid rgba(0, 0, 0, 1);
    margin: 0px;
    padding: 0px 0px 1.5625vw 0px;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea>.title.line{
        font-size: 6.25vw;
        padding: 0px 0px 3.125vw 0px;
    }
}
#cyMsgBox>.contentArea>.subTitle{
    width: 100%;
    color: rgba(0, 0, 0, 1);
    font-size: 1.5625vw;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea>.subTitle{
        font-size: 6.25vw;
        margin: 0px 0px 3.125vw 0px;
    }
}
#cyMsgBox>.contentArea>.content,
#cyMsgBox>.alert>.contentArea>.content{
    width: 100%;
    color: rgba(0, 0, 0, 1);
    font-size: 1.04167vw;
    text-align: center;
    display: block;
    /*
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    */
    padding: 1.5625vw 0px;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea>.content,
    #cyMsgBox>.alert>.contentArea>.content{
        font-size: 4.375vw;
        padding: 3.125vw 0px;
    }
}
#cyMsgBox>.contentArea>.content>.form{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
#cyMsgBox>.contentArea>.content>.form>input[type='text']{
    width: 100%;
    border-radius: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 1);
    padding: 0px;
}
#cyMsgBox>.contentArea>.content>.form>textarea{
    width: 100%;
    height: 20vh;
    border: 0px;
    font-size: 0.833vw;
    padding: 0px;
    margin: 1.5625vw 0px 0px 0px;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea>.content>.form>textarea{
        height: 50vh;
        font-size: 4.375vw;
        margin: 3.125vw 0px 0px 0px;
    }
}
#cyMsgBox>.contentArea hr{
    border-bottom: 1px solid rgba(0, 0, 0, 1);
}
#cyMsgBox>.contentArea>.buttons,
#cyMsgBox>.alert>.contentArea>.buttons{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#cyMsgBox>.contentArea>.buttons>ul,
#cyMsgBox>.alert>.contentArea>.buttons>ul{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#cyMsgBox>.contentArea>.buttons>ul>li,
#cyMsgBox>.alert>.contentArea>.buttons>ul>li{
    display: flex;
    flex-grow: 1;
    margin: 5px;
}
#cyMsgBox>.contentArea>.buttons>ul>li>input[type='button'],
#cyMsgBox>.alert>.contentArea>.buttons>ul>li>input[type='button']{
    min-width: 15vw;
}
@media screen and (max-aspect-ratio: 4/3){
    #cyMsgBox>.contentArea>.buttons>ul>li>input[type='button'],
    #cyMsgBox>.alert>.contentArea>.buttons>ul>li>input[type='button']{
        min-width: 30vw;
    }
}
#cyMsgBox>.contentArea img,
#cyMsgBox>.contentArea video,
#cyMsgBox>.alert>.contentArea img,
#cyMsgBox>.alert>.contentArea video{
    max-width: 100%;
}
