﻿/* Googlefont Poppins CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

.home-section .home-content {
    position: relative;
    padding-top: 15px;
    z-index:1;
}

.home-content .overview-boxes {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.overview-boxes .TecContent {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.overview-boxes .SupContent {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    flex-wrap: wrap;
}


/*.overview-boxes .SupContent .maxCon {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.overview-boxes .SupContent .columnCharts {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    flex-wrap: wrap;
}*/


.overview-boxes .box {
    display: flex;
    position:relative;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    /*width: calc(100% / 4 - 15px);*/
    background: #fff;
    padding: 5px 0px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    margin: 0 3px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.chartSmall {
    min-width: 293px;
    height: 300px;
    max-width: 294px;
}

.chartBig {
    height: 300px;
    max-width: 901px;
    min-width: 500px;
    flex-basis: 10%;
}

.chartBigger {
    min-width: 335px;    
    height: 412px;
    overflow:hidden;
    overflow-x:auto;
}

.SupContent .chartBig{
    height: 300px;
    min-width: 500px;
    max-width:100%;
    flex-basis: 10%;
}

.TecContent .chartBig {
    height: 300px;
    min-width: 500px;
    max-width:100%;
    flex-basis: 10%;
}

.chartBigger .e-chart{
}

    .chartBigger .marketCont {
        display: flex;
        margin-top: -105px;
        min-width: 700px;
        flex-flow: row nowrap;
        flex-grow: 1;
    }

    .chartBigger .chartContent{
        min-width:700px;
    }

.policiesChart {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-top: -72px;
    z-index: 3;
    position: absolute;
}

/*MEDIA QUERYS*/

@media (min-width:1280px) and (max-width:1366px) {
    .chartSmall {
        min-width: 240px;
        height: 300px;
        max-width: 241px;
    }

    .chartBig {
        min-width: 450px;
    }

    .clssChartResolution {
        margin-top: -20px;
    }

    .policiesChart {
        margin-top: -58px;
    }
}

@media (min-width:1061px) and (max-width:1084px) {
    .chartBig {
        max-width: 643px;
    }
    .chartSmall {
        max-width: 323px;
    }
}

@media (min-width:900px) and (max-width:1060px) {
    .chartBig {
        min-width: 500px;
    }

    .chartSmall {
        min-width: 323px;
    }
}

@media (min-width:719px) and (max-width:750px) {
    .chartSmall {
        min-width: 200px;
        max-width: 20vh;
    }

    .clssChartResolution {
        margin-top: -20px;
    }

    .policiesChart {
        margin-top: -58px;
    }
}
    @media(max-width:620px) {
        .chartBigger {
            max-width: 95vw;
        }

        .chartBig {
            min-width: 335px !important;
            height: 400px;
            max-width: 95vw !important;
        }

            .chartBig .chartContent {
                overflow: auto !important;
                overflow-x: scroll !important;
            }

            .chartBig .e-chart {
                overflow: auto !important;
            }

        .overview-boxes .box {
            flex-basis: 100%;
        }

        .chartSmall {
            max-width: 100%;
        }

        /*.content {
        overflow: auto;
    }*/
    }

    @media (max-width:400px) {
        .box {
            min-width: 335px !important;
        }

        .outstanding-balance-indicator-container {
            max-width: 140px;
        }

        .outstanding-balance-chart-container {
            padding: 0 0px;
            margin-left: -15px;
        }
    }
    /*----------------------*/

    /*MOVER ELEMENTOS*/

    /*-----------PANTALLA BROKER--------*/
    @media (max-width: 899px) {
        .overview-boxes .box:nth-child(10) {
            order: 9;
        }

        .overview-boxes .box:nth-child(9) {
            order: 10;
        }
    }

    @media (min-width:1900px) {
        .overview-boxes .box:nth-child(12) {
            order: 10;
        }

        .overview-boxes .box:nth-child(11) {
            order: 13
        }
    }


    /*------PANTALLA TECNICO-------*/
@media (max-width:821px) {
    .overview-boxes .TecContent .box:nth-child(8) {
        order: 7
    }

    .overview-boxes .TecContent .box:nth-child(7) {
        order: 8
    }

    .overview-boxes .TecContent .box:nth-child(9) {
        order: 10;
    }

    .overview-boxes .TecContent .box:nth-child(10) {
        order: 7;
    }

}

/*------PANTALLA EJECUTIVO*/
@media(min-width:1920px){
    /*.overview-boxes .SupContent .box:nth-child(1) {
        order: 2;
    }

    .overview-boxes .SupContent .box:nth-child(2) {
        order: 1;
    }*/
    .overview-boxes .SupContent .maxCon {
        display: flex;
        flex-flow: row wrap;
        flex-grow: 1;
        width: 100%;
    }

        .overview-boxes .SupContent .columnCharts {
            visibility:visible;
            display:block;
            display: flex;
            flex-flow: column nowrap;
            flex-grow: 1;
            width:40%;
        }

    .overview-boxes .SupContent .seniority {
        display: none;
        visibility: hidden;
    }

    .overview-boxes .SupContent .graft {
        display: none;
        visibility: hidden;
    }

    .overview-boxes .SupContent .columnCharts .seniority {
        display: block;
        visibility: visible;
        flex-basis: 100% !important;
        max-height: 300px;
    }

    .overview-boxes .SupContent .columnCharts .graft {
        display: block;
        visibility: visible;
        flex-basis: 100%;
    }

    .chartBigger {
        flex-basis: 10%;
        min-width: 901px;
        max-width: 1050px;
    }

    .seniorityChart{
        /*height: 85% !important;*/
    }

    .seniority .chartContent {
        height: 255px !important;
    }
}

@media (min-width:2500px){
    .overview-boxes .SupContent .columnCharts {
        width: 50%;
    }
    .chartBigger {
        min-width: 1195px;
    }
}

@media (max-width:1919px){
    .overview-boxes .SupContent .seniority {
        display: block;
        visibility: visible;
    }

    .overview-boxes .SupContent .graft {
        display: block;
        visibility: visible;
    }

    .overview-boxes .SupContent .columnCharts {
        display: none;
        visibility: hidden;
    }
}

@media(max-width:821px) {

    .overview-boxes .SupContent .box:nth-child(5) {
        order: 6;
    }

    .overview-boxes .SupContent .box:nth-child(6) {
        order: 5;
    }

    .overview-boxes .SupContent .box:nth-child(9) {
        order: 4
    }

    .overview-boxes .SupContent .box:nth-child(8) {
        order: 9
    }
}

@media(min-width:360px) and (max-width:400px){
    .chartBigger .chartContent{
        margin-left:100%;
    }

    .chartBigger .marketCont{
        margin-left:100%;
    }
}

    /*----------------------------*/
    .overview-boxes .box.box-collection {
        flex-grow: 2;
    }

    .overview-boxes .titleChart {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .chartContent {
        width: 100%;
        height: 100%;
    }

    .dash-indicator {
        justify-content: center;
        padding: 0 5px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .overview-boxes p {
        margin: 0px;
    }

    .overview-boxes .box-topic {
        /*font-size: 20px;
    font-weight: 500;*/
        flex: 0 0 100%; /* flex-grow, flex-shrink, flex-basis */
        text-align: center;
    }

    .overview-boxes .box-title {
        font-size: 22px;
        flex: 0 0 100%;
        text-align: center;
        z-index: 5;
    }


    .home-content .box .number {
        display: inline-block;
        font-size: 36px;
        margin-top: -6px;
        font-weight: 500;
    }

    .home-content .box .indicator {
        display: flex;
        align-items: center;
    }

        .home-content .box .indicator i {
            height: 20px;
            width: 20px;
            background: #8FDACB;
            line-height: 20px;
            text-align: center;
            border-radius: 50%;
            color: #fff;
            font-size: 20px;
            margin-right: 5px;
        }

    .box .indicator i.down {
        background: #e87d88;
    }

    .home-content .box .indicator .text {
        font-size: 12px;
    }

    .home-content .box .cart {
        display: inline-block;
        font-size: 32px;
        height: 50px;
        width: 50px;
        background: #cce5ff;
        line-height: 50px;
        text-align: center;
        color: #66b0ff;
        border-radius: 12px;
        margin: -15px 0 0 6px;
    }

        .home-content .box .cart.two {
            color: #2BD47D;
            background: #C0F2D8;
        }

        .home-content .box .cart.three {
            color: #ffc233;
            background: #ffe8b3;
        }

        .home-content .box .cart.four {
            color: #e05260;
            background: #f7d4d7;
        }

    .home-content .total-order {
        font-size: 20px;
        font-weight: 500;
    }

    .home-content .sales-boxes {
        display: flex;
        justify-content: space-between;
        /* padding: 0 20px; */
    }

        /* left box */
        .home-content .sales-boxes .recent-sales {
            width: 65%;
            background: #fff;
            padding: 20px 30px;
            margin: 0 20px;
            border-radius: 12px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        .home-content .sales-boxes .sales-details {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

    .sales-boxes .box .title {
        font-size: 24px;
        font-weight: 500;
        /* margin-bottom: 10px; */
    }

    .sales-boxes .sales-details li.topic {
        font-size: 20px;
        font-weight: 500;
    }

    .sales-boxes .sales-details li {
        list-style: none;
        margin: 8px 0;
    }

        .sales-boxes .sales-details li a {
            font-size: 18px;
            color: #333;
            font-size: 400;
            text-decoration: none;
        }

    .sales-boxes .box .button {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

        .sales-boxes .box .button a {
            color: #fff;
            background: #0A2558;
            padding: 4px 12px;
            font-size: 15px;
            font-weight: 400;
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .sales-boxes .box .button a:hover {
                background: #0d3073;
            }

    /* Right box */
    .home-content .sales-boxes .top-sales {
        width: 35%;
        background: #fff;
        padding: 20px 30px;
        margin: 0 20px 0 0;
        border-radius: 12px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .sales-boxes .top-sales li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 10px 0;
    }

        .sales-boxes .top-sales li a img {
            height: 40px;
            width: 40px;
            object-fit: cover;
            border-radius: 12px;
            margin-right: 10px;
            background: #333;
        }

        .sales-boxes .top-sales li a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .sales-boxes .top-sales li .product,
        .price {
            font-size: 17px;
            font-weight: 400;
            color: #333;
        }

    @media (max-width: 1150px) {
        .home-content .sales-boxes {
            flex-direction: column;
        }

            .home-content .sales-boxes .box {
                width: 100%;
                overflow-x: scroll;
                margin-bottom: 30px;
            }

            .home-content .sales-boxes .top-sales {
                margin: 0;
            }
    }

    @media (max-width: 2440px) {
        .vendorSettle {
            flex-basis: 40%;
        }
    }

    @media (max-width: 1724px) {
        .graft {
            flex-basis: 60%;
        }
    }

    @media (max-width: 700px) {
        nav .sidebar-button .dashboard,
        nav .profile-details .admin_name,
        nav .profile-details i {
            display: none;
        }

        .home-section nav .profile-details {
            height: 50px;
            min-width: 40px;
        }

        .home-content .sales-boxes .sales-details {
            width: 560px;
        }
    }






    .dashboard {
        min-height: 500px;
    }

    .dashboard-panel {
        /*max-height: 200px;*/
    }

    .card-body.chart-wrapper {
        padding: 0;
    }

    .chart-panel {
        height: 100% !important;
        width: 100% !important;
    }

    .e-panel {
        /*padding-bottom: 28px;*/
    }

    .e-panel-header {
        background-color: rgba(0, 0, 0, .03);
    }

    .e-panel-content {
        position: relative;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .indicator-glow {
        animation-name: glow;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        color: #ff1b1b;
    }

    @keyframes glow {
        from {
            text-shadow: 0px 0px 5px #fff,0px 0px 5px #f91c1c;
        }

        to {
            text-shadow: 0px 0px 30px #f00,0px 0px 30px #f91c1c;
        }
    }

    .outstanding-balance-container {
        display: flex;
        flex-direction: column;
        flex-flow: row;
        align-items: center;
        flex-grow: 1;
    }

    .outstanding-balance-chart > svg {
        cursor: pointer !important;
    }

    .outstanding-balance-indicator-container {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: space-around;
        flex-grow: 1;
    }

    .outstanding-balance-chart-container {
        overflow: hidden;
        height: 82px;
        justify-content: center;
        padding: 0 5px;
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-grow: 1;
    }

    .dashboard-indicator-link {
        display: inline-block;
        position: relative;
        cursor: pointer;
    }

        .dashboard-indicator-link:hover {
            color: #a3b614;
        }

        .dashboard-indicator-link.indicator-glow:hover {
            color: darkred;
        }

        .dashboard-indicator-link:after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #a3b614;
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        .dashboard-indicator-link:hover:after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

    .total {
        position: absolute;
        margin-top: -210px;
        max-height: 80px;
        text-align: center;
    }

        .total p {
            margin: 0px;
        }

    .indicatorClaim {
        border-top: lightgray;
        margin: 0 10px;
        margin-top: -85px;
        width: 100%;
        height: 28px;
    }

        .indicatorClaim div {
            display: inline-block;
        }


    .textCircleChart {
        font-size: 30px;
        font-weight: 700;
        text-align: center;
        margin-top: -244px;
        z-index: 3;
        left: auto;
        position: absolute;
    }

    .donut-text {
        display: flex !important;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        min-width: 35px;
        max-width: 45px;
    }

        .donut-text div {
            display: flex;
            flex-grow: 1;
            flex-direction: column;
            flex-wrap: wrap;
        }

    .donut-Quotes {
        display: flex !important;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        min-width: 35px;
        max-width: 45px;
    }

        .donut-Quotes div {
            display: block;
            flex-grow: 1;
            flex-direction: column;
            flex-wrap: wrap;
        }

    @media(max-width:3000px) {
        .donut-text div {
            font-size: 18px;
        }

        .donut-Quotes div {
            font-size: 14px;
        }
    }

    @media(max-width:1842px) {
        .donut-text div {
            font-size: 13px;
        }

        .donut-Quotes div {
            font-size: 12px;
        }
    }

    @media(max-width:1386px) {
        .donut-text div {
            font-size: 8px;
        }

        .donut-Quotes div {
            font-size: 7px;
        }
    }

    @media(max-width:1090px) {
        .donut-text div {
            font-size: 8px;
        }

        .donut-Quotes div {
            font-size: 6px;
        }
    }

    @media(max-width:700px) {
        .donut-text div {
            font-size: 25px;
        }

        .donut-Quotes div {
            font-size: 25px;
        }
    }

    @media(max-width:400px) {
        .donut-text div {
            font-size: 13px;
        }

        .donut-Quotes div {
            font-size: 12px;
        }
    }

    .titleChart {
        text-align: center;
        font-weight: normal;
        padding-top: 3px;
        font-size: 18px;
        width: 95%;
        z-index: 5;
    }

    .headerQuote {
        width: 90%;
        min-width: 213px;
        margin: 0px 8px 0px 8px;
    }

        .headerQuote div {
            display: inline-block;
        }

        .headerQuote .expired {
            float: right;
            height: 33px;
            padding-top: 8px;
        }

            .headerQuote .expired p {
                font-size: 14px;
                margin: 0;
            }

    .clssChart {
        margin-top: -25px;
    }
