<style>
body { }

@font-face {
  font-family: 'poppins';
  font-display: swap;
/*  src: url('{{ url_for('static', filename='fonts/poppins.ttf') }}'); */
  src: url('fonts/poppins.ttf');
}

html { font-family: 'poppins'; font-display: auto;  overflow-y: scroll; }

body { 
    font-family: 'poppins'; 
}

textarea:focus, input:focus{
    outline: none;
}

h1, h2, h3,h4,h5,h6 {
    font-family: 'poppins';
    color: #404040;
}

pre {
    font-family: 'poppins';
    line-height: 1;
    white-space: pre-wrap;
}

a { text-decoration: none;   color: black; }
a:hover { color: blue; }

dt { display: block; margin-top: 10px; }
dd { display: block; margin-left: 0px; }

#login_button { transition-duration: 0.2s; width: 150px; margin-top: 10px; }

button .w3-button { transition-duration: 0.2s; width: 150px; }

/* Logo in upper right fade in/out  */
img.logo {
  filter: brightness(125%);
  transition: 1s;
  transition-timing-function: ease-in-out;
}

img.logo:hover {
   filter: brightness(200%);
   transition: 1s;
}

/* Right slider modal */
.slider_right {
    max-width:500px;
    position:absolute; 
    top:0px;
    bottom:0;
    right:0px;
    overflow-y:auto; 
}

/* Main content? */
.main {
  margin: auto; 
  padding-top: 75px;
  padding-left: 220px;
  padding-right: 30px;
  min-width: 1000px;
  max-width: 1400px; 
  color: #666666;
}

/* inner content */
.inner_main {
  padding-top: 10px; 
  padding-left: 220px;
  color: #666666;
}

/* Dropdown menu for the table on the index page */
.dropbtn {
  font-family: 'poppins';
  color: black;
  background-color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  padding: 5px 20px 2px 20px; 
}

.dropbtn:hover, .dropbtn:focus {
  color: white;
  background-color: #3f51b5;
}

.dropdown {
  float: right;
  position: relative;
  display: inline-block;
}

.dropdown-content {
  right: 0;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 60px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 3px 26px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover { background-color: #ddd; }

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

/* For copy_links to fade in/out on hover */
.copy_link {
  font-size: 14px;
  opacity: 0.0;
  transition: 0.3s;
  cursor: pointer;
}

.copy_link:hover { opacity: 1; }

.copy_label { cursor: pointer; }

.copy_label:hover + .copy_link {
  opacity: 1;
  cursor: pointer;
}

/* Password forms */
/* The message box is shown when the user clicks on the password field */
#message {
  display:none;
  color: #000;
  position: relative;
  padding: 20px;
  margin-top: 5px;
}

#message p {
  padding: 10px 35px;
  font-size: 18px;
}

/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: green;
}

.valid:before {
  color: green;
  position: relative;
  left: 0px;
  font-family: "Font Awesome\ 5 Free";
  content: "\f00c ";
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
  color: black;
}

.invalid:before {
  color: darkred;
  position: relative;
  left: 0px;
  font-family: "Font Awesome\ 5 Free";
  font-size: 10px;
  content: "\f111 ";
}

 /* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
}

/* 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 {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.collapsible:after {
  content: '\f107'; /* Unicode character for "plus" sign (+) */
  font-size: 16px;
  font-family: "Font Awesome\ 5 Free";
  color: black;
  float: left;
  margin-left: 5px;
  padding-right:10px;
}

.active:after {
  content: "\f106"; /* Unicode character for "minus" sign (-) */
}

</style>
