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

/* Skalering banner */
#slider {
  background-position: center center;
  background-size: contain !important;
  background-color: #fff !important;
  background-repeat: no-repeat;
}
/* Skalering banner SLUTT */
/*To-i-bredden artikkelvisning*/
.article-half {
    width: 49%;
  	padding-right: 1%;
    float: left;
}
.article-half a {
    width:100%; 
    max-height: 300px;
    overflow: hidden;
}
.article-half .article-img {
  object-fit: cover;
  height:330px;
  float: left;
  /*overflow: hidden;*/
}

.article-half h1 {
  min-height: 80px;
    font-size: 30px;
}
.article-half-container {
  padding-left: 5%;
  padding-right: 5%;
}
@media only screen and (max-width: 750px) {
    .article-half {
        width: 100%; 
        padding-right: 0%; 
        float: none;
    }
}

/* second acordeon styles */
.tabTwo {
  position: relative;
  margin-bottom: 1px;
  margin: 0 auto;
  color: #fff;
  overflow: hidden;
}

.tabTwo input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.tabTwo label {
  position: relative;
  display: block;
  padding: 5px;
  font-weight: 500;
  font-size: 22px;
  color: #555;
  line-height: 2;
  cursor: pointer;
  border-bottom: solid 1px #ddd;
}

.tabTwo-content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}

.blue .tabTwo-content {
  background: #3498db;
}

.tabTwo-content p {
  margin: 5px;
}

/* :checked */
.tabTwo input:checked~.tabTwo-content {
  max-height: 100vh;
}

/* Icon */
.tabTwo label:before {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 700;
  content: "\f105";
  color: #D90011;
  float: left;
  margin-right: 10px;
  font-size: 150%;
  line-height: 120%;
}

.tabTwo-text {
  max-width: 300px;
  display: inline-block;
  vertical-align: top;
}

.tabTwo-image {
  width: 300px;
  height: 200px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: middle;
  display: inline-block;
  vertical-align: top;
  float: right;
}

.besok-nettside {
  margin-top: 10px;
  border-bottom: solid 3px #D90011;
  color: #333 !important;
  padding: 8px;
  width: 260px;
  text-align: center;
  font-size: 15px !important;
  font-weight: 800;
  transition: all .3s ease;
}

.besok-nettside a {
  color: #333 !important;
  font-size: 15px !important;
}

.besok-nettside a:hover {
  color: #D90011 !important;
}

@media only screen and (max-width: 750px) {
  .introduksjon-fellesrad {
    max-width: 715px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0px 50px 0px;
  }

  .introduksjon-fellesrad h1 {
    font-size: 24px;
  }

  .tabTwo {
    position: relative;
    margin-bottom: 1px;
    margin: 0 auto;
    max-width: 800px;
    color: #fff;
    overflow: hidden;
  }

  .tabTwo-text {
    max-width: 300px;
    display: block;
  }

  .tabTwo-image {
    width: 100%;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: middle;
    display: block;
    vertical-align: top;
    float: none;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
/* second acordeon styles SLUTT */ 
/*skalering banner*/
/*@media only screen and (max-width: 1440px){
#slider {
  background-size: contain !important;
  background-repeat: no-repeat;
}
}*/
/*skalering banner SLUTT*/

/* Skalering banner */
#slider {
  background-position: center center;
  background-size: contain !important;
  background-color: #fff !important;
  background-repeat: no-repeat;
}
/* Skalering banner SLUTT */

/* 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;
        }
    }

    @media only screen and (max-width: 992px) {
        .menu-item-bootstrap a::after {
            content: '';
            display: block;
            width: 40px;
            height: 4px;
            background: #D90011;
            transition: width .3s;
            margin: 0 auto !important;
            margin-top: 10px !important;
        }
    }

    /* TOP MENU bootstrap SLUTT */























