.tabbed-content.tabs-side {
  max-width: 1120px;
  text-align: left;
}
.tabbed-content {
    background: #fff;
    padding: 0;
    margin: 1em auto;
    margin: 1em auto;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  }
  .tabbed-content nav.tabs {
    background-color:#f9f9f9;
  }
 /*  .tabbed-content nav.tabs a:before {
    top: 0;
    transform: translateY(-100%);
    height: 999em;
    width: 0;
    right: 0;
    border-right-style: solid;
    display: block;
    content: "";
    position: absolute;
    border: 1px solid #d5d8dc;
  }
  .tabbed-content nav.tabs a:after {
    top: 100%;
    height: 999em;
    width: 0;
    right: 0;
    border-right-style: solid;
    display: block;
    content: "";
    position: absolute;
    border: 1px solid #d5d8dc;
  } */
  .tabbed-content nav.tabs a.active:before {
    top: 0;
    transform: translateY(-100%);
    height: 999em;
    width: 0;
    right: 0;
    border-right-style: solid;
    display: block;
    content: "";
    position: absolute;
    border: 1px solid #d5d8dc;
  }
  .tabbed-content nav.tabs a.active:after {
    top: 100%;
    height: 999em;
    width: 0;
    right: 0;
    border-right-style: solid;
    display: block;
    content: "";
    position: absolute;
    border: 1px solid #d5d8dc;
  }
  
  .tabs ul {
    margin: 0;
    padding: 0 0 1em 0;
    font-weight: bold;
  }
  .tabs ul li {
    background: #eee;
  }
  .tabs ul li a {
    position: relative;
    padding: 20px 25px;
    font-weight: 700;
    line-height: 1;
    border: solid transparent;
color: #4b4f58;
text-decoration: none;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
  }
  
  .tabs ul li a.active {
    background: #ffffff;
    color: #c37602;
    border-top: 1px solid #d5d8dc;
    border-bottom: 1px solid #d5d8dc;
    border-left: 0;
    border-right: 0;
  }
  
  .item {
    margin-bottom: 2px;
  }
  .item::before {
    cursor: pointer;
    font-weight: bold;
    background: #eee;
    padding: 0.5em;
    display: block;
  }
  .item.active::before {
    background: #444;
    color: #eee;
  }
  .item.active .item-content {
    padding: 1em;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
  }
  .item-content a { text-decoration: none; color: #3a3a3a; }
  .item-content h2, .item-content h4{ margin-bottom: 20px; }
  .item-content iframe { width: 100%; }
  .tabbed-content { display: flex; overflow: hidden; }

  
  
  @media all and (min-width: 800px) {

    .tabbed-content nav.tabs ul li:nth-child(1) a.active {
      border-top:1px solid transparent;
    }
    .tab_content_outer {
      width: 75%;
    }
    .item.active .item-content {
      padding: 20px;
    }
  
    .tabs-side .tabs li {
      margin-bottom: 0px;
    }
  }
  /* 
  The project specific CSS starts here
  This is the minimum CSS that you will need in order for this to work
  */
  .tabbed-content .tabs {
    display: none;
  }
  .tabbed-content .item {
    min-height: 2em;
  }
  .tabbed-content .item::before {
    content: attr(data-title);
  }
  .tabbed-content .item .item-content {
    opacity: 0;
    visibility: hidden;
    height: 0;
  }
  .tabbed-content .item.active .item-content {
    opacity: 1;
    visibility: visible;
    height: auto;
  }
  
  @media all and (min-width: 800px) {
    .tabbed-content .tabs {
      display: block;
    }
    .tabbed-content .tabs li {
      display: inline-block;
      background-color: #f9f9f9;
    }
    .tabbed-content .tabs li a {
      display: block;
    }
    .tabbed-content .item {
      min-height: 0;
    }
    .tabbed-content .item::before {
      display: none;
    }
    .tabbed-content.tabs-side .tabs {
      width: 25%;
      float: left;
    }
    .tabbed-content.tabs-side .tabs li {
      display: block;
    }
    .tabbed-content.tabs-side .item {
      margin-left: 0px;
    }
  }
  @media all and (max-width: 767px) {
    .tabbed-content .item.active .item-content {
      text-align: left;
    }
    .tabbed-content.tabs-side{
      border-radius: 0px;
    }
    .tabbed-content .item.active::before {
      color: #c37602;
    }
    .tab_content_outer {
      width: 100%;
    }
  .tabbed-content .item::before {
    background: #fff;
    color: #4b4f58;
    font-size: 15px;
    text-align: left;
}
.tabbed-content .item::before {
    background: #fff;
}
.tabbed-content .item, .tabbed-content .item.active::before  {
  border-bottom: 1px solid #d5d8dc;
}
  }