body {
    height: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    color: #333;
}

body.modal-open {
    overflow-y: auto;
}

#header {
    margin: 0;
    padding: 0;
    border-top: 3px solid #C9E0ED;
}

#content {
    margin: 5px 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
}

#logo {
    padding: 10px 20px;
    font-size: 200%;
}

#mainmenu {
    background: white url(bg.gif) repeat-x left top;
}

#mainmenu ul {
    padding: 6px 20px 5px 20px;
    margin: 0px;
}

#mainmenu ul li {
    display: inline;
}

#mainmenu ul li a {
    color: #ffffff;
    background-color: transparent;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a {
    color: #6399cd;
    background-color: #EFF4FA;
    text-decoration: none;
}

#adminmenu {
    background: white url(bg.gif) repeat-x left top;
}

#adminmenu ul {
    padding: 6px 20px 5px 20px;
    margin: 0px;
}

#adminmenu ul li {
    display: list-item;
}

#adminmenu ul li a {
    color: #6399cd;
    background-color: transparent;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    padding: 3px 8px;
}

#adminmenu ul li a:hover {
    color: #6399cd;
    background-color: #E2EAF5;
    text-decoration: none;
}

#adminmenu ul li.active a {
    color: #EFF4FA;
    background-color: #6399cd;
    text-decoration: none;
}

div.flash-message {
    /*position: fixed;*/
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

div.breadcrumbs {
    font-size: 0.9em;
    margin: 10px 20px;
}

div.breadcrumbs span {
    font-weight: bold;
}

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet {

}

.portlet-decoration {
    padding: 3px 8px;
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
}

.portlet-title {
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #298dcd;
}

.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background: #EFFDFF;
}

.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.portlet-content li {
    padding: 2px 0 4px 0px;
}

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

.operations li {
    padding-bottom: 2px;
}

.operations li a {
    font: bold 12px Arial;
    color: #0066A4;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited {
    color: #0066A4;
}

.operations li a:hover {
    background: #80CFFF;
}

.filter-toolbar {
    margin-left: 0;
    margin-bottom: 5px;
}

.filter-toolbar a { /*margin-bottom: 0; margin-left: 10px;*/
}

.filter-toolbar .page-sizer {
    margin-bottom: 0 !important;
    width: 70px !important;
}

.filter-toolbar .btn-refresh {
    padding-left: 8px;
}

.filter-toolbar .btn-refresh:hover {
    text-decoration: none;
}

.filter-toolbar .group-name {
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px
}

#left-panel {
    height: calc(100% - 80px);
    min-height: 200px;
    width: 280px;
    /*position: fixed;*/
    border: 1px solid #ddd;
    overflow-y: auto;
    left: 15px;
    border-radius: 4px;
}

/*#goods-left-panel {
        width: 280px;
        position: fixed;
        border: 1px solid #ddd;
        overflow-y: auto;
        left: 15px;
        border-radius: 4px;
        top: 120px;
        bottom: 10px;
}*/

#right-panel {
    width: 100%;
    height: auto;
    padding: 0 15px 10px 15px;
}

#right-panel.with-left {
    width: calc(100% - 320px);
    right: 15px;
    /*position: absolute;*/
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 979px) {
    .submenu .dropdown-toggle,
    .submenu li a {
        padding-left: 6px;
        padding-right: 6px
    }

    .brand img {
        height: 26px;
        margin: 12px 12px 0 0;
    }

    .nav.submenu {
        float: left !important
    }

    #top-panel {
        position: static !important;
    }

    #right-panel {
        width: 100% !important;
        height: auto;
        padding-left: 15px !important;
        padding-right: 15px !important;
        position: static !important;
    }

    #left-panel {
        width: 97% !important;
        height: 100px;
        min-height: 100px;
        margin: 5px 15px 5px 0;
        position: relative;
    }
}

.folder {
    padding-left: 16px;
    background-repeat: no-repeat;
    background-position: center left;
}

.folder {
    background-image: url(images/folder-closed.gif);
}

li .selected > .folder {
    background-image: url(images/folder.gif);
}

.btn-success {
    background-color: #BEE7BE;
    color: black
}

.filter-panel form {
    display: inline;
    margin: 0 10px;
    clear: left;
}

.filter-panel select,
.filter-panel input,
.filter-panel a {
    margin-bottom: 0;
    display: inline-block;
}

.filter-panel {
    /*white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
       width: 800px;    */
}

.filter-panel #datefrom,
.filter-panel #dateto,
.filter-panel #reportdatefrom,
.filter-panel #reportdateto {
    width: 97px;
}

.filter-panel select,
.filter-panel input[type=text] {
    margin: 0 5px 0 0;
    width: 110px;
}

.report-filter {
    display: inline;
}

.report-filter .form-control {
    margin: 0 5px 0 5px;
    display: inline;
    min-width: 250px;
    max-width: 320px;
    margin: 0 5px 0 5px;
}

.thumbnails li {
    display: inline-block;
    margin: 10px
}

.group-panel {
    height: calc(50% - 80px);
    min-height: 200px;
    max-height: 200px;
    border: 1px solid #ddd;
    overflow-y: auto;
    left: 15px;
    border-radius: 4px;
}

.goods-panel .grid-view tr > td {
    font-size: 11px;
}

.goods-panel .pagination {
    margin: 0;
}

.goods-panel .pagination-sm > li > a, .pagination-sm > li > span {
    padding: 5px 5px;
    font-size: 12px;
}

#goodsSearchTable tr *[sy-dialog]:not(.btn) {
    /* padding: 0 2px; */
    opacity: 1;
    font-size: 11px;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border: 1px solid #ddd;
}

.report-filter .btn {
    vertical-align: initial;
}

.btn-group-checks {
    margin-left: 15px;
}

.report-label {
    font-weight: 100;
    margin: 5px;
}

.icon-button {
    cursor: pointer;
    text-decoration: none;
    color: black;
    padding: 0 2px;
    opacity: .3;
    font-size: 18px;
}

.typeahead.dropdown-menu {
    margin-left: 0 !important;
}

.dispalay-inline-block {
    display: inline-block;
}

.ui-autocomplete-term {
    font-weight: bold;
}

.focusError {
    border: 1px solid red;
}

.back-color-cell {
    background-color: green !important;
}

.tree-checbox-view {
    float: right;
}

.tree-role .treeview, .treeview ul {
    width: 100%;
}

.success-submit-modal {
    float: left;
}

.error {
    color: red;
}

a.error-link, a.error-link:hover {
    color: #a94442;
    font-weight: bold;
}

.selected-item {
    display: inline-block;
    border: 1px solid black;
    margin: 3px;
}

#replenishViewSwitch {
    width: 12%;
}

#permissions input.full, #permissions label {
    display: inline;
}

#actionsTable span.enabled, #actionsTable span.disabled {
    cursor: pointer;
}

/* -- "Крутилка" для уведомления о процессе. Отображается посреди страницы -- */
#waitForUpdate {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    margin-top: -64px;
    margin-left: -64px;
    background: url(/images/ajax-loader-big.gif);
}

/*Правка компонента Yiibooster*/
.daterangepicker .ranges {
    min-width: 200px;
}

.document-grid .table > tbody > tr > td {
    padding: 4px !important;
    vertical-align: middle;
}

.tools {
    margin-top: 5px;
    margin-bottom: 5px;
}

.CGridViewContainer {
    width: 100%;
    overflow: auto;
}

.error-message-block {
    margin-top: 10px;
    margin-bottom: 0;
    color: #a94442;
}

/******** Операции с товаром ->*/
.goods-context-menu {
    background-color: white;
    z-index: 1;
    position: absolute;
    right: 0;
    padding: 5px 0;
    border: 1px solid #333;
}

.goods-context-menu a {
    position: relative;
    display: block;
    white-space: nowrap;
    color: #466373 !important;
    font-size: 14px !important;
    padding: 5px 15px 5px 30px !important;
    opacity: 1 !important;
}

.goods-context-menu a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.goods-context-menu span {
    position: absolute;
    left: 10px;
    top: 8px;
}

.actions-td {
    position: relative;
}

.glyphicon-duplicate:before {
    content: "\e224";
}
/*<- Операции с товаром *********/


.modal-backdrop {
    z-index: 800;
}

.modal {
    z-index: 900;
}

.goods-not-active {
    color: red;
}

#goodsTable {
    padding-bottom: 95px;
}