body {
	font-size: 14px;
	/* background-color: #c9e6f6; */
}

a {
    color: #003867;
    text-decoration: none;
}

h1, .h1 {
  	font-size: 36px;
  	font-weight: bold;
  	color: #003867;
}

.t3-header {
	background-color: #dfe0e2;
	border-bottom: 1px solid #003867;
}

.t3-header .navbar-default .navbar-nav > li > a {
    color: #003867;
  	font-size: 1.2em;
	font-weight: bold;
}


.t3-header .navbar-default {
    background-color: transparent;
	border-color: transparent;
	margin-top: 20px;
}

.nav-items > div:first-child {
	border-left: 1px solid #003867;
}

.nav-items > div {
	border: 1px solid #003867;
}

.navbar-default {
    background-color: #003867;
  	border: 0px;
	border-color: transparent;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
  	font-size: 1.2em;
	font-weight: bold;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #c9e6f6;
  background-color: transparent;
}

#t3-header .navbar-default .navbar-nav > .active > a, #t3-header .navbar-default .navbar-nav > .active > a:hover, #t3-header .navbar-default .navbar-nav > .active > a:focus {
  	color: #ffffff;
  	background-color: #e7e7e7;
  	background: transparent url("../images/menu-overlay.png") no-repeat;
  	background-position-x: 0%;
  	background-position-y: 0%;
  	background-position: center;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  	color: #ffffff;
  	background-color: #e7e7e7;
  	background: #003867 url("../images/menu-overlay.png") no-repeat;
  	background-position-x: 0%;
  	background-position-y: 0%;
  	background-position: center;
}


.t3-content .item-page {
    background-color: #fff;
}

.article-content {
    padding: 10px;
}

.t3-module {
    background: #fff;
    padding: 15px;
}



#jevents_body .nav-items div.active a, .jev_header2 .active a {
	background-color: #003867;
}

.nav-items > div:last-child {
	border-right: 1px solid #003867;
}

#jevents_body .nav-items > div a:hover {
    border-left: 1px solid #c9e6f6;
}


#jevents_body .nav-items div.active a:hover, .jev_header2 .active a:hover {
    border-left: 1px solid #c9e6f6;
}

.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
	background-color: #003867;
	border: 1px solid #003867;
}

.jev_toprow div.currentmonth {
	border-top: 1px solid #003867;
	border-bottom: 1px solid #003867;
}

#jevents_body .jev_toprow div.previousmonth a {
    background: url(/images/pictures/mini_arrowleft.png) no-repeat center left !important;
}

#jevents_body .jev_toprow div.nextmonth a {
    background: url(/images/pictures/mini_arrowright.png) no-repeat center right !important;
}

a.cal_daylink:hover {
    color: #003867;
}

#jevents_body .cal_today a.cal_daylink {
	background-color: #003867;
}

#jevents_body .cal_today a.cal_daylink:hover {
    border-left: 1px solid #003867;
    border: 1px solid #003867;
    color: #003867;
}

.btn-primary {
	background-color: #003867;
	border-color: #003867;
}

.btn-primary:hover {
    background-color: #c9e6f6;
	color: #000000;
}


/* artikler på forsiden */
/* === Grid-layout til artikler === */
.com-content-category-blog .items-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  /* nulstil Bootstrap row */
  margin-left: 0;
  margin-right: 0;
}

.items-row .item {
  /* background: #dfe0e2; */
  background: rgba(223,224,226,0.5);
  border: 1px solid #cccccc;
  /* border-radius: 6px; */
  padding: 12px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.items-row.row.row-flex::before {
  content: none !important;
  height: 0;
}


/* Slå Bootstrap kolonne-flow fra inde i artikler */
.com-content-category-blog .items-row > div[class*="col-"] {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

/* pæne billeder, ens højde og crop på artikler */
.article-intro .item-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 10px;
}

.article-intro .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Artikler UDEN billede – indsæt visuelt placeholder-felt */
.article-intro:not(:has(.item-image))::before {
  content: "";
  display: block;
  height: 200px;
  background: linear-gradient(135deg, #e6e6e6, #d8d8d8);
  margin-bottom: 10px;
}

/* Read more som let tekstlink */
.readmore .btn {
  background: none;
  border: none;
  padding: 0;
  color: #003867;
  font-size: 0.9em;
}

/* Fjern Bootstrap hover-look */
.readmore .btn:hover,
.readmore .btn:focus {
  background: none;
  color: #c9e6f6;
  text-decoration: underline;
}

/* Ingen ikon */
.readmore .icon-chevron-right {
  display: none;
}

.j40 figure {
  overflow: hidden;
}

.j40 figure img {
  width: 100%;
  height: auto;
  margin-top: -20%;
}

@media (max-width: 991px) {
  .com-content-category-blog .items-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo-control .logo-img {
    display: none;
  }
  .logo-control .logo-img-sm {
    max-width: 125%;
    display: block;
  }
  .t3-header .navbar-default {
    margin-top: -2px;
  }
}

@media (max-width: 767px) {
  .com-content-category-blog .items-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .com-content-category-blog .items-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .j40 figure {
    height: 34.75vw;
  }
}

@media (min-width: 768px) {
  .j40 figure {
    height: 266px;
  }
}

@media (min-width: 992px) {
  .j40 figure {
    height: 347px;
  }
}

@media (min-width: 1200px) {
  .j40 figure {
    height: 420px;
  }
}