@media only screen and (min-width: 1200px) {
    .ebsrender-page-home .main-container .main-content {
        padding-top: 1rem;
    }

    .ebsrender-page-home .main-container .main {
        justify-content: space-evenly;
        /* height: auto; */
    }
}

@media only screen and (max-width:640px) and (orientation: portrait) {
    .ebsrender-page-home .main-container .main {
        justify-content: space-around;
    }
}

.card .content h4{
	text-transform: initial;
}

.ebsrender-page-home .main-container .main-content .flex-grow-1 {
    flex-grow: unset;
}

.ebsrender-page-home [role='tabpanel']:not(.dx-item) {
    margin-bottom: 0;
}

.welcome-wg-container {
    padding-bottom: .5rem;
}

    .welcome-wg-container .display-flex {
        align-items: center;
    }

.welcom-wg-avatar {
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 2rem;
}

    .welcom-wg-avatar img {
        width: 100%;
    }

.welcome-wg-title h2 {
    font-size: 2rem;
}

.stat-wg-title a {
    font-size: .875rem;
    cursor: pointer;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group > .btn:last-child:not(:first-child), 
.btn-group > .dropdown-toggle:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.euf-solid-theme.fintech-os .btn-group > .btn {
    min-width: auto !important;
}

.stat-wg {
    height: 100%;
}

.stat-wg-container, 
.short-wg-container {
    /* height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; */
    padding-bottom: 1rem;
}

.stat-wg-elems > .display-flex {
    padding-bottom: 1rem;
    flex-direction: row;
}

.stat-wg-elem .display-flex {
    align-items: center;
    justify-content: space-around;
}

.stat-wg-elem {
    padding: 1.5rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    height: 100%;
    border-radius: 4px;
    margin-right: 1rem;
    /* -webkit-box-shadow: 0 0.06rem 0.25rem rgba(0, 0, 0, 0.23); */
    box-shadow: 0 0.06rem 0.25rem rgba(0, 0, 0, 0.2);
    display: block;
    cursor: pointer;
}

    .stat-wg-elem.active .stat-wg-elemIco i, 
    .stat-wg-elem.active .stat-wg-elemKpi h2, 
    .stat-wg-elem.active .stat-wg-elemDet div {
        color: #fff;
    }

    .stat-wg-elem .stat-wg-elemIco span {
        width: 3rem;
        height: 3rem;
        display: inline-block;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .stat-wg-elem .stat-wg-elemIco .money, .short-wg .card .preview span.invoices {
        background-image: url("../img/icons/money.svg");
    }

    .stat-wg-elem .stat-wg-elemIco .delay {
        background-image: url("../img/icons/wall-clock.svg");
    }

    .stat-wg-elem .stat-wg-elemIco .contracts, .short-wg .card .preview span.contracts {
        background-image: url("../img/icons/business.svg");
    }

    .stat-wg-elem .stat-wg-elemIco .invoices {
        background-image: url("../img/icons/profits.svg");
    }

    .stat-wg-elem.active .stat-wg-elemKpi div {
        color: #f5f5f5;
    }

    .stat-wg-elem.active, 
    .contact-wg-container {
        background: rgb(51, 63, 72);
        border-color: rgb(51, 63, 72);
    }

.stat-wg-title h4 {
    font-size: 1.15rem;
    font-weight: 700;
    padding-bottom: 1rem;
}

.stat-wg-elemIco i {
    font-size: 1.5rem;
    padding-right: 0.5rem;
    color: rgb(51, 63, 72);
}

.stat-wg-elemKpi {
    text-align: center;
}

    .stat-wg-elemKpi h2 {
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.5rem;
        color: rgb(51, 63, 72);
        display: inline-block;
    }

    .stat-wg-elemKpi div {
        color: #000;
        font-weight: 600;
        padding-top: 0;
    }

.stat-wg-elemDet div {
    line-height: 1.2;
    color: rgb(81, 78, 77);
    font-size: .9375rem;
}

.stat-wg-subtitle {
    padding-top: .5rem;
    font-weight: 600;
    font-size: .875rem;
}

.chart-container {
    position: relative;
    height: calc(90% - 2.5rem);
    width: 100%;
    box-sizing: content-box;
    display: flex;
}

#myChart {
    height: 100%;
    margin: 0 auto;
}



#myChart text {
    font-size: .875rem;
}

    #myChart text tspan {
        font-size: .75rem;
    }

    #myChart g[opacity="0.4"],
    #myChart g[opacity="0.3"] {
        display: none;
    }

.euf-solid-theme .card .content .content-dimension p {
    display: none;
}

.short-wg .card .preview {
    height: 3.375rem;
    display: flex;
    align-items: flex-end;
}

    .short-wg .card .preview span {
        display: inline-block;
        width: 2.5rem;
        height: 2.5rem;
        margin: 0 auto;
        background-size: contain;
		background-repeat: no-repeat;
    }

		.short-wg .card .preview span {
            background-image: url("../img/icons/square.svg");
        }
		
		.short-wg .card .preview span.contracts {
            background-image: url("../img/icons/contracts.svg");
        }
		
        .short-wg .card .preview span.travelRequests_AccountIcon {
            background-image: url("../img/icons/airplane.svg");
        }

        .short-wg .card .preview span.damageRequests_AccountIcon {
            background-image: url("../img/icons/damage.svg");
        }

        .short-wg .card .preview span.vignetteRequest_AccountIcon {
            background-image: url("../img/icons/car.svg");
        }

        .short-wg .card .preview span.newTicketIcon {
            background-image: url("../img/icons/tickets.svg");
        }
				
		.short-wg .card .preview span.invoicesViewIcon {
            background-image: url("../img/icons/facturiEmise.png");
        }
		
		.short-wg .card .preview span.caseListAccountIcon {
            background-image: url("../img/icons/listaSolicitari.png");
        }
		
		.short-wg .card .preview span.clientAccountIcon {
            background-image: url("../img/icons/contulMeu.png");
        }
		
		.short-wg .card .preview span.zeroBalanceNotificationIcon {
            background-image: url("../img/icons/adresaSoldZero.png");
        }
		
		.short-wg .card .preview span.outstandingInvoicesViewIcon {
            background-image: url("../img/icons/facturiNeachitate.png");
        }
		
		.short-wg .card .preview span.usefulDocumentsIcon {
            background-image: url("../img/icons/documenteUtile.png");
        }
		
		.short-wg .card .preview span.earlySettlementCessionRequestIcon {
            background-image: url("../img/icons/calculSauCesiuneInchidereAnticipata.png");
        }
		
		.short-wg .card .preview span.paymentIcon {
            background-image: url("../img/icons/istoricPlati.png");
        }
		
		.short-wg .card .preview span.chassisNumberAddressIcon {
            background-image: url("../img/icons/confirmareSerieSasiu.png");
        }
		
		.short-wg .card .preview span.earlySettlementRequestIcon {
            background-image: url("../img/icons/calculSauCesiuneInchidereAnticipata.png");
        }
		
		.short-wg .card .preview span.contractViewIcon {
            background-image: url("../img/icons/contracte.png");
        }
		
		.short-wg .card .preview span.activityRequestIcon {
            background-image: url("../img/icons/vreauOferta.png");
        }
		
		
		.short-wg .card .preview span.change {
            background-image: url("../img/icons/change.svg");
			filter: invert(95%) sepia(87%) saturate(5779%) hue-rotate(328deg) brightness(105%) contrast(99%);
			width: 1.5rem;
			height: 1.5rem;
        }
		
		.short-wg .card .preview span.quickAction {
            background-image: url("../img/icons/add.svg");
        }
		
		

.short-wg .card .content {
    padding-bottom: 1rem;
}

.short-wg-elems .display-flex {
    flex-direction: row;
    flex-flow: wrap;
}

    .short-wg-elems .display-flex:nth-child(2) {
        padding-top: 1rem;
    }

.short-wg .card {
    height: auto !important;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

    .short-wg .card.first {
        margin-left: 0;
    }

    .short-wg .card .content .content-dimension h4 {
        padding-top: 0.25rem;
    }

.currency {
    font-size: 0.75rem;
}

.euf-solid-theme .short-wg-elem.card .content .content-dimension h4 {
    color: rgb(51, 63, 72);
    font-weight: 700;
    font-size: .85rem;
}

.grid-stack-item-content.dashboard-item-content::-webkit-scrollbar-thumb {
    background: transparent;
}

@media only screen and (max-width: 812px) {
    .welcome-wg-container .display-flex {
        align-items: flex-start;
    }

    .welcome-wg-container .btn-group {
        padding-top: 1rem;
    }

    .width-50-xs {
        width: 50%;
        display: inline-block;
    }

    .short-wg-elems {
        font-size: 0;
        text-align: center;
    }

    .display-flex-md .flex-1 {
        font-size: 0;
        width: 50%;
        display: inline-block;
        padding: 0 1rem 1rem 0;
    }

    .short-wg .card {
        margin: 0;
    }

    .stat-wg-container,
    .short-wg-container {
        padding-left: 1rem;
    }
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

.welcome-wg-container, 
.stat-wg, 
.short-wg {
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.contact-wg-container {
    padding: 2rem;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 0.06rem 0.25rem rgba(0, 0, 0, 0.2);
}

.stat-wg-disclaimer {
    padding-bottom: .5rem;
}

.contact-wg a {
    color: #ddd;
    position: relative;
    padding: .5rem 0;
    display: inline-block;
}

    .contact-wg a:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        left: 0;
        bottom: 0.4rem;
        background: rgba(221, 221, 221, .1);
    }

@media only screen and (max-width: 813px) {
    .ebsrender-page-home .grid-stack {
        height: auto !important;
    }

        .ebsrender-page-home .grid-stack > .grid-stack-item[dashboardtarget="htmlwidget"] {
            position: static !important;
            height: auto;
            float: none;
            width: 100% !important;
        }

            .ebsrender-page-home .grid-stack > .grid-stack-item[dashboardtarget="htmlwidget"] > .grid-stack-item-content {
                position: static;
            }
}

.hidden-chart .flex-2 {
    display: none;
}

.hidden-chart .stat-wg-elems {
    width: 80%;
    margin: 0 auto;
}
