/*Styles for "Protection", "TO" subcategories */

.protection-subcategory .modes {
    display: none;
}

.other-models h3 {
    line-height: 1.5;
    margin-bottom: 10px !important;
}

#protection-table,
#to-model-table {
    margin:0;
    background: #f9f9f9;
}

#protection-table td,
#to-model-table td {
    border: solid 1px #C8C8C8;
    text-align: center;
    vertical-align: middle;
}


#to-model-table tbody tr:nth-child(even) {
    background: #f2f2f2;
}

#to-model-table tbody tr:hover {
    background: #e4e4e4;
}

.products-header {
    background: #e1e1e1;
    font-weight: bold;
}

.table-item-image .product-image-container {
    width: 50px !important;
}

.table-item {
    vertical-align: middle;
}

#to-model-table .table-item a {
    text-decoration: underline;
}

/*Styles for "Запчасти для ТО -> subcategory" subcategory*/

.brand-subcategory .category-item-body {
    height: 180px;
    border: 1px solid #e2e1dd;
}

.brand-subcategory .category-item-body:hover {
    -webkit-box-shadow:0 0 15px #ddd;
    -moz-box-shadow:0 0 15px #ddd;
    box-shadow:0 0 15px #ddd;
}

.brand-subcategory .category-item-img {
    display: block;
    padding: 20px 15px;
    float: left;
    width: 160px;
    height: auto;
}

.brand-subcategory .category-item-title {
    display: block;
    float: left;
    max-width: 50%;
    overflow: hidden;
    word-wrap: break-word;
    margin: 0;
    padding: 20px 10px;
}

.brand-subcategory .category-item-title p {
    padding-top: 5px;
    font-size: 13px;
    font-weight: normal;
    font-style: italic;

}

.model-info {
    margin-bottom: 30px;
}
.model-info .category-item {
    width: 50%;
}

.other-models {
    margin-top: 30px;
    margin-bottom: 30px;
}

.other-models .row a {
    padding-left: 25px;
}

.other-models .row a:hover {
    text-decoration: underline;
}

.other-models-info {
    margin: 30px 0;
}


/*--------------Media for categories-----*/
@media (max-width: 767px){
    .brand-subcategory .category-item-body {
        height: auto;
        overflow: hidden;
        min-height: 170px;
        margin: 10px 0;
    }

    .brand-subcategory .category-item-img {
        width: auto;
        padding: 10px;
    }

    .brand-subcategory .category-item-title {
        max-width: 100%;
        padding: 10px;
    }

    .model-info .category-item {
        width: 100%;
    }
}





@media (max-width: 568px){
    .brand-subcategory .category-item-body {
        min-height: 220px;
    }

    table>thead>tr>th,
    table>tbody>tr>th,
    table>tfoot>tr>th,
    table>thead>tr>td,
    table>tbody>tr>td,
    table>tfoot>tr>td {
        font-size: 8px;
        padding: 8px 2px;
    }
}