/* ==========================================
 RVS Lassen - Home intro
 ========================================== */

.rvs-home-intro {
  gap: 0;
  min-height: 300px;
  align-items: stretch;
}

.rvs-home-image {
  height: 300px;
  min-height: 0;
}

.rvs-home-content {
  padding: 20px;
}

.rvs-home-tabs {
  margin-top: 30px;
}

.rvs-home-tabs button {
  padding: 15px;
  border: 1px solid #ddd;
  background: #f5f5f5;
}

.rvs-home-tabs button:hover {
  background: #ddd;
}

/* ==========================================
 RVS Lassen - Afbeelding met tekstoverlay
 ========================================== */

.rvs-overlay {
  position: relative;
  width: 100%;
  height: 322px;
  overflow: hidden;
}

.rvs-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rvs-overlay-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 20px;
}

.rvs-overlay-caption h2 {
  color: white;
  font-size: 28px;
  line-height: 1.3;
}

.rvs-overlay-caption a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: white;
  color: #333;
  text-decoration: none;
}

.rvs-overlay-caption a:hover {
  background: #eee;
}

/* ==========================================
 RVS Lassen - Homepage slideshow
 ========================================== */

.rvs-slideshow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 9 / 4;
  margin: 0 auto;
  overflow: hidden;
  background: #333;
}

.rvs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease, visibility 500ms;
}

.rvs-slide.active {
  opacity: 1;
  visibility: visible;
}

.rvs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rvs-slide-caption {
  position: absolute;
  bottom: 12%;
  left: 8%;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

.rvs-slide-caption h2 {
  color: white;
  font-size: clamp(22px, 3vw, 38px);
}

.rvs-slide-caption a {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,.9);
  color: #222;
  text-decoration: none;
}

.rvs-slide-prev,
.rvs-slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: rgba(0,0,0,.4);
  color: white;
  padding: 12px;
  cursor: pointer;
}

.rvs-slide-prev {
  left: 10px;
}

.rvs-slide-next {
  right: 10px;
}

/* ==========================================
 RVS Lassen - HACCP certificatie
 ========================================== */

.rvs-certification {
  padding: 25px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rvs-certification h3 {
  margin-bottom: 20px;
}

.rvs-certification p {
  margin-bottom: 25px;
}

.rvs-certification-button {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
}

.rvs-certification-button:hover {
  background: #ddd;
}

/* ==========================================
 RVS Lassen - Achtergrond met grijze fade
 ========================================== */

html {
  background-color: #a7afb1;
}

body {
  position: relative;
  background-color: transparent;
}

/* Afzonderlijke achtergrondlaag */

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  background-image:
    linear-gradient(
      to bottom,
      rgba(167,175,177,0) 0%,
      rgba(167,175,177,0) 30%,
      rgba(167,175,177,0.5) 65%,
      #a7afb1 100%
    ),
    url("../images/achtergrond-rvs-lassen-site.jpg");
  background-position: center top;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Joomla-inhoud boven de achtergrond */

body > * {
  position: relative;
  z-index: 1;
}

/* Transparante header */

.container-header {
  background: transparent;
  box-shadow: none;
}

.container-header .container-nav {
  background: transparent;
}

/* Transparante inhoudscontainer */

.site-grid {
  background: transparent;
}

/* ==========================================
 RVS Lassen - Nieuwsbrief
 ========================================== */

.rvs-newsletter {
  min-height: 335px;
  padding: 25px 15px;
  box-sizing: border-box;
}

.rvs-newsletter h3 {
  margin-bottom: 15px;
}

.rvs-newsletter p {
  margin-bottom: 25px;
}

.rvs-newsletter input[type="text"],
.rvs-newsletter input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  background: #fff;
  box-sizing: border-box;
}

.rvs-newsletter button {
  align-self: center;
  padding: 12px 20px;
  border: none;
  background: #e9ecef;
  color: #333;
  cursor: pointer;
}

.rvs-newsletter button:hover {
  background: #d5dadd;
}

/* Verborgen Mailchimp anti-spamveld */

/* ==========================================
 RVS Lassen - Drie foto-impressies
 ========================================== */

.rvs-photo-item {
  position: relative;
  display: block;
  width: 100%;
  height: 322px;
  overflow: hidden;
  text-decoration: none;
}

.rvs-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rvs-photo-caption {
  position: absolute;
  left: 14%;
  bottom: 15%;
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.rvs-photo-item:hover img {
  filter: brightness(0.8);
}

/* ==========================================
 Mobiele weergave
 ========================================== */

@media (max-width: 768px) {
  .rvs-home-intro {
    grid-template-columns: 1fr;
  }

  .rvs-home-image {
    height: 220px;
  }

  .rvs-home-content {
    padding: 20px;
  }

  .rvs-newsletter {
    min-height: 0;
  }

  .rvs-photo-item {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .rvs-slide-caption {
    bottom: 8%;
    left: 6%;
  }

  .rvs-slide-caption a {
    padding: 6px 12px;
  }
}

/* ==========================================
 RVS Lassen - Originele moduleblokken
 ========================================== */

/* Witte randen verwijderen en lichtgrijze achtergrond */

.site-grid .card,
.site-grid .card-body,
.site-grid .moduletable {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Modulekaarten lichtgrijs maken */

.site-grid .card {
  background-color: #f5f5f5;
}

/* Geen extra witte achtergrond binnen de kaarten */

.site-grid .card-body {
  background-color: transparent;
}

/* Bestaande afbeeldingen niet aanpassen */

.rvs-overlay,
.rvs-photo-item,
.rvs-slideshow {
  border: none;
  box-shadow: none;
}

/* Eerste rij - witte rand verwijderen */

.container-top-a .card,
.container-top-a .card-body {
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Eerste rij - gelijke hoogte */

.container-top-a {
  align-items: stretch;
}

.container-top-a > * {
  display: flex;
  flex-direction: column;
}

.container-top-a > * > .card {
  flex: 1;
  height: 100%;
}

/* ==========================================
 RVS Lassen - Logo en menu centreren
 ========================================== */

/* Header centraal uitlijnen */

.container-header {
  text-align: center;
}

/* Logo centreren */

.container-header .navbar-brand {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.container-header .navbar-brand img {
  display: block;
  margin: 0 auto;
}

/* Logo-container centreren */

.container-header .grid-child.container-nav {
  justify-content: center;
}

/* Navigatie centreren */

.container-header .mod-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

/* Menulinks centreren */

.container-header .mod-menu > li {
  text-align: center;
}

/* Mobiele weergave */

@media (max-width: 768px) {
  .container-header .mod-menu {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================
 RVS Lassen - Navigatiemenu origineel
 ========================================== */

/* Alle menulinks wit */

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid transparent;
  background: transparent;
}

/* Actieve pagina krijgt een subtiel kader */

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}

/* Hover-effect */

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
}

/* Eventuele Joomla-achtergrond verwijderen */

.container-header .mod-menu {
  background: transparent;
}

/* ==========================================
 RVS Lassen - TOP-A en TOP-B definitief
 ========================================== */

/* Beide rijen */

.container-top-a,
.container-top-b {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

/* Ruimte tussen TOP-A en TOP-B */

.container-top-a {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  margin-bottom: 16px;
}

/* TOP-B: HACCP links, afbeelding rechts */

.container-top-b {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

/* Joomla-modulecontainers */

.container-top-a > .top-a.card,
.container-top-b > .top-b.card {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Card-body zonder extra witruimte */

.container-top-a > .top-a.card > .card-body,
.container-top-b > .top-b.card > .card-body {
  padding: 0;
  margin: 0;
  border: 0;
}

/* ==========================================
 TOP-A - Slideshow
 ========================================== */

.container-top-a .rvs-slideshow {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ==========================================
 TOP-A en TOP-B - Donkere modulecontainers
 ========================================== */

/* Certificatie rechts in TOP-A en HACCP links in TOP-B */

.container-top-a > .top-a.card:nth-child(2),
.container-top-b > .top-b.card:first-child {
  background-color: #4c585b !important;
}

/* Donkere modulecontainers laten meegroeien */

.container-top-a > .top-a.card:nth-child(2),
.container-top-b > .top-b.card:first-child {
  display: flex;
  flex-direction: column;
}

/* Joomla card-body laten meegroeien */

.container-top-a > .top-a.card:nth-child(2) > .card-body,
.container-top-b > .top-b.card:first-child > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background: transparent;
}

/* ==========================================
 Certificatie en HACCP - Gelijke buitenkant
 ========================================== */

.container-top-a .rvs-certificate,
.container-top-b .rvs-haccp {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 15px;
  margin: 0;
  box-sizing: border-box;
  background-color: #4c585b;
  color: #fff;
  text-align: center;
}

/* ==========================================
 Certificatie en HACCP - Binnenkaders
 ========================================== */

.container-top-a .rvs-certificate-inner,
.container-top-b .rvs-haccp-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 25px 20px;
  box-sizing: border-box;
  border: 1px solid #758184;
}

/* Certificatie-icoon op de bovenrand */

.container-top-a .rvs-certificate-icon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #59686b;
  color: #354448;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* ==========================================
 Certificatie - Teksten en knop
 ========================================== */

.rvs-certificate h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 5px;
}

.rvs-certificate h4 {
  color: #93b8c4;
  font-size: 17px;
  font-weight: 300;
  margin: 0 0 20px;
}

.rvs-certificate p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.rvs-certificate-button {
  display: inline-block;
  padding: 10px 18px;
  background: #394a4e;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.rvs-certificate-button:hover {
  background: #26383c;
  color: #fff;
}

/* ==========================================
 HACCP - Teksten en knop
 ========================================== */

.rvs-haccp h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 20px;
}

.rvs-haccp p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.rvs-haccp-button {
  display: inline-block;
  padding: 10px 18px;
  background: #394a4e;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.rvs-haccp-button:hover {
  background: #26383c;
  color: #fff;
}

/* ==========================================
 TOP-B - Specialist in RVS Lassen
 ========================================== */

/* Rechter afbeeldingsmodule */

.container-top-b > .top-b.card:nth-child(2) {
  background: transparent !important;
}

/* Afbeelding op oorspronkelijke hoogte */

.container-top-b .rvs-overlay {
  width: 100%;
  height: 322px;
  min-height: 0;
  overflow: hidden;
}

.container-top-b .rvs-overlay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
 Mobiele weergave
 ========================================== */

@media (max-width: 768px) {
  .container-top-a,
  .container-top-b {
    grid-template-columns: 1fr;
  }

  .container-top-a .rvs-certificate,
  .container-top-b .rvs-haccp {
    min-height: 300px;
  }

  .container-top-a .rvs-certificate-inner,
  .container-top-b .rvs-haccp-inner {
    padding: 25px 15px;
  }
}

/* ==========================================
 RVS Lassen - Certificatie binnenkader fix
 ========================================== */

/* Buitenste Joomla-module */

.container-top-a > .top-a.card:nth-child(2) {
  background-color: #4c585b !important;
}

/* Joomla card-body */

.container-top-a > .top-a.card:nth-child(2) > .card-body {
  padding: 0;
}

/* Certificatieblok */

.container-top-a .rvs-certificate {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
  padding: 15px;
}

/* Witte binnenrand */

.container-top-a .rvs-certificate-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
  justify-content: center;
  align-items: center;
  border: 1px solid #758184;
}

/* ==========================================
 RVS Lassen - Certificatie hoogte herstellen
 ========================================== */

/* Joomla-module volledig laten meegroeien */

.container-top-a > .top-a.card:nth-child(2) {
  display: flex;
  flex-direction: column;
}

/* Card-body */

.container-top-a > .top-a.card:nth-child(2) > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Ontbrekende Joomla-wrapper */

.container-top-a #mod-custom100 {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Certificatieblok */

.container-top-a #mod-custom100 .rvs-certificate {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
}

/* Binnenkader */

.container-top-a #mod-custom100 .rvs-certificate-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
}

/* ==========================================
 RVS Lassen - HACCP binnenkader hoogte fix
 ========================================== */

/* Buitenste Joomla-module */

.container-top-b > .top-b.card:first-child {
  display: flex;
  flex-direction: column;
  background-color: #4c585b !important;
}

/* Joomla card-body */

.container-top-b > .top-b.card:first-child > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
}

/* Joomla custom-module wrapper */

.container-top-b > .top-b.card:first-child .mod-custom {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* HACCP buitenblok */

.container-top-b .rvs-haccp {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
}

/* HACCP binnenkader */

.container-top-b .rvs-haccp-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
  justify-content: center;
  align-items: center;
}

/* ==========================================
 RVS Lassen - Nieuwsbrief in certificatiestijl
 ========================================== */

/* Buitenste donkergrijze blok */

.rvs-newsletter-box {
  width: 100%;
  min-height: 350px;
  padding: 15px;
  box-sizing: border-box;
  background: #4c585b;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* Dunne binnenrand zoals HACCP */

.rvs-newsletter-box-inner {
  flex: 1;
  min-height: 0;
  padding: 25px 20px;
  box-sizing: border-box;
  border: 1px solid #758184;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Nieuwsbriefinhoud */

.rvs-newsletter {
  min-height: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* Titel */

.rvs-newsletter h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 15px;
}

/* Beschrijving */

.rvs-newsletter p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 25px;
}

/* Formulier */

.rvs-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

/* Invoervelden */

.rvs-newsletter input[type="text"]:not(.rvs-newsletter-honeypot input),
.rvs-newsletter input[type="email"] {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #758184;
  background: #fff;
  color: #333;
}

/* Knop */

.rvs-newsletter input[type="submit"] {
  align-self: center;
  padding: 10px 18px;
  background: #394a4e;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 14px;
  cursor: pointer;
}

.rvs-newsletter input[type="submit"]:hover {
  background: #26383c;
  color: #fff;
}

/* Mailchimp anti-spamveld */

.rvs-newsletter-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mobiele weergave */

@media (max-width: 768px) {
  .rvs-newsletter-box {
    min-height: 0;
  }

  .rvs-newsletter-box-inner {
    padding: 25px 15px;
  }
}

/* ==========================================
 RVS Lassen - Derde rij 33/67
 ========================================== */

/* ==========================================
 RVS Lassen - BOTTOM-A definitieve indeling
 ========================================== */

.container-bottom-a {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

/* RVS Lassen links - breed */

.container-bottom-a > .bottom-a.card:has(.rvs-home-intro) {
  grid-column: 1;
  grid-row: 1;
  background-color: #4c585b !important;
}

/* Nieuwsbrief rechts - smal */

.container-bottom-a > .bottom-a.card:has(.rvs-newsletter-box) {
  grid-column: 2;
  grid-row: 1;
  background-color: #4c585b !important;
}

/* Beide modulecontainers */

.container-bottom-a > .bottom-a.card {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Binnenste Joomla-container */

.container-bottom-a > .bottom-a.card > .card-body {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

/* Mobiele weergave */

@media (max-width: 768px) {
  .container-bottom-a {
    grid-template-columns: 1fr;
  }

  .container-bottom-a > .bottom-a.card:has(.rvs-home-intro) {
    grid-column: 1;
    grid-row: 1;
  }

  .container-bottom-a > .bottom-a.card:has(.rvs-newsletter-box) {
    grid-column: 1;
    grid-row: 2;
  }
}

/* ==========================================
 RVS Lassen - RVS/Aluminium introductie
 ========================================== */

.rvs-home-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  width: 100%;
  min-height: 350px;
  background: #4c585b;
  color: #fff;
}

/* Afbeelding links */

.rvs-home-image {
  height: 350px;
  overflow: hidden;
}

.rvs-home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tekst rechts */

.rvs-home-content {
  padding: 25px 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

/* Titel */

.rvs-home-content h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 20px;
}

/* Beschrijving */

.rvs-home-content p {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}

/* Knoppen onderaan */

.rvs-home-tabs {
  margin-top: 25px;
  width: 100%;
}

/* Beide knoppen */

.rvs-home-tabs button {
  flex: 1;
  padding: 15px 10px;
  border: 1px solid #758184;
  background: #394a4e;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

/* Actieve/hover-knop */

.rvs-home-tabs button:hover,
.rvs-home-tabs button:focus-visible {
  background: #26383c;
  color: #fff;
}

/* Mobiel */

@media (max-width: 768px) {
  .rvs-home-intro {
    grid-template-columns: 1fr;
  }

  .rvs-home-image {
    height: 220px;
  }

  .rvs-home-content {
    padding: 20px 15px 0;
  }
}

/* RVS Lassen - Knoppen volledige breedte */

.rvs-home-content {
  padding-bottom: 0;
}

.rvs-home-tabs {
  display: flex;
  width: calc(100% + 40px);
  margin: 25px -20px 0;
  gap: 0;
}

.rvs-home-tabs button {
  flex: 1 1 50%;
  min-width: 0;
  border-radius: 0;
  box-sizing: border-box;
}

/* ==========================================
 RVS Lassen - BOTTOM-B definitieve opmaak
 ========================================== */

/* Drie gelijke kolommen */

.container-bottom-b {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}

/* Joomla-modulecontainers */

.site-grid .container-bottom-b > .bottom-b.card {
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none;
  background: transparent !important;
  align-self: start;
}

/* Binnenste Joomla-container */

.site-grid .container-bottom-b > .bottom-b.card > .card-body {
  display: block;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  background: transparent !important;
}

/* Joomla custom-modulewrapper */

.site-grid .container-bottom-b .mod-custom {
  display: block;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}

/* Eventuele lege paragrafen verbergen */

.container-bottom-b .mod-custom > p:empty {
  display: none;
}

/* ==========================================
 Alle drie de afbeeldingen
 ========================================== */

.container-bottom-b .rvs-photo-item {
  position: relative;
  display: block;
  width: 100%;
  height: 322px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
}

/* Standaard afbeeldingsweergave */

.container-bottom-b .rvs-photo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ==========================================
 Aluminium Lassen - 15% zoom
 ========================================== */

.container-bottom-b .rvs-photo-item img[src*="aluminium_trap.jpg"] {
  transform: scale(1.15);
  transform-origin: center center;
}

/* ==========================================
 RVS Lassen - Footer
 ========================================== */

/* Footer achtergrond */

.container-footer {
  background: #a7afb1 !important;
  background-image: none !important;
  box-shadow: none;
  border: none;
}

/* Footer inhoud centreren */

.container-footer .grid-child {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 15px;
}

/* Tekst */

.container-footer,
.container-footer p,
.container-footer a {
  color: #171717 !important;
  font-size: 16px;
  line-height: 1.6;
}

/* Links */

.container-footer a {
  text-decoration: none;
}

.container-footer a:hover {
  text-decoration: underline;
  color: #000 !important;
}

/* Mobiele weergave */

@media (max-width: 768px) {
  .container-footer .grid-child {
    padding: 20px 15px;
    flex-wrap: wrap;
  }

  .container-footer,
  .container-footer p,
  .container-footer a {
    font-size: 15px;
  }
}

/* ==========================================
 RVS Lassen - Contact informatie
 ========================================== */

.rvs-contact-box {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  background: #4c585b;
  color: #fff;
}

/* Binnenrand zoals Certificatie en HACCP */

.rvs-contact-box-inner {
  border: 1px solid #758184;
  padding: 30px 20px;
  text-align: center;
}

/* Titel */

.rvs-contact-box h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 25px;
}

/* Contactgegevens */

.rvs-contact-box p {
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.rvs-contact-box p:last-child {
  margin-bottom: 0;
}

/* Links */

.rvs-contact-box a {
  color: #93b8c4;
  text-decoration: none;
}

.rvs-contact-box a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Joomla-modulecontainer zonder witte rand */

.site-grid .sidebar-right.card:has(.rvs-contact-box) {
  padding: 0;
  border: none;
  box-shadow: none;
  background: #4c585b;
}

.site-grid .sidebar-right.card:has(.rvs-contact-box) > .card-body {
  padding: 0;
  background: transparent;
}

/* ==========================================
 RVS Lassen - Hoofdartikel donkere stijl
 Alleen pagina itemid-103
 ========================================== */

/* Buitenste donkergrijze kader */

body.itemid-103 .com-content-article {
  background: #4c585b;
  color: #fff;
  padding: 15px;
  box-sizing: border-box;
}

/* Binnenrand met ruimte rondom */

body.itemid-103 .com-content-article {
  border: 15px solid #4c585b;
  outline: 1px solid #758184;
  outline-offset: -15px;
}

/* Binnenruimte voor tekst */

body.itemid-103 .com-content-article {
  padding: 35px;
}

/* Koppen */

body.itemid-103 .com-content-article h1,
body.itemid-103 .com-content-article h2,
body.itemid-103 .com-content-article h3,
body.itemid-103 .com-content-article h4 {
  color: #fff;
}

/* Tekst en opsommingen */

body.itemid-103 .com-content-article p,
body.itemid-103 .com-content-article li {
  color: #fff;
  line-height: 1.7;
}

/* Links */

body.itemid-103 .com-content-article a {
  color: #93b8c4;
}

body.itemid-103 .com-content-article a:hover {
  color: #fff;
}

/* Afbeeldingen */

body.itemid-103 .com-content-article img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
 RVS Lassen - Artikelgalerijen
 RVS Lassen + Aluminium Lassen
 ========================================== */

/* Galerij met vier afbeeldingen */

body.itemid-103 .rvs-article-gallery,
body.itemid-104 .rvs-article-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

/* Klikbare afbeeldingen */

body.itemid-103 .rvs-article-gallery a,
body.itemid-104 .rvs-article-gallery a {
  display: block;
  overflow: hidden;
}

/* Afbeeldingsformaat */

body.itemid-103 .rvs-article-gallery img,
body.itemid-104 .rvs-article-gallery img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

/* Zoom bij hover */

body.itemid-103 .rvs-article-gallery a:hover img,
body.itemid-104 .rvs-article-gallery a:hover img {
  transform: scale(1.05);
}

/* ==========================================
 Mobiele weergave
 ========================================== */

@media (max-width: 600px) {
  body.itemid-103 .rvs-article-gallery,
  body.itemid-104 .rvs-article-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================
 RVS Lassen - Aluminium Lassen artikel
 Zelfde opmaak als RVS Lassen
 ========================================== */

body.itemid-104 .com-content-article {
  background: #4c585b;
  color: #fff;
  border: 15px solid #4c585b;
  outline: 1px solid #758184;
  outline-offset: -15px;
  padding: 35px;
  box-sizing: border-box;
}

/* Koppen */

body.itemid-104 .com-content-article h1,
body.itemid-104 .com-content-article h2,
body.itemid-104 .com-content-article h3,
body.itemid-104 .com-content-article h4 {
  color: #fff;
}

/* Teksten */

body.itemid-104 .com-content-article p,
body.itemid-104 .com-content-article li {
  color: #fff;
  line-height: 1.7;
}

/* Links */

body.itemid-104 .com-content-article a {
  color: #93b8c4;
}

body.itemid-104 .com-content-article a:hover {
  color: #fff;
}

/* Afbeeldingen */

body.itemid-104 .com-content-article img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
 RVS Lassen - Projecten hoofdpagina
 Menu-item 105
 ========================================== */

body.itemid-105 .com-content-article {
  background: #4c585b;
  color: #fff;
  border: 15px solid #4c585b;
  outline: 1px solid #758184;
  outline-offset: -15px;
  padding: 35px;
  box-sizing: border-box;
}

/* Koppen */

body.itemid-105 .com-con*ent-article h1,
body.itemid-105 .c*m-content-article h2,
body.itemid-*05 .com-content-article h3,
body.itemid-105 .com-content-article h4 {
  color: #fff;
}

/* Teksten en opsommingen */

body.itemid-105 .com-content-art*cle p,
body.itemid-105 .com-content-article li {
  color: #fff;
  line-height: 1.7;
}

/* Links */

body.itemid-105 .com-cont*nt-article a {
  color: #93b8c4;*
}

body.itemid-105 .com-content-article a:hover {
  color: #fff;
}

/* Afbeeldingen */

body.itemid-105 .com-content-art*cle img {
  max-width: 100%;
  *height: auto;
}

/* ==========================================
 RVS Lassen - Hyperlinks hele website
 ========================================== */

/* Standaard hyperlinks */

a,
a:visited {
  color: #93b8c4;
}

/* Hover */

a:hover,
a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

/* Hyperlinks in artikelen */

.com-content-article a,
.com-content-article a:visited {
  color: #93b8c4;
}

/* Hover in artikelen */

.com-content-article a:hover {
  color: #ffffff;
}

/* ==========================================
 RVS Lassen - Projectpagina's 106, 107, 108
 ========================================== */

/* Donkergrijs artikelblok */

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.com-content-article {
  background: #4c585b;
  color: #fff;
  border: 15px solid #4c585b;
  outline: 1px solid #758184;
  outline-offset: -15px;
  padding: 35px;
  box-sizing: border-box;
}

/* Witte koppen en teksten */

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.com-content-article :is(h1, h2, h3, h4, p, li) {
  color: #fff;
  line-height: 1.7;
}

/* Lichtblauwe hyperlinks */

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.com-content-article a {
  color: #93b8c4;
}

/* Afbeeldingen binnen het artikel */

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.com-content-article img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
 RVS Lassen - Projectgalerijen 106, 107, 108
 ========================================== */

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.rvs-article-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.rvs-article-gallery a {
  display: block;
  overflow: hidden;
}

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.rvs-article-gallery img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

:is(body.itemid-106, body.itemid-107, body.itemid-108)
.rvs-article-gallery a:hover img {
  transform: scale(1.05);
}

/* Mobiel */

@media (max-width: 600px) {
  :is(body.itemid-106, body.itemid-107, body.itemid-108)
  .rvs-article-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================
 RVS Lassen - Over ons (itemid-109)
 ========================================== */

/* Donkergrijs artikelblok met binnenrand */

body.itemid-109 .com-content-article {
  background: #4c585b;
  color: #fff;
  border: 15px solid #4c585b;
  outline: 1px solid #758184;
  outline-offset: -15px;
  padding: 35px;
  box-sizing: border-box;
}

/* Koppen en tekst wit */

body.itemid-109 .com-content-article h1,
body.itemid-109 .com-content-article h2,
body.itemid-109 .com-content-article h3,
body.itemid-109 .com-content-article h4,
body.itemid-109 .com-content-article p,
body.itemid-109 .com-content-article li {
  color: #fff;
  line-height: 1.7;
}

/* Hyperlinks lichtblauw */

body.itemid-109 .com-content-article a {
  color: #93b8c4;
}

body.itemid-109 .com-content-article a:hover {
  color: #fff;
}

/* Afbeeldingen binnen artikel houden */

body.itemid-109 .com-content-article img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
 RVS Lassen - Contactpagina
 Vervang 110 door het juiste menu-item-ID
 ========================================== */

/* Hoofdartikel donkergrijs */

body.itemid-110 .com-content-article {
  background: #4c585b;
  color: #fff;
  border: 15px solid #4c585b;
  outline: 1px solid #758184;
  outline-offset: -15px;
  padding: 35px;
  box-sizing: border-box;
}

/* Koppen en teksten */

body.itemid-110 .com-content-article h1,
body.itemid-110 .com-content-article h2,
body.itemid-110 .com-content-article h3,
body.itemid-110 .com-content-article h4,
body.itemid-110 .com-content-article p,
body.itemid-110 .com-content-article label {
  color: #fff;
}

/* Links */

body.itemid-110 .com-content-article a {
  color: #93b8c4;
}

/* Hoofdafbeelding */

body.itemid-110 .com-content-article img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
 Contactformulier met eigen binnenkader
 ========================================== */

body.itemid-110 #contact-form {
  border: 1px solid #758184;
  padding: 25px;
  margin-top: 20px;
  background: #4c585b;
}

/* Formuliervelden */

body.itemid-110 #contact-form input,
body.itemid-110 #contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #758184;
  background: #fff;
  color: #333;
  box-sizing: border-box;
}

/* Ruimte tussen velden */

body.itemid-110 #contact-form .control-group {
  margin-bottom: 15px;
}

/* Labels */

body.itemid-110 #contact-form label {
  display: block;
  margin-bottom: 6px;
}

/* Verzendknop */

body.itemid-110 #contact-form button {
  width: auto;
  padding: 12px 20px;
  background: #394a4e;
  color: #fff;
  border: none;
  cursor: pointer;
}

body.itemid-110 #contact-form button:hover {
  background: #26383c;
}

/* Mobiel */

@media (max-width: 768px) {
  body.itemid-110 .com-content-article {
    padding: 25px;
  }

  body.itemid-110 #contact-form {
    padding: 15px;
  }
}

/* ==========================================
 RVS Lassen - Dropdownmenu Projecten
 ========================================== */

/* Actieve menu-item inclusief dropdown */

.container-header .mod-menu > li.active,
.container-header .mod-menu > li.current {
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}

/* Dubbele rand rondom de tekst verwijderen */

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  border: none;
  background: transparent;
}

/* Dropdown-pijltje wit maken */

.container-header .mod-menu > li.active .mm-toggler,
.container-header .mod-menu > li.current .mm-toggler {
  color: #fff;
  border: none;
  background: transparent;
}

/* ==========================================
 RVS Lassen - Uniforme witte knoppen
 ========================================== */

/* Knoppen op de website */

.rvs-slide-caption a,
.rvs-overlay-caption a,
.rvs-certificate-button,
.rvs-haccp-button,
.rvs-certification-button,
.rvs-newsletter input[type="submit"],
.rvs-newsletter button {
  display: inline-block;
  background: #ffffff !important;
  color: #394a4e !important;
  border: 1px solid #ffffff;
  border-radius: 0;
  text-decoration: none !important;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
}

/* Hover-effect */

.rvs-slide-caption a:hover,
.rvs-overlay-caption a:hover,
.rvs-certificate-button:hover,
.rvs-haccp-button:hover,
.rvs-certification-button:hover,
.rvs-newsletter input[type="submit"]:hover,
.rvs-newsletter button:hover {
  background: #e9ecef !important;
  color: #26383c !important;
  border-color: #e9ecef;
  text-decoration: none !important;
}

/* Slideshow - Schaduw op knop verwijderen */

.rvs-slide-caption a {
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none;
}