.tab-container {
  margin: 3.125rem auto;
  display: grid;
  grid-template-columns: 25% auto;
  grid-gap: 1.875rem;
  background-color: transparent;
  text-align: center; }

.tabs-mobile {
  display: none; }

.tabs h2 {
  color: #222222;
  font-weight: 600;
  text-transform: uppercase; }

.tab {
  width: 100%;
  position: relative;
  display: block;
  margin: 0.5rem auto;
  padding: 0.4375rem;
  font-size: 0.875rem; }

.tab.is-selected {
  filter: none;
  border-left: 0.1875rem solid #00599a;
  color: #00599a;
  background-color: #e0e0e0; }

.tab::after {
  position: absolute;
  content: "\f058";
  font: normal normal normal 0.875rem/1 FontAwesome;
  right: -0.5rem;
  top: 0.25rem;
  color: #222222;
  font-size: 0;
  transition: all linear 0.5s;
  -moz-transition: all linear 0.5s;
  -webkit-transition: all linear 0.5s; }

.tab.is-selected::after {
  font-size: 1.5625rem;
  transition: all linear 0.5s;
  -moz-transition: all linear 0.5s;
  -webkit-transition: all linear 0.5s; }

/* Tab-content */
.tab-contents {
  display: block;
  width: 100%;
  position: relative;
  margin: 4.375rem 0 0 1.25rem !important; }

.tab-content {
  display: grid;
  grid-template-columns: 60% 38%;
  grid-gap: 0.625rem;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: all linear 0.5s;
  -moz-transition: all linear 0.5s;
  -webkit-transition: all linear 0.5s; }

.tab-content.is-selected {
  opacity: 1;
  position: relative;
  z-index: 5;
  height: 100%;
  transition: all linear 0.5s;
  -moz-transition: all linear 0.5s;
  -webkit-transition: all linear 0.5s; }

.tab-content.is-selected:nth-child(odd) .tab-content__right {
  justify-content: flex-end; }

.tab-content.is-selected:nth-child(even) .tab-content__right {
  justify-content: flex-start; }

.tab-mobile a {
  background-color: #00599a;
  padding: 0.5625rem 2.5rem;
  color: #ffffff;
  margin: 1.875rem auto;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
  font-size: 0.625rem; }

.tab-mobile a:hover {
  color: #ffffff;
  box-shadow: 0.1875rem 0.3125rem #86b4f1; }

@media (max-width: 850px) {
  .tab-contents {
    margin: 0.625rem 0 0 0px !important; }
  .tab-content {
    display: flex;
    flex-direction: column;
    padding: 0 1.25rem; }
 }

@media (max-width: 500px) {
  .tab-container {
    display: none; }
  .tabs-mobile {
    display: block;
    background-color: transparent;
    overflow: hidden;
    margin: 3.125rem auto; }
  .tab-mobile {
    width: 100%;
    text-align: center;
    overflow: hidden; }
  .tab-mobile input {
    position: absolute;
    opacity: 0;
    z-index: -1; }
  .tab-label-mobile {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    background: #e0e0e0;
    color: #00599a;
    font-weight: 600;
    cursor: pointer; }
  .tab-label-mobile:hover {
    background: #ffffff;
    color: #00599a; }
  .tab-label-mobile::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all 0.35s; }
  .tab-content-mobile {
    max-height: 0;
    padding: 0 1em;
    background: transparent;
    transition: all 0.35s; }
  .tab-mobile input:checked + .tab-label-mobile {
    background: #e0e0e0;
    color: #00599a; }
  .tab-mobile input:checked + .tab-label-mobile::after {
    transform: rotate(90deg); }
  .tab-mobile input:checked ~ .tab-content-mobile {
    max-height: 100vh;
    padding: 1em; } }