body {
  display: flex;
  margin: 0;
  position: relative;
}

header {
  display: flex;
  flex-direction: column;
  position: fixed;
  background-color: #efefef;
  top: 0;
  width: 100%;
  min-height: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10rem;
  margin-bottom: 10rem;
}

article {
  display: flex;
  flex-direction: column;
  width: 50%;
}

footer {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  color: #9b9b9b;
  background: #121212;
  font-family: frutiger;
  font-size: 1.2rem;
  text-align: center;
}

#by {
  position: static;
}

.center {
  display: flex;
  justify-content: center;
}

a {
  color: #1779ba;
}

a:hover,
a:focus,
a:visited {
  color: #142e54;
}

*[tabindex]:focus,
a:focus {
  border: 0.5vh solid black;
  border-radius: 2%;
  outline: none;
}

#ImgLogo {
  float: right;
  width: 100px;
  height: 100px;
  margin-right: 50px;
}

/*otherside*/
.otherside {
  position: absolute;
  bottom: 0rem;
  top: 6rem;
  right: 0;
  width: 40%;
  box-sizing: border-box;
  overflow: scroll;
  padding: 1rem;
  padding-left: 33px;
}

/*mapside*/
.mapside {
  position: absolute;
  top: 7rem;
  left: 0;
  width: 60%;
  height: 73%;
}

/* The navigation bar */
#navbar {
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 2.5rem;
  align-items: center;
  padding: 1.2rem;
}

#navbar li {
  list-style: none;
  position: relative;
  width: 100%;
}

/* Links inside the navbar */
#navbar a {
  float: left;
  display: block;
  border-left: 1px solid #121212;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  font-family: BoldFrutiger;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  color: #8b8b8b;
  text-decoration: none;
}

#navbar a:active {
  color: #121212;
}

#navbar a:hover {
  color: black;
}

/*Sections on otherside*/

#Poi {
  border: 2px solid #efefef;
  border-radius: 5px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

#Walk {
  margin-top: 30px;
  padding: 1.25rem;
  border: 2px solid #efefef;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}

#Task {
  margin-top: 30px;
  border: 2px solid #efefef;
  border-radius: 5px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

#Help {
  margin-top: 30px;
  margin-bottom: 8rem;
  padding: 1.25rem;
  border: 2px solid #efefef;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

/*Form*/
form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 1rem 1rem 0rem 1rem;
  text-align: left;
}

input {
  display: flex;
  align-items: left;
  margin: 10px 0px 5px 0px;
}

input[type="text"],
select,
textarea {
  padding: 12px;
  border: 2px solid gray;
  border-radius: 5px;
  resize: vertical;
  font-family: rockwell;
  font-size: 14px;
}

textarea {
  align-items: left;
}

label {
  padding: 0px 8px 12px 0;
  display: flex;
  font-family: rockwell;
  margin: 20px 0px 0px 0px;
}

input[type="submit"] {
  background-color: white;
  border: 2px solid gray;
  color: black;
  padding: 15px 32px;
  text-align: center;
  font-size: 16px;
  border-radius: 5rem;
  width: 8rem;
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.2), 0 6px 13px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
  float: right;
  margin: 1rem;
}

input[type="submit"]:hover {
  background-color: green;
}

.pRadio {
  text-align: left;
}

li {
  list-style: none;
}

input[type="file"] {
  display: none;
}

/*text*/
p {
  font-family: frutiger;
  font-size: 0.9rem;
  margin: 10px 20px 5px 0px;
}

h1 {
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5rem;
  letter-spacing: 0.0625rem;
  word-break: break-word;
  font-family: Rockwell;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 0 0 1%;
}

h2 {
  display: flex;
  flex-direction: row;
  padding-top: 2rem;
  margin: 0 1% 1% 0;
  font-family: Rockwell;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.0625rem;
  word-break: break-word;
}

h3 {
  display: flex;
  flex-direction: row;
  padding-top: 2rem;
  margin: 0px 10px 10px 0px;
  font-family: Rockwell;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.0625rem;
  word-break: break-word;
}

/*Buttons*/
button {
  float: right;
  background-color: white;
  border: 2px solid gray;
  color: black;
  padding: 15px 32px;
  text-align: center;
  font-size: 14px;
  font-family: BoldFrutiger;
  border-radius: 5rem;
  outline: none;
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.2), 0 6px 13px 0 rgba(0, 0, 0, 0.19);
  margin: 1rem 0.5rem 0.5rem 0.5rem;
  max-width: 10rem;
}

button:hover {
  background-color: #3e8e41;
}

button:active {
  outline: none;
  background-color: #3e8e41;
}

#button-group {
  margin-right: 1%;
}

/*Footer and logo*/
.footer {
  position: fixed;
  bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  height: 78px;
  color: #9b9b9b;
  background: #121212;
  font-family: frutiger;
  font-size: 14px;
  text-align: center;
}

.content {
  margin: 0px auto;
}

.foot {
  display: inline;
  line-height: 70px;
}

.content img {
  height: 70px;
  width: 70px;
  float: right;
  margin-right: 10px;
}

/*Hide and toggle*/
#textfieldmap {
  overflow: hidden;
  background-color: #efefef;
  position: fixed;
  top: 0;
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
  padding: 0 1.875rem;
}

/*SpecialDivs*/
#tasks {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  margin: 4rem;
}

div#createnewwalk {
  margin: 0px;
  display: flex;
  flex-direction: column;
}

#headingDivTask {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

#headingDivPoi {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

/*Upload buttons etc*/

.custom-file-upload {
  border: 1px solid #ccc;
  cursor: pointer;
  background-color: white;
  border: 2px solid gray;
  color: black;
  padding: 15px 32px;
  text-align: center;
  font-family: BoldFrutiger;
  font-size: 14px;
  border-radius: 5rem;
  outline: none;
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.2), 0 6px 13px 0 rgba(0, 0, 0, 0.19);
  margin: 0rem 0rem 0rem 0rem;
  max-width: 45px;
}

.custom-file-upload:hover {
  background-color: #3e8e41;
}

.custom-file-upload:active {
  outline: none;
  background-color: #3e8e41;
}

#uploadSectionWalk {
  display: flex;
  flex-direction: row;
  padding: 1rem;
}

#editTaskChoosePoiDiv {
  text-align: left !important;
}

/*image*/

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

.container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.imgPreview {
  height: 200px;
  width: 200px;
  border: 1px solid;
}

.imageUploadRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.imageLabelContainer {
  width: 130px;
}

/*message 404*/
#message {
  background: white;
  max-width: 360px;
  margin: 100px auto 16px;
  padding: 32px 24px 16px;
  border-radius: 3px;
}

#message h2 {
  color: #ffa100;
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 8px;
}

#message h1 {
  font-size: 22px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 16px;
}

#message p {
  line-height: 140%;
  margin: 16px 0 24px;
  font-size: 14px;
}

#message {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.imgcontainer {
  text-align: right;
  margin: 0px 0 12px 0;
}

#fourImg {
  height: 3rem;
}

/*Sets for styling h1, ul, li inside of divs */

.mapside h1 {
  text-align: left;
}

ul#tasks {
  display: flex;
  flex-direction: column;
  margin: 0px;
  padding-left: 0rem;
}

ul {
  padding-inline-start: 0px;
}

#tasks li {
  padding-bottom: 0%;
  padding-top: 0%;
  height: 6rem;
  margin: 1em;
  border: 2px solid #8b8b8b;
  border-radius: 1rem;
}

#try {
  font-size: 17px;
  font-weight: bold;
  text-align: left;
  padding-left: 20px;
  margin-top: 3%;
  margin-bottom: 2%;
}

#buttonChoosePoiTask {
  float: left;
  margin-right: 50px;
}

#Help p {
  font-size: 14px;
  margin: 10px 20px 5px 0px;
  font-family: rockwell;
  line-height: 1.25;
}

.widthHundred {
  width: 100%;
}

.checkbox {
  margin: 0 !important;
}

.fileUpload {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem 1rem 1rem 0px;
}

.deleteIcon {
  font-size: 28px;
  display: flex;
  align-items: center;
  padding-left: 9px;
}

.centerVertically {
  display: flex;
  align-items: center;
}

.taskAlternative{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.columnContainer {
  display: flex;
  flex-direction: column;
}

.rowContainer {
  display: flex;
  flex-direction: row;
}

.radioContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.spaceEvenly {
  justify-content: space-evenly;
}

.paddingLeft {
  padding-left: 20px;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}

#cancelIntroImage {
  display: flex;
  align-items: center;
  padding-top: 34px;
}

#cancelYoutube {
  display: flex;
  align-items: center;
  padding-left: 15px;
}

/*Sekretesspolicy */
#sek {
  padding: 20%;
  background: white;
  margin: 100px auto 16px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

#topSek {
  position: fixed;
  background-color: #efefef;
  top: 0;
  width: 100%;
  min-height: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#hsek{
  display: block;
  position: relative;
  top: 30px;
  left: 10px;
  text-align: left;
  margin-top: 10px;
  line-height: 2rem;
}

#sekImg {
  float: right;
  width: 100px;
  height: 100px;
  margin-right: 50px;
}

#box {
  max-width: 100%;
  text-align: center;
}

#box h2 {
  justify-content: center;
  padding-bottom: 0.5rem;
}

#submitWalk {
  margin-top: 20px;
}

hr {
  width: 50%;
  margin-top: 50px;
  margin-bottom: 50px;
  border-top: 1px solid black;
}

/*Media screens*/

@media screen and (max-width: 1000px) {
  #navbar {
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 30%;
    min-height: 2.5rem;
    align-items: center;
    padding: 1.2rem;
  }

  h1,
  h2 {
    font-size: 20px;
  }
}

/*fonts*/
@font-face {
  font-family: Rockwell;
  src: url("./fonts/Rockwell\ Std/RockwellStd-Bold.ttf") format("truetype");
}

@font-face {
  font-family: rockwell;
  src: url("./fonts/Rockwell\ Std/RockwellStd-Light.ttf") format("truetype");
}

@font-face {
  font-family: frutiger;
  src: url("./fonts/Frutiger/FrutigerLight.ttf") format("truetype");
}

@font-face {
  font-family: BoldFrutiger;
  src: url("./fonts/Frutiger/FrutigerLTBold.ttf") format("truetype");
}

@font-face {
  font-family: Lobster;
  src: url("./fonts/Lobster/Lobster-Regular.ttf") format("truetype");
}
