.font-hei {font-family: "San Francisco","Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;}
.font-kai {font-family: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, "TW\-Kai", serif;}
.font-song {font-family: Georgia, "Nimbus Roman No9 L", "Songti SC", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", serif;}
.font-fang-song {font-family: Baskerville, "Times New Roman", "Liberation Serif", STFangsong, FangSong, FangSong_GB2312, "CWTEX\-F", serif;}
.font-ming {font-family: Georgia, "Nimbus Roman No9 L", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif;}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
*{
    -webkit-box-sizing: border-box;
        -ms-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
body,html{
    font-size: 12px;
    font-weight: 300;
    font-family: "San Francisco",Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
    background: #fcfcfc;
}
html,body,ul,li,div,p,header,footer{
    margin: 0;
    padding:0;
}
body{
    //padding-top: 45px;
    padding-bottom: 45px;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

ul{
    list-style: none;
}
a{
    color:inherit;
    text-decoration: none;
    -webkit-tap-highlight-color:rgba(0,0,0,0)
}

hr {
    border: 0;
    border-top: 1px #007aff dashed;
    margin: 0 10px;
}

@font-face {
    font-family: 'iconfont';
    src: url('/static/font/iconfont.woff') format('woff');

}

@font-face {
  font-family: 'iconfont';
  src: url('//at.alicdn.com/t/font_1427782392_1788816.eot'); /* IE9*/
  src: url('//at.alicdn.com/t/font_1427782392_1788816.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('//at.alicdn.com/t/font_1427782392_1788816.woff') format('woff'), /* chrome、firefox */
  url('//at.alicdn.com/t/font_1427782392_1788816.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('//at.alicdn.com/t/font_1427782392_1788816.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;}

.hidden {
    opacity:0;
}
.main {
    display: none;
}
.fade {
    opacity: 0.2 !important;
}
.result-list {
    display: block;
    z-index: 10;
    position: absolute;
    width: 100%;
    min-height: 100%;
    background: #fcfcfc;
}
.result-list.hidden{
    display: none;
}

.result-list .item{
    height: 80px;
}
.result-list h2 {
    font-weight: 300;
    font-size: 2em;
    margin-top: 20px;
    line-height: 100%;
    color: #373737;
}
.result-list h3 {
    font-weight: 300;
    color: #007aff;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.5em;
}
.result-list p {
    color: #818181;
}
.result-list .right {
    position: absolute;
    right: 10px;
}
.result-list .left {
    position: absolute;
    left: 10px;
}

input[type="search"] {
    -webkit-appearance: none;
}
input[type="search"]::-webkit-search-cancel-button {
  /* Remove default */
  -webkit-appearance: none;

  /* Now your own custom styles */
  height: 10px;
  width: 10px;
  background: #007aff;
  /* Will place small red box on the right of input (positioning carries over) */
}

/******底部版权声明*******/
.copyright{
    padding-top:10px;
    padding-bottom:10px;
}
.copyright p{
    height:18px;
    text-align: center;
    font-size: 12px;
    color:rgb(252,83,155);

}
.footer {
    margin-left:10px;
    margin-top: 23px;
    padding: 0 5px;
    text-align:center;
    color: #818181;
    font-size:0.85em;
}

.footer a{
    color: #007AFF;
}

.help {
    display: block;
    width: 100%;
    margin: 10px;
    text-align: center;
    color: #007AFF;
    font-size:1em;
}

.spinner {
  width: 60px;
  height: 60px;

  position: absolute;
    top: 90px;
    left: 50%;
  margin-left: -30px;
    z-index: 99;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #007aff;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: bounce 2.0s infinite ease-in-out;
  animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.share-button {
    position: fixed;
    right: 10px;
    bottom: 54px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    background: #ddd;
    text-align: center;
    color: #fff;
    font-size: 21px;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.share-button.hidden {
    right: -40px;
}
#share-bg {
    position: fixed;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.85;
}
#share-bg img{
    position: fixed;
    right: 0px;
    top: 0;
    width: 100%;
}

.one {
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;
}

.two {
    -moz-box-flex:2;
    -webkit-box-flex:2;
    box-flex:2;
}

/**
 * box loading animation
 */
.box-loading {
  width: 30px;
  height: 30px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
}
.box-loading:before {
  content: '';
  width: 30px;
  height: 3px;
  background: #000;
  opacity: 0.1;
  position: absolute;
  top: 44px;
  left: 0;
  border-radius: 50%;
  animation: box-loading-shadow 0.5s linear infinite;
}
.box-loading:after {
  content: '';
  width: 30px;
  height: 30px;
  background: #007aff;
  animation: box-loading-animate 0.5s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 2px;
}
@keyframes box-loading-animate {
  17% {
    border-bottom-right-radius: 3px;
  }
  25% {
    transform: translateY(9px) rotate(22.5deg);
  }
  50% {
    transform: translateY(18px) scale(1, 0.9) rotate(45deg);
    border-bottom-right-radius: 20px;
  }
  75% {
    transform: translateY(9px) rotate(67.5deg);
  }
  100% {
    transform: translateY(0) rotate(90deg);
  }
}
@keyframes box-loading-shadow {
  0%,
  100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.2, 1);
  }
}

@media screen and (min-width: 321px) {
    body {
        font-size: 1.2em;
    }

    .share-button {
        bottom: 60px;
    }
}
/*colors*/
body {
    padding-bottom: 0;
}

.bar, .headBar, .searchBar {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 10;
    height: 45px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #dbdbdb;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.header {
    height: 1em;
}

.headBar {
    position: static;
    height: 40px;
    border-bottom: none;
}

.headBar .head-wrap {
    margin: 0 auto;
    height: 40px;
    padding-left: 95px;
    position: relative;
    font-size: 0;
}

.headBar .head-wrap a {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 1em;
    text-decoration: none;
}

.headBar .head-wrap a img {
    height: 40px;
}

.headBar .head-wrap a:hover {
    background-color: #a5d0fe;
}

.headBar .head-wrap a:active {
    background-color: #a5d0fe;
}

.headBar .head-wrap a.img {
    position: absolute;
    top: 0;
    left: 0;
}

.searchBar {
    position: static;
    padding-top: 0;
}

.searchBar .search-wrap {
    margin: 0 auto;
    width: 95%;
    font-size: 0;
}
.searchBar .search-wrap i{
    position: absolute;
    right: 5%;
    top: 22px;
    color: #333;
}
.searchBar .search-wrap input {
    width: 99%;
    color: #333;
    margin: auto;
    display: block;
    height: 34px;
    border-radius: 5px;
    background-color: #e3e4e6;
    outline: none;
    border: none;
    border-right: 1px solid #dbdbdb;
    padding: 5px;
    font-size: 16px;
}

.searchBar .search-wrap input::-webkit-input-placeholder {
    color: #aaa;
    font-size: 1em;
}

/*colors*/
/*colors*/
#tip {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

#tip section {
    position: relative;
    text-align: center;
    background-color: #ffffff;
    top: 150px;
    width: 80%;
    border-radius: 5px;
    margin: 0 auto;
}

#tip section header {
    padding: 30px 10px;
    font-size: 22px;
    color: #999;
}

#tip section footer {
    border-top: 1px solid #dbdbdb;
    padding: 10px 0;
    font-size: 1em;
    color: #007aff;
    cursor: pointer;
}

.main {
    position: relative;
    height: 400px;
}

.hot {
    text-align: center;
}

.hot .hot-teacher {
    color: #373737;
    font-size: 1.7em;
    /* margin-top: 10px; */
    margin-bottom: 10px;
    height: 30px;
    line-height: 30px;
}

.hot .hot-teacher i{
    font-size: 1.0em !important;
}
.hot .hot-item {
    color: #007aff;
    height: 24px;
    line-height: 24px;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.hot .hot-item .left {
    text-align: left; position: absolute; left: 50%; width: 90px; 
    margin-left: -50px;
}
.hot .hot-item .right {
    text-align: right;
    position: absolute;
    left: 50%;
    color: #818181;
    width: 60px;
}
.commit {
    width: 100%;
    height: 74px;
    bottom: 50px;
    left: 0;
    right: 0;
}

.commit span {
    font-size: 1em;
    color: #fc539b;
    display: block;
    text-align: center;
    line-height: 30px;
    height: 30px;
}

.teacher {
    height: 165px;
}
.teacher .right {
    position: absolute;
    right: 20px;
}
.teacher .left {
    position: absolute;
    left: 20px;
    text-align: left;
}
.teacher h2 {
    font-weight: 300;
    font-size: 3em;
    margin-top: 20px;
    margin-bottom: 5px;
    line-height: 100%;
    color: #373737;
}
.teacher h3 {
    font-weight: 300;
    color: #007aff;
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: -3px;
    font-size: 2.5em;
}
.teacher p {
    color: #818181;
    font-size: 1.1em;
    margin-top: 3px;
    margin-bottom: 5px;
}
.teacher .right {
    text-align: right;
}
.comment .empty {
    color: #818181;
    text-align: center;
}
.comment .row {
    margin: 5px 20px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    min-height: 44px;
}
.comment .hidden{

}
.comment .right {
    position: absolute;
    right: 20px;
    height: 71px;
    line-height: 24px;

    color: #818181;
    font-size: 1.1em;
}

.comment .right .highlight {
    color: #007AFF;
}
.comment .right a {
    display: block;
    line-height: 16px;
    padding-bottom: 6px;
}
.comment .right p {
    display: block;
    text-align: center;
    padding: 0 2px;
    font-weight: bold;
    color: #007AFF;
    height: 25px;
    background: rgba(0, 122, 255, 0.13);
    border-radius: 6px;
    min-width: 1.92em;
}
.comment .right .up {
    text-align: center;
    /* line-height: 27px; */
}
.comment .right .down {
    text-align: center;
    display: block;
    /* line-height: 16px; */
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);/* IE 9 */
    -webkit-transform: rotate(180deg);/* Safari and Chrome */
    -o-transform: rotate(180deg);/* Opera */
    -moz-transform: rotate(180deg);/* Firefox */
}
.comment .left {
    width: 90%;
}
.comment .left p{
    font-size: 1em;
    white-space: pre-line;
    max-height: 20em;
    overflow: auto;
}
.comment .comment-footer{
    margin: 10px 20px;
    color: #818181;
}
.comment .count {
    background: #007AFF ;
    color: #ffffff;
    text-align: center;
    padding: 10px;
}
.comment .rate-number{
    color: #007AFF ;
    font-size: 1.5em;
}
.comment .date {

}
.comment-header {
    font-weight: bold;
    margin: 10px 20px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
}
.comment-header a{
    color: #b4b4b4;
}
.comment-header a.highlight{
    color: #000000;
}
.comment hr {
    margin: 10px;
}
.rating {
    position: fixed;
    bottom: 0;
    height: 44px;
    background: #007AFF;
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-size: 20px;
    line-height: 44px;
    color: #ffffff;
    margin: auto;
}

/**
* swipe.js
*/
.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float:left;
  width:100%;
  position: relative;
}

.college-selection {
    margin: 10px  3%;
    font-size: 1em;
}
.college-selection p{
    width: 70px;
    display: inline-block;

}
.college-selection select {
    width: 200px;
    background: none;
    color: #007AFF;
    border: none;
    display: inline-block;
    text-align: center;
    font-size: 1em;
}
@media screen and (min-width: 321px) { /*当屏幕尺寸小于600px时，应用下面的CSS样式*/
  .comment .right a{
      padding-bottom: 10px;
  }
  .comment .row .right{
      font-size: 1.1em;
      height: 80px;
      line-height: 27px;
  }

  .rating {
      height: 50px;
      line-height: 50px;
  }

}

.course-list {
    border: 1px #aaa solid;
    border-radius: 5px;
    background: #ffffff;
    padding: 10px;
    padding-bottom: 5px;
    margin: 5px 10px 15px 10px;
}
.course-list .left {
    position: absolute;
    left: 20px;
    color: #373737;
}
.course-list .right {
    position: absolute;
    right: 20px;
    color: #818181;
    text-align: right;
}
.course-list .row {
    height: 22px;
}
.tip {
    text-align: center;
    font-size: 0.8em;
     margin: 20px;
}
.course_name{
    color:#007ACD;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-position: under;
}
.course_name:visited{
    color:#609;
}
.cmcpreview:hover,.cmcpreview:active,.cmcpreview:focus{
    color: #60f;
}
li.cmcli{
    line-height: 1.7;
}
.cmcinfo {
    color:#007ACD!important;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-position: under;
    padding:10px;
    font-size:14px;
    line-height:100%;
    text-align:left;
    background-color:#f3faff;
    border-left:5px solid #c7e8ff;
    border-bottom:1px solid #e2e2e2;
}
.problem{padding:10px;font-size:14px;line-height:120%;text-align:left;background-color:#ffffc0;border-left:5px solid #fff000;border-bottom:1px solid #e2e2e2;font-weight:bold;}