/* ------------------- */
/* Custom properties   */
/* ------------------- */

:root {
    /* colors */
    --clr-primary: #1892D7;
    /* --clr-light: #e7f1f5;*/
    --clr-light: #ecf5ff;
    --clr-dark: #1a8ccd;
    --clr-darkblue: #041E42;
    --clr-accent: #3c9ed6;
    --clr-white: #ffffff;
    --clr-text: #669;
    --clr-disabled: #82a1b3;

    --white: #ffffff;
    --red: #FB0D37;
    --light-blue: #1892D7;
    --blue: #041E42;
    --black: #000000;
    /* --light-grey: #F6F7FA; */
    --light-grey: #eff3fc;
    --grey-gradient: linear-gradient(0deg, #F6F7FA 0%, #F6F7FA 100%), linear-gradient(0deg, #EBEBEB 0%, #EBEBEB 100%), #FFF;
    --font: 'Raleway', sans-serif;
    
    /* font-sizes */
    --fs-900: clamp(5rem, 8vw + 1rem, 9.375rem);
    --fs-800: 3.5rem;
    --fs-700: 1.5rem;
    --fs-600: 1rem;
    --fs-500: 1rem;
    --fs-400: 0.9375rem;
    --fs-300: 1rem;
    --fs-200: 0.875rem;
    
    /* font-families */
    --ff-sans: "Helvetica", sans-serif;
    color: var(--clr-primary);
}

* {
    font-variant-numeric: lining-nums;
}


/* Scrollbar */
::-webkit-scrollbar {
  width: 3px;
  height: 2px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 100px;
}

::-webkit-scrollbar-thumb { /*Moving Bar*/
  background-clip: content-box;
  background-color: #1892d7;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--clr-primary);
}

x::-webkit-scrollbar {
    width: 20px;
}
  
x::-webkit-scrollbar-track {
    background-color: #1892D700;
    border-radius: 100px;
    margin-top: var(--scroll-mt, 5px);
    margin-bottom:var(--scroll-mb, 5px);
}
  
x::-webkit-scrollbar-thumb {
    border-radius: 100px;
    border: 8px solid transparent;
    background-clip: content-box;
    background-color: #0b75b345;
}
  
x::-webkit-scrollbar-thumb:hover {
      background-color: var(--clr-primary);
}


/* ------------------- */
/* Reset               */
/* ------------------- */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Re ve default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

small {
    font-weight: 100;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 14px;
}

h5 {
  font-size: 14px;
  font-weight: 100;
}

li {
    list-style: none;
}

fieldset {
    border: none;
}

/* Set core body defaults */
.bg-primary {
    background-color: var(--clr-primary) !important;
    color: var(--clr-white);
}

.bg-white {
    background-color: var(--clr-white);
    color: var(--clr-text);
}

.bg-light {
    background-color: var(--clr-light);
    color: var(--clr-text);
}

.mt-1 {
    margin-top: 1em;
}

.mx-1 {
    margin-left: 1em;
    margin-right: 1em;
}

.my-1 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.mb-1 {
    margin-bottom: 5px;
}

@font-face {
    font-family: 'Raleway';
    src: url('/ids-static/enigma/v0.2/fonts/Raleway-Medium.ttf');
  }
  
  /* define a class and add the new font */
  .myFont {
   	font-family: Raleway; /* property value must match value in @font-face*/ 
  }

body {
  line-height: 1.5;
  min-height: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  font-family: var(--font);
  font-variant-numeric: lining-nums;
  font-size: 0.875rem;
  /* color: var(--clr-dark); */
  color: darkslategrey;
  overflow: auto;
  --scroll-mt: 80px;
  --scroll-mb: 60px;
}

th {
    font-size: 0.8rem;
    text-align:left;
    padding-right:2rem;
}

td {
    font-size: 0.8rem;
    padding-right:2rem;
    letter-spacing: 0.07rem;    
}

table.col1-center td:nth-child(1) {text-align: center}
table.col2-center td:nth-child(2) {text-align: center}
table.col3-center td:nth-child(3) {text-align: center}
table.col4-center td:nth-child(4) {text-align: center}
table.col5-center td:nth-child(5) {text-align: center}
table.col6-center td:nth-child(6) {text-align: center}
table.col7-center td:nth-child(7) {text-align: center}
table.col8-center td:nth-child(8) {text-align: center}
table.col9-center td:nth-child(9) {text-align: center}
table.col10-center td:nth-child(10) {text-align: center}

a {
    text-decoration: none;
    color:inherit;
}

a:hover {
    cursor: pointer;
}

a.red {
    color: #ffa3a3;
}

a.red:hover {
    color: #ff5353;
}

a.text {
    background-color: inherit !important;
    color: var(--clr-primary) !important;
    text-align: left !important;
    width:fit-content !important;
    border: 1px solid #96cfef !important;
    border-radius: 5px !important;
    padding: 1px 5px
}

a.text:hover {
    cursor:pointer !important;
    background-color: var(--clr-primary) !important;
    color:white !important;
}

.header {
    position:fixed;
    top:0;
    width: 100%;
    height: 64px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    display:grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    z-index: 1;
}

.header .right img {
    width: 2rem;
    height: 2rem;
}

.right {
    display:grid;
    align-items: center;
    grid-template-columns: auto auto auto;
    float: right;
    margin-right:1rem;
    grid-gap: 1rem;
}

.header .right {
    display: flex;
    flex-flow: row nowrap;
}

.footer {
    position:fixed;
    bottom: 0px;
    width:100%;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    line-height: 3rem;
    padding-left: 1rem;
}

.main {
    background-color: var(--clr-white);
    display: var(--layout,grid);
    min-height: 0;
}

@media (min-width: 700px) {
    .main {
        grid-template-columns: minmax(190px,12%) 1fr;
    }
}

@media (max-width: 699px) {
    .main {
        grid-template-columns: 1fr;
    }
}

.flow > *:where(:not(:first-child)) {
    margin-top: var(--flow-space, 1rem);
}

.nodisp { /* Used to hide honeypot form fields */
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.loader {
  border: 3px solid #f3f3f3; /* Light grey */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1.5s linear infinite;
  -webkit-animation: spin 1.5s linear infinite; /* Safari */
}

.loader-btn {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    animation: spin 1.5s linear infinite;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
  }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

.div-loader {
  display:grid; 
  position:absolute; 
  top: 45%; 
  left: 47%;
  background-color: rgba(255,255,255,0.8);
  border: 1px solid var(--clr-primary);
  border-radius: 5px;
  aspect-ratio: 1 / 1;
  padding: 10px; 
  color:var(--clr-primary); 
  font-size:0.7rem;  
  place-items: start center;
  z-index: 1;
}

.profile-summary {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    margin-top: 8px;
}

.profile-summary > * {
    padding: 2px 5px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 100;
    letter-spacing: 1.01px;
}

.cookie-consent {
    position: absolute;
    left: 20px;
    bottom: 70px;
    width: 350px;
    display:grid;
    grid-gap: 10px;
    border: 1px solid var(--clr-primary);
    border-radius: 5px;
    padding: 10px;
    line-height: 1.3;
    font-size: 0.8rem;
}

.dashboard-layout {
    grid-template-columns: 1fr;
}

.sidebar { /* Inside Main */
    display: grid;
    grid-template-rows: 5px 1fr;
    overflow: hidden;
    border-right: 1px solid #cdf;
    box-shadow: 0px 1px 5px 0px #cde5f1;
    background-color: white;
}

.sidebar ul {
    position:relative;
    /* transition: padding-top 0.3s;
    transition-delay: 0.1s;
    transition-timing-function: ease; */
    margin: 0;
    padding: 0;
}

.xsidebar li:where(:not(:first-child)) {
    margin: 1rem auto 0rem auto;
}

.sidebar li {
    margin: 5px;
}

.sidebar a {
    display: block;
    padding: 7px 10px;
    text-align: left;
    border-radius: 3px;
    text-decoration: none;
    background-color: inherit;
    color: darkslategrey;
    text-decoration: none !important;
}

.sidebar a.active,
.sidebar a:hover {
    cursor: pointer;
    color: white;
    background-color: var(--clr-primary);
}

.sidebar a[disabled] {
    pointer-events: none;
    color: #ccc;
}

.sidebar p {
    display: block;
    padding: 7px 10px;
    /* margin: 5px; */
    text-align: left;
    border-radius: 3px;
    text-decoration: none;
    background-color: inherit;
    color: darkslategrey;
}

.sidebar li:not(:first-child)  h4 {
    margin-top: 3rem;
}

.sidebar ul li[multiple] {
    max-height: 35px;
    overflow: hidden;
}

.sidebar ul li[multiple]:hover,
.sidebar ul li[multiple].active {
    max-height: fit-content;
    background-color: #eff6f9;
    border: 1px solid #cdf;
    border-radius: 3px;
}

.sidebar ul li[multiple]:hover a {
    margin: 0px;
}

.sidebar ul li a:not(:first-child) {
    padding-left:15px;
    font-size: 0.7rem;
}

.sidebar h4 {
    display: block;
    text-align:center;
    background-color: var(--clr-dark);
    border-radius: 3px;
    text-decoration: none;
    color: var(--clr-white);
    font-weight:100;
}

.sidebar form {
    min-width:100%;
    display: block;
}

.sidebar select {
    display:block;
    border-radius: 3px;
    padding: auto 5px auto 30px;
    background-color: var(--clr-dark);
    color: var(--clr-white);
    text-align:center;
    box-shadow: none;
    min-width:100%;
    height:24px;
    font-size: 1rem;
}

.sidebar select:focus {
    outline:none;
    box-shadow: none;
}

[class^="card"] a {
    display: block;
    text-align:center;
    background-color: var(--clr-primary);
    border-radius: 0.4em;
    text-decoration: none;
    color: var(--clr-light);
    padding-left:10px;
    padding-right:10px;
    margin:5px;
}

[class^="card"] a:hover {
    background-color: var(--clr-light);
    color: var(--clr-dark);
    cursor: pointer;
}

.link {
    display: inline-block !important;
    text-align:center;
    background-color: var(--clr-primary);
    border-radius: 0.4em;
    text-decoration: none;
    color: var(--clr-white);
    padding-left:10px;
    padding-right:10px;
    margin:5px;
}

.link:hover {
    background-color: var(--clr-light);
    color: var(--clr-dark);
    cursor: pointer;
}

/* All Input Elements */
input,
textarea,
select,
button {
    border-radius: 3px;
    border: none;
    padding: auto 5px;
    color: var(--clr-text);
    font-family: var(--font);
}

input,
select,
button {
    text-align:center;
}

input:not(type='text') {
    cursor: pointer;
}

select:focus,textarea:focus,input:focus {
    box-shadow: 0 0 5px white;
    outline:none;
}

label {
    display: block;
}

input[type="checkbox"] {
    border: 1px solid var(--clr-primary) !important;
    background-color: var(--clr-accent) !important;
    vertical-align: middle; 
    position: relative; 
    bottom: 1px; 
}

button[class*="bg-light"] {
    background-color: var(--clr-light) !important;
    color: var(--clr-dark) !important;
    border: 1px solid var(--clr-primary);
}

button[class*="bg-primary"]:hover {
    background-color: var(--clr-white) !important;
    color: var(--clr-primary) !important;
    border-color: var(--clr-primary);
}

button[class*="bg-light"]:hover {
    background-color: var(--clr-primary) !important;
    color: var(--clr-light) !important;
    border-color: var(--clr-light);
}

button[class*="bg-primary"]:disabled {
    background-color: var(--clr-disabled) !important;
    color: var(--clr-light) !important;
    border-color: var(--clr-disabled);
    cursor:default;
}

button[class*="bg-light"]:disabled {
    background-color: var(--clr-light) !important;
    color: var(--clr-disabled) !important;
    border-color: var(--clr-light);
    cursor:default;
}

/* form input[type="submit"], button,  */
.btn {
    display: block;
    text-align: center;
    width: 100% !important;
    height: auto;
    min-height: 22px;;
    border: 2px var(--red) solid;
    color: var(--white);
    outline: none;
    /* margin-top: 1.5rem; */
    outline: none !important;
    cursor: pointer;
    padding: 0.3rem 1rem;
    line-height: 1.3;
    background-color: var(--red);
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: var(--font);
    font-size: 0.7rem;
}

.btn.sm {
    width: max-content !important;
}

.btn.md {
    padding: 1px 8px !important;
    width: max-content !important;
    min-height: 20px;
    max-height: 20px;
    font-size: 0.7rem;
    text-transform: capitalize;
}

.btn:hover {
    border: 2px var(--white) solid;
    color: var(--red);
    background-color: var(--white);
    opacity: 1;
    -webkit-transition: 0.1s ease-in-out;
    transition: 0.1s ease-in-out;
}

.btn.disabled,
.btn:disabled {
    background-color: #999;
    cursor:default;
    color: white;
    border: 2px #999 solid;
}

.btn-light:hover {
    border: 2px var(--red) solid;
    color: var(--red);
    background-color: var(--white);
    opacity: 1;
    -webkit-transition: 0.1s ease-in-out;
    transition: 0.1s ease-in-out;
}

.btn-secondary {
    background-color: var(--clr-light) !important;
    border: none !important;
    color: var(--clr-primary) !important;
    padding: 1px 10px !important;
    text-transform: capitalize;
}

.btn-secondary:hover {
    background-color: var(--clr-primary) !important;
    color: white !important;
}

.btn:disabled,
.btn:disabled:hover {
    background-color: #999;
    cursor:default;
    color: white;
    border: 2px #999 solid;
}

/* .btn:hover {
    background-color: var(--clr-white);
    color: var(--clr-primary);
    cursor: pointer;
} */

.content {
    background-color: #eff6f9;
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    margin-bottom: 30px;
    grid-template-columns: repeat(auto-fit, minmax(440px, var(--card-max-width,440px)));
    grid-template-rows: repeat(auto-fit 250px);
    place-content: center;
    align-content: start;
}

.content.centre {
    align-content: center;
}


.group {
    display: grid;
    grid-gap: 1rem;
    padding: 0px;
    margin: 0px;
    grid-template-columns: repeat(auto-fit, minmax(440px, var(--card-max-width,440px)));
    grid-template-rows: repeat(auto-fit 250px);
    place-content: center;
    grid-column: span var(--cols,1);
    grid-row: span var(--rows,1);
}

.dashboard-layout .sidebar {
    display: none !important;
}

.grid {
    display:grid;
    place-items: center;
    grid-gap:10px;
    grid-template-rows: repeat(min-content, 1fr);
}

.grid-c2 {
    display:grid;
    grid-template-columns: max-content 1fr !important;
    height: 100%;
}

.grid-c3 {
    display:grid;
    grid-template-columns: max-content 1fr max-content !important;
}

.border {
    border: 1px solid rgb(60 158 214 / 22%);
    background-color: rgb(60 158 214 / 5%);
    padding: 5px 10px;
    border-radius: 5px;
}


@media (max-width: 1119px) {
    .grid {
        grid-template-columns: repeat(var(--cols,3), 1fr);
    }
}

@media (min-width: 1120px) {
    .grid {
        grid-template-columns: repeat(var(--cols,6), 1fr);
    }
}

.toolbar {
    display:flex;
    grid-gap: 10px;
    margin-right:10px;
    flex-direction: row;
    justify-content: space-between;
}

.toolbar * {
    display: inline;
    margin: 0;
}

.toolbar button {
    padding: 3px 10px !important;
}

.toolbar select > option {
    text-align: left;
}

.toolbar form {
    display:flex;
    border-bottom: 1px solid var(--clr-primary);
    grid-gap: 5px;
    padding-bottom: 2px;
}

.card-flexheight {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    max-height: var(--height,420px);
    --scroll-mt: 5px;
    --scroll-mb: 5px;
}

.card {
    /* border: 1px solid #cdf; */
    box-shadow: 0px 2px 5px #b0c8d5;
    background-color: white;
    grid-column: span 1;
    grid-row: span 1;
    /* aspect-ratio: 20 / 10; */
    border-radius: 5px;
    padding:10px;
    overflow: hidden;
    min-height: 250px;
}

.card-sm {
    border: 1px solid #c2d7ff;
    box-shadow: 0px 2px 3px #eaeaff;
    background-color: white;
    grid-column: span 1;
    grid-row: span 1;
    /* aspect-ratio: 20 / 10; */
    border-radius: 5px;
    padding:10px;
    overflow: hidden;
    min-height: 200px;
    max-height: 200px;
}


.card-tall {
    /* border: 1px solid #cdf; */
    box-shadow: 0px 2px 3px #eaeaff;
    background-color: white;
    grid-row: span 2;
    border-radius: 5px;
    /* aspect-ratio: 20 / 21;*/
    padding:10px;
    overflow: hidden;
    min-height: 500px;
}

@media (min-width: 1120px) {
    .card-wide {
        display:grid;
        place-items: center;
        /* border: 1px solid #cdf; */
        box-shadow: 0px 2px 3px #eaeaff;
        background-color: white;
        grid-column: span 2;
        border-radius: 5px;
        /* aspect-ratio: 40 / 10; */
        padding:10px;
        overflow: hidden;
        min-height: 250px;
 /*       background-color:var(--clr-light)*/
    }

    .card-big {
        overflow: hidden;
    }
}

@media (max-width: 1119px) {
    .card-wide {
        display:grid;
        place-items: center;
        /* border: 1px solid #cdf; */
        box-shadow: 0px 2px 3px #eaeaff;
        background-color: white;
        grid-column: span 1;
        border-radius: 5px;
        /* aspect-ratio: 20 / 10; */
        padding:10px;
        overflow-y: hidden;
        overflow-x: auto;
        min-height: 250px;
/*        background-color:var(--clr-light)*/
    }

    .card-big {
        overflow-y: hidden;
        overflow-x: auto;
    }
}

.card-big {
    /* border: 1px solid #cdf; */
    box-shadow: 0px 2px 3px #eaeaff;
    background-color: white;
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 5px;
    /* aspect-ratio: 80 / 37;*/
    padding:10px;
    grid-template-columns: repeat(var(--cols,3), 1fr);
    grid-template-rows: repeat(min-content, 1fr);
    min-height: 500px;
/*    background-color:var(--clr-light)*/
}

.card-big > h4 {
    grid-column: 1 / -1;
    align-self:start
}

.card-flex {
    /* border: 1px solid #cdf; */
    box-shadow: 0px 2px 5px #b0c8d5;
    background-color: white;
    grid-column: span 1;
    grid-row: span 1;
    /* aspect-ratio: 20 / 10; */
    border-radius: 5px;
    padding:10px;
    overflow: hidden;
    min-height: 250px;
}

.card-header {
    display:grid;
    place-items: center;
    grid-gap:25px;
    grid-template-rows: 30px 50px;
    align-self: stretch;
    align-content: center;
}

.card h5{
    position:relative;
}

form {
    display: grid;
    grid-template-rows: repeat(auto-fit 150px);
    place-content: center;
}

form div {
    display:block;
}

form > label {
    font-size: 0.75rem;
}

form > input, select {
    margin-bottom: 1rem;
}

.banner {
    display: grid;
    color: #355d73;
    min-height: 200px;
    background: url("/ids-static/enigma/v0.2/images/banner4b.jpg") no-repeat center;
    background-size: cover;
    margin-top: 64px;
    padding-left: 30px;
    padding-top: 15px;
    font-family: var(--font);
    font-size: 2rem;
}

.banner > div.container > div.row {
    opacity: 0.8;
}


.logo {
    height: 40px;
    margin: 0.4em 4rem;
}

.logo::after {
    content: '<p>Beta</p>';
    color: #7bb2d1;
    min-width: 50px;
    min-height: 30px;
}

.logo:hover {
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumbs {
    display: inline;
}

.breadcrumbs > ul {
    margin:0;
    padding: 0;
}

.breadcrumbs > ul > li{
    list-style: none;
    display: inline;
}

.breadcrumbs > ul > li > a{
    text-decoration: none;
    color: var(--clr-white);
    font-size: 0.8rem;
}

.breadcrumbs > ul > li > a:hover{
    text-decoration: underline;
    color: var(--clr-white);
    font-size: 0.8rem;
}

.breadcrumbs > ul > li:first-child:before{
    content: '>';
    padding-right: 5px;
}

.breadcrumbs > ul > li:where(:not(:first-child)):before{
    content: '/';
    padding-right: 5px;
}

.flash {
    display: inline;
    float: right;
    padding-right: 2rem;
    padding-left: 2rem;
    font-size: 0.9rem;
    background-color: var(--clr-dark);
}

.info {
    background-color: #008;
    color:white
}   

.warning {
    background-color: #e79205;
    color:white;
}

.error {
    background-color: #800;
    color:white;
}

.success {
    background-color: #37bf33;
    color:white;
}

/* Dropdown Button */
.dropbtn {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 1rem;
    font-size: 1em;
    border: none;
    cursor: pointer;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: rgba(0,0,0,0.1);
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown > img {
    cursor: pointer;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 310px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 50vh;
    overflow-y: scroll;
    --scroll-mt: 5px;
    --scroll-mb: 5px;
    border-radius: 5px;
    right: -50px;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: #1573a9 !important;
    font-size: 0.8rem !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    display: block !important;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd !important}

  #ticketPopup {
    min-width:550px; 
    min-height: 90vh; 
    max-height: 90vh;
    color: var(--clr-primary); 
    background-color: white;
    transition: width 0.5s, height 0.5s;
  }

  #ticketPopup * {
    color: inherit;
    background-color: inherit;
  }

span.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid \9;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  padding-bottom: 2px;
}
  
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

span.node {
    display: grid;
    place-items: center;
    background-color: #666;
    border: 2px solid #666;
    color:white;
    border-radius: 5px;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.68rem;
    font-weight:500;
    letter-spacing: 0.08rem;
    width: 120px;
    text-align:center;
    height:40px;
    line-height: 1.5em;
    position: relative;
}

span.node-collapse {
    width:auto !important;
    min-width:auto !important;
}

span.node-sm {
    display: grid;
    place-items: center;
    background-color: #666;
    border: 2px solid #666;
    color:white;
    border-radius: 5px;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.7rem;
    min-width: 120px;
    text-align:center;
    height:20px;
    line-height: 1.2em;
    /* overflow: hidden; */
    width: 100%;
    white-space: nowrap;
    position: relative;
    cursor:default;
}

span.node-lg {
    display: grid;
    place-items: center;
    background-color: #666;
    border: 2px solid #666;
    color:white;
    border-radius: 5px;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.7rem;
    width: 120px;
    text-align:center;
    height:80px;
    line-height: 1.2em;
    position: relative;
}

span.node > span {
    display:block;
    width:100%;
    text-align: center;
    color: white;
    background-color: #777;
}

span.node-online {
    border-color: #484;
    background-color: #484;
    color:white;
}

span.node-normal {
    border-color: #484;
    background-color: #484;
    color:white;
}

span.node-degraded,
span.node-alerting {
    border-color: #f59c02;
    background-color: #f59c02;
    color:white;
}

span.node-True {
    border-color: #484;
    background-color: #484;
    color:white;
}

span.node-offline {
    border-color: #844;
    background-color: #844;
    color:white;
}

span.node-warning {
    border-color: #cf8427;
    background-color: #cf8427;
    color:white;
}

span.node-critical {
    border-color: #844;
    background-color: #844;
    color:white;
}

span.node-info {
    border-color: #1892d7;
    background-color: #1892d7;
    color:white;
}

span.node-info-non-compliant {
    border-color: #1892d7;
    background-color: #1892d7;
    color:white;
    /* outline: 2px solid #c76c6c; */
    /* border-right:3px solid #884444; */
    /* border-bottom:2px solid #884444; */
}

span.node-info-non-compliant::after {
    position: absolute;
    content: " ";
    top: 6px;
    right: -8px;
    width: 4px;
    height: 4px;
    background-color: #ff6363;
    border-radius: 50%;
    border: none;
}

span.node-info-warning {
    border-color: #0f70a7;
    background-color: #0f70a7;
    color:white;
    outline: 2px solid #cfb527;
}

span.node-info-warning::after {
    position: absolute;
    content: " ";
    top: 6px;
    right: -8px;
    width: 4px;
    height: 4px;
    background-color: #ff9a1d;
    border-radius: 50%;
    border:none;
}

span.node-blue {
    border-color: #0f70a7;
    background-color: #0f70a7;
    color:white;
}

span.node-disabled {
    border-color: #777;
    background-color: #777;
    color:white;
}

span.node-filter {
    display: inline;
    cursor: pointer;
    border: 2px solid var(--clr-primary);
}

span.node-selected {
    border: 2px solid #4cb2f1;
    padding: 0px 7px;
}

span.node-selected::after {
    content: "✓";
}

div.radial {
    border: 9px solid rgb(24 146 215);
    border-radius: 50%;
    min-width: 90px;
    min-height: 90px;
    color: #1892d7;
    font-size: 14px;
    text-align: center;
    padding: 12px;
    margin-top: 4px;
    font-size: 0.8rem;
}

span.pill {
    background-color: var(--clr-primary);
    border: none;
    color:white;
    border-radius: 12px;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.8rem;
    width: max-content;
    text-align:center;
    height:24px;
    line-height: 1.6em;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

span.pill-sm {
    place-items: center;
    border-radius: 10px;
    font-size: 0.8rem;
    height:20px;
    line-height: 1.2em;
}

span.pill-lg {
    grid-template-rows: 30px 15px;
    place-items: center;
    border-radius: 30px;
    font-size: 0.8rem;
    width: 120px;
    height:40px;
    line-height: 1.6em;
}

span.pill > h5 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

span.pill > span {
    font-size: 1rem;
}

span.pill.toggle {
    background-color: white;
    color: var(--red);
    border: 2px solid var(--red);
}

span.pill.toggle:hover,
span.pill.toggle[selected] {
    background-color: var(--red);
    color: #fff4f6;
}

.tooltip {
    position: relative;
    display: inline-block;
}
  
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #105780;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 110%;
    left: 50%;
    margin-left: -60px;
}

.toozltip .toolztiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    /* overflow: auto; Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding: 200px 100px;
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: var(--clr-primary);
    color:white;
    margin: auto auto; /* 15% from the top and centered */
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    /*border: 1px solid #888;*/
    border-radius: 5px;
    /* width: 300px; Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

.popup {
  position: relative;
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor:pointer !important;
}

.popup input[type='text'] {
    cursor: text;
}

#popupContent {
    --scroll-mt: 5px;
    --scroll-mb: 5px;
    max-height:30vh;
    overflow-y:auto;
}



/* The actual popup */
.popup .popupbody
{
  visibility: hidden;
  width: max-content;
  background-color:  var(--clr-primary);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 5px;
  position: absolute;
  z-index: 1;
  top:130%;
  right: 7%;
  margin-left: -80px;
  cursor:auto;
}

.popup .popupbody-over
{
    visibility: hidden;
    width: auto;
    background-color:  var(--clr-primary);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 130%;
    right: 7%;
    margin-left: -80px;
  }

  .popup .popupbody-fs
{
  visibility: hidden;
  background-color:  var(--clr-primary);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: fixed;
  z-index: 1;
  top:30vh;
  left:20vw;
  width:80vw;
  height:60vh;
}

/* Popup arrow */
.popup .popupbody::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 43px;
  margin-right: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent  var(--clr-primary) transparent;
}

.popup .popupbody-over::before {
    content: "";
    position: absolute;
    top: 100%;
    right: 43px;
    margin-right: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--clr-primary) transparent transparent transparent;
  }

/* Toggle this class - hide and show the popup */
.popup .popup-show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

table.row-spacing td {
    padding-bottom: 1em;;
}

table,
.table {
    width:100%;
    border-collapse: collapse;
    /* margin-top:1em; */
}

table th,
.table th {
    background-color: var(--clr-primary);
    color: white;
    text-align: left;
    padding: 7px 10px 7px 10px;
}

table tr th:first-child,
.table tr td:first-child,
.table tr th:first-child {
    text-align: left;
    /* vertical-align: top; */
}

table tr th:first-child,
.table tr th:first-child {
    border-radius: 5px 0px 0px 5px;
}

table tr th:last-child,
.table tr th:last-child {
    border-radius: 0px 5px 5px 0px;
}

table th > input,
.table th > input {
    background-color: #4cb2f1;
    color: white;
    font-size: 0.75rem;
    text-align: left;
    border-radius: 0.2rem;
    padding: 2px 3px;
}

table th > input:focus,
.table th > input:focus {
    box-shadow: none;
}

table td > input,
.table td > input {
    background-color: #dceef9;
    border: 1px solid #1892d7
}

.table.centered tr td:first-child,
.table.centered tr th:first-child {
    text-align: left;
}

.table.centered td,
.table.centered th {
    text-align: center;
    padding: 5px 10px 5px 10px;
}

.table td {
    text-align: left;
    padding: 5px 10px 5px 10px;
}

.table-striped tr:nth-child(odd) {
    background-color: #f0f5ff;
}

.table-striped tr:nth-child(even) {
    background-color: white;
}

.table-minimal tr {
    border-bottom: 1px solid #eaeaff;
}

.table-basic {
    margin-top: 0 !important;
}

.table-basic tr {
    background-color: rgba(0,0,0,0) !important;
}

table.minimal {
    width:100%;
    border-collapse: collapse;
    margin-top:5px;
}

table.minimal th {
    font-weight: 700;
    padding: 3px 5px;
}

table.minimal td {
    font-weight: 100;
    vertical-align: top;
    height: 40px;
    padding: 3px 5px;
}

table.minimal tr {
    border-bottom: 1px solid #acd5ed;
}

table.minimal tbody tr.selectable:hover,
table.minimal tbody tr.active {
    cursor: pointer;
    background-color: var(--clr-primary);
    color:white;
}

table.nolines tr:not(:first-of-type) {
    border-bottom: none !important;
}

div.minimal input,
div.minimal select,
div.minimal textarea {
    background-color: #acd5ed;
    border-width: 0;
    border-radius: 5px;
    padding: 1px 5px;
    margin: 5px 0px 0px 0px;
    width: 100%;
}

.tab-panel {
    border-bottom: 1px solid #acd5ed;
    padding-top: 10px;
    padding-bottom: 1px;
}

.tab {
    border: 1px solid #acd5ed;
    /* border-bottom: 0px; */
    border-radius: 6px 6px 0px 0px;
    padding: 3px 5px;
    background-color: white;
    color: var(--clr-dark) !important;
    text-decoration: none !important;
}

.tab.active {
    background-color: var(--clr-primary);
    color: white !important;
}

#activities-panel a {
    background-color: inherit;
    border: inherit;
    text-align: left;
    padding: 0px;
    margin: 0px;
    display: inline;
}

.pagination {
    position: relative;
    top: 14px;
    left: calc(100% - 170px);
    background-color: #0f70a7;
    display: inline;
    padding: 3px 10px;
    border-radius: 5px 5px 0px 0px;
}

.pagination > * {
    display: inline;
    background-color: #0f70a7;
    color: white;
    border: none;
    box-shadow: none;
    font-size: 0.75rem;
}

.multi-container {
    display:grid;
    grid-auto-rows: 60px;
    max-width: 300px;
    /* border: 1px solid #ccc;
    border-width: 0px 1px 0px 0px; */
    background-color: white;
    box-shadow: 0px 2px 5px #b0c8d5;
    border-radius: 5px;
    padding: 3px;
    overflow:auto;
}
.multi-item {
    display: grid;
    grid-template-columns: 105px 1fr 105px;
    grid-template-rows: 20px 20px 20px;
    border: 1px solid #eaeaff;
    border-width: 0px 0px 1px 0px;
    color: #666;
    cursor: pointer;
    overflow: hidden;
}

.multi-item > div {
    font-size:10px;
    width: 100%;
    padding:3px;
}

.multi-item > div[right] { text-align: right; }
.multi-item > div[centre] { text-align: center; }
.multi-item > div p { text-transform: capitalize; }
.multi-item > div svg { position:relative; top: -10px; }


.multi-item:first-child {
    border-radius: 5px 5px 0px 0px;
    border-width: 0px 0px 1px 0px;
}

.multi-item:last-child {
    border-radius: 0px 0px 5px 5px;
}

.multi-item:hover,
.multi-item[selected] {
    background-color: #5aacdb;
    border-radius: 5px;
    color: #fbfbfb;
}

.g_id_signin * {
    box-sizing: unset;
}

.js-plotly-plot .plotly .main-svg .draglayer {
    cursor: pointer;
}

.js-plotly-plot .plotly .cursor-crosshair {
    cursor: pointer;
}

g.pielayer {
    cursor: pointer;
}

.panel {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border-radius: 20px;
    padding: 1px 15px;
    width: min-content;
    font-size: 0.8rem;
    align-self: stretch;
}

.panel * {
    margin: 0px;
    height: 22px;
    line-height: 1;
}

.panel *:focus {
    box-shadow: none;
}

.panel select,
.panel input {
    background-color: #1892d7;
    border: none;
    color: var(--clr-white);
    color-scheme: dark;
    text-align: left;
    width: 135px;
}

.flex-row {
    display: flex;
    gap: 10px;
    flex-flow: row nowrap;
    align-items: baseline;
}

.flex-col {
    display: flex;
    gap: 10px;
    flex-flow: column nowrap;
}

#range-arrow {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1rem;
}

.card {
    border: 1px solid #cdf;
    box-shadow: 0px 1px 5px 0px #cde5f1;
    background-color: white;
}

#mysupport-container {
    display: block;
    margin-bottom: 0px;
    background-color: white;
}

#date-range-picker {
    grid-column-end: span 2;
    justify-self: center;
    height: 24px;
}

.slice {
    min-height:16px;
    max-height: 16px;
    display: inline-flex;
    color:white;
    font-size: 0.6rem;
    cursor: default;
    align-items: start;
    transition: width 1s;
}

.slice:first-child {
    border-radius: 5px 0 0 5px;
}

.slice:last-child {
    border-radius:0 5px 5px 0;
}

.table-popup-button {
    background-color: inherit;
    padding: 0px 3px;
    color: var(--clr-primary);
    font-size: 1.2rem;
}
.table-popup-button:hover {
    background-color: var(--clr-primary);
    color: white !important;
}

#sidebar-toggle {
    width: 20px;
}

.btn, button, a, h1, h2, h3, h4, h5, h6, th {
    letter-spacing: 0.08rem;
}

#activities-panel td {
    letter-spacing: 0px;
}

td .btn {
    border: 2px solid rgb(24 146 215 / 20%);
    padding: 1px 3px;
    font-weight: 100;
    margin: 0;
}

td .btn:hover {
    border: 2px solid rgb(24 146 215 / 20%);
    color: var(--clr-primary);
}

#topbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 15px;
}

.dash-card:hover {
    border: 1px solid #a6c5ff;
    box-shadow: #9cd6f7 0px 0px 6px 1px;
    background-color: #042f61 !important;
    cursor: pointer;
}

.dash-card .icon {
    width: auto;
    height: 35px;
    /* filter: invert(46%) sepia(45%) saturate(1477%) hue-rotate(168deg) brightness(92%) contrast(88%); */
    filter: invert(100%) sepia(100%) saturate(10%) hue-rotate(241deg) brightness(104%) contrast(100%);
}

/* .dash-card:hover .icon {
    filter: invert(15%) sepia(82%) saturate(4967%) hue-rotate(342deg) brightness(96%) contrast(102%);
} */


.print-preview {
    background-color: white;
    color:#09354f;
    box-shadow: 0px 2px 5px #b0c8d5;
    padding: 10px;
    margin: 0px 100px 0px 100px;
    border-radius: 5px;
    aspect-ratio: 1 / 1.4;
}

.info-icon {
    border-radius: 5px;
    cursor:pointer;
    min-width: 24px;
    min-height: 24px;
    background: url('https://dev02.ids-indata.co.uk//ids-static/enigma/v0.2/images/info-blue.png') no-repeat center;
}

.form-group label {
    display: grid;
    position: relative;
    align-items: start;
    justify-items: start;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 0.8rem;

    &.vertical {
        grid-template-rows: auto max-content;
    }
}

/* Utility Classes */
/* Utility classes */
.hidden { display: none !important; }

/* Width utility classes */
.w-auto { width: auto !important; }
.w-100 { width: 100px !important; }
.w-150 { width: 150px !important; }
.w-200 { width: 200px !important; }
.w-250 { width: 250px !important; }
.w-300 { width: 300px !important; }
.w-350 { width: 350px !important; }
.w-400 { width: 400px !important; }
.w-500 { width: 500px !important; }
.w-600 { width: 600px !important; }
.w-700 { width: 700px !important; }
.w-800 { width: 800px !important; }

.mw-100 { min-width: 100px !important; }
.mw-150 { min-width: 150px !important; }
.mw-200 { min-width: 200px !important; }
.mw-250 { min-width: 250px !important; }
.mw-300 { min-width: 300px !important; }
.mw-350 { min-width: 350px !important; }
.mw-400 { min-width: 400px !important; }
.mw-500 { min-width: 500px !important; }
.mw-600 { min-width: 600px !important; }
.mw-700 { min-width: 700px !important; }
.mw-800 { min-width: 800px !important; }

/* Margin utility classes */
.no-margin, .m-0 { margin: 0 !important; }
.m-5 { margin: 5px !important; }
.m-10 { margin: 10px !important; }

.mt-5 { margin-top: 5px !important; }
.mb-5 { margin-bottom: 5px !important; }
.ml-5 { margin-left: 5px !important; }
.mr-5 { margin-right: 5px !important; }

.mt-10 { margin-top: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.ml-10 { margin-left: 10px !important; }
.mr-10 { margin-right: 10px !important; }

/* Padding utility classes */
.p-0 { padding: 0 !important; }
.p-5 { padding: 5px !important; }
.p-10 { padding: 10px !important; }

.pt-5 { padding-top: 5px !important; }
.pb-5 { padding-bottom: 5px !important; }
.pl-5 { padding-left: 5px !important; }
.pr-5 { padding-right: 5px !important; }

.pt-10 { padding-top: 10px !important; }
.pb-10 { padding-bottom: 10px !important; }
.pl-10 { padding-left: 10px !important; }
.pr-10 { padding-right: 10px !important; }