html,
body {
    height: 100%;
}

.content-wrapper {
    overflow: auto;
    min-height: calc(100vh - 51px) !important;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.notifications-menu .dropdown-menu {
    width: auto !important;
    max-width: 500px !important;
    min-width: 270px !important;
}

.notifications-menu .dropdown-menu .pull-right {
    margin: 5px 0 0 5px;
}

.notifications-menu .dropdown-menu .footer {
    height: 0;
    padding-top: 0;
}

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

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #cc5555;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.order-view .box-primary .box-header a {
    margin-bottom: 5px;
}

.order-view .box-primary .box-body .dvizh-change-order-status {
    width: 50%;
}

.history-search .btn {
    width: 50px;
}

.history-clear {
    text-align: right;
}

.history-clear a {
    width: 120px;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.notification-index .box-body .grid-view {
    overflow: auto;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.main-sidebar {
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: calc(100vh - 100px);
    overflow: auto;
}

.sidebar {
    padding-bottom: 10px;
    max-height: calc(100vh - 100px);
    overflow: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
}

.content-header .breadcrumb {
    max-width: 460px;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    text-align: right;
}

.order-index .operatorka {
    overflow-x: auto;
}

.sidebar-collapse .sidebar {
    overflow: visible;
}

.ticket-index {
    overflow: auto;
}

#sect {
    display: flex;
    gap: 20px;
}

#sect .error-page > .error-content {
    margin: 0 !important;
}

#error-img {
    left: 10%;
    width: 50%;
}

.error-page {
    margin: 0 !important;
}

.box-body .year-picker--custom, .box-body .date-picker--custom {
    padding: 0;
}

.year-picker--custom {
    width: calc(25% - 40px);
    margin-left: 8px;
}

.date-picker--custom {
    margin-left: 15px;
    width: calc(25% - 45px);
}

.panel .box-body .btn.btn-primary {
    margin-left: calc(39px - 1vw);
}

.input-group.date, .col-xs-3 .input-daterange {
    display: table;
}

.input-group {
    margin-right: -0px;
}

@media (min-width: 768px) {
    .sidebar-collapse .tree .treeview .pull-right-container {
        opacity: 0;
    }

    .sidebar-collapse .tree .treeview a span {
        width: 200px !important;
    }

    .sidebar-collapse .tree .treeview .treeview-menu {
        width: 200px !important;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1300px) {
    .money-report .col-sm-2 {
        width: 200px !important;
    }

    .money-report .col-sm-3 {
        width: 270px !important;
    }
}

@media (max-width: 1800px) {
    .year-picker--custom {
        width: calc(25% - 40px);
        margin-left: 8px;
    }

    .date-picker--custom {
        margin-left: 15px;
        width: calc(25% - 45px);
    }

    .panel .box-body .btn.btn-primary {
        margin-left: calc(39px - 1vw);
    }
}

@media (max-width: 1768px) {

    .year-picker--custom {
        width: calc(25% - 39px);
        margin-left: 8px;
    }

    .date-picker--custom {
        margin-left: 15px;
        width: calc(25% - 38px);
    }

    .panel .box-body .btn.btn-primary {
        margin-left: calc(37px - 1vw);
    }
}

@media (max-width: 1300px) {

    .year-picker--custom {
        width: calc(25% - 32px);
        margin-left: 8px;
    }

    .date-picker--custom {
        margin-left: 20px;
        width: calc(25% - 34px);
    }

    .panel .box-body .btn.btn-primary {
        margin-left: calc(29px - 1vw);
    }
}

@media (max-width: 1000px) {

    .panel .box-body.with-border {
        display: flex;
        flex-direction: column;
    }

    .date-picker--custom {
        margin-left: 7px;
        margin-bottom: 15px;
    }

    .panel .box-body .btn.btn-primary {
        margin-left: 7px;
    }

    .date-picker--custom {
        width: calc(100% - 7px);
    }

    .year-picker--custom {
        width: calc(100% - 7px);
        margin-left: 8px;
    }
}

@media (max-width: 992px) {
    .order-view .box-primary .box-body .dvizh-change-order-status {
        width: 100%;
    }

    .history-search .btn {
        width: 100%;
        margin-top: 0 !important;
    }

    .history-clear a {
        width: 100%;
        margin-top: 10px !important;
    }

    .content-header {
        flex-direction: column;
    }

    .product-view .box-header .btn {
        margin-bottom: 10px;
    }

    .content-header .breadcrumb {
        max-width: 100%;
        text-align: left;
    }

    .recipients-account-index .box-header {
        max-width: 300px;
    }

    .recipients-account-index .btn-success {
        width: 100%;
    }

    .error-page {
        top: 110%;
    }

    #sect {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .order-view .box-primary .box-header a {
        width: 100%;
    }

    .content-header > h1 {
        font-size: 20px !important;
    }

    .notification-index .box-body a {
        width: 100%;
        margin-bottom: 10px;
    }

    .error-page {
        top: 110%;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.dvizh-gallery-row.main {
    border: 2px solid red;
}

.dvizh-gallery-item a.do-main {
    position: absolute;
    top: 0;
    color: yellowgreen;
    text-shadow: 1px 1px 4px black;
    left: 20px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: lightblue;
}

.hidden {
    display: none;
}

.fields-wrapper {
    overflow: hidden;
    padding-bottom: 25px !important;
}

.slider-for img {
    width: 100%;
    max-height: 261px;
    object-fit: cover;
}

.order-list select, .order-list input {
    font-size: 14px;
    padding: 6px 12px;
    height: 34px;
}


.dvizh-cart-block {
    position: relative;
}

.dvizh-cart-dropdown .dropdown-toggle {
    height: 50px;
}

.dvizh-cart-dropdown .dropdown-toggle + .dropdown-menu {
    position: absolute;
    right: -2px;
    left: auto;
    top: 50px;
}

#dvizh-cart-drop {
    background-color: #3C8DBC;
    color: white;
    font-size: 14px;
}

#dvizh-cart-drop .dvizh-cart-price {
    margin: 0 5px;
}

.order-detail {
    display: none;
}

.dropdown-menu .dvizh-change-count:after {
    content: ' шт.';
}

.wrapper-buy {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 10px;
}

.wrapper-buy .dvizh-change-count {
    margin: 0 5px;
}

.your-balance {
    height: 50px;
    padding-left: 8px;
    padding-top: 17px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.ttn-update-form .btn-choose {
    z-index: 1;
    border-right: none;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.ttn-update-form > form > div {
    margin-left: 19px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 60%;
}

.ttn-update-form > form > div > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ttn-update-form > form > div > div:nth-child(2) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 25px;
}

.ttn-update-form > form > div > div:nth-child(2) .val {
    min-width: 150px;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    word-break: keep-all;
}

.ttn-update-form > form > div > div:nth-child(3) {
    margin-bottom: 25px;
}

.your-balance + .tooltip .tooltip-inner {
    font-size: 15px;
    background-color: #3c8dbc;
}

.your-balance + .tooltip .tooltip-arrow {
    border-bottom-color: #3c8dbc;
}

@media print {
    a[href]:after {
        content: none !important;
    }
}

.ttn-update-form .field-order-npfile {
    display: none;
}

#dvizh-cart-drop:hover {
    background-color: #367fa9;
}

.divider-vertical {
    margin-top: 10px;
    height: 28px;
    padding-right: 1px;
    padding-left: 1px;
    background-color: #367fa9;
    border-radius: 20%;
}

.your-balance:hover {
    background-color: #367fa9;
}

.export-total {
    position: relative;
    float: right;
    min-height: 1px;
}

.btn-group .dropdown-menu {
    left: -108px !important;
}

.logger-index {
    padding: 10px;
}

.logger-index .details {
    color: #7a869d;
    margin-bottom: 1.5em;
}

.logger-index .list-view {
    margin-top: 10px;
}

.logger-index .details-text {
    display: inline-block;
    vertical-align: top;
}

.ticket-index {
    font-size: 10pt;
}

.table-hover td {
    cursor: pointer;
}

.user-balance-button {
    position: absolute;
    float: right;
    right: 0;
    margin: 10px 15px 0 15px;
}

.user-controls-table {
    margin-top: 10px;
}

/*status-report-styles*/
.report-general {
    margin: 36px 0;
}

.report-general .report-general-inner {
    display: flex;
    justify-content: center;
    max-width: 550px;
    margin: auto;
    padding: 0 20px;
}

.report-general-inner > div:first-child {
    width: 60%;
    padding: 0 10px;
    border-right: 15px solid #fff;
}

.report-general-inner > div:last-child {
    width: 40%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.report-general-inner h3 {
    font-size: 22px;
}

.report-general-inner > div:first-child h3 {
    font-weight: bold;
}

.report-general-excess,
.report-general-debt {
    box-shadow: inset 1px 1px 5px rgba(154, 147, 140, 0.5), 1px 1px 5px rgba(255, 255, 255, 1);
}

.report-general h3 {
    margin-top: 12px;
}

.report-general .col-sm-4 {
    display: flex;
    align-items: center;
}

.report-general-debt {
    background-color: #f9f9f9;
}

.top-table-container {
    display: flex;
    flex-wrap: wrap;
}

.top-table-container .top-table {
    width: 46%;
    margin: 0 15px;
    display: block;
}

.top-table h3 {
    text-align: center;
    margin-bottom: 18px;
}

.top-table table,
.order-informer table,
.table-shadowed {
    box-shadow: 0 0 2px 0 #a6a6a6;
}

.order-informer table {
    max-width: 800px;
}

.report-box-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
}

.report-box-header:before,
.report-box-header:after {
    content: none !important;
}

.report-box-header form {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.report-box-header h3,
.report-box-header h4,
.report-box-header form h3,
.report-box-header form h4 {
    font-weight: bold;
    box-shadow: inset 1px 0 5px rgb(154 147 140), 1px 1px 5px rgb(255 255 255);
    padding: 10px;
    margin-right: 10px;
}

.report-box-header .btn {
    margin-right: 0 !important;
    margin-top: 20px;
}

.report-box-header form a {
    margin-top: 10px !important;
}

.table-report-obtained {
    max-width: 600px;
}


.bold-text {
    font-weight: 600;
}

.product-report-box {
    box-shadow: 0 0 5px 0 #9a938c;
    margin: 0 10px 20px;
    width: fit-content;
}

.product-report-box h3 {
    margin: 20px 0 !important;
}

.report-head-title {
    padding: 0 0 10px 8px;
    font-weight: bold;
}

.product-report-headbox form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-report-headbox-inner {
    display: flex;
    margin: 0 -10px;
}

.product-report-headbox-elements {
    padding: 0 10px;
}

.product-report-headbox .export-total {
    margin-left: auto;
}

.product-report-headbox .export-total .btn {
    margin-right: 0;
    margin-left: 20px;
}

.user-top-table {
    max-width: 1000px;
}

.order-informer {
    overflow: auto;
}

.content-wrapper .warning-message {
    padding: 20px;
}

#globalModal .panel-body {
    display: none;
    flex-flow: column wrap;
}

#globalModal .panel-body p {
    text-align: center;
}

#globalModal .panel-body .btn-box {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

div.message-form {
    display: none;
}

div.new-message {
    display: flex;
    justify-content: flex-end;
}

.widget-buy-place-holder input.input-buy {
    -moz-appearance: textfield;
}

.widget-buy-place-holder input.input-buy::-webkit-outer-spin-button,
.widget-buy-place-holder input.input-buy::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-selector {
    position: relative;
}

.form-control.product-count {
    max-width: 150px;
}

@keyframes loadingspin {
    100% {
        transform: rotate(360deg)
    }
}

.form-group--custom {
    width: 100%;
}

.form-inline--custom {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

.form-control.product-selector, .form-control.product-selector {
    width: 100% !important;
}

@media (max-width: 1750px) {
    .form-inline--custom {
        flex-wrap: wrap;
    }
}

@media (max-width: 860px) {
    .general-container .col-sm-6 {
        width: 100%;
    }

    .top-table-container .top-table {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .product-report-headbox form {
        display: block;
    }

    .product-report-headbox-inner {
        flex-direction: column;
    }

    .product-report-headbox-elements .btn {
        margin: 0 !important;
    }

    .product-report-headbox .export-total .btn {
        margin-top: -57px !important;
    }

    .error-page {
        top: 120%;
    }
}

@media (max-width: 576px) {
    .notifications-menu .dropdown-menu {
        width: 100% !important;
        right: 0 !important;
    }

    .report-box-header,
    .report-box-header form {
        flex-direction: column;
    }

    .report-box-header h3,
    .report-box-header h4 {
        width: 100%;
    }

    .report-box-header .export-total,
    .report-box-header .export-total a,
    .report-box-header form .export-total,
    .report-box-header form .export-total a {
        width: 100%;
    }

    .error-page {
        top: 120%;
    }
}

@media (max-width: 400px) {
    .export-total {
        padding-left: 0;
    }

    .error-page {
        top: 120%;
    }
}

.dvizh-gallery-panel {
    list-style-type: none;
}

#notification-settings-table {
    width: 100%;

}

#notification-settings-table tr {
    /*background: green;*/
    padding: 5px;
    border: 1px solid #eeeeee;
}

#notification-settings-table th {
    padding: 5px;
    background: #f4f4f4;
}

#notification-settings-table td {
    /*background: green;*/
    padding: 5px;
}

#social-link {
    width: 100%;
    text-align: center;
}

.sidebar-collapse #social-link p {
    display: none;
}

.social-link-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.social-link-icons a {
    width: 35px;
}

.social-link-icons a#telegram-qr-code {
    width: 32px;
}

.social-link-icons a img {
    width: 100%;
}

.social-link-icons a:hover {
    transform: scale(1.1);
}

.viber-qr .center,
.telegram-qr .center {
    margin: auto;
    width: 60%;
    text-align: center;
    padding: 32px;
}

.viber-qr img.logo,
.telegram-qr img.logo {
    border-radius: 50%;
    width: 124px;
}

.viber-qr img.qr-code,
.telegram-qr img.qr-code {
    margin: 32px 0;
    width: 256px;
}

@media (max-width: 576px) {
    .viber-qr .center,
    .telegram-qr .center {
        width: 100%;
        padding: 16px;
    }
}

#telegram-qr-code {
    height: auto;
    width: auto;
    max-width: 33px;
    max-height: 31px;
    background-color: #37aee2;
    border: #37aee2 3px solid;
    border-radius: 38%;
    margin-top: 0.5px;
}

.tabs-body {
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 10px;
}