/* Template1386 v1.0.0 */

:root{
  --t1386-primary:#315f52;
  --t1386-primary-dark:#21483e;
  --t1386-accent:#a9854f;
  --t1386-bg:#f6f3ec;
  --t1386-card:#fffdf8;
  --t1386-text:#18231f;
  --t1386-muted:#64706b;
  --t1386-line:rgba(49,95,82,.14);
}

html,body{
  max-width:100%;
  background:var(--t1386-bg);
  color:var(--t1386-text);
  overflow-x:hidden;
}

body.t1386-body{
  font-family:Arial,Helvetica,sans-serif;
}

.t1386-skip{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:9999;
  padding:.7rem 1rem;
  background:#fff;
}
.t1386-skip:focus{left:1rem;top:1rem}

.t1386-header{
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid var(--t1386-line);
  background:rgba(246,243,236,.97);
  box-shadow:0 8px 24px rgba(18,34,29,.06);
  backdrop-filter:blur(12px);
}

.t1386-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  width:min(1180px,calc(100% - 36px));
  min-height:78px;
  margin:auto;
  padding:10px 0;
}

.t1386-brand{
  display:flex;
  min-width:0;
  align-items:center;
  gap:.85rem;
  color:var(--t1386-text)!important;
  text-decoration:none!important;
}

.t1386-brand img{
  width:48px;
  height:52px;
  object-fit:contain;
}

.t1386-brand span{min-width:0}
.t1386-brand strong,
.t1386-brand small{display:block}

.t1386-brand strong{
  overflow:hidden;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.3rem,2.2vw,1.85rem);
  font-weight:600;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.t1386-brand small{
  margin-top:.2rem;
  color:var(--t1386-muted);
  font-size:.78rem;
}

.t1386-header-context{
  display:flex;
  align-items:center;
  gap:.6rem;
}

.t1386-context,
.t1386-public-button{
  display:inline-flex;
  min-height:36px;
  align-items:center;
  justify-content:center;
  padding:.42rem .8rem;
  border-radius:999px;
  font-size:.76rem;
  font-weight:750;
}

.t1386-context{
  border:1px solid rgba(49,95,82,.2);
  background:rgba(49,95,82,.06);
  color:var(--t1386-primary);
}

.t1386-public-button{
  background:var(--t1386-primary);
  color:#fff!important;
  text-decoration:none!important;
}
.t1386-public-button:hover{background:var(--t1386-primary-dark)}

.t1386-nav{
  background:#405966;
}

.t1386-nav-inner{
  width:min(1180px,calc(100% - 36px));
  margin:auto;
}

.t1386-nav .nav-menu{
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  float:none!important;
}

.t1386-nav ul.tngdd{
  margin:0;
  padding:0;
  background:transparent;
}

.t1386-nav ul.tngdd .menulink{
  width:auto;
  min-height:48px;
  margin:0;
  padding:13px 18px 12px 20px;
  border-radius:0;
  font-size:14px;
}

.t1386-nav ul.tngdd .menuhover,
.t1386-nav ul.tngdd .menulink:hover{
  margin:0;
  border-radius:0;
  background-color:#263f4b!important;
}

.t1386-content-wrap{
  width:min(1180px,calc(100% - 36px));
  min-height:calc(100vh - 190px);
  margin:auto;
}

.t1386-home{
  display:flex;
  min-height:calc(100vh - 240px);
  align-items:center;
  justify-content:center;
  padding:clamp(2rem,6vw,5rem) 0;
}

.t1386-home-card{
  width:min(760px,100%);
  padding:clamp(2rem,5vw,4rem);
  border:1px solid var(--t1386-line);
  border-radius:26px;
  background:var(--t1386-card);
  box-shadow:0 24px 65px rgba(20,38,33,.11);
  text-align:center;
}

.t1386-eyebrow{
  margin:0 0 .8rem;
  color:var(--t1386-primary);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.t1386-home h1{
  margin:0;
  color:var(--t1386-text);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.2rem,5vw,4.4rem);
  font-weight:600;
  line-height:1.06;
}

.t1386-subtitle{
  max-width:620px;
  margin:1rem auto 0;
  color:var(--t1386-muted);
  font-size:clamp(1rem,1.6vw,1.15rem);
  line-height:1.55;
}

.t1386-home-text{
  max-width:620px;
  margin:1.4rem auto 0;
  color:var(--t1386-muted);
  font-size:1rem;
  line-height:1.75;
}

.t1386-home-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.75rem;
  margin-top:1.6rem;
}

.t1386-button{
  display:inline-flex;
  min-width:170px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:.62rem 1rem;
  border-radius:999px;
  background:var(--t1386-primary);
  color:#fff!important;
  font-size:.94rem;
  font-weight:750;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(49,95,82,.16);
}
.t1386-button:hover{background:var(--t1386-primary-dark)}

.t1386-button-secondary{
  border:1px solid rgba(49,95,82,.24);
  background:transparent;
  color:var(--t1386-primary)!important;
  box-shadow:none;
}
.t1386-button-secondary:hover{
  background:rgba(49,95,82,.08);
  color:var(--t1386-primary-dark)!important;
}

.t1386-public-link{
  margin-top:1.6rem;
  padding-top:1rem;
  border-top:1px solid var(--t1386-line);
  text-align:center;
}
.t1386-public-link a{
  color:var(--t1386-primary)!important;
  font-size:.9rem;
  font-weight:650;
  text-decoration:none;
}

.t1386-footer{
  border-top:1px solid var(--t1386-line);
  background:var(--t1386-bg);
}

.t1386-footer-inner{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:2rem;
  align-items:center;
  width:min(1180px,calc(100% - 36px));
  margin:auto;
  padding:24px 0;
  color:var(--t1386-muted);
  font-size:.84rem;
}

.t1386-footer-brand strong,
.t1386-footer-brand span{display:block}
.t1386-footer-brand strong{color:var(--t1386-text)}

.t1386-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}
.t1386-footer-links a{
  color:var(--t1386-primary)!important;
  font-weight:700;
  text-decoration:none;
}

/* Normal TNG content */
.t1386-content-wrap table,
.t1386-content-wrap .rounded4,
.t1386-content-wrap .fieldnameback{
  max-width:100%;
}

@media(max-width:760px){
  .t1386-header{position:relative}
  .t1386-header-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:.75rem;
    width:min(100% - 24px,1180px);
    padding:12px 0;
  }
  .t1386-brand{width:100%}
  .t1386-brand strong{
    font-size:1.35rem;
    white-space:normal;
  }
  .t1386-brand small{font-size:.75rem}
  .t1386-header-context{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
    gap:.5rem;
  }
  .t1386-context,.t1386-public-button{
    width:100%;
    min-width:0;
    padding:.45rem .55rem;
  }
  .t1386-nav-inner{width:100%}
  .t1386-nav ul.tngdd .menulink{
    padding:12px 13px;
    font-size:13px;
  }
  .t1386-content-wrap{
    width:min(100% - 24px,1180px);
  }
  .t1386-home{
    min-height:auto;
    padding:1.5rem 0;
  }
  .t1386-home-card{
    padding:1.45rem;
    border-radius:20px;
  }
  .t1386-home h1{
    font-size:clamp(2rem,10vw,3rem);
  }
  .t1386-home-actions{
    max-width:320px;
    margin-left:auto;
    margin-right:auto;
    flex-direction:column;
  }
  .t1386-button{
    width:100%;
    min-width:0;
  }
  .t1386-footer-inner{
    grid-template-columns:1fr;
    gap:1rem;
    width:min(100% - 24px,1180px);
    align-items:start;
  }
  .t1386-footer-links{
    display:grid;
    grid-template-columns:1fr;
    gap:.6rem;
  }
}


/* Template1386 v1.0.1 – kompaktere Desktop- und Smartphone-Proportionen */

.t1386-header-inner{
  min-height:66px;
  padding:7px 0;
}

.t1386-brand img{
  width:40px;
  height:44px;
}

.t1386-brand strong{
  font-size:clamp(1.16rem,1.7vw,1.55rem);
}

.t1386-brand small{
  font-size:.72rem;
}

.t1386-context,
.t1386-public-button{
  min-height:32px;
  padding:.34rem .68rem;
  font-size:.72rem;
}

.t1386-nav ul.tngdd .menulink{
  min-height:42px;
  padding:10px 15px 9px 17px;
  font-size:13px;
}

.t1386-content-wrap{
  min-height:calc(100vh - 165px);
}

.t1386-home{
  min-height:calc(100vh - 205px);
  padding:clamp(1.4rem,4vw,3.2rem) 0;
}

.t1386-home-card{
  width:min(650px,100%);
  padding:clamp(1.55rem,3.5vw,2.8rem);
  border-radius:22px;
  box-shadow:0 18px 48px rgba(20,38,33,.09);
}

.t1386-eyebrow{
  margin-bottom:.55rem;
  font-size:.68rem;
}

.t1386-home h1{
  font-size:clamp(1.9rem,3.9vw,3.25rem);
  line-height:1.08;
}

.t1386-subtitle{
  margin-top:.7rem;
  font-size:clamp(.92rem,1.25vw,1.04rem);
  line-height:1.48;
}

.t1386-home-text{
  margin-top:1rem;
  font-size:.94rem;
  line-height:1.62;
}

.t1386-home-actions{
  margin-top:1.25rem;
}

.t1386-button{
  min-width:150px;
  min-height:40px;
  padding:.52rem .9rem;
  font-size:.88rem;
  box-shadow:0 5px 14px rgba(49,95,82,.14);
}

.t1386-public-link{
  margin-top:1.2rem;
  padding-top:.8rem;
}

.t1386-public-link a{
  font-size:.84rem;
}

.t1386-footer-inner{
  padding:18px 0;
  font-size:.78rem;
}

@media(max-width:760px){
  .t1386-header-inner{
    min-height:auto;
    gap:.55rem;
    padding:9px 0;
  }

  .t1386-brand{
    gap:.65rem;
  }

  .t1386-brand img{
    width:34px;
    height:38px;
  }

  .t1386-brand strong{
    font-size:1.16rem;
    line-height:1.12;
  }

  .t1386-brand small{
    margin-top:.14rem;
    font-size:.68rem;
    line-height:1.25;
  }

  .t1386-header-context{
    gap:.4rem;
  }

  .t1386-context,
  .t1386-public-button{
    min-height:30px;
    padding:.34rem .45rem;
    font-size:.68rem;
  }

  .t1386-nav ul.tngdd .menulink{
    min-height:38px;
    padding:9px 10px;
    font-size:12px;
  }

  .t1386-content-wrap{
    width:min(100% - 18px,1180px);
  }

  .t1386-home{
    padding:1rem 0;
  }

  .t1386-home-card{
    padding:1.1rem;
    border-radius:16px;
  }

  .t1386-eyebrow{
    margin-bottom:.4rem;
    font-size:.62rem;
  }

  .t1386-home h1{
    font-size:clamp(1.65rem,8.4vw,2.45rem);
  }

  .t1386-subtitle{
    margin-top:.5rem;
    font-size:.86rem;
  }

  .t1386-home-text{
    margin-top:.8rem;
    font-size:.88rem;
    line-height:1.5;
  }

  .t1386-home-actions{
    max-width:270px;
    margin-top:1rem;
  }

  .t1386-button{
    min-height:38px;
    padding:.48rem .75rem;
    font-size:.84rem;
  }

  .t1386-public-link{
    margin-top:1rem;
    padding-top:.65rem;
  }

  .t1386-footer-inner{
    gap:.65rem;
    padding:14px 0;
    font-size:.74rem;
  }
}


/* Template1386 v1.0.2 – Titel in der Mitte deutlich kleiner */

.t1386-home h1{
  font-size:clamp(1.7rem,3vw,2.65rem)!important;
  line-height:1.1!important;
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}

.t1386-subtitle{
  max-width:560px;
  font-size:clamp(.88rem,1.05vw,.98rem)!important;
}

@media(max-width:760px){
  .t1386-home h1{
    font-size:clamp(1.42rem,6.8vw,2rem)!important;
    line-height:1.12!important;
    max-width:100%;
  }

  .t1386-subtitle{
    font-size:.8rem!important;
    line-height:1.4!important;
    max-width:92%;
  }
}

@media(max-width:420px){
  .t1386-home h1{
    font-size:1.48rem!important;
  }

  .t1386-subtitle{
    font-size:.76rem!important;
  }
}


/* =========================================================
   Template1386 v1.1.0 – finaler Grundstil
   ========================================================= */

/* Allgemeine TNG-Inhalte */
.t1386-content-wrap{
  padding-top:1.2rem;
  padding-bottom:2rem;
}

.t1386-content-wrap > h1,
.t1386-content-wrap > h2,
.t1386-content-wrap .normal > h1,
.t1386-content-wrap .normal > h2{
  color:var(--t1386-text);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:600;
  line-height:1.15;
}

.t1386-content-wrap h1{
  font-size:clamp(1.7rem,2.7vw,2.45rem);
}

.t1386-content-wrap h2{
  font-size:clamp(1.35rem,2vw,1.85rem);
}

.t1386-content-wrap h3{
  font-size:1.1rem;
}

.t1386-content-wrap p,
.t1386-content-wrap li,
.t1386-content-wrap td,
.t1386-content-wrap th,
.t1386-content-wrap label,
.t1386-content-wrap input,
.t1386-content-wrap select,
.t1386-content-wrap textarea{
  font-size:.94rem;
  line-height:1.55;
}

/* TNG-Karten, Boxen und Tabellen */
.t1386-content-wrap .rounded4,
.t1386-content-wrap .rounded6,
.t1386-content-wrap .databack,
.t1386-content-wrap .fieldnameback,
.t1386-content-wrap .whiteback,
.t1386-content-wrap .lightback{
  border-color:var(--t1386-line)!important;
}

.t1386-content-wrap .rounded4,
.t1386-content-wrap .rounded6,
.t1386-content-wrap .whiteback,
.t1386-content-wrap .lightback{
  border-radius:14px;
}

.t1386-content-wrap table{
  border-collapse:separate;
  border-spacing:0;
}

.t1386-content-wrap table td,
.t1386-content-wrap table th{
  padding:.55rem .65rem;
}

.t1386-content-wrap .fieldnameback{
  background:rgba(49,95,82,.08)!important;
  color:var(--t1386-text)!important;
}

.t1386-content-wrap .databack{
  background:var(--t1386-card)!important;
}

/* Formulare und Login */
.t1386-content-wrap input[type="text"],
.t1386-content-wrap input[type="email"],
.t1386-content-wrap input[type="password"],
.t1386-content-wrap input[type="search"],
.t1386-content-wrap select,
.t1386-content-wrap textarea{
  min-height:40px;
  padding:.48rem .62rem;
  border:1px solid rgba(49,95,82,.25);
  border-radius:8px;
  background:#fff;
  color:var(--t1386-text);
}

.t1386-content-wrap textarea{
  min-height:110px;
}

.t1386-content-wrap input:focus,
.t1386-content-wrap select:focus,
.t1386-content-wrap textarea:focus{
  border-color:var(--t1386-primary);
  outline:2px solid rgba(49,95,82,.12);
  outline-offset:1px;
}

.t1386-content-wrap input[type="submit"],
.t1386-content-wrap input[type="button"],
.t1386-content-wrap button,
.t1386-content-wrap .btn{
  min-height:39px;
  padding:.48rem .85rem;
  border:1px solid var(--t1386-primary);
  border-radius:8px;
  background:var(--t1386-primary);
  color:#fff!important;
  font-size:.88rem;
  font-weight:700;
  cursor:pointer;
}

.t1386-content-wrap input[type="submit"]:hover,
.t1386-content-wrap input[type="button"]:hover,
.t1386-content-wrap button:hover,
.t1386-content-wrap .btn:hover{
  background:var(--t1386-primary-dark);
}

/* Anmeldeseite kompakter und mittig */
body.login .t1386-content-wrap,
body.loginphp .t1386-content-wrap{
  max-width:760px;
  padding-top:1.5rem;
}

body.login .t1386-content-wrap > h1,
body.loginphp .t1386-content-wrap > h1{
  text-align:center;
}

body.login .t1386-content-wrap form,
body.loginphp .t1386-content-wrap form{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}

/* Suchleiste und Seitensymbole beruhigen */
.t1386-content-wrap .searchform,
.t1386-content-wrap #searchform,
.t1386-content-wrap .searchbox{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}

.t1386-content-wrap .snlink,
.t1386-content-wrap .lightlink,
.t1386-content-wrap a{
  color:var(--t1386-primary);
}

.t1386-content-wrap a:hover{
  color:var(--t1386-primary-dark);
}

/* Person- und Familienseiten */
body.getperson .t1386-content-wrap,
body.familygroup .t1386-content-wrap{
  padding-top:1rem;
}

body.getperson .t1386-content-wrap .person-name,
body.getperson .t1386-content-wrap h1,
body.familygroup .t1386-content-wrap h1{
  margin-top:.2rem;
  margin-bottom:.85rem;
}

body.getperson .t1386-content-wrap img,
body.familygroup .t1386-content-wrap img{
  border-radius:8px;
}

/* Breite Medien, Diagramme und Tabellen scrollbar statt abgeschnitten */
.t1386-content-wrap .scrollable,
.t1386-content-wrap .table-responsive{
  overflow-x:auto;
}

.t1386-content-wrap table,
.t1386-content-wrap svg,
.t1386-content-wrap canvas{
  max-width:100%;
}

/* Footer und Header noch ruhiger */
.t1386-footer-inner{
  min-height:58px;
}

.t1386-footer-brand span{
  margin-top:.15rem;
}

.t1386-header-context{
  flex-shrink:0;
}

/* Smartphone final */
@media(max-width:760px){
  .t1386-content-wrap{
    padding-top:.75rem;
    padding-bottom:1.2rem;
  }

  .t1386-content-wrap h1{
    font-size:1.48rem;
  }

  .t1386-content-wrap h2{
    font-size:1.22rem;
  }

  .t1386-content-wrap p,
  .t1386-content-wrap li,
  .t1386-content-wrap td,
  .t1386-content-wrap th,
  .t1386-content-wrap label,
  .t1386-content-wrap input,
  .t1386-content-wrap select,
  .t1386-content-wrap textarea{
    font-size:.86rem;
  }

  .t1386-content-wrap table{
    display:block;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .t1386-content-wrap table td,
  .t1386-content-wrap table th{
    padding:.45rem .5rem;
  }

  .t1386-content-wrap input[type="text"],
  .t1386-content-wrap input[type="email"],
  .t1386-content-wrap input[type="password"],
  .t1386-content-wrap input[type="search"],
  .t1386-content-wrap select,
  .t1386-content-wrap textarea{
    width:100%;
    max-width:100%;
    min-height:38px;
  }

  .t1386-content-wrap input[type="submit"],
  .t1386-content-wrap input[type="button"],
  .t1386-content-wrap button,
  .t1386-content-wrap .btn{
    min-height:38px;
    padding:.45rem .72rem;
    font-size:.82rem;
  }

  body.login .t1386-content-wrap,
  body.loginphp .t1386-content-wrap{
    max-width:100%;
  }

  .t1386-footer-inner{
    min-height:0;
  }
}

@media(max-width:420px){
  .t1386-header-context{
    grid-template-columns:1fr;
  }

  .t1386-context,
  .t1386-public-button{
    min-height:29px;
    font-size:.66rem;
  }

  .t1386-home-card{
    padding:1rem;
  }

  .t1386-home h1{
    font-size:1.42rem!important;
  }

  .t1386-content-wrap h1{
    font-size:1.38rem;
  }
}


/* =========================================================
   Template1386 v1.1.1 – Personenseite und Navigation
   ========================================================= */

/* Feldbezeichnungen auf Personen- und Familienseiten klarer lesbar */
body.getperson .t1386-content-wrap .fieldname,
body.getperson .t1386-content-wrap .fieldnameback,
body.familygroup .t1386-content-wrap .fieldname,
body.familygroup .t1386-content-wrap .fieldnameback,
.t1386-content-wrap td.fieldname,
.t1386-content-wrap th.fieldname,
.t1386-content-wrap .fieldname{
  color:#24352f!important;
  font-weight:700!important;
}

body.getperson .t1386-content-wrap .fieldnameback,
body.familygroup .t1386-content-wrap .fieldnameback,
.t1386-content-wrap .fieldnameback{
  background:#e4ece8!important;
  border-color:rgba(49,95,82,.18)!important;
}

/* Werte wie Name, Geburt, Tod usw. dunkler und ruhiger */
body.getperson .t1386-content-wrap .databack,
body.familygroup .t1386-content-wrap .databack,
body.getperson .t1386-content-wrap td,
body.familygroup .t1386-content-wrap td{
  color:#2f3d38!important;
}

body.getperson .t1386-content-wrap a,
body.familygroup .t1386-content-wrap a{
  color:#275447!important;
  font-weight:600;
}

body.getperson .t1386-content-wrap a:hover,
body.familygroup .t1386-content-wrap a:hover{
  color:#173c32!important;
}

/* Personenkopf */
body.getperson .t1386-content-wrap h1,
body.familygroup .t1386-content-wrap h1{
  color:#17231f!important;
}

body.getperson .t1386-content-wrap .person-name,
body.getperson .t1386-content-wrap .nameheader{
  color:#17231f!important;
  font-weight:650!important;
}

/* Navigation: wärmer, eleganter und weniger technisch */
.t1386-nav{
  background:linear-gradient(180deg,#36584e 0%,#2c4b42 100%)!important;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(18,35,29,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.t1386-nav ul.tngdd{
  display:flex;
  align-items:center;
  gap:2px;
}

.t1386-nav ul.tngdd .menulink{
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#f5f7f6!important;
  font-weight:650;
  letter-spacing:.01em;
}

.t1386-nav ul.tngdd .menulink:hover,
.t1386-nav ul.tngdd .menuhover{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
}

.t1386-nav ul.tngdd li:first-child .menulink{
  margin-left:0;
}

/* Dropdown-Menüs optisch ans Template angleichen */
.t1386-nav ul.tngdd ul{
  border:1px solid rgba(49,95,82,.18)!important;
  border-radius:9px!important;
  background:#fffdf8!important;
  box-shadow:0 14px 34px rgba(21,39,33,.16)!important;
  overflow:hidden;
}

.t1386-nav ul.tngdd ul li a{
  background:#fffdf8!important;
  color:#2d4039!important;
  font-size:.85rem!important;
}

.t1386-nav ul.tngdd ul li a:hover{
  background:#edf3f0!important;
  color:#173c32!important;
}

/* Header etwas harmonischer mit dem neuen Menü */
.t1386-header{
  background:rgba(248,246,240,.98)!important;
}

.t1386-context{
  background:#edf3f0!important;
  border-color:rgba(49,95,82,.18)!important;
  color:#315f52!important;
}

.t1386-public-button{
  background:#315f52!important;
  box-shadow:0 5px 13px rgba(49,95,82,.14);
}

.t1386-public-button:hover{
  background:#21483e!important;
}

/* Smartphone */
@media(max-width:760px){
  .t1386-nav ul.tngdd{
    gap:0;
  }

  .t1386-nav ul.tngdd .menulink{
    border-radius:0!important;
    font-size:.76rem!important;
    font-weight:600;
  }

  body.getperson .t1386-content-wrap .fieldname,
  body.getperson .t1386-content-wrap .fieldnameback,
  body.familygroup .t1386-content-wrap .fieldname,
  body.familygroup .t1386-content-wrap .fieldnameback{
    font-size:.82rem!important;
  }

  body.getperson .t1386-content-wrap .databack,
  body.familygroup .t1386-content-wrap .databack{
    font-size:.84rem!important;
  }
}


/* =========================================================
   Template1386 v1.1.2 – gezielte Hauptmenü-Korrektur
   Diese Regeln werden nur am Ende der vollständigen CSS-Datei ergänzt.
   ========================================================= */

.t1386-nav ul.tngdd > li > a.menulink,
.t1386-nav .tngdd > li > a.menulink,
.t1386-nav a.menulink{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-height:42px !important;
    margin:3px 2px !important;
    padding:9px 15px !important;
    border:0 !important;
    border-radius:7px !important;
    background:transparent !important;
    color:#f4f7f5 !important;
    font-size:13px !important;
    font-weight:650 !important;
    line-height:1.2 !important;
    text-decoration:none !important;
    text-shadow:none !important;
    box-shadow:none !important;
}

.t1386-nav ul.tngdd > li:hover > a.menulink,
.t1386-nav ul.tngdd > li > a.menulink:hover,
.t1386-nav .tngdd > li > a.menuhover,
.t1386-nav a.menulink.menuhover{
    background:rgba(255,255,255,.14) !important;
    color:#ffffff !important;
}

/* TNG kann die Dropdown-Links ebenfalls als menulink ausgeben.
   Deshalb nur direkte Hauptmenü-Kinder gestalten. */
.t1386-nav ul.tngdd > li > ul a,
.t1386-nav ul.tngdd > li > div a{
    display:block !important;
    min-height:0 !important;
    margin:0 !important;
    padding:8px 12px !important;
    border-radius:0 !important;
    background:#fffdf8 !important;
    color:#2d4039 !important;
    font-size:.84rem !important;
    font-weight:500 !important;
    text-align:left !important;
}

.t1386-nav ul.tngdd > li > ul a:hover,
.t1386-nav ul.tngdd > li > div a:hover{
    background:#edf3f0 !important;
    color:#173c32 !important;
}

@media(max-width:760px){
    .t1386-nav ul.tngdd > li > a.menulink,
    .t1386-nav .tngdd > li > a.menulink,
    .t1386-nav a.menulink{
        min-height:36px !important;
        margin:0 !important;
        padding:8px 10px !important;
        border-radius:0 !important;
        font-size:12px !important;
    }
}
