


.readmore{
  cursor: pointer; 
}

.readless{
  cursor: pointer; 
}

/* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scrolling if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    position: relative; /* Needed for absolute positioning of close button */
}

/* Close button */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
}

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


/* Media container */
#mediaContainer {
  display: flex;
  flex-wrap: wrap;
}

/* Individual media items */
#mediaContainer img {
  padding: 20px;
  margin: 10px;
  max-width: calc(50% - 22px); /* Subtract 2px for border */
  max-height: 50%;
  object-fit: contain; /* Maintain aspect ratio without stretching */
  border: solid 1px  #e0e0e0;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

#mediaContainer video {
    margin: 10px auto 10px auto;
}



.entry-categories-inner { display: none; }

.black {
/*	background-image: url( "https://bcycracing.org/wp-content/uploads/2020/01/cropped-NEW-HEADER-2-1.jpg" ) !important;
	padding-top: 120px;
	background-repeat: no-repeat !important;
	background-size: 100% 65% !important;*/
}


body {
  color: black;
  background: linear-gradient(45deg, #f5f5f5, #e0e0e0); /* Subtle gradient background */
  
}

.container {
  display: flex; /* or inline-flex */
   flex-wrap: wrap;
}

.item {
  flex: 0 0 auto;	
  margin: 5px;
  width: 560px;
  transition: filter 0.5s ease, transform 0.5s ease; 
  cursor: pointer; 
}

.item img{
  max-height: 400px;
}

.item:hover{
  filter: none; /* Remove the grayscale filter on hover */
  transform: scale(1.05);
}

.youtube {
  max-width: 500px;
  margin:0px auto;
  background-color: white;
  padding: 5px;
}

.youtube p{
  color: black;
}

#Stemningsbilleder {
  max-width: 500px;
  max-height: 1000px;
  margin:0px auto;
  overflow: auto;
}

img {
  width: 100%;
  height: auto;
}

.header-navigation-wrapper {
    display: none;
}

.header-titles{
  center;
}

/*.site-title{
  font-size: 4rem;
}*/

#site-header .header-titles-wrapper {
  margin-right: 0px;
  max-width: 100%;
  width: 100%;
  padding: 0px;
}

#site-header .header-titles {
  margin-left: auto;
  margin-right: auto;
}

.menu-modal,
.header-navigation-wrapper,
.nav-toggle {
    display: none !important;
}

#site-header{
  display: none !important;
}


.header-inner{
  padding: 2rem 0;
}

/*.threeBoxes{
  background-image: url('https://mrjohnjohn.dk/wp-content/uploads/2022/05/pexels-vishnu-r-nair-1105666-scaled.jpg');
}*/

.cover{
  width: 100%;
  height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
/*  text-align: center;*/
  display: flex;
  align-items: flex-end; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  background-position: bottom;
}

.footer-copyright{
  display: none;
}

.to-the-top{
  display: none;
}

#site-footer .section-inner{
  justify-content: center;
}

#title {
  font-size: 8em;
  font-family: Helvetica, Sans-Serif;
  color: #181818;
  margin: auto;
  font-weight: bold;
}

#tagline{
  font-family: Helvetica, Sans-Serif;
  color: black;
  font-size: 1.5em;
}

.titleContainer {
  padding-bottom: 10px;
  /*background-color: rgba(0,0,0,0.5);*/
  text-align: center;
}

/*img, video, object, embed {
max-width: 100%;    
height: auto;
overflow:hidden !important;
}*/

.post-1{
  display: none;
}

.threeBoxes{
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.threeBoxes h3{
  margin: 1rem 0 2rem;
}

.input-field {
  font-size: 1em;
}

.info {
  display: none;
  font-size:  1.1em;
}

.laesMindre{
  text-align: center;
  font-size: 1em;
}

.threeBoxes {
  opacity: 1;
  flex-wrap: wrap;
  align-items: flex-start;
}

.column-container {
  width: 100%;
  
  //flex-wrap: wrap;
}


.laesMere {
  cursor: pointer;
  color: red;
}

.laesMindre {
  cursor: pointer;
  color: red;
}

blockquote {
    padding: 10px 10px 10px 25px;
    margin: 0 0 20px;
    border-left: 5px solid #C41E3A; /* White left border */
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

.youtube {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.item {
            max-width: 600px;
            margin: 20px auto;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }

        .item img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .item h2 {
            color: #333;
            font-size: 24px;
            margin-bottom: 10px;
        }

.item p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.read-more {
  display: block;
}

.additional {
  display: none;
} 


@media only screen and (max-width: 600px) {
  .read-more {
    display: block;
  }

  .additional {
    display: none;
  }

  
  
  .modal-content {
    margin: 10% auto;
    padding: 5px;
    border: 1px solid #888;
    width: 100%;
    position: relative;
  }
  
  
  #mediaContainer img {
    padding: 5px;
    margin: 5px 0 15px 5px;
    max-width: calc(100% - 12px); /* Subtract 2px for border */
    max-height: auto;
    object-fit: cover; /* Maintain aspect ratio without stretching */
    border: solid 1px  #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Shadow effect */
  }
  
  .item:hover{
    /*filter: none; /* Remove the grayscale filter on hover */
    transform: scale(1);
  }


  #title {
    font-size: 50px;
  }

  .threeBoxes{
    flex-direction: column;
  }

  .threeBoxes h3{
    margin: 5rem 0 2rem;
    font-size: 5rem;
  }


  .item {
    width: auto;
    filter: none;
  }

  .info {
    font-size:  0.7em;
  }

  .laesMindre{
    font-size: 2em;
    color: red;
  }

  .laesMere {
    color: red;
  }


  /*  ._10b4{
     overflow-y: hidden !important;
     }*/

}


label {
  color: black;
}


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

  .item {
    max-width: 560px;
    margin: 10px 15px 10px 15px;
    filter: none;
  }








