ul.tabs-to-accordions {
    margin: 30px 0 30px;
    padding: 0;
    list-style: none;
    width: 100%;
}
ul.tabs-to-accordions li {
    float: left;
    margin: 0;
    cursor: pointer;
    padding: 5px 21px;
    height: 45px;
    line-height: 31px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #fefefe;
    border-right-width: thin;
    border-radius: 6px 6px 0 0;
    background-color: #008390;
    overflow: hidden;
    position: relative;
}
ul.tabs-to-accordions li:hover {
  background-color: darkgray;
  color: #000000;
}
ul.tabs-to-accordions li.active-tab {
  background-color: #ffffff;
  color: #000000!important;
  border-bottom: 1px solid #ffffff;
  border-right: 1px solid #ccc;
  display: block;
}
a.tablink {
    font-size: 18px;
    color: #ffffff;
}
ul.tabs-to-accordions li.active-tab > a.tablink {
    color: #000000;
}
a.tablink:hover {
    color: #000000;
}
.tab_container {
  border: 1px solid #ccc;
  border-top: none;
  clear: both;
  float: left;
  width: 100%;
  background: #ffffff;
  overflow: auto;
  margin-bottom: 30px;
}
.tab_content {
  padding: 30px;
  display: none;
}
.tab_drawer_heading {
    display: none;
}

@media screen and (max-width: 414px) {
  .tab_drawer_heading {
    font-size: 20px !important;
  }
}

@media screen and (max-width: 1024px) {
  .tabs-to-accordions {
    display: none;
  }
  .tab_drawer_heading {
    background-color: #ccc;
    color: #fff;
    border: 1px solid #ccc;
    border-bottom-style: outset;
    border-bottom-color: #fff;
    margin: 0 auto !important;
    padding: 5px 20px;
    display: block;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .tab_drawer_heading::after {
    content: '+';
    color: #143980;
    width: 1em;
    float: right;
  }
  .tab_drawer_heading.d_active::after {
    content: '-';
    color: #fff;
  }
  .d_active {
    background-color: #008390;
    color: #fff!important;
    border: 1px solid #008390;
  }
  .tab_content {
    padding: 10px 30px;
  }
}