/*****IDD Custom.css*****/

a.plink:hover {
    font-size: 23px;
  }

/* Menü nur auf Startseite anzeigen lassen */

body:not(.item-101) .t4-navbar [data-id="180"],
body:not(.item-101) .t4-navbar [data-id="224"],
body:not(.item-101) .t4-navbar [data-id="181"],
body:not(.item-101) .t4-navbar [data-id="117"] {
  display: none !important;
}


/* Mansonry*/

.item-page {
        padding-left: 2rem;
        padding-right: 2rem;
    }

  /* Masonry Grid */
  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 10px;
    gap: 20px;
  }

@media (max-width: 400px) {
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  }

  .masonry-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
  }

  .masonry-item img {
    width: 100%;
    display: block;
    border-radius: 5px;
  }

  /* Lightbox */
  .lightbox {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }

  .lightbox:target {
    display: flex;
  }


/* Body */

.container{
  max-width: 1450px;
}


/** Coloring **/

:root {
  --primarys: #e20613;
  --secondarys: #202020;
  --third: #000;
  --decent: #999;
}

.page-header.h2 {
  color: #e20613;
}

.page-header h2 {
  color: #e20613;
}

.whity {
    color: white !important;
}

/* use code: color: var(--primarys); */

/** End Coloring **/



/** Fonts **/

.uberuns {
    font-size: 40px;
    font-weight: 500;
}

.uberuns-text {
    font-size: 18px;
}

.colcenter {
    font-size: 24px;
    color: #a3a0a0;
    font-weight: 700;
    /* justify-items: center; */
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

/** End Fonts **/

/** Header **/

@media (max-width: 1098px) {
.t4-megamenu .navbar-nav>li>a, .t4-megamenu .navbar-nav>li>.nav-link {
    padding: 20px 10px;
}
  }

@media (max-width: 1038px) {
.t4-megamenu .navbar-nav>li>a, .t4-megamenu .navbar-nav>li>.nav-link {
    padding: 20px 5px;
}
  }

.companylogo {
    font-size: 28px;
    font-weight: 700;
    margin-right: -150px;
    margin-left: 10px;
}

.companyimg {
    margin-top: 17px;
}

.navbar-brand .logo-img:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(226, 6, 19, 0.25);
}

span.menu-item-title {
    font-weight: 600;
}


/** End Header **/



/** Sections **/

h3.section-title.h5 {
    font-size: 40px;
    font-weight: 500;
}

/** End Sections **/



/** Footer **/

.t4-footer a:not(.btn) {
    color: #ffffff;
}

/** End Footer **/



/** Overrides **/

.uberunsvertical {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991.98px) {
    .nav-breakpoint-lg .t4-megamenu {
        background: #f9f9f9;
    }
}

.navbar-toggler {
    border-radius: 5px;
    height: calc(2.85em + 1.25rem + 2px);
}

/** End Overrides **/



/*** Classes ***/

.aff {
    display: flex;
    justify-content: center;
    align-items: center;
}

   .grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1450px;
      margin: 0 auto;
    }

    .tile {
      background: #fff;
      border-radius: 1rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 1.5rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: -webkit-center;
    }

    .tile:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .icon {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #efefef;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      font-size: 24px;
      line-height: 1;
    }

    .tile-title {
      font-size: 26px;
      margin-bottom: 1.2rem;
      color: var(--secondarys);
      font-weight: 500;
    }

@media only screen and (max-width: 430px) {
  .tile-title {
  font-size: 22px;
    }
  }

@media only screen and (max-width: 350px) {
  .tile-title {
  font-size: 20px;
    }
  }

    .tile-text {
      color: var(--secondarys);
      font-size: 18px;
      line-height: 1.4;
      margin-bottom: 2rem;
    }

@media only screen and (max-width: 350px) {
  .tile-text {
  font-size: 16px;
    }
  }

    .tile-link {
      color: var(--primarys);
      font-weight: 500;
      font-size: 14px;
      text-decoration: none;
    }

    .tile-link:hover {
      text-decoration: underline;
    }

    .tile:focus-within {
      outline: 2px solid rgba(79,70,229,0.12);
      outline-offset: 4px;
    }

      .grid-container {
        grid-template-columns: repeat(3, 1fr);
      }

@media only screen and (max-width: 1150px) {
      .grid-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }


@media only screen and (max-width: 799px) {
      .grid-container {
        grid-template-columns: repeat(1, 1fr);
      }
    }


/*Testamonials*/

.icon-bew {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      font-size: 24px;
      line-height: 1;
    }

.tile-title-bew {
      font-size: 20px;
      margin-bottom: 1.2rem;
      color: var(--secondarys);
      font-weight: 500;
    }

.summary-gg {
    justify-self: center;
}

.summary-gg2 {
    background: #efefef;
    padding: 1.5rem;
    border-radius: 10px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.summary-gg3 {
    font-size: 18px;
    font-weight: 500;
    margin-left: 7px;
    padding-top: 1px;
}

.summary-gg4 {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.gg-value {
    color: var(--primarys);
    font-size: 30px;
    font-weight: 700;
    margin: 0px 10px;
}

.gg-text {
    color: var(--secondarys);
    margin: 0px 10px;
    font-size: 18px;
    opacity: 0.7;
}


/*Überuns*/

.grid-container-uberuns {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1450px;
      margin: 0 auto;
    }

    .tile-uberuns {
      background: #fff;
      border-radius: 1rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 1.5rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: -webkit-center;
    }

    .tile-uberuns:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.uberunscenter {
    align-content: center;
}

    .icon-uberuns {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tile-title-uberuns {
      font-size: 28px;
      margin-bottom: 1.2rem;
      color: var(--secondarys);
      font-weight: 500;
    }

@media only screen and (max-width: 430px) {
  .tile-title-uberuns {
  font-size: 22px;
    }
  }

@media only screen and (max-width: 350px) {
  .tile-title-uberuns {
  font-size: 20px;
    }
  }

    .tile-text-uberuns {
      color: var(--secondarys);
      font-size: 18px;
      line-height: 1.4;
      margin-bottom: 2rem;
    }

@media only screen and (max-width: 350px) {
  .tile-text-uberuns {
  font-size: 16px;
    }
  }

    .tile-link-uberuns {
      color: var(--primarys);
      font-weight: 500;
      font-size: 14px;
      text-decoration: none;
    }

    .tile-link-uberuns:hover {
      text-decoration: underline;
    }

    .tile-uberuns:focus-within {
      outline: 2px solid rgba(79,70,229,0.12);
      outline-offset: 4px;
    }


/*Form*/

.grid-container-form {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1450px;
      margin: 0 auto;
    }

    .tile-form {
      background: #fff;
      border-radius: 1rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 1.5rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .tile-form:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .icon-form {
      width: 56px;
      height: 56px;
      background: #efefef;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    .tile-title-form {
      font-size: 28px;
      margin-bottom: 1.2rem;
      color: var(--secondarys);
      font-weight: 500;
    }

@media only screen and (max-width: 430px) {
  .tile-title-form {
  font-size: 22px;
    }
  }

@media only screen and (max-width: 350px) {
  .tile-title-form {
  font-size: 20px;
    }
  }

    .tile-text-form {
      color: var(--secondarys);
      font-size: 18px;
      line-height: 1.4;
      margin-bottom: 2rem;
    }

@media only screen and (max-width: 350px) {
  .tile-text-form {
  font-size: 16px;
    }
  }


.formdiv {
    display: inline-flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

@media only screen and (max-width: 380px) {
.formdiv {
    flex-direction: column;
    width: 200px;
}
  }

.formcont {
    margin-left: 15px;
}

.formopen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */

button.btn.btn-primary {
    border-radius: 7px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:active {
    opacity: 0.5;
}

.scrollbutton {
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 7px;
}

.roundy {
    border-radius: 5px;
    padding: 15px 25px 15px 25px;
    font-weight: 500;
}

/* End Buttons */


/*** End Classes ***/

/** JA LOGIN **/

div#Mod182 {
    margin-top: 15px;
}

ul.ja-login {
    margin-left: 10px;
}

ul.ja-login li #ja-user-login, ul.ja-login li #ja-user-register {
    background: #616161;
    left: -120px;
    top: -400px;
    width: 300px;
}

#ja-user-login ul {
    display: none;
}

.logout-button {
    background: #a9a9a9;
}

/** End JA LOGIN **/