:root {
--primary:#EC1B24;
--primaryh:#d6000b;
}

/* oswald-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v57-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/oswald-v57-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* funnel-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/funnel-sans-v3-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* funnel-sans-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/funnel-sans-v3-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* funnel-sans-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/funnel-sans-v3-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* funnel-sans-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/funnel-sans-v3-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* funnel-sans-800 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/funnel-sans-v3-latin-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

#page-1 div#page-content {
  padding-top: 0 !important;
}


.bg-primary-brown {
  background-color: #604734;
}

.bg-dark {
  background-color: #604734 !important;
}

@media (min-width:992px) {

  div#c75 {
    position: fixed;
    top: 6rem;
    right: 15%;
    z-index: 11200;
  }

  #c75 figure.image {
    margin-bottom: 0;
    position: relative;
    transform: rotate(20deg);
    box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.5);
  }

}

html {
  overflow-x: hidden;
}


body {
  line-height: 1.5;
  font-family: 'Funnel Sans', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.lead {
  font-size: 1.5rem;
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--primaryh);
  text-decoration: underline;
}

.external-link::before {
  margin-right: 0.1rem;
  margin-left: 0.2rem;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(206, 66, 66, 0.5);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--primaryh);
  border-color: var(--primaryh);
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  background-color: #604734;
}

.news-single .carousel figure {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: flex;
    /* align-content: center; */
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

[class*="btn"] {
  border-radius: 0;
}

.btn.btn-default {
  font-weight: 600;
  background-color: #e3e3e3;
  font-size: 1.15rem;
}

.bg-whitesmoke .btn.btn-default {
  background-color: white;

}


.img-responsive {
  max-width: 100%;
  height: auto;
}

@media (max-width:767.98px) {
  .main-navbarnav a.dropdown-item {
    max-width: 86vw;
    white-space: normal;
  }

}


@media (min-width:992px) {
  .special-pic {
    position: fixed;
    right: 1rem;
    top: 5.5rem;
    z-index: 1025;
  }

  .main-navbarnav>.nav-item:nth-last-child(2)>.dropdown-menu.show,
  .main-navbarnav>.nav-item:last-child>.dropdown-menu.show {
    right: 0;
    left: auto;
  }
}

/*
@media (min-width:1024px) {
  .special-pic {
    top: 3rem;
  }
}
*/
/*
@media (min-width:1600px) {
  .special-pic {
    top: 1rem;
  }
}
*/

.special-pic img {
  border-bottom: 4px solid #EC1B24;
}


.tx-felogin-pi1 fieldset>legend {
  margin-top: 1rem;
}

.tx-felogin-pi1 fieldset>div {
  margin-bottom: 1rem;
}

input[type="submit"] {
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  background-color: #e3e3e3;
  font-size: 1.15rem;
  cursor: pointer;
}


/* #page-wrapper .container {
  max-width: 1280px;
}
 */
.image-gallery img.img-fluid {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

footer#page-footer {
  display: flex;
  justify-content: center;
}

.footer a {
  color: whitesmoke;
}

.footer a:hover {
  color: white;
}

.internal-link::before {
  content: "";
  margin: 0;
}

h2,
h3,
h4,
h5,
h6,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-family: 'Oswald';
  font-style: normal;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
}

h1::before {
  content: "";
  width: 4px;
  height: 3rem;
  background-color: #EC1B24;
  position: absolute;
  left: -1rem;

}

h2 {
  font-size: 1.75rem;
  font-weight: 500;
  font-family: 'Oswald';
  font-style: normal;

}


.main-content {
  min-height: 55vh;
}


.gallery .image-caption {
  visibility: hidden;
  height: 0;
  width: 0;
  overflow: hidden;
}


/* @media (min-width:992px) {
  #page-1 .main-content>div:first-child>header {
    position: absolute;
    top: -14rem;
    background-color: white;
    padding: 1rem 2rem;
    margin-left: -2rem;
  }

  #page-1 header h1 {
    margin-bottom: 0;
    width: 36vw;
  }
} */



#main-navbar {

  border-bottom: 4px solid #EC1B24;

}

.navbar-brand img {
  position: absolute;
  width: 340px;
  height: auto;
  top: -1rem;
  border: 4px solid #EC1B24;
  transform: rotate(-3deg);
  transition: all 300ms ease;
}

.stuck .navbar-brand img {
  transition: all 300ms ease;
  transform: rotate(2deg);
  width: 300px;
}

#page-1 .navbar-brand img {
  width: 340px;
  transition: all 300ms ease;
}

#page-1.stuck .navbar-brand img {
  width: 300px;
  transition: all 300ms ease;
}

div#page-content {
  padding-bottom: 2rem;
}



.bg-whitesmoke {
  background-color: whitesmoke;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width:768px) {
  .bg-whitesmoke {
    padding: 1rem 2rem;
  }
}

@media (max-width:768px) {
  .bg-whitesmoke {
    padding: 1rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
  }
}


.news-list-view .card {
  padding: .75rem;
}

@media (min-width:1200px) {
  .news-list-view .card {
    padding: 1.5rem;
  }
}


.news img.img-responsive {
  margin-bottom: 0.75rem;
}

@media (min-width:1200px) {

  .news-single .col-md-8 {
    flex: 0 0 66.66666%;
    max-width: 66.66666%;
  }

  .news-single .col-md-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .row.news-list-item>.col-md-3 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .row.news-list-item>.col-md-9 {
    flex: 0 0 66.66666%;
    max-width: 66.66666%;
  }
}

.row.news-list-item {
  margin-bottom: 3rem;
}

.news-list-item .lead>p {
  font-size: 1.25rem;
}




.main-content li {

  padding-bottom: 0.75rem;
  line-height: 1.4;

}

@media (min-width:992px) {

  body {
    font-size: 1.25rem
  }

  .navbar {
    min-height: 80px;
  }

  div#page-content {
    min-height: 500px;
  }
}

.navbar-expand-lg .navbar-nav .nav-link {

  padding-right: 1rem;
  padding-left: 1rem;

}


.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, .75);
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 1);
}

.jumbotron {
  padding-top: 0;
  padding-bottom: 0;
}


/* .row.content-row {

  max-width: 1140px;
  margin: 0 auto;

}
 */

.ce-textmedia ul {
  padding-left: 1.25rem;
}







@media (max-width:991.98px) {
  body {
    padding-top: 60px !important;
  }

  .navbar-expand-lg {
    overflow-y: initial !important;
    max-height: 100% !important;

  }

  .navbar-brand img {
    width: 150px;
  }

  .navbar-dark .navbar-nav .nav-link {
    text-align: right;

  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 50px !important;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .navbar-brand img {
    width: 210px;
    left: -0.75rem;
  }

  .stuck .navbar-brand img {
    width: 180px;
  }

  #page-1 .navbar-brand img {
    width: 230px;
    transition: all 300ms ease;
  }

  #page-1.stuck .navbar-brand img {
    width: 180px;
    transition: all 300ms ease;
  }

}

@media (max-width:1400px) {
  .navbar-dark .navbar-nav .nav-link {
    font-size: 1rem !important;
    font-weight: 400 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .navbar-brand img {
    max-width: 270px !important;
  }
}


.lastModifiedContentElement {

  margin-bottom: 0 !important;
  padding: 1rem 0;
  color: gray;

}



/* Generic tablet portrait & small landscape (e.g. iPad portrait, many Android tablets) */
@media (min-width: 600px) and (max-width: 899px) {
  /* tablet-small styles */
}

/* Larger tablets (iPad landscape, iPad Pro 10.5/11 portrait, etc.) */
@media (min-width: 900px) and (max-width: 1199px) {
  /* tablet-medium styles */
}

/* Very large tablets (12.9" iPad Pro portrait/landscape before desktop layout kicks in) */
@media (min-width: 1200px) and (max-width: 1366px) {
  /* tablet-large styles */
}



/* Any iPad-ish standard size (768–1024) */
@media (min-width: 768px) and (max-width: 1024px) {

  /* typical iPad styles */

  .special-pic img {
    max-width: 140px;
  }
}

/* Portrait only */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  /* iPad portrait */
}

/* Landscape only */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* iPad landscape */
}