.generic.tabs > ol {
    margin:0 0 10px;
    overflow:hidden;
    min-height:3em;
    position:relative;
    display:table;
    width:100%;
}
.generic.tabs > ol:before {
    top:0;
    left:0;
    z-index:1;
    content:'';
    width:100%;
    height:3em;
    display:block;
    background:#FFF;
    position:absolute;
}
.generic.tabs .tab {
    top:0;
    background: #f4f3f1;
    display: table-cell;
    z-index:2;
    float:left;
    width:20%;
    height:3em;
    position:absolute;
    vertical-align:middle;
    text-align:center;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}
.generic.tabs .tab.second {
    margin-left:20%;
}
.generic.tabs .tab.third {
    margin-left:40%;
}
.generic.tabs .tab.fourth {
    margin-left:60%;
}
.generic.tabs .tab.fifth {
    margin-left:80%;
}

.generic.tabs .tab[aria-selected="false"]:hover {
 	cursor:pointer;
    background:#e4e0dd;
    outline:0;
}

.generic.tabs .tab[aria-selected="true"] {
 background: #767676;
 color: #fff; 
 outline:0;
}

.generic.tabs .tab[aria-selected="true"]:focus {
 text-decoration: underline;
}

.generic.tabs .tab[aria-selected="true"]:after {
    content: "";
    position: absolute;
    width:0;
    top: 100%;
    right: 45%;
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid transparent;
    border-top: 0.5em solid #767676;
}

.generic.tabs h3 {
 	display:table;
  	width:100%;
  	height:100%;
	font-weight: 700;
}

.generic.tabs h3 span { 
	display: table-cell;
 	text-align:center;
 	vertical-align:middle;
  	
}

.generic.tabs .visually_hidden {
    width:0;
    height:0;
    border:0;
    margin:0;
    padding:0;
    top:-9999px;
    left:-9999px;
    overflow:hidden;
    position:absolute;
    clip:rect(0,0,0,0);
}
.generic.tabs .panel {
    margin:5em 0 20px;
    position:relative;
    padding:0;
    outline: none;
}

@media screen and (max-width: 600px) {
.generic.tabs > ol:before {
    content:"";
    display:none;
}
.generic.tabs .tab {
    top:auto;
    background: #fff;
    display: block;
    float:none;
    width:auto;
    height:auto;
    position:static;
    vertical-align:auto;
    text-align:left;
    border-right: none;
    border-left: none;
}
.generic.tabs .tab.second {
    margin-left:auto;
}
.generic.tabs .tab.third {
    margin-left:auto;
}
.generic.tabs .tab.fourth {
    margin-left:auto;
}
.generic.tabs .tab.fifth {
    margin-left:auto;
}

.generic.tabs .tab[aria-selected="false"]:hover {
 	cursor:none;
    background:#fff;
    outline:0;
}

.generic.tabs .tab[aria-selected="true"] {
 background: #fff;
 color: #000; 
 outline:0;
}

.generic.tabs .tab[aria-selected="true"]:focus {
 text-decoration: none;
}

.generic.tabs .tab[aria-selected="true"]:after {
    content: "";
    display: none;
}

.generic.tabs h3 {
 	display:block;
  	width:auto;
  	height:auto;
   font-weight: 400;
	font-size: 128.57%;
 	font-family: Effra-reg;
}

.generic.tabs h3 span { 
	display: inline;
  	
}

.generic.tabs .panel {
    margin:0 0 30px;
    position:relative;
    display: block !important;
}
}