﻿
.tabs {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
#tab-button {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#tab-button li {
  display: table-cell;
  width: 20%;
}
#tab-button li a {
  display: block;
  padding: 0.6em;
  /* background: #eee; */
  background-color: #3a99dd;
  border: 1px solid #ddd;
  text-align: center;
  /* color: #000; */
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}
#tab-button li:not(:first-child) a {
  border-left: none;
}

#tab-button li:first-child a {
   /* border-radius: 10px 0 0 0; */
}
#tab-button li:last-child a {
   /* border-radius: 0 10px 0 0; */
}

#tab-button li a:hover,
#tab-button .is-active a {
  border-bottom-color: transparent;
  background: #fff;
  color: #3a99dd;
  /* font-weight:600; */
}
.tab-contents {
  padding: 2em 0.5em 2em;
  /* border: 1px solid #ddd; */
}



.tab-button-outer {
  display: none;
}
.tab-contents {
  margin-top: 20px;
}


#tab-select { padding: 10px; border-color: #3a99dd; width: 100%; }
#tab-select option { font-size:18px; }


@media screen and (min-width: 768px) {
  .tab-button-outer {
    position: relative;
    z-index: 2;
    display: block;
  }
  .tab-select-outer {
    display: none;
  }
  .tab-contents {
    position: relative;
    top: -1px;
    margin-top: 0;
  }
}