:root {
    --row-even-color: #e0e0e0;
    --row-odd-color: #f0f0f0;
    --laup-primary-bg: #2149a1;
    --laup-primary-light-bg: #2149a1;
    --laup-teal-color: #4db6ac;
    --laup-teal-bg: #4db6ac;
    --laup-cancel-action-btn-bg: #ff5252;
    --laup-btn-confirm-bg: #4db6ac;
    --laup-btn-confirm-border: #286761;
    --laup-btn-confirm-color: #000;
    --laup-btn-confirm-hover-bg: #45a094;
    --laup-admin-color: #dc3545;
    --laup-admin-bg: #dc3545;
    --laup-action-color: #dc3545;
}

html,body {
    height:100%;
    margin:0;
    padding:0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
}

body {
    display: flex;
    flex-direction: column;
}

body.modal-open {
    overflow: hidden;
}

.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    font-family:'Roboto', sans-serif;
    line-height:1.5;
}

.detail {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    padding-bottom: 1rem;
    margin-left: 256px; /* to separate it from fixed menu */
    padding-left: 2em;

}

.detail-title-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 2%;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
}

.detail-main {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 95%;
}

.detail-main > div {
    padding: 0 0 2rem 1rem;
}

.detail-main > div:nth-child(n + 2) { /* target */
    border-top: 2px solid var(--row-even-color);
    padding-top: 6px;
}

.detail-main > div:not(:last-child) {
    border-bottom: none;
}

.detail-content-container {
    display: flex;
    flex-direction: column;
}

.detail-content-container > div:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.parallel-even {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.parallel-far {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.parallel-left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.far-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.grows {
    flex: 1;
}

.padded-bottom {
    padding-bottom: 0.5rem;
}


.hidden-dialog {
    display: none;
}

.help-text {
    color: #4b4b4b;
    font-size: 0.85rem;
}

.menu-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 256px;
    border-right: 1px solid #e0e0e0;
    flex-shrink: 0;
    min-height: inherit;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #fff;
}

.menu-user {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lang-switch {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 4px;
}

.lang-switch-btn {
    min-width: 2.25rem;
    height: 1.75rem;
    padding: 0.15rem 0.3rem !important;
    line-height: 0;
}

.lang-flag {
    display: block;
    width: 1.25rem;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.menu-item-link  {
    text-decoration: none;
    color: #212121;
}

.menu-item-link:hover {
    text-decoration: none;
    color: #212121;
}

.menu-item-link:hover > div:not(.current-item) {
    background-color: #f6f6f6;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 9px 12px 7px 8px;
    column-gap: 0.7rem;
}

.menu-item-super {
    text-align: left;
}

.menu-item-sub-menu {
    list-style: none;
}

.menu-item-sub-menu > li {
    margin-top: 8px;
}

.menu-body {
    flex: 1 0;
}

.menu-body-ext {
    border-top: 1px #e0e0e0 solid;
}

.menu-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--laup-primary-bg);
    color: white;
    width: inherit;
    text-align: center !important;
}

.menu-foot a{
    color: #fff;
}

.menu-foot-item {
    width: 100%;
    padding: 10px;
}

.menu-foot-stats {
    display: flex;
    flex-direction: column;
    row-gap: 0.25rem;
}

.menu-foot-stat strong {
    font-variant-numeric: tabular-nums;
}

.parallel {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly !important;
}

.btn {
	align-items: center;
	border-radius: 4px;
    color: white;
    cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 500;
    justify-content: center;
    letter-spacing: 0.0892857143em;
	outline: 0;
    position: relative;
    text-align: center;
    text-decoration: none;
	text-transform: uppercase;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
}

.btn:hover:not(:disabled) {
    color: white;
}

.btn.btn-small {
    padding: 0.1rem 0.2rem;
    text-transform: none;
}

.btn-row {
	height: 36px;
	min-width: 64px;
	padding: 0 16px;
    font-size: 0.875rem;
}

.btn-blue {
    background-color: #2B60D4;
}

.btn-blue:hover {
    background-color: #19377A;
}

.btn-grey {
    background-color: var(--bs-gray-200);
    border-color: var(--bs-gray-500);
    color: black;
}

.btn-grey:hover {
    background-color: var(--bs-gray-500);
}

.btn-orange {
	background-color: var(--laup-cancel-action-btn-bg);
}

.btn-orange:hover {
    background-color: #8C0000;
}

.btn-teal {
    background-color: var(--laup-btn-confirm-bg);
}
.btn-teal:hover {
    background-color: #2F847C;
}

.btn-green {
    background-color: #48B06C;
}

.btn-green:hover {
    background-color: #275F3A;
}

.select_up_down{
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1rem;
    line-height: 0.7rem;
}

.raised {
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.alert-box {
    background-color: #6f313c;
    border-color: #57262f;
    border-radius: .5rem;
    color: #ffffff;
    font-size: large;
    padding: 1rem;
    position: absolute;
    left: 10%;
    bottom: 10%;
    max-width: 75%;
    z-index: 1000;
    box-shadow: 0 2px 2px 2px rgba(136, 136, 136, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-self: anchor-center;
}

.alert-box>button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    margin-left: 2rem;
}

.notification-box {
    background-color: rgb(237 236 236 / 70%);
    border-color: #141414;
    border-radius: .5rem;
    color: #171717;
    font-size: large;
    padding: 1rem;
    position: absolute;
    top: 2%;
    max-width: 75%;
    z-index: 1000;
    box-shadow: 0 2px 2px 2px rgba(110, 110, 110, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: center;
}


.current-item {
    background-color: #e4e4e4;
}

.lni::before {
    font-size: 1.2em;
}

.lni-file-xmark, .lni-ban-2 {
    color: #dc3545;
    font-weight: 600;
}

.lni-check, .lni-check-square-2, .progress-box .lni-cloud-upload {
    color: #198754;
}

.file-upload-interface .lni-cloud-upload {
    font-size: 2rem;
}

.lni-bar-chart-4 {
    color: #ffc107;
}

.divider {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.italicized {
    font-style: italic;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

/* -- spinner -- */
#spinner_wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #949494;
    opacity: 0.4;
}

#spinner {
    height: 100%;
    width: 100%;
    background: url('../img/spinner.gif') no-repeat center center;
}

.vertically-centered {
    align-self: center;
}

.align-self-center {
    align-self: center;
}

.max-width-min-content {
    max-width: min-content;
}


.major-info {
    color: #eaeaea;
    font-size: medium;
    font-weight: bold;
    font-style: italic;
}

.minor-info {
    color: #686868;
    font-size: smaller;
    font-style: italic;
}

.info-grid {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 1rem;
    row-gap: 0.2em;
}

.info-grid .info-row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    padding: 1px;
}

.info-grid .info-row:nth-child(odd) {
    background-color: var(--row-odd-color);
}
.info-grid .info-row:nth-child(even) {
    background-color: var(--row-even-color);
}

.field_label {
    font-weight: bold;
}

.field_label:after{
    content: ":";
}

.field_value {
    font-weight: normal;
    max-width: 800px;
}

.edit-section .field_value.editable {
    cursor: text;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #fff;
    height: 100%;
}

.edit-section .field_value.editable:hover {
    text-decoration: underline;
    border: 1px solid #c1c1c1;
}

.edit-section .field_value.editable:focus {
    outline: none;
}

.flex-div {
    display: flex;
    flex-direction: column;
    padding: 1.5em;
    border-radius: 10px;
    row-gap: 1em;
}

/* Bootstrap Accordion */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #183677;
}

.accordion-button {
    color: #fff;
    background-color: var(--laup-primary-bg);
}

.accordion-button:focus {
    box-shadow: None;
}

/* Bootstrap Modal */
.modal-header {
  background-color: var(--laup-primary-bg);
  color: white;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border-bottom: none;
}

.modal-header .btn-close {
    background-color: #fff;
}

.admin-dialog {
    border: 2px solid var(--laup-admin-color);
}

.admin-dialog .ui-dialog-titlebar,
.admin-danger-box {
    background-color: var(--laup-admin-bg);
    color: white;
}
