.parts-in-stock {
    border-top: 1px solid #1976d2;
    margin-bottom: 20px;
}

.parts-in-stock__title {
    font-size: 24px;
    line-height: 27px;
    font-weight: bold;  
    color: #1976d2;
    margin-bottom: 16px;
}

.parts-in-stock__item {
    border-bottom: 1px solid #1976d2;    
    background: #d1e4f6;
    position: relative;
}

.parts-in-stock__item:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 160px;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 1;
}

.parts-in-stock__item-name {
    padding: 12px 8px;
    display: inline-block;
    vertical-align: top;
    width: 146px;
    margin-right: -4px;
    position: relative;
    z-index: 3;
    font-size: 14px;
}

.parts-in-stock__item-table {
    display: inline-block;
    vertical-align: top;
    margin-right: -4px;
    width: calc(100% - 162px);    
}

.parts-in-stock__item-table .table-block__cell {
    padding-top: 12px;
    padding-bottom: 12px;
}

.parts-in-stock__item-table .table-block {
    margin-bottom: 0;
    border-bottom: 1px solid #1976d2;
}

.parts-in-stock__item-table .table-block:last-child {
    border-bottom: 0 !important;
}

/* parts table cells */
.parts-button {
    width: 172px;
    padding-right: 10px;
}

.parts-quantity {
    width: 76px;
    text-align: right;
    padding-top: 24px !important;
    padding-left: 8px !important;
}

.parts-price {
    width: 120px;
    text-align: right;
    padding-top: 24px !important;
    padding-left: 8px !important;
}

.parts-price b {
    font-size: 16px;
}

.parts-info {
    vertical-align: middle;
}

.parts-info i {
    font-size: 13px;
}

.parts-info .svg-photo-icon {
    vertical-align: middle;
    fill: #212121;
}

.parts-info div {
    display: inline-block;
    vertical-align: middle;
    margin-right: -4px;
    width: 60%;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    padding-right: 8px;
}

.parts-info div:last-child {
    width: 40%;
    padding-right: 0;    
}
/* parts button */
.button-in-stock {
    display: block;
    width: 172px;
    height: 40px;
    border-radius: 2px;
    background-color: #e85f59;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    cursor: pointer;
}

.button-in-stock .svg-cart-icon {
    display: none;
}


@media screen and  (min-width: 1px) and (max-width: 1400px) {
.parts-info div {
    display: block;
    margin-right: 0;
    width: 100% !important;
}

.parts-button {
    width: 40px;
}
    
.button-in-stock {
    width: 40px;
    padding-top: 10px;
    padding-left: 10px;
}
    
.button-in-stock b {
    display: none;
}
    
.button-in-stock .svg-cart-icon {
    display: block;
}

}
/* when content is less than 1400, add class .narrow-content */
.narrow-content .parts-info div {
    display: block;
    margin-right: 0;
    width: 100% !important;
}

.narrow-content .parts-button {
    width: 40px;
}
    
.narrow-content .button-in-stock {
    width: 40px;
    padding-top: 10px;
    padding-left: 10px;
}
    
.narrow-content .button-in-stock b {
    display: none;
}
    
.narrow-content .button-in-stock .svg-cart-icon {
    display: block;
}


