/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: '微软雅黑', 'Microsoft Yahei', 'Helvetica', 'Lucida Sans Unicode', 'Lucida Grande', Arial, Helvetica, sans-serif;
    min-width: 280px;
    min-height: 240px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background: black no-repeat fixed bottom right;
    overflow: hidden;
}

img {
    border-style: none;
}

input {
    outline: none;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

a:active, a:hover {
    outline: none;
}

.infoContent a, a:focus, a:active, a:hover {
    color: #999592;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/backgroud.jpg) no-repeat fixed bottom right;
    background-size: cover;
    overflow: hidden;
}

.leftMenu {
    width: 40px;
    height: 100%;
    margin: 0;
    background-color: #1f1f1f;
    opacity: 0.8;
    position: relative;
    z-index: 1000;
}

.menuButtons {
    height: 150px;
    position: absolute;
    width: 100%;
    top: 50%;
    opacity: 1;
    margin-top: -120px;
}

.menuButtons a {
    display: block;
    width: 34px;
    height: 39px;
    margin-left: 5px;
    margin-top: 10px;
    border-style: none;

}

.icon4 {
    background: url("../img/sprite1.png") -395px -0px no-repeat;
}

.icon5 {
    background: url("../img/sprite1.png") -429px -0px no-repeat;
}

.icon6 {
    background: url("../img/sprite1.png") -463px -0px no-repeat;
}

.icon7 {
    background: url("../img/lab.png") no-repeat;
}

.welcomeText {
    position: absolute;
    top: 50%;
    margin-top: -114px;
    right: 5%;
    margin-right: 555px;
    width: 395px;
    height: 164px;
    overflow: hidden;
    background: url("../img/sprite1.png") -0px -0px no-repeat;
}

.loginContent {
    width: 530px;
    position: absolute;
    top: 50%;
    right: 5%;
    margin-top: -230px;
    background: url("../img/loginContent1.png") no-repeat;
    background-size: 100% 100%;
    float: left;
}

.forms {
    width: 282px;
    float: left;
}

.loginForm {
    width: 250px;
    margin-left: 15px;
}

.titleLabel {
    margin-top: 92px;
    color: white;
    margin-left: 2px;
}

.titleAlert {
    margin-top: 0;
    color: red;
    font-size: 12px;
}

.keepOn {
    color: white;
    font-size: 12px;
}

.options {
    margin-left: 2px;
    margin-top: 10px;
    width: 245px;
    height: 25px;
}

#forgetLabel {
    font-size: 12px;
    cursor: pointer;
    color: #3AB54A;
    float: left;
}

#languageLabel {
    font-size: 12px;
    cursor: pointer;
    color: #3AB54A;
    float: right;
}

#languageLabel span {
    color: gray;
}

.replace-right {
    width: 244px;
    height: 92px;
    float: left;
    margin: 0;
}

.news {
    width: 244px;
    height: 100px;
    float: left;
}

.news div {
    height: 20px;
    color: white;
    font-size: 14px;
    margin-left: 19px;
}

.news ul {
    color: #999592;
    font-size: 12px;
    padding-left: 19px;
    margin-top: 5px;
    margin-bottom: 1px;
    list-style-type: none;
}

.news li {
    height: 21px;
}

.news a, .news a:focus, .news a:active, .news a:hover {
    color: #999592;
}

.news a {
    display: block;
    width: 195px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news span {
    display: block;
    width: 59px;
    height: 17px;
    float: right;
    font-size: 12px;
}

.announcement {
    width: 244px;
    float: left;
    margin: 0;
}

.announcement-header {
    height: 20px;
    font-size: 14px;
    margin-left: 19px;
}

.announcement-list {
    font-size: 12px;
    padding-left: 19px;
    margin-top: 5px;
    margin-bottom: 1px;
    list-style-type: none;
}

.announcement-list li {
    height: 21px;
}

.announcement-list a {
    display: block;
    width: 195px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.announcement-more {
    display: block;
    width: 59px;
    height: 17px;
    float: right;
    font-size: 12px;
}

.announcement .announcement-header {
    color: white;
}

.announcement a, .announcement a:focus, .announcement a:active, .announcement a:hover {
    color: #999592;
}

.announcement-import a, .announcement-import a:focus, .announcement-import a:active, .announcement-import a:hover {
    color: #ff1947;
}

.copyright {
    bottom: 8px;
    text-align: center;
    color: white;
    font-size: 12px;
    position: absolute;
    display: block;
    width: 100%;
    line-height: 20px;
}

/* Login Success Stylesheet */

.brightBackground {
    -webkit-filter: blur(10px) brightness(0.6);
    -moz-filter: blur(10px) brightness(0.6);
    -o-filter: blur(10px) brightness(0.6);
    -ms-filter: blur(10px) brightness(0.6);
    filter: blur(10px) brightness(0.6);
}

.topMenu {
    width: 100%;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
}

.logo {
    width: 178px;
    height: 19px;
    background: url("../img/gridsumLogo.png") no-repeat;
    margin-top: 11px;
    margin-left: 7.1%;
    float: left;
}

.accountBox {
    min-width: 100px;
    height: 19px;
    margin-top: 10px;
    margin-right: 1.8%;
    float: right;
    color: white;
    font-size: 13px;
}

.accountBox span {
    padding-right: 10px;
    padding-left: 7px;
    background: url(../img/lineIcon.png) no-repeat right;
}

.accountBox .lastSpan {
    background: none;
}

.accountBox .clickSpan:hover {
    cursor: pointer;
    color: #96CB47;
}

.dashBoard {
    width: 178px;
    position: absolute;
    top: 13%;
    left: 7%;
    z-index: 1111;
}

.dashBoard span {
    cursor: pointer;
    width: 70%;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 30%;
    background: url(../img/text.png) no-repeat left top;
    background-size: 100%;
}

.dashBoard #version1 {
    z-index: 100;
}

.dashBoard #version2 {
    background-position: left bottom;
    z-index: 50;
}

.dashBoard-en {
    width: 178px;
    position: absolute;
    top: 13%;
    left: 7%;
    z-index: 1111;
}

.dashBoard-en span {
    cursor: pointer;
    width: 70%;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 30%;
    background: url(../img/text-en.png) no-repeat left top;
    background-size: 100%;
}

.dashBoard-en #version1 {
    z-index: 100;
}

.dashBoard-en #version2 {
    background-position: left bottom;
    z-index: 50;
}

.products {
    position: absolute;
    width: 100%;
    top: 50%;
    margin-top: -17.5%;
    bottom: 5%;
}

.products img {
    cursor: pointer;
}

.mProduct img {
    width: 100%;
    height: auto;
}

.bProduct {
    height: 13%;
    position: absolute;
    bottom: 0;
    display: table;
}

.imgs3 {
    width: 80%;
    left: 10%;
}

.imgs2 {
    width: 52%;
    left: 24%;
}

.imgs1 {
    width: 26%;
    left: 37%;
}

.bProduct ul {
    display: table-row;
}

.bProduct ul li {
    display: table-cell;
    text-align: center;
}

.bProduct ul li:first-child {
    text-align: left;
}

.bProduct ul li:last-child {
    text-align: right;
}

.bProduct ul li:only-child {
    text-align: center;
}

.bProduct ul img {
    width: 62%;
}

.leftProduct {
    width: 14.2%;
    height: 88%;
    position: absolute;
    left: 17.6%;
    margin-top: 6%;
}

.centerProduct {
    width: 25%;
    height: 88%;
    position: absolute;
    left: 37.5%;
    z-index: 100;
}

.rightProduct {
    width: 14.2%;
    height: 88%;
    position: absolute;
    left: 68.2%;
    margin-top: 6%;
}

.brightnessCss {
    filter: brightness(0.6);

    -webkit-filter: brightness(0.6);
    -moz-filter: brightness(0.6);
    -o-filter: brightness(0.6);
    -ms-filter: brightness(0.6);
}

.leftClickButton {
    left: 7.1%;
}

.rightClickButton {
    right: 7.1%;
}

.leftClickButton, .rightClickButton {
    width: 4.7%;
    position: absolute;
    margin-top: 11%;
    cursor: pointer;
}

.leftClickButton img, .rightClickButton img {
    width: 100%;
    height: auto;
    border-style: none;
}

#pop {
    display: none;
    position: absolute;
    top: 13%;
    left: 20%;
    right: 10%;
    z-index: 1111;
}

#pop .outerli {
    list-style: none;
    height: 360px;
    padding-left: 0;
    margin-top: 0;
}

#pop .outerli ul {
    height: 90px;
    list-style: none;
    padding-left: 0;
}

#pop .outerli li {
    height: 90px;
    line-height: 90px;
}

#pop .outerli > li:nth-child(odd) {
    background-color: #ffffff;
    border-left: solid 5px #00c163;
}

#pop .outerli > li:nth-child(even) {
    background-color: #ededed;
    border-left: solid 5px #12549d;
}

#pop .outerli > li li {
    float: left;
}

#pop .innerli li:first-child {
    width: 15%;
    background: none;
}

#pop .innerli li {
    width: 25.6666%;
    padding-left: 2%;
}

#pop .outerli > li:nth-child(odd) li {
    background: url(../images/Index/line1.png) no-repeat;
    background-position: left;
}

#pop .outerli > li:nth-child(even) li {
    background: url(../images/Index/line2.png) no-repeat;
    background-position: left;
}

#pop .innerli li img {
    vertical-align: middle;
    width: auto;
    height: 35px;
}

#pop .innerli li:first-child img {
    width: auto;
    height: auto;
}

.sHidden {
    display: none;
}

@font-face {
    font-family: 'iconfont';
    src: url('https://sso-cas.gridsumdissector.com/sso/font/iconfont.eot'); /* IE9*/
    src: url('https://sso-cas.gridsumdissector.com/sso/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://sso-cas.gridsumdissector.com/sso/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('https://sso-cas.gridsumdissector.com/sso/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('https://sso-cas.gridsumdissector.com/sso/font/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

.qrcode_show {
    position: absolute;
    width: 75px;
    height: 25px;
    right: 0;
    top: 25%;
    background: rgba(0, 0, 0, 0.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    text-align: center;
    line-height: 25px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (max-width: 600px) {
    .loginContent {
        width: 300px;
        background-size: auto 100%;
    }

    .news {
        display: none;
    }

    .replace-right {
        display: none;
    }

    .announcement {
        display: none;
    }

    .leftMenu {
        display: none;
    }

    .toMHide {
        display: none;
    }

    .accountBox {
        min-width: 52px;
    }

    #settings {
        display: none;
    }

    #gridsumTools {
        display: none;
    }
}

@media screen and (max-height: 570px) {

    .bProduct {
        display: none;
    }
}

@media screen and (max-width: 1200px) {

    #pop .innerli li img {
        vertical-align: middle;
        width: auto;
        height: 32%;
    }
}

@media screen and (max-width: 1010px) {
    #pop .innerli li:first-child img {
        width: 95%;
    }

    #pop .outerli ul {
        height: 80px;
    }

    #pop .outerli li {
        height: 80px;
        line-height: 80px;
    }

    #pop .innerli li img {
        vertical-align: middle;
        width: auto;
        height: 32%;
    }
}

@media screen and (max-width: 900px) {
    #pop .innerli li:first-child img {
        width: 95%;
    }

    #pop .outerli ul {
        height: 70px;
    }

    #pop .outerli li {
        height: 70px;
        line-height: 70px;
    }

    #pop .innerli li img {
        vertical-align: middle;
        width: auto;
        height: 32%;
    }
}

@media screen and (max-width: 800px) {

    #pop .innerli li {
        width: 30%;
    }

    #pop .innerli li:first-child {
        display: none;
    }

    #pop .outerli ul {
        height: 60px;
    }

    #pop .outerli li {
        height: 60px;
        line-height: 60px;
    }
}

@media screen and (max-width: 530px) {
    /*size  telphone*/
    #pop .outerli > li li {
        float: left;
    }

    #pop .outerli ul {
        height: auto;
    }

    #pop .outerli li {
        height: auto;
        line-height: 40px;
    }

    #pop .innerli li {
        width: 90%;
        height: 40px;
    }

    #pop .innerli li img {
        vertical-align: middle;
        width: auto;
        height: 50%;
    }

    #pop .outerli > li:nth-child(odd) {
        background-color: #ededed;
        border-left: solid 0px #00c163;
    }

    #pop .outerli > li:nth-child(odd) li {
        background-color: #ededed;
        border-left: solid 0px #00c163;
    }

    #pop .outerli > li:nth-child(even) {
        background-color: #ededed;
        border-left: solid 0px #00c163;
    }

    #pop .outerli > li:nth-child(even) li {
        background-color: #ededed;
        border-left: solid 0px #00c163;
    }

    #pop .outerli > li li {
        background-color: #ededed;
        border-left: solid 0px #00c163;
    }
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
