@import url("https://design.menighet.no/Portals/0/Menighet.css");

/*Filbehandler toolbar fix*/
#dnnModuleDigitalAssetsSelectionToolbar, #dnnModuleDigitalAssetsListViewToolbar, #dnnModuleDigitalAssetsListContainer, .dnnModuleDigitalAssetsGrid > table > thead > tr {
  min-height: 35px; 
}

.image-container-even a img {
        float: right;
        max-height: 410px;
}

.image-container-odd a img {
        float: left;
        max-height: 410px;
}

#slider {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center;
}


/* TOP MENU bootstrap */
.top-menu-bootstrap {
 max-width: 88% !important;
  margin: 0 auto;
  padding-bottom: 40px;
  text-align: center;
}
.menu-item-bootstrap {
border:2px solid #fff;
  border-radius: 5px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 500;
  font-size: 25px;
   transition: all .3s ease;
  text-align: center;
  background-color: #f2f2f2 !important;
}
 .menu-item-bootstrap a::after {
    content: '';
    display: block;
    margin-top: 10px;
    width: 40px;
    height: 4px;
    background: #D90011;
    transition: width .3s;
}
.menu-item-bootstrap a {
  display: inline-block;
  font-weight: 500;
  font-size: 25px;
}
@media only screen and (min-width: 800px) {
.top-menu-bootstrap {
display: block !important
}
.top-menu-mobil-bootstrap {
display: none !important;
}
}
@media only screen and (max-width: 800px) {
.top-menu-bootstrap {
display: none !important;
}
  
.top-menu-mobil-bootstrap {
display: block !important;
}
}
@media only screen and (min-width: 1050px) {
  .menu-item-bootstrap a:hover::after {
    width: 100%;
  }
}
@media only screen and (min-width: 800px) and (max-width: 1050px){
.top-menu-bootstrap {
 text-align: center !important;
}
}
@media only screen and (max-width: 780px) {
  .menu-item-bootstrap {
   margin-top: 10px;
  font-weight: 500;
  font-size: 22px;
  line-height: 40px;
   padding-top: 12px;
  padding-bottom: 20px;
  transition: all .3s ease;
}
}

/* TOP MENU bootstrap SLUTT */


/* til flere enn 4 påmeldingsknapper */
.menu-item{
  margin-bottom: 4px;
}
.tp-bullets {display:none;}

.ContactDiv {
  float:left;
  width:264px;
  height:126px;
}
.ConatctImageDiv {
  float:left;
  width:80px;
  height:120px;
}
.ContactInfoDiv {
  float:left;
  width:164px;
  height:120px;
}
.ContactDiv2 {
  float:left;
  width:264px;
  height:86px;
}
.ConatctImageDiv2 {
  float:left;
  width:80px;
  height:80px;
  background:lightgrey;
  box-shadow: 5px 5px grey;
}
.ContactInfoDiv2 {
  float:left;
  width:164px;
  height:80px;
  background:#F0ECE7;
  box-shadow: 5px 5px grey;
  padding-left: 10px;
}

.ContactDiv3 {
  float:left;
  width:264px;
  height:126px;
}
.ConatctImageDiv3 {
  float:left;
  width:80px;
  height:110px;
  background:lightyellow;
  box-shadow: 5px 5px grey;
  padding-top: 10px;
  padding-left: 5px;
}
.ContactInfoDiv3 {
  line-height: 1.0;
  float:left;
  width:164px;
  height:110px;
  background:lightyellow;
  box-shadow: 5px 5px grey;
  padding-left: 5px;
  padding-top: 10px;
}

.button-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Mobilvisning: Sett knappene vertikalt, venstrestilt og større */
@media (max-width: 600px) {
  .button-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .paamelding {
    padding: 20px 30px !important;
    font-size: 1.2em !important;
    min-width: 100% !important;
    box-sizing: border-box;
  }
}

.paamelding {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  text-align: center;
  min-width: 150px;
}

/* Egen løsning kun for denne ene knappeblokken */
.button-container.button-row-fixed {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.button-container.button-row-fixed .paamelding {
  display: block;
  width: 150px;
  min-width: 150px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .button-container.button-row-fixed {
    grid-template-columns: 1fr;
  }

  .button-container.button-row-fixed .paamelding {
    width: 100%;
    min-width: 100% !important;
  }
}
/* til flere enn 4 påmeldingsknapper SLUTT */







