@charset "UTF-8";
.object-page {
    background-color: #f5f5f5;
}

.object-page.page_firm {
    max-width: 1240px;
    width: auto;
    padding-top: 30px;
}

.page-container {
    max-width: 1240px;
    width: auto;
}

.add_header-line {
    border-bottom: 0px;
}

.page_firm {
    max-width: 1240px;
    margin: 0 auto;
    background-color: #fff;
}

.object-page-right {
    border: 1px solid #eee;
}

span.agency--type {
    color: #333333;
    font-size: 14px;
    margin: 1px 0 0;
    display: inline-block;
}

.object-page-right h1 {
    font-size: 26px;
    color: #666666;
    margin: 2px 0;
}

.firm-img {
    float: left;
    width: 26.8%;
    height: 195px;
    border: 1px solid #EDEDED;
    text-align: center;
    margin: 25px 0 17px -1px;
}

.firm-img span {
    display: table-cell;
    height: 195px;
    width: 252px;
    vertical-align: middle;
    text-align: center;
}

.firm-img img {
    max-height: 100%;
    max-width: 100%;
}

.firm--counter {
    float: right;
    width: 67.4%;
    margin: 12px 0;
}

.firm--counter h2 {
    margin: 11px 0 0;
    color: #666;
    font-size: 14px;
    padding: 0 0 11px 0;
    letter-spacing: -0.3px;
    border-bottom: 1px solid #e0e0e0;
}

.firm--counter_left > span {
    display: block;
    margin: 3px 0;
    text-transform: lowercase;
}


.firm--counter_left {
    margin: 7px 0;
    width: 171px;
    float: left;
}

.firm--counter_left > span {
    display: block;
    margin: 3px 0;
    text-transform: lowercase;
}

.firm--counter_left > span > a, .firm--counter_left > span > span {
    float: right;
    width: 35px;
    text-align: left;
    color: #7f9316;
    font-weight: 100;
}

.firm--counter_left > span > a b , .firm--counter_left > span > span b {
    font-weight:normal;
}

.firm--counter_right {
    margin: 7px 0 7px 64px;
    width: 171px;
    float: left;
}

.firm--counter_right > span {
    display: block;
    margin: 3px 0;
    text-transform: lowercase;
}

.firm--counter_right > span > a, .firm--counter_right > span > span {
    float: right;
    width: 35px;
    text-align: left;
    color: #7f9316;
    font-weight: 100;
}

.firm--counter_right > span > a b , .firm--counter_right > span > span b {
    font-weight:normal;
}

.firm--counter a {
    text-decoration: underline;
}

.firm--counter a:hover {
    text-decoration: none;
}

.firm-affiliate h2 {
    font-size: 18px;
    color: #666;
}

.firm-affiliate table {
    width: 100%;
    border-collapse: collapse;
}

.firm-affiliate table td:first-child {
    width: 32.5%;
}

.firm-affiliate table td:nth-child(2) {
    
    width: 39%;
}

.firm-affiliate table tr {
    border-top: 1px solid #e0e0e0;
}

.firm-affiliate table tr:last-child {
    border-bottom: 1px solid #e0e0e0;
}

.firm-affiliate table td {
    padding: 7px 0;
    font-size: 14px;
    color: #333333;
    vertical-align: top;
}

@media (max-width: 999px){
    .firm-img span {
        display: table-cell;
        height: 118px;
        width: 999px;
        vertical-align: middle;
        text-align: center;
    }
    .firm-img {
        float: left;
        width: 100%;
        height: 120px;
        border: 1px solid #EDEDED;
        text-align: center;
        margin: 17px 0 17px -1px;
    }
    .firm--counter {
        float: right;
        width: 100%;
        margin: 12px 0;
    }
    .firm--counter_left {
        margin: 7px 0 0 0;
        width: 100%;
        float: left;
    }
    .firm--counter_right {
        margin: 0;
        width: 100%;
        float: left;
    }
}


.firm-ext__param {
    display: inline-block;
    margin: 20px 50px 10px 0;
}

.firm-ext__param-name {
    color: #666666;
    font-weight: bold;
    padding: 0 6px 0 0;
}

.firm-ext__href {
    color: #7f9316;
    text-decoration: underline;
}

.firm-ext__list {
    margin: 30px 0 0 0;
}

.firm-ext__list-headline {
    color: #666666;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 6px 0;
}

.firm-ext__phone {
    display: block;
    color: #7f9316;
    text-decoration: underline;
}

@media (max-width: 999px) {
    .firm-ext__param {
        display: block;
        margin: 10px 0 0 0;
    }
}