html{
    --cd-violet: #66136C;
}
table.portal-deals-table a:hover{
    font-size: 1em;
    line-height: 1;
}
table.portal-deals-table .badge{
    font-size: .85em;
    padding: 6px 0;
}
table.portal-deals-table td p{
    margin-bottom: 0;
}
table.portal-deals-table .portal-deals-contacts a,
table.portal-deals-table .portal-deals-active-offer a{
    text-decoration: underline;
    font-size: 1em;
    line-height: inherit;
}
.btn-success-primary {
    background-color: var(--cd-violet);
    color: #fff;
}
.btn-cancel-secondary {
    background-color: grey;
    color: #000;
}
.btn-success-primary:focus,
.btn-cancel-secondary:focus{
    outline: none !important;
}
.btn-success-primary,
.btn-cancel-secondary{
    border: none;
    outline: none !important;
}
.cd-button.edit{
    line-height: 1;
}
.cd-button.edit:hover{
    line-height: 1;
    border: 2px solid var(--primary);
}
.cd-button.red{
    background: var(--danger);
}
.cd-button.red:hover{
    color: var(--danger);
    background: #fff;
    border: 2px solid var(--danger);
}
.deal-badge.deal-badge--locked{
    background: #FFE266;
    opacity: .9;
    padding: 0 8px;
    width: fit-content;
    margin: 0 0 .5rem auto;
}
.profile-button,
.new-deal-button{
    padding:8px 12px;
    background:#FFE266;
    color:#000;
    text-decoration:none;
}
.profile-button{
    background: #f3f3f3;
}
.actions-cell .cd-button,
.actions-cell a.cd-button{
    font-size: 1rem;
    padding: 12px;
}
table.portal-deals-table{
    margin-bottom: 6rem;
}
/*image add a listing*/
.pd-image-field{
    cursor:pointer;
}
.pd-image-preview{
    width:100%;
    height:180px;
    background-size:cover;
    background-position:center;
    background-color:#F6F6F6;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border: 1px solid #979797;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.pd-image-preview:focus{
    box-shadow: 0 0 1px 2px #66136C;
    outline:none;
}
.pd-image-placeholder{
    text-align:center;
    color:#666;
    font-size:14px;
    line-height:1.35;
    padding:10px;
}
.pd-image-placeholder-title{
    font-weight:700;
    color:#333;
    margin-bottom:4px;
}
.pd-image-placeholder-sub{
    font-size:12px;
    opacity:.8;
}
.pd-image-meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
    font-size:13px;
    color:#444;
}
.pd-image-selected{
    opacity:.9;
}
.pd-image-delete{
    border:1px solid #ddd;
    background:#fff;
    border-radius:999px;
    width:26px;
    height:26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    line-height:1;
}
.pd-image-delete:hover{
    border-color:#d9534f;
    color:#d9534f;
}
/*image single-deal.php*/
.pd-thumbnail img{
    width: 100%;
    height: auto;
}
.portal-report-trigger{
    padding: 6px 12px;
    font-size: 1rem;
}
.actions-cell{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.pd-rating{
    display:flex;
    justify-content:center;
    gap:6px;
    margin:10px 0 16px;
}
.pd-star{
    width:16px;
    height:16px;
    cursor:pointer;
    display:inline-block;
    background-image:url('../images/yelstars.png');
    background-repeat:no-repeat;
    background-position:0 -16px;

    transition:transform .15s ease;
}
.pd-star:hover{
    transform:scale(1.15);
}
.pd-star.active{
    background-position:0 0;
}
.content-block .um:not(.um-admin){
    color: #000;
}