﻿.card {
    position: relative;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

    .card .card-header {
        position: relative;
    }

@media screen and (min-width: 768px) {
    .card .card-header:not(.ch-alt) {
        padding: 18px 20px;
    }
}

@media screen and (max-width: 991px) {
    .card .card-header:not(.ch-alt) {
        padding: 18px;
    }
}

.card .card-header h2 {
    margin: 0;
    line-height: 100%;
    font-size: 17px;
    font-weight: 400;
}

    .card .card-header h2 small {
        display: block;
        margin-top: 8px;
        color: #AEAEAE;
        line-height: 160%;
    }

.bgm-dark {
    background: #000;
    color: #fff;
}


@media screen and (min-width: 768px) {
    .card .card-header.ch-alt {
        padding: 23px 26px;
    }
}

@media screen and (max-width: 991px) {
    .card .card-header.ch-alt {
        padding: 18px 18px 28px;
    }
}

.card .card-header.ch-alt:not([class*="bgm-"]) {
    background-color: #f7f7f7;
}

.card .card-header[class*="bgm-"] h2,
.card .card-header[class*="bgm-"] h2 small {
    color: #fff;
}

.card .card-header .actions {
    position: absolute;
    right: 10px;
    z-index: 2;
    top: 15px;
}

.card .card-header .btn-float {
    right: 25px;
    bottom: -23px;
    z-index: 1;
}

.card .card-body h2 {margin-top: 0;}

@media screen and (min-width: 768px) {
    .card .card-body.card-padding {
        padding: 24px 20px 18px 20px;
    }
}

@media screen and (max-width: 991px) {
    .card .card-body.card-padding {
        padding: 18px;
    }
}

.card .card-body.card-padding-sm {
    padding: 15px;
}


.block-header {
    margin-bottom: 25px;
    position: relative;
}

@media screen and (min-width: 768px) {
    .block-header {
        padding: 0 22px;
    }
}

@media screen and (max-width: 991px) {
    .block-header {
        padding: 0 18px;
    }
}

.block-header > h1 {
    font-size: 1.75em;
    color: #363636;
    margin: 30px 0 0 0;
    font-weight: 500;
    text-transform: none;
}

.block-header > h2 {
    font-size: 15px;
    color: #363636;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}

    .block-header > h2 > small, .block-header > h1 > small {
        display: block;
        text-transform: none;
        margin-top: 12px;
        margin-bottom: 20px;
        color: #777;
        line-height: 140%;
        position: relative;
        font-size: 0.55em;
    }

/*.block-header .checklist-bar {position: static;}*/
    /*.block-header  .checklist-bar li {float:left;}*/

    .block-header small b, .block-header small span {
        display: inline-block; 
    }

.block-header ul.checklist-bar {margin: 0px 0 0 5px;  display:block; top: 0; }

    .block-header small span {margin-left: 5px; margin-right: 10px; }

    .block-header .actions {
        position: absolute;
        right: 10px;
        top: -5px;
        z-index: 3;
    }


/*
 * Easy Pie Charts
 */
.epc-item {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    position: relative;
    margin-bottom: 30px;
    padding: 30px 20px;
    text-align: center;
}

.easy-pie {
    display: inline-block;
    position: relative;
    padding: 0 5px 10px;
}

    .easy-pie .percent {
        position: absolute;
        font-weight: 300;
        width: 100%;
        line-height: 100%;
        left: 0;
    }

        .easy-pie .percent:after {
            content: "%";
        }

    .easy-pie.main-pie .percent {
        margin-top: 49px;
        font-size: 50px;
        text-align: center;
    }

        .easy-pie.main-pie .percent:not([class*="c-"]) {
            color: rgba(255, 255, 255, 0.7);
        }

        .easy-pie.main-pie .percent:after {
            font-size: 30px;
        }

    .easy-pie.main-pie .pie-title {
        color: #fff;
    }

    .easy-pie:not(.main-pie) .percent {
        font-size: 26px;
        margin-top: 37px;
    }

        .easy-pie:not(.main-pie) .percent:after {
            font-size: 20px;
        }

    .easy-pie .pie-title {
        position: absolute;
        width: 100%;
        text-align: center;
        bottom: -3px;
        left: 0;
    }
/*
 * Recet Items Table Chart
 */
#recent-items-chart {
    width: calc(100% + 19px);
    height: 150px;
    margin: -20px -10px 0;
    bottom: -10px;
}
/*
 * Flot Chart
 */
[class*="flot-chart"] {
    width: 100%;
    display: block;
}

.flot-chart {
    height: 200px;
}

.flot-chart-pie {
    height: 300px;
}

@media (min-width: 768px) {
    .flot-chart-pie {
        margin-bottom: 20px;
    }
}

.flot-tooltip,
#flotTip {
    position: absolute;
    color: #333;
    display: none;
    font-size: 12px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 3px 10px;
    background-color: #fff;
    z-index: 99999;
}

[class*="flc-"] {
    text-align: center;
    margin: 10px 0 5px;
}

    [class*="flc-"] table {
        display: inline-block;
    }

    [class*="flc-"] .legendColorBox > div {
        border: #fff !important;
    }

        [class*="flc-"] .legendColorBox > div > div {
            border-radius: 50%;
        }

    [class*="flc-"] .legendLabel {
        padding: 0 8px 0 3px;
    }

.dash-widget-item {
    position: relative;
    min-height: 380px;
    margin-bottom: 30px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

    .dash-widget-item .dash-widget-header {
        position: relative;
    }

        .dash-widget-item .dash-widget-header .actions {
            display: none;
            position: absolute;
            right: 4px;
            top: 6px;
            padding: 0;
            list-style: none;
        }

            .dash-widget-item .dash-widget-header .actions > li {
                display: inline-block;
                vertical-align: baseline;
            }

                .dash-widget-item .dash-widget-header .actions > li > a {
                    color: #fff;
                    font-size: 20px;
                }

    .dash-widget-item .dash-widget-footer {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }

    .dash-widget-item .dash-widget-title {
        padding: 12px 20px;
        position: absolute;
        width: 100%;
        left: 0;
        font-weight: 300;
    }

    .dash-widget-item:hover .dash-widget-header .actions {
        display: block;
    }
/*
 * Site Visits
 */
#site-visits {
    color: rgba(255, 255, 255, 0.9);
}

    #site-visits .dash-widget-header {
        padding-bottom: 38px;
        background-color: rgba(0, 0, 0, 0.13);
    }

    #site-visits .dash-widget-title {
        bottom: 0;
        background: rgba(0, 0, 0, 0.15);
        color: rgba(255, 255, 255, 0.9);
    }

    #site-visits h3 {
        color: rgba(255, 255, 255, 0.9);
    }
/*
 * Best Selling Item
 */
#best-selling {
    background-color: #fff;
}

    #best-selling .dash-widget-header > img {
        width: 100%;
        height: 155px;
    }

    #best-selling .dash-widget-header .dash-widget-title {
        padding-bottom: 30px;
        top: 0;
        color: #fff;
        background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
        background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#99000000', endColorstr='#00000000', GradientType=0);
    }

    #best-selling .dash-widget-header .main-item {
        padding: 15px;
        color: #fff;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#99000000', GradientType=0);
    }

        #best-selling .dash-widget-header .main-item > h2 {
            font-weight: 400;
            font-size: 20px;
            margin: 5px 0 0 0;
            line-height: 100%;
            color: #fff;
        }
