@font-face {
    font-family: poppins_semibold;
    src: url(Poppins-SemiBold.ttf);
}

@font-face {
    font-family: impact;
    src: url(impact.ttf);
}

:root {
    --color_primary: #291574;
    --color_gray1: #9F9F9F;
    --color_gray2: #D1D1D1;
    --color_gray3: #555;
    --color_success: #38AE00;
    --color_pending: #AE8800;
    --color_failed: #AE0000;
}

body {
    background-image: url('../images/bg2.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    font-family: poppins_semibold;
}

.impact {
    font-family:impact;
}

a {
    color: #E31E26;
}

    a:hover {
        color: #E31E26;
    }


.cursor-pointer {
    cursor: pointer;
}

.lh-1 {
    line-height: 1 !important;
}

.h-250px {
    height:250px;
}

.nav-tabs .nav-link {
    color: #333;
}

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        color: #E31E26;
        font-weight: bold;
    }

.menu {
    background: rgba(255,255,255,0.6);
}
.menu .menu-item {
    padding: 5px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    transition: all 0.5s;
    font-weight: bold;
    font-size:12px;
    color:var(--color_primary);
    -webkit-transition: all 0.5s;
}

    .menu .menu-item:hover {
        background: var(--color_primary);
        color: white;
        text-decoration: none;
    }

.table-sm {
    font-size: 9px;
    line-height: 0.4;
}
.border-3 {
    border-width: 3px !important;
}

.number-box {
    background: #E31E26;
    color: white;
}

.legendBox {
    width: 40px;
    height: 17px;
}

    .number-box.green1, .legendBox.green1 {
        background: #3cba9f !important;
    }

    .number-box.green2, .legendBox.green2 {
        background: #3cba46 !important;
    }

    .number-box.blue, .legendBox.blue {
        background: #3e95cd !important;
    }

    .number-box.grey, .legendBox.grey {
        background: grey !important;
    }

.txt.green1 {
    color: #3cba9f !important;
}

.txt.green2 {
    color: #3cba46 !important;
}

.txt.blue {
    color: #3e95cd !important;
}

.txt.grey {
    color: grey !important;
}

.text-green1 {
    color: #00B050;
}

.bg-orange {
    background-color: #ED7D31;
}

.bg-blue {
    background-color: #4473C5;
}

.bg-purple {
    background-color: #7030A0;
}

.border-orange {
    border-color: #ED7D31 !important;
}

.border-blue {
    border-color: #4473C5 !important;
}

.border-purple {
    border-color: #7030A0 !important;
}

.text-green2 {
    color: #7DA652;
}

.bg-success-light {
    background: #eaffef;
}

.bg-failed-light {
    background: #fff4f5;
}

.bg-cancelled-light {
    background: #f1f1f1;
}

.bg-fawry {
    background-color: #086c8e;
    background-size: 160px;
    background-position: 10px bottom;
}

.bg-efinance {
    background-color: #db201b;
    background-image: url(../images/e-finance-logo.png);
    background-position: left bottom;
}

.bg-mobile {
    background-color: #d6bb41;
    background-image: url(../images/mobile-logo.png);
    background-position: 10px top;
}

.bg-fawry, .bg-efinance, .bg-mobile {
    background-repeat: no-repeat;
}

.bg-transparent {
    background:transparent !important;
}
.box-shadow-none {
    box-shadow:none !important;
}

#chartCenterText {
    letter-spacing:0.4px;
    z-index:-1;
}

.number {
    font-size: 24px;
    font-weight: BOLD;
}

.table td {
    padding: 5px;
}

.doughnutChartContainer {
    max-width: 150px;
}

.doughnutChart {
    width: 300px;
}

    .doughnutChart canvas {
        transform: translateX(-25%);
    }

.tab-pane {
    min-height: 220px;
}

.locations .card:hover {
    cursor: pointer;
    background: #f5f5f5;
}

.overflow-hidden {
    overflow:hidden;
}

/*login section*/
.login-section {
    position: absolute;
    right: 0;
    top: 0;
}

/*bootstrap mods*/
@media (min-width: 1200px) {
    .container {
        max-width: 1250px;
    }
}

@media (max-width: 991px) {
    .max-h-300px, .max-h-200px {
        max-height: none !important;
    }
}

@media (max-width: 768px) {
    body {
        background-size:auto;
    }
}

.fa-chevron-down:before {
    content: "\f078" !important;
}

.max-w-100{
    max-width:100%;
}

.max-w-60 {
    max-width: 60%;
}

.max-h-300px {
    max-height: 300px;
}

.max-h-200px {
    max-height: 200px;
}

@media (min-width: 768px) {
    .w-sm-50 {
        width:50%;
    }
}

.table-container {
    overflow-x:auto;
}

.card {
    -webkit-box-shadow: 0px 0px 30px 0px rgba(82, 63, 105, 0.12);
    box-shadow: 0px 0px 30px 0px rgba(82, 63, 105, 0.12);
}
.card-header {
    background-color: #f4f9e3;
}

.card.light {
    border: none;
    -webkit-box-shadow:none;
    box-shadow: none;
}


.card.light, .card.light .card-header {
    background-color: transparent;
    
    color:white;
}

    .card.light .card-header {
        border-color: white;
    }

.DataTables_sort_wrapper {
    white-space:nowrap;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.box-shadow {
    -webkit-box-shadow: 0 0 33px rgba(0,0,0,0.3);
    box-shadow: 0 0 33px rgba(0,0,0,0.3);
}

/**Dashboard*/
.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 20rem;
}

.toggle.ios .toggle-handle {
    border-radius: 20rem;
}

.cc-map input[type=button] {
    outline: none;
}

#cityVueAPP {
    direction: rtl;
    position: ABSOLUTE;
    z-index: 3;
    background: white;
    right: 63px;
    top: 10px;
    min-width: 250px;
}

#cityVueAPP ul {
    text-align: right;
}

#cityVueAPP .vs__clear {
    margin-left: 8px;
}

#cityVueAPP .vs__dropdown-toggle {
    padding: 5px 0px 7px;
}

/**New Cards Design*/
.new-card {
    font-family: arial;
    padding:5px 11px;
}
    .new-card .mid {
        font-size: 40px;
        line-height: 1.3;
        text-shadow: 3px 3px 4px rgba(0,0,0,0.2);
    }
    .new-card .bottom {
        text-shadow: 3px 3px 4px rgba(0,0,0,0.2);
    }

    .new-card > div {
        line-height:1;
    }


.grad1 {
    background-color: rgb(23,131,206);
    background-image: /*url(../images/transaction_icon.png),*/ -moz-linear-gradient(137deg, rgba(23,131,206,1) 0%, rgba(165,29,199,1) 100%);
    background-image: /*url(../images/transaction_icon.png),*/ -webkit-linear-gradient(137deg, rgba(23,131,206,1) 0%, rgba(165,29,199,1) 100%);
    background-image: /*url(../images/transaction_icon.png),*/ linear-gradient(137deg, rgba(23,131,206,1) 0%, rgba(165,29,199,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1783ce",endColorstr="#a51dc7",GradientType=1);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.grad2 {
    background-color: rgb(165,29,199);
    background-image: /*url(../images/money-icon.png),*/ -moz-linear-gradient(137deg, rgba(165,29,199,1) 0%, rgba(23,131,206,1) 100%);
    background-image: /*url(../images/money-icon.png),*/ -webkit-linear-gradient(137deg, rgba(165,29,199,1) 0%, rgba(23,131,206,1) 100%);
    background-image: /*url(../images/money-icon.png),*/ linear-gradient(137deg, rgba(165,29,199,1) 0%, rgba(23,131,206,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a51dc7",endColorstr="#1783ce",GradientType=1);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.grad3 {
    background-color: rgb(23,131,206);
    background-image: /*url(../images/transaction_icon.png),*/ -moz-linear-gradient(137deg, rgba(23,131,206,1) 0%, rgba(23,206,139,1) 100%);
    background-image: /*url(../images/transaction_icon.png),*/ -webkit-linear-gradient(137deg, rgba(23,131,206,1) 0%, rgba(23,206,139,1) 100%);
    background-image: /*url(../images/transaction_icon.png),*/ linear-gradient(137deg, rgba(23,131,206,1) 0%, rgba(23,206,139,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1783ce",endColorstr="#17ce8b",GradientType=1);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.grad4 {
    background-color: rgb(23,206,139);
    background-image: /*url(../images/money-icon.png),*/ -moz-linear-gradient(137deg, rgba(23,206,139,1) 0%, rgba(23,131,206,1) 100%);
    background-image: /*url(../images/money-icon.png),*/ -webkit-linear-gradient(137deg, rgba(23,206,139,1) 0%, rgba(23,131,206,1) 100%);
    background-image: /*url(../images/money-icon.png),*/ linear-gradient(137deg, rgba(23,206,139,1) 0%, rgba(23,131,206,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#17ce8b",endColorstr="#1783ce",GradientType=1);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.service_card {
    background: rgb(252,252,252);
    background: -moz-linear-gradient(180deg, rgba(252,252,252,1) 0%, rgba(228,228,228,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(252,252,252,1) 0%, rgba(228,228,228,1) 100%);
    background: linear-gradient(180deg, rgba(252,252,252,1) 0%, rgba(228,228,228,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fcfcfc",endColorstr="#f2f2f2",GradientType=1);
    -webkit-box-shadow: 0px 2px 10px rgba(81,81,81,0.25);
    box-shadow: 0px 2px 10px rgba(81,81,81,0.25);
    line-height: 1;
}

.service_card table td{
    line-height:1.2;
}

.fsize-1 { /*32px*/
    font-size: 2em;
}

.fsize-2 { /*22px*/
    font-size: 1.375em;
}

.fsize-3 { /*16px*/
    font-size: 1em;
}

.fsize-4 { /*14px*/
    font-size: 0.875em;
}

.fsize-5 { /*13px*/
    font-size: 0.8125em;
}

.fsize-6 { /*10px*/
    font-size: 0.625em;
}

.text-gh-primary {
    color: var(--color_primary);
}

.text-gh-gray1 {
    color: var(--color_gray1);
}

.text-gh-gray2 {
    color: var(--color_gray2);
}

.text-gh-gray3 {
    color: var(--color_gray3);
}

.text-gh-success {
    color: var(--color_success);
}

.text-gh-pending {
    color: var(--color_pending);
}

.text-gh-failed {
    color: var(--color_failed);
}

.bg-gh-success {
    background-color: var(--color_success);
}

.bg-gh-pending {
    background-color: var(--color_pending);
}

.bg-gh-failed {
    background-color: var(--color_failed);
}

.cleaner {
    clear: both;
}

.border-left, .border-left {
    border-color: var(--color_gray2) !important;
}

.service_logo {
    width: 116px;
    height: 116px;
    border: 2px solid var(--color_primary);
    background-color: var(--color_gray2);
    border-radius: 50%;
    background-position: center;
    background-size: contain;
}

.normalMeter {
    background-image: url('../images/normalMeter.jpg');
}

.smartMeter {
    background-image: url('../images/smartMeter.jpg');
}

.quotaTransactions {
    background-image: url('../images/quota-icon.png');
}


.postPaidMeter {
    background-image: url('../images/postPaidMeter.jpg');
}

/*doughnut charts*/
.chartcard {
    
}

    .chartcard:hover .refreshbtn{
        opacity:1;
    }

    .chartcard .refreshbtn {
        opacity: 0;
        position: absolute;
        top: 0;
        right: 20px;
        transition: all 0.5s;
        border-radius: 5px;
        padding: 5px 10px;
        border: 1px solid transparent;
    }

        .chartcard .refreshbtn.spin {

        }

        .chartcard .refreshbtn:hover {
            background-color: white;
            cursor: pointer;
            border: 1px solid #e3e3e3;
        }

    .chartcard .indicator {
        position: absolute;
        top: 0%;
        left: 20px;
        border-radius: 5px;
        padding: 5px 10px;
    }

    .chartcard .percentage {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        color: #1558a7;
    }

    .chartcard .total {
        font-size: 70%;
        color: #797878;
    }

    .chartcard .lastUpdateDate {
        font-size: 70%;
        color: #797878;
    }