﻿@charset"utf-8";

/*CSS reset*/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, strong, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, i {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    vertical-align: middle;
    box-sizing: border-box;
}

ol, ul {
    list-style: none;
}

a {
    color: #505878;
}

    a, a:hover {
        text-decoration: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a, button, input, a:active, button:active, input:active, a:focus, button:focus, input:focus {
    outline: none;
}

/*全局样式*/

body {
    font: 16px/1.5 "微软雅黑","Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #505878;
    background: #FFFFFF;
    text-align: center;
    position: relative;
    -webkit-font-smoothing: antialiased; /*字體抗鋸齒*/
    min-width: 1280px;
}

/*去除iPhone默认表单样式*/
input[type="button"], input[type="submit"], input[type="reset"] {
    -webkit-appearance: none;
    border-radius: none;
}

textarea {
    -webkit-appearance: none;
}

/*汕头教育云头部样式*/
.yun-head {
    width: 100%;
    height: 100px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    position: relative;
    z-index: 999;
}

.yun-line {
    width: 100%;
    height: 6px;
    background: #1a70fe;
    background: -webkit-linear-gradient(left,#00e6ad 0%,#1a70fe 100%);
}

.yun-head-container {
    width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
}

.yun-head-c-logo {
    width: 345px;
    height: 60px;
    margin-top: 30px;
    float: left;
}
/*导航菜单*/
.yun-head-c-nav {
    float: left;
    margin-top: 40px;
    margin-left: 100px;
}

    .yun-head-c-nav .yun-nav-close {
        display: none;
    }

.yun-nav-i {
    display: inline-block;
    padding: 5px 15px;
    position: relative;
    height: 60px;
    transition: 0.3s all ease-in-out;
}

    .yun-nav-i:after {
        content: " ";
        display: block;
        height: 4px;
        background-color: #1a70fe;
        width: 0;
        margin-top: 10px;
        transition: 0.3s all ease-in-out;
    }

.yun-nav-i-t {
    font-size: 18px;
}

.yun-nav-open {
    position: relative;
}

    .yun-nav-open:after {
        content: " ";
        display: block;
        height: 10px;
        width: 16px;
        background: url("/images/NewIndex/nav_open.png") no-repeat;
        position: absolute;
        top: 10px;
        right: -16px;
        transition: 0.3s all ease-in-out;
    }
/*二级菜单*/
.yun-nav-i-ul {
    position: absolute;
    top: 60px;
    left: 0;
    width: 260px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    display: none;
}

    .yun-nav-i-ul li a {
        display: block;
        border-bottom: 1px solid #eee;
        padding: 10px 20px;
        text-align: left;
    }

.yun-nav-i:hover:after, .yun-nav-i.actived:after {
    width: 100%;
}

.yun-nav-i:hover .yun-nav-i-t, .yun-nav-i.actived .yun-nav-i-t {
    color: #1a70fe;
}

.yun-nav-i:hover .yun-nav-open:after {
    transform: rotate(-180deg);
}

.yun-nav-i:hover .yun-nav-i-ul {
    display: block;
}

.yun-nav-i-ul li:hover a {
    color: #1a70fe;
}

/*用户信息及搜索*/
.yun-head-c-set {
    float: right;
    /*margin-top: 40px;*/
    margin-top: 25px;
}
/*搜索框*/
.yun-set-search {
    display: inline-block;
    height: 38px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 38px;
    padding: 5px 8px 5px 20px;
}

    .yun-set-search input[type=text], .yun-set-search input[type=text]:focus, .yun-set-search input[type=text]:active {
        border: none;
        background: transparent;
        float: left;
        line-height: 26px;
        font-size: 14px;
    }

.yun-btn-search {
    height: 26px;
    width: 26px;
    padding: 0;
    float: right;
    background-color: transparent;
    background-image: url("/images/NewIndex/search.png");
    border: none;
    text-indent: -99999px;
    cursor: pointer;
}

    .yun-btn-search:hover {
        background-position: right;
    }
/*用户信息*/
.yun-set-userbox {
    display: inline-block;
}

.yun-btn {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    background: #1a70fe;
    border-radius: 38px;
    cursor: pointer;
}

    .yun-btn:hover {
        background: url("/images/NewIndex/btn-bg.jpg") top center;
    }

.yun-btn-text {
    color: #fff;
    padding: 0 20px;
}

    .yun-btn-text:hover {
        color: #fff;
    }

.yun-btn-icon {
    width: 38px;
    position: relative;
}

.yun-btn-icon-t {
    position: absolute;
    font-size: 12px;
    padding: 38px 0 5px;
    top: 0;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    /*display: none;*/
}

.yun-btn-hide {
    display: none;
}

.yun-btn-mhide {
    display: block;
}
@media only screen and (max-device-width:480px) {
    .yun-btn-mhide {
        display: none;
    }
}

    .yun-btn-icon-nav {
        position: absolute;
        top: 81px;
        right: -10px;
        width: 150px;
        background-color: #fff;
        z-index: 999;
        box-shadow: 0 1px 3px rgba(0,0,0,0.35);
        display: none;
    }

        .yun-btn-icon-nav li a {
            display: block;
            text-align: left;
            padding: 5px 20px;
            border-bottom: 1px solid #eee;
        }

    .yun-reddoc {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 12px;
        width: 12px;
        border-radius: 12px;
        background-color: #e90000;
    }

    .yun-btn-icon-nav li a:hover {
        color: #1a70fe;
    }

    .yun-btn-icon:hover .yun-btn-icon-t, .yun-btn-icon:hover .yun-btn-icon-nav {
        display: block;
    }

    /*重写bootstrap中模态框Modal样式*/
    .modal {
        margin-top: 70px;
    }

    .modal-content {
        border-radius: 0;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-body {
        padding: 0;
    }
    /*待办事项弹出模态框样式*/
    .yun-work-list > li > a {
        display: block;
        border-bottom: 1px solid #ddd;
        text-align: left;
        padding: 20px 60px;
        font-size: 16px;
        font-weight: bold;
        background: url("/images/NewIndex/list_bg.jpg");
        position: relative;
    }

        .yun-work-list > li > a:before, .yun-work-list > li > a:after {
            display: block;
            position: absolute;
            top: 50%;
        }

        .yun-work-list > li > a:before {
            content: " ";
            height: 10px;
            width: 10px;
            border-radius: 10px;
            background-color: #e90000;
            left: 30px;
            margin-top: -5px;
        }

        .yun-work-list > li > a:after {
            content: "›";
            font-size: 40px;
            right: 30px;
            color: #ddd;
            height: 40px;
            line-height: 40px;
            margin-top: -22px;
        }

        .yun-work-list > li > a:hover {
            background: url("/images/NewIndex/list_bg_dark.jpg");
        }

            .yun-work-list > li > a:hover:after {
                color: #aaa;
            }

    /*底部样式*/
    .yun-foot {
        background-color: #5674a5;
    }

    .yun-foot-container {
        width: 1280px;
        padding: 40px 20px;
        margin: 0 auto;
        text-align: left;
    }

    .yun-foot-c-t {
        font-size: 12px;
        text-align: left;
        color: #c7d5eb;
        padding: 2px 0;
    }

    /* for 480 px width screen */
    @media only screen and (max-device-width:480px) {
        body {
            min-width: 100%;
        }

        .yun-head {
            height: 48px;
            position: fixed;
            top: 0;
        }

        .yun-line {
            height: 3px;
        }

        .yun-head-container {
            width: 100%;
            padding: 0;
        }

        .yun-head-c-logo {
            width: 240px;
            height: 20px;
            margin: 10px 5px;
        }

            .yun-head-c-logo > img {
                width: 100%;
            }
        /*导航菜单*/
        .yun-head-c-nav {
            position: fixed;
            clear: both;
            margin-top: 0;
            margin-left: 0;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0,0,0,0.5);
            z-index: 9999;
        }

        .yun-nav-panel {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 200px;
            overflow: hidden;
            background: #1a70fe;
            background: -webkit-linear-gradient(top,#00e6ad 0%,#1a70fe 100%);
            box-shadow: -1px 0 3px rgba(0,0,0,0.25);
            padding: 50px 0 0;
        }

        .yun-head-c-nav .yun-nav-close {
            display: block;
            position: absolute;
            height: 40px;
            width: 40px;
            top: 0;
            right: 0;
            font-size: 40px;
            line-height: 40px;
            background-color: transparent;
            border: none;
            z-index: 999;
        }

        .yun-nav {
            position: absolute;
            top: 100px;
            bottom: 120px;
            left: 0;
            right: 0;
            overflow-y: scroll;
        }

        .yun-nav-i {
            display: block;
            padding: 0;
            position: relative;
            height: inherit;
            transition: 0.3s all ease-in-out;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

            .yun-nav-i:after {
                display: none;
            }

        .yun-nav-i-t {
            display: block;
            font-size: 18px;
            text-align: left;
            padding: 10px 30px;
            color: #fff;
        }

        .yun-nav-open {
            position: relative;
        }

            .yun-nav-open:after {
                content: "▼";
                position: relative;
                display: inline-block;
                top: -3px;
                right: 0;
                height: 100%;
                margin-left: 10px;
                background: none;
                font-size: 12px;
            }
        /*二级菜单*/
        .yun-nav-i-ul {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0,0,0,0.05);
            box-shadow: none;
            display: block;
        }

            .yun-nav-i-ul li a {
                display: block;
                border-bottom: none;
                padding: 10px 0;
                margin-left: 50px;
                text-align: left;
                color: #fff;
                font-size: 14px;
                border-bottom: 1px dotted rgba(255,255,255,0.2);
            }

        .yun-nav-i:hover:after, .yun-nav-i.actived:after {
            width: 100%;
        }

        .yun-nav-i:hover .yun-nav-i-t, .yun-nav-i.actived .yun-nav-i-t {
            color: #fff;
        }

        .yun-nav-i:hover .yun-nav-open:after {
            transform: rotate(0deg);
        }

        .yun-nav-i:hover .yun-nav-i-ul {
            display: block;
        }

        .yun-nav-i-ul li:hover a {
            color: #fff;
        }
        /*用户信息及搜索*/
        .yun-head-c-set {
            margin-top: 0;
        }
        /*搜索框*/
        .yun-set-search {
            position: absolute;
            top: 53px;
            left: 0;
            right: 0;
            height: 50px;
            margin: 0 20px;
            border: none;
            background: #fff;
            float: left;
            line-height: 30px;
            font-size: 14px;
            display: block;
            height: 40px;
            padding: 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }

        #yun-search {
            display: none;
        }

        .yun-set-search input[type=text], .yun-set-search input[type=text]:focus, .yun-set-search input[type=text]:active {
            border: none;
            background: transparent;
            float: left;
            height: 40px;
            line-height: 20px;
            padding: 10px 0 10px 20px;
            font-size: 14px;
        }

        .yun-btn-search {
            height: 40px;
            line-height: 40px;
            width: inherit;
            padding: 0 20px;
            background-image: none;
            text-indent: 0;
        }
        /*用户信息*/
        .yun-set-userbox {
            display: inline-block;
        }

        .yun-btn {
            display: inline-block;
            float: left;
            height: 45px;
            line-height: 45px;
            background: transparent;
            border-radius: 0;
            border-left: 1px solid #eee;
        }

            .yun-btn:hover {
                background: transparent;
            }

        .yun-btn-text {
            color: #1d66f2;
            padding: 0 20px;
        }

            .yun-btn-text:hover {
                color: #1d66f2;
            }

        .yun-btn-icon {
            width: 45px;
        }

        .yun-btn-hide {
            display: block;
        }

        #yun-index-user.yun-btn-icon {
            position: fixed;
            top: 40px;
            left: 0;
            height: 50px;
            width: 200px;
            z-index: 9999;
            text-align: left;
            padding: 0 20px;
            border-left: none;
        }

            #yun-index-user.yun-btn-icon > img {
                height: 40px;
                width: 40px;
                border-radius: 40px;
                background: #fff;
                display: inline-block;
            }

            #yun-index-user.yun-btn-icon > .yun-btn-icon-t {
                display: inline-block;
                /*padding: 0;*//*手机版姓名的样式*/
                padding: 0 30px;
                font-size: 14px;
                color: #fff;
                width: inherit;
            }

            #yun-index-user.yun-btn-icon > .yun-btn-icon-nav {
                position: fixed;
                top: auto;
                left: 0;
                bottom: 0;
                width: 200px;
                background-color: transparent;
                z-index: 9999;
                box-shadow: none;
                display: block;
                padding-bottom: 20px;
            }

        .yun-btn-icon-nav li a {
            font-size: 14px;
            padding: 0 20px;
            line-height: 30px;
            border-bottom: none;
            color: #fff;
        }

        .yun-reddoc {
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            height: 12px;
            width: 12px;
            border-radius: 12px;
            background-color: #e90000;
        }

        .yun-btn-icon-nav li a:hover {
            color: #1a70fe;
        }

        .yun-btn-icon:hover .yun-btn-icon-t, .yun-btn-icon:hover .yun-btn-icon-nav {
            display: none;
        }

        .yun-reddoc {
            top: 2px;
            right: 2px;
        }
        /*重写bootstrap中模态框Modal样式*/
        .modal {
            margin-top: 30px;
        }

        /*底部样式*/
        .yun-foot-container {
            width: 100%;
        }

        #yun-index-nav, #yun-index-user {
            display: none;
        }

            #yun-index-nav > .yun-nav-panel, #yun-index-user, #yun-index-user > .yun-btn-icon-nav {
                margin-right: -200px;
            }
    }

    .yun-school {
        margin: 40px auto;
        overflow: hidden;
        clear: both;
        width: 1240px;
    }

    .yun-schools {
        float: left;
        width: 206.66px;
        text-align: left;
        padding: 5px;
    }

        .yun-schools > a {
            display: block;
            border: 1px solid #ddd;
        }

            .yun-schools > a > img {
                width: 100%;
            }

    /* for 480 px width screen */
    @media only screen and (max-device-width:480px) {
        .yun-school {
            width: 100%;
            padding: 0 30px;
        }

        .yun-schools {
            width: 50%;
        }
    }
