:root {
  --green: #8ccd8c;
  --white: #FFFFFF;
  --black: #000000;
  --blue: #2b83ca;
  --blue: #5cb5ff;
  --blue1: #4682b4;
  --blue1: #6391b6;
  --blue2: #87cefa;
  --blue2: #6391b6;
  --blue3: #0064e770;
  --blue4: #4a6b86;
  --orange: #f09d30;
  --dark: #3d392e;
  --red: rgb(235, 0, 0);
  /*--maximumWidth:960px;*/
  --maximumWidth: 100%;
  --maxTable: 600px;
  --minimumWidth: 200px;
  --toolmargin: 2%;
  --subtoolmargin: 4%;
  --marginbottom: 60px;
  --topbar_orig:30;
  --topbar_mobile:60;
}

.app_body {
  margin-left: 30px;
}

.head_cont {
  margin-left: 20px;
}

.nav {
  color: var(--black);
  text-align: left;
  font-size: 20px;
  width: 25%;
}

.nav:link {
  color: lightgray;

}

.nav:visited {
  color: lightgray;
}

.nav:hover {
  color: white;
  background: var(--blue);
}

.navicon:hover {
  background: var(--orange);
}

.collapsible {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.chip {
  background-color: lightblue;
  padding: 4px 8px;
  margin-right: 5px;
  border-radius: 16px;
  display: flex;
  align-items: center;
}

.chip span {
  margin-left: 5px;
  cursor: pointer;
}

header {
  background: var(--black);
  color: var(--black);
  text-align: center;
  font-size: 14px;

}




html,
body {
  height: 100%;
  margin: auto;
}

body {
  height: 100%;
  background: var(--bg);
  color: var(--black);
  font-family: arial;
}

h1 {
  background: var(--white);
  color: var(--black);
  text-align: center;

}

table {

  width: 100%;

  /*overflow-x: scroll;
  border-collapse:collapse;*/
}

th,


table #stealth,
table #stealth tr,
table #stealth td {

  border: none;
  vertical-align: middle;
}

table,
tr,
td .stealth {
  border: none;
  vertical-align: middle;
}



.keep-together {
  white-space: nowrap;
}

.table-overflow {
  overflow-y: scroll;
  overflow-x: scroll;
}



.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input[type=checkbox] {
  padding: 2px 2px;
  position: relative;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  vertical-align: middle;
}

input[type=checkbox]+label {
  background: #ffe1e1;
  display: inline;
  height: fit-content;
  width: auto;
}

input[type=checkbox]:checked+label {

  background-color: lightblue;
  display: inline;
}

input[type=checkbox]:checked+label:before {
  background-color: var(--blue);
  background: var(--blue);
  display: inline;
}

.dropbtn .dd-button {
  float: right;
}

.dd-button {
  width: 100%;
}

.drop-button {

  width: 100%;
  
  background-color: var(--blue1);
  color: var(--white);
  border: white;
  border-radius: 0px;

}

.dropdown_title {
  display:block;
  color: transparent;
}



.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.Tool {
  position: relative;
  padding-left: var(--toolmargin);
  padding-right: var(--toolmargin);
  padding-bottom:var(--marginbottom);
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  flex: 1 0 auto; /* Allow Tool to grow and fill space */
}

.footer {
  flex-shrink: 0; /* Prevent footer from shrinking */
  border-top: solid 5px var(--blue2);
  background-image: linear-gradient(180deg, rgba(255, 209, 180, 0.404), var(--white));
  position:relative;
  width: 100%;
  z-index: 10;
}

.Subtool {
  padding-left: var(--toolmargin);
  padding-right: var(--toolmargin);
  padding-bottom: var(--toolmargin);
  border-style: none none none none;
  box-sizing: border-box;
  max-width: var(--maximumWidth);
  white-space: wrap;
  word-break: break-word;
  float: top;
  height: min-content;
  width:100%;
}

.SubtoolFlex {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  align-items: center;
  margin-left: var(--toolmargin);
  margin-right: var(--toolmargin);
  margin-bottom: var(--toolmargin);
  white-space: wrap;
  word-break: break-word;
  float: top;

}

.SubtoolCenter {
  display: flex;
  float: top;
  justify-content: center;

}

label {
  display: inline-block;

}

.Tool .Dashboard {
  position: relative;
  margin-left: var(--toolmargin);
  margin-right: var(--toolmargin);
  margin-bottom: var(--toolmargin);
  height: 100%;

}

.form-items {
  display: block;
  flex-wrap: wrap;
  flex: 1;
  justify-content: left;
  align-items: left;
  margin: 10px auto;
  padding: 10px;
  min-width: 200px;
  max-width: 400px;

}

.partner-iframe {
  flex: 1 1;
  min-width: 400px;
  height: 100%;
  border: none;
  margin: 10px;
}



@media screen and (max-width: 600px) {
  .partner-iframe {
    min-width: auto;
    flex: 1;
    border: none;
    width: 100%;
  }
}

.Tool #myiframe {
  width: 50%;
  box-sizing: border-box;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

  height: 400px
}

.footer {
  flex-shrink: 0; /* Prevent footer from shrinking */
  border-top: solid 5px var(--blue2);
  background-image: linear-gradient(180deg, rgba(255, 209, 180, 0.404), var(--white));
  position:relative;
  width: 100%;
  z-index: 10;
}

footer {
  color: var(--black);
  text-align: center;
  font-size: 14px;
  width: 100%;
  height: auto;
  min-height: 30px;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 20px;
  display: block;
  clear: both;
  overflow: hidden;
  max-width: var(--maximumWidth);
}

.Dashboard {
  float: left;
  display: block;
  position: center;

}

iframe {
  border: 1px solid;
  padding: 20px;
}


.Tool .right-dropdown {
  line-height: 34px;
  /*display: inline;*/
  min-width:100px;
  max-width: 100%;
  /*float: right;*/
}

.Tool .gen-dropdown {
  display: inline;
  height: min-content;
  max-width: 50%;
}

.clear {
  clear: both;
}

.Tool .left-dropdown {
  line-height: 17px;
  /*display: inline;*/
  min-width: 100px;
  max-width: 100%;
  /*float: left;*/
}

.section {
  height: 22px;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

h2 {
  background: var(--blue2);
  color: white;
  padding: 0px 20px;
  text-transform: uppercase;
  font-size: larger;

  border: var(--orange);
  border-style: solid;
  border-width: 0px 0px 0px 10px;
}

h3 {
  background-image: linear-gradient(45deg, var(--orange), var(--orange), var(--white));
  color: black;
  padding: 0px 20px;
  text-transform: uppercase;
  font-size: large;

  border: var(--blue2);
  border-style: solid;
  border-width: 0px 0px 0px 10px;
}

h4 {
  font-size: x-large;
  background-image: linear-gradient(45deg, lightslategray, var(--blue1), var(--blue1), lightslategray);
  color: var(--white);
  padding: 0px 20px;
  text-transform: uppercase;
  text-align: center;
}

h5 {

  background-image: linear-gradient(45deg, var(--black), var(--blue1), var(--blue1), var(--black));
  color: var(--white);
  width: 100%;
  text-transform: uppercase;
  font-size: medium;
  height: min-content;
  padding: 0px 0px;
  margin-bottom: 0px;
  text-align: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.header5 {
  background: var(--blue1);
  color: var(--white);
  width: 100%;
  text-transform: uppercase;
  font-size: large;
  z-index:80;
  padding: 0px 0px;
  margin-bottom: 0px;
  text-align: center;
  align-content: center;
  margin-left: auto;
  margin-right: auto;

  border: var(--orange);
  border-style: solid;
  border-width: 1px 0px 1px 0px;
}

h6 {
  background-image: linear-gradient(45deg, var(--black), gray);
  color: white;
  padding: 0px 10px;
  text-align: left;
  text-transform: uppercase;
  font-size: medium;
  margin-bottom: 10px;
}

h7 {
  background-image: linear-gradient(45deg, var(--black), gray);
  color: white;
  padding: 0px 10px;
  text-align: left;
  text-transform: uppercase;
  font-size: medium;
}

.popupContainer {
  background-color: rgba(255, 255, 255, 0.95);
  width: var(--maximumWidth);
  height: 100%;
  position: absolute;
  z-index: 1;

}

.navigation_icon {
  width: 700px;
  height: auto;
  padding: 10px;
}

.popup {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 200px;
  left: calc(var(--maximumWidth) / 2 - 150px);
  margin: 0 auto;
  background: var(--white);

  padding: 20px;
  z-index: 2;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


input[name="input_2"] {
  border: 2px solid orange;
  border-radius: 10px 10px 10px 10px;
  font-size: 18px;
  padding: 5px;
  height: 35px;
  
  width: 100%;
}

input[name="input_1"] {
  border: 2px solid var(--blue);
  border-radius: 10px 10px 10px 10px;
  font-size: 18px;
  padding: 5px;
  height: 35px;
  
  width: 100%;
}

input[name="engine"] {
  border: 2px solid var(--blue);
  border-radius: 10px 10px 10px 10px;
  font-size: 18px;
  padding: 5px;
  height: 35px;
  min-width: 80%;
  max-width: 100%;
}

li {
  list-style: square;
}

.list {
  list-style: square;
}

a:link {
  text-decoration: underline;
  font-size: normal;
  background-color: transparent;
  font-weight: bolder;
  color: rgb(49, 44, 77);
}

a:visited {
  color: gray;
  font-weight: normal;
}


.row {
  display: flex;
  flex-wrap: wrap;
  height: min-content;
  flex-direction: row;
  align-content: start;
}

.tall-row {
  display: flex;
  height: 600px;
  align-content: start;
}

.subrow {
  display: flex;
  height: min-content;

  width: 100%;

}

.viewer {
  overflow-y: auto;
  min-height: fit-content;
  min-width: 600px;
  padding: 0px 20px 20px 20px;
  flex: 1;
}

.viewer-nav {
  float: left;

  overflow: auto;
  resize: horizontal;
  border-right: var(--blue2) solid 1px;
  flex: 1 1 150px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column-left {
  float: left;
  width: 40%;
  min-width: 300px;
  flex: 1;
  padding:10px;

}

.column-right {
  float: left;
  width: 40%;
  min-width: 300px;
  flex: 1;
  padding:10px;
  /*padding-top: 20px;*/
}


.mobilebtn {
  text-align: center;
  color: black;
  text-decoration-color: white;

  background: #90b3d8;
  padding: 12px 16px;
}

.row-header {
  background-color: gold;
  font-weight: bold;
}

.table-data {
  text-align: center;
}

.table-col {
  width: 12%;
  text-align: center;
}

div#loading {
  background: url(/static/images/loading.gif) no-repeat;
  width: 500px;
  height: 500px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

div#app-loading {
  background: url(/static/images/loading.gif) no-repeat center center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.7);
}

div#smallloading, .smallloading {

  background: url(/static/images/loading.gif) no-repeat;
  background-size: contain;
  width: 100px;
  height: 100px;
  margin-left: 0px;
  margin-top: 0px;
}

.table-error {
  background-color: lightcoral;
  color: white;

}

.table-success {
  background-color: lightgreen;
  color: black;

}

.italy {
  font-style: italic normal;
  font-weight: normal;
  color: gray;
  display: inline;
}

.required input:after {

  content: "*";
  color: red;
}

.required {
  color: red;

}

.dftable {
  font-size: 11pt;
  font-family: Arial;
  border-collapse: collapse;
  border: 1px solid silver;
  border: none;
  height: min-content;

  overflow: ellipsis;

  padding-top: 40px;
  width: 100%;

}

.dataTables_wrapper {

  margin-bottom: var(--toolmargin);
  border-style: none none none none;
  max-width: var(--maximumWidth);
  white-space: wrap;
  word-break: break-word;
  float: top;
  height: min-content;
  width:100%;
}

.dftableresults {
  font-size: 11pt;
  font-family: Arial;
  border-collapse: collapse;
  border: 1px solid silver;
  border: none;
  height: min-content;
  overflow: ellipsis;
  text-align: left;
  padding-top: 10px;
  width: 100%;
}



.dftableresults th {

  padding: 5px;
  text-align: center;
  background-color: var(--dark);
  color: white;
  height: min-content;

  min-width: min-content !important;
  white-space: nowrap;
  cursor: pointer;

}

.dftable th {
  padding: 5px;
  text-align: left;
  background-color: var(--dark);
  color: white;
  height: min-content;

  min-width: min-content !important;
  white-space: nowrap;
}

table.dftablefolder {
  table-layout: flex;
  width: 100%;
  font-size: 9pt;
  font-family: Arial;
  border-collapse: collapse;
  border: 1px solid silver;
  border: none;
  height: min-content;
  overflow: auto;
  text-align: left;
  padding-top: 10px;
}



table.dftablefolder th {

  padding: 5px;
  text-align: left;
  background-color: var(--dark);
  color: white;
  height: min-content;
}

#drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 480px;
  width: 80%;
  font-family: sans-serif;
  margin: 50px auto;
  padding: 20px;
}

#drop-area.highlight {
  border-color: purple;
}

table.dftablefolder td,
tr {
  padding: 5px;
  text-align: left;
  background-color: var(--white);
  color: var(--black);
  height: min-content;
  border: none;
}

table.dftablefolder td:hover {
  background-color: gray;
  cursor: pointer;
}

.sGroups {
  height: 100px;
  display: inline;
}

.dftableresults tr {

  padding-top: 50px;

}

.dftableresults td {
  padding: 5px;

}

.dftable th {

  padding: 5px;
  text-align: left;
  background-color: var(--blue2);
  height: min-content;

}



.dftable td {
  padding: 1px;
  height: min-content;
}

.dftable tr:nth-child(even) {
  background: #E0E0E0;
}

.dftable tr {
  height: min-content;
}

.dftable tr:hover {
  background: silver;
  cursor: pointer;
}

.btn {
  position: absolute;
  top: 20px;
  left: 250px;
  height: 50px;
  width: 50px;
  /*border-radius: 50%;*/
  border: none;
  color: var(--btnFontColor);
  background-color: var(--btnBg);
}


.light-theme {
  --bg: var(--green);
  --fontColor: var(--black);
  --btnBg: var(--black);
  --btnFontColor: var(--white);
}

.dark-theme {
  --bg: var(--black);
  --fontColor: var(--green);
  --btnBg: var(--white);
  --btnFontColor: var(--black);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  width: 50%;
}

.Abutton {
  float: left;
  width: auto;
  height: 30px;
  display: block;
  background: rgb(255, 216, 144);
  color: black;
  line-height: 30px;
  text-align: center;
  padding: 0 20px;
  border-radius: 3px;
}

.main_content {
  width: 50%;
}

body .chart {
  overflow: hidden;
}

.app {
  max-width: var(--maximumWidth);
position:relative;
}

.subapp {
  max-width: var(--maximumWidth);
  padding-bottom: 50px;
  height:fit-content;
}

.users {
  display: inline;
}

.topbar {
  overflow: hidden;
  height: min-content;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.accountname {
  text-align: center;
}

.topbar .upper-right {
  background-color: var(--orange);
  background-image: linear-gradient(180deg, var(--orange), var(--white));
  color: var(--black);
  float: right;
  padding: 3px;
  font-size: 17px;
  font-family: inherit;
  vertical-align: middle;
}

.topbar .title-email {

  color: var(--black);
  float: right;
  padding: 5px;
  font-size: 17px;
  font-family: inherit;
}

/* Add an active class to highlight the current page 
.active {
  background-color: grey;
  color: white;
  overflow: hidden;
  width: 20%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  font-size: 17px;
  font-family: inherit;
}
*/






/* Add a black background color to the top navigation */
.topnav {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;

  z-index: 100;
}


/* Links inside the dropdown */
.dropdown-content button {
  background-color: var(--blue1);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border: solid 1px white;
  width: 100%;
  height: min-content;
  cursor: pointer;
}




/* Style the dropdown content (hidden by default) */
.dropdown-content {
  visibility: hidden;
  
  left:0;
  display: none;
  position: absolute;
  justify-content: center;
  width: 100%;
  z-index: 100;

}

.dropdown.dropdown-content {
  display: none;
}

.dropdown-content button:hover {

  background-color: var(--blue4);
}


button {
  display: table-cell;
  height: 38px;
  align-items: center;
  text-align: center;
  vertical-align: middle;
  margin: auto;


}

a.big_button {
  display: table-cell;
  height: 72px;
  align-items: center;
  text-align: center;
  font-size:x-large;
  text-transform: uppercase;

  text-decoration: none;
  vertical-align: middle;
  margin: 10px;
  background-color: var(--orange);
  color: black;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  height: min-content;
  max-width: 600px;

}

/* Add a dark background on topnav links and the dropdown button on hover */
.dropdown:hover .dropbtn {
  background-color: lightgray;
  color: white;

}

.dropdown:hover .dropdown_title {
  
  color: black;
  animation: fadeIn 1s;

}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  text-align: center;
  overflow: hidden;
  /*height: fit-content;*/
  height: min-content;
  width: fit-content;
  max-width: 200px;

  
  z-index: 1;
  background-color: rgb(255, 255, 255);


}

button.dropbtn {

  display: inline;
  align-items: center;
  text-align: center;

  margin-left: auto;
  margin-right: auto;

  
}

button.dd-button {
  display: inline-flex;

  text-align: center;
  vertical-align: middle;
  margin-left: auto;
  margin-right: auto;


}


/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border-radius: 0;
  width: 100%;
  margin-left:10px;
  margin-right:10px;
  border: none;
  outline: none;
  color: black;
  /*padding: 14px 16px;*/
  background-color: inherit;
  font-family: inherit;
  line-height: unset;
  border:none;
  border-bottom: 5px solid var(--orange);
  

}




/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}


/* Dropdown container - needed to position the dropdown content */
.logout {

  float: right;
  text-align: center;
  height: min-content;
  overflow: hidden;

}

.logout .dropdown:hover .dropbtn {
  color: darkred;
  z-index: 0;
}

.logout .dropdown:hover .dropdown-content {
  display: block;
  z-index: 100;
}

/* Show the dropdown menu on hover */
.logout:hover .dropdown-content {
  display: block;
  z-index: 100;
}

/* Style the dropdown button to fit inside the topnav */
.logout .dropbtn {
  font-size: 17px;

  border: none;
  outline: none;
  color: black;
  /*padding: 14px 16px;*/
  background-color: inherit;
  font-family: inherit;
  line-height: unset;
  background-image: linear-gradient(180deg, var(--orange), var(--white));
  z-index: 0;
}

/* Style the dropdown content (hidden by default) */
.logout .dropdown-content {
  display: none;
  width: 100%;
  right:0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.topbar #fafabar::before,
.topbar #fafabar {
  font-size:36px;
  display: none;
  width: 100%;
  height: 35px;
  top: 50px;
  z-index: 90;
  background-color: var(--white);
  border-bottom: 1px solid var(--black);
  padding-left:10px;
}

button .dd-button {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.note-row {
  display:table-row;
}

.dataTable, .no-footer {
  display: table;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

tr.odd,
tr.even {
  display: table-row;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.dataTables_length label,
.dataTables_filter label {
  width:100%;
  display:block;

  min-height:50px;
  
  padding-bottom:20px;
}


.drop-button:hover {
  border-left: 10px solid white;
  border-right: 10px solid white;
  border-top:1px solid white;
  border-bottom:1px solid white;
}

.notification_icon {
  z-index:100;
  float:right; 
  margin-top: 10px; 
  margin-right: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border: none; 
  background-color: white; 
  cursor: pointer; 
  outline: none; 
  padding: 0; 
  margin: 0; 
  height: 38px;
  width: 38px;
}


.notifications_container {
  display: none;
  width: 100%;
  
  height:100%;
  position: fixed;
  top: 60px;
  z-index:100;
  background-color:rgba(0, 0, 0, 0.8);
  color: white;
  overflow-y: auto;
  animation: fadeIn 0.5s;

}

.notification_container {
  width:100%;
  border-bottom: solid white 1px;
  margin: 10px;
  
}

.notifications {
  width: 100%;
  border-bottom: solid white 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px;
  min-height: 100px;
}

.notification {
  display: block;
  width:600px;
  padding: 20px;
  background-color: black;
  border: solid white 1px;
  text-align:left;
  border-radius: 20px;
}

.notification-read {
  width: 600px;
  display: block;
  background-color: inherit;
  border: none;
  padding: 20px;
  text-align: left;
  align-content: left;
  border-radius:20px;

} 

.flyout-right,
.flyout-left {
  position: relative;
  padding: 10px;
  margin-top: 20px;
  margin-left: 100px;
  margin-right: 100px;
  height: 200px;
  overflow-y:scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
  scrollbar-gutter: auto;
}

.flyout-right{
  float:right;
  border: solid black 2px;
}


.ticker_item {
  display: block;
  padding: 10px;
  margin: 10px;
  border: 2px solid black;
  border-radius: 100px;
}

.notify:link {
  color: lightgray;
  text-decoration: none;
  display:block;
}
.notify:visited {
  color: white;
  text-decoration: none;
}

@media screen and (min-width: 1700px) {
  .flyout-left {
    position:absolute;
    left:0;
    top: 60px;
    display:block;
    height: calc((100vh/2));
    margin:0;
    width: calc((100vw - 1200px)/2);
    
  }

  .flyout-right {
    margin:0;
    position: absolute;
    right:0;
    top: 60px;
    display:block;
    height: calc((100vh/2));
    width: calc((100vw - 1200px)/2);
  }

}



@media screen and (max-width: 600px) {


.flyout-left {
  display:none;
}

.notification,
.notification-read {
  width: 100%;
}
  .notifications_container {
    top:90px;
  }


  .notification_icon{
    height: 60px;
    width: 60px;
    background-color:white;
  }

  .logout {

    position: fixed;
    top: 90px;
    right: 0;
    display: inline;
    z-index: 50;

  }

  .logout .dropdown {
    display: inline;
    z-index: 60;

  }



  .logout .dropdown button.dropbtn {
    height: 60px;
    display: inline;
    z-index: 100;
  }

  .logout .dropdown .dropdown-content {
    position: fixed;
    top: 150px;


  }

  .topbar.logout {

    float: right;
    width: 100%;
  }

  .topbar.logout .dropdown {
    display: inline;
    width: 100%;
  }

  .topbar.logout .dropdown .dropdown-content {
    display: inline;
    width: 100%;
  }

}

#drake-scroll {
  top:0px;
}
.top-banner {
  content: url("/static/images/ffip.png");

}

td[data-header="ACC"],
td[data-header="Added"],
td[data-header~="Updated"],
td[data-header~="Created"],
td[data-header="Count"],
td[data-header~="Date"]{
  text-align:center;
  vertical-align: middle;
}

#user_image {
  width:30px;height:30px;z-index: 100;align-items:center; margin:0;border-radius: 50%;
}

#user_name {
  display: block;
}

#dropdown_logout.dropbtn:hover #user_name {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {

#user_name {
  display:none;
}

.top-banner {
  position:fixed;
  content:url("/static/images/ffip_crop.png");
}


tr.odd,
tr.even,
tr {
  display:block;
  padding:20px;
  padding-left:0px;
  padding-right:0px;
}

  table.dataTable tr tbody {
    width:100%;

  }
  table.dataTable td {
    width:auto;
    padding-left:35%;
  }

  .dataTables_length,
  .dataTables_filter {
    width:100%;
    display:flex;
    flex-wrap:wrap;
    min-height:50px;
  }

  .dataTables_length label,
  .dataTables_filter label {
    width:100%;
    display:block;

    min-height:fit-content;
    padding:0;
    padding-bottom:20px;
  }



.jstree-anchor {
  height: 48px;
}

  td[data-header="Spacer"] {
    display:none;
    visibility: collapse;
  }

  .note-row {
    display:none;
  }

.dftableresults {
  display:table;
  visibility: visible;
}





  td:first-of-type:before {
    font-size: large;

  }

  .viewer {
    overflow-y: auto;
    min-height: fit-content;
    min-width: 90%;
    flex: 1 1;
    padding: 0px 20px 20px 20px;
    flex: 1;
    overflow: auto;
  }

  .subrow {
    display: flex;
    flex: 1 1;

  }

  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
    border-bottom: none;
    margin:5px;
    border-left:5px solid var(--orange);
  }

  .logout .dropdown .dropbtn {
    margin: 0;
    border: none;
  }

  .dftableresults tr {
    display:block;
    padding-top: 0px;
    padding: 20px;
    padding-left:0px;

  }


  .dropdown-content button {
    display: inline;
    z-index: 70;
    justify-content: center;
  }



  .topnav a.icon {
    position: fixed;
    top: 50px;
    float: right;
    display: block;
    z-index: 100;

  }

  .topbar {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    border-bottom: 1px solid var(--black);
  }

  .topbar .header5 {
    position: fixed;
    top:60px;
    font-size: x-large;
    z-index: 100;
  }

  .topbar button.dropdown-content {
    position: fixed;
    top: 80px;
    z-index: 100;
  }


  .topbar #fafabar,
  .topbar #fafabar::before {
    font-size: 60px;
    display: block;
    position: fixed;
    width: 100%;
    
    height: 65px;
    top: 87px;
    z-index: 40;
    background-color: var(--white);
    border-bottom: 1px solid var(--black);
  }



  .topnav.responsive {
    position: absolute;
    background-color: white;
    overflow-y: scroll;
    flex-direction: column;
    top: 150px;
  }

  .topbar .title-email {
    display: block;
  }


  .dropdown.responsive {
    margin-right: 0;
    display: block;
  }

  .dropdown-content {
    display: inline;

    width: 100%;


  }

  .topnav.responsive a.icon {
    float: right;
    display: block;

  }

  .dropdown_title {
    display:block;
    color: black;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
  }

  .topnav.responsive .dropdown {
    position: relative;
    top: 0px;
    align-content: center;
    width: 100%;
    z-index: 100;
    max-width: 100%;
  }

  #user_image {
    width: 50px;
    height: 50px;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn {
    padding:10px 20px;
    display: block;
    height: 60px;
    width: 100%;
    text-align: center;

  }

  #top_message {
    display: block;
    position: absolute;

    top:160px;
    height: 100%;
    z-index: 0;

  }



  /* Set the table layout */
  .dftableresults table,
  thead,
  tbody,
  th,
  tr {
    display: block;
    visibility: visible;
  }


  /* Set the table layout */
  .dftable table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: table;
    visibility: visible;
  }

  /* Hide table headers */
  .dftableresults thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;

  }

  /* Hide table headers */
  .dftable thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;

  }

  /* Style the rows */
  .dftableresults tr {
    margin: 0 0 1rem 0;
    border-bottom: solid #000000;
    width:100%;
  }

  .dftable tr {
    margin: 0 0 1rem 0;
    border-bottom: solid #000000;
    width:100%;
    
  }

  /* Style the cells */
  .dftableresults td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 32%;
    width: 60%;
    min-height: 38px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;


  }

  .dftable,
  .dftableresults tbody{
    width:100%;
  }


.top-banner {
  z-index: 90;
  height:60px;
}



  /* Style the before element to mimic the header */
  td::before {
    position: absolute;
    top: 0;
    left: 0px;
    width: 30%;
    min-width: 100px;
    padding-right: 0px;

    
    content: attr(data-header);
    min-height: min-content;
    text-align: center;
    height: 100%;
    background-color: var(--dark);
    color: white;
    display: flex;
    flex-wrap:wrap;
    align-items: center;
    justify-content: center;
  }

  td[data-header~="Started"],
  td[data-header~="Start"],
  td[data-header~="Run"],
  td[data-header~="Added"],
  td[data-header~="Updated"] {
    font-size: x-small;
    min-height:15px;

  }



  td[data-header="Note"] {
    font-size: small;
    margin-bottom: 10px;
  }

  td[data-header="Note"]:before {
    background-color: white;
    color: black;
  }

  td[data-header="Completion"],
  td[data-header="Job"] {
    font-weight: bold;
  }

  td[data-header="Params"] {
    font-size: small;
    color: var(--red)
  }

  td[data-header="User"],
  td[data-header="Email"] {
    background-color:lightgray;
    color: var(--blue3);
    font-weight:bold;
  }


    /* Style the first td in a table */
    .dftable td[data-header="Name"],
    td[data-header="Param"],
    .dftableresults td[data-header="Name"],
    td[data-header="Project"],
    td[data-header="Param"] {
      color: var(--blue1);
      font-size: large;
    }
  
td[data-header="Role"] {
  font-weight: bold;
  font-size:medium;
  color: var(--orange);

}

@media screen and (max-width: 600px) {

  .dftable tbody,
  th {
      width: 100%;
  }

  .dftable td {
      border: none;
      border-bottom: 1px solid #eee;
      position: relative;
      padding-left: 32%;
      width: 68%;
      min-height: 38px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: left;
  }

  .dftable td::before {
      font-weight: bold;
      width: 30%;
  }

  table.dftable {
    padding-top: 10px;
      padding-left: 0;
  }

  



  
}
h2,
h3,
h4,
h5 {
  font-size:x-large;
}

}


/* 1. Style the logout button as a flex container */
.logout .dropbtn {
    display: flex;                 /* Use flexbox for layout */
    align-items: center;           /* Vertically align items */
    justify-content: space-between;/* Push username and icon to opposite ends */
    width: 100%;                   /* Make the button fill its container */
    padding: 4px 14px;              /* Add padding (8px on left/right) */
    box-sizing: border-box;        /* Include padding in the width calculation */
}

/* 2. Style the username to override defaults and add the fade effect */
#user_name {
    display: inline-block;
    max-width: 15ch;
    white-space: nowrap;
    overflow: hidden;
    
    /* Change 70% to a higher value (e.g., 85%) */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    
    margin-right: 8px;
}

/* 3. Ensure the user image is sized correctly and doesn't shrink */
#user_image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Prevents the image from shrinking if space is tight */
}


/* In your template.css file */

/* 1. Set the stacking context for the main navigation bar */
.topnav {
    position: relative; /* This is necessary for z-index to work on child elements */
    z-index: 100;       /* A high number to ensure it's above the viewer */
}

/* 2. Ensure the dropdown content also has a high z-index */
.dropdown-content {
    position: absolute; /* This is likely already set in your CSS */
    z-index: 101;       /* Set it slightly higher than its parent to be safe */
}

/* 3. Also apply to the top-right user dropdown */
.topbar .dropdown-content {
    z-index: 101;
}

/* 4. This is for the viewer container on your modelviewer page. */
/* It ensures other elements can stack on top of it. */
.subapp {
    position: relative;
    z-index: 1;
}


