.post-type-archive-rp_agency {
    ul.noo-list-agent {
        padding: 0;
    }
}
ul.noo-list-agent {
    list-style: none;
    padding: 0 15px;
    margin-top: 0 !important;
    margin-bottom: 15px;
    .agent-item, .agent-item .noo-box-agent-info {
        .transition(all .3s ease-in-out);
    }
    &.style-grid-simple {
        margin-top: 0;
        margin-bottom: 0;
        .agent-item {
            .transition(all .4s);
            .noo-thumbnail {
                background: #fafafa;
                text-align: center;
                height: 271px;
                overflow: hidden;
            }
            .agent-name {
                color: @heading_color;
                font-size: 14px;
                line-height: 26px;
                letter-spacing: 1px;
                font-weight: 700;
                margin: 0;
            }
            .noo-info {
                border: 1px solid #f0f0f0;
                border-top: none;
                padding: 16px 20px;
            }
            .noo-content {
                font-size: 14px;
                line-height: 26px;
                font-style: italic;
                i {
                    color: @primary_color;
                    font-size: 18px;
                    line-height: 26px;
                    padding-right: 6px;
                    font-style: normal;
                }
                .readmore {
                    color: @heading_color;
                    font-size: 14px;
                    line-height: 26px;
                    letter-spacing: 1px;
                    text-decoration: underline;
                    font-style: normal;
                    margin-top: 15px;
                    display: inline-block;
                    &:hover {
                        color: @primary_color;
                    }
                }
            }
            &:hover {
                .box-shadow(0 0 10px 0 fade(#000, 30%));
            }
        }
    }
    &.style-grid {
        .show-grid {
            display: block;
        }
        .show-list {
            display: none;
        }
        li.agent-item {
            margin-bottom: 30px;
            .noo-content {
                text-align: center;
                padding: 15px 15px 15px;
                .noo-header {
                    margin-bottom: 10px;
                }
                .rp-list-social {
                    position: relative;
                    top: 5px;
                    li i {
                        font-size: 14px;
                    }
                }
                .noo-contact {
                    .address {
                        display: none;
                    }
                }
            }
            &:hover .noo-box-agent-info {
                .box-shadow(0 3px 10px fade(@black, 20%));
            }
            &.agency {
                .noo-content {
                    .noo-contact {
                        .address {
                            display: inherit;
                        }
                    }
                }
            }
        }
        .noo-box-agent-info {
            .noo-thumbnail {
                background: #fff;
                text-align: center;
                min-height: 200px;
                line-height: 200px;
                padding: 15px 15px 0 15px;
            }
            .noo-content {
                .rp-list-social {
                    li {
                        margin: 0 10px;
                    }
                }
            }
        }
    }
    &.style-list {
        .show-list {
            display: block;
        }
        .show-grid {
            display: none;
        }
        .noo-thumbnail {
            min-height: 296px;
            line-height: 296px;
            .show-list {
                text-align: center;
                .rp-button {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    .scale(.9);
                    .transition(all .2s ease 0s);
                    .opacity(0);
                }
            }
        }
        .noo-content {}
        .noo-contact {
            .position {
                display: none;
            }
        }
        li.agent-item {
            margin-bottom: 30px;
            &:hover {
                .noo-thumbnail {
                    .rp-button {
                        .scale(1);
                        .opacity(1);
                    }
                }
            }
            &:hover {
                .box-shadow(0 3px 10px fade(@black, 20%));
            }
            &.agency {
                .rp-list-social {
                    top: 0;
                }
            }
        }
    }
}
.noo-box-agent-info {
    background: #fff;
    .clearfix;
    .noo-thumbnail {
        padding: 0;
        .button {
            font-size: 14px;
            padding: 15px;
            text-transform: uppercase;
            font-weight: 900;
            width: 100%;
        }
        .rp-button {
            background: @primary_color;
            .scale(.9);
            .transition(all .2s ease 0s);
            .opacity(0);
            position: absolute;
            bottom: 0;
            left: 0;
            &:hover {
                background-color: darken(@secondary_color, 30%);
            }
        }
    }
    &:hover {
        .noo-thumbnail {
            .rp-button {
                .scale(1);
                .opacity(1);
            }
        }
    }
    .noo-content {
        padding: 25px 30px 25px;
        h4 {
            color: @heading_color;
            font-size: 16px;
            line-height: 26px;
            letter-spacing: 1px;
            font-weight: 700;
            margin: 0;
        }
        .position {
            color: #666;
            font-size: 16px;
            line-height: 26px;
            font-style: italic;
        }
        .agent-about {
            font-size: 14px;
            line-height: 24px;
            color: #444;
        }
        .noo-header {
            position: relative;
            border-bottom: 1px solid #cecece;
            padding-bottom: 10px;
            padding: 0px 0px 10px;
            margin: 0px;
            margin-bottom: 25px;
            .right {
                position: absolute;
                bottom: -60px;
                right: 0;
                color: @heading_color;
                font-size: 14px;
                line-height: 26px;
                letter-spacing: 1px;
                font-weight: 700;
                span {
                    font-size: 26px;
                    color: @primary_color;
                }
            }
        }
        .noo-info {
            .total-property {
                color: @heading_color;
                font-size: 14px;
                line-height: 26px;
                letter-spacing: 1px;
                text-transform: uppercase;
                font-weight: 700;
                span {
                    font-size: 26px;
                    color: @primary_color;
                }
            }
        }
        .noo-contact {
            margin: 5px 0 12px;
            >div {
                color: #666;
                font-size: 14px;
                font-style: italic;
                line-height: 26px;
                padding-bottom: 5px;
                color: darken(@secondary_color, 2%);
                &:last-child {
                    padding-bottom: 0;
                }
                i {
                    color: @primary_color;
                    font-size: 18px;
                    line-height: 26px;
                    padding-right: 6px;
                }
            }
        }
        .rp-list-social {
            list-style: none;
            padding: 0;
            position: absolute;
            right: 0;
            top: 24px;
            li {
                display: inline-flex;
                margin-right: 20px;
                i {
                    font-size: 18px;
                    line-height: 26px;
                    letter-spacing: 1px;
                }
            }
        }
    }
}
.noo-single-agent {
    .entry-agent {
        background: #fff;
        color: #444444;
        font-size: 14px;
        line-height: 24px;
        padding: 28px 30px 40px;
        h2 {
            color: @heading_color;
            font-size: 18px;
            line-height: 26px;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 900;
            margin: 0 0 8px;
        }
    }
}
.site-content-single-post {
    .noo-box-agent-info {
        .noo-thumbnail {
            text-align: center;
        }
        .noo-content .noo-contact > div{
            font-style: inherit;
        }
        .agent-main-info {
            border-bottom: 1px solid #cecece;
            margin-bottom: 20px;
            padding-bottom: 10px;
            position: relative;
        }
    }
}
.rp-box-contact {
    padding: 25px 30px 40px;
    h2 {
        color: @heading_color;
        font-size: 18px;
        line-height: 26px;
        letter-spacing: 1px;
        font-weight: 900;
        margin: 0 0 8px;
    }
    .rp-button {
        margin: -3px 0 0;
        padding: 10px 40px;
    }
}
.noo-agent-property {
    padding: 70px 0 0;
    margin-bottom: -30px;
    .noo-header {
        text-align: center;
        margin-bottom: 30px;
        h3 {
            color: @heading_color;
            font-size: 36px;
            line-height: 26px;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 900;
        }
        p {
            color: #242e5b;
            font-size: 18px;
            line-height: 26px;
            font-style: italic;
        }
    }
}
.noo-single-agency {
    ul.noo-list-agent {
        margin: 0;
    }
    .noo-tab-wrap {
        .noo-tab-event {
            background-color: @white;
            padding: 20px 30px;
            h3 {
                margin: 0;
            }
            &.rp-property-comment {
                padding: 30px;
            }
            .noo-list-agent {
                padding: 0;
                .agent-item {
                    margin-bottom: 10px;
                }
            }
        }
        .noo-box-agents {
            padding: 30px 0 0;
        }
        .noo-box-agent-info {
            .noo-contact {
                >div {
                    font-size: 16px;
                }
            }
        }
        #noo-map {
            margin: 0;
            padding: 30px;
            list-style: none;
        }
        #noo-review {
            list-style: none;
            .noo-title {
                display: block;
                margin-bottom: 0;
            }
            .rp-property-list-comment {
                padding: 30px 0;
                .rp-stars-rating span {
                    top: -3px;
                }
            }
            .form-comment {
                .noo-header {
                    display: table;
                    >* {
                        display: table-cell;
                        float: left;
                    }
                    .rp-box-rating {
                        .translate(0);
                        .rp-rating {
                            .translateY(-8px);
                        }
                    }
                }
            }
        }
    }
    .noo-box-location {
        margin-top: 30px;
        padding: 30px;
        background: @white;
        .noo-title {
            display: none;
        }
        #noo-map {
            padding: 0;
            margin: 0;
            list-style: none;
        }
        .rp-property-item-map-wrap {
            display: none;
        }
    }
}
.noo-box-agency-info {
    background: @white;
    margin-bottom: 45px;
    .noo-thumbnail {
        min-height: 270px;
        line-height: 270px;
        text-align: center;
    }
    .noo-content {
        padding: 50px;
        padding-left: 0;
    }
    .agency-name {
        font-size: 16px;
        margin-top: 0;
    }
    .rp-list-social {
        list-style: none;
        padding: 0;
        margin: 4px 0 0;
        li {
            display: inline-flex;
            margin-right: 20px;
            i {
                font-size: 18px;
                line-height: 26px;
                letter-spacing: 1px;
            }
        }
    }
    .noo-contact {
        >div {
            font-size: 14px;
            color: @text_color;
            margin: 5px 0;
            letter-spacing: 1px;
            &:last-child {
                margin-bottom: 0;
            }
            i {
                font-size: 18px;
                color: @primary_color;
            }
        }
    }
    .agency-count {
        margin-top: 10px;
        >span {
            margin-right: 15px;
            color: @heading_color;
            >span {
                color: @primary_color;
                font-size: 18px;
                margin-left: 5px;
            }
        }
    }
    @media (max-width: 991px) {
        .noo-content {
            padding: 30px;
        }
    }
}
.rp-notice {
    font-size: 14px;
    padding: 12px 20px;
    a.login-link {
        font-weight: bold;
    }
}
.noo-warning{
    color: #a2a2a2;
    font-style: italic;
}