* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  max-width: 100%;
}

article>section {
  background-color: #fff;
}


/*---------------------------------------------------*/

/* Nav bar */
/* Add a black background color to the top navigation */
header>nav.topnav {
  background-color: #0187a0;
  overflow: hidden;
  display: block;
  align-content: center;
}

header>nav.topnav>ul {
  list-style-type: none;
  display: none;
}

/* Style the links inside the navigation bar */
header>nav.topnav>ul>li>a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 24px 20px;
  text-decoration: none;
  font-size: 17px;
}

header>nav.topnav>h1 {
  font-size: 38px;
}

/* Change the color of links on hover */
header>nav.topnav>ul>li>a {
  background-color: #0187a0;
  color: black;

}

/* Add an active class to highlight the current page */
header>nav.topnav>h1 {
  background-color: #00b1cb;
  color: black;
  padding: 10px;
  margin: auto;
  text-align: center;
}

/* Hide the link that should open and close the topnav on small screens */
header>nav.topnav>.icon {
  display: none;
  background-color: #0187a0;
  padding: 19px;
  padding-top: 25px;

}

/*---------------------------------------------------*/

main>article.hem>section,
main>article.ommig>section {
  margin: auto;
  text-align: center;
  padding: 20px;
}

main>article.ommig {
  margin-top: 50px;
  margin-bottom: 75px;
}

main>article.tjanster {
  margin-top: 50px;
  margin-bottom: 75px;
}

main>article.kontakt {
  margin-top: 50px;
  margin-bottom: 75px;
}

main>article.ommig>section>h3 {
  padding: 20px;
}

main>article.ommig>section>p {
  padding: 20px;
}

/* Dropdown Button */
.dropbtn {
  background-color: #3498DB;
  padding: 16px;
  color: black;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980B9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0);
  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: block;
  margin: 160px;
  margin-top: -20px;
}


main>article.kontakt>section {
  margin: auto;
  text-align: center;
}

main>article.kontakt>section>p {
  padding: 20px;
}

main>article>section>h2 {
  margin-bottom: 20px;
}

main>article.tjanster>section>h2,
main>article.faq>section>h2 {
  text-align: center;
  padding-top: 20px;
}

main>article.tjanster>section>div.dropdown,
main>article.faq>section>div.dropdown {
  margin: auto;
  text-align: center;

}

main>article.tjanster>section>div.dropdown>button.dropbtn {
  padding: 18px 130px;
  margin: 15px;
  border-radius: 10px;
  border: solid black 1px;

}

main>article.tjanster>section>img {
  display: block;
  margin: auto;
  border: solid black 1px;
}

main>article.kontakt>section>img {
  display: block;
  margin: auto;
  border: solid black 1px;
}

main>article>section>img {
  width: 340px;
}


main>article.tjanster>section>table {
  margin: auto;
  text-align: center;
  width: 80%;
}



main>article.tjanster>section>table,
main>article.tjanster>section>table>tbody>tr>td,
main>article.tjanster>section>table>tbody>tr>th {
  border: black solid 3px;
  border-collapse: collapse;
}

main>article.tjanster>section>table {
  margin-top: 20px;
  margin-bottom: 50px;
}

main>article.tjanster>section>table>tbody>tr>td {
  padding: 20px;
}

main>article.faq>section>div.dropdown>button.dropbtn {
  padding: 18px 130px;
  margin: 30px;
  border-radius: 10px;
  border: solid black 1px;
}

/* Formuläret
/* Style inputs with type="text", select elements and textareas */
input[type=text],
select,
textarea {
  width: 100%;
  /* Full width */
  padding: 12px;
  /* Some padding */
  border: 1px solid #ccc;
  /* Gray border */
  border-radius: 4px;
  /* Rounded borders */
  box-sizing: border-box;
  /* Make sure that padding and width stays in place */
  margin-top: 6px;
  /* Add a top margin */
  margin-bottom: 16px;
  /* Bottom margin */
  resize: vertical
    /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #3498DB;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #2980B9;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: white;
  padding: 20px;
}

/* faq_form */

main>section.form {
  background-color: #00b1cb;
  margin: 50px 1px;
  border-radius: 90px;
  margin-left: 20px;
  margin-right: 20px;
}

main>article.faq>section {
  max-width: 900px;
  display: block;
  margin: auto;
  align-content: center;
}

main>section.form>h2,
main>section.form>h3 {
  display: block;
  margin: auto;
  text-align: center;
  justify-content: center;

}

main>section.form>h2 {
  padding: 50px;
  padding-bottom: 10px;
  padding-top: 100px;
}

main>section.form>h3 {
  padding: 70px;
  padding-top: 10px;
}

/*---------------------------------------------------*/
footer {
  background-color: #00b1cb;
}

footer>div>section {
  margin: auto;
  max-width: 300px;
}

footer>div>section>p {
  margin: auto;
  max-width: 300px;
}

footer>div>section>h3 {
  margin-top: 50px;
  padding-top: 40px;
  text-align: center;
}

footer>div>section>p {
  padding: 14px;
}

footer>div>section>small {
  display: block;
  text-align: center;
  margin-top: 15px;
}

/* 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) {
  header>nav.topnav>ul>li>a {
    display: none;
  }

  header>nav.topnav>a.icon {
    background-color: #00b1cb;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 18px;
    padding-top: 25px;
  }

  header>nav.topnav>ul {
    list-style-type: none;
    display: flex;
    flex-direction: column
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 678px) {
  header>nav.topnav.responsive {
    position: relative;
  }

  header>nav.topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  header>nav.topnav.responsive>ul>li>a {
    float: none;
    display: block;
    text-align: center;
  }

}

/* Surfplatta */
@media screen and (min-width: 600px) {
  header>nav>ul {
    display: flex;
    justify-content: center;
  }

  main>article.ommig {
    margin-top: 75px;
    margin-bottom: 100px;
  }

  main>article.tjanster {
    margin-top: 75px;
    margin-bottom: 100px;
  }

  main>article.kontakt {
    margin-top: 75px;
    margin-bottom: 100px;
  }

  main>article.ommig>section {
    width: 500px;
  }

  main>article.tjanster>section>img {
    width: 480px;
  }

  footer>div {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  footer>div>section {
    display: flex;
    flex-direction: column;
    max-width: 50%;
  }

  header>nav.topnav>ul {
    list-style-type: none;
    display: flex;

  }


}

/* Dator */
@media screen and (min-width: 1024px) {
  main>article.ommig {
    margin-top: 100px;
    margin-bottom: 125px;
  }

  main>article.tjanster {
    margin-top: 100px;
    margin-bottom: 125px;
  }

  main>article.kontakt {
    margin-top: 100px;
    margin-bottom: 125px;
  }
}