﻿body {
    background-image: url(/Content/images/body_background.png);
    background-position: center top;
    background-repeat: no-repeat;
}

.AllModelBlock {
    border: 4px solid #c1c0bf;
    border-radius: 16px;
    padding: 6px;
}

.allModelGradient {
    background: linear-gradient(to top,#fff 0,#f5f4f4 156%);
    height: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 7px;
}

.AllModelSearchBlock {
    border: 1px solid #c1c0bf;
    padding: 10px;
    margin: 0 8px;
    border-radius: 5px;
}

.allModelItems {
    padding: 15px 0;
}

.allModelItemBlock {
    float: left;
    margin: 10px 7px;
    padding: 5px;
    overflow: hidden;
    width: 166px;
}

    .allModelItemBlock:hover {
        border: 2px solid #c1c0bf;
        padding: 3px;
        border-radius: 5px;
    }

    .allModelItemBlock:hover .allModelItemFavorite {
        left: 138px;
    }

.allModelItemImage {
    width: 164px;
    height: 92px;
    /*background: linear-gradient(135deg,#fff 0,#eaf0f6 100%);*/
    border: 1px solid #c1c0bf;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

    .allModelItemImage img {
        max-width: 164px;
        max-height: 92px;
        /*position: relative;
        bottom: 34px;*/
    }

.allModelItemFavorite {
    position: relative;
    bottom: 91px;
    left: 188px;
}

.allModelItemFavoriteAdd {
    position: relative;
    bottom: 91px;
    left: 138px;
}

.allPortfolioItemFavorite {
    position: relative;
    bottom: 162px;
    left: 300px;
}

.allPortfolioItemFavoriteAdd {
    position: relative;
    bottom: 162px;
    left: 267px;
}

.allModelItemCost {
    position: relative;
    height: 14px;
    text-align: right;
    background-color: #fff;
    padding: 5px;
    bottom: 55px;
    border-radius: 4px;
}

.allModelItemText {
    padding: 3px 1px 0 1px;
    margin: -17px 0 0 0;
    color: #c1c0bf;
    width: 164px;
    height: 44px;
    overflow: hidden;
}

.allModelItemText a {
    white-space: nowrap;
}

.allModelItemTextCompany {
    color: #75C5F8;
    overflow: hidden;
    width: 160px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.allPortfolioItems {
    padding: 15px 0;
}

.allPortfolioItemBlock {
    float: left;
    margin: 10px 6px;
    padding: 6px;
    overflow: hidden;
    width: 294px;
}

    .allPortfolioItemBlock:hover {
        border: 1px solid #c1c0bf;
        padding: 5px;
        border-radius: 5px;
    }

    .allPortfolioItemBlock:hover .allPortfolioItemFavorite {
        left: 267px;
    }

.allPortfolioItemImage {
    width: 292px;
    height: 162px;
    border: 1px solid #c1c0bf;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    line-height: 165px;
}

    .allPortfolioItemImage img {
        max-width: 295px;
        max-height: 165px;  
        vertical-align: middle;
    }

.allPortfolioItemText {
    padding: 3px 1px 0 4px;
    margin: -27px 0 0 0;
    color: #838281;
    width: 164px;
    height: 96px;
    overflow: hidden;
    width: 100%;
}

.allPortfolioItemText div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.allPortfolioItemText a {
    white-space: nowrap;
}

.allPortfolioItemTextCompany {
    color: #75C5F8;
    overflow: hidden;
    width: 160px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*CompanyView*/
.companyViewTitle {
    background-color: #EFE7E8;
    padding: 8px 4px 10px 10px;
    font-weight: normal;
    border-radius: 4px;
    margin: 8px 0 15px;
}

.companyViewTitleSpan {
    color: #c1c0bf;
    font-size: 12px;
    padding-left: 15px;
}

.companyViewTitleStatus {
    font-size: 14px;
}

.companyViewLogo {
    border: 1px solid #c1c0bf;
    border-radius: 4px;
    /*padding: 4px;*/
    max-width: 302px;
    max-height: 130px;
}

.companyViewListSpan {
    color: #c1c0bf;
    font-size: 12px;
}

.companyViewTableDesc td:nth-child(1){
    text-align: right;
}

.companyViewDescMain {
    margin: 0 0 15px 0;
    overflow: hidden;
}

.companyViewDesc {
    height: 62px;
    margin: 6px 0 0 0;
    overflow: hidden;
}

.companyViewPrototyleSceneBlock {
    border: 1px solid #c1c0bf;
    border-radius: 4px;
    padding: 0 20px;
}

.companyViewPrototyleScene {
    color: #74c5f0;
}

.companyViewPrototyleSceneSpan {
    color: #c1c0bf;
    font-size: 13px;
    font-weight: normal;
    margin-left: 30px;
}

.companyViewPrototyleSceneItemLine {
    border: 1px dotted gray;
    margin: 5px 0 10px 0;
}

.companyViewPrototyleSceneItemLine2 {
    border: 1px solid #74c5f0;
    margin: 5px 0 10px 0;
}

.companyViewPrototylePriceTr {
    background-color: #E6EFF2;
}

.companyViewPrototylePriceTr td {
    padding: 10px;
    border-bottom: 3px solid #74c5f0;
}

.CompanyViewNomenclatureImage {
    width: 131px; 
    text-align: center;
    vertical-align: top;
}

.CompanyViewNomenclatureImage img {
    max-width: 115px;
    max-height: 65px;
    line-height: 65px;
}

#productRate {
    background: url(/Content/images/infoCompanyRatingFiltr2.png.png); 
    left: 0;
    display: inline-flex;
    top: 4px;
}

#productRate div {
    background: url(/Content/images/infoCompanyRatingFiltr2.png) left bottom; 
}
