
@import url('//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700&subset=cyrillic');
@import url('//fonts.googleapis.com/css?family=Kaushan+Script');

html, body {
    font-family: 'Open Sans', Tahoma, sans-serif;
    font-weight: 400;
    color: #666;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
}

/* ======================================== */

.content-wrapper,
.main-footer {
    margin-left: 250px;
}

@media (max-width: 767px) {
    .content-wrapper,
    .main-footer {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .sidebar-collapse .content-wrapper,
    .sidebar-collapse .main-footer {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .sidebar-open .content-wrapper,
    .sidebar-open .main-footer {
        -webkit-transform: translate(250px, 0);
        -ms-transform: translate(250px, 0);
        -o-transform: translate(250px, 0);
        transform: translate(250px, 0);
    }
}

.main-header .navbar {
    margin-left: 250px;
}

.main-header .logo {
    width: 250px;
}


.main-sidebar {
    width: 250px;
}

@media (max-width: 767px) {
    .main-sidebar {
        -webkit-transform: translate(-250px, 0);
        -ms-transform: translate(-250px, 0);
        -o-transform: translate(-250px, 0);
        transform: translate(-250px, 0);
    }
}
@media (min-width: 768px) {
    .sidebar-collapse .main-sidebar {
        -webkit-transform: translate(-250px, 0);
        -ms-transform: translate(-250px, 0);
        -o-transform: translate(-250px, 0);
        transform: translate(-250px, 0);
    }
}

.control-sidebar-bg,
.control-sidebar {
    right: -250px;
    width: 250px;
}


@media (min-width: 768px) {
    .control-sidebar-open .content-wrapper,
    .control-sidebar-open .right-side,
    .control-sidebar-open .main-footer {
        margin-right: 250px;
    }
}

@media (max-width: 767px) {
    .main-header {
        position: relative;
    }
    .main-header .logo,
    .main-header .navbar {
        width: 100%;
        float: none;
    }
    .main-header .navbar {
        margin: 0;
    }
}


.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
    width: 220px;
}
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
    left: 220px !important;
}

/* ======================================== */


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans', Tahoma, sans-serif;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 300;
}

a:hover, a:active, a:focus {
    outline: none;
    text-decoration: none;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
    font-weight: normal;
}

div.required label.control-label:after {
    content: " *";
    color: red;
}

.treeview-menu {
    padding-left: 10px;
}

.box {
    margin: 0 0 60px;
    background: #fff;
    z-index: 1;
    border: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    width: 100%;
    position: relative;
    overflow: visible;
}

.box-body {
    overflow: hidden;
}

.content {
    max-width: 1400px;
}

.content-wrapper {
    min-height: 837px;
}

.form-control {
    border-radius: 3px;
    font-size: 14px;
}

.btn {
    font-size: 14px;
    padding: 7px 12px;
}

.add-btn {
    font-size: 13px;
    background-color: #D4EDDA;
}

.delete-btn {
    font-size: 13px;
    background-color: #F8D7DA;
}

.input-group {
    margin-bottom: 3px;
}

/*.input-group .btn {*/
    /*font-size: 14px;*/
    /*padding: 6px 12px;*/
/*}*/

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn.btn-flat {
    border-radius: 3px;
    width: 120px;
}

.login-btn {
    text-align: right;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

label {
    font-weight: normal;
}

.content-header > .breadcrumb > li + li:before {
    content: '/\00a0';
}

.content-header > .breadcrumb {
    /* float: right; */
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13px;
    padding: 7px 5px;
    /* position: absolute; */
    top: 15px;
    left: 15px;
    border-radius: 2px;
}

.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 0;
    list-style: none;
    background-color: transparent;
    /* border-radius: 4px; */
}

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

.login-logo, .register-logo {
    font-size: 24px;
}

.login-box-body, .register-box-body {
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.login-page, .register-page {
    background: #ecf0f5;
}

.dropActive {
    border: 1px solid #9c9c9c;
}

.dropHover {
    border: 1px solid #8c8c8c;
    box-shadow: 0 0 40px #444444;
}

.file-caption {
    height: 36px;
}

.krajee-default .file-caption-info, .krajee-default .file-size-info {
    height: 18px;
}

.text-muted {
    color: #818a91;
}

/* ==== pagination ==== */

.pagination > li > a, .pagination > li > span {
    padding: 4px 12px;
    line-height: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    color: #999;
    cursor: default;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #999;
    cursor: default;
    background-color: transparent;
}


/*===== modal file input ======*/

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 4px;
    outline: 0;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    padding: 5px 15px;
}

.input-group .form-control {
    margin-left: -1px;
}

.progress, .progress > .progress-bar, .progress .progress-bar, .progress > .progress-bar .progress-bar {
    border-radius: 2px;
}

.skin-blue .sidebar-menu>li.header {
    text-align: center;
    color: #b8c7ce;
    background: #1a2226;
    padding: 10px 25px 10px 15px;
    font-size: 14px;
}

.card {
    position: relative;
    display: block;
    margin-bottom: .75rem;
    background-color: #fff;
    border: 1px solid #bbbbbb;
    border-radius: .25rem;
}


.cap-card {
    position: relative;
    display: block;
    margin-bottom: .75rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: .25rem;
    width: 100%;
}

.card-caption {
    display: inline;
    position: absolute;
    top: -11px;
    background-color: #fff;
    margin: 0 10px;
    padding: 0 10px;
}

.card-block {
    padding: 1.25rem;
    width: 100%;
    overflow: hidden;
}

.grid-bgcolor {
    background-color: #fbfbfb;
}

.danger-bgcolor {
    background-color: #f9e8e8 !important;
}

.prod_stat {
    background: #d4edda;
    border-radius: .4rem;
    margin: 25px 0;
}

.prod_stat_title {
    font-size: 18px;
    margin-bottom: 20px;
}
.prod_stat_title_count {
    font-size: 20px;
}

.prod_stat_value {
    margin-right: 30px;
}

/*======== Alerts ======*/

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442 !important;
    background-color: #f2dede !important;
    border-color: #ebccd1 !important;
}

/*======== Labels ======*/

.label {
    display: block;
    padding: .9em;
    font-size: 90%;
    font-weight: normal;
    line-height: 1;
    color: #666 !important;
    text-align: left;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-status-new {
    background: #F8D7DA !important;
}

.label-status-kroyka {
    background: #FFF3CD !important;
}

.label-status-vyshivka {
    background: #AFE6E4 !important;
}

.label-status-poshiv {
    background: #CCE5FF !important;
}

.label-status-utug {
    background: #D4EDDA !important;
}

.label-status-ready {
    background: #E2E3E5 !important;
}

.label-status-storage {
    background: #D6D8D9 !important;
}

.label-status-change {
    background: #FFF3CD !important;
}

.label-status-in-way {
    background: #D4EDDA !important;
}

.label-status-delivered {
    background: #D6D8D9 !important;
}

.label-status-nopaid {
    text-align: center;
    background: transparent !important;
}

.label-status-paid {
    text-align: center;
    background: #D4EDDA !important;
}

.order_status_label {
    cursor: pointer;
}

.team_order_status_label {
    cursor: pointer;
}

.textile_order_status_label {
    cursor: pointer;
}

.order-data-input .cap-card {
    height: 100%;
}

/*======== order ======*/

.product-select-row {
    height: 100px;
}

.create-total-products {
    font-size: 16px;
    margin-bottom: 20px;
}

.create-order-btn {
    width: 250px;
}

.create-total-products-count {
    font-weight: bold;
    border: none;
    width: 100px;
}

.ord-head {
    padding: 15px 0;
}

.ord-row {
    border-top: 1px solid #cccccc;
    padding: 10px 0;
}

.size-ord-row {
    border-top: 1px solid #cccccc;
    padding: 5px 0;
    height: 48px;
    line-height: 33px;
}

.size-ord-cell {
    border-left: 1px solid #cccccc;
    padding: 0 2px;
}

.size-input {
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    width: 100%;
    height: 37px;
    border: none;
}

html input[disabled] {
    background: transparent;
    color: #666;
}

.form-control[readonly] {
    background-color: #fff;
    opacity: 1;
}


.modal-description-text textarea {
    border: none;
}

.empty-value {
    color: #ccc;
}

/*======== view order page ======*/

.view-order-print-btn {
    width: 120px;
    margin-left: 5px;
}

.order-copy-btn {
    width: 120px;
}

.view-order-items-count-change-btn {
    width: 200px;
}

.view-ready-date {
    margin-bottom: 30px;
}

.view-ready-date:read-only {
    background: transparent;
}

.ready_vyshivka_date {
    cursor: pointer;
}

.ready_team_vyshivka_date {
    cursor: pointer;
}

.view-total-products {
    font-size: 16px;
}

.view-total-products-count {
    font-weight: bold;
    border: none;
    width: 100px;
}

.view-order-status {
    font-size: 16px;
    margin-bottom: 50px;
}

.view-log-header {
    font-size: 16px;
    margin-bottom: 15px;
}

.view-log-row {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px dashed #e8e8e8;
}

.view-log-xs-row {
    /*padding-top: 10px;*/
    padding-bottom: 10px;
}

.view-order-status-label {
    margin-top: 7px;
}

.fur_count {
    font-weight: bold;
    /*font-size: 15px;*/
}

.order-time-info {
    color: #9c9c9c;
    font-size: 13px;
    margin-bottom: 30px;
}

.order-size-grid {
    margin-bottom: 10px;
}

.form-control-label {
    padding: 5px;
    margin-bottom: 0;
}

.view-order-photo {
    margin-bottom: 80px;
    margin-top: 118px;
}

.create-order-photo {
    margin-top: 42px;
    margin-bottom: 40px;
}

.img-responsive {
    margin: auto;
}

.view-order-body {
    margin-bottom: 30px;
}


/*======== team orders ======*/


.view-team-order-photo {
    /*margin-bottom: 40px;*/
    margin-top: 14px;
}

.view-team-order-title {
    margin-bottom: 2rem;
}

.view-team-ready-date {
    margin-bottom: 20px;
}

.team-order-time-info {
    color: #9c9c9c;
    font-size: 13px;
    margin-bottom: 5px;
}

.view-team-order-status {
    font-size: 16px;
    margin-bottom: 30px;
}

.view-team-block-header {
    font-size: 20px;
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-weight: 300;
    /*padding-left: 2rem;*/
}

.view-team-upload-btn-block {
    margin-top: auto;
}


.team-order-title-card-block {
    padding: 1.95rem 1.25rem;
    margin: auto;
}


.team-create-logotype-list {
    margin-bottom: 4.5rem;
}

.team-create-logotype-list .form-group {
    margin: 0;
    height: 100%;
}

.logo-add-btn {
    margin-top: -4rem;
}

.item-info-input .cap-card {
    height: 100%;
}

.item-info-input .card-block {
    height: 100%;
}

.block-title {
    margin: 2rem 0;
}


.team-create-furniture-list .form-group {
    margin: 0;
    height: 100%;
}

.create-create-material-block .form-group {
    height: 100%;
}

.create-create-material-block .card-block {
    height: 100%;
}

/*.create-create-material-block textarea {*/
    /*height: 100%;*/
/*}*/

.files-list .form-group {
    margin-bottom: 0;
}


.team-view-logotype {
    margin-bottom: 1rem;
}


.file-group {
    border: 1px solid #ccc;
    border-radius: 3px;
    line-height: 2.4em;
    padding-left: .5rem;
    position: relative;
    display: table;
    border-collapse: separate;
}

.file-group-control .form-control {
    margin-bottom: 3px;
}

.delete-file-btn {
    padding: 6px 12px;
    background-color: #F8D7DA;
    border: 1px solid #d2d6de;
}

.upload-file-btn {
    text-align: right;
    /*margin-right: 10px;*/
}

.card-edit-btn {
    position: absolute;
    top: -10px;
    right: 30px;
    background-color: #fff;
    padding: 0 7px;
}

.card-item-edit-btn {
    position: absolute;
    top: -10px;
    right: 39px;
    background-color: #fff;
    padding: 0 7px;
}

.card-item-remove-btn {
    position: absolute;
    top: -10px;
    right: 15px;
    background-color: #fff;
    padding: 0 7px;
}

.remove-btn {
    color: #a94442;
}

.edit-btn {
    font-size: 1rem;
    padding-left: 20px;
}



/* ==== textile orders ==== */

.textile-add-btn {
    margin-top: -18px;
}

.create-total-textile-count {
    font-weight: bold;
    border: none;
    width: 100px;
}

.create-textile-order-btn {
    width: 250px;
    padding: 11px 0 !important;
}

.create-order-item {
    margin-bottom: 30px;
}

.create-order-item .form-control[disabled] {
    background-color: #fff;
    color: #E2E3E5;
    cursor: text;
}

.edit-order-item {
    margin-bottom: 30px;
}

.edit-order-item .form-control[disabled] {
    background-color: #fff;
    color: #E2E3E5;
    cursor: text;
}

.create-order-total-textile {
    font-size: 16px;
    margin: 15px 0;
}

.textile-select-row {
    margin-bottom: 24px;
}



.view-textile-title {
    font-size: 18px;
}

.view-total-textile {
    font-size: 16px;
    margin-top: 40px;
}

.view-total-textile-count {
    font-weight: bold;
    border: none;
    width: 100px;
}

.view-textile-item-row {
    margin-bottom: 5px;
}

.view-textile-provider {
    margin-bottom: 20px;
    font-size: 15px;
}


/*======== Status modal ======*/

.modal-status-title {
    margin: 15px 0;
}

.modal-status-select {
    margin: 10px 0;
}

/*======== vyshivka modal ======*/

.modal-vyshivka-title {
    margin: 15px 0;
}

.modal-vyshivka-datepicker {
    margin: 10px 0;
}

/*===== loader ======*/

#loader {
    display: none;
    width: 36px;
    height: 36px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 99999;
    background: url("../images/loader.svg") no-repeat center;
    -webkit-background-size: cover;
    background-size: cover;
    margin: -18px 0 0 -18px;
}

#fade {
    display: none;
    background: none;
    position: fixed; left: 0; top: 0;
    width: 100%; height: 100%;
    z-index: 9999;
}

/*===== spacing ======*/

.m-b-1 {
    margin-bottom: 1rem !important;
}
.m-b-2 {
    margin-bottom: 2rem !important;
}
.m-b-3 {
    margin-bottom: 3rem !important;
}
.m-t-1 {
    margin-top: 1rem !important;
}
.m-t-2 {
    margin-top: 2rem !important;
}
.m-t-3 {
    margin-top: 3rem !important;
}
.m-y-1 {
    margin: 1rem 0 !important;
}
.m-y-2 {
    margin: 2rem 0 !important;
}
.m-y-3 {
    margin: 3rem 0 !important;
}
.m-l-1 {
    margin-left: 1rem !important;
}

.m-l-2 {
    margin-left: 2rem !important;
}

.p-t-1 {
    padding-top: 1rem !important;
}

.p-t-2 {
    padding-top: 2rem !important;
}

.p-t-3 {
    padding-top: 3rem !important;
}



/*===== vertical tabs ======*/

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
    border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
}

.tabs-below > .nav-tabs {
    border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
    margin-top: -1px;
    margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
    border-top-color: #ddd;
    border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
    border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
    float: left;
    margin-right: 19px;
    border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
    border-color: #ddd transparent #ddd #ddd;
    *border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color: #ffffff;
}

/*======== product storage ======*/

.prod-storage-head {
    padding: 15px 0;
}

.prod-storage-row {
    border-top: 1px solid #cccccc;
    padding: 5px 0;
    height: 48px;
    line-height: 37px;
}

.prod-storage-cell {
    border-left: 1px solid #cccccc;
    padding: 0 2px;
}

.prod-storage-input {
    /*font-weight: bold;*/
    /*font-size: 16px;*/
    /*text-align: center;*/
    width: 100%;
    height: 37px;
    border: none;
}

.prod-storage-instock {
    font-weight: bold;
    font-size: 16px;
}

.prod-storage-hold {
    color: #999;
}

.prod-storage-update {
    cursor: pointer;
}

.prod-storage-empty {
    font-size: 14px;
    font-weight: normal;
    color: #dddddd;
}

.nav-product-storage {
    margin-top: 10px;
}

.prod-storage-info {
    padding-left: 30px;
    font-size: 13px;
}

/* labels */

.label-storage-update {
    cursor: pointer;
}
.label-storage-input {
    width: 100%;
    height: 37px;
    border: none;
}

/*======== product storage left nav ======*/

.box .nav-stacked > li {
    border-bottom: 1px solid #f7f7f7;
    margin-top: 2px;
    padding-bottom: 2px;
}

.box .nav-stacked > li:last-of-type {
    border-bottom: none;
}

.nav-stacked > li.active > a, .nav-stacked > li.active > a:hover {
    background: transparent;
    color: #666;
    border-top: 0;
    border-left-color: #3c8dbc;
}

.nav-pills > li.active > a {
    font-weight: 600;
}

.nav-stacked > li > a {
    border-radius: 0;
    border-top: 0;
    border-left: 3px solid transparent;
    color: #666;
}

.nav-pills > li > a {
    border-radius: 0;
    border-top: none;
    color: #666;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #666;
    background-color: #fff;
}
.nav > li > a:hover, .nav > li > a:active, .nav > li > a:focus {
    color: #666;
    background: #fff;
}


/* ==== textile storage ==== */

.textile-storage-head {
    padding: 15px 0;
}

.textile-storage-row {
    border-bottom: 1px solid #cccccc;
    padding: 5px 0;
    height: 48px;
    line-height: 37px;
}

.textile-storage-head-row {
    border-bottom: 1px solid #cccccc;
    padding: 5px 0;
    height: 48px;
    line-height: 37px;
}

.textile-storage-item {
    padding: 10px 40px;
}

.textile-storage-cell {
    border-left: 1px solid #cccccc;
    padding: 0 2px;
    height: 37px;
}

.textile-storage-head-cell {
    border-left: 1px solid #cccccc;
    padding: 0 2px;
    height: 37px;
}

.textile-storage-input {
    width: 100%;
    height: 37px;
    border: none;
}

.textile-storage-instock {
    font-weight: bold;
    font-size: 16px;
}

.textile-storage-update {
    cursor: pointer;
}

.textile-storage-empty {
    font-size: 14px;
    font-weight: normal;
    color: #dddddd;
}


/* ==== elastic storage ==== */

.elastic-storage-head {
    padding: 15px 0;
}

.elastic-storage-row {
    border-bottom: 1px solid #cccccc;
    padding: 5px 0;
    height: 48px;
    line-height: 37px;
}

.elastic-storage-item {
    padding: 10px 40px;
}

.elastic-storage-cell {
    border-left: 1px solid #cccccc;
    padding: 0 2px;
}

.elastic-storage-input {
    width: 100%;
    height: 37px;
    border: none;
}

.elastic-storage-instock {
    font-weight: bold;
    font-size: 16px;
}

.elastic-storage-update {
    cursor: pointer;
}

.elastic-storage-empty {
    font-size: 14px;
    font-weight: normal;
    color: #dddddd;
}

/*======== grid-view td width ======*/

.grid-width-40 {
    width: 40px;
}

.grid-width-70 {
    width: 70px;
}

.grid-width-100 {
    width: 100px;
}

.grid-width-120 {
    width: 120px;
}

.grid-width-140 {
    width: 140px;
}

.grid-width-200 {
    width: 200px;
}

.grid-width-250 {
    width: 250px;
}

.grid-width-300 {
    width: 300px;
}




/* =====  flex  ====== */

.flex-container {
    display: flex;
    display: -webkit-flex;
}

.flex-container .cap-card {
    margin: 0;
}

.flex-img-link {
    margin: auto;
}

.flex-child-container {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    height: 100%;
}

/*======== mobile adaptive ======*/

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}


@media (max-width: 1199px) {

    .order-time-info {
        margin-bottom: 5px;
    }

    .view-order-items-count-change-btn {
        margin-bottom: 30px;
    }


    .prod_stat_value {
        margin: 0;
        display: block;
    }


    .order-index-grid .text-center {
        text-align: right;
    }

    .order-index-grid table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .order-index-grid .table-bordered {
        border: none;
    }

    .order-index-grid table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .order-index-grid .table-bordered tbody tr td {
        border: none;
        border-bottom: 1px solid #f4f4f4;
        display: block;
        text-align: right;
        line-height: 34px !important;
    }

    .order-index-grid .table-bordered tbody tr td:last-child {
        border: none;
    }

    .order-index-grid table td > * {
        vertical-align: middle;
    }

    .order-index-grid table td:before {
        content: attr(data-label);
        float: left;
    }

    .order-index-grid .grid-width-40,
    .order-index-grid .grid-width-70,
    .order-index-grid .grid-width-100,
    .order-index-grid .grid-width-120,
    .order-index-grid .grid-width-140,
    .order-index-grid .grid-width-200,
    .order-index-grid .grid-width-250,
    .order-index-grid .grid-width-300 {
        width: 100%;
    }

    .order-index-grid .label {
        width: 49%;
        margin-left: 51%;
    }

    .order-index-grid .status_label {
        width: 78%;
        margin-left: 22%;
    }

    .order-index-grid .btn-3-xs {
        width: 32%;
        margin: 0 1px;
        padding: 8px 0;
    }

    .order-index-grid .btn-2-xs {
        width: 49%;
        margin: 0 1px;
        padding: 8px 0;
    }

    .order-index-grid .btn-xs {
        width: 50%;
    }


    .order-index-grid .mobile-only {
        display: block;
    }

    .order-index-grid .desktop-only {
        display: none;
    }

    .view-textile-item-row {
        margin-bottom: 0;
    }


    .create-order-total-textile {
        font-size: 16px;
        margin: 15px 0;
    }

}


@media (max-width: 991px) {

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }


    h2, .h2 {
        font-size: 22px;
    }


    .view-ready-date {
        margin-bottom: 20px;
    }

    .view-order-status {
        margin-bottom: 30px;
    }

    .btn-3-xs {
        width: 32%;
        margin: 0 1px;
        padding: 8px 0;
    }

    .btn-2-xs {
        width: 49%;
        margin: 0 1px;
        padding: 8px 0;
    }

    .btn-xs-b-1 {
        float: none;
        display: block;
        width: 100%;
        padding: 8px 0;
        margin-bottom: .5rem;
    }

    .grid-view .text-center {
        text-align: right;
    }

    .grid-view table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .grid-view .table-bordered {
        border: none;
    }

    .grid-view table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .grid-view .table-bordered tbody tr td {
        border: none;
        border-bottom: 1px solid #f4f4f4;
        display: block;
        text-align: right;
        line-height: 34px !important;
    }

    .grid-view .table-bordered tbody tr td:last-child {
        border: none;
    }

    .grid-view table td > * {
        vertical-align: middle;
    }

    .grid-view table td:before {
        content: attr(data-label);
        float: left;
    }

    .grid-width-40, .grid-width-70, .grid-width-100, .grid-width-120, .grid-width-140, .grid-width-200, .grid-width-250, .grid-width-300 {
        width: 100%;
    }

    .grid-view .label {
        width: 49%;
        margin-left: 51%;
    }

    .grid-view .status_label {
        width: 78%;
        margin-left: 22%;
    }

    .prod_stat_title {
        font-size: 16px;
    }

    .prod_stat_title_count {
        font-size: 18px;
    }

    .login-box, .register-box {
        width: 50%;
    }

    .product-storage-grid {
        margin: 20px 0;
    }

    .prod-storage-info {
        padding: 0;
        font-size: 13px;
    }

    .col2 li {
        display: block;
        float: left;
        width: 49%;
    }

    .col2 {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    /*.box .nav-stacked > li {*/
    /*border-bottom: 1px solid #f7f7f7;*/
    /*margin-top: 2px;*/
    /*padding-bottom: 2px;*/
    /*}*/

    .box .nav-stacked > li:last-of-type {
        border-bottom: 1px solid #f7f7f7;
    }

    .view-order-photo {
        /*margin-bottom: 40px;*/
        margin-top: 30px;
    }


    .create-total-products {
        margin-top: 30px;
    }



    .flex-container {
        display: block !important;
    }

    .flex-container .cap-card {
        margin-top: 20px;
    }

    .image-file-input {
        margin-top: 30px;
    }

    .item-info-input {
        margin-top: 48px;
    }

    .image-file-input .btn-file {
        position: absolute !important;
    }

    .logo-add-btn {
        margin-top: 1rem;
    }

    .team-create-logotype-list {
        margin-bottom: 0;
    }

    .create-order-btn {
        padding: 11px 0 !important;
    }

    .view-team-order-title {
        margin-bottom: 0;
    }

    .block-title {
        margin: 1rem 0;
    }

    .add-btn {
        padding: 7px 30px;
    }

    .delete-btn {
        padding: 7px 30px;
    }


    .team-view-logotype {
        margin-bottom: 0;
    }


    .view-team-block-header {
        font-size: 19px;
        margin-bottom: 0;
        font-weight: 300;
        /*padding-left: 2rem;*/
    }



    .view-order-print-btn {
        margin-left: 0;
    }

    .view-total-textile {
        margin-top: 15px;
    }


}


@media (max-width: 800px) {

    /*.login-box, .register-box {*/
        /*width: 60%;*/
    /*}*/
}


@media (max-width: 767px) {

    .view-order-items-count-change-btn {
        margin-bottom: 10px;
    }

    .order-size-grid {
        margin-bottom: 15px;
    }

    .view-ready-date {
        margin-bottom: 15px;
    }

    .view-order-status {
        margin-bottom: 30px;
    }

    .view-order-status-label {
        margin-top: 5px;
    }

    .ord-title {
        font-size: 20px;
        margin-top: 10px;
    }

    .create-order-photo {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 19px;
    }

    .view-total-textile {
        margin-top: 10px;
    }

    .textile-storage-item {
        padding: 10px 20px;
    }

    .elastic-storage-item {
        padding: 10px 20px;
    }
}


@media (min-width: 576px) and (max-width: 991px) {

    .btn-xs {
        float: none;
        width: 50%;
        padding: 8px 0;
    }

    .btn-lg-xs {
        float: none !important;
        width: 100%;
        padding: 8px 0;
        margin-top: 1rem;
    }
}


@media (min-width: 992px) and (max-width: 1024px) {

    .textile-storage-head-row {
        padding-top: 8px;
        height: 56px;
        line-height: 20px;
    }

    .textile-storage-head-cell {
        height: 42px;
        padding-top: 10px;
    }
}


@media (max-width: 575px) {

    .btn-xs {
        float: none !important;
        width: 100% !important;
        padding: 8px 0;
    }



    .btn-lg-xs {
        float: none !important;
        width: 100%;
        padding: 8px 0;
        margin-top: 1rem;
    }

    .login-box, .register-box {
        width: 90%;
    }

    .visible-sxs {
        display: block !important;
    }

    .hidden-sxs {
        display: none !important;
    }

    .new-order-btn {
        margin: 1rem 0;
    }

    .order-copy-btn {
        margin-top: 1rem;
    }

    .view-order-print-btn {
        margin-top: 1rem;
    }

    .textile-storage-head-row {
        padding-top: 8px;
        height: 56px;
        line-height: 20px;
    }

    .textile-storage-head-cell {
        height: 42px;
        padding-top: 10px;
    }
}


@media (max-width: 343px) {

    .login-btn {
        margin-left: -11px;
    }
}

/*===== print ======*/

@media only screen
{
    .only-print, .only-print *
    {
        display: none !important;
    }
}

@media print {

    .no-print, .no-print *
    {
        display: none !important;
    }

    .pagebreak {
        page-break-after: always;
    }

    body {
        font-size: 11px;
        line-height: 14px;
    }

    .col-pr-6 {
        width: 50%;
    }

    .col-pr-4 {
        width: 33%;
    }

    .col-pr-8 {
        width: 66%;
    }

    h2, h3 {
        font-size: 12px;
        margin: 0;
    }

    .view-total-products {
        font-size: 12px;
        font-weight: 300;
    }

    .form-control {
        font-size: 12px;
    }

    .view-order-photo {
        margin-top: 26px;
        padding-top: 1px;
    }

    .order-size-grid {
        margin-top: 12px;
    }

    .view-order-status {
        margin: 20px 0;
    }

    .view-order-ready-date {
        margin-top: 20px;
    }

    .order-time-info {
        font-weight: 300;
        font-size: 11px;
        margin-bottom: 0;
    }

    .box {
        margin: 0;
    }

    .box-body {
        padding: 0 10px;
        overflow: hidden;
    }

    .view-order-body {
        margin: 0;
    }

    .img-responsive {
        margin: 0;
    }

    .size-input {
        font-size: 12px;
    }

    .view-team-ready-date {
        margin-bottom: 10px;
    }

    .view-team-order-status {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .pr-m-t-1 {
        margin-top: 1rem !important;
    }

    .pr-m-t-2 {
        margin-top: 2rem !important;
    }

    .pr-m-b-1 {
        margin-bottom: 1rem !important;
    }

    .pr-m-b-2 {
        margin-bottom: 2rem !important;
    }

    .team-view-logotype {
        margin-bottom: 0;
    }

    .view-team-block-header {
        font-size: 12px;
        margin-bottom: .5rem;
        /*font-weight: 300;*/
    }

    .card-block {
        padding: .5rem;
        width: 100%;
        overflow: hidden;
    }


    .view-team-order-photo {
        position: relative;
        min-height: 240px;
    }


    .view-team-order-photo img {
        position: absolute;
        margin: auto;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
    }

    hr {
        margin-top: 0;
        margin-bottom: 0;
        border: 0;
        border-top: 1px solid #eee;
    }
}