*{
    padding:0px;
    margin:0px;
    box-sizing: border-box;
}

h1{
    font-family:Verdana, Tahoma, sans-serif;
    font-size: 35px;
    text-align: center;
    margin: 10px 10px ;
}

.hemknapp{    
    margin: auto;
    flex-direction: row;
}

.hemknapp a {
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-decoration: none;
    font-size: 40px;
    text-align: center;
    display: block;
    color:#ddd;
    width: 360px;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.bg-img{
  background-image:url(https://t4.ftcdn.net/jpg/02/40/63/55/360_F_240635575_EJifwRAbKsVTDnA3QE0bCsWG5TLhUNEZ.jpg);


  /* Center and scale the image nicely */
  background-position:center;
  background-repeat: no-repeat;
  background-size:cover;

  /* Needed to position the navbar */
  position: relative;
  margin: auto;
  display: flex;

}
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float:left;
  flex-direction: row;
  display: block;
  color:#ddd;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  max-height: 48px;
  border:#333 solid 2px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  border: black solid 2px;
}


/* Add an active class to highlight the current page */
.topnav a.active {
  background-color:rgb(82, 0, 177);
  color:#ddd;
  border: rgb(82, 0, 177) solid 2px;
}

.topnav a.active:hover {
  background-color:#ddd;
  color:black;
  border:black solid 2px;
}


.topnav a:active{
  background-color: lightslategray;
}

.topnav a.active:active{
  background-color: rgb(119, 136, 153);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;

}
.topnav a.icon {
  background-color: rgb(82, 0, 177) ;
  height: 48px;
  border: rgb(82, 0, 177) solid 2px;

}
.undertext{
  font-size: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.kalender{
  margin-top: 0px;
   height: 600px;
  width: 100%;
  margin: auto;
  float: none;
}
.måndag{
  text-decoration: none;
}

table > tbody > tr > th{
  height: 150px;
}

.ledigatider{
  background-color:#474e5d;
  font-size: x-large;
  font-family:Verdana, Tahoma, sans-serif;
}
.ledigatider > th{
color:white;
font-size: 25px;
}
table,
table > tbody > tr > th,
table > tbody > tr > td{
  background-position:center;
  background-repeat: no-repeat;
  background-size:cover;
  text-align: center;
  border-collapse: collapse;
  border: black solid 2px;
}

table > tbody > tr > td{
  width: 100px;
  background-color:rgb(101, 140, 255);
}

table > tbody > tr > td:hover{
  background-color:#ddd;
}

table > tbody > tr > td > a{
  text-decoration: none;
  color:black;
  margin: auto;
  font-size: larger;
  font-family:Verdana, Tahoma, sans-serif;
  border: none;
}

.vecka{
  background-color: #474e5d;
}

.vecka:hover{
  background-color: #474e5d;
}

.bokad{
  background-color:rgb(82, 0, 177);
}
.bokad a{
  color:#ddd;
}
.bokad:hover{
  background-color: rgb(50, 1, 107);
}

table > tbody > tr > td:active{
  background-color:lightslategray;

}

table > tbody > tr > td > p{
  color:#ddd;
  font-size: larger;
  font-family:Verdana, Tahoma, sans-serif;
}

footer{
  width: 100%;
  background-image:url(https://t4.ftcdn.net/jpg/02/40/63/55/360_F_240635575_EJifwRAbKsVTDnA3QE0bCsWG5TLhUNEZ.jpg);
  background-position:center;
  background-repeat: no-repeat;
  background-size:cover;
  position: relative;
  margin: auto;
  display: flex;
  color:#ddd;
  text-align: center;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: large;
  text-decoration: none;
  text-align: center;
  display: flex;
  margin-top: 40px;
}

footer>address{
  margin: auto;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: flex;
    text-align: left;
  }
  .toppnav{
    background-color: #333;
    overflow: hidden;
    margin: auto;
    flex-direction: row;
    display: flex;
  }
  .hemknapp{
    width: 220px;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .hemknapp a {
    font-size:  25px;
    width: 220px;
    margin: auto;
    flex-direction: row;
    display: block;
    text-align: center;
  }
  table{
    max-height: 200px;
  }
  table > tbody > tr > td > a{
    font-size: smaller;
  }
  table > tbody > tr > td > p{
    font-size: smaller;
}
  table > tbody > tr > td{
    height: 70px;
}
table > tbody > tr > th{
  max-height: 150px;
}
}
@media screen and (max-width: 450px) {
   table > tbody > tr > td{
    height: 50px;
}
}
@media screen and (min-width: 600px ) {

  .topnav {
    background-color: #333;
    overflow: hidden;
    margin: auto;
    flex-direction: row;
    display: flex;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float:left;
    text-decoration: none;
    font-size: 17px;
    flex-direction: row;
    display: block;
    margin: auto;
    width: 400px;
  }
}

