/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
*/
* {
  	box-sizing: border-box;
  	font-family: 'Poppins', 'Open Sans', sans-serif; /* -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif; */
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}

/* Style the main content */
.main {
  	margin-top: 45px; /* Add a top margin to avoid content overlay */
  	margin-left: 200px; /* Same as the width of the sidenav */
  	padding: 10px;
	width: calc(100% - 200px);
/* 	max-width: 1200px; /* optional, keeps layout tidy */
  	font-family: 'Poppins', 'Open Sans', sans-serif;
  	font-size: 22px;
}

body {
  	background-color: #435165;
}
.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #1f497d;
  	font-size: 24px;
  	padding: 0px 0px 10px 0px;
  	border-bottom: 1px solid #dee0e4;
}
.login logo {
  	padding: 20px 0px 0px 0px;
	text-align: center;
	display: flex;
	flex-direction: column; /* Keeps items stacked if there's more than one */
	justify-content: center; /* Centres vertically */
	align-items: center;    /* Centres horizontally */	
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0px 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0px;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

/* added for password validation placement */
.two-column {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    width: 100%;
}
.left-column {
    flex: 0 1 auto;
/*
    min-width: 500px;
*/	
}
.right-column {
/*
    flex: 0 0 260px;
*/	
	display: flex;
	align-items: flex-start; /* Align children to the left */
    margin-top: 0px;
}
#message1 {
    display: none;              /* hidden until password field is focused */
    background: #f1f1f1;
    color: #000;
    position: relative;
    left: 0;                    /* override the old left:100px */
    padding: 10px;
    border-radius: 4px;
    width: 400px;               /* matches your right-column */
	/*
	left: -200px; 
	*/
}


/* Formatting for the keyfile uploads */
.file-upload-wrapper {
    display: inline-block;
    padding: 8px 12px;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-grey {
    background: #888;      /* grey */
    color: #fff;
}

.file-upload-grey:hover {
    background: #777;
}


.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0px;
}
.navtop div {
	display: flex;
	margin: 0px auto;
	width: 1000px;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 18px;
	padding: 0px;
	margin: 0px;
	color: #eaebed;
	font-weight: bold;
}
.navtop div h1a {
	flex: auto;
	font-size: 12px;
	padding: 0px;
	margin: 0px;
	color: #1d67aa;
	font-weight: lighter;
	text-align: left;
	align-items: flex-start;
	vertical-align: middle;
}
.navtop div a {
	padding: 0px 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0px 0px;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 1000px;
	margin: 0px auto;
}
.content h2 {
	margin: 0px;
	padding: 25px 0px;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
.content > p, .content > div {
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	margin: 25px 0px;
	padding: 25px;
	background-color: #fff;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0px 0px 10px 0px;
}


input[type=submit], input[type=button]  {
  background-color: #04AA6D;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin: 0px 0px;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 20px;
}
input[type=submit]:hover, input[type=button]:hover {
	background-color: #2E8B57;
	color: black;
}


/* https://www.w3schools.com/howto/howto_js_filter_table.asp */ 

#myInput {
	background-image: url('/css/searchicon.png'); /* Add a search icon to input */
	background-position: 10px 12px; /* Position the search icon */
	background-repeat: no-repeat; /* Do not repeat the icon image */
	width: 100%; /* Full-width */
	font-size: 16px; /* Increase font-size */
	padding: 12px 20px 12px 40px; /* Add some padding */
	border: 1px solid #ddd; /* Add a grey border */
	margin-bottom: 12px; /* Add some space below the input */
  }
  
  #myTable {
	border-collapse: collapse; /* Collapse borders */
	width: 100%; /* Full-width */
	border: 1px solid #ddd; /* Add a grey border */
	font-size: 18px; /* Increase font-size */
  }
  
  #myTable th, #myTable td {
	text-align: left; /* Left-align text */
	padding: 12px; /* Add padding */
  }
  
  #myTable tr {
	/* Add a bottom border to all table rows */
	border-bottom: 1px solid #ddd;
  }
  
  #myTable tr.header, #myTable tr:hover {
	/* Add a grey background color to the table header and on hover */
	background-color: #f1f1f1;
  }


  #DataTable {
	border-collapse: collapse; /* Collapse borders */
	width: 100%; /* Full-width */
	border: 1px solid #ddd; /* Add a grey border */
  }
  #DataTable th {
	text-align: left; /* Left-align text */
	padding: 3px 3px; /* Add padding */
	font-size: 12px; 
	font-weight: bold;
	border-bottom: 1px solid #ddd;
  }
  #DataTable tr {
	/* Add a bottom border to all table rows */
	border-bottom: 1px solid #ddd;
  }
  #DataTable tr.header, #DataTable tr:hover {
	/* Add a grey background color to the table header and on hover */
	background-color: #D3D3D3;
  }
  #DataTable tbody {
    background-color: #ddd;
    overflow: auto;
  }
  #DataTable td {
	text-align: left; /* Left-align text */
    padding: 3px 3px;
	font-size: 12px; 
  }

/*
#DataTable thead > tr, tbody {
    display:block;
}


/* https://www.w3schools.com/howto/howto_css_tooltip.asp */ 

/* Tooltip container */
.tooltip {
	position: relative;
	display: inline-block;
/*	border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
  }
  
  /* Tooltip text */
  .tooltip .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: #555;
	color: #fff;
	text-align: center;
	padding: 5px 0px;
	border-radius: 6px;
  
	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -60px;
  
	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.3s;
  }
  
  /* Tooltip arrow */
  .tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
  }
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
  }



/* https://www.w3schools.com/howto/howto_js_password_validation.asp */ 


  /* The message box is shown when the user clicks on the password field */
  #message {
	display:none;
	background: #f1f1f1;
	color: #000;
	position: relative;
	left: 100px;
  }
  
  #message p {
	font-size: 10px;
  }

  #message ptitle {
	font-size: 14px;
	font-style: italic;
	font-weight: bold;
  }
  
  /* Add a green text color and a checkmark when the requirements are right */
  .valid {
	color: green;
  }
  
  .valid:before {
	content: "✔"; 
  }
  
  /* Add a red text color and an "x" icon when the requirements are wrong */
  .invalid {
	color: red;
  }
  
  .invalid:before {
	content: "✖";
  }


/* This ensures the wrapper fits perfectly next to the blue label */
.password-wrapper {
    width: 310px;
    height: 50px;
    margin-bottom: 20px;
}

/* This makes the input fill the wrapper and prevents it from shrinking */
.password-wrapper input[type="password"], 
.password-wrapper input {
    width: 100% !important;
    margin-bottom: 0 !important; /* Move margin to the wrapper instead */
}



/* https://codepen.io/erwinquita/pen/ZWzVRE  */

#wrapper, .wrapper {
  width: 330px;
  font-family: 'Helvetica';
  font-size: 14px;
  border: 1px solid #CCC;
}

#StepProgress, .StepProgress {
  position: relative;
  padding-left: 45px;
  list-style: none;
  
  &::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 10px;
    height: 100%;
    border-left: 2px solid #CCC;
  }
  
  &-item {
    position: relative;
    counter-increment: list;
    
    &:not(:last-child) {
      padding-bottom: 20px;
    }
    
    &::before {
      display: inline-block;
      content: '';
      position: absolute;
      left: -30px;
      height: 100%;
      width: 10px;
    }
    
    &::after {
      content: '';
      display: inline-block;
      position: absolute;
      top: 0;
      left: -37px;
      width: 12px;
      height: 12px;
      border: 2px solid #CCC;
      border-radius: 50%;
      background-color: #FFF;
    }
    
    &.is-done {
      &::before {
        border-left: 2px solid green;
      }
      &::after {
        content: "✔";
        font-size: 10px;
        color: #FFF;
        text-align: center;
        border: 2px solid green;
        background-color: green;
      }
    }
    
    &.current {
      &::before {
        border-left: 2px solid green;
      }
      
      &::after {
        content: counter(list);
        padding-top: 1px;
        width: 19px;
        height: 18px;
        top: -4px;
        left: -40px;
        font-size: 14px;
        text-align: center;
        color: green;
        border: 2px solid green;
        background-color: white;
      }
    }
  }
  
  strong {
    display: block;
  }
}