.products .tabs .mgTabs,
.products .tabs .mgTabs > a { background-color: #f8f8f8; }

.products .subtabs .mgTabs,
.products .subtabs .mgTabs > a { background-color: #fff; }

.mgTabs>a {
    display: inline-block;
    cursor: pointer;
    padding: 5px 20px 5px 10px;
    text-decoration: none;
}

.products .tabs .mgTabs > a.current,
.products .tabs .mgTabs > a:hover,
.products .subtabs .mgTabs > a:hover,
.products .subtabs .mgTabs > a.current {
    background-color: #EEE;
}

div.tabs>div:not(.current) { display: none; }

div.tabs>div.current {
    display: block;
    background-color: #FFF;
    /*border: 3px solid #EEE;*/
    margin-top: 1px;
}

.mgTabs > a i {
    font-family: 'Glyphicons';
    font-style: normal;
    text-transform: none;
    font-weight: normal;
    display: inline-block;
    color: #7c7c7c;
    font-size: 24px;
    line-height: 24px;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.mgTabs > a.current i { color: #000; }

.mgTabs > a.substitutes,
.mgTabs > a.numbers,
.mgTabs > a.info,
.mgTabs > a.autos {
    text-align: center;
    border-right: 1px solid #EEE;
}

.mgTabs > a.substitutes i::before {
    content: "\f0ec";
}

.mgTabs > a.numbers i::before {
    content: "\f039";
}

.mgTabs > a.info i::before {
    content: "\e60a";
}

.mgTabs > a.autos i::before {
    content: "\ea4c";
}
.mgTabs > a.recommended i::before {
    content: "\e638";
}

div.tabs .datatable h3 { margin: 5px; }

div.tabs .criteria > div {
    display: flex;
    padding: 5px;
    /*border-bottom: 1px solid #EEE;*/
}

div.tabs .criteria > div span,
div.tabs .criteria > div strong {
    flex: 1;
}

div.tabs table.datatable {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #CCC;
}

div.tabs table.datatable tr { border-bottom: 1px solid #CCC; }

div.tabs table.datatable tr td { padding: 5px; }

div.tabs .criteria > div:nth-child(2n),
div.tabs table.datatable tr:nth-child(2n) { background-color: #F7F7F7; }

div.tabs div.tabs .criteria > div:hover,
div.tabs table.datatable tr:hover { background-color: #E6F2F9; }

div.tabs table.products { border: 1px solid #CCC; }

div.tabs div.criteria,
div.tabs div.mgManufacturers  { border: 1px solid #CCC; }