.highcharts-figure,
.highcharts-data-table table {
    min-width: 220px;
    max-width: 85%;
    margin: 1em auto;
    /* From https://css.glass */
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgb(255, 255, 255);
  /***/
  /* https://webcode.tools/css-generator/keyframe-animation */
  animation: myAnim 2s ease 0s 1 normal forwards;

  /***/
/*  animation-name: spin;
  animation-duration: 1000ms;
  animation-iteration-count: 5;
  animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1.0); 
  */
}
/*
@keyframes spin {
  from {
      transform:rotate(0deg);
  }
  to {
      transform:rotate(360deg);
  }
  */


.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid white;
    margin: 10px auto;
    text-align: left;
    width: 100%;
    max-width: 500px;
    /* From https://css.glass */
background: rgba(230, 234, 255, 0.52);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(11px);
-webkit-backdrop-filter: blur(11px);
border: 1px solid rgba(230, 234, 255, 0.3);
/***/
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

/* .highcharts-data-table td, */
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: white;
}

.highcharts-data-table tr:hover {
    background: white;
}

.float-parent-element { 
    width: 100%; 
} 
.float-child-element { 
    float: left; 
    width: 50%; 
} 


table {
    border: 1px solid white;
    /* border-collapse: collapse; */
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    overflow:scroll;
  }
  
  table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
  }
  
  table tr {
    background-color: white;
    border: 1px solid #ddd;
    padding: .35em;
  }
  
  tr:hover {
    background-color: rgba(255,250,194, 0.199); /* Color when hovered */
  }

  table th,
  table td {
    padding: .625em;
    text-align: left;
  }
  
  table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    background-color: #003399;
    color: white;
    font-style: italic;
    background: linear-gradient(0deg, #003399 0%, #5a91ff 100%);
    text-shadow: 3px 2px 10px #000000;
  }
  
  @media screen and (max-width: 600px) {
    table {
      border: 0;
      height: 400px;
      overflow:scroll;
    }
  
    table caption {
      font-size: 1.3em;
    }
    
    table thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table tr {
      border-bottom: 3px solid #ddd;
      display: block;
      margin-bottom: .625em;
    }
    
    /* table td {
      border-bottom: 1px solid white;
      display: block;
      font-size: .8em;
      text-align: right;
    } */
    
    table td::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    table td:last-child {
      border-bottom: 0;
    }
  }
  
  /* Added with keyword picker /////////////////////// */
  input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid white;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #003399;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  
}

input[type=submit]:hover {
  background-color: #191c4d;
}
/* For keywords */
input[type=keyword] {
  width: 100%;
  background-color: #003399;
  color: white;
  padding: 14px 20px;
  margin: 5px 0;
  border: inset;
  border-radius: 4px;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

input[type=keyword]:hover {
  background-color: #333561;
}

div {
  border-radius: 5px;
  background-color: white;
  padding: 20px;
  font-family: Verdana, sans-serif;
}
.span {
  font-family: Verdana, sans-serif;
}
label{
  font-family: Verdana, sans-serif;
  font-weight: bold;
}
.select {
  font-family: Verdana, sans-serif;
}
.input {
  font-family: Verdana, sans-serif;
}
.td {
  background-color: white;
}
.table {
  background-color: white;
}
button {
  width: 50%;
  background-color: #003399;
  color: white;
  padding: 24px 30px;
  margin: 4px 0;
  border: inset;
  border-radius: 20px;
  cursor: pointer;

}
/*
input[type=checkbox] {
  width: 1%;
  background-color: #003399;
  color: white;
  padding: 2px 3px;
  margin: 1px 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;

}
*/
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #003399;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

body {
  background-color: white;
  
}

/* Added with keyword picker /////////////////////// */
input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #003399;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  
}

input[type=submit]:hover {
  background-color: #191c4d;
}
/* For keywords */
input[type=keyword] {
  width: 100%;
  background-color: #003399;
  color: white;
  padding: 14px 20px;
  margin: 5px 0;
  border: inset;
  border-radius: 4px;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

input[type=keyword]:hover {
  background-color: #333561;
}

div {
  border-radius: 5px;
  background-color: white;
  padding: 20px;
}

button {
  width: 20%;
  background-color: #003399;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: inset;
  border-radius: 20px;
  cursor: pointer;

}
/*
input[type=checkbox] {
  width: 1%;
  background-color: #003399;
  color: white;
  padding: 2px 3px;
  margin: 1px 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;

}
*/
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #003399;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
select {
  border: 0;
  color: #000000;
  background: transparent;
  font-size: 15px;
  padding: 2px 10px;
  width: 378px;
/*  *width: 350px;
  *background: #58B14C; */
  -webkit-appearance: none;
  outline-style: groove ;
  outline-color: #003399;
  outline-width: 0.25px;
  border-color: #003399;
}


#stakeholder, #drrStage, #targetedThreat {
  overflow: hidden;
  width: 350px;
  -moz-border-radius: 9px 9px 9px 9px;
  -webkit-border-radius: 9px 9px 9px 9px;
  border-radius: 9px 9px 9px 9px;

  border-style: dashed;
  box-shadow: 1px 1px 11px #003399;
  background: url("https://upload.wikimedia.org/wikipedia/commons/1/13/Green-animated-arrow-right.gif") no-repeat scroll 319px 5px #CCEE#cceedd;
}

.glass{
	/* background styles */
	position: relative;
	display: inline-block;
	padding: 5px 5px;
	background-color: green; /*for compatibility with older browsers*/
	background-image: linear-gradient(green,lightgreen);

	/* text styles */
	text-decoration: none;
	color: #000000;
	font-size: 10px;
	font-family: sans-serif;
	font-weight: 10;
}


.collapsible {
  background-color: white;
  color: white;
  cursor: pointer;
  padding: 5px;
  width: 1px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
}

.active, .collapsible:hover {
  background-color: #e6ebf5;
}

.content {
  padding: 0 8px;
  display: none;
  overflow: hidden;
  background-color: 99add6;
}

#container {
/* From https://css.glass */
background: rgba(255, 255, 255, 0);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}

.columnscontainer {
  column-count: 2;
  column-width: 50%;
  column-gap: 10px;
  column-rule: 2px dashed gray ;
}


/* Search Button*/
.glow-on-hover {
  width: 100px;
  height: 30px;
  border: none;
  outline: none;
  color: #fff;
  background: #62D00B;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(10% + 4px);
  height: calc(10% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 20px;
}

.glow-on-hover:active {
  color: #4FFFB0
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 10%;
  height: 10%;
  background: #568203;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}


.navbar {
  overflow: hidden;
  background-color: #8eb4fb;
  position: fixed;
  top: 0;
  width: 100%;
  height: 2em ;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);

}

.navbar a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  
}

.navbar a:hover {
  background: #ddd;
  color: black;
}

  #toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  
  #toTopBtn:hover {
    background-color: #555;
  }

  .SearchButton {
    width: 40px;
    height: 40px;
    font-size: 32px;    /* Make emoji bigger */
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 50%; /* optional: make it round */
    cursor: pointer;
    
  }

  .grid-container{
    display: grid;
    grid-template-columns: 30% 70%;
    padding-top: 10px;
  
  }

  #applyButtonContainer {
    width: 100%;
    min-height: 35px;
  }

  #table_results{
    overflow-y: auto;
    /* height : 120dvh; */
    max-height: 120dvh;
    min-height: 40dvh;
    overflow: scroll;
    border: 1px solid black;
    
    }

    /* new */

#results-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.search-result {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.search-result a {
  font-weight: normal;
}

.google-result-title {
  font-size: 18px;
  color: #1a0dab;
  text-decoration: none;
  display: block;
}

.google-result-title:hover {
  text-decoration: underline;
}

.google-snippet {
  font-size: 14px;
  color: #4d5156;
  margin-top: 5px;
}

.meta-list {
  font-size: 12px;
  color: #70757a;
  margin-top: 4px;
}



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 16px;
  background-color: #555;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#myBtn:hover {
  background-color: #333;
}

.SearchButton {
  width: 40px;
  height: 40px;
  font-size: 32px;    /* Make emoji bigger */
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 50%; /* optional: make it round */
  cursor: pointer;
  
}

.disclaimer{
  font-size: 10px;
}