* {
    box-sizing: border-box;
    margin:0;
    padding:0;
    font-family: "Titillium Web",FontAwesome;
}
:root {
    --main-color-intense: rgb(44, 62, 80);
    --main-color-intense-text: rgb(236, 240, 241);
    --main-color-intense-text2: rgb(149, 165, 166);
    --dropdown-divider: rgb(71, 91, 108);
    --main-color-light: rgb(52, 73, 94);
    --root-color: rgb(189, 195, 199);
}
body {
    background-color: var(--root-color);
}
html {
    height: 100%;
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
}
body {
    height: 100%;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}
main {
    height: 100%;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    border-left: 10px solid rgb(44, 62, 80);
    border-right: 10px solid rgb(44, 62, 80);

}
.TwingContent {
    overflow-y: scroll !important;
}
header, main,footer {
}
header {
    position: relative;
    background-color: var(--main-color-intense);
    color: var(--main-color-intense-text);
    height: 110px;
}
header h1 {
    float: left;
    margin-left: 15px;
    margin-top: 5px;
}
header aside {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    font-size: 12px;
    color: var(--main-color-intense-text2);
  text-align: right;
}

header aside a {
  color: var(--main-color-intense-text);
}
/* BEGIN: Primary navigation */
/* Top-bar */
header > nav {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 20;
}
header > nav > ul {
    clear: both;
    list-style: none;
}
header > nav > ul > li {
    height: 38px;
    padding: 5px 9px;
    margin-left: 9px;
    float: left;
    background-color: var(--main-color-light);
    color: var(--main-color-intense-text2);
}
header > nav > ul > li.right {
    float: right;
    position: relative;
    margin-left: 0px;
    margin-right: 9px;
    right: 0;
}
header > nav > ul > li.right ul {
    right: 0;
}
header > nav > ul > li > a {
    color: var(--main-color-intense-text2);
    text-decoration: none;
}
header > nav > ul > li:hover {
    background-color: #4b545f;
}
header > nav > ul > li:hover > a {
    color: #fff;
}
/* Drop down */
header > nav >  ul {
    position: relative;
}
header > nav > ul > li > ul {
    display: none;
    position: absolute;
    list-style: none;
}
header > nav > ul > li:hover > ul {
    display: block;
    margin-left: -10px;
    margin-top: 7px;
    background-color: var(--main-color-light);
}
header > nav > ul > li > ul > li > a {
    color: var(--main-color-intense-text2);
    display: block;
    padding: 15px 15px;
    text-decoration: none;
    white-space: nowrap;
}
header > nav > ul > li > ul > li > a:hover {
    color: #fff;
    background-color: #4b545f;
}
header > nav > ul > li > ul > li.divider > hr{
    background-color: var(--dropdown-divider);
    height: 1px;
    border: none;
}

header > nav .active > a {
    color: var( --main-color-intense-text);
}
/* END: Primary navigation */

/* BEGIN: Main styling */

main h1 {
    font-weight: bold;
    font-size: 18px;
}

.plainPageView {
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 15px;
}

.moduleLoader {
    position: absolute;
    text-align: center;
    vertical-align: middle;
    background-color: #d4d4d4;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}
/* spinner */
.lds-spinner {
    /* change color here */
    color:  #333 !important;
    padding-top: 30vh;
  }
  .lds-spinner,
  .lds-spinner div,
  .lds-spinner div:after {
    box-sizing: border-box;
  }
  .lds-spinner {
    color: currentColor;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
  }
  .lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
  }
  .lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
  }
  .lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
  }
  .lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
  }
  .lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
  }
  .lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
  }
  .lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
  }
  .lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
  }
  .lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
  }
  .lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
  }
  .lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
  }
  .lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
  }
  .lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
  }
  @keyframes lds-spinner {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
/* spinner */




/* END: Main styling */

/* BEGIN: modal */
.twingModal {
    background-color: white;
    position: absolute !important;
    width: 500px;
    height: auto;
    padding-bottom: 8px;

    .title {
      color: var(--main-color-intense-text);
      background-color: var(--main-color-intense);
      padding: 3px;
      padding-left: 8px;
      font-weight: 600;
    }
    .content {
      padding: 3px;
      padding-left: 8px;
      padding-right: 8px;
    }
    button {
      border: none;
      background-color: #34495e;
      color: white;
      padding: 8px;
      padding-left: 18px;
      padding-right: 18px;
      float: right;
      cursor: pointer;
    }
    
}

.twingModal.form {
  width: 970px;
  max-height: 75%;
  overflow-y: auto;
}

.twingModal.alert {
  .message {
    padding-top: 10px;
    padding-bottom: 20px;
  }
}

.twingModalInsideCover {
  .twingModal {
    height: fit-content;
  }
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;

  width: 100%;
  height: 100%;
  z-index: 10;
  padding-top: 50px;
  padding-bottom: 50px;
  align-items: normal !important;
  
  
  background-color: #383838b4;

  display: flex;
  justify-content: center;
 
}

.twingModalCover {
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 10;
    
    background-color: #383838b4;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* END: modal */

footer {
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--main-color-intense);
    color: var(--main-color-intense-text2);
    z-index: 20;
}
