/* ROBOTO Font*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
/* Ostrich Font */
@import url("../fonts/ostrichproper/ostrichproper.003606116069.css");

body {
    font-family: Roboto, sans-serif;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: ostrich_proper, sans-serif;
    letter-spacing: inherit;
    font-weight: 400;
}

.header-pretitle {
    font-family: ostrich_proper, sans-serif;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.75rem;
}

.navbar-vertical .navbar-heading {
    font-size: inherit;
    letter-spacing: inherit;
}

.w-33 {
    width: 33%!important
}

.avatar-contain {
    object-fit: contain;
}

p:last-child {
    margin-bottom: 0;
}

.card-header {
    min-height: 66px;
    height: inherit !important;
}

.header-no-padding-margin-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.header-body-no-border {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.text-size-md {
    font-size: 0.8rem !important;
}

.white-space-no-wrap {
    white-space:nowrap !important;
}
.white-space-break-spaces {
    white-space: break-spaces;
}
.text-size-lg {
    font-size: 0.9rem !important;
}

.text-size-xl {
    font-size: 1rem !important;
}

.text-size-sm {
    font-size: 0.7rem !important;
}

.text-size-xs {
    font-size: 0.6rem !important;
}

.text-size-xxs {
    font-size: 0.5rem !important;
}

.width-1 {
    width: 1rem !important;
}

.text-size-30-px {
    font-size: 30px;
}

.no-error > .invalid-feedback {
    display: none;
}

.cke_top, .cke_inner, .cke_reset {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.cke_bottom, .cke_inner, .cke_reset {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.cke {
    max-width: 100%;
}

.is-invalid .cke {
    border: 1px solid #e63757!important;
}

.breadcrumb {
    /*font-size: 1rem;*/
    padding: 0.75rem 0 0 0;
}

.breadcrumb .breadcrumb-divider {
    font-weight: lighter;
    margin: 0 5px;
}

.desktop-breadcrumb .breadcrumb .breadcrumb-divider {
    color: #6E84A3;
    font-weight: bold;
}

.desktop-breadcrumb .breadcrumb .breadcrumb-item {
    color: #6E84A3;
    font-weight: bold;
}

.desktop-breadcrumb .breadcrumb .last-breadcrumb-item {
    color: #4A4A4A;
}

.desktop-breadcrumb .breadcrumb {
    font-size: 1rem;
}

.mobile-breadcrumb .breadcrumb .breadcrumb-item {
    font-size: 1rem;
    font-weight: bold;
}

.mobile-breadcrumb.on-collapsed .breadcrumb .breadcrumb-item {
    display: none;
}

.mobile-breadcrumb.on-collapsed .breadcrumb .breadcrumb-divider {
    display: none;
}

.mobile-breadcrumb.on-collapsed .breadcrumb .last-breadcrumb-item {
    color: #4A4A4A;
}

.mobile-breadcrumb.on-expand .breadcrumb {
    color: #ffffff;
}

.mobile-breadcrumb.on-expand .breadcrumb .breadcrumb-divider {
    display: inline;
}

.mobile-breadcrumb.on-expand .breadcrumb .breadcrumb-item {
    display: inline;
    color: #ffffff;
}

.mobile-breadcrumb.on-expand .breadcrumb .last-breadcrumb-item {
    font-weight: lighter;
}

.page-guidance-text, .page-guidance-text-mobile {
    color: #6E84A3;
}

.right-bottom-aligned {
    bottom: 0;
    right: 0;
}

.non-arrow::-ms-expand {
    display: none;
}

.non-arrow {
    -moz-appearance: none;
    -webkit-appearance: none;
}

.uploadcare--widget__button{
    margin-left: 10px;
}


/***************************************************************************/
/************************* Select2 custom styling **************************/
/***************************************************************************/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bs-light) !important;
    border-color: var(--bs-gray-600) !important;
}

.select2-selection__choice {
    font-size: inherit!important;
}


.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-color: #d2ddec !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: .375rem !important;
}

.select2-container--default .select2-selection--single {
    height: calc(1.5em + 1rem + 2px) !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: calc(1.5em + 1rem + 2px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 1rem + 2px) !important;
    color: #12263f !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: var(--bs-gray-500) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 10px !important;
    right: 12px !important;
    height: calc(1.5em + 1rem + 2px) !important;
    color: #12263f !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 2px;
    padding-right: 5px;
    height: calc(1.5em + 1rem + 2px);
    color: var(--bs-gray-600);
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: var(--bs-gray-700);
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: inherit !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--bs-gray-600) transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--bs-gray-600) transparent !important;
}

.select2-selection--multiple .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    padding-left: 0.375rem;
    padding-right: 0.375rem;
    margin: 0 0.25rem 0.25rem 0;
    font-size: .8125rem;
}

/* remove me when form help text for bootstrap fields is moved above the field */
.form-text {
    margin-top: .4rem;
}

select.form-control:disabled,
input.form-control.disabled {
    background-color: #f9fbfd;
    border: none;
    opacity: 1;
    padding-left: 0;
}

select:disabled,
input:disabled::after {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}

a.dropdown-toggle::after {
    margin-left: 0;
}

h1 .dropdown-menu,
.badge {
    font-family: Roboto, sans-serif;
}

.table thead th {
    font-family: ostrich_proper, sans-serif;
    font-weight: normal;
    letter-spacing: 0;
}

table thead th.orderable a::after {
    content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 0L6 4H0L3 0ZM3 10L0 6H6L3 10Z' fill='%2395AAC9'/></svg>");
    margin-left: .25rem;
}

table thead th.asc a::after {
    content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 0L6 4H0L3 0Z' fill='%2395AAC9'/></svg>");
    margin-left: .25rem;
}

table thead th.desc a::after {
    content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 10L0 6H6L3 10Z' fill='%2395AAC9'/></svg>");
    margin-left: .25rem;
}

table thead th.sorting span.sort-arrows {
    content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 0L6 4H0L3 0ZM3 10L0 6H6L3 10Z' fill='%2395AAC9'/></svg>");
    margin-left: .25rem;
}

table thead th.sorting_asc span.sort-arrows {
    content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 0L6 4H0L3 0Z' fill='%2395AAC9'/></svg>");
    margin-left: .25rem;
}

table thead th.sorting_desc span.sort-arrows {
    content: url("data:image/svg+xml;utf8,<svg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 10L0 6H6L3 10Z' fill='%2395AAC9'/></svg>");
    margin-left: .25rem;
}

.modal-header .close {
    margin: -1rem -1rem -1rem auto !important;
}

.color-inherit,
.color-inherit:hover {
    color: inherit;
}

.dosage-name {
    width: 140px;
}

.dosage-value-input {
    width: initial!important;
    max-width: 80px;
}

.dosage-unit-input {
    width: initial!important;
    max-width: 80px;
}

.nav-overflow {
    overflow-x: initial;
}

@media (min-width: 768px) {
    .border-md-right {
        border-right: 1px solid #e3ebf6 !important;
    }
    .border-md-left {
        border-left: 1px solid #e3ebf6 !important;
    }
}

.select2-results__option {
    padding: .375rem .75rem;
    color: inherit;
}

.select2-results__option--highlighted, .select2-results__option[aria-selected=true] {
    color: #aaa;
}

.form-check-input:disabled~.form-check-label::before, .form-check-input[disabled]~.form-check-label::before {
    background-color: #e9ecef !important;
}

.popover {
    max-width: 12rem !important;
}

.key-col:after {
    content: "........................................................................................................................................................................................................................................................................................................................................"
}

.badge-outline-dark {
    background-color: transparent;
    color: #12263f;
    border: 1px solid #12263f;
}

.scrollable-card .card-body {
    padding: 0;
    max-height: 400px;
    overflow: auto;
}

.non-scrollable-card .card-body {
    padding: 0;
    overflow: auto;
}

.small-table-padding .table tbody td, .small-table-padding .table tbody th, .small-table-padding .table thead th {
    padding: 0.5rem !important;
}

.text-input-disabled {
    background-color: #eee !important;
    color: #999 !important;
}

input[type="color"].form-control {
    padding-right: 0.75rem;
}

.c-pointer {
    cursor: pointer;
}
.c-grab {
    cursor: grab;
}
.c-grab:active {
    cursor: grabbing;
}

a.btn-link-secondary {
    color: var(--bs-gray);
}
a.btn-link-secondary:hover {
    color: var(--bs-gray-dark);
}

@media screen and (min-width: 1201px) {
    .info-metric-font-size {
        font-size: 2rem;
    }
}

@media screen and (max-width: 991px) {
    .info-metric-font-size {
        font-size: 2rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .info-metric-font-size {
        font-size: 1.3rem;
    }
}


.value-unit-group input.form-control {
    flex: 1;
}

.value-unit-group select.form-select {
    flex: 0.2;
}

.value-unit-group.value-unit-group-small select.form-select {
    flex: 0.5;
}

.table>tbody>tr.error>* {
    background-color: var(--bs-table-border-color);
    padding: 0.5rem;
    text-align: center;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity));
}

.reorder-handle {
        width: 18px;
        background-image: radial-gradient(#d2deec 26%, transparent 0);
        background-position: -2px 0px;
        background-size: 7px 8px;
    }
.reorder-handle:hover {
    background-image: radial-gradient(var(--bs-gray) 26%, transparent 0);
}
.reorder-handle:hover .order-badge {
    color: var(--bs-gray-dark);
}

.nav-tabs .nav-item:first-child {
    margin-left: .75rem;
}