﻿.small-widget {
    overflow: hidden;
    min-height: 92px;
}

.small-widget .card-body {
    padding: 10px 20px;
}

.f-light {
    color: var(--grey);
}

.project-details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
}

.project-details .project-counter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    gap: 6px;
    flex-direction: column;
    margin-left: 15px;
}

.sale-content p {
    color: var(--text);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .5px;
    margin: 0;
    line-height: 20px;
}

.f-w-600 {
    font-weight: 600;
}

.f-yellow {
    color: var(--yellow) !important;
}

.f-green {
    color: var(--green) !important;
}

.f-red {
    color: var(--red) !important;
}

.f-primary {
    color: var(--primary) !important;
}

.f-white {
    color: var(--white) !important;
}

h2.f-white {
    font-size: 1.142857rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: underline;
}

h2 {
    color: #999;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .5px;
    margin: 0;
}

.project-details .project-counter span {
    font-size: 13px;
    font-weight: 400;
}

.small-widget .card-body .product-sub {
    height: 50px;
    width: 50px;
    border-radius: 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.bg-yellow-light {
    background-color: var(--bg-yellow-light) !important;
}

.bg-blue-light {
    background-color: var(--bg-blue-light) !important;
}

.bg-green-light {
    background-color: var(--bg-green-light) !important;
}

.bg-red-light {
    background-color: var(--bg-red-light) !important;
}

.yellow-image {
    max-width: 25px;
}

.project-details .project-counter span {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
}

.new-projects {
    background: url('/images/new.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 90px;
}

.card .card-header {
    background-color: transparent;
    padding: 10px;
    border-bottom: none !important;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 10px;
}

.revenuegrowth-details::before {
    content: "";
    height: calc(100% - 10px);
    position: absolute;
    background-color: var(--border-color);
    width: 1px;
    left: 0;
    top: 0;
}

.balance-data .circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.f-w-400 {
    font-weight: 400;
}

.revenuegrowth .chart::before {
    content: "";
    height: calc(100% - 10px);
    position: absolute;
    background-color: #E6E9EB;
    width: 2px;
    right: 0;
    top: 0;
}

.bg-yellow {
    background-color: var(--yellow);
}

.bg-green {
    background-color: var(--green);
}

.bg-red {
    background-color: var(--red);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.growth-details {
    border-bottom: 1px dashed var(--border-color);
    padding: 10px;
}

.card-body.total-project {
    align-content: center;
}

.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.dashboard-cards-grid--aktuelno {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 575.98px) {
    .dashboard-cards-grid--aktuelno {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .dashboard-cards-grid--aktuelno .card-body {
        padding: 10px 8px;
    }

    .dashboard-cards-grid--aktuelno .sale-detail.pr-2 {
        padding-right: 0 !important;
    }

    .dashboard-cards-grid--aktuelno h6 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .dashboard-cards-grid--aktuelno .prioritet-broj {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .dashboard-cards-grid--aktuelno .f-dark {
        font-size: 10px;
    }
}