.fullwidth{
    width: 100%;
    height: calc(100% - 0px) !important;
}
.sales_report{
    width: 100%;
    height:calc(100% - 85px);
    .sales_report_in:before{
        position: absolute;
        width:100%;
        content:"";
        height:100%;
        // background-color: rgba(255, 255, 255, 0.8);
        background-image: url("assets/img/slider2.jpg");
        top:0;
        left:0;
        z-index: -1;
        opacity: 0.5;
    }
    .sales_report_in {
        // background-color: rgba(0, 0, 0, 0.5);
        background-color: rgba(255, 255, 255, 0.3);
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        width: 100%;
        height: 100%;
        float: left;
        // background-color: #000;
        padding: 20px;
        .sales_card{
            width: 100%;
            height: 100%;
            background-color: #fff;
            box-shadow: 0 0 1px 1px #ccc;
            padding: 10px;
            .left_card{
                position: relative;
                width: 100%;
                height: 100%;
            }
            h5 {
                font-size: 22px;
                color: #28a8e0;
                font-weight: bold;
            }
            .table_area{
                float: left;
                width: 100%;
                height: 100%;
                // height: calc(100% - 40px);
                overflow: hidden;
                .main_dropdown {
                    padding: 10px;
                    background-color: #28a8e0;
                    -webkit-box-shadow: 0 0 1px 1px #ccc;
                    box-shadow: 0 0 1px 1px #ccc;
                    float: left;
                    width: 100%;
                    .zmdropdown, .rmdropdown, .amdropdown{
                        float: left;
                        width: 33.3%;
                        label{
                            width: 140px;
                            margin-top: 6px;
                            margin-bottom: 0;
                            text-align: right;
                            color: #fff;
                            margin-right: 5px;
                        }
                    }
                    .zmdropdown, .rmdropdown{
                        padding-right: 20px;
                    }
                    select {
                        padding: 5px;
                        border: none;
                        color: #333;
                        box-shadow: 0 0 1px 1px #ccc;
                        background-color: #fff;
                        width: calc(100% - 150px);
                    }
                }
                .top_box{
                    float: left;
                    width: 100%;
                    .left_box{
                        width: 50%;
                        float: left;
                    }
                    .right_box{
                        width: 25%;
                        float: right;
                        text-align: right;
                    }
                }
                .bottom_box{
                    height: calc(100% - 210px);
                    width: 100%;
                    margin: 0;
                    .table_box{
                        padding: 0;
                    }
                }
                .table-responsive{
                    // height: calc(100% - 100px);
                    overflow: scroll;
                    float: left;
                    height:100%;
                    .table{
                        margin-bottom: 0;
                        thead{
                            background-color: #28a8e0;
                            tr{
                                th{
                                    color:#fff;
                                }
                                th:before{
                                    background-color: #fff;
                                }
                            }
                        }
                    }
                }
                .pac_pagenation{
                    float: right;
                }
                .pagination a {
                    color: black;
                    float: left;
                    padding: 8px 16px;
                    text-decoration: none;
                }
                pagination-controls /deep/ .ngx-pagination .current {
                  background-color: #fff!important;
                  color: #28a8e0 !important;
                  padding: 4px 13px;
                  border: 1px solid;
                }
                pagination-controls /deep/ .ngx-pagination a, .ngx-pagination button{
                  padding: 4px 13px;
                }

                .pagination a:hover:not(.active) {background-color: #ddd;}
            }
            .export{
                height:auto;
                text-align: center;
                margin-top: 0;
                background-color: transparent;
                width: 50%;
                img{
                    width: 50px;
                }
                p{
                    color:#666;
                    font-size: 14px;
                    font-weight: 700;
                }
            }
            form.row.form_2{
                padding: 15px 10px;
            }
            .form_2 .form-group{
                padding-left: 0;
                padding-top: 0;
                position: relative;
                background-position: 24px 9px;
                background-image: url(assets/img/search.png);
                .form-control{
                    width: 100%;
                    padding-left: 90px;
                    position: relative;
                }
            }
            .form-group:before{
                width:2px;
                height:15px;
                position: absolute;
                content: "";
                background-color: #28a8e0;
                right:13px;
                bottom: 0;
            }
            .form-group:after{
                width:2px;
                height:15px;
                position: absolute;
                content: "";
                background-color: #28a8e0;
                left:0;
                bottom: 0;
            }
            .box_right {
                width: 220px;
                padding: 30px 10px;
                float: left;
                img{
                    width: 20px;
                    float: left;
                }
                p{
                    width: 160px;
                    text-align: center;
                    color:#28a8e0;
                    float: left;
                    margin-bottom: 5px;
                    font-size: 20px;
                    font-weight: bold;
                }
            }
            .input-group.mb-3 {
                float: left;
                width: 180px;
                padding: 20px 10px;
                .input-group-prepend{
                    h6 {
                        width: 58px;
                        float: left;
                        padding-top: 15px;
                        font-size: 12px;
                        font-weight: bold;
                    }
                    button.btn.btn-outline-secondary.dropdown-toggle {
                        border-radius: 30px;
                        color: #666;
                        margin-top: 3px;
                        font-size: 14px;
                        width: 120px;
                        height: 40px;
                    }
                    button.btn.btn-outline-secondary.dropdown-toggle p {
                        width: calc(100% - 20px);
                        margin: 0;
                    }
                    .dropdown-toggle::after{
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        right: 15px;
                    }
                    .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show>.btn-outline-secondary.dropdown-toggle{
                        background-color: #28a8e0;
                        color:#fff;
                    }
                    .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-secondary.dropdown-toggle:focus{
                        box-shadow: none !important;
                    }
                    .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show>.btn-outline-secondary.dropdown-toggle{
                        background-color: #28a8e0;
                        color:#fff;
                    }
                    .btn.focus, .btn:focus{
                        box-shadow: none !important;
                        background-color: #28a8e0 !important;
                        color:#fff !important;
                    }
                    .btn-outline-secondary:hover{
                        background-color: #28a8e0 !important;
                        color:#fff !important;
                    }
                    .dropdown-menu{
                        top:5px !important;
                        left: -18px !important;
                        cursor: pointer;
                        padding: 0 10px;
                        .dropdown-item{
                            border-bottom: 1px solid #ccc;
                            padding:5px;
                            padding-left: 30px;
                            position: relative;
                            img{
                                width: 20px;
                                margin-top: -5px;
                                margin-right: 5px;
                                position: absolute;
                                left: 0;
                                top: 0;
                                bottom: 0;
                                margin: auto;
                            }
                            p{
                                margin-bottom: 0;
                                font-size: 14px;
                            }
                        }
                        .dropdown-item:last-child{
                            border-bottom: none !important;
                        }
                    }
                    .dropdown-menu:before {
                        width: 10px;
                        height: 10px;
                        position: absolute;
                        content: "";
                        background: #fff;
                        transform: rotate(45deg);
                        top: -3px;
                        left: 0;
                        right: 0;
                        margin: auto;
                        box-shadow: -2px -2px 0px -1px #ccc;
                        z-index: -7;
                    }
                }
            }
        }
    }
    .path_bg{
        width: 150px;
        height: 60px;
    }
    .path:after {
        width: 92%;
        height: 2px;
        background-color: transparent;
        content: "";
        left: 5%;
        z-index: -1;
        position: absolute;
        top: 8px;
        box-shadow: 0 -4px 5px 1px #d0cece;
    }
    .pointer:before {
        width: 8px;
        height: 8px;
        content: "";
        // background-color: #999;
        position: absolute;
        right: -5px;
        border-top-left-radius: 50%;
        // border-left: 3px solid #dad7d7;
        border-top-right-radius: 50%;
    }
    .path{
        width: 150px;
        margin: auto;
        height: 50px;
        z-index: 99;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        position: absolute;
        .type_name{
            width: 100%;
            float: left;
            p{
                float: left;
                width: 24%;
                text-align: center;
                font-size: 8px;
                font-weight: bold;
                font-style: italic;
                margin: 5px 0;
            }
        }
    }
    .pointer.grey{
        background-color: #dad7d7;
    }
    .pointer.grey:before{
        background-color: #dad7d7;
        border-left: 3px solid #dad7d7;
    }
    .pointer.grey:after{
        border-top: 6px solid #dad7d7;
    }
    .pointer.orange{
        background-color: #7bb928;
    }
    .pointer.orange:before{
        background-color: #7bb928;
        border-left: 3px solid #7bb928;
    }
    .pointer.orange:after{
        border-top: 6px solid #7bb928;
    }
    .pointer.green{
        background-color: #05a905;
    }
    .pointer.green:before{
        background-color: #036303;
        border-left: 3px solid #05a905;
    }
    .pointer.green:after{
        border-top: 6px solid #05a905;
    }
    .pointer.red , .pointer.fullred{
        background-color: #ff2525;
    }
    .pointer.red:before,.pointer.fullred:before{
        background-color: #a90606;
        border-left: 3px solid #ff2525;
    }
    .pointer.red:after,.pointer.fullred:after{
        border-top: 6px solid #ff2525;
    }
    .pointer.greengrey{
        background: linear-gradient(220deg, #7bb928 33%, transparent 40%), linear-gradient(143deg, #7bb928 36%, #dad7d7 38%)
    }
    .pointer.greengrey:before {
        background-color: #7bb928;
        border-left: 3px solid #7bb928;
    }
    .pointer.greengrey:after {
        border-top: 6px solid #dad7d7;
    }
    
    .pointer.greenred{
        background: linear-gradient(220deg, #7bb928 39%, transparent 40%), linear-gradient(143deg, #7bb928 39%, #e51521 38%)
    }
    .pointer.greenred:before {
        background-color: #7bb928;
        border-left: 3px solid #7bb928;
    }
    .pointer.greenred:after {
        border-top: 6px solid #e51521;
    }
    
    .pointer.redgrey{
        background: linear-gradient(221deg, #e51521 35%, transparent 37%), linear-gradient(146deg, #e51521 36%, #dad7d7 40%)
    }
    .pointer.redgrey:before {
        background-color: #e51521;
        border-left: 3px solid #e51521;
    }
    .pointer.redgrey:after {
        border-top: 6px solid #dad7d7;
    }
    .pointer {
        width: 24px;
        height: 44px;
        position: relative;
        border-top-left-radius: 4px;
        float: left;
        margin: 0 6px;
        // .poly{
        //     clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        // }
        .poly {
            width: 30px;
            height: 30px;
            background: transparent;
            float: left;
            position: absolute;
            bottom: -2px;
            z-index: 99;
            left: -3px;
            svg{
                float: left;
                margin: 0;
                width: 100%;
                height: 100%;
            }
            .types{
                position: absolute;
                top: 0;
                bottom: 0;
                margin: auto;
                width: 30px;
                height: 30px;
                left: 0;
                right: 0;
                text-align: center;
                font-size: 20px;
            }
        }
        // .poly:before {
        //     content: "";
        //     position: absolute;
        //     top: -15px;
        //     left: 0;
        //     width: 0;
        //     height: 0;
        //     border-left: 30px solid transparent;
        //     border-right: 30px solid transparent;
        //     border-bottom: 15px solid blue;
        // }
        // .poly:after {
        //     content: "";
        //     position: absolute;
        //     bottom: -15px;
        //     left: 0;
        //     width: 0;
        //     height: 0;
        //     border-left: 30px solid transparent;
        //     border-right: 30px solid transparent;
        //     border-top: 15px solid blue;
        // }
      }
      .pointer:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 0;
        border-left: 12px solid white;
        border-top: 10px solid red;
        border-right: 12px solid white;
      }
    //   .pointer:before {
    //     content: "";
    //     position: absolute;
    //     right: -20px;
    //     bottom: 0;
    //     width: 0;
    //     height: 0;
    //     border-left: 20px solid transparent;
    //     border-top: 20px solid transparent;
    //     border-bottom: 20px solid red;
    //   }
}
@media screen and (max-width: 1024px) {
    .sales_report{
        height: calc(100% - 60px);
    }
}
@media screen and (max-width: 414px) {
    .sales_report .sales_report_in .sales_card .table_area .table-responsive[_ngcontent-c1]{
        // height: 506px !important;
    }
}
@media screen and (max-width: 768px) {
    table caption {
      border-bottom: 1px solid #ddd;
    }
    .sales_report .sales_report_in{
        padding: 10px;
    }
    .sales_report{
        .sales_report_in{
            .sales_card{
                padding: 10px;
                .table_area{
                    padding: 0;
                    height:100%;
                    .main_dropdown{
                        padding: 10px;
                        // height: 140px;
                        .zmdropdown, .rmdropdown, .amdropdown{
                            float: left;
                            width: 100%;
                            margin: 10px 0 0 0;
                            padding: 0;
                        }
                        .zmdropdown{
                            margin-top:0 !important;
                        }
                    }
                    .top_box{
                        float: left;
                        width: 100%;
                        height: 90px;
                        margin: 0;
                        position: relative;
                        .left_box{
                            padding: 0;
                            height: 40px;
                            width:100%;
                            margin-top:10px;
                            .box_right{
                                float: inherit;
                                margin: auto !important;
                                height: 40px;
                                p{
                                    font-size: 18px;
                                    line-height: 1.2;
                                }
                            }
                            .input-group.mb-3{
                                float: left !important;
                                width: 100% !important;
                                max-width: 100% !important;
                                padding: 2px 0;
                                .input-group-prepend{
                                    h6{
                                        width: 50px;
                                    }
                                }
                            }
                        }
                        .right_box{
                            padding: 0;
                            text-align: center;
                            height: 76px;
                            // width: 100% !important;
                            // float: right !important;
                            // max-width: 100% !important;
                        }
                        .right_box.expo{
                            width: 100%;
                            float: right;
                            max-width: 120px;
                            position: absolute;
                            right: 0px;
                            top: 8px;
                            height: 40px;
                            padding: 6px;
                            img{
                                width: 23px;
                                float: left;
                            }
                            p{
                                font-size: 10px;
                                float: left;
                                margin: 5px;
                                width: 57px;
                            }
                        }
                    }
                }
                .right_box{
                    max-width: 40%;
                }
                .right_box.sear{
                    width: 100% !important;
                    float: right !important;
                    max-width: 100% !important;
                    height: 50px;
                    // margin-top: -56px;
                    form.row.form_2{
                        padding: 0;
                        max-width: 95%;
                        margin: 0 auto;
                        .form-group{
                            background-position: 7px 12px;
                            background-size: 20px;
                            padding: 0;
                            margin: 0;
                            .form-control{
                                padding-left: 30px;
                                padding-right: 0;
                                font-size: 12px;
                                height: 40px;
                            }
                        }
                        .form-group:before{
                            right: 0px;
                        }
                    }
                }
                .table_box{
                    padding: 0;
                }
                .table-responsive .table-bordered td, .table-responsive .table-bordered th{
                    font-size: 11px;
                    // vertical-align: middle;
                    padding: 10px;
                }
                .bottom_box{
                    float: left;
                    width: 100%;
                    // height: calc(100% - 160px) !important;
                    margin-top: 20px !important;
                    .table_box{
                        float: left;
                        height: 100%;
                        width: 100%;
                        .table-responsive{
                            height: 100%;
                            float: left;
                            width: 100%;
                            .table{
                                margin-bottom: 0;
                                // height: 100%;
                                float: left;
                                width: 1000px;
                            }
                        }
                    }
                }
                .export{
                    max-width: 100%;
                    width:100%;
                    padding: 0;
                    img{
                        width: 30px;
                    }
                    p{
                        font-size: 10px;
                        margin-bottom: 0;
                    }
                }
                .box_right{
                    width: 110px;
                    padding: 15px 5px;
                    float: left;
                    margin: 0 !important;
                    img{
                        width:10px;
                    }
                    p{
                        width: 80px;
                        margin-bottom: 5px;
                        font-size: 12px;
                        font-weight: bold;
                        margin-top: -2px;
                    }
                }
                .input-group.mb-3{
                    width: 170px !important;
                    float: right !important;
                    padding: 5px;
                    margin: 0 !important;
                    .input-group-prepend{
                        h6{
                            padding-top: 9px;
                            font-size: 10px;
                        }
                        button.btn.btn-outline-secondary.dropdown-toggle{
                            font-size: 12px;
                            width: 105px;
                            height: 25px;
                            padding: 2px;
                        }
                    }
                }
            }
        }
    }
  }


  @media screen and (max-width: 768px) {
    .left_box{
        max-width: 100%;
        width: 100%;
        flex: auto;
        .box_right{

            p{
                width: 120px !important;
            }
        }
    }
    .right_box{
        max-width: 50%;
        width: 100%;
        flex: auto;
    }
    .sales_report .sales_report_in .sales_card .input-group.mb-3{
        width: 20px;
        margin: auto 0;
        float: left;
        padding: 4px 10px;
    }
    .sales_report .sales_report_in .sales_card .export{
        padding: 0;
    }
    .sales_report .sales_report_in .sales_card .box_right{
        margin: auto 0;
        padding: 10px 0;
        width: 160px;
    }
    .sales_report .sales_report_in .sales_card .table_area .top_box .right_box{
        width: 100%;
        float: right;
        max-width: 150px;
        img{
            width: 35px;
        }
        p{
            font-size: 10px;
        }
    }
    .sales_report .sales_report_in .sales_card form.row.form_2{
        padding: 0px 10px;
        .form-group{
            background-position: 4px 16px;
            background-size: 25px;
            .form-control{
                padding-left: 40px;
            }
        }
    }
    .sales_report .sales_report_in .sales_card .table_area .table-responsive{
        height: auto;
    }
    .sales_report .sales_report_in .sales_card .table_area .table-responsive .table{
        width: 1200px;
    }
}
