.oportunidade .etapas{
    display: -webkit-flex;
    display: flex;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.oportunidade .etapa{
    width: 100px;
    border-bottom: solid 3px;
    text-align: center;
    margin-right: 7px;
    margin-left: 7px;
    min-height: 40px;
    margin-bottom: 20px;
    border-radius: 3px;
    line-height: normal;
    display: table;
}

.oportunidade .etapa p{
    display: table-cell;
    margin: 0;
    vertical-align: middle;
}

.oportunidade .etapa:hover{
    background-color: #e8e8e8;
}

.oportunidade .etapa:active{
    background-color: #DCDCDC;
}

.oportunidade .etapa .etapa-descricao{
    margin-bottom: 5px;
    margin-top: 5px;
}

.crm .list-custom .item-custom .form-control.input-select.select-crm-cards {
    border-bottom: 1px solid #DADADB !important;
}

.crm .btn-up{
    bottom: 90px;
}

.crm .spacing-bottom{
    height: 140px;
}

.crm .select-indicator{
    position: absolute;
    right: 10px;
    bottom: 6px;
    font-size: 16px;
}

/* Histórico CRM */
.oportunidade .stream {
    position: relative;
    padding: 15px 0;
}
.oportunidade .ibox {
    margin-bottom: 0;
}
.oportunidade .ibox-content {
    border: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
}
.oportunidade .ibox-content .search-input {
    margin-left: 0;
    margin-right: 0;
}
.oportunidade .date-section{
    min-width: 77px;
}
.oportunidade .stream:first-child .stream-badge:before {
    top: 10px;
}
.oportunidade .stream:last-child .stream-badge:before {
    height: 30px;
    width: 0;
}
.oportunidade .stream.item-custom{
    display: flex;
}
.oportunidade .stream .stream-badge {
    width: 30px;
    position: relative;
}
.oportunidade .stream .stream-badge .temperatura {
    background-color:#FFD700;
    color: white;
}
.oportunidade .stream .stream-badge .status-sucesso {
    background-color:#1ab394;
    color: white;
}
.oportunidade .stream .stream-badge .status-aberto {
    background-color:#1c84c6;
    color: white;
}
.oportunidade .stream .stream-badge .status-perdido {
    background-color:#ed5565;
    color: white;
}
.oportunidade .stream .stream-badge i {
    border: 1px solid #e7eaec;
    border-radius: 50%;
    padding: 6px;
    color: #808486;
    /* position: absolute; */
    background-color: #ffffff;
    left: 8px;
    width: 27px !important;
    height: 27px !important;
}
.oportunidade .stream .stream-badge i.fa:before {
    margin-left: 2px;
}
.oportunidade .stream .stream-badge i.fa-circle {
    color: #ced0d1;
}
.oportunidade .stream .stream-badge i.bg-success {
    color: #ffffff;
    background-color: #1c84c6;
    border-color: #1c84c6;
}
.oportunidade .stream .stream-badge i.bg-primary {
    color: #ffffff;
    background-color: #1ab394;
    border-color: #1ab394;
}
.oportunidade .stream .stream-badge i.bg-warning {
    color: #ffffff;
    background-color: #f8ac59;
    border-color: #f8ac59;
}
.oportunidade .stream .stream-badge i.bg-info {
    color: #ffffff;
    background-color: #23c6c8;
    border-color: #23c6c8;
}
.oportunidade .stream .stream-badge i.bg-danger {
    color: #ffffff;
    background-color: #ed5565;
    border-color: #ed5565;
}
.oportunidade .stream .stream-badge:before {
    content: '';
    width: 1px;
    background-color: #e7eaec;
    position: absolute;
    top: 27px !important;
    bottom: 0;
    height: 120%;
    left: 13px;
}
.oportunidade .stream .stream-info {
    font-size: 12px;
    margin-bottom: 5px;
}
.oportunidade .stream .stream-info img {
    border-radius: 50%;
    width: 18px;
    height: 18px;
    margin-right: 2px;
    margin-top: -4px;
}
.oportunidade .stream .stream-info .nome-usuario{
    line-height: 10px !important;
    height: 15px !important;
    min-height: 15px !important;
}
 .oportunidade .stream .stream-panel {
    padding-left: 12px;
    width: 100%;;
} 
.oportunidade .stream-small {
    margin: 10px 0;
}
.oportunidade .stream-small .label {
    padding: 2px 6px;
    margin-right: 2px;
}

.oportunidade .temperatura-block{
    display: flex;
    flex-wrap: wrap;
}

.oportunidade .temperatura-text-block{
    height: 23px;
    display: table;
    width: fit-content;
}

.oportunidade .activity-stream star-rating{
    padding-top: 0; 
    padding-bottom: 0; 
    border: 0; 
    width: 140px; 
    height: 23px;
}

.oportunidade .descricao-block{
    height: 23px;
    width: 100%;
    display: table;
}

.oportunidade .descricao-block p{
    display: table-cell;
    vertical-align: middle;
}

.oportunidade .temperatura-text{
    font-size: 13px;
    display: table-cell;
    vertical-align: middle;
}

.crm .filter-kpi {
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .card-margin-bottom {
        margin: 0 15px 15px 0 !important;
    }
}

.crm .filter-kpi .card{
    margin: 0 15px 0 0;
    padding: 15px 0 10px 15px;
}

.crm .filter-kpi .card .select-indicator{
    top: 11px;
    right: 30px;
}
