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