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

figcaption {font-style: italic; margin-bottom: 10px; font-size: 15px;}

img.someikon { height: 30px; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px; opacity: 0.5; }

.content-desktop table {font-size: 16px !important;}
.content-mobile table {font-size: 16px !important;}

.page-heading h2 {font-size: 12x !important}

.page-container-new p {font-size: 16px !important;}
.page-container-new h2 {font-size: 22px !important;}

.page-body p {font-size: 16px !important;}
.page-body h2 {font-size: 22px !important; margin-bottom: 25px; margin-top: 50px;}
.page-body h3 {text-transform: uppercase; font-weight: bold; font-size: 19px !important; margin-top: 30px;}
.page-body a {font-size: 16px !important;}
.page-body li {font-size: 16px !important;}

.bilde {
  float: right;
  border: 0px solid black;
  text-align: left;
  font-style: italic; 
  font-size: 15px;
  margin: 0 0 15px 20px;
}

.bildevenstre {
  float: left;
  border: 0px solid black;
  text-align: left;
  font-style: italic; 
  font-size: 15px;
  margin: 0 20px 15px 0px;
}

.page-ingress p {font-size: 20px !important; font-weight: normal !important;}
.page-ingress a {font-size: 20px !important; font-weight: normal !important;}

.spm h4 { text-transform: uppercase; font-size: 17px !important;}
.page-body h4 {font-size: 17px !important;}

h5 {font-size: 17px; font-weight: bold;}

iframe { float:right}

#mainMenu a:link {text-decoration: none !important;}

.tilbakemelding {
  margin-top: 50px;
  border-bottom: solid 3px #D90011;
  color: #333 !important;
  padding: 4px;
  width: 250px;
  text-align: center;
  font-size: 14px !important;
  font-weight: 800;
  transition: all .3s ease;
}

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

.tilbakemelding a:hover {
  color: #D90011 !important;
}

  .tilbakemelding:hover {
    color: #D90011;
    width: 260px;
  }

.les-mer:hover {
  color: #D90011 !important;
}

.les-mer-news:hover {
  color: #D90011 !important;
}

.myButton {
  margin-top:10px;
  margin-bottom:10px;
	background-color:transparent;
	border-radius:18px;
	border:3px solid #d90012;
	display:inline-block;
	cursor:pointer;
	color: #ffffff;
	font-weight:bold;
	padding:10px 20px;
	text-decoration:none;
}
.myButton:hover {
	background-color:#fff;
}
.myButton:active {
	position:relative;
	top:1px;
}

ol {
  display: block;
  list-style-position: outside;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 15px;
  margin-right: 0;
  padding-left: 30px;
}

ul {
  display: block;
  list-style-position: outside;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 15px;
  margin-right: 0;
  padding-left: 30px;
  }

li {
    font-size: 14px;
    color: #000;
}

#content-desktop {display: block;}
#content-mobile {display: none;}

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

#content-desktop {display: none;}
#content-mobile {display: block;}

}

#myInput {
  background-image: url('/css/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

#myUL {
  /* Remove default list styling */
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#myUL li a {
  border: 1px solid #ddd; /* Add a border to all links */
  margin-top: -1px; /* Prevent double borders */
  background-color: #f6f6f6; /* Grey background color */
  padding: 12px; /* Add some padding */
    font-size: 18px; /* Increase the font-size */
  color: black; /* Add a black text color */
  display: block; /* Make it into a block element to fill the whole list */
}

#myUL li a:hover:not(.header) {
  background-color: #eee;  /* Add a hover effect to all links, except for headers */
 
}

a:link {text-decoration: underline;}
a:visited {text-decoration: underline;}
a:hover {text-decoration: none;}
a:active {text-decoration: underline; font-style: oblique;}
a:focus {text-decoration: none; border: 1px #d90012;}

.page-ingress a:link {text-decoration: underline;}
.page-ingress a:visited {text-decoration: underline;}
.page-ingress a:hover {text-decoration: none !important;}
.page-ingress a:active {text-decoration: underline;}

.page-container-new a:link {text-decoration: underline;}
.page-container-new a:visited {text-decoration: underline;}
.page-container-new a:hover {text-decoration: none !important;}
.page-container-new a:active {text-decoration: underline;}

.melding a:link {text-decoration: underline;}
.melding a:visited {text-decoration: underline;}
.melding a:hover {text-decoration: none !important;}
.melding a:active {text-decoration: underline;}

.markdown-single a:link {text-decoration: none !important;}
.markdown-single a:visited {text-decoration: none !important;}
.markdown-single a:hover {text-decoration: none !important;}
.markdown-single a:active {text-decoration: none !important;}

.article-odd a:link {text-decoration: none !important;}
.article-odd a:visited {text-decoration: none !important;}
.article-odd a:hover {text-decoration: none !important;}
.article-odd a:active {text-decoration: none !important;}

.article-even a:link {text-decoration: none !important;}
.article-even a:visited {text-decoration: none !important;}
.article-even a:hover {text-decoration: none !important;}
.article-even a:active {text-decoration: none !important;}

.news-heading a:link {text-decoration: none !important;}
.news-heading a:visited {text-decoration: none !important;}
.news-heading a:hover {text-decoration: none !important;}
.news-heading a:active {text-decoration: none !important;}

.page-body a:link {text-decoration: underline;}
.page-body a:visited {text-decoration: underline;}
.page-body a:hover {text-decoration: none !important;}
.page-body a:active {text-decoration: underline;}

.article-phone a:link {text-decoration: none !important;}
.article-phone a:visited {text-decoration: none !important;}
.article-phone a:hover {text-decoration: none !important;}
.article-phone a:active {text-decoration: none!;}

a[href^="mailto"]:link {
  color: #000000 !important;
}
a[href^="mailto"]:visited {
  color: #000000 !important;
}
a[href^="mailto"]:hover {
  color: #d90012 !important;
}
a[href^="mailto"]:active {
  color: #000000 !important;
}

/*Tabell-utforming*/

.tabell table, th, td {
  border: 0px solid;
  padding: 5px;
  vertical-align: middle;
}

.tabell th { text-transform: uppercase; font-weight: bold; font-size: 16px; vertical-align: top;}
.tabell td b {font-size: 16px !important; vertical-align: top;}

.tabell tr:nth-child(even) {background-color: #f2f2f2;}

/* Søkefelt */

#SearchTxt {
  background-image: url('/css/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 35%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  font-weight: bold;
  padding: 10px 20px 10px 40px; /* Add some padding */
  border: 1px solid #bbb; /* Add a grey border */
  border-radius: 10px;
  margin-bottom: 12px; /* Add some space below the input */
  margin-right: 20px;
}

#SearchBtn {
    font-weight: bold;
    font-size: 16px;
    width: 75px;
    padding: 10px 0px 10px 0px; /* Add some padding */
   	border-radius:10px;
transition-duration: 0.4s;
}

#SearchBtn:hover {
  background-color: #d90012; /* Green */
  color: white;
}

/* Bildegalleri */
/* gallery */
.gallery {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 10vh auto;
  margin: 2em auto;
  max-width: 100%;
  width: 600px;
}

.gallery h2 {
  font-size: 30px;
  grid-column: 1/4;
}

.gallery a {
  cursor: zoom-in;
  transition: filter 0.2s ease-in-out;
}

.gallery a:hover {
  filter: brightness(90%);
}

.gallery .item strong {
  display: block;
  font-size: 1.5em;
  text-align: center;
}

.gallery img {
  border-radius: 1em;
  max-width: 100%;
}

.lightbox {
  background: rgba(0, 0, 0, 0.8);
  display: none;
  position: fixed;
  z-index: 1000;
}

.lightbox:target {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  right: 0;
  top: 0;
}

.lightbox img {
  border-radius: 1em;
  display: block;
  margin: auto;
  max-height: 80vh;
  max-width: 90vh;
}

.lightbox .close {
  color: #fff;
  font-size: 4em;
  font-weight: bold;
  height: 1em;
  position: fixed;
  right: 0;
  top: 0;
  width: 1em;
  z-index: 1001;
}

.lightbox p {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.flygel table, th, td {
  border: 0px #000 solid;
  padding: 5px;
  vertical-align: middle;
}

.flygel th { font-size: 16px; color: #fff; background-color: #000; vertical-align: top; font-weight: normal !important;}
.flygel td {font-size: 16px !important; vertical-align: top;}















