.icon-left {
    display: inline-block;
    margin-right: .25em;
}

.skin-purple .main-header .logo {
    background-color: #605ca8;
}

.btn-toolbar {
    white-space: nowrap;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    background-color: #cccccc!important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
    background-color: #cccccc!important;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    line-height: 1.1;
}

.btn-toolbar > a, .btn-toolbar > button, .btn-toolbar .btn-group {
    float: none!important;
}

.client-form .input-lg, .client-form .input-lg-date > .form-control, .client-form label.btn, .redeem-form label.btn, .redeem-form .input-lg, .redeem-form .input-lg-date > .form-control {
    font-size: 15px;
    height: 46px;
    line-height: 27px;
    padding-right: 16px;
}

.input-lg-date > .form-control {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.m0 {
    margin: 0;
}

.mb-1 {
    margin-bottom: 1em;
}
.mb-2 {
    margin-bottom: 2em;
}

.client-form .form-control[readonly]{
    background-color: #f3f3f3;
}

.client-form .form-group, .redeem-form .form-group {
    position: relative;
}

.client-form .group-male .btn {
    font-size: 14px;
    line-height: 24px;
}

.containerInput {
    display: block;
    position: relative;
    padding-left: 35px;
    /*margin-bottom: 12px;*/
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    height: 30px;
}

/* Hide the browser's default checkbox */
.containerInput input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 50%;
    transform:translateY(-50%);
    left: 5px;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.containerInput:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containerInput input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.containerInput input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.containerInput .checkmark:after {
    left: 10px;
    top: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.client-form .form-group input+label, .client-form .form-group .date+label, .client-form .form-group select+label, .redeem-form .form-group input+label, .redeem-form .form-group .date+label, .redeem-form .form-group select+label {
    font-weight: 600;
    position: absolute;
    display: block;
    top: -0.7em;
    padding: 0 2px;
    background-color: #fff;
    left: 0.5em;
    z-index: 3;
    line-height: 1;
}

.client-form .form-group input:focus+label, .redeem-form .form-group input:focus+label {
    color: #3c8dbc;
}

.btn .checked-label {
    width: 17px;
    height: 17px;
    display: inline-block;
    margin-right: 7px;
    font-size: 16px;
    border: 1px solid #fff;
    /*margin-left: -20px;*/
}
.btn.btn-default .checked-label {
    border-color: #000;
}

.btn .checked-label:before {
    visibility: hidden;
}

.client-form .btn.active .checked-label:before, .redeem-form .btn.active .checked-label:before {
   visibility: visible;
}

.w-100 {
    width: 100%;
}
/*.touch-device .btn {*/
    /*padding: 8px 14px;*/
    /*font-size: 16px;*/
/*}*/

.touch-device .btn-toolbar > .btn-xs {
    padding: 3px 8px;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .skin-purple .main-header .logo {
        background-color: #605ca8;
    }
}

@media (max-width: 767px) {
    .main-header {
        background-color: #605ca8;
    }

    .main-header .logo, .main-header .navbar {
        width: auto;
    }

    .skin-purple .main-header .navbar .dropdown-menu li a {
        color: #000;
    }
    .skin-purple .main-header .navbar .dropdown-menu li a:hover {
        background: #cccccc;
    }
    .navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
        right: 0;
        width: auto;
    }

    .main-header .logo {
        position: absolute;
        left: 0;
        top: 0;
    }

    .main-header .navbar {
        float: right;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: calc(100% - 70px);
    }

    .navbar-nav {
        display: flex;
        flex-grow: 1;
        margin: 0;
    }
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mb-1-xs {
        margin-bottom: 1em;
    }
}

.nowrap {
    white-space: nowrap;
}


@media print {
    body::-webkit-scrollbar { width: 0 !important }

    body { -ms-overflow-style: none; }

    body { overflow: -moz-scrollbars-none; }
}
.invoice-print .page-header {
    border: none;
}

.invoice-divider {
    margin: 1em 1em;
    height: 1px;
    /*width: 100%;*/
    border-bottom: 2px dashed #000;
}

.print-border-bottom {
    border-bottom: 1px solid #000;
    height: 1px;
    display: inline-block;
}

.print-mb-1 {
    margin-bottom: 1em;
}

.print-block {
    border: 1px solid #000;
    position: relative;
    padding: 1em;
    padding-left: 3em;
    margin-bottom: 2em;
}


.print-block--second {
    position: relative;
    /*padding: 1em 0;*/
}

.invoice-head {
    /*display: inline-block;*/
    /*text-align: left;*/
    /*padding: 1em 0;*/
}

.print-block__title {
    font-size: 1.5em;
    /*position: absolute;*/
    bottom: 100%;
    /*left: .5em;*/
    /*margin-left: .5em;*/
    /*padding: 0 8px;*/
    /*background-color: #fff;*/
    font-weight: 600;
}

.print-mb0 {
    margin-bottom: 0;
}

.print-block__info {
    font-size: .8em;
    /*position: absolute;*/
    /*bottom: 100%;*/
    /*right: 1.5em;*/
    padding: 0 8px;
    margin-left: 1.5em;
    /*background-color: #fff;*/
    font-weight: 600;
}

.print-block table {
    width: 100%;
    padding-left: 3em;

}

.print-block table td, .print-block table th {
    padding: 2px 4px;
}

.table-invoice--second {
    width: 100%;
}

.table-invoice--second thead th{
    padding: 4px 8px;
}
.table-invoice--second tbody td{
    padding: 8px 8px;
    font-size: 1.1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

@media (max-width: 500px) {
    .hidden-mobile {
        display: none!important;
    }
}

/*.header-info__wrapper {*/
    /*overflow-x: auto;*/
    /*display: inline-flex;*/
    /*max-width: 70%;*/
/*}*/

 /*.header-info {*/
     /*color: #fff;*/
     /*display: flex;*/
     /*min-width: 810px;*/
     /*margin-top: 1px;*/
 /*}*/

 .header-info-table .text-red {
     color: #ff7463!important;
 }

.header-info-table {
     text-align: right;
 }

/*.header-info-table th {*/
    /*font-weight: 400;*/
/*}*/
/*.header-info-table td {*/
    /*font-weight: 300;*/
/*}*/

.header-info-table td, .header-info-table th{
    text-align: inherit;
    /*padding: 0 8px;*/
    /*line-height: 1;*/
}

.header-info-table td:first-child, .header-info-table th:first-child {
    text-align: left;
}

/*.header-info p {*/
    /*margin-bottom: 0;*/
    /*line-height: 1;*/
    /*display: block;*/
/*}*/

.mr-1 {
    margin-right: .5em;
}
.mr-2 {
    margin-right: 1em;
}

/*.header-info .flex-column {*/
    /*!*padding: 3px 10px;*!*/
    /*display: flex;*/
    /*flex-wrap: nowrap;*/
    /*background-color: rgba(0,0,0,0.4);*/
/*}*/

/*.header-info .flex-column:not(:last-child) {*/
    /*border-right: 1px solid rgba(255, 255, 255, .6);*/
/*}*/

.flex {
    display: flex;
}


.model-info {
    /*margin: 20px 20px 20px 10px;*/
    margin-bottom: 20px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #bddbd6;
    border-radius: 5px;
}

.model-info.active {
    background-color: #bddbd6;
}

.model-info:hover:not('.active') {
    background-color: rgba(188, 188, 188, .2);
}

.model-info p {
    margin-bottom: 5px;
}

#concat-button {
}

.checkbox-count {
    margin-top: 10px;
    margin-right: 1em;
    font-size: 15px;
}

.table-checkbox {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 .25em;
    margin-bottom: 0;
}

.p-0 {
    padding-right: 0;
    width: auto;
}

.mb-0 {
    margin-bottom: 0;
}


.label-status {
    border-radius: .125rem;
    border: .0625rem solid #272833;
    /*display: inline-flex;*/
    display: inline-block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: .125rem;
    margin-right: .25rem;
    margin-top: .125rem;
    max-width: 100%;
    padding: .2rem .5rem;
    /*text-transform: uppercase;*/
    white-space: inherit;
    word-wrap: break-word;
}

.label-status--success {
    background-color: #fff;
    border-color: #5aca76;
    color: #287d3d;
}

.label-status--danger {
    background-color: #fff;
    border-color: #f48989;
    color: #da1414;
}
.label-status--warning{
    background-color: #fff;
    border-color: #ff8f39;
    color: #b95000;
}
.label-status--dark{
    background-color: #fff;
    border-color: #ffba2a;
    color: #000;
}
.label-status--info {
    background-color: #fff;
    border-color: #89a7e0;
    color: #2e5aac;
}
.label-status--default {
    background-color: #fff;
    border-color: #cdced9;
    color: #6b6c7e;
}
.label-status--dark {
    background-color: #fff;
    border-color: #000;
    color: #000;
}
.search-block {
    margin-top: 20px;
}

.search-block input {
    /*margin-right: 10px;*/
    width: 100%;
}

#phone {
    padding: 5px;
}

#sms-input {
    padding: 5px;
    margin-bottom: 10px;
}

.about-agent-card {
    margin-top: 30px;
}

/*.table {*/
/*    margin-left: 10px;*/
/*}*/

.set-agent-info {
    width: 100%;
}

#button-submit {
    justify-content: center;
}

#sum {
    padding: 5px;
    width: 50%;
    margin-top: 5px;
}

.button-add-card {
    border-radius: 50%;
}

.add-card-block {
    margin-top: 10px;
}

.my-box {
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
}

.mt-0 {
    margin-top: 0;
}


.add-card-button {
    margin-top: -5px;
    padding: 6px 6px 7px;
}

#select-card button {
    outline: none;
}

#comment {
    resize: none;
    height: 60px;
}

#numbCard {
    margin-left: 5px;
}

.select-product label {
    font-size: 12px;
}

.button-add button {
    border-radius: 0;
}


.good-input {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.dropdown-menu {
    -webkit-box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    -moz-box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.badge {
    font-weight: 600;
    outline: none;
}

/*.dataTables_wrapper .bottom .dataTables_info+.dataTables_paginate, .dataTables_wrapper .bottom .dataTables_info {*/
/*    float: left;*/
/*}*/
/*.dataTables_wrapper .bottom .dataTables_length {*/
/*    float: right;*/
/*}*/

.own-dom-table .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.own-dom-table .bottom div.dataTables_info {
    padding-top: 0;
}

@media (max-width: 767px) {
    .own-dom-table .bottom {
        display: block;
    }
}
.typeCardName,.cardNumber {
    margin-top: 10px;
}

#form-card {
    padding: 15px;
}

.disabledbutton {
    pointer-events: none;
}

.button-delete {
    line-height: 44px;
}

.purchase-cooked td:first-child:after {
    position: static;
    content: 'отоварен';
    display: block;
    width: 100%;
    color: rgba(255, 0, 0, .8);
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    /*font-weight: 800;*/
    /*padding-left: 2em;*/
    font-size: 12px;
    /*top: 50%;*/
    /*bottom: 6px;*/
}

.purchase-cooked  td {
    background-color: rgba(242, 222, 222, .6);
}

.select2-container {
    width: 100% !important;
}

#editPurchase {
    line-height: 3;
}

.sidebar-collapse.sidebar-manager  .logo{
    width: 50px;
}

.sidebar-collapse.sidebar-manager .main-header .navbar {
    margin-left: 50px;
}

.sidebar-collapse.sidebar-manager  .logo >.logo-mini {
    display: block;
    margin-left: -15px;
    margin-right: -15px;
    font-size: 18px;
}

.cityBlock {
    margin-top: -15px;
}

.label-p-status  {
    /*margin-right: 1em;*/
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    padding: 7px 15px;
    position: relative;
    top: 3px;
    display: inline-block;
}
.label-p-status .fa {
    margin-right: .5em  ;
}

.input-group-lg .input-group-addon {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.box-title__refresh {
    padding: 0;
    font-size: 20px;
    position: absolute;
    top: 4px;
    left: 7.5em;
}

.table-middle td{
    vertical-align: middle!important;
}

.paper_cert-input {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#gift-cert-block {
    max-height: 200px;
    overflow-y: scroll;
}
.overflow-block {
    max-height: 300px;
    overflow-y: auto;
}

.addition_count {
    width: 100px;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #EDEDED;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 5px;
    outline: none;
}

.change_cert-btn {
    padding: 5px 12px;
    background: #4F149B;
    border-radius: 6px;
    color: #fff;
    outline: none;
}

.cert-table {
    height: 40px;
}

.cert-input {
    margin-left: 10px;
    display: inline-flex;
}

.cert-table td{
    vertical-align: middle!important;
    /*line-height: 50px !important;*/
}

.confirm-modal-block {
    width: 40%;
    margin: auto;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


@media screen and (max-width: 1200px) {
    #purchase-list .label {
        font-size: 17px;
        position: relative;
        top: 11px;
        padding: 8px 6px;
        font-weight: 600;
    }

    #purchase-list .btn {
        font-size: 20px;
        padding: 4px 7px;
    }
}

a.header-link__flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 11px!important;
    padding-bottom: 11px!important;
}

.header-link__flex > .fa {
    margin-right: .5em;
}
.header-link__flex > span {
    line-height: 1;
}

 .mobile-table-wrapper {
     max-width: 100%;
     overflow-y: auto;
 }
.mobile-table-wrapper .table td,.mobile-table-wrapper .table th {
    white-space: nowrap;
}
.mobile-table-wrapper td:first-child,  .mobile-table-wrapper th:first-child {
    position: sticky;
    left: 0;
    background-color: #fff;
    border-right: 1px solid #f3f3f3;
    white-space: normal
}

@media (max-width: 991px) {
    .navbar-custom-menu>.navbar-nav {
         float: left;
    }
}

.navbar-custom-menu form{
    margin-bottom: 0;
}

.flatpickr-calendar {
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, 0.01), 0 15px 32px 0 rgba(0, 0, 0, 0.06)!important;
    padding: 15px!important;
    border: 1px solid #e7e7e7!important;
}
.flatpickr-day.today{
    border: 2px solid #959ea9!important;
    line-height: 35px!important;
}
.flatpickr-calendar .shop-date-range {
    background-color: #FFC107;
    color: #000;
    border-color: #FFC107;
    height: 39px;
    font-size: 16px;
}
.flatpickr-calendar .shop-date-range:hover{
     color: #333;
     background-color: #FF9800;
     border-color: #FF9800;
 }


.btn-loading {
    color: transparent !important;
    position: relative;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-loading:after {
    content: "\f110";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -.5em;
    margin-left: -.5em;
}


.inline-group {
    display: flex;
}

.inline-group > div:not(:first-child) {
    margin-left: 10px;
}

.currency-select {
    width: 84px;
    padding: 10px 8px;
}

.money-entered {
    display: inline-block;
    width: 100px;
    text-align: center;
}

.total-block {
    width: auto;
    border-radius: 6px;
    padding: 10px 15px;
    background-color: #f3f3f3;
    margin-bottom: 1em;
}

.total-block >.table td{
    vertical-align: middle;
}


.stats-panel {
    line-height: 14px;
    font-weight: 300;
}
.stats-panel span {
    color: #999999;
    font-weight: 300;
}

.stats-panel p {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;

}
.stats-panel p em {
    font-style: normal;
}

.stats-panel__title {
    font-size: 17px;
    line-height: 16px;
    color: #000000;
    font-weight: 300;
    margin: 0;
}

.stats-panel__sub-title {
    font-size: 16px;
    white-space: nowrap;
    display: block;
    margin-bottom: 10px;
}

.stats-panel__item {
    padding: 8px 17px 0;
    margin-bottom: 8px;
    background: #FFFFFF;
    border: 1px solid #DDDEDF;
}

.stats-panel__item__warning {
    padding: 8px 17px 0;
    margin-bottom: 8px;
    background: rgba(243, 156, 63, 0.1);
    border: 1px solid #F39C3F;
    border-radius: 0 0 3px 3px;
}

.stats-panel__item--lg {
    padding: 15px 17px 6px;
}

.stats-panel__header {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    background-color: #F4F5F6;
    padding: 12px 16px;
}


.loading-block {
    position: relative;
    min-height: 100px;
}

.loading-block:before {
    content: ' ';
    display: block;
    background-color: rgba(255, 255, 255, .7);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.loading-block:after {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f110";
    -webkit-animation: fa-spin 2s linear infinite;
    animation: fa-spin 2s linear infinite;
    color: #3c8dbc;
    font-size: 26px;
    margin-left: -13px;
    margin-top: -13px;
    z-index: 5;
}

.loading-block.loading-block--white:before {
    background-color: rgba(255, 255, 255, 1);
}

.cashbox-analytic {
    padding: 10px 0;
}

.cashbox-analytic-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cashbox-analytic-title {
    background: #F4F5F6;
    padding: 5px 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.cashbox-divider {
    margin-bottom: 15px;
    background-color: rgba(0,0,0,.1);
    height: 1px;
    margin-left: -15px;
    margin-right: -15px;
}

.flatpickr-calendar.open {
    width: 346px;
}

/*statistic in analytic to payout view */

.static-table-wrapp{
    padding: 10px;
}
.static-table-wrapp table{
    font-size: 14px;
}
.static-table-wrapp tbody tr{
    border-bottom: 10px solid #fff;
}
.static-table-wrapp thead tr th{
    line-height: 14px;
    text-transform: uppercase;
    color: #333333;
    padding: 10px 5px;
}
.static-table-wrapp .table>tbody>tr>td{
    padding: 0;
}
.static-table-wrapp .static-pay-method,
.static-table-wrapp .static-column{
    background: #F9F9F9;
}
.static-table-wrapp .static-pay-method:nth-child(even),
.static-table-wrapp .static-column:nth-child(even){
    background: #F0F0F0;
}
.static-table-wrapp .table tbody tr td:first-of-type{
    background: #FFFFFF;
    vertical-align: middle;
    padding: 0 5px
}
.static-table-country{
    display: flex;
    align-items: center;
    line-height: 14px;
    color: #333333;
}
.static-table-wrapp .static-column{
    height: 45px;
    text-align: right;
    padding: 5px;
}
.static-pay-method{
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.btn-purple, .btn-purple:hover {
    background-color: #605CA7;
    color: #ffffff;
    padding: 10px 48px;
}

.btn-purple-outline, .btn-purple-outline:hover {
    background: linear-gradient(0deg, rgba(96, 92, 167, 0.1), rgba(96, 92, 167, 0.1)), #FFFFFF;
    color: #605CA7;
    border: 1px solid #605CA7;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 10px 20px;
}

.btn-outline-warning {
    background: linear-gradient(0deg, rgba(243, 156, 63, 0.1), rgba(243, 156, 63, 0.1)), #FFFFFF;
    border: 1px solid #F39C3F;
    border-radius: 3px;
    color: #F39C3F;
}

.btn-outline-warning:hover {
    color: #F39C3F;
    background: linear-gradient(0deg, rgba(243, 156, 63, 0.1), rgba(243, 156, 63, 0.24)), #FFFFFF;
}
