/**
 * @file
 * Visual styles for tabs.
 */

div.tabs {
  padding: 2rem;
}
ul.tabs {
  margin: 0 0 0.5em;
  padding: 0;
  list-style: none;
}
.tabs > li {
  display: inline-block;
  margin-right: 0.3em; /* LTR */
}
[dir="rtl"] .tabs > li {
  margin-right: 0;
  margin-left: 0.3em;
}
.tabs a {
  display: block;
  padding: 0.2em 1em;
  text-decoration: none;
}
.tabs a.is-active {
  background-color: #eee;
}
.tabs a:focus,
.tabs a:hover {
  background-color: #f5f5f5;
}

/* TABS */
.tabs .head{
  display: flex;
  flex-direction: row;
  font-size: 20px;
  line-height: 36px;
  font-weight: bold;
  margin-bottom: 2rem;
}
.tabs .head .tab{
  flex: 1 1 0;
  /*text-align: center;*/
  cursor: pointer;
  border-left: 10px solid var(--red);
  padding-left: 2rem;
  padding-right: 0.5rem;
}
.tabs .head .tab.selected{
  color: var(--red);
}
.tabs .head .tab:first-child{
  border-left: none;
  padding-left: 0;
}
.tabs .tab_body{
  display: none;
  font-size: 16px;
  line-height: 28px;
}
.tabs .tab_body.selected{
  display: block;
  width: 100%;
}
.tabs .tab_body br{
  margin-bottom: 1rem;
}
.tabs ul{
  display: flex;
  position: relative;
  flex-wrap: wrap;
}
.tabs li{
  margin-top: 0.5rem;
  min-width: 50%;
  max-width: 50%;
}
@media only screen and (max-width : 992px) {
  .tabs .head .tab{
    padding-left: 0.5rem;
  }
}
@media only screen and (max-width : 600px) {
  .tabs .head{
    flex-direction: column;
  }
  .tabs .head .tab:first-child
  {
    border-left: 10px solid var(--red);
    padding-left: 0.5rem;
  }
}
@media only screen and (max-width : 768px) {
  .tabs .head{
    flex-wrap: wrap;
  }
}