@charset "utf-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
}

body {
    font: 12px "宋体", Arial, Helvetica, sans-serif;
    color: #756F71;
}

img {
    border: 0;
    display: block;
}

ul {
    list-style: none;
}

a:link, a:visited {
    text-decoration: none;
    color: #333;
}

/* header */
header {
    width: 1000px;
    height: 80px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

#logo a {
    width: 300px;
    height: 60px;
    margin: 10px 0 0 0;
    position: absolute;
    background: url("../images/logo.png") no-repeat;
    display: block;
}

nav {
    float: right;
    width: 100%;
    margin: 30px 0 0 0;
    text-align: right;
}

    nav a {
        margin: 0 5px;
        padding: 0 8px;
        position: relative;
        display: inline-block;
        font-size: 18px;
        font-family: "微软雅黑", Arial, Helvetica, sans-serif;
    }

        nav a:hover {
            text-decoration: none;
        }

        nav a span:first-child {
            z-index: 2;
            display: block;
        }

        nav a span:last-child {
            z-index: 1;
            display: block;
            color: #999;
            font: 12px Georgia, serif;
            opacity: 0;
            -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
            -moz-transition: -moz-transform 0.3s, opacity 0.3s;
            transition: transform 0.3s, opacity 0.3s;
            -webkit-transform: translateY(-100%);
            -moz-transform: translateY(-100%);
            transform: translateY(-100%);
            text-align: center;
        }

        nav a:hover span:last-child, nav a:focus span:last-child {
            opacity: 1;
            -webkit-transform: translateY(0%);
            -moz-transform: translateY(0%);
            transform: translateY(0%);
        }

#topnav_current {
    color: #e15782;
}

.en {
    color: #999;
    font-size: 12px;
    z-index: 1;
    display: block;
}

/* article */
article {
    width: 1000px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

h1.t_nav {
    border-bottom: #F1F1F1 1px solid;
    font-size: 12px;
    font-weight: normal;
    line-height: 40px;
    height: 40px;
}

    h1.t_nav a {
        width: 100px;
        display: block;
        text-align: center;
        color: #fff;
        float: left;
    }

    h1.t_nav span {
        float: right;
        color: #999;
    }

.n1 {
    background: #5EA51B;
}

.n2 {
    background: #8BBF5D;
}

/* main */
main {
    min-height: 600px;
    margin-right: 265px; /* aside=250, margin=15 */
    padding-right: 25px; /* r_line=10, margin=15 */
    background: url("../images/r_line.jpg") repeat-y right;
    line-height: 22px;
}

    main h2 {
        font-size: 22px;
        font-family: 'Architects Daughter', cursive;
        margin-bottom: 20px;
    }

    main p {
        margin-bottom: 20px;
        text-align: justify;
    }

/* aside */
aside {
    width: 250px;
    position: absolute;
    top: 40px; /* t_nav height=40 */
    right: 0;
}

main, aside {
    margin-top: 20px;
}

/* footer */
footer {
    text-align: center;
    line-height: 40px;
    border-top: #E8E8E8 1px solid;
    width: 1000px;
    margin: auto;
}

/* home */
.home {
    background: url("../images/bgphoto.jpg") no-repeat;
    background-size: cover;
    position: relative;
    opacity: 0.8;
}

    .home div {
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
    }

        .home div p {
            color: #333;
            font-size: 16px;
            line-height: 26px;
            text-indent: 2em;
            text-align: justify;
            margin-bottom: 20px;
        }

/* about */
.aboutcon {
    background: url("../images/aboutphoto.jpg") no-repeat bottom right;
    overflow: hidden;
    color: #696969;
}

.about_c {
    padding: 10px 0 0 0;
    color: #999;
    line-height: 26px;
}

    .about_c span {
        color: #19A566;
    }

    .about_c .sign {
        width: 150px;
        margin: 20px 30px;
    }

/* r_nav */
.r_nav {
    overflow: hidden;
    background: url("../images/clip.png") no-repeat left top;
}

    .r_nav h2 {
        font-size: 14px;
        padding-left: 40px;
        line-height: 30px;
        height: 30px;
        margin-bottom: 5px;
    }

.cell li {
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-bottom: 10px;
    float: left;
    height: 40px;
    line-height: 40px;
}

.cell[class*="col2"] li {
    width: 120px;
}

    .cell[class*="col2"] li:nth-child(even) {
        margin-left: 8px;
    }

.cell[class*="normal"] li a {
    color: #333;
    display: block;
    border: #CCC 1px solid;
}

    .cell[class*="normal"] li.active, .cell[class*="normal"] li a:hover {
        background: rgba(232,232,232,0.5);
        font-weight: bold;
    }

.r_nav1 {
    background: #FE5187;
}

.r_nav2 {
    background: #339967;
}

.r_nav3 {
    background: #FF8151;
}

.r_nav4 {
    background: #66CC9A;
}

    .r_nav1 a, .r_nav2 a, .r_nav3 a, .r_nav4 a {
        color: #FFF;
        display: block;
        border: none;
    }

        .r_nav1 a:hover, .r_nav2 a:hover, .r_nav3 a:hover, .r_nav4 a:hover {
            background: rgba(255,255,255,0.2);
            font-weight: bold;
        }

/* r_nav tab */
.tab-container {
    border: 1px solid #ccc;
}

.tab-labels {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

    .tab-labels li {
        flex: 1;
        text-align: center;
        padding: 10px;
        background: #E8E8E8;
        cursor: pointer;
    }

        .tab-labels li.active {
            background: #ffffff;
        }

.tab-panel {
    padding: 10px;
}

    .tab-panel li {
        height: 25px;
        line-height: 25px;
        padding-left: 10px;
        background: url("../images/li.jpg") no-repeat left center;
    }

        .tab-panel li a {
            color: #333;
        }

            .tab-panel li a:hover {
                text-decoration: underline;
            }

/* r_list */
.r_list {
    margin: 20px 0;
}

    .r_list h3 {
        font-size: 14px;
        background: url("../images/r_title_bg.jpg") repeat-x center;
    }

        .r_list h3 > span {
            background: #fff;
            display: block;
            width: 70px;
        }

        .r_list h3 span span {
            color: #65b020;
        }

    .r_list ul {
        margin: 10px 0 20px 0;
    }

        .r_list ul li {
            height: 25px;
            line-height: 25px;
            padding-left: 10px;
            background: url("../images/li.jpg") no-repeat left center;
        }

            .r_list ul li a {
                color: #333;
            }

                .r_list ul li a:hover {
                    text-decoration: underline;
                }

/* mediaList */
.mediaList {
    overflow: hidden;
}

    .mediaList li {
        margin: 0 10px 10px 0;
        float: left;
        position: relative;
    }

        .mediaList li a {
            width: 216px;
            height: 160px;
            padding: 4px;
            display: flex;
            border: #EAE6E7 1px solid;
        }

            .mediaList li img {
                max-width: 100%;
                max-height: 100%;
                margin: auto;
            }

        .mediaList li div {
            width: 216px;
            text-align: center;
            display: inline-block;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

/* video */
span.mask-play {
    background: url("../images/mask-play.png") no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -33px 0 0 -23px;
    width: 46px;
    height: 46px;
}

.has-youtube .fancybox__content, .has-vimeo .fancybox__content, .has-html5video .fancybox__content {
    width: 100% !important;
    height: auto !important;
}

/* diaryList */
.diaryList li {
    margin: 20px 0;
}

    .diaryList li div.status {
        text-align: right;
    }

        .diaryList li div.status a.readmore {
            background: #f90;
            color: #fff;
            padding: 5px 10px;
            margin: 20px 0 0 0;
        }

    .diaryList li div.line {
        height: 20px;
        border-bottom: 1px dashed #ccc;
    }

    .diaryList li:last-child div.line {
        visibility: hidden;
    }

#loading {
    display: flex;
    height: 300px;
    justify-content: center;
    align-items: center;
}

#diaryFrame {
    width: 100%;
    border: none;
    display: none;
}

.backList {
    text-align: right;
    display: none;
}

    .backList a {
        background: #f90;
        color: #fff;
        padding: 5px 10px;
        margin: 20px 0 0 0;
    }

/* page navigation */
.page {
    margin: 20px 0 0 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

    .page a b {
        color: #999;
    }

    .page b, .page a {
        margin: 0 2px;
        height: 26px;
        line-height: 26px;
        border-radius: 50%;
        width: 26px;
        text-align: center;
        display: inline-block;
    }

    .page a {
        color: #F33;
        border: #999 1px solid;
    }

        .page b, .page a:hover {
            background: #333;
            color: #FFF;
        }

/* login */
#loginForm {
    position: relative;
    margin: 80px auto;
    padding: 20px 20px 20px;
    width: 310px;
    background: white;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}

    #loginForm:before {
        content: '';
        position: absolute;
        top: -8px;
        right: -8px;
        bottom: -8px;
        left: -8px;
        z-index: -1;
        background: rgba(0, 0, 0, 0.08);
        border-radius: 4px;
    }

    #loginForm h1 {
        margin: -20px -20px 21px;
        line-height: 40px;
        font-size: 15px;
        font-weight: bold;
        color: #555;
        text-align: center;
        text-shadow: 0 1px white;
        background: #f3f3f3;
        border-bottom: 1px solid #cfcfcf;
        border-radius: 3px 3px 0 0;
        background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
        background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
        background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
        background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
        -webkit-box-shadow: 0 1px whitesmoke;
        box-shadow: 0 1px whitesmoke;
    }

    #loginForm p {
        margin: 20px 0 0;
    }

    #loginForm p.status {
        color: red;
    }

    #loginForm input[type=password] {
        width: 278px;
    }

    #loginForm p.button {
        text-align: center;
    }

input {
    font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
    font-size: 14px;
}

    input[type=password] {
        margin: 5px;
        padding: 0 10px;
        width: 200px;
        height: 34px;
        color: #404040;
        background: white;
        border: 1px solid;
        border-color: #c4c4c4 #d1d1d1 #d4d4d4;
        border-radius: 2px;
        outline: 5px solid #eff4f7;
        -moz-outline-radius: 3px;
        -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    }

        input[type=password]:focus {
            border-color: #7dc9e2;
            outline-color: #dceefc;
            outline-offset: 0;
        }

    input[type=submit], input[type=reset] {
        margin: 0 5px;
        padding: 0 18px;
        height: 29px;
        font-size: 12px;
        font-weight: bold;
        color: #527881;
        text-shadow: 0 1px #e3f1f1;
        background: #cde5ef;
        border: 1px solid;
        border-color: #b4ccce #b3c0c8 #9eb9c2;
        border-radius: 16px;
        outline: 0;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        background-image: -webkit-linear-gradient(top, #edf5f8, #cde5ef);
        background-image: -moz-linear-gradient(top, #edf5f8, #cde5ef);
        background-image: -o-linear-gradient(top, #edf5f8, #cde5ef);
        background-image: linear-gradient(to bottom, #edf5f8, #cde5ef);
        -webkit-box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
        box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
    }

        input[type=submit]:active, input[type=reset]:active {
            background: #cde5ef;
            border-color: #9eb9c2 #b3c0c8 #b4ccce;
            -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
            box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
        }

/* error */
.error {
    margin: 80px 0;
    border-top: 4px solid #dc1d00;
}

    .error h2 {
        color: #CC0000;
        margin: 3px 0 0;
        font-size: 1.7em;
        padding: 20px 20px 10px;
        border: 1px solid #CFCFCF;
        border-bottom: none;
        background: #F2F2F2;
    }

    .error h3 {
        color: #000000;
        margin: 0;
        font-size: 1.2em;
        padding: 0 20px 20px;
        border: 1px solid #CFCFCF;
        border-top: none;
        background: #F2F2F2;
    }

