/* Portfolio with filtering */
/* The "show" class is added to the filtered elements */
.show-portfolio {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: blue;
  cursor: pointer;
  color: white;
}

/* Add a red background color on mouse-over */
.btn:hover {
  background-color: red;
  color: blue;
}

/* Add a red background color to the active button */
.btn.active {
  background-color: grey;
  color: white;
}

/* remove active color after click */
.btn.active:focus {
  background-color: red;
  color: white;
}

/* End portfolio with filtering */


/*------------------------------*/
/* Social media button on intro */

/* Ikoner intro seksjon. Fjern hvis navbar blir bugget */

      

      #facebook2:hover {
          opacity: 0.7;
      }

      #instagram2:hover {
          opacity: 0.7;
      }

      #twitter2:hover {
          opacity: 0.7;
      }



      #facebook2 {

        background: #3B5998;
        color: white;
        padding: 20px;
        font-size: 30px;
        width: 70px;
        text-align: center;
        text-decoration: none;
        margin: 5px 2px;
        border-radius: 50%;
        
        
      }

      #instagram2 {
        background: #125688;
        color: white;
        padding: 20px;
        font-size: 30px;
        width: 70px;
        text-align: center;
        text-decoration: none;
        margin: 5px 2px;
        border-radius: 50%;
        
       
      }

      #twitter2 {
        background: #55ACEE;
        color: white;
        padding: 20px;
        font-size: 30px;
        width: 70px;
        text-align: center;
        text-decoration: none;
        margin: 5px 2px;
        border-radius: 50%;

        
      }

      @media screen and (max-width: 1000px;) {

        #instagram2, #twitter2, #facebook2 {

          display: none;

        }


      }

      .social-links {

        padding: 
        margin-bottom: 50px;

      }

 

/*------------------------------*/
/* Social media button on intro */






/* kul header */

.headerblue {

text-align: center; 
color: blue; 
background-color: red; 
padding: 10px; 
opacity:0.8; 
border: 5px solid blue;


}




/* Active scroll funksjon - skifter farge når aktiv seksjon endres */

/* RESET CSS */
 
nav ul li a.selected {
    color: #222222;
    background-color: red;
}



/* Active scroll funksjon - skifter farge når aktiv seksjon endres */



/*-------------------------------------------------------*/

/* Gjør at heading på seksjon ikke overlappes av navbar 
   Sett a href til klassen anchor                       */


.anchor section {
  display: block;
  position: relative;
  top: -250px;
  visibility: hidden;
}

/* Gjør at heading på seksjon ikke overlappes av navbar */

/*-------------------------------------------------------*/






/* Caption over bilde bakgrunn */

.container-image {
  position: relative;
}

.bg-heading {

  background-color: black;
  color: white;
  
  position: absolute;
  bottom: -20px;
  padding: 3px;
  padding-left: 10px;

}

/* Bottom right text */
.text-block {

  position: absolute;
  bottom: 10px;
  margin-right: 5%;
  margin-left: 5%;
  background-color: white;
  
  color: white;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  font-size: 10px;
}

.text-block:hover {

  position: absolute;
  bottom: 10px;
  margin-right: 5%;
  margin-left: 5%;
  background-color: blue;
  
  color: white;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  font-size: 10px;
}

/* Bottom right text */
.text-block-sm {

  position: absolute;
  bottom: 60px;
  margin-right: 5%;
  margin-left: 5%;
  background-color: black;
  
  color: white;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 12px;
}

.container-image {
  position: relative;
}

.postThumbnail {
  object-fit: cover;
  height: 300px;
  width: 500px;
}

.date-score-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.date-score {
  text-align: center;
  font-size: 0.8rem;
  align-items: center;
}

.team-container {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
}

.team-name {
  margin-right: 10px;
  text-align: left;
}

.score {
  float: right;
}

.teamLogo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 4px 10px;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  /* border: 1px solid #000; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

/* Bottom left text */
.basicheader {
  position: absolute;
  bottom: 8px;
  left: 16px;
  background-color: white;
  color: blue;
  padding: 6px;
  
  font-size: 1.3em;
}

/* Bottom left text */
.basicheader-sm {

  display: inline;
  position: absolute;
  bottom: 8px;
  left: 16px;
  background-color: white;
  color: blue;
  padding: 6px;
  
  font-size: 1em;
}

.basicheader:hover {

  display: inline;
  position: absolute;
  bottom: 8px;
  left: 16px;
  background-color: blue;
  color: white;
  padding: 6px;
 

}

.basicheader-sm:hover {

  position: absolute;
  bottom: 8px;
  left: 16px;
  background-color: blue;
  color: white;
  padding: 6px;
  

}


.text-over-image {

  bottom: 8px;
  left: 6px;
  background-color: white;
  color: blue;
  padding: 4px;
  position: absolute;
  font: arial bold;
}

.text-over-image:hover {

  bottom: 8px;
  left: 6px;
  background-color: blue;
  color: white;
  padding: 4px;

}


/* Vertikal linje med farge til nyheter */

.vl {
  border-left: 6px solid blue;
  height: 30px;
  position: absolute;
  left: ;
  margin-left: -14px;
  margin-top: 5px;
  margin-right: 50px;
  top: 0;
}

.vl-red-small {
  border-left: 6px solid red;
  height: 50px;
  position: absolute;
  left: ;
  margin-left: 3px;
  margin-top: 4px;
  margin-right: 50px;
  top: 0;
}

.vl-red-small2 {
  border-left: 6px solid red;
  height: 20px;
  position: absolute;
  left: ;
  margin-left: 3px;
  margin-top: 4px;
  margin-right: 50px;
  top: 0;
  
}

.vl-red {

  border-left: 6px solid red;
  height: 23px;
  position: absolute;  
  margin-left: -14px;
  margin-top: 5px;
  margin-right: 50px;
  top: 0;
}

.vl-green {

  border-left: 6px solid green;
  height: 23px;
  position: absolute;
  left: ;
  margin-left: -14px;
  margin-top: 5px;
  margin-right: 50px;
  top: 0;
}

.vl-pink {

  border-left: 6px solid pink;
  height: 23px;
  position: absolute;
  left: ;
  margin-left: -14px;
  margin-top: 5px;
  margin-right: 50px;
  top: 0;
}



@media screen and (max-width: 800px;) {

  .tabell {

    width: 100%;

  }

  .newswidth {

    width: 100%;

  }

}

.shadow {
  text-shadow: 2px 2px black;
}



.column1 {

  float: left;
    width: 98%;
    padding: 1%;

}

.column2 {

  float: left;
  width: 48%;
  padding: 1%;

}

.column2-news {

  float: left;
  width: 49%;
  padding: 0.5%;
  background-color: white;

}

.column3 {

  float: left;
  width: 24%;
  padding: 1%;

}

/* Meet the team */

/* Three columns side by side */
.column4 {
  float: left;
  width: 31.3%;
  margin-bottom: 16px;
  padding: 1%;
}

.column4-news {
  float: left;
  width: 31.7%;
  margin-bottom: 16px;
  padding: 0.5%;
  background: white;
  z-index: 999;
}

/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 600px) {
  .column, .column4, .column4-news {
    width: 100%;
    display: block;
  }

  .vl-red, .vl, .vl-pink, .vl-green {

    height: 20px;

  }
}

@media screen and (max-width: 1024px) {

  .vl-red, .vl, .vl-pink, .vl-green {

    height: 25px;

  }

}




/* Responsive layout - when the screen is less than 600px wide, make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column, .column2, .column3 {
    width: 100%;
  }

  .column2-news {

  float: left;
  width: 99%;
  padding: 0.5%;
  background-color: white;

  }

}


/* Add some shadows to create a card effect */
.card2 {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color: white;
}

.card2-padding {

  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 0.3%;
  

}

.view2 {

  background-color: transparent;

}

.view2:hover {

  background-color: black;

}






/*-------------------------//
// Modal lightbox function //
//-------------------------*/

/* The Modal (background) */

 

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 100px;
  right: 300px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  background-color: white;
  opacity: 0.3;
}

.prev {

  background-color: white;
  opacity: 0.3;

}



/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: white;
  opacity: 0.5;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* Modal slutt */

/*-------------------------//
// Modal lightbox function //
//-------------------------*/



/* Call To Action Section
--------------------------------*/
#call-to-action {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/boks.jpg") fixed center center;
  background-size: cover;
  padding: 80px 0;
  height: 400px;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

@media (max-width: 769px) {
  #call-to-action .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #call-to-action {
    height: 500px;
  }
}

#call-to-action .cta-btn {
  
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: blue;
  border: 2px solid red;
}

/* Call To Action Section
--------------------------------*/

#sponsor {

  margin-top: 0px;
  clear: none;
  padding: 0px;

}


@media (max-width: 769px) {

  #weather {

    display: none;

  }

}





/* Remove border radius on containers */


.noradius {

  border-radius: 0%;


}






/*-----------------------------------*/
/* Sortere tabell funksjon ----------


table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
    content: " \25B4\25BE" 
}*/

/* Sortere tabell funksjon ----------*/
/*-----------------------------------*/



/* Tabell style


table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
  bottom: .5em;
} */



