/* MAIN CSS
 *
 * mySortimo Graphics
 */


/* general */

* {
    /*font-family: Roboto Condensed, Arial Narrow, sans-serif;*/
    --bs-body-color: #536272;
    --bs-body-font-family: 'Roboto Condensed', sans-serif;
}

body {
    padding: 0;
    margin: 0;
    background: #ffffff;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hidden {
    display: none;
}


/* LOADING OVERLAY */

.spanner{
  position:absolute;
  top: 50%;
  left: 0;
  background: #2a2a2a55;
  width: 100%;
  display:block;
  text-align:center;
  height: 300px;
  color: #FFF;
  transform: translateY(-50%);
  z-index: 1000;
  visibility: hidden;
}

.overlay{
  position: fixed;
	width: 100%;
	height: 100%;
  background: rgba(0,0,0,0.5);
  visibility: hidden;
  z-index: 1099;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.show{
  visibility: visible;
}

.spanner, .overlay{
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.spanner.show, .overlay.show {
	opacity: 1
}

.portal-card-area {
    height: calc(100vh - 6rem)
}


.scrollable-list-orders {
    overflow-y: auto;
    max-height: calc(100vh - 11.5rem);
    border: 1px solid #dfdfdf
}

/* calc height by substracting heights of elements before ul (padding, input, margin) */
.scrollable-list-saporders {
    overflow-y: auto;
    max-height: calc(100vh - 11.5rem - 1.25rem - 20px - 1.4rem);
    border: 1px solid #dfdfdf
}

#fileListContainer .file-entry {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Filename left, button right */
    gap: 1rem;
    margin-bottom: 0.5rem;
}

#fileListContainer .file-name {
    flex: 1;                  /* may use whole width */
    overflow-wrap: anywhere;  /* wrap long file names */
    word-break: break-word;   /* necessary for wrap */
}

.s-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7C8C9C;
    background-color: #0068b2;
    /*border: 2px solid #7C8C9C;*/
    text-wrap: nowrap;
}

/*Bootstrap Classes Override*/
.text-bg-primary{
    background-color: #0669b2 !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0669b2;
    --bs-btn-border-color: #0669b2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #005a9e;
    --bs-btn-hover-border-color: #005a9e;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0669b2;
    --bs-btn-active-border-color: #0669b2;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0669b2;
    --bs-btn-disabled-border-color: #0669b2;
}

.btn-outline-primary {
    --bs-btn-color: #0669b2;
    --bs-btn-border-color: #0669b2;
    --bs-btn-hover-bg: #0669b2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: #0669b2;
    --bs-btn-active-bg: #0669b2;
    --bs-btn-active-border-color: #0669b2;
    --bs-btn-disabled-color: #0669b2;
    --bs-btn-disabled-border-color: #0669b2;
}

/* END */
