a {
    color: #5f021f;
}

a:hover {
    color: #5f021f;
}

.t3-header .navbar-default{
    background-color: #f8f8f8;
}

.t3-header .navbar-default .navbar-nav > li > a {
    color: #707070;
}

.navbar-default{
    background-color: #5f021f;
}

.navbar-default .navbar-nav > li > a {
    color: #dddddd;
}

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

button {
  color: #dddddd;
}

button:hover,
button:focus {
  color: #5f021f;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #5f021f;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #5f021f;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
  border-top-color: #dddddd;
  border-bottom-color: #dddddd;
}

.navbar-default .navbar-nav > .dropdown > a .caret:hover,
.navbar-default .navbar-nav > .dropdown > a .caret:focus {
  border-top-color: #5f021f;
  border-bottom-color: #5f021f;
}

.page-header h1 {
    color: #5f021f;
}

.article-content img {
    object-fit: cover;
    max-height: 400px;
    width: 100%
}

.com-content-article.item-page .com-content-article__body > p > img {
  max-width: -webkit-fill-available;
  max-width: -moz-available;  
}

blockquote {
    border-left-color: #5f021f;
}

.t3-footnav .t3-module .module-title {
    font-size: small;
    font-weight: 900;
    margin-bottom: 20px;
}

.t3-footnav h3 {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 18px;
}

/* custom modul på forside - OM OURE */
#mod-custom119 img {
  width: 100%;
  height: calc((100vw * 16.53)/100);
  object-fit: cover;
}


/* custom modul på forside - DET SKER */
#Mod123 figure {
    margin-bottom: 8px;
}

#Mod123 .mod-articlesnews__item {
    /* border: 1px darkgray solid; */
    height: 90px;
    padding: 4px;
    clear: both;
}

#Mod123 .newsflash-image {
    float: left;
    padding-right: 10px;
}

#Mod123 img {
    width: 90px;
    height: 80px;
    object-fit: cover;
}


/* nyheder på forside */
.com-content-category-blog__item {
    /* border: 1px solid grey; */
    height: 200px;
    margin-bottom: 10px;
    padding: 15px;
}

.com-content-category-blog.blog .pull-left.item-image {
    width: 320px;
    height: 100%;
    margin-right: 10px;
}

/* .com-content-category-blog.blog img{ */
.com-content-category-blog.blog .item-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item .event-date{
    background-color: #5f021f;
    color: #ffffff;
    position: absolute;
    margin: -10px;
    padding: 5px 10px;
    font-size: x-large;
    font-weight: bolder;
    text-transform: capitalize;
    line-height: normal;
}

.event-date::first-line{
    font-size: medium;
    font-weight: normal;
}

.page-header {
    padding-bottom: 0;
    margin: 0;
    border-bottom: none;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0;
}

/* Det sker - blog */
.blog-event-date {
    margin-bottom: 7px;
}

.blog-event-date::first-letter {
    text-transform: uppercase;
}

/* Menighedsrådet */

.divTable {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.divTableRow {
  display: flex;
  flex: 1 1 30%; /* Hver række fylder en tredjedel af containeren */
  flex-direction: column;
  border: 1px solid #999999;
  margin: 5px;
}

.divTableCell {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
}

.divTableCell img {
  max-width: 196px;
  height: auto;
  margin: auto;
}

@media screen and (min-width: 768px) {
    .home h2 {
        font-size: 21px !important;
    }
}

@media screen and (min-width: 992px) {
    .home h2 {
        font-size: 30px !important;
    }
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #dddddd;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #5f021f;
  }
  .divTableRow {
    flex: 1 1 48%; /* Under menighedsrådet - Hver række fylder hele bredden på små skærme */
  }
  #mod-custom119 img {
    /* height: 300px; */
    height: calc((100vw * 50)/100);    
  }
  .com-content-category-blog__item {
    height: auto;
  }
  .pull-left {
    float: none !important;
  }
  .com-content-category-blog.blog .pull-left.item-image {
    width: 100%;
    height: calc((100vw * 50)/100);
  }
  .blog-item .event-date {
    margin-top: calc(100vw * -0.515);
  }
  .com-content-category-blog.blog .item-content {
    margin-top: 10px;
  }
}

@media (max-width: 484px) {
  .divTableRow {
    flex: 1 1 100%; /* Under menighedsrådet - Hver række fylder hele bredden på små skærme */
  }
}