/* File used across entire site */
/* Base attributes */
:root {
    --background: #1d2d50;
    --background-darker: #1b2a49;
    --accent: #fcdab7;
    --accent2: #1e5f74;
    --color: #fefefe;
    --dull: #b8b8b8;
    --error: #e74c3c;
    --ok: rgb(33, 209, 13);
    --highlight: rgba(255,255,255,.05);
    --blacktext: rgba(10,0,0,1);
    --FSP-background: rgba(254,254,254,0.5);
    
    --disabled-foreground: var(--FSP-background);
    --background-v2: #F4F2F0;
    --color-v2: black;

    --footer-height: 27px;
}
body {
    margin: 0;
    padding: 0;
    font-family: system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
    height: 100vh;
    width: 100%;
    background: var(--background);
    color: var(--color);
}
h1 {
    margin: 40px 0;
}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

.noscroll {
  position: fixed; 
  inline-size: 100%;
  overflow-y:scroll 
}


/* often used attributes */
.row {
    width: 100%;
    align-content: start;
    margin: 0;
}
.mar3v {
    margin-left: 3%;
    margin-right: 3%;
}
.hidden {
    display: none!important;
}



/* Loader while waiting for response */
@-webkit-keyframes loader {to {-o-transform: rotate(360deg);-ms-transform: rotate(360deg);-moz-transform: rotate(360deg);-webkit-transform: rotate(360deg);transform: rotate(360deg);}}
@keyframes loader {to {-o-transform: rotate(360deg);-ms-transform: rotate(360deg);-moz-transform: rotate(360deg);-webkit-transform: rotate(360deg);transform: rotate(360deg);}}
.loader {
    z-index: 2;
    height: 64px;
    width: 64px;
    position: fixed;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    border: 2px solid var(--highlight);
    border-left: 2px solid var(--color);
    border-radius: 50%;
    -webkit-animation: loader 1.5s linear infinite;
    -moz-animation: loader 1.5s linear infinite;
    -ms-animation: loader 1.5s linear infinite;
    -o-animation: loader 1.5s linear infinite;
    animation: loader 1.5s linear infinite;
}



/* Footer style declarations */
.footer {
    position: fixed;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--accent2);
    color: var(--color);
    text-align: center;
  }
.footer p{
    margin: 3px 0px 3px 0px;
}
.footer a{
    text-decoration: none;
    color: inherit;
    background-color: inherit;
}

/* Context Menu START */
.cm-wrapper {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,.6);
    z-index: 1;
}
.cm {
    background-color: whitesmoke;
    position: absolute;
    width: 200px;
    z-index: 2;
    border-radius: 5px;
    padding: 4px;

}
.cm-item {
    display: flex;
    padding: 4px;
    height: 26px;
    cursor: pointer;
    border-radius: 2px;
}
.cm-item:hover, .cm-item:active {
    background-color: var(--accent2);
}
.cm-img {
    /* cm icon */
    display: flexbox;
    height: 26px;
    width: 26px;
    border: none;
}
.cm-text {
    margin-left: 4px;
    display: flexbox;
    padding: 2px 10px 2px 0;
    color: black;
}
/* Context Menu END */

/* FSP START */
.fsb-b {
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: var(--FSP-background);
    z-index: 1;
    width: 100%;
    height: 100vh;
  }
  .fsb-f {
    position: fixed;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .fsb-i {
    position: relative;
    display: block;
    background-color: var(--background);
    width: fit-content;
    height: fit-content;
    border-radius: 10px;
    padding: 7px;
    margin: auto;
  }
  .fsb-c {
    position: absolute;
    top: 7px;
    right: 7px;
    line-height: 25px;
  }
  .fsb-c:after {
      font-family: ETmodules;
      font-size: 24px;
      font-weight: 500;
      content: "M";
      color: inherit;
      background-color: inherit;
      border-radius: 3px;
  }
  .fsb-c:hover::after {
    background-color: whitesmoke;
    color: var(--accent2);
    font-weight: 800;
  }
  .fsb-t {
    display: block;
    position: absolute;
    font-size: 24px;
    top: 7px;
    left: 7px;
    width: calc(100% - 38px);
    line-height: 25px;
    min-height: 22px;
    color: white;
  }
  .fsb-m {
    margin-top: 32px;
    width: 100%;
  }
  /* FSP END */

  /* TABLE START */
  .t-th {
    position: relative;
  }
  .t-thp {
    cursor: pointer;
  }
  .t-ths {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 5px;
  }
  .t-ths-d:after {
    font-family: ETmodules;
    font-size: 24px;
    font-weight: 500;
    content: "C";
    color: inherit;
    background-color: inherit;
    border-radius: 3px;
  }
  .t-ths-u:after {
    font-family: ETmodules;
    font-size: 24px;
    font-weight: 500;
    content: "B";
    color: inherit;
    background-color: inherit;
    border-radius: 3px;
  }
  /* TABLE END */