/**
* Demo Stuff
*/

/**
* iPhone
* Credits: Flat, Scaleable CSS iPhone Illustration by Tom Hergenreter
* http://codepen.io/TomHergenreter/details/qDywF/
*/

/**
* Navigation Defaults
*/
.iphone__screen {
  width: 14.5em;
  height: 22.938em;
  position: fixed;
  top: 3.75em;
  left: .750em;
  overflow: hidden;
}
.
.iphone__content {
  position: relative;
  background-color: #D2527F;
  width: 100%;
  height: 100%;
}
.nav {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 1000;
  opacity: 0;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
          overflow-y: scroll;
}
.nav--active .nav {
  opacity: 1;
  background-color: #fff;
}
.nav__list {
  width: 100%;
  margin: 0;
  padding: 30px 0 0 20px ;


}
.nav__item {
  width: 90%;
  color: #495056;
  list-style-type: none;
  text-align: left;
   border-bottom: 1px solid #e9ecef;
   padding: 10px 0 10px 0;   
     font-size: .75em;
}
.nav__item span{font-size: 12px; color: #8c919a}
.nav__item img{width: 10%;vertical-align: middle; margin-left: .25rem;margin-top: -.25rem;}
.nav__link {
  font-size: 1.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  opacity: 1;
  -webkit-transition: opacity 300ms ease-in-out;
  transition: opacity 300ms ease-in-out;
}
/* Default navigation icon */

/*user*/
.nav{display: block;}
.usercon {
  width: 100%;
  padding: 60px 0 10px 0px ;
  color: #495056;
  text-align: center;
  border-bottom: 1px #ccc dashed; 

  clear: both;
}
.usercon h2{    font-size: 1.5em;}
.usercon img{width: 36px; height: 36px;margin-top: 20px;border-radius: 36px;}
.usercon a{color: #495056; }

/*修改*/
.nav__trigger {
  display: block;
  position: fixed;
  width: 30px;
  height: 25px;

  left: 10px;
  top: 10px;
  z-index: 2000;
}
.nav--active .nav__trigger {
  opacity:0;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  display: block;

}

/*.nav--active .nav__trigger {
  opacity: 0.5;
}*/
.nav__icon {
  display: inline-block;
  position: relative;
  width: 25px;
  height: 4px;
  background-color: #FFFFFF;
  -webkit-transition-property: background-color, -webkit-transform;
  transition-property: background-color, -webkit-transform;
  transition-property: background-color, transform;
  transition-property: background-color, transform, -webkit-transform;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
.nav__icon:before,
.nav__icon:after {
  content: '';
  display: block;
  width: 25px;
  height: 4px;
  position: absolute;
  background: #FFFFFF;
  -webkit-transition-property: margin, -webkit-transform;
  transition-property: margin, -webkit-transform;
  transition-property: margin, transform;
  transition-property: margin, transform, -webkit-transform;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
.nav__icon:before {
  margin-top: -10px;
}
.nav__icon:after {
  margin-top: 10px;
}
/* Don't nest if you don't have to. */
/**
* Style #1
*/
.style-1 .nav {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  width: 50%;
  height: 100%;
  z-index: 1000;
}
.style-1 .nav__link {
  opacity: 0;
  -webkit-transition-delay: 500ms;
          transition-delay: 500ms;
}
.style-1 .nav--active .nav__link {
  opacity: 1;
}
.style-1 .nav--active .nav {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 500ms ease-in-out;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.style-1 .nav--active .nav__icon {
  background: rgba(0, 0, 0, 0);
}
.style-1 .nav--active .nav__icon:before {
  margin-top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.style-1 .nav--active .nav__icon:after {
  margin-top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}



.ncc-left-panel-header {
    display: block;
}
.ncc-left-panel-header {
    background-color: #5c443b;
}
.ncc-left-panel-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;

    text-align: center;
}
/*#nc-cnb * {
    font-family: -apple-system,BlinkMacSystemFont,맑은 고딕,Malgun Gothic,Roboto,Microsoft JhengHei,meiryo,MS PGothic,돋움,Dotum,sans-serif;
}
#nc-cnb * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*/
.ncc-header {
    position: fixed;
    top: 0;
    left: 0;
    /* max-width: 640px;*/
    width: 100%;
    height: 50px;
    z-index: 9100024;
    min-width: 320px;
    -webkit-transition: top 0s ease;
    transition: top 0s ease;
}
.ncc-header {
    height: 50px;;
    background-color: rgba(0,0,0,.5);
}

.ncc-bi {
    background-image: url(../images/bi_sub.png);
    width: 106px;
    height: 46px;
    margin-top: 0px;
    text-indent: -9999em;
    white-space: nowrap;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (device-height:568px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone5 */

  .nav__list {padding: 10px 0 0 15px;}
}


@media (min-width: 640px){
.ncc-character-panel, .style-1 .nav {
    width: 375px;
}
 .nav__item {
    padding: 10px 0 10px 0;
    font-size: 14px;
}

}


@media (min-width: 960px){
.ncc-bi {
    text-align: left;
    position: relative;
    display: inline-block!important;
    color: #fff;
}}
.ncc-bi {
    position: relative;
    z-index: 9100027;
    display: inline-block;
    vertical-align: top;
    color: #fff;
    font-size: 17px;
    line-height: 26px;
    letter-spacing: -1px;
}
#nc-cnb a {
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 640px){
.ncc-character-panel, .style-1 .nav  {
    width: 375px;
}
.nav--active .nav__trigger {

  left: 20%;
  width: 80%;
  height: 100%;
}

}
