

:root {
  --AABTblaa: #00a7c0;
  --racing: "Racing Sans One", sans-serif;
  --lato: "lato", sans-serif;
}


/*{
  box-sizing: border-box;
}*/







h2 {
  color: var(--AABTblaa);
  font-family: "Racing sans one";
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  margin-bottom: 0%;
}

h3,h4,h5,h6 {
  color: var(--AABTblaa);
  font-family: "lato";
}

p {
  font-family: "lato";
  margin-left: 0px;

}

h1 {
  color: var(--AABTblaa);
  font-family: var(--racing);
  font-weight: 400;
  font-style: normal;
  font-size: 600%;
  margin: 0%;
  text-align: center;
}

.header {
  margin-top: 20px;
  text-align: center;
  position: relative;
  width: 80%;
  left: 10%;
  display: inline-flex;
  flex-wrap: wrap;
}

#Hp {
  padding: 55px;
}

#logo {
  width: 25%;
  height: 25%;
  padding-right: 50px;
}

/* Header/logo Title - hvis man sætter padding til 0 px går siderne ved, så billeder kan komme ud til siderne, men så bliver der hvidt i toppen - altså ved index*/

/* Header for ungdom/logo Title 
  .headerUngdom {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}*/

/* Header for senior/logo Title */
  .headerSenior {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}

/* Header for nyt medlem/logo Title */
  .headerNytMedlem {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}

/* Header for årts program/logo Title */
  .headerÅretsProgram {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}

/* Header for kontakt/logo Title
  .headerKontakt {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}*/

/* Header for galleri/logo Title */
  .headerGalleri {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}

/* Header for sponsorer/logo Title */
  .headerSponsorer {
  padding: 80px;
  text-align: center;
  background: #00a7c0;
  color: white;
}






/* Style the top navigation bar */
.navbar {
  overflow: hidden;
  background-color: white;
  margin-top: 5px;
  font-family: var(--lato);
  font-size: 13px;
}


/* Style the navigation bar links */
.navbar a {
  float: right;
  display: inline;
  color: black;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  color: var(--AABTblaa);
}

/*sætter den aktive side til farvet */
.navbar a.active {
  color: var(--AABTblaa);
}

/* Column container */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
/*.side {
  -ms-flex: 25%; /* IE10 */
/*  flex: 25%;
 padding: 10px;
}*/

/*.main {   
  display: flex;

  /*-ms-flex: 70%; /* IE10 */
 /* flex: 70%;*/
 /*background-color: white;
  padding: 20px;
} */


.maink {
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 5%;
}

.mainp {
  margin-left: 10%;
  margin-top: 5%;
  text-align: left;
  width: 80%;
  margin-bottom: 50px;
  table {
    margin-left: left;
    margin-right: auto;
  }
  a {
    font-family: var(--lato);
  }
}


table {
  font-family: var(--lato);
  text-align: center;
}


.main {
  display: flex;
  flex-wrap: wrap;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 5%;
}

article {
  text-align: left;
  width: 45%;
  padding-right: 20px;
  padding-left: 20px;
  margin-bottom: 5%;
}

.billedearticle {
  width: 50%;
  margin-bottom: 5%;

}

#billedearticleindex {
  width: 30%;
}


/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #00a7c0;
  color: white;
  font-family: var(--lato);
  margin: -10px;
}

.footer a {
  color: white;
}


/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
    border-bottom: 20px;
  }

  article {
    text-align: center;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 5%;
  }
  
  .billedearticle {
    width: 100%;
    margin-bottom: 5%;
  }

  #billedearticleindex {
    width: 100%;
  }
  p {font-size: 10px;
  text-align: left;}
  
  h1 {text-align: center;
    font-size: 50px;
    width: 100%;
  }

  .header {
    margin-top: 20px;
    text-align: center;
    position: relative;
    width: 100%;
    left: 0%;
    float: center;
  }

  #Hp {
    padding: 0px;
  }

  #logo {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }


  .navbar a {
    float: none;
    width: 100%;
    padding: 0px;
    padding-left: 10px;
    padding-right: 10px;
  }

}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  article {
    text-align: center;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 5%;
  }
  
  .billedearticle {
    width: 100%;
    margin-bottom: 5%;
  }

  #billedearticleindex {
    width: 100%;
  }
  p {font-size: 10px;}
  
  h1 {text-align: center;
    font-size: 50px;
  margin-left: 5%;}

  .header {
    margin-top: 20px;
    text-align: center;
    position: relative;
    width: 80%;
    left: 0%;
    float: center;
  }

  #logo {
    width: 50%;
    margin-left: 40%;
  }

  .navbar a {
    float: none;
    width: 100%;

  }


}


a {color: #00a7c0}
a:hover {color: black;}

#knap {color: black;
  font-family: var(--lato);
}


/* hvordan tabellen i årets program bliver stylet */
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding-top: 7px;
  padding-right: 7px;
  padding-bottom: 7px;
  padding-left: 7px;
}

tr:nth-child(even) {
  background-color: #D6EEEE;
}


#forsidebillede {
  width: 20px;
  height: 20px;
}


