* {
    box-sizing: border-box;
  }
  /* body {
    font-family: "Open Sans";
    background: #2c3e50;
    color: #ecf0f1;
    line-height: 1.618em;
  } */
  .wrapper {
    width: 100%;
    margin: 0 auto;
    bottom: 15%;
    font-family: "Open Sans";
    /*background: #2c3e50;*/
    color: #3a3b5f;
    line-height: 1.618em;
    position: inherit;
  }
  .menutabs {
    /* margin: 3rem 0; */
    background: #5d5e79;
    height: 180px;
    max-height: 180px;
  }
  .mixelControl {
    /* margin: 3rem 0; */
    height: 50px;
    max-height: 180px;
    display: none;
  }
  .menutabs::before,
  .menutabs::after {
    content: "";
    display: table;
  }
  .menutabs::after {
    clear: both;
  }
  .menutab {

    float: left;
    border: 1px solid #3a3b5f;
    background-color: #5D5E79;
    width: 50%;
    text-align: center;
    border-radius: 0px 0px 0px 1px;
  }
  .menutab-switch {
    display: none;
  }
  .menutab-label {
    /* position: relative; */
    display: block;
    line-height: 2.75em;
    /* height: 3em; */
    padding: 0 1.618em;
    background: #5d5e79;
    border-right: 0.125rem solid #5f5f6d;
    /* color: #fff; */
    cursor: pointer;
    /* top: 0; */
    transition: all 0.25s;
  }
  .menutab-label:hover {
    top: -0.25rem;
    transition: top 0.25s;
  }
  .menutab-content {
    height: 100%;
    position: absolute;
    z-index: 1;
    /* top: 2.75em; */
    left: 0;
    padding: 1.618rem;
    background: #3a3b5f;
    color: #ffffff;
    border-bottom: 0.25rem solid #3a3b5f;
    opacity: 0;
    transition: all 0.35s;
  }
  .menutab-switch:checked + .menutab-label {
    background: #3a3b5f;
    color: #ffffff;
    border-bottom: 0;
    border-right: 0.125rem solid #3a3b5f;
    transition: all 0.35s;
    z-index: 1;
    top: -0.0625rem;
  }
  .menutab-switch:checked + label + .menutab-content {
    z-index: 2;
    opacity: 1;
    transition: all 0.35s;
  }
  /* set timeline */



  :root {
    font-family: 'Roboto', sans-serif;
  }
  
  h1,h2,h3,h4,h5,h6 {
    font-family: "Roboto Slab", serif;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* body {
    height: 100vh;
    width: 98vw;
    margin: 0;
    padding: 5vmax;
    background: #125;
   background: url('https://museum.iridiumbeta.com/wp-content/uploads/2019/05/musuem-background.jpg'); 
    background-position: 50% 50%;
  } */
  
  /* CATEGORY PICKER */
  .category-picker {
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    left: 2em;
    z-index: 99;
    border: 0;
    width: max-content;
    padding: 0;
    border-left: solid;
    padding-left: 8px;
    background-position: 50% 50%;
  /*   background: linear-gradient(to right, rgba(255,255,255,0.3), transparent); */
  }
  
  .category-picker > label {
    font-size: calc(.6em + .5vh);
    margin: .5em 0;
    user-select: none;
    position: relative;
  }
  /* set mau cho lable */
  .cat-all { --cat-color: 358, 80%, 50%; }
  .cat-year { --cat-color: 45, 100%, 55%; }
  .cat-months { --cat-color: 80, 100%, 85%; }
  /* .cat-milestone { --cat-color: 160, 90%, 45%; }
  .cat-industry { --cat-color: 210, 100%, 64%; }
  .cat-products { --cat-color: 260, 90%, 60%; }
  .cat-satellites { --cat-color: 305, 85%, 50%;} */
  
  
  /* input sucks to style, so just get that hidden, but keep it in dom so you can accept change and input events from the label parent */
  .category-picker input {
    position: absolute;
    width: 0;
    height: 0;
    left: -1000px;
  }
  
  .category-picker > label span::before,
  .category-picker > label span::after {
    content: '';
    opacity: 0.6;
    width: .8em;
    height: 1.5em;
    position: absolute;
    right: calc(100% + 8px + 3px);
    top: 50%;
    transform: translateY(-50%);
    background: hsla(var(--cat-color), 1);
    transition: width .13s ease-in-out;
  }
  
  .category-picker > label:focus-within span::before {
    border-left: solid white 3px;
  }
  
  .category-picker > label span::after {
    --after-opac: .5;
    z-index: -1;
    right: initial;
    left: -8px;
    width: 0;
  }
  
  label.cat span::after {
    background: hsla(var(--cat-color), var(--after-opac));
  }
  
  .category-picker > label:hover span::before {
    width: 1.5em;
  }
  
  .category-picker input:checked ~ span::before {
    width: 1.5em;
  }
  
  .category-picker > label:hover input:checked ~ span::before {
    width: calc(1.5em - .4em);
  }
  
  .category-picker input:checked ~ span::after {
    width: calc(100% + 16px);
  }
  
  
  /* TIMELINE */
  .timeline {
    --cat-opac: 1;
    --stem-height: 100px;
    color: white;
    border: 0;
    top: 100%;
    left: 5%;
    width: 89.2%;
    height: 1px;
    padding: 0;
    border-bottom: solid;
    position: absolute;
  }
  
  /* Event Categories */
  .year { --cat-color: hsla(45, 100%, 55%, var(--cat-opac)); }
  .months { --cat-color: hsla(80, 100%, 85%, var(--cat-opac)); }
  /* .company-milestone { --cat-color: hsla(160, 90%, 45%, var(--cat-opac)); }
  .industry { --cat-color: hsla(210, 100%, 64%, var(--cat-opac)); }
  .products { --cat-color: hsla(260, 90%, 60%, var(--cat-opac)); }
  .satellites { --cat-color: hsla(305, 85%, 50%, var(--cat-opac)); } */
  
  
  /* BOX, LINE, and DOT */
  .vis-item {
    --active-trans: 4px;
    position: absolute;
  }
  
  /* EVENT BOX */
  .vis-box {
    bottom: calc(var(--stem-height) * .7);
    font-size: 13px;
    border-radius: 5px;
    border-left: solid 5px;
    overflow: hidden;
    border-color: transparent;
    transform: translate(-9px, -50px) scaleY(0) scaleX(0);
    transform-origin: 0 100%;
    opacity: 1;
    transition: all .15s .2s ease-in-out;
  }
  .vis-box.left {
    border-left: none;
    border-right: solid var(--cat-color) 5px;
    transform: translate(calc(11px - 100%), -50px) scaleY(0) scaleX(0);
    transform-origin: 100% 100%;
  }
  .vis-box.active {
    transform: translate(-9px, -50px) scaleY(1) scaleX(1);
    border-color: var(--cat-color);
    opacity: 0;
    z-index: 5;
  }
  .vis-box.active.left {
    transform: translate(calc(11px - 100%), -50px) scaleY(1) scaleX(1);
  }
  .vis-box.closed {
    transform: translate(-9px, -50px) scaleY(0) scaleX(0);
  }
  .vis-box.left.closed {
    transform: translate(calc(11px - 100%), -50px) scaleY(0) scaleX(0);
  }
  
  .event-box {
    width: 0px;
    height: 0px;
    transition: all .15s .13s ease-in-out;
    background: var(--cat-color);
  }
  
  .event-image, .event-info {
    position: absolute;
    display: inline-block;
  }
  
  .event-image img {
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 13% 100%, 0 95%);
  }
  .event-box.left .event-image img {
    clip-path: unset;
  }
  
  .event-info {
    top: 0;
    right: 0;
    width: 100%;
    padding: 5px 10px;
    background: #fafafa;
    color: #333;
  }
  .event-box.left .event-info {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%)
  }
  
  .event-info * {
    margin: 0;
  }
  
  .event-info .event-title a {
    text-decoration: none;
    color: inherit;
    font-size: 120%;
  }
  .event-info .event-date {
    color: gray;
    margin: 5px 0;
  }
  
  /* LINE */
  .vis-line {
    background: var(--cat-color);
    width: 2px;
    height: 10px;
    transition: height .12s ease-in-out;
  }
  .vis-line.active {
    height: 15px;
  }
  .vis-line.active-1 {
    /* height: 70px; */
  }
  .vis-line.active-2 {
    /* height: 70px; */
  }
  .vis-line.closed {
    height: 10px;
  }
  
  /* BADGE / FLAG */
  .vis-line::after {
    --h: 30px;
    content: '';
    position: absolute;
    width: 20px;
    /* height: var(--h); */
    bottom: calc(100% - var(--h) / 6);
    left: 50%;
    clip-path: polygon(0 0, 100% 0, 100% 25px, 50% 100%, 0 25px);
    z-index: 1;
    background: var(--cat-color);
    transform: translate(-50%, -4px) scale(1, 1);
    transform-origin: 50% 100%;
    transition: transform .12s ease-in-out, opacity .12s ease-in-out;
  }
  .vis-line.active::after {
    transform: translate(-50%, -4px);
    z-index: -1;
  }
  .vis-line.closed::after {
    transform: translate(-50%, -4px) scale(0, 0);
  }
  
  /* DOT */
  .vis-dot {
    background: var(--cat-color);
    width: 3px;
    height: 10px;
    border-radius: 50%;
    transform: scale(1,1);
    transform-origin: 50% 50%;
    transition: transform .12s ease-in-out;
  }
  .vis-dot.closed {
    transform: scale(0,0);
  }
  
  
  
  
  
  
  /* Share badge styles */
  .social-badge {
    --twitter-primary:#55acee;
    --twitter-dark: #292f33;
    --twitter-light: #e1e8ed;
    position: fixed;
    padding: .5em 1em;
    border-radius: 1em;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 5em;
    background: var(--twitter-dark);
    color: var(--twitter-light);
    font-weight: 500;
    box-shadow: 0 4px 1px var(--twitter-light);
    transition: all .2s ease-in-out;
  }
  
  .social-badge * {
    box-sizing: content-box;
  }
  
  a .social-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 3px var(--twitter-light);
  }
  
  .social-badge .social-icon {
    display: inline-block;
    height: 1.5em;
  }
  
  .social-icon path {
    fill: var(--twitter-light);
  }
  
  .social-badge span {
    text-transform: uppercase;
    vertical-align: middle;
  }
  
  
  /* Media Queries */
  @media only screen and (max-width: 500px){
    .social-badge {
      width: inherit;
    }
    .social-badge span {
      display: none;
    }
  }


  /*  custom range slider */
  *,:after,:before{box-sizing:border-box}
  .pull-left{float:left}
  .pull-right{float:right}
  .clearfix:after,.clearfix:before{content:'';display:table}
  .clearfix:after{clear:both;display:block}
  
  .rangeslider,
  .rangeslider__fill {
    display:block;
    border-radius:10px;
  }
  
  .rangeslider {
    position:absolute;
  }
  .rangeslider:after{
    top:50%;
    left:0;
    right:0;
    content:'';
    width:90%;
    height:5px;
    margin-top:-2.5px;
    border-radius:5px;
    position:absolute;
    /* background:#212131; */
  }
  
  .rangeslider--horizontal{
    --cat-opac: 1;
    --stem-height: 100px;
    color: white;
    border: 0;
    top: 100%;
    left: 4.8%;
    width: 90%;
    height: 1px;
    padding: 0;
    border-bottom: solid;
    position: absolute;
  }
  
  .rangeslider--vertical{
    width:2px;
    min-height:150px;
    max-height:100%;
  }
  .rangeslider--disabled{
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    opacity:0.4;
  }
  
  .rangeslider__fill{
    position:absolute;
    background:#ff637b;
  }
  .rangeslider--horizontal .rangeslider__fill{

    height:100%;
  }
  .rangeslider--vertical .rangeslider__fill{
    bottom:0;
    width:100%;
  }
  
  .rangeslider__handle{
    width:8px;
    height:28px;
    cursor:pointer;
    margin-top:-14px;
    background:white;
    position:absolute;
    background:#ff637b;
    border-radius:5%;
    display:inline-block;
  }
  .rangeslider__handle:active{
    background:#ff5a7b;
  }
  
  .rangeslider__fill,
  .rangeslider__handle{
    z-index:1;
  }
  .rangeslider--horizontal .rangeslider__fill{
    height:5px;
    left:0dp;
  }
  
  /* Budget */
  .budget-wrap{
    padding:40px;
    background:#292942;
    box-shadow:0 25px 55px 0 rgba(0,0,0,.21),0 16px 28px 0 rgba(0,0,0,.22);
  }
  .budget-wrap .header .title{
    color:#fff;
    font-size:18px;
    margin-bottom:30px;
  }
  .budget-wrap .header .title .pull-right{
    color:#ff5a84;
    font-size:24px;
    font-weight:400;
  }
  .budget-wrap .footer{
    margin-top:30px;
  }
  .budget-wrap .footer .btn{
    color:inherit;
    padding:12px 24px;
    border-radius:50px;
    display:inline-block;
    text-decoration:none;
  }
  .budget-wrap .footer .btn.btn-def{
    color:#525263;
  }
  .budget-wrap .footer .btn.btn-pri{
    color:#eee;
    background:#ff5a84;
  }