:root {
    --px1: 0.063rem;
    --px4: 0.25rem;
    --px6: 0.375rem;
    --px8: 0.5rem;
    --px10: 0.625rem;
    --px11: 0.688rem;
    --px12: 0.75rem;
    --px13: 0.813rem;
    --px14: 0.875rem;
    --px16: 1rem;
    --px18: 1.125rem;
    --px20: 1.25rem;
    --px24: 1.5rem;
    --px28: 1.75rem;
    --px34: 2.125rem;
    --px36: 2.25rem;
    --px48: 3rem;
    --px64: 4rem;
    --px128: 8rem;
    --inline-padding-container: 1.5rem;
    --grey-4c: #4C4C4C;
    --grey-e9: #e9e9e9;
    --grey-f9: #f9f9f9;
    --grey-f4: #F4F4F4;
    --grey-c7: #c7c7c7;
    --grey-9: #999;
    --green-success: #00C95C;
    --red-danger: #FB3333;
    --reject: #FEC2C2;
    --warn: #FFBD12;
    --light-pink: #FDADAD;
    --light-yellow: #FFE195;
    --light-purple: #8D8DE6;
}

@font-face {
  font-family: "e-Ukraine";
  src: url('./e-Ukraine/e-Ukraine-Bold.otf'),
       url('./e-Ukraine/e-Ukraine-Light.otf'),
       url('./e-Ukraine/e-Ukraine-Medium.otf'),
       url('./e-Ukraine/e-Ukraine-Regular.otf'),
       url('./e-Ukraine/e-Ukraine-Thin.otf'),
       url('./e-Ukraine/e-Ukraine-UltraLight.otf')
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-style: normal;
    font-family: "e-Ukraine", Calibri, Tahoma, sans-serif;
}
main {
    display:flex;
    justify-content: space-between;
    align-items: center;
    flex-flow:column;
    /*display: grid;
    grid-template-areas: "head head head head head head" "side content content content content content";
    grid-auto-rows: 4.625rem calc(100vh - 4.625rem);
    grid-auto-columns: minmax(min-content, max-content) 1fr;*/
}
.login {background: radial-gradient(121.24% 94.42% at 20.65% 21.85%, #6E6EDF 0%, #28285D 69.52%, #1F1F49 100%); }
.login .navbar { height: 4.625rem; max-height: 4.625rem; }
.login .login-content {
    height: calc(100vh - 4.625rem);
    max-height: calc(100vh - 4.625rem);
    overflow: auto;
}

header {
    box-sizing: border-box;
    /*grid-area: head;*/
}
aside {
    width: fit-content;
    grid-area: side;
}
.sidebar-link {
    min-width: var(--px6);
    width: var(--px6);
    height: 1.875rem;
}
.sidebar-link.active {
    background: radial-gradient(65.16% 115.07% at 20.65% 21.85%, #6E6EDF 0%, #28285D 69.52%, #1F1F49 100%);
    transform: matrix(1, 0, 0, -1, 0, 0);
    border-bottom-right-radius: var(--px4);
    border-top-right-radius: var(--px4);
}

#app-content {
    height: calc(100vh - 4.625rem);
    grid-area: content;
    overflow: auto;
}

.footer {
  position: fixed;
  inset: auto 3rem 0 15rem;
  bottom: 0;
  padding: 0;
}
.footer .btn {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    box-sizing: border-box;
    height: var(--px34);
    border-radius: var(--px8);
    padding: var(--px12) var(--px16);
}
.footer .btn:hover { transform: scale(1.02); }
.footer .footer__buttons {
    box-sizing: border-box;
    border-top-right-radius: var(--px16);
    border-top-left-radius: 15px;
    color: white;
    background: rgba(0, 0, 0, 0.85);
    padding: var(--px8) var(--px12) var(--px6);
}

.font-size-48 {font-size: var(--px48); }
.font-size-28 {font-size: var(--px28); }
.font-size-24 {font-size: var(--px24); }
.font-size-20 {font-size: var(--px20); }
.font-size-18 {font-size: var(--px18); }
.font-size-16 {font-size: var(--px16); }
.font-size-14 {font-size: var(--px14); }
.font-size-13 {font-size: var(--px13); }
.font-size-12 {font-size: var(--px12); }
.font-size-11 {font-size: var(--px11); }
.font-size-10 {font-size: var(--px10); }

.user-initials {
    box-sizing: border-box;
    min-width: 2rem;
    min-height: 2rem;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    color: white;
}
.user-initials.initials-grey {
    background: radial-gradient(51.67% 124.53% at 34.24% -5.59%, #737373 0%, #000000 100%);
}
.user-initials.initials-purple {
    background: radial-gradient(65.16% 115.07% at 20.65% 21.85%, #6E6EDF 0%, #28285D 69.52%, #1F1F49 100%);
}

/*------block icons-------*/
i.i-36 { width: var(--px36); height: var(--px36); }
i.i-64 { width: var(--px64, 64px); height: var(--px64, 64px); }
i.i-128 { width: var(--px128); height: var(--px128); }
i {vertical-align: middle;}
i.white { filter: brightness(0) invert(1); }
i.grey { filter: invert(61%) sepia(22%) saturate(0%) hue-rotate(216deg) brightness(94%) contrast(102%); }
i.black { filter: brightness(0); }
.i-bookmark { content: url("../../images/svgs/bookmark.svg"); }
.i-file { content: url("../../images/svgs/file.svg"); }
.i-intravenous-therapy { content: url("../../images/svgs/intravenous-therapy.svg"); }
.i-list-unordered { content: url("../../images/svgs/list-unordered.svg"); }
.i-medical-case { content: url("../../images/svgs/medical-case.svg"); }
.i-users { content: url("../../images/svgs/users.svg"); }
.i-key { content: url("../../images/svgs/key.svg"); }
.i-company { content: url("../../images/svgs/company.svg"); }
.i-view-boxes { content: url("../../images/svgs/view-boxes.svg"); }
.i-view-three-columns { content: url("../../images/svgs/view-three-columns.svg"); }
.i-chevron-right { content: url("../../images/svgs/chevron-right.svg"); }
.i-archive { content: url("../../images/svgs/archive.svg"); }
.i-refresh { content: url("../../images/svgs/refresh.svg"); }
.i-x { content: url("../../images/svgs/x.svg"); }
.i-x-white { content: url("../../images/svgs/x-white.svg"); }
.i-alert { content: url("../../images/svgs/alert.svg"); }
.i-warning { content: url("../../images/svgs/warning.svg"); }
.i-success { content: url("../../images/svgs/success.svg"); }
.i-plus { content: url("../../images/svgs/plus.svg"); }
.i-plus-black { content: url("../../images/svgs/plus-black.svg"); }
.i-minus { content: url("../../images/svgs/minus.svg"); }
.i-reset { content: url("../../images/svgs/reset.svg"); }
.i-triangle-down { content: url("../../images/svgs/triangle-down.svg"); }
.i-detail-icon-header { content: url("../../images/svgs/detail-icon-header.svg"); }
.i-reply { content: url("../../images/svgs/reply.svg"); }
.i-enter { content: url("../../images/svgs/enter.svg"); }
.i-enter-alert { content: url("../../images/svgs/enter-alert.svg"); }
.i-eye { content: url("../../images/svgs/eye.svg"); }
.i-download { content: url("../../images/svgs/download.svg"); }
.i-north-star { content: url("../../images/svgs/north-star.svg"); }
.i-edit { content: url("../../images/svgs/edit.svg"); min-width: 24px; }
.i-check { content: url("../../images/svgs/check.svg"); }
.i-import-export { content: url("../../images/svgs/import-export.svg"); }
.i-chevron-down { content: url("../../images/svgs/chevron-down.svg"); }
.i-chevron-up { content: url("../../images/svgs/chevron-up.svg"); }
.i-aspect-ratio { content: url("../../images/svgs/aspect-ratio.svg"); }
.i-pmp { content: url("../../images/svgs/pmp.svg"); }
.i-pic { content: url("../../images/svgs/pic.svg"); }
.i-device { content: url("../../images/svgs/device.svg"); }
.i-mi { content: url("../../images/svgs/mi.svg"); }
.i-map { content: url("../../images/svgs/map.svg"); }
.i-product-grid { content: url("../../images/svgs/product-grid.svg"); }
.i-ingredient { content: url("../../images/svgs/ingredient.svg"); }
.i-document {content: url("../../images/svgs/document.svg"); }
.i-copy {content: url("../../images/svgs/copy.svg"); }

.i-search {
    position: absolute;
    pointer-events: none;
    right: 23px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    content: url("../../images/svgs/search.svg");
}

.i-filter {
    width: 16px;
    height: 16px;
    content: url("../../images/svgs/filter.svg");
    vertical-align: text-bottom;
}

.i-input-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    margin: auto 0;
}
.i-calendar {
    position: absolute;
    width: 16px;
    height: 16px;
    content: url("../../images/svgs/calendar.svg");
    bottom: 17px;
    right: 25px;
}
.icon-calendar {
    bottom: 25px;
    right: 20px;
}
.i-dot-success {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-success, #00C95C);
}

.i-dot-warn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--warn, #FFBD12);
}

.i-dot-light-pink {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-pink, #FDADAD);
}

.i-dot-light-yellow {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-yellow, #FFE195);
}

.i-dot-light-purple{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-purple, #8D8DE6);
}

.line-success, .line-warn, .line-danger, .line-grey {
  min-width: var(--px4);
  width: var(--px4);
  height: var(--px18);
  border: var(--px6);
}
.line-success { background: var(--green-success, #00C95C); }
.line-warn { background: var(--warn, #FFBD12); }
.line-danger { background: var(--red-danger, #FB3333); }
.line-grey { background: var(--grey-c7, #c7c7c7); }
/*------end block-------*/

/*------custom button-----*/
.icon-btn {
    padding: 0;
    margin: 0;
    max-height: var(--px24);
    max-width: var(--px24);
}
.icon-btn.i-16 {max-height: var(--px16); max-width: var(--px16);}
.icon-btn:hover, .btn-remove-form:hover, .btn-deactivate:hover { transform: scale(1.05); }
.icon-btn:focus-within { outline: none; border: none; }
.icon-btn:focus { outline: none; border: none; }
.btn-remove-form, .btn-remove-nested-form, .btn-remove-manufacturer, .btn-deactivate {
    box-sizing: border-box;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.13);
    padding: var(--px8, 8px);
    border-radius: 50%;
    border: 2px solid var(--grey-f9, #f9f9f9);
}

.btn-remove-contact-form, .btn-remove-nested-form {
    box-sizing: border-box;
    background: white;
    padding: var(--px8, 8px);
    border: 2px solid #F52B2B;
}

/*------end block-----*/

.container-card {
    align-items: center;
    gap: 9px;
    padding: var(--px4) var(--px12);
    border-radius: var(--px16);
    box-sizing: border-box;
    text-align: center;
    width: fit-content;
    background: var(--grey-e9);
    border: var(--px1) solid var(--grey-e9, #f9f9f9);
}

/*------block page table-------*/
.view-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--px12);
}
.view-table th {
    border-bottom: var(--px1) solid black;
}
.view-table tr td, .view-table tr th {
    padding: var(--px6) var(--px12);
}
.view-table tr .organization-cell, .view-table tr .name-cell {
    min-width: 17rem;
}
.view-table .body-row:hover {
    background: var(--grey-f9);
}
.view-table .body-row:hover  {
    background: var(--grey-f9);
}
.view-table .body-row:hover .sticky-col {
    background: var(--grey-f9);
}

.view-table .body-row td {
    border-bottom: var(--px1) solid var(--grey-e9);
    cursor: pointer;
}
.table-container {
    width: 100%;
    max-height: fit-content;
}
.table-container  .table__fixed {
    margin-top: var(--px10);
    height: 100%;
    max-height: 65vh;
    overflow-y: auto;
}
.sticky-thead th, .sticky-col {
    position: sticky;
    background: white;
}
.sticky-thead th {
    top: 0;
    z-index: 2;
}
.sticky-thead th.sticky-col {
    left: 0;
    z-index: 3;
}
.sticky-col {
    left: 0;
    z-index: 1;
}
.td-to-show {visibility: hidden;}
.view-table .body-row:hover .td-to-show { visibility: visible; }
/*------end block-------*/

.logo {
    height: 3.125rem;
}

.notification-msg {
    position: fixed;
    width: fit-content;
    max-width: 25%;
    border-radius: var(--px4);
    display: none;
    right: var(--px24);
    bottom: 3.75rem;
    z-index: 9999;
}
.modal { background: rgba(153, 153, 153, 0.5); }
.modal .modal-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    border-radius: var(--px8);
}
.modal-wrapper .close-btn, .modal-wrapper .modal__content, .modal-wrapper .modal__content .content__logo {
    box-sizing: border-box;
}
.modal-wrapper .close-btn, .modal-wrapper .modal__content {
    border-radius: var(--px8);
}
.modal-wrapper .close-btn {
    padding: var(--px12);
    width: 2.5rem;
    height: 2.5rem;
}
.modal-wrapper .modal__content {
    background: white;
    width: 22.5rem;
    box-shadow: 0 var(--px1) var(--px6) rgba(0, 0, 0, 0.08), 0 var(--px1) 0 rgba(0, 0, 0, 0.06);
}
.modal-wrapper .modal__sign { width: fit-content; }

.rounded-8 {border-radius: var(--px8);}
.rounded-12 {border-radius: var(--px12);}

.bg-black { background-color: black; }
.bg-red { background-color: red; }
.bg-yellow { background-color: #FFBD12; }
.bg-grey-f4 {background-color: var(--grey-f4, #F4F4F4)}
.bg-app-success {background: var(--green-success, #00C95C);}
.bg-app-error {background: var(--red-danger, #fb3333);}
.bg-app-reject {background: var(--reject, #FEC2C2);}
.bg-grey-f9 { background-color: var(--grey-f9, #F9F9F9); }
.bg-grey-4c { background: var(--grey-4c, #4C4C4C); }
.bg-grey-ed { background: #EDEDED; }

.w-10 { width: 10%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }
.w-100 { width: 100%; }
.h-32 { height: 32px; }
.w-fit { width: fit-content; }
.rotated { transform: rotate(180deg); }

.gap-10  { gap: var(--px10); }
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, auto);
}
.merged-columns {
    grid-column: span 2;
}

.c-black {
    background-color: #000000;
    color: #FFFFFF;
}
.c-light-grey {
    background-color: #EDEDED;
    color: #FFFFFF;
}

.wrapper--dot {
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 40px;
}
.border-gray { border-color: #E5E5E5 !important; }

/*overwrite breadcrumb spacing*/
.breadcrumb {
    margin-bottom: 0; padding: 0;
    font-size: var(--px12);
    background-color: white;
    line-height: 16px;
    color: #C7C7C7;
}
.breadcrumb-item > a { color: #c7c7c7; }
.breadcrumb-item.active { color: #C7C7C7; }
.breadcrumb-item + .breadcrumb-item::before { color: #C7C7C7; }

/* tables: here rewrite height classes for tables to be adapted for user monitor height*/
/* default for pages without footer and tabs or search */
.page-list-content.default { height: calc(100% - 7rem); }
.page-list-content.users-table-content { height: calc(100% - 12rem); }
.page-list-content.tokens-table-content { height: calc(100% - 12rem); }
.page-list-content.medicinal-product-table { height: calc(100% - 10rem); }
.default-table { height: calc(100% - 6rem); max-height: calc(100% - 6rem); min-height: 350px; }
.page-list-content.detail { height: calc(100% - 17rem); }
.page-list-content.drafts { height: calc(100% - 24rem); }
.detail-table { height: calc(100% - 5rem); max-height: calc(100% - 5rem); min-height: 350px; }
.default-table  .table__fixed, .detail-table .table__fixed { height: 100%; max-height: 100%; }

.filters-list {
    overflow: auto;
    scrollbar-width: thin;
}
.filters.list > ul, .filters-popup > ul {
    display: inline-flex;
    gap: var(--px6);
}
.filters-list > ul  { flex-wrap: nowrap; }
.filters-popup > ul {
    flex-direction: column;
}
.hidden-filters {
    min-width: 2%;
    display: none;
    border-radius: var(--px12);
    text-align: center;
    max-height: var(--px28);
    z-index: 9;
    position: relative;
    padding: var(--px4) var(--px12);
    line-height: var(--px20);
}
.hidden-filters .filters-popup {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: fit-content;
    max-height: 12.5rem;
    overflow-y: auto;
    z-index: 10;
    visibility: hidden;
    border: 1px solid var(--grey-c7, #c7c7c7);
    padding: var(--px12);
    border-radius: var(--px8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.hidden-filters .i-triangle-down { display: none; }
.hidden-filters:hover .i-triangle-down { display: inline-block; margin-left: var(--px4); }
.hidden-filters:hover .filters-popup  { visibility: visible; background: #fff;}
.hidden-filters:hover #rest-count { color: black; }
.hidden-filters:hover {
    font-size: var(--px10);
    transform: scale(1.05);
    background-color: #E9E9E9;
}

.package-modal {
    min-width: 60%;
    max-width: 60%;
    max-height: 100vh;
    overflow: auto;
    left: auto !important;
    transform: translateY(-50%) !important;
    right: 0;
}
.w-1000 {
    min-width: 1000px;
    max-width: 1000px;
}
.modal-medical-product {
    min-width: 60%;
    max-width: 60%;
}

.container-square-card {
    align-items: center;
    gap: 9px;
    padding: var(--px4) var(--px12);
    border-radius: var(--px4);
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    background: var(--grey-f4);
    border: var(--px1) solid var(--grey-e9, #999999FF);
}

.span-anchor { cursor: pointer; }
.span-anchor:hover { text-decoration: underline; }

.scrollable-content {
    height: 5em;
    overflow-y: auto;
}

.pl-30px {
    padding-left: 30px;
}
.gray {color: #333333;}
.text-gray-9 { color: var(--grey-9, #999);}

.text-4c { color: var(--grey-4c, #4C4C4C); }
.invalid-feedback {
    font-size: var(--px10, 10px);
    color: var(--red-danger, #FB3333)
}
.mp-tab-form {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 25rem);
}
@media (max-width: 1366px) {
    .mp-tab-form {height: calc(100vh - 27rem);}
}

.sign-widget {
    height: 410px;
    width: 600px;
}



main#app-public {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: column;
    height:100%;
}
header.public__header, article.public__content, footer.public__footer { box-sizing: border-box; }
header.public__header { grid-area: head; }
article.public__content {
    grid-area: content;
}
footer.public__footer { grid-area: footer; }

.mw-10r { min-width: 10rem; }
.mw-12r { min-width: 12rem; }
.mw-15r { min-width: 12rem; }
