

ul[name=tabs] {
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul[name=tabs] li {
    float: left;
    margin: 0 .5em 0 0;
}

ul[name=tabs] a {
    position: relative;
    background: #ddd;
    background-image: linear-gradient(to bottom, #fff, #ddd);
    padding: .3em 2.5em;
    float: left;
    text-decoration: none;
    color: #444;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
    border-radius: 5px 0 0 0;
    box-shadow: 0 2px 2px rgba(0,0,0,.4);
}

ul[name=tabs] a:hover,
ul[name=tabs] a:hover::after,
ul[name=tabs] a:focus,
ul[name=tabs] a:focus::after {
    background: #fff;
}

ul[name=tabs] a:focus {
    outline: 0;
}

ul[name=tabs] a::after {
    content:'';
    position:absolute;
    z-index: 1;
    top: 0;
    right: -.5em;
    bottom: 0;
    width: 1em;
    background: #ddd;
    background-image: linear-gradient(to bottom, #fff, #ddd);
    box-shadow: 2px 2px 2px rgba(0,0,0,.4);
    transform: skew(10deg);
    border-radius: 0 5px 0 0;
   
}

ul[name=tabs] .current a,
ul[name=tabs] .current a::after {
    background: #fff;
    z-index: 3;
    }

div[name=tabcontent] {
    background: #fff;
    color: #000;
    padding: 1%;
    /*min-height: calc(98% - 60px);*/
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
    border-radius: 0 5px 5px 5px;
    box-shadow: 0 -2px 3px -2px rgba(0, 0, 0, .5);
}