.btn-dark {
    background-color: #222529 !important;
}
.login-container form label{
    margin-bottom: 0.7rem;
    color: #777;
    font-family: "Open Sans",sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
}
.login-container form .form-input {
    margin-bottom: 1.7rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-color: #e7e7e7;
    line-height: 32px;
}
.btn-primary {
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}
.btn-secondary{
    border-color: #ff7272 !important;
    background-color: #ff7272 !important;
}
/*.ratings-container .ratings:before {
    color: #ffc107 !important;
}*/
.collapse.show {
    visibility: visible;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    width: 50em !important;
}
div:where(.swal2-container) .swal2-html-container {
    font-size: 1.7em !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm, div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 1.5em !important;
}

.file-upload-progress-container:after{
    content: "";
    clear: both;
}
.file-upload-progress{
    display: flex;
    height: 12px;
    overflow: hidden;
    line-height: 0;
    font-size: .75rem;
    background-color: #e9ecef;
    margin-top: 5px;
    box-shadow: none;
    border-radius: 1px;
    float: left;
    width: 93%;
}
.file-upload-progress__progress-bar{
    background-image: linear-gradient(
        45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width .6s ease;
}
.file-upload-progress__cancel-upload{
    float: right;
    margin-top: -5px;
}
.photo-view-container{
    width: 100px;
    border: 1px solid #CCC;
    padding: 5px;
    margin-bottom: 10px;
    position: relative;
}
.photo-view-container img {
    max-width: 100%;
}
.photo-view-container__remove {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e9ecef;
}
.header-search-wrapper #search_result_container {
    display: none;
}
.header-search-wrapper.has-result:hover #search_result_container {
    display: block;
}
.sticky-navbar .sticky-info{
    flex: 0 0 25% !important;
    max-width: 25% !important;
}
.sidebar-shop .cat-list li.active a {
    color: #007bff;
}
@media (max-width: 991px){
    .sidebar-opened .mobile-sidebar {
        transform: none;
    }
}
@media (max-width: 991px){
    .mobile-sidebar {
        background-color: #222529;
    }
    .sidebar-shop {
        font-size: 1.3rem;
    }
}
@media (max-width: 991px){
    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 260px;
        padding: 2rem;
        margin: 0;
        transform: translate(-260px);
        transition: transform 0.2s ease-in-out 0s;
        background-color: #fff;
        z-index: 9999;
        overflow-y: auto;
    }
}
.html-container span, .html-container p, .html-container div {
    font-size: 16px !important;
}


.chat-block{
    margin-bottom: 10px;
}
.chat-line {
    padding: 10px;
    max-width: 80%;
    border-radius: 10px;
    width: -moz-fit-content;
    width: fit-content;
}
.chat-line p {
    margin-bottom: 0;
}
.chat-line p .chat-photo-lnk{
    width: 300px;
    cursor: pointer;
}

.chat-admin .chat-line {
    background-color: #e4e6eb;
}

.chat-user .chat-line {
    background-color: #0084ff;
}

.chat-page {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    height: 80vh;
    position: relative;
}
.avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    margin-left: 5px;
    margin-right: 0;
    border: 1px solid #F1F1F1;
}
.chat-user .avatar{
    margin-left: 0;
    margin-right: 5px;
}
.chat-admin .chat__attachfile{
    color: #FFF !important;
}
.chat-admin .chat__attachfile-name{
    color: #FFF !important;
}
.chat-user.chat__in-shop .chat__attachfile{
    color: #FFF !important;
}
.chat-user.chat__in-shop .chat__attachfile-name{
    color: #FFF !important;
}
.chat-admin.chat__in-shop .chat__attachfile{
    color: #000 !important;
}
.chat-admin.chat__in-shop .chat__attachfile-name{
    color: #000 !important;
}


.modal-body--chat{
    height: 700px;
    position: relative;
}
#shop_ticket__message {
    resize: none;
    min-height: auto !important;
}
.attachfile-progress-container{
    width: 100%;
    position: absolute;
    top: -5px;
    display: none;
}
.attachfile-progress-container .file-upload-progress {
    height: 6px !important;
    width: 100% !important;
}
.d-flex {
    display: flex;
}
.justify-content-start {
    justify-content: start;
}
.justify-content-end {
    justify-content: end;
}
.align-items-start{
    align-items: flex-start !important;
}
.chat-wrapper{
    height: 100%;
    overflow-y: auto;
}
.loading-panel {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.chat-block{
    margin-bottom: 10px;
}
.chat-line {
    padding: 10px;
    max-width: 80%;
    border-radius: 10px;
    width: -moz-fit-content;
    width: fit-content;
}
.chat-line p {
    margin-bottom: 0;
}
.chat-line p .chat-photo-lnk{
    width: 300px;
    cursor: pointer;
}

.chat-admin .chat-line {
    background-color: #0084ff;
}

.chat-user .chat-line {
    background-color: #e4e6eb;
}

.chat-page {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    height: 80vh;
    position: relative;
}
.avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    margin-left: 5px;
    margin-right: 0;
    border: 1px solid #F1F1F1;
}
.chat-user .avatar{
    margin-left: 0;
    margin-right: 5px;
}
.chat-admin .chat__attachfile{
    color: #FFF !important;
}
.chat-admin .chat__attachfile-name{
    color: #FFF !important;
}
.chat-user.chat__in-shop .chat__attachfile{
    color: #FFF !important;
}
.chat-user.chat__in-shop .chat__attachfile-name{
    color: #FFF !important;
}
.chat-admin.chat__in-shop .chat__attachfile{
    color: #000 !important;
}
.chat-admin.chat__in-shop .chat__attachfile-name{
    color: #000 !important;
}

.chat-admin.chat__in-shop .chat-line {
    background-color: #e4e6eb;
}

.chat-user.chat__in-shop .chat-line {
    background-color: #0084ff;
}


.photos-container{
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}
.photo-view-item{
    width: 200px;
    border: 1px solid #CCC;
    padding: 5px;
    margin-bottom: 10px;
    margin-left: 10px;
    position: relative;
    cursor: move;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-view-item img {
    max-width: 100%;
}
.photo-view-item__remove {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e9ecef;
}

.the-ring {
    position: absolute;
    top: -30px;
    left: 15px;
    width: 20px;
    height: 20px;
    z-index: 1040;
    display: none;
    }
    .circle {
    width: 20px;
    height: 20px;
    background-color: #d33837;
    border-radius: 50%;
    position: absolute;
    top: 23px;
    left: 23px;
    font-size: 10px;
    line-height: 14px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center ;
    }
    .ringring {
    border: 3px solid #d33837;
    border-radius: 30px;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 20px;
    top: 20px;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
    }
    @keyframes pulsate {
        0% {
            -webkit-transform: scale(0.1, 0.1);
            opacity: 0;
        }
        50% {
            opacity: 1;
        }
        100% {
            -webkit-transform: scale(1.2, 1.2);
            opacity: 0;
        }
    }
    .category-content h3 {
        font-family: sans-serif;
    }
    #shop_ticket__chat-message-container {
        border: 2px solid transparent;
    }
    #shop_ticket__chat-message-container.highlight {
        border: 2px solid #2f6bb5;
    }
