/* Style the tab */

hr { 
width:100% !important;
}
div.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    padding:5px;
}

/* Style the buttons inside the tab */
div.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px; 
    transition: 0.3s;
    margin: 5px;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent {
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
.tabcontent.active {
    display: block;
}
.span4 a {
    display: table;
    text-decoration: none;
}
.span4 a:hover {
    text-decoration: underline;
}
.span4 {
    width: 30%;
    padding: 0 10px;
    margin: 0;
    float: left;
    min-height: 180px;
}
.clearfix {
    float: none;
    clear: both;
}
.nolink a:nth-child(4), .nolink a:nth-child(5) {
    display: none;
}
div.span4.currentProduct {
    width: 30%;
    padding: 10px 10px;
    margin: 0;
    float: left;
    min-height: initial;
}

