﻿/* Fonts Copyright (C) 2011-2017 Hoefler & Co.*/

html, body, section, ul, li, nav, a, h1, h2 {
    padding: 0;
    margin: 0;
    outline: none;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0;
    text-decoration: none;
}

body {
    font-family: "Whitney SSm A", "Whitney SSm B", "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-size: 17px;
    line-height: 1.5em;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: inherit;
}
::-moz-placeholder { /* Firefox 19+ */
  color: inherit;
}
:-ms-input-placeholder { /* IE 10+ */
  color: inherit;
}
:-moz-placeholder { /* Firefox 18- */
  color: inherit;
}

h1 {
    font-size: 25px;
    text-align: center;
    color: #6a38e0;
    padding: 0px;
}

h1 p {
    font-size: 17px;
    font-weight: normal;
}

h2 {
    font-size: 22px;
}

.logo {
    float: left;    
    margin-left: 0px;
    margin-right: 0px;
    display: block;
}

.logo img {    
    height: 32px;/*dzj 50*/
    /*width: 36px;*/
    transform:scale(0.8);/*dzj*/ 
    margin-left: 0px;  /*logo左边距*/
    margin-top: 4px;/*应和menu-explorer img 一致*/   
    vertical-align: middle;
}

nav {
    margin-top: 6px;/*dzj  orgnal=17px */
    margin-right: 20px; /*顶菜单距离右边的距离*/
    text-align: right;/*dzj 顶菜单对齐方向*/
}

header {
    height: 30px;/*dzj 50*/   
}

section, header {
    border-bottom: 0px solid #95d4e7;/*顶菜单横线--dzj*/
}

section, header, footer {
    padding: 1px 1px;/*dzj 5px,20px*/
}

ul li, nav li {
    list-style: none;
    display: inline-block;
}

a {
    margin: 0 10px;
}

a, h2 {
    color:rgb(11, 11, 136);/*顶菜单文字颜色--dzj*/
}

a:hover {
    color: #ee1111;/*顶菜单文字鼠标滑过颜色--dzj*/
}

.highlighted {
    color: #EC008C;
}

.make-center {
  text-align: center;
}
/*--dzj
button {
  -moz-box-shadow:inset 0px 39px 0px -24px #e67a73;
  -webkit-box-shadow:inset 0px 39px 0px -24px #e67a73;
  box-shadow:inset 0px 39px 0px -24px #e67a73;
  background-color:#e4685d;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
  border:1px solid #ffffff;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  padding:6px 15px;
  text-decoration:none;
  text-shadow:0px 1px 0px #b23e35;
}
button:hover {
  background-color:#eb675e;
}
button:active {
  position:relative;
  top:1px;
}

button[disabled], input[disabled] {
  background: transparent!important;
  box-shadow: none!important;
  text-shadow: none!important;
  color: #dcd7d7!important;
  border: 1px solid #dcd7d7!important;
  cursor: not-allowed!important;
}
*/
.menu-explorer {
    color: transparent!important;
    /*display: block;*/
    display: none;
    text-align: center;
    position: absolute;
    margin-right: 12px;/*右上角图标距离右边的距离*/
    margin-top: 2px;/*12---右上角图标距离上边的距离*/
    right: 0;
}

.menu-explorer img {
    vertical-align: middle;
    width: 25px;
    margin-top: 4px;/*应和logo img 一致*/
    /*height: 30px;*/
}

@media all and (max-width: 830px) {/*dzj 当浏览器窗口宽度小于此值时顶菜单变为一个图标，否则会显示为顶菜单；
                                     原来是720顶菜单出现换行，故改为830.最初为900*/

   /* tr,  .logo {  dzj--del tr,防止小于900时tr也变小了*/
    .logo {
        display: block;
    }

    .logo {
        text-align: center;
    }
    
    nav li {
        border: 0;
        display: block;
        text-align: right;
    }

    nav li img {
        float: right;
        margin-right: 0;
        margin-left: 12px;
    }

    nav {
        height: auto;
        margin: 0;
        display: none;

        position: fixed;
        left: auto;
        right: 0;
        top: 43px;/*顶菜单距离顶端的距离*/
        z-index: 9;
        background: white;/*右上角图标点击后的菜单背景颜色*/
        width: auto;
        height: auto;/*100%;*/
        box-shadow: rgb(84, 145, 208) 0px 0 0px 2px;
    }

    nav li {
        border-bottom: 1px solid rgb(84, 145, 208);
        text-align: center;
        line-height: 2;/*右上角图标点击后显示菜单的行间距*/
    }

    nav li a {
        padding-right: 3px;
    }

    .menu-explorer {
        display: block;
    }

    .header {
        position: static;
        border: 0;
        box-shadow: rgb(84, 145, 208) 0px 2px 0px 0px;
    }

    .no-mobile {
        display: none!important;
        opacity: 0!important;
        visibility: hidden!important;
        z-index: -1!important;
        width: 0!important;
        height: 0!important;
        overflow: hidden!important;
        border: 0!important;
        box-shadow: none!important;
    }

    nav a, .menu-explorer {
        font-size: 15px;
    }
}

@media all and (max-width: 620px) {
    button, input {
        /*display: block;
        margin: 5px 10px; dzj*/       
    }
   
}

@media all and (max-width: 500px) {
    h1 {
        font-size: 18px;
    }      
}

@media screen and (orientation:portrait) and (min-width: 350px) {
    .header {
        position: fixed!important;
        border-bottom: 1px solid white!important;
        box-shadow: rgb(84, 145, 208) 0px 1px 0px 0px!important;  
    }
}
