.tab ul {
  text-align:center;
  -webkit-padding-start: 0px;
}
.tab ul li {
  position: relative;
  display: inline-block;
  cursor: pointer;
  padding: 5px 0px;
  border-top-left-radius: 30px; /* don't make this larger than height, or red strip gets lost */
  border-top-right-radius: 5px;
  border: 2px solid #1ca8dd;
  border-bottom: 5px solid #1ca8dd;
  text-align: center;
  color: black;
  margin: 1px;
}
.tab3 ul li {
  width: 31%; /* 3 tabs per line */
}
.tab4 ul li {
  width: 23%; /* 4 tabs per line */
}
/* Style the tab */
.tab {
  overflow: hidden;
  // border: 1px solid #ccc;
  // background-color: #f1f1f1;
}
.tab_selected {
  color: white !important;
  background-color: #1ca8dd;
  border-bottom: 5px solid red !important;
}
.tab li:hover {
  border-bottom: 5px solid red !important;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  // border: 1px solid #1ca8dd;
  color: black;
  border-top: none;
}
.itemtab {
  display: flex;
  justify-content: space-around;
  // padding: 6px 12px;
  // border: 1px solid #1ca8dd;
  // color: black;
  // border-top: none;
}
.itemtab ul {
  text-align:center;
  -webkit-padding-start: 0px;
}
.itemtab ul li {
  position: relative;
  display: inline-block;
  // width: 23%;
  cursor: pointer;
  padding: 5px 0px;
  border-top-left-radius: 30px; /* don't make this larger than height, or red strip gets lost */
  # border-top-right-radius: 5px;
  # border: 2px solid #1ca8dd;
  # border-bottom: 5px solid #1ca8dd;
  border-bottom: 5px solid white;
  text-align: center;
  color: black;
  margin: 1px;
}
