/* bootstrap */
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn {
  border-radius: 0;
  transition: all 0.33s ease;
}
.pull-right-mobile {
  display: none;
}
.navbar-nav {
  float: left;
  margin: 0;
  margin-right: 0px;
  margin: 7.5px -15px;
}
.navbar-nav {
  margin: 7.5px -15px;
}
.pull-right {
  float: right;
}
.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 4px;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid\9;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.navbar-brand {
  float: left;
  height: 50px;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.open > .dropdown-menu {
  display: block !important;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none !important;
  float: left;
  min-width: 160px;
  padding: 5px 0 !important;
  margin: 2px 0 0;
  margin-top: 2px;
  font-size: 14px;
  text-align: left;
  list-style: none;
}
.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
}
.dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
@media screen and (min-width: 768px) {
  .nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
  }
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .md-typeset .navbar-nav {
    /* fix bootstrap & md */
    float: left;
    margin-top: 0;
    margin-bottom: 0;
  }
  .navbar-toggle {
    display: none;
  }
  .md-typeset .navbar-right {
    /* fix bootstrap & md */
    float: right !important;
    margin-right: -15px;
  }
  .navbar-collapse {
    width: auto;
    border-top: 0;
    box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .container-fluid > .navbar-collapse,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container > .navbar-header {
    margin-right: 0;
    margin-left: 0;
  }
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: -15px;
  }
  .pull-right {
    float: right;
  }
}
@media screen and (max-width: 768px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .md-header__title {
    margin-left: 0;
  }
}
/* bootstrap end */



/* fix mkdocs md css */
.md-announce {
  background-color: white;
  overflow: visible;
}
.md-announce__inner {
  margin: auto;
  padding: 0;
}
.header-yks * {
  box-sizing: border-box;
  line-height: 1.42857143;
}
.md-typeset .header-yks ul {
  list-style-type: none;
}
.md-typeset .header-yks ul li {
  margin-left: auto;
  margin-bottom: auto;
}
.md-typeset .header-yks .media-body-item > li {
  float: left;
  width: 269px;
  height: 40px;
  margin-left: auto;
  margin-bottom: 30px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .header-yks .container {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}
@media screen and (min-width: 1080px) {
  .header-yks .container {
    margin-left: 1rem;
    margin-right: 0.4rem;
  }
}

@media screen and (max-width: 768px) {
  .md-nav--primary .md-nav__title {
    background-color: var(--md-primary-fg-color);
  }
}

.md-header {
  color: #ffffff;
}

.md-nav__title {
  color: #ffffff !important;
}

/* font */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* fix mkdocs md css end */



/* base */
.fascroll, .fascroll body {
  overflow: hidden;
}
.u-hidden {
  display: none;
}
.u-show {
  display: block;
}

ul {
  list-style: none;
  padding: 0;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #ff962a !important;
  cursor: pointer;
}
.btn {
  border-radius: 0;
  transition: all 0.33s ease;
}
.btn-xl {
  padding: 10px 88px;
  font-size: 24px;
}
.btn-orange {
  border: 1px solid #f5a352;
  color: #fff;
  background-color: #f5a352;
}
.btn-orange:link,
.btn-orange:visited {
  color: #fff;
  border-color: #f5a352;
  background-color: #f5a352;
}
.btn-orange:hover,
.btn-orange:active,
.btn-orange:focus {
  color: #fff !important;
  border-color: #ff870e;
  background-color: #ff870e;
}
.btn-orange-o {
  border: 1px solid #f5a352;
  color: #f5a352;
  font-size: 18px;
  padding: 10px 16px;
}
.btn-orange-o:link,
.btn-orange-o:visited {
  color: #f5a352;
  border-color: #f5a352;
}
.btn-orange-o:hover,
.btn-orange-o:active,
.btn-orange-o:focus {
  color: #ff870e;
  border-color: #ff870e;
}
.btn-cadetblue-o {
  border: 1px solid #004949;
  color: #004949;
}
.btn-cadetblue-o:link,
.btn-cadetblue-o:visited {
  color: #004949;
  border-color: #004949;
}
.btn-cadetblue-o:hover,
.btn-cadetblue-o:active,
.btn-cadetblue-o:focus {
  color: #003030;
  border-color: #003030;
}

.font-orange {
  color: #f5a352;
}
.modal-header {
  border-bottom: none;
  display: none;
}
.login-item {
  display: none !important;
  position: absolute;
  width: 150px;
  top: 60px;
  border: 1px solid #ff870e;
  padding: 10px !important;
  border-radius: 5px;
  background-color: #fff;
}
.login-item li {
  width: 80%;
  margin: 0 auto 5px auto;
  border-bottom: 1px solid #b3b3b3;
  text-align: center;
  cursor: pointer;
}
.navbar {
  top: 0;
  z-index: 1000;
  width: 100%;
  background: white;
}

.marginLeft0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
}
.header-yks .navbar {
  margin-bottom: 0;
  border: none;
  transition: all 0.3s;
}
.header-fix {
  display: none;
}

.header-yks .navbar-orange .navbar-toggle {
  border-color: #f5a352;
}
.header-yks .navbar-orange .navbar-toggle .icon-bar {
  background-color: #f5a352;
}

.header-yks .navbar-brand {
  padding: 5px;
  height: 70px;
}
.header-yks .navbar-brand img:first-of-type {
  /* width: 187.5px; */
  height: 60px;
}

.header-yks .navbar-nav > li > a {
  line-height: 40px;
}
.header-yks .navbar-nav > li > a:link,
.header-yks .navbar-nav > li > a:visited,
.header-yks .navbar-nav > li > a:hover,
.header-yks .navbar-nav > li > a:active,
.header-yks .navbar-nav > li > a:focus {
  background: none;
}
.header-yks .navbar-nav > li > a:link,
.header-yks .navbar-nav > li > a:visited {
  color: #7b7b7b;
}
.header-yks .navbar-nav > li > a:hover,
.header-yks .navbar-nav > li > a:active,
.header-yks .navbar-nav > li > a:focus {
  color: #4b4b4b;
}
.header-yks .navbar-nav > li > a.nav-specially span {
  display: block;
  background-color: #f5a352;
  width: 100%;
  height: 3px;
}
.u-flex-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.navbar-nav .dropdown-menu > li > a {
  font-size: 18px;
  color: #7b7b7b;
}

.footer-yks .footer-link a:nth-child(n) {
  margin-left: 0;
  margin-right: 33px;
}
.center-block-btn,
.center-block-btn-lg {
  margin-top: 20px;
  width: 200px !important;
  height: 54px !important;
  line-height: 54px !important;
  border-radius: 27px !important;
  font-size: 18px !important;
  color: #fff !important;
  background-color: #ff962a !important;
}
.center-block-btn-lg {
  width: 240px !important;
}
.center-block-btn-reverse {
  color: #ff962a !important;
  background-color: #fff !important;
}
.u-a-white,
.u-a-white:hover {
  color: #fff !important;
}
@media screen and (min-width: 1400px) {
  li.dropdown:hover ul.dropdown-menu {
    display: block !important;
  }

  .navbar-nav > li > .dropdown-menu {
    background: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 50px 100px rgba(50, 50, 93, 0.1),
      0 15px 35px rgba(50, 50, 93, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 0 50px 100px rgba(50, 50, 93, 0.1),
      0 15px 35px rgba(50, 50, 93, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 180px;
    border-color: #eaeaea;
    margin-top: -7px;
  }

  .navbar-nav > li > .dropdown-menu:before {
    position: absolute;
    top: -8px;
    right: 10px;
    display: inline-block !important;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e4e4e4;
    border-left: 8px solid transparent;
    content: "";
  }

  .navbar-right .dropdown-menu {
    right: 0;
    left: auto;
  }
}

.index-anniversary-logo {
  width: 50px;
  margin-top: 15px;
  margin-right: 5px;
}
/*.header-yks .navbar-nav > li:first-child>a{*/
/*padding: 0;*/
/*}*/

.header-yks .navbar-toggle {
  margin-top: 18px;
  margin-bottom: 18px;
}
.header-flex-container {
  display: flex;
  justify-content: space-between;
}
.header-flex-container #cu-header {
  flex-grow: 1;
  visibility: hidden;
}
div[data-md-component=announce] {
  visibility: hidden;
}
.md-footer {
  visibility: hidden;
}
/* base end */

/* extra */
.text-left {
  text-align: left;
}
.header-yks #navbar {
  padding: 0;
}
.header-yks .navbar-nav > li > a {
  font-size: 18px !important;
}
.header-yks .pull-right {
  padding: 12px 0 0 0;
  margin-left: 20px;
  line-height: 40px;
}
.header-yks .pull-right .btn {
  background-color: #ff870e;
  border: 1px solid #ff870e;
  padding: 6px 16px !important;
  font-size: 14px !important;
  font-weight: 400;
  border-radius: 18px;
}

.header-yks .pull-right .btn:hover {
  background-color: #fff;
  border: 1px solid #ff870e;
  color: #ff870e !important;
}

.header-yks .pull-right .btn:first-of-type {
  margin-right: 12px;
  background-color: transparent;
  border: 1px solid #ff870e;
  color: #ff870e;
}

.header-yks .pull-right .btn:first-of-type:active,
.header-yks .pull-right .btn:first-of-type:focus {
  color: #ff870e !important;
  background-color: #fff;
}

.header-yks .pull-right .btn:first-of-type:hover {
  background-color: #ff870e;
  color: #fff !important;
}

.eFrameSheLayer {
  display: none;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  opacity: 0;
  filter: alpha(opacity=30);
  transition: all 0.3s;
}
.elasticFrame {
  display: none;
  width: 90%;
  height: 100%;
  text-align: center;
  background-color: #ffffff;
  margin: auto;
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  right: -100%;
  background: url(/img/bg.jpg) bottom no-repeat, #fff;
  overflow-y: auto;
  transition: all 0.3s;
}
.elasticFrame .logo {
  line-height: 70px;
}
.elasticFrame .logo > img {
  width: 100px;
  margin-left: 12px;
}
.elasticFrame .logo .pull-right {
  width: auto;
}
img {
  vertical-align: middle;
}


@media screen and (max-width: 768px) {
  .nav > li > a {
    padding: 10px 10px;
  }

  .header-yks .pull-right {
    padding: 8px 0 0 0;
  }

  .header-yks .pull-right .btn {
    border-radius: 4px;
  }

  .header-yks .pull-right .btn {
    padding: 4px 10px;
  }

  .container-fluid {
    padding-left: 100px;
    padding-right: 100px;
  }

  .header-yks .navbar,
  .footer-yks {
    background-color: #fff;
  }

  .modal-header {
    display: block;
  }

  .navbar {
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9;
  }
  .header-yks .navbar-brand {
    padding: 15px 5px;
  }
  .header-yks .navbar-brand img:first-of-type {
    width: 120px;
    height: 38.5px;
  }
  .header-fix {
    display: block;
    height: 65px;
  }
  /*.header-yks .navbar-brand{*/
  /*font-size: 25px;*/
  /*}*/
  .header-yks .pull-right {
    width: 128px;
  }
  .pull-right-pc {
    display: none;
  }
  .pull-right-mobile {
    display: block;
    margin-right: 20px;
  }
  .pull-right-mobile img {
    display: none;
  }
  .btn-manager {
    padding: 2px 5px !important;
  }
  .header-yks .pull-right .btn {
    padding: 4px 10px !important;
  }

  .register-yks a:first-child {
    margin-right: 10px;
  }
  .register-yks a:last-child {
    margin-left: 10px;
  }

  .pull-right-mobile {
    position: relative;
  }
  .pull-right-mobile img {
    display: block;
    position: absolute;
    left: -60px;
    top: 0;
  }
  .sidebar-dialog {
    max-height: 80%;
  }
  .nav > li {
    position: relative;
    display: block;
    float: none;
    padding: 0 20px;
  }
  .navbar-collapse.collapse {
    display: none !important;
    overflow: auto !important;
  }
  .navbar-collapse.collapse.in {
    display: block !important;
  }
  .collapse {
    display: none;
  }
  .navbar-right {
    float: none !important;
    box-shadow: 3px 3px rgba(0, 0, 0, 0.1);
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-header {
    float: none;
  }

  .header-yks .pull-right {
    padding: 14px 0 0 0;
  }
  
  .logo {
    font-size: 30px;
  }
}

@media screen and (max-width: 400px) {
  .pull-right-mobile img {
    left: 5px;
    top: 40px;
  }
}
@media screen and (max-width: 360px) {
  .header-yks .pull-right {
    margin: 0 7px 0 0;
  }
  .header-yks .pull-right .btn:first-of-type {
    margin-right: 7px;
  }
  .header-yks .pull-right {
    width: 123px;
  }
}

@media screen and (min-width: 1440px) {
  .header-yks .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/**增加鼠标经过效果****************************/
.header-yks .navbar-nav > li > a > span {
  transition: width 0.33s ease;
  width: 0%;
  display: block;
  background-color: #f5a352;
  height: 3px;
}

.header-yks .navbar-nav > li > a:hover > span {
  width: 100%;
}

.header-yks {
  background-color: #fff;
}
.navbar-nav {
  position: relative;
}

.header-yks .elasticFrame .logo .pull-right .btn {
  padding: 3px 15px;
  border-radius: 5px;
}
.header-yks .elasticFrame .logo .pull-right .btn:first-of-type {
  border: solid 1px #ff962a;
}
.header-yks .elasticFrame .navbar-nav {
  margin: 0;
  box-shadow: none;
  padding-bottom: 100px;
}
.header-yks .elasticFrame .nav > li {
  border-bottom: solid 1px #ffebd8;
  padding: 0;
}
.header-yks .elasticFrame .navbar-nav > li > a {
  font-size: 16px;
  line-height: 50px;
  padding: 0;
  padding-left: 35px;
  padding-right: 20px;
}

.header-yks .elasticFrame .navbar-nav > li > a.nav-specially span,
.header-yks .elasticFrame .navbar-nav > li.open > a:hover > span {
  height: 100%;
}
.header-yks .elasticFrame .navbar-nav > li > a span {
  width: 5px;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f5a352 !important;
}
.header-yks .elasticFrame .navbar-nav > li > a > span {
  transition: height 0.33s ease;
  height: 0;
}
.header-yks .elasticFrame .navbar-nav .open .dropdown-menu > li > a {
  line-height: 40px;
  font-size: 14px;
  color: #999;
}
.header-yks .elasticFrame .navbar-nav > li > a:link,
.header-yks .elasticFrame .navbar-nav > li > a:visited {
  color: #666666 !important;
}
.header-yks .elasticFrame .navbar-nav > li > a.nav-specially,
.header-yks .elasticFrame .navbar-nav > li.open > a:hover {
  color: #ff962a !important;
}
.header-yks .elasticFrame .navbar-nav > li.li-specially > a,
.header-yks .elasticFrame .navbar-nav > li.open > a {
  background-color: #fffdfb;
}
.header-yks .elasticFrame .navbar-nav > li > a .fa-angle-down {
  float: right;
  height: 15px;
  margin-top: 17.5px;
  margin-right: 5px;
}
.header-yks .elasticFrame .navbar-nav > li.open > a .fa-angle-down {
  transform: rotate(180deg);
}
.header-yks .elasticFrame .navbar-nav .open .dropdown-menu .dropdown-header,
.header-yks .elasticFrame .navbar-nav .open .dropdown-menu > li > a {
  padding-left: 55px;
}
.header-yks .elasticFrame .navbar-nav > li .dropdown-menu .divider {
  width: 90%;
  margin: auto;
}

.register-gift{
  position: absolute;
  right: -5px;
  top: 55px;
  width: 106px;
  height: 41px;
  padding: 13px 17px 7px;
  display: flex;
  align-items: center;
  background: url('https://www.youkaoshi.cn/img/activity/gift_bg.png');
  background-size: 106px 41px;
  cursor: default;
  padding-right: 0;
  z-index: 999999;
}
.register-gift img{
  width: 16px;
  height: 19px;
  position: relative!important;
  left: 0!important;
  top: 0!important;
}
.register-gift span {
  margin-left: 8px;
  font-size: 16px;
  color: #fff;
}
@media screen and (max-width:768px) {
  .register-gift {
    right: -20px;
  }
}

/* extra end */
