::selection {
    background-color: #99B9FF;
  }
  
  .tabbed {
    width: 80%;
    margin: 0px auto;
  }
  
  .tabbed > input {
    display: none;
  }
  .tabs span img{ width: 100%;}
  
  .tabbed > label {
    display: block;
    float: left;
    padding: 12px 10px;
    margin-right: 5px;
    cursor: pointer;
    transition: background-color .3s;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .tabbed > label:hover,
  .tabbed > input:checked + label {
    background: #99B9FF;
  }
  .wd2{ width: 50%; display: block; float: left;}
  .wd2 ul{ width: 50%; display: block; list-style-type: disc;columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;}
  .wd2 ul li{line-height: 30px;}
  .tabs {
    clear: both;
    perspective: 80%;
  }
  .tabs > div span{ float: right; padding-top: 3%;}
  .tabs > div span img{ width: 100%; height: auto;}
  
  .tabs > div {
    width: 80%;
    position: absolute;
    border: 2px solid #99B9FF;
    padding: 10px 30px 10px;
    line-height: 1.4em;
    opacity: 0;
    transform: rotateX(-20deg);
    transform-origin: top center;
    transition: opacity .3s, transform 1s;
    z-index: 0;
  }
  .tabs > div ul{ }
  .tabs > div ul li{  line-height: 30px;}
  
  #tab-nav-1:checked ~ .tabs > div:nth-of-type(1),
  #tab-nav-2:checked ~ .tabs > div:nth-of-type(2),
  #tab-nav-3:checked ~ .tabs > div:nth-of-type(3),
  #tab-nav-4:checked ~ .tabs > div:nth-of-type(4),
  #tab-nav-5:checked ~ .tabs > div:nth-of-type(5),
  #tab-nav-6:checked ~ .tabs > div:nth-of-type(6),
  #tab-nav-7:checked ~ .tabs > div:nth-of-type(7){
    transform: rotateX(0);
    opacity: 1;
    z-index: 1;
  }
  
  @media screen and (max-width: 480px) {
    .tabbed { width:100% }
    .tabbed > label { display: none }
    .tabs > div {
      width: 100%;
      border: none;
      padding: 0;
      opacity: 1;
      position: relative;
      transform: none;
      margin-bottom: 60px;
    }
    .tabs > div h2 {
      border-bottom: 2px solid #99B9FF;
      padding-bottom: .5em;
    }
    .container2 ul li img{ width: 100%!important;}
    .wd2 ul{ width: 99%!important;}
    .dropdown-item{ font-size: 12px!important;}
  }