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

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

.border-b-green {
    border-bottom: 1px solid var(--green) !important;
    border-bottom-width: 1px;
}

.border-b-red {
    border-bottom: 1px solid var(--red) !important;
    border-bottom-width: 1px;
}


.border-b-blue {
    border-bottom: 1px solid var(--primary) !important;
    border-bottom-width: 1px;
}

.border-b-yellow {
    border-bottom: 1px solid var(--yellow) !important;
    border-bottom-width: 1px;
}

.border-2 {
    border-width: 2px !important;
}

.f-light {
    color: #86909C;
}

.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: #212529;
  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-purple {
    color: var(--purple)  !important;
}


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

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

.f-small {
    font-size: 0.86rem !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:  #FFEEDF !important;
}

.bg-blue-light {
    background-color: #1a5f7f1a !important
}

.bg-green-light {
    background-color: rgba(141, 212, 180, 0.3) !important
}

.bg-red-light {
    background-color: rgba(234, 111, 78, .1) !important
}

.bg-purple-light {
    background-color: #A4508B30 !important
}

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


.purple-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;
}




/* SECOND DASH */
.card .card-header {
    background-color: transparent;
    padding: 20px 10px;
    border-bottom: none !important;
}

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

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

.sales-chart {
    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: space-between;
}

.sales-chart-dropdown {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.balance-data {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 7px;
}

.balance-data li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
}

.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 #E6E9EB
}

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


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

.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;
    }
}
