.input-group.input-group-outline .form-label, .input-group.input-group-outline .form-label {
    width: 100%;
    height: 100%;
    font-size: 0.6875rem !important;
    color: #296b71;
    display: flex;
    line-height: 1.25 !important;
}

.document-editor {
    min-height: 300px !important;
    border: 1px solid #ccced1 !important;
}

.mvh-70 {
    max-width: 70vw;
}

#servForm .select2-container{
    width: 30vw !important; 
    max-width: 50vw;
}
.vetalert-secondary {
    color: #4a4d5c;
    background-color: #e5e6eb;
    border-color: #d7d9e1;
}

.vetalert-secondary .btn-warning {
    background-color: #ceb686;
    border-color: #ceb686;
}

.placeholders {
    font-family: monospace;
}

.image-style-align-right {
    float: right !important;
}

.image-style-align-left {
    float: left !important;
}


/* Adjust Select2 height to match Bootstrap select */
.select2-container--default .select2-selection--single {
    height: calc(2.25rem + 2px); /* Match Bootstrap height */
    padding: 0.375rem 0.75rem; /* Match Bootstrap padding */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5; /* Match Bootstrap line-height */
}

th, td {
    text-wrap: wrap !important;
    white-space: wrap !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px); /* Match Bootstrap height */
}

.select2-container--default .select2-selection--single {
    height: fit-content !important; 
    border: 1px solid #dee2e6 !important
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}



th.infoBadge {
        padding: 0.75rem 1.5rem;
        text-transform: capitalize;
        letter-spacing: 0px;
        white-space: nowrap;
        font-size:  var(--bs-body-font-size) !important;
        font-weight: bold;
        text-align: -internal-center;
        color: #7b809a !important;
} 

.select2-search__field {
    padding:3px;
}

/* ---- для макетов -----*/
.mainTemplate {
    line-height: 1 !important;
    font-family: "Open Sans", sans-serif !important; 
}


.mainTemplate  ul {
    list-style: square !important;  /* Remove the default bullet */
    padding-left: 20px !important;   /* Optional: Remove default padding */
}


/* ----- для выписок ----*/

.ck-content .image {
    position: relative;
}
.ck-content .image img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.ck-content .image::before {
    content: '';
    padding-top: 100%;
    display: block;
}

figure.table td {
    border:none ;
    font-family: "Open Sans", sans-serif !important; 
}

table td {
    border:none ;
    font-family: "Open Sans", sans-serif !important; 
}

.pdfgen table  {
    border: none;
}

.pdfgen td {
    border: none;
}

.pdf_debts {
    font-size: 8px !important;

}

p {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.pdfgen {
    font-size: 10px !important;
}

.pdf_debts tfoot td {
    font-weight: bold !important;
}

.pdfgen td.danger {
    background-color: #f2dede;
}

.pdf_price {
    font-size: 6px !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.pdf_price td {
    /*padding-top: 0 !important;
    padding-bottom: 0 !important;*/
    padding-left: 5px  !important; 
    height: fit-content; 
    line-height:1 !important;
}

.pdf_price .isGrouped td {
    background: #c7c7c7 !important;
    font-size: medium !important;
    font-weight: bold;
    color: black;
}


.pdf_mpdf .even td {
    background: #c7c7c7 !important;
    color: black;
}

.pdf_mpdf .bold {
    font-weight: bold;
}

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

.pdf_price .isGroupedTotal td {
    background: #898282 !important;
    font-size: medium !important;
    font-weight: bold;
    color: black;
}


.pdf_price .isHeaderGreen td {
    background: #caf0c9 !important;
    font-size: medium !important;
    font-weight: bold;
    color: black;
}

.pdf_price .bg-green {
    background: #9dc195 !important;
    font-size: medium !important;
    font-weight: bold;
    color: black;
}

.pdf_price .bg-orange {
    background: #e3b17f !important;
    font-size: large !important;
    font-weight: bold;
    color: black;
}

.pdf_price .bg-red {
    background: #df8484 !important;
    font-size: large !important;
    font-weight: bold;
    color: black;
}

.pdf_price .isTotalGreen td {
    background: #9dc195 !important;
    font-size: medium !important;
    font-weight: bold;
    color: black;
}


.pdf_price .isTotalGrouped td {
    background: #e68b8b !important;
    font-size: large !important;
    font-weight: bold;
    color: black;
}

.pdf_price.w-50 {
    width: 50% !important;
} 

.pdf_price.float-left {
    margin-right:auto;
    margin-left:0px
} 


/* -------- */

.commonType  {
    background-image: linear-gradient(195deg, #747b8a 0%, #495361 100%) !important;
}

.symptomType  {
    background-image: linear-gradient(195deg, #7396e1 0%, #4077c5 100%) !important;
}

.systemType {
    background-image: linear-gradient(195deg, #82e88e 0%, #4ed95e 100%) !important;
    color: black;
}

.speciesType  {
    background-image: linear-gradient(195deg, #dee980 0%, #f6f649 100%) !important;
    color: black;
}

.specType {
    background-image: linear-gradient(195deg, #e7a782 0%, #ee765e 100%) !important;
    color: black;
}

.form-control.custom, .dt-search input {
    border: 1px solid #dee2e6 !important;
}

html {
    --cui-sidebar-width: 16rem;
    --cui-sidebar-bg: #3c4b64;
    --cui-sidebar-padding-x: 0;
    --cui-sidebar-padding-y: 0;
    --cui-sidebar-color: rgba(255, 255, 255, 0.87);
    --cui-sidebar-border-width: 0;
    --cui-sidebar-border-color: transparent;
    --cui-sidebar-brand-color: rgba(255, 255, 255, 0.87);
    --cui-sidebar-brand-height: 4rem;
    --cui-sidebar-brand-bg: rgba(0, 0, 21, 0.2);
    --cui-sidebar-header-height: 4rem;
    --cui-sidebar-header-bg: rgba(0, 0, 21, 0.2);
    --cui-sidebar-header-padding-x: 1rem;
    --cui-sidebar-header-padding-y: 0.75rem;
    --cui-sidebar-footer-bg: rgba(0, 0, 21, 0.2);
    --cui-sidebar-footer-height: auto;
    --cui-sidebar-footer-padding-x: 1rem;
    --cui-sidebar-footer-padding-y: 0.75rem;
    --cui-sidebar-toggler-bg: rgba(0, 0, 21, 0.2);
    --cui-sidebar-toggler-height: 3rem;
    --cui-sidebar-toggler-indicator: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%238a93a2' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E");
    --cui-sidebar-toggler-indicator-width: 4rem;
    --cui-sidebar-toggler-indicator-height: 3rem;
    --cui-sidebar-toggler-hover-bg: rgba(0, 0, 0, 0.3);
    --cui-sidebar-toggler-indicator-hover: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='rgba%28255, 255, 255, 0.87%29' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E");
    --cui-sidebar-narrow-width: 4rem;
    --cui-sidebar-nav-title-padding-x: 1rem;
    --cui-sidebar-nav-title-padding-y: 0.75rem;
    --cui-sidebar-nav-title-margin-top: 1rem;
    --cui-sidebar-nav-title-color: rgba(255, 255, 255, 0.6);
    --cui-sidebar-nav-link-padding-x: 1rem;
    --cui-sidebar-nav-link-padding-y: 0.8445rem;
    --cui-sidebar-nav-link-color: rgba(255, 255, 255, 0.6);
    --cui-sidebar-nav-link-bg: transparent;
    --cui-sidebar-nav-link-border-color: transparent;
    --cui-sidebar-nav-link-border: 0 solid var(--cui-sidebar-nav-link-border-color);
    --cui-sidebar-nav-link-border-radius: 0;
    --cui-sidebar-nav-link-active-color: rgba(255, 255, 255, 0.87);
    --cui-sidebar-nav-link-active-bg: rgba(255, 255, 255, 0.05);
    --cui-sidebar-nav-link-active-icon-color: rgba(255, 255, 255, 0.87);
    --cui-sidebar-nav-link-disabled-color: rgba(255, 255, 255, 0.38);
    --cui-sidebar-nav-link-disabled-icon-color: rgba(255, 255, 255, 0.6);
    --cui-sidebar-nav-link-hover-color: rgba(255, 255, 255, 0.87);
    --cui-sidebar-nav-link-hover-bg: rgba(255, 255, 255, 0.05);
    --cui-sidebar-nav-link-hover-icon-color: rgba(255, 255, 255, 0.87);
    --cui-sidebar-nav-icon-width: 4rem;
    --cui-sidebar-nav-icon-height: 1.25rem;
    --cui-sidebar-nav-icon-font-size: 1.25rem;
    --cui-sidebar-nav-link-icon-color: rgba(255, 255, 255, 0.6);
    --cui-sidebar-nav-group-bg: rgba(0, 0, 0, 0.2);
    --cui-sidebar-nav-group-items-padding-y: 0;
    --cui-sidebar-nav-group-items-padding-x: 0;
    --cui-sidebar-nav-group-indicator: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.6%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --cui-sidebar-nav-group-indicator-hover: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.87%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --cui-sidebar-nav-group-toggle-show-color: rgba(255, 255, 255, 0.6);
   /* position: relative;
    display: flex;
    flex: 0 0 var(--cui-sidebar-width);
    flex-direction: column;
    order: -1;
    width: var(--cui-sidebar-width);
    padding: var(--cui-sidebar-padding-y) var(--cui-sidebar-padding-x);
    color: var(--cui-sidebar-color);
    background: var(--cui-sidebar-bg);
    border-right: var(--cui-sidebar-border-width) solid var(--cui-sidebar-border-color);
    box-shadow: none;
    transition: margin-left 0.15s, margin-right 0.15s, box-shadow 0.075s, transform 0.15s, width 0.15s, z-index 0s ease 0.15s;
  */
}



/*
.vetMenu.collapsed .nav-group-toggle::after {
    display: block;
    flex: 0 12px;
    height: 12px;
    margin-left: auto;
    content: "";
    background-image: var(--cui-sidebar-nav-group-indicator-hover) !important;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(360deg);
    transition: transform 0.15s;
}


.vetMenu .nav-group-toggle::after {
    display: block;
    flex: 0 12px;
    height: 12px;
    margin-left: auto;
    content: "";
    background-image: var(--cui-sidebar-nav-group-indicator-hover) !important;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(270deg);
    transition: transform 0.15s;
}
*/

/*.nav-group-toggle::after {
    transform: rotate(180deg);
} */


.delForm {
    display: inline;
    margin-left: -4px !important;
}

.vetSubmenu {
    margin-left: 5px;
}


.infoBadge {
    font-size: x-small;
    color: white !important;
}

.infoBadge a:hover {
    color: rgba(217, 217, 217, 0.995) !important;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
    display: block;
    overflow: auto;
    height: 80vh;
}


.sidenav .nav-item .nav-link.active {
    color: #fff !important;
    background-image: linear-gradient(195deg, #296b71 0%, #175358 100%);
}

.avatar {
  color:  #296b71;
  font-size: large;
}


.vet.form-control {
    border: 1px solid #d2d6da;
    padding: 4px;
}

.pointer {
    cursor:pointer;
}


.select2-container--default .select2-selection--single {
    padding: 0.5rem 0.75rem;
    border: 2px solid #dee2e6 !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 5px;
}


.form-control.is-invalid + .select2 .select2-selection {
    border-color: var(--bs-form-invalid-border-color);
}

/* For Bootstrap 3/4 (using .has-error) */
.form-group.has-error .select2-container .select2-selection {
    border-color: #a94442; /* Bootstrap's default error color */
}

.was-validated select.select2:invalid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-invalid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #fd5c70 !important;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fd5c70' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fd5c70' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #fd5c70 !important;
    padding-right: unset;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fd5c70' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fd5c70' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}


.was-validated select.select2:invalid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-invalid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px!important;
}

.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #66d432;
    padding-right: unset;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3e%3cpath fill='%2366d432' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}

.was-validated select.select2:valid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-valid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #66d432;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3e%3cpath fill='%2366d432' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}
.was-validated select.select2:valid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-valid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px!important;
}