/*!
 * CropSelectJs - https://zara4.com/projects/crop-select-js
 *
 * Copyright (c) 2017 Zara 4
 *
 * Released under the GNU GPL 3.0 License
 * https://github.com/zara-4/crop-select-js/blob/master/LICENSE.md
 *
 */.crop-select-js .crop-wrapper{display:block;max-width:100%;max-height:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;background-color:#f1f1f1}.crop-select-js .crop-wrapper img.crop-image{display:block;margin:auto;max-width:100%;max-height:100%;position:relative;top:0}.crop-select-js .crop-wrapper .crop-selection{position:absolute;box-sizing:border-box;display:block;width:100px;height:100px;cursor:move;top:0;z-index:5}.crop-select-js .crop-wrapper .crop-selection.animated{border:0}.crop-select-js .crop-wrapper .crop-selection .border{display:block;position:absolute;z-index:10}.crop-select-js .crop-wrapper .crop-selection .border.left{top:0;bottom:0;left:0;width:1px;border-left:1px dashed #000}.crop-select-js .crop-wrapper .crop-selection .border.top{top:0;right:0;left:0;height:1px;border-top:1px dashed #000}.crop-select-js .crop-wrapper .crop-selection .border.right{top:0;bottom:0;right:0;width:1px;border-right:1px dashed #000}.crop-select-js .crop-wrapper .crop-selection .border.bottom{bottom:0;right:0;left:0;height:1px;border-bottom:1px dashed #000}.crop-select-js .crop-wrapper .crop-selection.animated .border.bottom,.crop-select-js .crop-wrapper .crop-selection.animated .border.left,.crop-select-js .crop-wrapper .crop-selection.animated .border.right,.crop-select-js .crop-wrapper .crop-selection.animated .border.top{border:0}.crop-select-js .crop-wrapper .crop-selection.animated .border{background:url(img/selection.gif)}.crop-select-js .crop-wrapper .crop-selection .handle{position:absolute;display:block;width:7px;height:7px;background-color:rgba(255,255,255,.8);border:1px solid #000;z-index:20}.crop-select-js .crop-wrapper .crop-selection .handle.top-left{top:0;left:0;cursor:nwse-resize}.crop-select-js .crop-wrapper .crop-selection .handle.top{left:calc(50% - 5px);top:0;cursor:ns-resize}.crop-select-js .crop-wrapper .crop-selection .handle.top-right{top:0;right:0;cursor:nesw-resize}.crop-select-js .crop-wrapper .crop-selection .handle.right{top:calc(50% - 5px);right:0;cursor:ew-resize}.crop-select-js .crop-wrapper .crop-selection .handle.bottom-right{bottom:0;right:0;cursor:nwse-resize}.crop-select-js .crop-wrapper .crop-selection .handle.bottom{bottom:0;left:calc(50% - 5px);cursor:ns-resize}.crop-select-js .crop-wrapper .crop-selection .handle.bottom-left{bottom:0;left:0;cursor:nesw-resize}.crop-select-js .crop-wrapper .crop-selection .handle.left{top:calc(50% - 5px);left:0;cursor:ew-resize}.crop-select-js .crop-wrapper .shadow{display:block;position:absolute;background-color:rgba(0,0,0,.6);width:0;height:0;z-index:10}.crop-select-js .crop-wrapper .shadow.left{left:0;top:0;height:100%}.crop-select-js .crop-wrapper .shadow.right{right:0;top:0;height:100%}.crop-select-js .crop-wrapper .shadow.top{left:30px;top:0}.crop-select-js .crop-wrapper .shadow.bottom{left:60px;bottom:0}

.block_padding .block__content .add-image img {
    height: auto;
}

.asc .icon {
    transform: rotate(180deg);
}

.croppie-container {
    height: 160px;
}


.order-comments form img {
    height: 42px;
    object-fit: cover;
}

.order-comments form .input-select.dropdown input.dropdown-toggle {
    width: auto;
    max-width: 0;
}
.order-comments form .add-user img {
    height: 20px;
}

.main-content__hright li a img {
    width: 31px;
    object-fit: cover;
}

.crop-avatar {
    display: none;
}

.crop-avatar.ready {
    display: block;
}

.upload-result {
    margin: 50px auto 0;
}

.top-filter-form  .search input,
.top-filter-form .input-select.dropdown
{
    margin-left: 30px;
}

.top-filter-form .input-select.dropdown .dropdown-menu {
    width: 100%;
    max-height: 200px;
    overflow: auto;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: #000000c7;  }
.loader .item-1 {
    width: 20px;
    height: 20px;
    background:  #DCE7FF;
    border-radius: 50%;
    background-color:  #DCE7FF;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center; }

@keyframes scale {
    0% {
        transform: scale(1); }
    50%,
    75% {
        transform: scale(2.5); }
    78%, 100% {
        opacity: 0; } }
.loader .item-1:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #DCE7FF;
    opacity: 0.7;
    animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
    animation-delay: 200ms;
    transition: 0.5s all ease;
    transform: scale(1); }
.loader .item-2 {
    width: 20px;
    height: 20px;
    background: #BBD0FE;
    border-radius: 50%;
    background-color: #BBD0FE;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center; }

@keyframes scale {
    0% {
        transform: scale(1); }
    50%,
    75% {
        transform: scale(2.5); }
    78%, 100% {
        opacity: 0; } }
.loader .item-2:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #9AB9FE;
    opacity: 0.7;
    animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
    animation-delay: 400ms;
    transition: 0.5s all ease;
    transform: scale(1); }
.loader .item-3 {
    width: 20px;
    height: 20px;
    background: #588BFD;
    border-radius: 50%;
    background-color: #588BFD;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center; }

@keyframes scale {
    0% {
        transform: scale(1); }
    50%,
    75% {
        transform: scale(2.5); }
    78%, 100% {
        opacity: 0; } }
.loader .item-3:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #9AB9FE;
    opacity: 0.7;
    animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
    animation-delay: 600ms;
    transition: 0.5s all ease;
    transform: scale(1); }
.loader .item-4 {
    width: 20px;
    height: 20px;
    background: #588BFD;
    border-radius: 50%;
    background-color: #588BFD ;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center; }

@keyframes scale {
    0% {
        transform: scale(1); }
    50%,
    75% {
        transform: scale(2.5); }
    78%, 100% {
        opacity: 0; } }
.loader .item-4:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #588BFD ;
    opacity: 0.7;
    animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
    animation-delay: 800ms;
    transition: 0.5s all ease;
    transform: scale(1); }
.loader .item-5 {
    width: 20px;
    height: 20px;
    background: #3774FC;
    border-radius: 50%;
    background-color: #3774FC;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center; }

@keyframes scale {
    0% {
        transform: scale(1); }
    50%,
    75% {
        transform: scale(2.5); }
    78%, 100% {
        opacity: 0; } }
.loader .item-5:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #3774FC;
    opacity: 0.7;
    animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
    animation-delay: 1000ms;
    transition: 0.5s all ease;
    transform: scale(1); }

.dropdown-menu__content {
    max-height: 200px;
    overflow-y: auto;
}

#loaded-images-main.croppie-container {
    height: 450px;

}

.photo-result {
    margin: 20px 0;
}

#loaded-images-main3,
#loaded-images-main4 {
    width: 540px;
}

#loaded-images-about_picture {
    width: 970px;
}

.img-preview {
    width: 50%;
    max-width: 50%;
}

.remove-department {
    position: absolute;
    right: 30px;
    top: 9px;
    cursor: pointer;
}

.aside-search {
    margin-bottom: 20px;
}

.aside__cut {
    text-align: right;
    /* padding: 17px; */
    width: auto;
    cursor: pointer;
    transition: all .4s;
}

aside.aside.cuted .aside__cut img {
    transform: rotate(180deg);
    border-radius: 0 17px 17px 0;
}

aside.cuted .aside-search input::placeholder {
    opacity: 0;
}

aside.aside.cuted.fixed {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
}

.aside.cuted.fixed ~ .main-content {
    margin-left: 100px;

}

.aside.cuted ~ .main-content {
    width: calc(100% - 70px);
}

.aside__cut img {
    padding: 17px;
    background: #0000003d;
    border-radius: 10px 0 0 10px;
}
aside.aside.cuted {
    width: 70px;
}

aside.cuted:not(.fixed) .aside__content .nav .nav-item ul {
    height: 0;
    overflow: hidden;
    display: none;
    padding-left: 1em;
}

aside.cuted:not(.fixed) .aside__content .nav .nav-item ul ul {
    margin: 0;
    padding: 0;
    height: auto;
    display: block;
    padding-left: 1em;
}

aside.aside.cuted .logo {
    display: none;
}

aside:not(.cuted) .logo.logo__cut {
    display: none;
}


aside.aside.cuted .logo.logo__cut {
    display: block;
    margin: 0 auto;
}

aside.aside.cuted:not(.show_spans) .nav-link > span {
    display: none;
}

aside.cuted a:hover {
    opacity: 1;
}

aside.cuted .aside__content .dropdown-toggle:not(.collapsed)::after {
    display: none;
}

.aside__content a.dropdown-toggle:hover .icon svg {
    fill: #fff;
}


aside.aside.cuted:not(.show_spans) .nav-item:hover  ul .nav-link > span {
    position: relative;
    left: 0;
    display: block;
    font-weight: bold;
    padding: 0;
}

p.help-block:empty {
    display: none;
}


.sale-step {
    position: relative;
}
.sale-step__complete {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
    width: 25px;
    height: 25px;
    background: url(../images/icons/step.svg) no-repeat;
    background-size: 100%;
    cursor: pointer;
}
.sale-steps .sale-step.complete {
    background: #fff;
}
.sale-step.complete .sale-step__complete {
    background: url(../images/icons/step-done.svg) no-repeat;
    background-size: 100%;
}

.sale-step__footer {
    padding: 15px;
    border-top: 1px solid #efefef;
}

.order-contact {
    margin-bottom: 35px;
    border-bottom: 1px solid #e8e8e8;
}

.order-contact:first-child {
    border-color: transparent;
}

.radio-line {
    flex-wrap: wrap;
}

.radio-line.nav .nav-link {
    background: #fff;
    color: #000;
    margin-right: 0;
    border: 1px solid #B1B5C1;
    font-weight: normal !important;
    cursor: pointer;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    border-left: none;
    padding: 9.5px 19px;
}

.radio-line.nav .nav-item:first-child .nav-link {
    border-radius: 3px 0 0 3px;
    border-left: 1px solid #B1B5C1;
}

.radio-line.nav .nav-item:last-child .nav-link {
    border-radius: 0 3px 3px 0;
}

.radio-line.nav .nav-item {
    margin-right: 0;
}

.radio-line.nav .nav-link.active {
    background: #3788FC;
    color: #fff;
    border-bottom: 1px solid #B1B5C1;
}

#picture-modal {
    display: flex;
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 99999;
    top: 0;
    position: fixed;
    align-items: center;
    justify-content: center;
    background: rgba(33, 33, 33, 0.91);
}

#picture-modal .picture-modal-content {
    max-width: 90%;
}

#picture-modal .picture-modal-content img {
    display: flex;
    height: auto;
    position: unset;
    width: auto;
    flex: 0 0 auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 3px;
}

.uploaded-item {
    cursor: pointer;
    position: relative;
    border-radius: 7px;
    transition: border-color .4s;
}

.uploaded-result  .ui-state-highlight {width: 165px;
    overflow: hidden;
    border-radius: 3px;
    margin-right: 20px;
    margin-bottom: 20px;
    /*height: 116px;*/
    border: 4px dashed #3788FC;}

.uploaded-item img {
    border-radius: 3px;
}

.uploaded-item .remove {
    /*position: absolute;*/
    /*top: 10px;*/
    /*right: 10px;*/
    /*opacity: 0;*/
}

.uploaded-item:hover .remove {
    opacity: 1;
}

.uploaded-item .remove svg {
    fill: #fff;
    stroke: #5F5B64;
}

.main-content__container .input-select.dropdown-toggle-fixed .dropdown-menu {
    width: auto;
    left: auto;
}

.status.badge {
    width: 6px;
    height: 7px;
    display: block;
    border-radius: 50%;
    margin-right: 5px;
}

.object-item {
    display: flex;
    width: 100%;
}

.object-item__img {
    margin-right: 15px;
    flex: 0 0 200px;
}

.object-item__img img {
    border-radius: 3px;
}

.object-item .badge {
    /*margin-left: 10px;*/
    margin-right: 10px;
}

.object-item__row a {
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #212121;
}

.object-item__data {
    width: 100%;
}

.object-item__flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.object-item__info {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.object-item__info li {
    color: #212121;
    font-size: 14px;
    line-height: 19px;
    margin-right: 20px;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.object-item__author {
    font-size: 12px;
    line-height: 17px;
    color: #B1B5C1;
    margin-top: 10px;
    margin-bottom: 20px;
}

.object-item__price {
    font-size: 16px;
    line-height: 22px;
    color: #212121;
    font-weight: 600;
    display: flex;
}

.object-item__price span {
    margin-left: 20px;
    text-align: left;
}

.object-item .badge.badge-secondary {
    background: #ECECEC;
    font-weight: normal;
    padding: 5px 10px;
    color: #525252;
    font-size: 12px;
    line-height: 17px;
}

.object-item__price span span {
    color: #95979F;
    margin-left: 0;
    display: block;
    font-weight: normal;
    font-size: 12px;
    line-height: 17px;
}

.additional .input-select {
    flex: 0 0 220px;
}

.additional {
    width: 840px;
}

#cash input:last-child {
    margin-right: 0;
}

.additional input.number_format {
    width: 220px;
    flex: 0 0 220px;
}

a.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

#owner a.social-link svg {
    fill: #b3b3b3;
}


#owner a.social-link:hover svg {
    fill: #0a6ebd;
}

#owner a.social-link:first-child {
    /*margin-left: 1rem;*/
}


.utm-table {
    width: 400px;
    background: #fff;
    /*border: 1px solid #e0e0e0;*/
}

.utm-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(224, 224, 224, 0.33);
}

.utm-table tr:first-child td {
    padding-top: 0;
}

.utm-table td:last-child {
    /*border-left: 1px solid #e0e0e0;*/
}


/* mart 2021 update*/

.input-select.dropdown {
    /*width: fit-content;*/
}
.input-select.dropdown input.dropdown-toggle {
    width: 100%;
}
form#courses {
    width: 400px;
    max-width: 100%;
}
.table-action-link {
    color: #e0e0e0;
    margin-right: 1rem;
}
.main-content__back {
    /*padding: 15px;*/
    border-radius: 50%;
    background: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
}

.block__header {
    align-items: baseline;
}
.block__actions {
    margin-left: auto;
    display: flex;
    height: 100%;
    align-items: center;
}

.hr-date-label {
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ebebeb;
    border-radius: 3px;
}

.hr-date-label input {
    margin-right: 5px;
}


.hr-recording-actions {
    margin-top: 15px;
}

.user-avatar {
    width: 35px;
    border-radius: 50%;
}

.btn-n.bwi {
    background: none;
}


@media print {
    .block__header {
        display: none !important;
    }

    a {
        color: #000;
        text-decoration: none;
    }
}

.btn-n svg {
    width: 15px;
}