/*
Theme Name:     Layout
Version:        1.0.0
Description:    Theme for diamea.ch
Author:         artesmedia.ch
Author URI:     https://artesmedia.ch/
Template:       enfold
*/


/* rough & ready
--------------------------------------------------------------*/

/* END rough & ready
--------------------------------------------------------------*/

/* H1 auf Mobile kleiner */
@media only screen and (max-width: 989px) {

  #top .avia_textblock h1 {
    font-size: 24px !important;       
    line-height: 1.25 !important;
    letter-spacing: 0.01em;
    
    /* Silbentrennung deaktivieren */
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

/* Burger-Menü: Schriftgrösse erhöhen */
@media only screen and (max-width: 989px) {

  #top .av-burger-overlay #av-burger-menu-ul .avia-menu-text {
    font-size: 22px !important;
	font-weight: 500 !important;
    line-height: 1.6 !important;
  }
}


/* Such-Lupe im Header ausblenden */
#top .av_header_search,
#top .header-search-link,
#top a[href*="?s="],
#top a[aria-label*="Search"],
#top a[aria-label*="Suche"]{
  display: none !important;
}

#top .avia_textblock h1,
#top .avia_textblock h1 strong {
    font-family: Lora, serif !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

#top .avia_textblock h1 {
    font-family: Lora, serif;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
}
/* NUR Text unter "Advokatur" – Titel bleibt unverändert */
.av_one_third .avia_textblock h6 {
    font-family: Lora , serif;
	font-weight: 500;
	font-size: 22px;
    line-height: 1.5;
}

#top h2,
#top h2 strong,
#top h3,
#top h3 strong,
#top h4,
#top h4 strong
{
    text-transform: none !important;
    font-family: Verdana, Arial, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

#top h2 {
    font-size: 18px;
}

#top h3 {
    font-size: 14px;

}

#top h4 {
    font-size: 14px;

}

@media (max-width: 767px) {
  #top h1, 
  #top h2 {
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

/* Listen-Schrift grösser & kompakter */
#top .avia_textblock ul li {
  font-size: 14px;       /* z. B. 14–16px */
  line-height: 1.2;     /* kompakter Zeilenabstand */
  margin-bottom: 4px;   /* Abstand zwischen Bullet-Punkten */
}
/* Enfold: Bilder ohne abgerundete Ecken */
.avia_image,
.avia_image img,
.av-image-container img {
    border-radius: 0 !important;
}


/* Header flexibel machen */
#top #header_main {
    height: auto;
}

/* Logo-Container */
#top .av-logo-container {
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
    line-height: normal;
}

/* Logo (SVG) */
#top .av-logo-container svg {
    max-height: 105px;
    width: auto;
}


/* Links mit Unterstreichung */
#main .template-page.content a:link, #main .template-page.content a:visited {border-bottom:1px solid}
#main .template-page.content a:hover, #main .template-page.content a:active {font-weight:bold;}
/* Links ohne Unterstreichung */
#footer a:link, #footer a:visited {border-bottom:1px solid #f8f8f8;}
#footer a:hover {border-bottom:1px solid #2d5e69}, #footer a:active {border-bottom:1px solid #2d5e69;}
#socket a:link, #socket a:visited {border-bottom:1px solid #f8f8f8;}
#socket a:hover {border-bottom:1px solid #2d5e69}, #socket a:active {border-bottom:1px solid #2d5e69;}


#main p {
    font-size: 14px;
}


.block-cv p {
	margin-bottom:0rem;
}
.table-cv,
.main_color .table-cv,
.alternate_color .table-cv {
	margin:0px 0 30px 0!important;
	width:100%;
	table-layout:fixed;
	border:0px solid #f8f8f8!important;
}

.table-cv td {
    padding:0px;
	vertical-align:top;
	text-align:left;
	font-size:14px;
	color:#2d5e69;
	text-transform:none;
	border:0px!important;
}
.table-cv td:first-child {
    width: 110px!important;
    white-space: nowrap;
}

.table-cv td:nth-child(2) {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.avia-data-table tr:nth-child(even),
.avia-data-table tr:nth-child(odd) {
    background: transparent !important;
}

@media only screen and (max-width: 767px) {
  .responsive div .avia_responsive_table .avia-data-table table, .responsive div .avia_responsive_table .avia-data-table tbody, .responsive div .avia_responsive_table .avia-data-table tr, .responsive div .avia_responsive_table .avia-data-table td, .responsive div .avia_responsive_table .avia-data-table th {
    display: inline-block;
    border-top: none;
    border-right: none;
    border-left: none;
    text-align: left;
	vertical-align:top;
  }
    .avia-data-table,
    .avia-data-table tbody,
    .avia-data-table tr {
        display: table !important;
        width: 100%;
    }

    .avia-data-table td {
        display: table-cell !important;
        vertical-align: top;
		padding:0px;
    }	
.table-cv td:first-child {
    width: 100px;
    white-space: nowrap;
	vertical-align:top;
	}
.avia-data-table tr:nth-child(even),
.avia-data-table tr:nth-child(odd) {
    background: transparent !important;
}	
}
.avia-data-table,
.avia-data-table table,
.avia-data-table tbody,
.avia-data-table tr,
.avia-data-table td,
.avia-data-table th {
    background: transparent !important;
    background-color: transparent !important;
}

.avia-data-table tr:nth-child(even),
.avia-data-table tr:nth-child(odd),
.avia-data-table tr:hover,
.avia-data-table td:hover {
    background: transparent !important;
}

.avia-data-table,
.avia-data-table td,
.avia-data-table th {
    border: none;
}

/* Enfold: Listen enger – inklusive <p> in <li> */
#top .entry-content-wrapper .avia_textblock ul,
#top .entry-content-wrapper .avia_textblock ol{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#top .entry-content-wrapper .avia_textblock ul > li,
#top .entry-content-wrapper .avia_textblock ol > li{
  margin-bottom: 3px !important;
  line-height: 1.3 !important;
}

/* Wichtig: Absatz-Margins innerhalb der Listenelemente entfernen */
#top .entry-content-wrapper .avia_textblock ul > li > p,
#top .entry-content-wrapper .avia_textblock ol > li > p{
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
}


