@media (min-width: 992px) {
  .navbar {
    background-image: url('/themes/custom/b5subtheme/images/menu1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 50vh;
    min-height: 300px;
    display: block;
    padding-top: 0;
    padding-bottom: var(--bs-navbar-brand-margin-end);
  }
  #navbarSupportedContent {
    flex-direction: column;
    width: 100%;
  }
  .navbar-brand {
    margin-right: 0;
  }
  .flex-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }
  .region-nav-main {
    width: 100%
  }
  .navbar-nav {
    justify-content: space-between !important;
  }
  .navbar-nav .nav-link {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 34.38px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background: #fefefe;
    border-radius: 100px;
    padding-left: 1em !important;
    padding-right: 1em !important;
  }

  .navbar-brand a.site-title {
    text-shadow: 0px 4px 4px #00000040;
    font-family: Montserrat;
    font-weight: 800;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 3%;
    vertical-align: middle;
    color: #FEFEFE;
  }
}
.navbar-brand a.site-title:hover {
  color: #FEFEFE;
}
body {
  background-image: url(/themes/custom/b5subtheme/images/bg30.jpg);
}

.navbar-brand{
  justify-content: left;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-brand .site-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.navbar-brand img {
  height: 60px;
  margin: 0 1rem 0 0;
  width: auto;
}

@media (min-width: 992px) {
  .navbar-brand img {
    height: 150px;
  }
}

.card-title > a {
  color: var(--bs-card-title-color);
  text-decoration: none;
}

.effect-text-one {
  overflow: hidden;
  margin: 0;
  width: 100%;
  list-style: none;
  text-align: center;
  border-radius: 45px;
  /*height :20rem;*/
  aspect-ratio: 16/9;
}
.half-size {
  height: 14.5rem;
  margin-bottom: 1rem;
}

.effect-text-one .card-img-overlay {
/*  background: linear-gradient(54.51deg, #3273C0 -16.07%, rgba(50, 115, 192, 0) 99.02%); */
}

.effect-text-one img {
  width: -webkit-calc(100% + 50px);
  width: calc(100% + 100px);
  min-height:100%;
  /*opacity: 0.7; */
  /*-webkit-transition: opacity 0.35s, -webkit-transform 0.35s; */
  /*transition: opacity 0.35s, transform 0.35s;*/

  /*filter: gray;*/ /* IE6-9 */
  /*-webkit-filter: grayscale(1);*/ /* Google Chrome, Safari 6+ & Opera 15+ */
  /*filter: grayscale(1);*/ /* Microsoft Edge and Firefox 35+ */
}

.effect-text-one:hover img {
  /*-webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);*/
  transform: scale(1.1);
}
.effect-text-one .card-title {
/*  height: 100%;
  display: flex;
  align-items: flex-end;
  font-size: 3rem;*/
}

.acard {
  text-decoration: none;
  color: #5C5C5C;
}

.acard a{
  text-decoration: none;
  color: #5C5C5C;
}

.block-views-blockslideshow-block-1 h2 {
  text-align: center;
  color: #5C5C5C;
  margin-bottom: 1rem;
}

img.image-style-slick-media{
  border-radius: 20px;
}

.slide__media img {
  border-radius: 20px;
}

.slick__slide a {
  text-decoration: none;
  color: #5C5C5C;
  font-size: 1.25rem;
  font-weight: bold;
}

.slick__slide {
  margin: 5px;
}

footer {
  background-color: rgba(250, 250, 250, 0.5);
}

.site-title-footer {
  text-decoration: none;
  color: #5C5C5C;
}

.last-item {
  margin-left: auto;
}

h1 {
  text-align: center;
}

.publication  .views-field-title {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.publication a{
  /*font-family: Montserrat; */
  font-weight: 700;
  font-size: 1.5em;
  text-decoration: none;
  border-bottom: 2px solid #5C5C5C;
  color: #5C5C5C;
}

.view-departments .view-content, .view-toponym .view-content{
  background-color: white;
  border-radius: 20px;
  padding: 20px;
}
.view-departments .view-content .views-row, .view-toponym .view-content .views-row {
  border-bottom: 2px dashed #5C5C5C;
}
.view-departments .view-content .views-row a, .view-toponym .view-content .views-row a{
  font-size: 1.5em;
  text-decoration: none;
  color: #5C5C5C;
}

.view-departments .form--inline {
  display: flex;
  justify-content: center;
}

.node--type-department .node__content .field__label{
  color: #5C5C5C;
}

.node--type-department .node__content {
  margin-bottom: 20px;
}

.field--type-geolocation {
  border-radius: 20px;
  overflow: hidden;
}
.page-node-type-toponym .field__label{
  color: #5C5C5C;
}
.page-node-type-toponym .field {
  margin-bottom: 20px;
}

.typonym-filter {
  border: 5px solid #B1B1B1;
  border-radius: 20px;
  padding-right: 20px;
  padding-left: 20px;
}
.toponym-filter-caption {
  color: #5C5C5C;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

.typonym-filter .form-actions {
  text-align: center;
}
