*{
  box-sizing:border-box;
}

.cs-reference-header{
  width:100%;
  margin:0;
  padding:0;
  background:#15191f;
  position:relative;
  z-index:100;
}

.cs-reference-banner{
  width:100%;
  margin:0;
  padding:0;
  line-height:0;
  overflow:hidden;
  background:#1a0800;
}

.cs-fixed-top-banner{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  object-fit:contain;
}

.cs-reference-nav{
  width:100%;
  height:72px;
  margin:0;
  background:linear-gradient(
    180deg,
    #272c33 0%,
    #15191f 100%
  );
  box-shadow:0 3px 10px rgba(0,0,0,.25);
}

.cs-reference-nav-inner{
  width:100%;
  height:72px;
  display:flex;
  align-items:center;
  padding:0 28px;
}

.cs-reference-logo{
  width:240px;
  height:72px;
  display:flex;
  align-items:center;
  flex:0 0 240px;
}

.cs-reference-logo img{
  display:block;
  max-width:205px;
  max-height:58px;
  object-fit:contain;
}

.cs-reference-logo-text{
  display:none;
  color:#e8bd45;
  font-size:22px;
  font-weight:900;
  white-space:nowrap;
}

.cs-reference-menu{
  flex:1;
  height:72px;
  display:flex;
  align-items:stretch;
  justify-content:space-evenly;
  overflow:hidden;
}

.cs-reference-menu button{
  height:72px;
  min-width:82px;
  padding:0 15px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:18px;
  font-weight:700;
  white-space:nowrap;
  cursor:pointer;
}

.cs-reference-menu button.active{
  color:#ffd100;
}

.cs-reference-menu button:hover{
  color:#ffd100;
  background:rgba(255,255,255,.04);
}

@media(max-width:760px){

  .cs-reference-nav{
    height:56px;
  }

  .cs-reference-nav-inner{
    height:56px;
    padding:0 8px;
  }

  .cs-reference-logo{
    width:115px;
    height:56px;
    flex:0 0 115px;
  }

  .cs-reference-logo img{
    max-width:108px;
    max-height:48px;
  }

  .cs-reference-logo-text{
    font-size:14px;
  }

  .cs-reference-menu{
    height:56px;
    overflow-x:auto;
    justify-content:flex-start;
    scrollbar-width:none;
  }

  .cs-reference-menu::-webkit-scrollbar{
    display:none;
  }

  .cs-reference-menu button{
    height:56px;
    min-width:60px;
    padding:0 8px;
    font-size:14px;
    flex:0 0 auto;
  }
}

.cs-reference-logo-text{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
}

.cs-reference-logo-text img{
  display:block !important;
  max-width:205px !important;
  max-height:58px !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
}
