#ruta {
  position: absolute;
  top: 20px;
  left: 20px;
  pointer-events: auto;
  cursor: move;
  background-color: black;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.17) 0px 3px 17px;
  resize: both;
  touch-action: none;
}




/* Bordered form */
.form1 {
  border: 3px solid #f1f1f1;
  width: 30%;
  min-width: 300px; 
  margin: auto;
  font-family: verdana;
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    font-size: 16px;
    padding: 12px 24px;
    position: absolute;
    border-radius: 5px;
}

/* Full-width inputs */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
#button3{
  background-color: #f21133; /* red */
  border: none;
  color: white;
  padding: 7px 14px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}
#dropb, #settings {
  background-color: #00a385; /* red */
  border: none;
  color: white;
  padding: 7px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 4px 2px;
  cursor: pointer;
  float: right;
  margin-right: 10px;
  margin-bottom: 0px;
}
#dropb4{
  background-color: #ff363c; /* red */
  border: none;
  color: white;
  padding: 7px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 4px 2px;
  cursor: pointer;
  float: right;
  margin-right: 10px;
  margin-bottom: 0px;
}
#dropb2, #dropb3, #dropb5 {
  background-color: #00a385; /* red */
  border: none;
  color: white;
  padding: 7px 14px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}


/* Knappen */
#dropb6 {
  background-color: #00a385; /* red */
  border: none;
  color: white;
  padding: 7px 14px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}


/* Dark mode-stil */
body.dark-mode {
  background-color: #0d0d0d;
}
.dark-mode #header {
  background-color: #292828;
}
.dark-mode #logga {
  filter: invert(1) hue-rotate(180deg);
}
/* Dropdown Button */
.dropbtn {
  background-color: #00a385; /* red */
  border: none;
  color: white;
  padding: 7px 14px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  width: 50px;
  margin: 4px 2px;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  opacity: 0.8;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline;
  float: right;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0px;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* 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:flex;}

/* Set a style for all buttons */
#fbutton {
  background-color: #00a385;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* Add a hover effect for buttons */
button:hover {
  opacity: 0.8;
}

/* Center the avatar image inside this container */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
  width: 60%;
}

/* Add padding to containers */
.container2 {
  padding: 16px;
}
#dropmeny, #dropmeny2 {
  display: none;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    background: rgba(250, 250, 250, 0.2);
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    position: absolute;
}
#logga{
  float: left;
  width: auto;
  margin: none;
  margin-left: 2%;
}
#header {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  height: 50px;
  margin: none;
  display: block;
  margin-bottom: 10px;
  padding: 5px;
  padding-bottom: 0px;
  position: absolute;
  width: 100%;
  top:0px;
  background-color: white;
}
#botten {
  display: none;
}
@media only screen and (max-width: 1200px) {
#logga {
  margin-left: 0px;
}
}
@media only screen and (max-width: 500px) {
  #logga img {
  width: 150px; 
}
#dropmeny {
  top: 25%;
}
#dropb{
  margin-right: 0px;
}
}