﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-content {
    flex: 1 0 auto;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}


.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.page-footer {
    background-color: #fff;
    padding: 15px;
    z-index: 10 !important;
    box-shadow: 0 0 2px 2px #dedede;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-family: 'Fira Sans' !important;
    overflow-y: scroll;
}

.breadcrumb {
    background-color: transparent !important;
    padding: 5px 0px;
}

.breadcrumb a {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    transition: 0.15s all ease;
    font-weight: 600;
}

.account-name {
    max-width: 30rem !important;
    width: fit-content !important;
}

main {
    background-color: #fdfdfd !important;
}

footer {
    font-size: 1.2rem !important;
    z-index: 1000 !important;
}

textarea {
    min-height: 50px;
}

#toasts {
    z-index: 1050;
    position: fixed;
    top: 75px;
    right: 10px;
}

.toast {
    width: 275px;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-content {
    flex: 1 0 auto;
}

.mw-50 {
    max-width: 50% !important;
}

.opener:hover {
    cursor: pointer;
}

.transparent-50 {
    opacity: 0.5 !important;
}

.transparent-0 {
    opacity: 0.99 !important;
}

.bg-danger-light {
    background-color: rgba(255, 148, 151, 0.3) !important;
}


.bg-info-light {
    background-color: rgba(0, 172, 240, 0.05) !important;
}

.bg-secondary-light {
    background-color: rgba(200, 200, 200, 0.05) !important;
}


.bg-success-light {
    background-color: rgba(204, 255, 230, 0.3) !important;
}


.bg-warning-light {
    background-color: rgba(255, 255, 204, 0.5) !important;
}


.bg-light-light {
    background-color: rgba(246, 247, 249, 0.3) !important;
}

.cursor-hand {
    cursor: pointer !important;
}

.light-hover:hover {
    background: rgba(200, 200, 200, 0.1);
}

.hover-bold:hover {
    font-weight: 600 !important;
} 

.simple_input {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #aaa !important;
    text-decoration: none !important;
    height: 1.25rem !important;
    margin-bottom: 10px !important;
}

.simple_input:focus {
    outline: none;
}

.template-helper {
    font-size: 0.75rem !important;
    padding: 0 !important;
}

.same-row {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 120px !important;
}

same-row-large {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 150px !important;
}

.same-col-left {
    width: 50%;
    height: 100%;
}

.same-col-right {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
}

.not-resizable {
    resize: none !important;
}

.btn-square {
    outline: none !important;
    border: 1px solid #ddd;
    color: #777;
    width: 110px;
    padding: 0px;
    display: inline-block;
    padding: 5px;
    text-transform: uppercase !important;
}
.btn-square:hover {
    background-color: #fafafa;
    cursor: pointer;
}

.app.has-compact-menu .app-aside {
    width: 4rem !important;
}

.app.has-compact-menu .app-aside + .app-main {
    padding-left: 4rem;
}

.scroll-spy-div {
    position: relative !important;
    overflow: auto !important;
    height: 80vh !important;
}

.bd-example {
    position: relative;
    padding: 1rem;
    margin: 1rem -15px 0;
    border: solid #f8f9fa;
    border-width: .2rem 0 0;
}

.wid60px {
    width: 60px !important;
}

.resizable-card .ui-resizable-s {
    background: url("res.png") no-repeat;
    opacity: 0.3;
    height: 15px;
    width: 15px;
    left: calc(50% - 6.5px); /*Adjust this value to fit it properly in the container*/
    bottom: -2px;
}

.auth-page {
    background: url(/images/login-min.jpg) !important;
    background-repeat: no-repeat;
    background-size: auto;
}

.auth-card {
    background-color: rgba(255, 255, 255, 0.8) !important;
    padding-right: 5rem;
    padding-left: 5rem;
}

@media (min-width: 576px) {
    .auth-block {
        width: 90% !important;
    }
}

@media (min-width: 768px) 
{
    .auth-block {
        width: 75% !important;
    }
}

@media (min-width: 992px)
{
    .auth-block {
        width: 50% !important;
    }
}

@media (min-width: 1200px) 
{
    .auth-block {
        width: 40% !important;
    }
}

.bg-di-light {
    background-color: rgba(200, 200, 200, 0.4) !important;
}

.di-hover:hover {
    background: rgba(200, 200, 200, 0.4);
}

.swal-text {
    text-align: center
}

.li-file {
    min-width:225px; 
    max-width: 275px;
}

.border-gray {
    border: 1px solid #ced1d6 !important;
}

.bg-white-2 {
    background-color: #fefefe !important;
}

.d-none-soft {
    display: none;
}

.semi-bold {
    font-weight: 500 !important;
}

.visual-picker-figure {
    height: 3rem !important;
}

.field-validation-error {
    color: red;
    background-color: khaki;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 5px;
    display: block;
}

.readonly.select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

.readonly.select2-hidden-accessible + .select2-container .select2-selection {
        background: #eee;
        box-shadow: none;
    }

    .readonly.select2-hidden-accessible + .select2-container .select2-selection__arrow, .readonly.select2-hidden-accessible + .select2-container .select2-selection__clear {
        display: none;
    }

/* Fix of https://github.com/flask-admin/flask-admin/issues/1672 */
.select2-hidden-accessible[required] {
    display: block !important;
}

.disabled-input {
    background-color: #f6f7f9 !important;
    opacity: 1 !important;
    border: 1px solid #c6c9d5 !important;
}

.dropzone {
    overflow: initial !important;

}

#loader {
    display: none;
    z-index: 1001;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    backdrop-filter: blur(2px);
}

#loader > div {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader > div > div {
    width: 10rem;
    height: 10rem;
}

.files-container {
    display: flex;
    flex-wrap: wrap;
}

.cursor-pointer-hard, .cursor-pointer-hard * {
    cursor: pointer !important;
}

.oneline-header {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.switcher-control + label {
    user-select: none;
}

.ui-widget.ui-autocomplete {
    z-index: 1051;
}

.number-input-wrapper {
    display: flex;
    align-items: center;
}

.number-input-wrapper .suffix {
    margin-left: 6px;
    margin-top: 6px;
    margin-right: 9px;
    color: #000;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14pt;
    font-family: Arial, sans-serif;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center; /* Вертикальное центрирование */
}

.content-center-spinner {
    position: absolute;
    top: 50%; /* Центрируем относительно высоты */
    left: 50%; /* Центрируем относительно ширины */
    transform: translate(-50%, -50%); /* Сдвигаем на 50% ширины и высоты */
}
.custom-box {
    padding: 10px;
    text-align: center;
    background: #007bff;
    color: white;
    font-size: 18px;
    border: 1px solid black;
    cursor: pointer;
}

.custom-box:hover {
    background: #0056b3;
}

.notifications-circle-common {
    border-radius: 50%;
    display: inline-block;
    mask: radial-gradient(#0000 40%, #000 41%);
    animation: rotate 2s linear infinite;
}

.notifications-circle-navbar {
    width: 25px;
    height: 25px;
    margin-left: 10px;
}

.notifications-circle-bell {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-top: -5px;
}

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

.status-container {
    float: right;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestions-wrapper > div a {
    display: none;
}