body,
html {
    -webkit-text-size-adjust: none;
}

body {
    font: 16px/20px Arial, Verdana, sans-serif;
    padding: 0;
    min-width: 320px;
    background: #F7F7F7;
    color: #515055;
}

/* �������� Login */
.b-login {
    height: 100%;
    display: table;
    width: 100%;
    margin-top: 50px;
}
.b-login .vertical-center {
    display: table-cell;
    vertical-align: middle;
}
.b-login .col-login {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}
.b-login .wrapper-login {
    border: 1px solid #d4d4d4;
    padding: 40px 20px 15px;
    background: #F9F9F9;
    margin: 20px 0;
}
.b-login .form {
    padding: 0px 75px 30px;
    overflow: hidden;
}
.b-login .title {
    color: #77A0C3;
    font: bold 35px/35px Arial;
    text-align: center;
    margin: 0 0 30px;
}
.b-login .title-mini {
    color: #515055;
    font: bold 18px/18px Arial;
    text-align: center;
    margin: -10px 0 20px;
}
.b-login .error-mess {
    margin-bottom: 15px;
    color: red;
}
.b-login .input {
    width: 100%;
    margin-bottom: 15px;
}
.b-login .login-button {
    width: 50%;
    display: block;
    text-align: center;
    color: #515055;
    clear: both;
}
.b-login .version {
    color: #8c8c8c;
    text-align: center;
    font-size: 14px;
}
.b-login .system-message {
    padding: 10px;
    color: red;
}
.b-login .disabled {
    cursor: default;
    opacity: 0.6;
}

/* �������� �������� */
.b-page {
    /*background: #F3F3F3;*/
    min-height: 100%;
}
.b-header {
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    width: 100%;
    height: 45px;
}
.b-header .wrapper-logo {
    float: left;
    width: 33%;
}
.b-header .wrapper-logo .logo {
    display: inline-block;
    margin: 12px 0 0 20px;
    position: relative;
}
.b-header .wrapper-logo .slogan {
    display: block;
    color: #5e6161;
    position: absolute;
    font-size: 7px;
    bottom: -6px;
    left: 87px;
    letter-spacing: 0.5px;
}
.b-header .wrapper-logo img {
    display: block;
}
.b-header .title {
    font: bold 18px/44px Arial;
    color: #77a0c3;
    float: left;
    width: 33%;
    text-align: center;
}
.b-header .items-buttons {
    float: right;
    font-size: 0;
    text-align: right;
    margin: 0;
    width: 33%;
}
.b-header .items-buttons .item {
    height: 44px;
    width: 45px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    border-left: 1px solid #e0e0e0;
}
.b-header .items-buttons .item .item-link {
    display: inline-block;
    font-size: 12px;
    margin: 12px 2px 0;
}
.b-header .items-buttons .item .active{
    text-decoration: none;
    font-weight: bold;
    color: #000;
    cursor: default;
}
.b-header .items-buttons .item-name {
    width: auto;
    text-align: right;
    line-height: 14px;
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    padding: 7px 15px 0 10px;
}
.b-header .items-buttons .item-name .name {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.b-header .items-buttons .link {
    color: #545358;
    display: block;
    height: 100%;
    line-height: 44px;
    font-size: 20px;
    transition: background 0.3s;
    text-decoration: none;
}
.b-header .items-buttons .link:hover {
    background: #F2F2F2;
    text-decoration: none;
}

/* dealer start */

.b-dealer-select {
    width: 100%;
    position: relative;
    z-index: 10;
}
.b-dealer-select .list-dealer {
    position: absolute;
    width: 100%;
    border: 1px solid #c1c1c1;
    background: #fff;
}
.b-dealer-select .list-dealer .items {
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
}
.b-dealer-select .list-dealer .dealer {
   padding: 10px 20px;
    cursor: pointer;
}
.b-dealer-select .list-dealer .dealer:hover {
    color: #fff;
    background: #77a0c3;
}
.b-dealer-select .name-dealer {
    border: 1px solid #c1c1c1;
    background: #fff;
}
.b-dealer-select .filter-field {
    border: 1px solid #c1c1c1;
    background: #fff;
    padding: 10px 20px 10px 20px;
    display: block;
    margin: 10px 20px;
    width: 80%;
    width: calc(100% - 40px);
}
.b-dealer-select .name-dealer .text {
    line-height: 20px;
    font-size: 16px;
    color: #545358;
    padding: 10px 50px 10px 20px;
    display: block;
    overflow: hidden;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.b-dealer-select .name-dealer .text-default {
    color: #AFAFA4;
}
.b-dealer-select .name-dealer .text-default:before {
    content: "";
    display: block;
    border: 8px solid transparent;
    position: absolute;
    right: 18px;
    top: 18px;
    border-top-color: #545358;
}
.b-dealer-select .name-dealer .clear-dealer {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 14px;
    color: #545358;
}

/* dealer end */

.b-content {
    padding: 0 0 30px;
}
.b-content .form-cabinet .label {
    padding-top: 12px;
    font-size: 16px;
    color: #515055;
    display: inline-block;
    font-weight: normal;
}
.b-content .form-cabinet .label.h-wrap {
    padding-top: 6px;
}
.b-content .form-cabinet .label.text-right {
    text-align: right;
}
.b-content .form-cabinet .word-item {
    padding-top: 10px;
}
.b-content .form-cabinet .calendar-button {
    padding: 10px 10px;
    border: 1px solid #c1c1c1;
    color: #333;
}
.b-content .form-cabinet .label-mini {
    padding-top: 12px;
    font-size: 16px;
}
.b-content .form-cabinet .input[disabled] {
    background: #fff;
}
.b-content .form-cabinet .select,
.b-content .form-cabinet .input {
    width: 100%;
}
.b-content .form-cabinet .count-select {
    padding-left: 5px;
    padding-right: 7px;
    text-align: center;
}
.b-content .form-cabinet .count-select option {
    text-align: left;
}
.b-content .row-item {
    margin-bottom: 15px;
}
.b-content .bottom-buttons {
    margin-bottom: 15px;
    font-size: 0;
}
.b-content .bottom-buttons .btn {
    margin-left: 15px;
}
.b-content .top-buttons  {
    margin-bottom: 0px;
}
.b-content .table-result {
    margin-top: 20px;
}
.b-content .table-result .cell-edit {
    text-align: center;
    cursor: pointer;
}
.b-content .table-result .edit-icon {
    display: block;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 18px;
    text-align: center;
}
.b-content .table-result .cell-edit:hover .edit-icon {
    text-decoration: none;
    color: #848484;
}
.b-content .title-group-edit {
    /*font-weight: bold;*/
    color: #77a0c3;
    font-size: 20px;
    padding-top: 10px;
}

.b-wrapper-error .title-page {
    font: 20px/20px Arial;
    color: #202020;
    margin: 0 0 20px;
}
.b-wrapper-error .message {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 40px;
    margin-bottom: 30px;
}
.b-wrapper-error .message .title {
    color: red;
    margin-bottom: 20px;
    font-size: 18px;
}
.b-wrapper-error .message .description {
    color: #202020;
    font-size: 16px;
}
.m-wrapper-error-edit  .message  {
    margin-top: 30px;
    color: red;
}

.b-load {
    position: relative;
    padding-top: 60px;
    height: 70px;
    box-sizing: border-box;
}
.b-load .load-circle {
    width: 50px;
    height: 50px;
    margin-top: -30px;
    margin-left: -30px;
    border: 8px solid transparent;
    border-top-color: #636363;
    border-bottom-color: #636363;
    position: absolute;
    left: 50%;
    top: 50%;
    box-sizing: border-box;
    border-radius: 50%;
    -webkit-animation: linear rotate-animate 5s infinite;
    -moz-animation: linear rotate-animate 5s infinite;
    -o-animation: linear rotate-animate 5s infinite;
    animation: linear rotate-animate 5s infinite;
}
.m-load-object-list {
    margin-top: 50px;
}
.m-load-login {
    margin-left: 90px;
    height: 40px;
    padding: 0;
}
.m-load-login .load-circle {
    width: 35px;
    height: 35px;
    border-width: 5px;
    top: 30px;
}
.m-load-mini {
    height: 42px;
    padding-top: 0;
}
.m-load-mini .load-circle {
    width: 35px;
    height: 35px;
    border-width: 5px;
    margin-left: -20px;
    margin-top: -18px;
}
.m-load-save-object {
    padding-bottom: 10px;
    height: 110px;
}
.m-load-save-object .load-circle {
   top: 30px;
}
.b-content .message-user .item-message {
    display: none;
    padding-bottom: 10px;
}
.b-content .message-user .message-item-list {
    padding-top: 20px;
}
.b-content .message-user .text-error {
    padding-bottom: 10px;
}
.b-content .load-page {
    display: none;
}
.b-content .message-user .error {
    color: red;
}
.b-content .message-user .success {
    color: darkgreen;
}
.b-corporations .item-corp {
    padding: 50px 0 60px;
}
.b-corporations .title-toggle {
    margin: 10px 0 10px 10px;
    font-size: 18px;
    line-height: 20px;
    color: #77a0c3;
    font-weight: bold;
    text-decoration: none;
}
.b-corporations .title-toggle .text {
    color: #77a0c3;
}
.b-corporations .title-toggle .icon {
    margin: 10px 0;
    font-size: 30px;
    position: relative;
    padding-left: 5px;
}
.b-corporations .setting-item:first-child {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px dashed #c1c1c1;
}
.b-corporations .setting-item {
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px dashed #c1c1c1;
}
.b-corporations .setting-item .set-item {
    font-size: 14px;
}
.b-corporations .setting-item .is-set {
    color: green;
}
.b-corporations .setting-item .not-set {
    color: red;
}
.b-corporations .title-toggle .icon-setting {
    font-size: 20px;
    padding-right: 5px;
}
.b-corporations .wrapper-big-title {
    padding-top: 15px;
    margin-top: 15px;
    padding-bottom: 0px;
    border-top: 1px dashed #c1c1c1;
}
.b-corporations .bottom-border {
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px dashed #c1c1c1;
}
.b-corporations .setting-item-title {
    padding-left: 10px;
    font-weight: bold;
    padding-bottom: 10px;
}
.b-corporations .title-toggle .icon:before {
    position: absolute;
}
.b-corporations .title-toggle .fa-angle-up:before {
    top: -13px;
}
.b-corporations .title-toggle .fa-angle-down:before {
    top: -11px;
}
.b-corporations .message-default-save {
    bottom: -17px;
    font-size: 14px;
    left: 0;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}
.b-corporations .message-default-save.red {
    color: red;
}
.b-corporations .message-default-save.green {
    color: green;
}
.b-edit-page {
    padding: 50px 0 60px;
}
.b-edit-page .save-mess {
    padding: 10px 0;
    text-align: center;
}
.b-edit-page .error {
    color: red;
}
.b-edit-page .success {
    color: green;
}
.b-edit-page .wrapper-desc .label {
    padding-top: 5px;
}
.b-edit-page .desc-mini {
    display: block;
    font-size: 13px;
    line-height: 14px;
    padding-right: 10px;
}
.b-corps-list {
    padding: 50px 0 60px;
}
.b-corps-list .item-corp .mini-padding-right {
    padding-right: 0;
}

.b-corps-list .wrapper-more-corp {
    text-align: center;
    width: 110px;
}
.b-corps-list .more-corp {
    color: #fff;
    background: #77a0c3;
    padding: 5px 15px;
    display: inline-block;
    text-decoration: none;
}
.b-corps-list .more-corp:hover {
    opacity: 0.8;
    color: #fff;
}
.b-pagination {
    text-align: center;
    margin: 20px 0;
}
.b-pagination .item {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 4px;
    line-height: 30px;
    background: #ECECEC;
    cursor: pointer;
}
.b-pagination .item:hover {
    opacity: 0.7;
}
.b-pagination .item-separator {
    cursor: default;
}
.b-pagination .item-separator:hover {
    opacity: 1;
}

.b-logs,
.b-home-root-admin {
    padding: 30px 0;
}
.b-logs .get-logs-button {
    padding: 11px 20px;
}
.b-logs .error-mess {
    color: red;
    line-height: 18px;
}
.b-home-root-admin .wrapper-buttons {
    text-align: center;
}
.b-home-root-admin .item-buttons {
    margin: 0 10px 10px;
}
.b-calendar .uib-daypicker .btn:hover {
    background: #eee;
}
.b-calendar .uib-daypicker .uib-month,
.b-calendar .uib-daypicker .uib-title,
.b-calendar .uib-daypicker thead {
    text-transform: capitalize;
}
.b-calendar .text-info {
    color: #000;
}
.b-calendar .btn {
    padding: 10px 15px;
}
.b-calendar .btn.disabled, .b-calendar .btn[disabled], .b-calendar fieldset[disabled] .btn {
    opacity: 0.3;
}
.b-calendar .uib-datepicker .btn,
.b-calendar .uib-datepicker .btn[disabled]:hover {
    background: none;
}
.b-calendar .uib-datepicker .active,
.b-calendar .uib-datepicker .active:hover {
    background: #c0db88;
}
.b-calendar .uib-datepicker .uib-left,
.b-calendar .uib-datepicker .uib-right {
    height: 40px;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.b-calendar .uib-datepicker .uib-left:before {
    content: "\f060";
}
.b-calendar .uib-datepicker .uib-right:before {
    content: "\f061";
}
.b-calendar .uib-datepicker thead th {
    vertical-align: top;
}
.b-admin-menu {
    position: fixed;
    transition: margin 0.3s;
    top: 75px;
    width: 250px;
    padding: 20px 20px;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-right: none;
    z-index: 1001;
}
.b-admin-menu.hide-panel {
    margin-right: -251px;
}
.b-admin-menu .btn-switch {
    position: absolute;
    top: -1px;
    left: -46px;
    width: 46px;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-right: none;
    background: #FFFFFF;
    text-align: center;
    color: #222222;
    font-size: 28px;
    line-height: 42px;
    padding-right: 2px;
}
.b-admin-menu .item {
    margin-bottom: 10px;
}
.b-admin-menu .item:last-child {
    margin-bottom: 0;
}
.b-admin-menu .items{
    margin: 0;
}
.more-cell {
    position: relative;
    min-width: 10%;
    max-width: 15%;
    padding-left: 0;
    padding-right: 0;
}
.more-cell .wrapper-more {
    padding: 5px 10px 5px 10px;
    position: absolute;
    box-sizing: border-box;
    width: 90%;
    left: 5%;
    cursor: pointer;
    background: #fff;
    border: 1px solid transparent;
    transition: border 0.5s, background 0.5s;
}
.more-cell .wrapper-more .value {
    overflow: hidden;
    text-overflow: ellipsis;
}
.more-cell.visible-value {

}
.more-cell.visible-value .wrapper-more {
    padding-right: 35px;
    width: auto;
    background: #fff;
    border-color: #999;
    z-index: 2;
}
.more-cell.visible-value .wrapper-more:hover {
    z-index: 3;
}
.more-cell.visible-value .wrapper-more .value {
    overflow: visible;
}
.more-cell.visible-value .wrapper-more .close {
    display: block;
}
.more-cell .wrapper-more .close {
    display: none;
    font-size: 20px;
    line-height: 25px;
    color: #222;
    text-decoration: none;
    position: absolute;
    right: 3px;
    top: 2px;
    width: 26px;
    height: 26px;
    text-align: center;
}
.b-table-logs .message-cell {
    /*max-width: 30%;*/
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    line-break: auto;
    hyphens: manual;
}
.b-table-logs .time-cell {
    max-width: 100px;
}
.b-table-logs .id-cell {
    max-width: 100px;
    width: 100px;
}
.b-table-logs .block-scroll {
    max-height: 400px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    line-break: auto;
    hyphens: manual;
    overflow-y: auto;
    transition: height 0.5s;
}

.b-table-logs .load-cell {
    position: relative;
}
.b-table-logs .load-cell:after {
    content: "";
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 6px solid transparent;
    border-top-color: #77a0c3;
    border-bottom-color: #77a0c3;
    position: absolute;
    left: 50%;
    top: 50%;
    box-sizing: border-box;
    border-radius: 50%;
    -webkit-animation: linear rotate-animate 5s infinite;
    -moz-animation: linear rotate-animate 5s infinite;
    -o-animation: linear rotate-animate 5s infinite;
    animation: linear rotate-animate 5s infinite;
    display: block;
    z-index: 11;
}
.b-table-logs .load-cell:before {
    content: "";
    display: block;
    background: rgba(0,0,0,0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
.b-table-logs .full-message .more-message {
    display: none;
}
.b-table-logs .row-item:hover .more-cell .wrapper-more {
    border-color: #999;
}


/* response */
@media (min-width: 1200px) {
    .b-logs .wrap-no-padding {
        padding-left: 0;
        padding-right: 0;
    }
    .b-table-logs .block-scroll,
    .b-table-logs .message-cell {
        width: 600px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .b-table-logs .block-scroll,
    .b-table-logs .message-cell {
        width: 450px;
    }
}
@media (min-width: 767px) and (max-width: 991px) {
    .b-table-logs .block-scroll,
    .b-table-logs .message-cell {
        width: 250px;
    }
}
@media (max-width: 1200px) {
    .b-logs .item-logs-form {
        margin-bottom: 10px;
    }
    .b-logs .text-right {
        text-align: left;
    }
}
@media (max-width: 767px) {
    .b-table-logs .block-scroll,
    .b-table-logs .message-cell {
        width: 200px;
    }
    .b-login .form {
        padding-left: 0;
        padding-right: 0;
    }
    .text-right {
        text-align: left;
    }
    .top-button-to-corp {
        float: none !important;
    }
    .b-corporations .row-inputs .input {
        margin-bottom: 15px;
    }
    .b-home-root-admin .item-buttons {
        margin: 0 0 10px;
    }
    .wrapper-table-log {
        width: 100%;
        overflow-x: auto;
    }
    .b-corps-list .item-corp .mini-padding-right {
        padding-right: 15px;
    }
    .b-corps-list .item-corp .input {
        margin-bottom: 15px;
    }
}
@media (max-width: 570px) {
    .b-header .wrapper-logo {
        display: none;
    }
    .b-header .title {
        width: 66%;
        text-align: left;
        padding-left: 20px;
    }
    .b-table-logs .block-scroll,
    .b-table-logs .message-cell {
        width: 150px;
    }
    .b-calendar .uib-datepicker-popup .btn {
        padding: 10px 13px;
    }
}

/* response end */