﻿/* 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;
}

a {
    text-decoration: none;
}

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;
}

body {
    padding-top: 0px;
    padding-bottom: 0px;
    /*background-color: #f7f7f5;*/
}

    body::-webkit-scrollbar {
        display: none;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

footer {
    text-align: center;
}

/* Set width on the form input elements since they're 100% wide by default 
input,
select,
textarea {
    max-width: 280px;
}*/
.index {
    width: auto;
    position: fixed;
    z-index: auto;
}

.msg {
    display: flex;
    left: 27.6%;
    z-index: 8;
    position: absolute;
    height: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    /* 修改以下值試試看 flex-start | flex-end | center | space-between | space-around;*/
    justify-content: flex-start;
    /* 修改以下值試試看 flex-start | flex-end | center | space-between | space-around | stretch align-content: flex-start;*/
    width: 72.4%;
}

.msgbg {
    width: 18%;
    height: auto;
    position: absolute;
}

.msga {
    position: relative;
    width: 80%;
    height: 25%;
    overflow: hidden;
    display: inline-block;
    word-break: break-all;
    font-size: 20px;
    padding-top: 75%;
    padding-left: 11%;
}

.msgb {
    width: 18%;
    margin-left: 6%;
    margin-bottom: 4%;
    justify-content: center;
    align-items: flex-start;
    font-size: 2rem;
    /* padding: 100px; */
    height: 29%;
}

.msgfont {
    display: inline-block;
    width: 10em;
    word-break: break-all;
    font-size: large;
}

/**/
.
/**/
label {
    font-family: Microsoft JhengHei;
}

/*MANAGER*/
.wrap {
    margin: 15% auto;
    /* width: 28%; */
    background: white;
    height: 360px;
    width: 510px;
}

.header {
    height: 80px;
    background: #66B3FF;
}

    .header h2 {
        font-size: 30px;
        text-align: center;
        line-height: 80px;
    }

.container {
    display: flex;
    flex-direction:column
}

.logo {
    padding-left: 20px;
    padding-top: 60px;
}

.content {
    padding-left: 20px;
    padding-top: 10px;
}

.form-group {
    padding: 5px;
    font-size: 20px;
}

#Button1 {
    margin-left: 5px;
    margin-top: none;
}

#TextBox1, #TextBox2, #TextBox3, #Button1 {
    font-size: 20px;
}
/*MANAGER*/
/*left*/
.outerest {
    width: 230px;
    float: left;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 180px;
    margin: 10px;
    height: 100%;
    overflow: hidden;
    border: 1px solid #cccccc;
    background-image: url('../images/left_bg.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: #FFFFFF;
}

.login_logo {
    width: 230px;
    height: 75px;
    margin-bottom: 10px;
}

    .login_logo img {
        width: 220px;
        height: 75px;
    }

.login_meg {
    line-height: 26px;
    font-size: 12px;
    padding-left: 10px;
    padding-bottom: 5px;
    width: 100%;
    height: 78px;
    background-image: url(../images/login_meg.png);
    background-repeat: no-repeat;
    color: #FFFFFF;
}
/*a01 第一層*/
ul.a01 {
    width: 220px;
    height: 100%;
    text-decoration: none;
}

    ul.a01 li {
        width: 220px;
        list-style: none;
        font-weight: bold;
        text-align: left;
    }

        ul.a01 li a {
            width: 220px;
            height: 40px;
            line-height: 40px;
            float: left;
            color: #FFFFFF;
            background-image: url(../images/bg01_green.png);
            background-repeat: no-repeat;
            background-position: center;
            margin: 5px auto;
        }

            ul.a01 li a:hover {
                width: 220px;
                height: 40px;
                line-height: 40px;
                float: left;
                color: #FFFFFF;
                background-image: url(../images/bg01_orange.png);
                background-repeat: no-repeat;
                background-position: center;
            }

            ul.a01 li a.this {
                width: 220px;
                height: 40px;
                line-height: 40px;
                float: left;
                color: #FFFFFF;
                background-image: url(../images/bg01_gray.png);
                background-repeat: no-repeat;
                background-position: center;
            }
/*a02 第二層*/
ul.a02 {
    width: 220px;
    height: 100%;
    text-decoration: none;
}

    ul.a02 li {
        width: 220px;
        list-style: none;
        text-align: left;
    }

        ul.a02 li a {
            width: 220px;
            height: 40px;
            line-height: 35px;
            float: left;
            color: #09C;
            padding-left: 50px;
            font-weight: bold;
            background-image: url(../images/bg02_gray1.png);
            background-repeat: no-repeat;
            background-position: center;
            margin: 5px auto 0 -25px;
        }

            ul.a02 li a:hover {
                width: 220px;
                height: 40px;
                line-height: 35px;
                float: left;
                color: #0cc;
                padding-left: 50px;
                font-weight: bold;
                background-image: url(../images/bg02_orange1.png);
                background-repeat: no-repeat;
                background-position: center;
                margin: 5px auto 0 -25px;
            }

            ul.a02 li a.this {
                width: 220px;
                height: 40px;
                line-height: 35px;
                float: left;
                color: #ffffff;
                background-image: url(../images/bg02_green.png);
                background-repeat: no-repeat;
                background-position: center;
            }
/*a03 第三層*/
ul.a03 {
    width: 220px;
    height: 100%;
    text-decoration: none;
}

    ul.a03 li {
        width: 220px;
        list-style: none;
        text-align: left;
    }

        ul.a03 li a {
            width: 200px;
            height: 40px;
            line-height: 40px;
            float: left;
            color: #000000;
            margin-left: 20px;
            padding-left: 20px;
            background-image: url(../images/bg03_green1.png);
            background-repeat: no-repeat;
            background-position: center;
        }

            ul.a03 li a:hover {
                width: 200px;
                height: 40px;
                line-height: 40px;
                float: left;
                color: #000000;
                margin-left: 20px;
                padding-left: 20px;
                background-image: url(../images/bg03_orange1.png);
                background-repeat: no-repeat;
                background-position: center;
            }

            ul.a03 li a.this {
                width: 220px;
                height: 40px;
                line-height: 40px;
                float: left;
                color: #000000;
                background-image: url(../images/bg03_gray.png);
                background-repeat: no-repeat;
                background-position: center;
            }

.main {
    float: left;
}


@media screen and (min-width: 800px) {
    .send {
        position: static;
        text-align: right;
        width: 50%;
    }

    .send2 {
        text-align: left;
        position: static;
        width: 50%;
        vertical-align: bottom;
        margin-top: 150px
    }

    .bd {
        margin-left: 20%;
        margin-right: 20%;
        display: flex;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        /* 修改以下值試試看 flex-start | flex-end | center | space-between | space-around;*/
        justify-content: center;
        /* 修改以下值試試看 flex-start | flex-end | center | space-between | space-around | stretch align-content: flex-start;*/
    }

    .bdd {
        width: 100%;
        align-self: center;
    }

    .msghead {
        width: 40%;
    }

    .foot {
        text-align: center;
        Width: 40%;
    }
}

@media screen and (max-width: 799px) {
    .send {
        text-align: center;
        width: 100%;
    }

    .send2 {
        text-align: center;
        width: 100%;
    }

    .bd {
        margin-left: 0;
        margin-right: 0;
        height: auto;
        width: auto;
    }

    .bdd {
        align-self: center;
    }

    .msghead {
        width: 70%;
    }

    .foot {
        text-align: center;
        Width: 60%;
    }
}
