/********************
LinkPOS style.css
*********************/
body {
    font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe WP Light', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif
}

#reportContainer {
    height: 0;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
}

#reportContainer iframe {
    top: 0;
    position: absolute;
}

#dashboardContainer {
    height: 920px;
    width: 100%;
    max-width: 1320px;
}

#dashboardContainer iframe {
    border: none;
}

#buttonsWrapper {
    width: 100%;
    text-align: center;
    padding-top: 50px;
}

a:hover,
a:visited,
a:link,
a:active {
    text-decoration: none;
    cursor: pointer;
}

#buttonsWrapper a {
    background-color: rgb(36, 169, 225);
    border: none;
    color: white;
    padding: 5px 30px;
    margin: 5px;
    width: 200px;
    height: 30px;
    display: inline-block;
    text-align: center;
}

#buttonsWrapper a:hover {
    font-size: 120%;
}

#tileContainer {
    width: 400px;
    height: 350px;
}

.infoBox {
    margin-top: 30px;
}

/********************
LinkPOS linkpos.css
*********************/
/** LOGIN PAGE STYLING **/
.login-bg {
    background: url(images/storefront-bg.jpg) no-repeat;
    background-size: cover;
    filter: blur(3px) brightness(40%);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.brand-logo {
    text-align: center;
}

.brand-logo img {
    width: 25%
}

.login-box {
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    margin: 0 auto;
    padding: 15px;
    text-align: center;
    width: 90%;
}

input[type="text"].email {
    background: url(images/mail.png) no-repeat 10px 11px;
    background-size: 24px;
}

input[type="password"] {
    background: url(images/pass.png) no-repeat 10px 11px;
    background-size: 24px;
}

input[type="submit"] {
    padding: 12px 38px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #4caf50;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    margin: 45px auto 31px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    width: 100%
}

input[type="submit"]:hover {
    background: #2e7d32;
}


input[type="text"].email,
input[type="password"] {
    width: 100%;
    padding: 15px 0px 15px 42px;
    border: 1px solid #fff;
    outline: none;
    font-size: 14px;
    color: #fff;
    margin: 14px 0px;
    font-family: 'Roboto', sans-serif;
}


.footer-bar-login {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: #000;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
}

.footer-bar-layout {
    color: #000;
    padding: 10px;
    margin-right: 8px;
    text-align: right;
}

/** MAIN STYLING **/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

html,
body,
.wrapper {
    height: 100%
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

.wrapper {
    display: flex;
    flex-direction: column;
}

#reportContainer {
    height: 100vh;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
}

.menu-title {
    display: none;
}

.sidebar-logo {
    width: 100%;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}


.filter {
    border: 1px solid #333;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

footer {
    background-color: #555;
    color: #fff;
}

#copyright {
    background-color: #000;
    color: #fff;
    position: absolute;
    bottom: 0;
}

/*Sidebar Styling*/
#sidebar {
    background: #272c33;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex: 0 0px;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#sidebar.active {
    flex: 1;
}

#sidebar.menu-tite {
    text-align: center;
}

#sidebar .sidebar-header {
    padding: 20px;
    text-align: center;
}

#sidebar.active ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar.active ul p {
    color: #fff;
    padding: 10px;
}

#sidebar.active ul.components li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar.active ul.components li a:hover {
    background: #444;
}

#sidebar.active ul.components li.active>a,
a[aria-expanded="true"] {
    color: #fff;
}

#sidebar.active ul.components a:hover {
    border-left: 5px solid #ee352b;
}

#sidebar.active ul.components .fas,
#sidebar.active span {
    display: inline;
    padding: 2px 5px;
    font-size: 21px;
}

#sidebar .fas {
    display: block;
    font-size: 50px;
    padding: 15px;
}

@media (min-width: 993px) {
    #sidebar {
        display: block !important;
    }
    #sidebar_components {
        display: block !important;
    }
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #35393f;
}

body {
    font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe WP Light', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif
}

#reportContainer {
    height: 0;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
}

#reportContainer iframe {
    top: 0;
    position: absolute;
}

#dashboardContainer {
    height: 920px;
    width: 100%;
    max-width: 1320px;
}

#dashboardContainer iframe {
    border: none;
}

#buttonsWrapper {
    width: 100%;
    text-align: center;
    padding-top: 50px;
}

a:hover,
a:visited,
a:link,
a:active {
    text-decoration: none;
    cursor: pointer;
}

#buttonsWrapper a {
    background-color: rgb(36, 169, 225);
    border: none;
    color: white;
    padding: 5px 30px;
    margin: 5px;
    width: 200px;
    height: 30px;
    display: inline-block;
    text-align: center;
}

#buttonsWrapper a:hover {
    font-size: 120%;
}

#tileContainer {
    width: 400px;
    height: 350px;
}

.infoBox {
    margin-top: 30px;
}


/* Medium devices (tablets, 768px and up)*/
@media screen and (min-width: 768px) {
    .menu-title {
        display: block;
    }

    .wrapper {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        width: 100%;
    }

    /* Shrinking the sidebar from 250px to 80px and center aligining its content*/
    #sidebar.active {
        flex: .25;
        min-width: 250px;
    }
}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {
    .login-box {
        width: 40%;
        padding: 42px 35px;
    }

    #reportContainer {
        height: 0;
        overflow: hidden;
        position: relative;
        padding-top: 56.25%;
    }

    #reportContainer iframe {
        top: 0;
        position: absolute;
    }
}

/********************/
.login {
    padding: 12px 38px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #4caf50;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    margin: 45px auto 31px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    width: 100%;
}

.num-transactions {
    background-color: #018A80;
    text-anchor: middle;
    text-align: center;
    color: white;
    font-family: wf_standard-font, helvetica, arial, sans-serif;
    font-size: 36px;
}

.num-transactions .box-header {
    background-color: #01B8AA;
    font-size: 16px;
}

.total-sales {
    background-color: #2980B9;
    text-anchor: middle;
    text-align: center;
    color: white;
    font-family: wf_standard-font, helvetica, arial, sans-serif;
    font-size: 36px;
}

.total-sales .box-header {
    background-color: #3498DB;
    font-size: 16px;
}

.total-tips {
    background-color: #F2C80F;
    text-anchor: middle;
    text-align: center;
    color: white;
    font-family: wf_standard-font, helvetica, arial, sans-serif;
    font-size: 36px;
}

.total-tips .box-header {
    background-color: #fadf66;
    font-size: 16px;
}

.total-refunds {
    background-color: #BE4A47;
    text-anchor: middle;
    text-align: center;
    color: white;
    font-family: wf_standard-font, helvetica, arial, sans-serif;
    font-size: 36px;
}

.total-refunds .box-header {
    background-color: #FD625E;
    font-size: 16px;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.8) url("Loading_icon.gif") center no-repeat;
}

/* Turn off scrollbar when body element has the loading class */
body.loading {
    overflow: hidden;
}

/* Make spinner image visible when body element has the loading class */
body.loading .overlay {
    display: block;
}

.container {
    width: 100%;
    height: 100vh;
    background-color: #eee;
}

.vertical-center {
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 90%;
}

.card {
    padding: 20px;
}

.userguide {
    float: right;
    text-align: right;
}

.leftbg {
    height: 80vh;
    background-image: url('bg2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #ccc;
}

.rightbg {
    height: 80vh;
    background-image: url('bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    border: 1px solid #ccc;
}

@media (max-width: 500px) {
    .leftbg {
        height: 50vh;
    }

    .rightbg {
        height: 50vh;
    }
}

/*
@media(max-width: 991px) {
    .navbar-header .navbar-toggle {
        width: auto;
    }
}
*/
.sticky {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
}

.main-container {
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.main-left {
    /*flex: 1;*/
    min-width: 250px;
    background: #272c33;
    overflow: auto;
}

.main-right {
    flex: 4;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sub-page {
    width: 100%;
    height: 100%;
    position: relative;
    .sub-page-iframe {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }
}

.content-header {
    justify-content: flex-start;
}

.content {
    flex: 1;
    display: flex;
    background-color: #f1f2f7;
    overflow: hidden;
}

.content-footer {
    justify-content: flex-end;
}

.report-container {
    display: flex;
    flex-direction: column;
    width: 98%;
    height: 98%;
}

.report-header {
    width: 100%;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
}

.report {
    flex: 1;
}

.sales-charts {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    .top {
        /*height: 20%;*/
        .header {
            height: 100%;
            display: flex;
            flex-direction: row;
            .box {
                flex: 1;
                display: flex;
                flex-direction: column;
                .box-header {
                    justify-content: center;
                }
                .box-body {
                    flex: 1;
                    display: flex;
                    justify-content: center;
                    align-items: center;                
                }
            }
        }
    }
    .bottom {
        flex: 1;
        display: flex;
        flex-direction: row;
        overflow: hidden;
        .left {
            flex: 2;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            .sales-chart {
                justify-content: flex-start;
                flex: 1;
            }
            .sales-table {
                flex: 1;
                overflow: auto;
            }
            .sales-totals {
                justify-content: flex-end;
            }
        }
        .right {
            flex: 1;
            overflow: auto;
        }
    }
}

.trends-charts {
    flex: 1;
    display: flex;
    flex-direction: column;
    .top {
        flex: 1;
    }
    .bottom {
        flex: 1;
        display: flex;
        flex-direction: row;
        .left {
            flex: 1;
        }
        .right {
            flex: 1;
        }
    }
}

.employee-charts {
    flex: 1;
    display: flex;
    flex-direction: column;
    .top {
        flex: 1;
        display: flex;
        flex-direction: row;
        .left {
            flex: 1;
        }
        .right {
            flex: 1;
        }
    }
    .bottom {
        flex: 1;
        display: flex;
        flex-direction: row;
        .left {
            flex: 1;
        }
        .right {
            flex: 1;
        }
    }
}

.product-charts {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    .left {
        flex: 1;
        overflow: auto;
    }
    .right {
        flex: 4;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        .product-quantity {
            flex: 1;
            overflow: auto;
        }
        .product-revenue {
            flex: 1;
            overflow: auto;
        }
    }
}

.satisfaction-charts {
    flex: 1;
    display: flex;
    flex-direction: column;
    .top {
        flex: 1;
        display: flex;
        flex-direction: row;
        .left {
            flex: 2;
        }
        .right {
            flex: 1;
        }
    }
    .bottom {
        flex: 1;
        display: flex;
        flex-direction: row;
        .left {
            flex: 2;
        }
        .right {
            flex: 1;
        }
    }
}

@media (max-width: 500px) {
    .main-container {
        flex-direction: column;
    }
    .sales-charts .top .header {
        flex-direction: column;
    }
    .sales-charts .bottom {
        flex-direction: column;
    }
    .trends-charts .bottom {
        flex-direction: column;
    }
    .employee-charts .top {
        flex-direction: column;
    }
    .employee-charts .bottom {
        flex-direction: column;
    }
    .product-charts {
        flex-direction: column;
    }
    .satisfaction-charts .top {
        flex-direction: column;
    }
    .satisfaction-charts .bottom {
        flex-direction: column;
    }
    .report-container {
        display: none;
    }
}

@media (min-width: 501px) {
    .sales-charts .top {
        height: 20%;
    }
}

.fs-button {
    margin-top: 0;
    margin-bottom: 0;
    padding: 4px 16px;
}

.grayed-out {
    opacity: .4;
    font-style: italic;
}