.breadcrumb-item {
    color: #fff;
}

.errortext {
    font-size: 14px;
}

.hidden {
    display: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.breadcrumb .breadcrumb-item {
    padding-left: 0rem;
    padding-right: 0.5rem;
    line-height: 1.7;
}

#live {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: none;
}
/* #local-video {
    position: absolute;
    top: 65px;
    left: 0;
    width: 20%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    margin: 16px;
    border: 2px solid #fff;
}

#local-video-image {
    position: absolute;
    top: 65px;
    left: 0;
    width: 20%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    margin: 16px;
    border: 2px solid #fff;
} */

#local-video-preview {
    border-radius: 4px;
    z-index: 2;
}

#local-video-preview-image {
    max-height: 217px;
    object-fit: cover;
    border-radius: 4px;
}

.local-video-wrapper {
    position: relative;
    width: 20%;
    height: 11.25vw; /* 16:9 aspect ratio for 20% width */
    border: 2px solid #fff;
    top: 65px;
    margin: 16px;
}

.local-video-wrapper .no-video-text{
    z-index: 0;
    background: #fff;
    width: auto;
    left: 5px;
}

#local-video{
    z-index: 2;
    position: absolute;
}

.remote-video-wrapper {
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;
}

#local-video, #local-video-image, #remote-video, #remote-video-image {
    width: 100%;
    height: 100%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    object-fit: cover;
}

#remote-video, #remote-video-image {
    width: 70%;
    height: 70%;
}

.remote-video-name, .local-video-name {
    color: #fff;
    font-size: 16px;
}

.local-video-name {
    text-align: center;
    margin-top: 10px;
}

.local-video-wrapper .local-video-name{
    position: absolute;
    bottom: -30px;
}

.remote-video-name {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 16px;
    font-size: 12px;
}

.remote-video-image-wrapper {
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
    max-width: 50vw;
    width: 100%;
    max-height: 50vw;
    height: 100%;
}

.remote-video-image-wrapper #remote-video-image {
    display: none;
    width: 100%;
    height: 100%;
}

.header-logo img {
    max-width: 200px;
}

#kt_chat_messenger_body {
    margin-bottom: 130px;
}

#kt_chat_messenger_footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 340px;
    background: #fff;
}

#kt_drawer_chat .symbol {
    margin-right: 0.75rem;
}

.fc-timegrid-event-harness.fc-timegrid-event-harness-inset {
    text-align: center;
}

#events-list img {
    max-width: 40px;
}

#events-list {
    max-height: 513px;
    overflow: scroll;
    position: relative;
}

#events-list .card-title {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.modal.show {
    background: rgba(0, 0, 0, 0.2);
}

.accordion-button:not(.collapsed) {
    color: #071437;
}

.accordion {
    border: none;
}

.accordion .accordion-button {
    border-radius: 0;
    background: #fff;
}

.accordion .accordion-button.collapsed {
    border-radius: 0;
    border-bottom: 1px solid #cdcdcd;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
    transform: var(--bs-accordion-btn-icon-transform);
}

#video-controls {
    position: absolute;
    width: 100%;
    bottom: 0px;
    text-align: center;
}
#remote-video {
    position: absolute;
    max-width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#toggle-mic {
    padding: 8px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
    color: white;
    margin: 16px 8px;
    position: relative;
}

#toggle-camera, #toggle-camera-inside {
    padding: 5px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
    color: white;
    margin: 16px 8px;
    position: relative;
}

#toggle-chat {
    padding: 8px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
    color: white;
    margin: 16px 8px;
}

#end-call {
    padding: 5px;
    background: red;
    border-radius: 50%;
    border: 1px solid red;
    color: white;
    margin: 16px 8px;
}

.video-preview-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-right: 30px;

    max-width: 290px;
    width: 100%;
}

.local-video-controls {
    align-self: center;
}

.remote-controls {
    position: absolute;
    bottom: 50px;
    left: 16px;
    display: flex;
}

.remote-controls #remoteMuteAudio,
.remote-controls #remoteMuteVideo {
    display: none;
}

.disable-settings-button::before {
    content: " ";
    width: 1px;
    height: 40px;
    position: absolute;
    background: #fff;
    transform: rotate(135deg);
    top: 0px;
    left: 20px;
}

#toggle-camera:hover,
#toggle-camera-inside:hover,
#toggle-mic:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ki-duotone,
.ki-outline,
.ki-solid {
    line-height: 1;
    font-size: 1rem;
    color: var(--bs-text-muted);
}
.ki-outline {
    font-family: keenicons-outline !important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#kt_drawer_chat .card {
    box-shadow: none;
}

@media (max-width: 767px) {
    .d-flex-mobile.menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .video-conference {
        flex-direction: column;
        align-items: center;
    }

    .video-preview-wrapper {
        margin-right: 0;
    }

    .local-video-wrapper {
        width: 30%;
        height: 22vw;
    }
}

.form-check-input {
    cursor: pointer;
}


.await-user-connection {
    display: block;
    color: #fff;
    z-index: 123;
    position: absolute;
    font-weight: 600;
    font-size: 20px;
}

.no-video-text {
    display: none;
    width: 150px;
    position: absolute;
    bottom: 50%;
    left: calc(50% - 75px);
    text-align: center;
}

.disabled-devices {
    display: none;
}


.border-gray-200 {
    border-color: #f1f1f4;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.text-sm{
    font-size: 14px;
    line-height: 20px;
}

.mb-10{
    margin-bottom: 2.5rem;
}

.menu-item{
    /*transition: all 0.5s;*/
}


.menu-item_border:hover{
    border-bottom: 5px solid #e8e8ea;
}


#kt_app_body--mt{
    margin-top: 110px !important;
}


.menu-footer{
    flex-direction: column;
    text-align: center;
}

.user-region-block{
    line-height: 20px;
    justify-content: end;
}

.mobile-d-flex-column{

}

.mobile-text-left-desktop-text-left{
    float: right;
}

@media (max-width: 767px) {
    .menu-footer{
        margin-top: 15px;
        text-align: left;
    }

    .user-region-block{
        justify-content: start;
    }

    .mobile-d-flex-column{
        flex-direction: column;
    }
    .mobile-mb-2{
        margin-bottom: 5px;
    }
    .mobile-mb-3{
        margin-bottom: 10px;
    }
    .mobile-block-width-100{
        width: 100%;
    }

    .card .card-body {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .mobile-text-left-desktop-text-left {
        float: left;
    }
}

.sale_order_full_table{ width: 100%;}


.avatar-rainbow {

    /*background: linear-gradient(45deg, #439CD6 0%, #439CD6 25%, #dc2743 50%, #DEAD00 75%, #17C653 100%);*/
    /*background: linear-gradient(135deg, #439CD6 0%, #439CD6 100%);*/
    /*background: conic-gradient(#439CD6, #2C3E50, #16A085, #439CD6);*/
    background: conic-gradient(#439CD6 0%, #7B57E4 25%, #439CD6 50%, #E85D75 75%, #439CD6 100%);

    padding: 3px;
}
.avatar-rainbow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Белая линия-разделитель между фото и градиентом (опционально) */
    border: 2px solid #fff;
}

.menu-link--without-hover:hover{
    background: #fff !important;
    color: var(--bs-gray-800) !important;
    cursor: default !important;
}
/* Адаптивные табы: на узких экранах — сетка кнопок вместо строки (все пункты видны сразу, без скролла) */
@media (max-width: 991.98px) {
    .nav-tabs-adaptive {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: .5rem;
        padding: 1rem 0 !important;
        border-bottom: 0 !important;
    }

    .nav-tabs-adaptive .nav-item {
        margin: 0 !important;
    }

    .nav-tabs-adaptive .nav-item .nav-link,
    .nav-tabs-adaptive .nav-item:first-child .nav-link,
    .nav-tabs-adaptive .nav-item:last-child .nav-link {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 0 !important;
        padding: .65rem .75rem !important;
        font-size: 1rem;
        line-height: 1.25;
        border: 1px solid var(--bs-gray-300) !important;
        border-radius: .475rem;
        color: var(--bs-gray-700);
    }

    .nav-tabs-adaptive .nav-item .nav-link:hover:not(.disabled) {
        border-color: var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .nav-tabs-adaptive .nav-item .nav-link.active {
        background-color: var(--bs-primary-light);
        border-color: var(--bs-primary) !important;
        color: var(--bs-primary) !important;
    }
}

@media (max-width: 400px) {
    .nav-tabs-adaptive {
        grid-template-columns: 1fr 1fr;
    }
}
