/*
Theme Name:Ponholzer 2.0
Version: Jänner 2026
Theme URI:https://graphiks.info/
Author:Andreas Hartl
*/

/*Reset ------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;vertical-align: baseline;}body {line-height: 1;}ol,ul {list-style: none;}blockquote,q {quotes: none;}blockquote:before,blockquote:after,q:before,q:after {content: '';content: none;}table {border-collapse: collapse;border-spacing: 0;}caption,th,td {font-weight: normal;text-align: left;}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display: block;}audio,canvas,video {display: inline-block;}audio:not([controls]) {display: none;}del {color: #333;}ins {background: #fff9c0;text-decoration: none;}sub,sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}sup {top: -0.5em;}sub {bottom: -0.25em;}small {font-size: smaller;}img {border: 0;-ms-interpolation-mode: bicubic;}

@font-face {
    font-family: 'RobotoRegular';
    src: url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/RobotoRegular.eot);
    src: url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/RobotoRegular.eot) format('embedded-opentype'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/RobotoRegular.woff2) format('woff2'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/RobotoRegular.woff) format('woff'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/RobotoRegular.ttf) format('truetype'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/RobotoRegular.svg#RobotoRegular) format('svg');
}

@font-face {
    font-family: 'BarlowRegular';
    src: url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/BarlowRegular.eot);
    src: url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/BarlowRegular.eot) format('embedded-opentype'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/BarlowRegular.woff2) format('woff2'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/BarlowRegular.woff) format('woff'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/BarlowRegular.ttf) format('truetype'),
         url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/fonts/BarlowRegular.svg#BarlowRegular) format('svg');
}

*  {box-sizing: border-box; outline:none;}
html { overflow-y: scroll;}
body, tr, td, th, form, label, cite, select, input {font-family:'RobotoRegular', 'Lucida Grande',Verdana, Arial, Helvetica, sans-serif;font-size:17px;line-height:1.5em;color: #444;}

a, a:visited {color:#333;text-decoration:underline;}
.link { text-decoration: underline !important}
a:hover, a:active, img:hover {color:#3e5690;}
#post a[href*=".pdf"],#post a.external[href*=".pdf"],#post a.email {background-image:url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/pics/PDF.png) ; background-repeat:  no-repeat; background-position:  left center ; padding:0 0 0 30px;line-height:30px;display:inline-block; text-decoration: underline;}
a[href*="tel"] { text-decoration: none;}
#post a.email {background-image:url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/pics/Mail_Reply.png);}
.more-link {padding:7px 0 0 0; text-decoration: underline !important;}

hr { background: #fff;border:2px dotted #ddd; border-width:0 0 2px 0;height: 1px;width:99.99%;margin:15px 0; clear: both;}

h2,h3,h4,h5,h6, h1, #navi a { font-weight: 300;color:#3e5690;line-height:1.3em;  letter-spacing: .01em; font-family:'BarlowRegular', sans-serif; }
h2, h3, h4 {font-size:1.3em;margin-bottom:20px; line-height: 1.6em; font-weight: bold;}
h2.page-title {font-size:1.6em; letter-spacing: 1px; color: #3e5690; font-weight: bold; text-transform: uppercase;}
 
h3, .wp-block-latest-posts__post-title {font-size:1.2em;margin:20px 0 1em 0; }	
h3 a, h3 a:visited, a hr, a:visited h3 {text-decoration:none !important; color:#3e5690;}
h3 a:hover, h3 a:active, a:hover h3, a:active h3 {color:#999  !important;}
h4, {font-size:1.2em; margin-bottom:10px;}
h5 { text-transform: none;}

p {margin-bottom:1.1em;}
blockquote { padding:0 0 20px 0; margin-bottom: 20px; border-bottom: 1px dotted #ccc;}
small {font-size:.7em;color:#999;}
img { display: block; max-width: 100%; height: auto;}
strong {font-weight: bold;}

/*Layout 
====================================================================================*/

.skiplink {position:absolute;left:-99999px;top:-20em;}

.container {position:relative;width:100%; display: block; padding: 0; margin: 0;}
.content {position:relative;width:96%;min-width:300px;max-width:1350px; margin: 0 auto; }	

/*Header 
====================================================================================*/

#header {  background: #fff;margin-top: 0;  border-bottom: 2px solid #3e5690; z-index: 2;  }
#header a { text-decoration: none; color: #3e5690 !important; }

#headercontent {	display: flex; 	flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; align-content: stretch;justify-content: space-between;}
.headlines {  width: 75%; font-size: .85em; padding-top: 7px;  }
#headercontent h1 { font-size: 1em;line-height: 1.4em; color: #3e5690;  font-family:'Times New Roman', serif;text-shadow: 1px 1px 3px #787878;  }
#headercontent h4 { font-size: .85em;line-height: 1.4em; color: #3e5690;  font-family:'Times New Roman', serif;text-shadow: 1px 1px 3px #787878; text-transform: none;   }
.headerimage {  width: 25%;}

/*Navigation  
====================================================================================*/

#navi { z-index: 2; font-size: .9em;  margin: 0;  z-index: 20; line-height: 1.2em;width: 100%;  border-bottom: 2px solid #3e5690; text-align: center;}
#menu { padding: 0 ; width: 100%; }
#navi a, #navi a:visited {text-decoration:none;  display:block;  font-size: .75em; color: #444; }

#navi ul   { height: 42px; line-height: 42px;    }

#navi .current-menu-item a, #navi .sub-menu .current-menu-item a {color:#3e5690 ;cursor:default; }
#navi .current-menu-item .sub-menu a { cursor: pointer; color: #333 ;}
#navi .current_page_parent a, #navi .current-page-ancestor a { color: #3e5690;}
#navi .current_page_parent a:hover, #navi .current-menu-item .sub-menu a:hover, #navi .current-page-ancestor a:hover { color: #ccc; text-decoration: underline;}

#navi  li {position:relative; display:inline-block; line-height: 42px; height: 42px;padding: 0 ;  }

#navi  li a { padding:10px  3px ;display: block; }

#navi ul.sub-menu {  position:absolute;   top:41px;   text-align: left; height: 0; overflow: hidden; visibility: hidden; opacity: 0; margin: -20px 0 0 0; border:1px solid #ddd; border-width:0 1px 1px 1px;   background:#fff;  }
#navi li:hover ul.sub-menu {   -webkit-border-radius: 0 0 3px 3px;border-radius:  0 0 3px 3px;   min-width: 110%; width: auto;  margin:0 ;  }

#navi .sub-menu	li, #navi .menu_item_has_children:hover .sub-menu .menu_item_has_children  {border-width:0 0 1px 0 ; border-bottom-color:  #fff;float:none;font-size: .8em; text-transform: none; margin: 0; padding: 0  15px; -webkit-border-radius:0;border-radius: 0; display: block; height: auto;  line-height: 1.6em; border-bottom: 1px dotted #fff; white-space: nowrap; }
#navi .sub-menu	li:last-child   {-webkit-border-radius: 0 0 5px 5px;border-radius: 0 0 5px 5px; border-bottom: 0;}

#navi .menu_item_has_children .sub-menu a {height: auto;}

#navi ul.sub-menu li { height: auto; line-height: 1.4em;}
#navi ul.sub-menu a, #navi .current-menu-item ul a,#navi .current_page_ancestor ul a { color: #333 ; text-transform: none; letter-spacing: normal; }
    
#navi ul.sub-menu a::before, #navi .current-menu-item ul a::before ,#navi .current_page_ancestor ul a::before {content:""; display: inline; margin-right: 0;} }
#navi ul.sub-menu a:hover, #navi .current-menu-item ul a:hover,#navi .current_page_ancestor ul a:hover { color: #999 ;}
#navi .sub-menu .current-menu-item a {color:#3e5690 !important;cursor:default; }

#navi .lang_eng 	{ position:absolute;  width:33px; height:23px; }
#navi .lang_eng a, #navi .lang_eng a:visited {position:absolute; left:0; top:10px;width:23px; height:15px; border:0 none; padding:0;  background:url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/pics/gb.png) ;  background-size:100% auto; background-position: left bottom; text-indent:-9999px;} 
#navi .lang_eng a:hover, #navi .lang_eng a:active {  cursor: pointer; filter: grayscale(100%);}
.page-template-page-english #navi .lang_eng a {background-position:left top !important; cursor: default !important; filter: grayscale(100%); }
    
/*Content 
====================================================================================*/

#content {  background: #fff; }
#storycontent { padding: 15px 0 0 0;}

/*Bilder, Videos, Objects, iframes, Captions*/
img {-webkit-border-radius: 3px; border-radius:3px;}
#storycontent .alignright {margin:0 0 15px 3%;display:inline;float:right; max-width: 45%;} 
#storycontent .alignleft {margin:0 3% 15px 0;display:inline;float:left;max-width: 45%;} 
.aligncenter { margin: 10px auto; text-align: center;}  
.alignnone {display: inline-block; margin: 0 15px 10px 0;} 
.textright { text-align: right;}
#storycontent .alignleft, #storycontent .alignright 	{ max-width:48%;} 
#storycontent a img	{opacity:1;} 
#storycontent a:hover img	{opacity:.8} 
#storycontent img.alignnone { margin: 0 15px 10px 0;}

/*Caption*/
.wp-caption	{ max-width:50%; padding:4px; margin-bottom:10px; }
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption { white-space: normal; }
.wp-caption-text { font-size: .8em;}

/*Listen*/
li { position: relative;}
#post ul,#storycontent ol,#post dl  {margin: 0 0 10px 0; padding: 0;}
#post ul ul {margin: 10px 0;}
#post ul li  {margin: 0 0 3px 20px; list-style: disc;}
#post ol li {margin: 0 0 3px 30px; list-style: decimal; padding-left: 3px;}
#post ol li li {list-style: lower-latin !important;}
#post ol li li li {list-style: circle !important;}
#post ol ul { margin:7px 0;}
#post dt {font-weight: bold; margin: 0 7px 7px 0; float: left; width: 200px; clear: left; height: auto;}
#post dd {margin: 0 7px 7px 0; width: auto; height: auto;}

#post .subseiten li {list-style: none; margin-left: 0;}

/*Tabellen*/
table {border:0 none;border-spacing:0;margin:0 0 15px 0;  max-width:99.9%;} 
td, th {padding:2px 16px 2px 0;vertical-align:top;text-align:left; border:0 none;} 
th {font-weight:bold;font-size:1.2em;}
table.border td	{  padding:15px 15px 15px 0  ; border-top:1px dotted #ccc;} 
table.border tr:first-child td { padding-top:0; border:0 none;} 
table.border tr td:first-child img	{ max-width:100%M;  border:1px solid #ccc; }

/*Suche*/
.searchform input {min-width:200px;color:#999;width:25%; background-image: url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/pics/search-grey.png); background-position: center right;  background-repeat: no-repeat; background-size:auto 25px;  }
.searchform input:focus, .searchform input:active {color:#333; background:#fff;min-width:225px;width:40%;}
.searchform .button {display:none;}
	
/*Newsuebersicht, Category, Search*/
.newsintro { padding-top:10px;border-top:2px dotted #ddd;  margin-top: 15px;}
.newsintro a { text-decoration: none; display: block; width: 100%; height: 100%;}
.newsintro:hover a {color:#999;}
.newsintro img.wp-post-image { max-width: 214px !important;}
.newsintro table tr:last-child td {border-bottom:0; padding-bottom: 0;}

/*Pagenavi*/
.wp-pagenavi:before {content:".";clear:both;} 
.wp-pagenavi {text-align:center;padding:20px 0;display:block;margin:20px 0;border-top:2px dotted #ddd;} 
.wp-pagenavi .pages {margin-right:10px;line-height:2em;} 
.wp-pagenavi .extend { margin-right: 5px;}
.wp-pagenavi a,  .wp-pagenavi .current { text-decoration:none;display:inline;margin-right:5px;  } 
.wp-pagenavi .current {background:#f1f1f1 !important;color:#3e5690 !important ;}

/*Share-Buttons*/
.shariff { padding: 25px 0;}

/*Subseiten*/
#current_childpages {display: flex; flex-direction: row; flex-wrap:wrap;align-items:stretch;padding-top: 35px;} 
#current_childpages .single_childpage	{ width:97%; margin:0 0 25px 0; text-align: center; position: relative;padding:  18px 18px 8px 18px;border:1px solid  #3e5690;-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1); box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);  -webkit-border-radius: 5px; border-radius: 5px;} 
#current_childpages .single_childpage a { text-decoration: none;}

/*Sidebar , Inhaltsverzeichnis
====================================================================================*/

#sidebar {position:relative;  padding: 15px 0 0 0 ;  }
#sidebar .sidebarcontent {padding:  18px 18px 8px 18px; margin-bottom: 20px; background-color: #f9f9f9; border:1px solid  #ddd;-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1); box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);  -webkit-border-radius: 3px; border-radius: 3px;}
#sidebar h3, #sidebar h4, #sidebar h2, #sidebar h5, #sidebar h6	{ margin-top:0; font-size:1.1em; margin-bottom:15px; line-height:1.25em;  letter-spacing: normal;}
#sidebar h4 {font-weight: bold; }

#sidebar p {margin-bottom:10px;}
#sidebar a {text-decoration: underline;}
#sidebar .current_page_item a	{color:#3e5690 !important;cursor:default !important; text-decoration:none;}

#sidebar img { margin-bottom: 10px;}

/*Suche*/
#sidebar .searchform input {color:#999;width:100%; background-image: url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/pics/search-grey.png); background-position: center right;  background-repeat: no-repeat; background-size:auto 25px; border:1px solid  #ddd;-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1); box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);  -webkit-border-radius: 3px; border-radius: 3px; line-height: 1.7em; padding: 4px 7px; }
.searchform input:focus, .searchform input:active {color:#333; background:#fff;}
.searchform .button {display:none;}

/*Footer 
====================================================================================*/

#footer { padding:25px 0; margin-bottom: 25px;   }
#footercontent {border-top: 2px solid #3e5690; padding-top: 25px;}
.footer-navigation li { display: inline-block; margin:0 15px 12px 0;  }

.scroll-to-top-button { position: fixed;right: 20px;bottom: 20px;margin: 0;padding: 0;width: 50px;height: 50px;z-index: 9999; cursor: pointer; line-height: 50px; border-radius: 2px; background: none; color: #333;}
.scroll-to-top-button:hover {color: #fc0;}
.scroll-to-top-button:after {display: inline-block;margin-left: 2px;content: '\f062';vertical-align: top;font-size: 32px;font-family: 'FontAwesome';line-height: 1;  }

/*Gutenberg Styles
====================================================================================*/
.wp-block-latest-posts, .wp-block-latest-posts li { padding-left: 0 !important; margin-left: 0 !important; list-style: none !important ;}  
.wp-block-latest-posts__read-more { display: block; margin-top: 15px;}
.wp-block-latest-posts li { padding: 25px 0 15px 0; border-top: 1px solid #ddd;}
.wp-block-latest-posts li:first-child { padding: 10px 0 15px 0; border-top: 0;}

/*Ueberschreiben, Editor-Styles 
====================================================================================*/

.red {color:#f00;font-weight:bold;}
.uppercase { text-transform: uppercase;}
.hidden { display: none !important; opacity: 0;}
.nowrap { white-space: nowrap;}
img.border_white { border:10px solid #fff;}

/*.Clear*/
.wp-pagenavi:before, #header:after, #navi:after, .clear, hr:before, .clear:before {content: " "; height: 0; clear: both; visibility: hidden;font-size: 0; display:table;}

/*Buttons, Pagenavi*/
.button, .wp-pagenavi a, button, input[type="submit"], input[type="button"], input[type="reset"], .wp-pagenavi .current {-webkit-border-radius: 2px;border-radius: 2px;border:1px solid #444;letter-spacing:1px;padding:10px;line-height:20px; background-color: #444;  color: #fff;	}  

.button:hover, input[type="submit"]:hover, .wp-pagenavi a:hover, input[type="button"]:hover, input[type="reset"]:hover	{border-color: #fbc500;background-color: #ebebeb; color: #444; cursor: pointer;}

/*Transition*/
a, input, button, #navi, #navi ul, button, .button, a img, .box_content_text, .box_content {-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;-o-transition:all 400ms ease;transition:all 400ms ease;}

/*Responsive
==================================================================*/

@media screen and (max-width:499px) {

    #storycontent .alignright, #storycontent .alignleft {margin:10px auto;display:block;float:none;} 
    #navi .lang_eng  { position: absolute; right: 10px; top: 45px;}
    
}

@media screen and (min-width:550px) {
    
    #current_childpages .single_childpage	{ width: 48%; margin:0 0 25px 0;}

}

@media screen and (max-width:649px) {
    
    #navi .startseite {width:18px; height:34px; border:0 none; padding:0;  background:url(//www.dr-ponholzer.at/site/wp-content/themes/ponholzer_2.0/pics/home.svg) ;  background-size:100% auto; background-position: left center; text-indent:-9999px; background-repeat: no-repeat;}
    #navi li:nth-child(2) a::before {content:""; }
    #navi .lang_eng a { margin-left: 10px;}
 
    
}

@media screen and (min-width:650px) {
    
    #header {margin-top: -20px;}
    #headercontent h1 {   font-size: 1.4em; line-height: 1.4em;  } 
    
    #navi { font-size: 1em; height: 42px; text-align: left;}
    #navi li {padding: 0 5px 0 0; line-height: 42px; height: 42px;}
    #navi  li a::before { margin-right: 10px; }
    #navi li:hover ul.sub-menu { height: auto;  visibility: visible; opacity: 1;    }
    
    #navi  li a::before {content:"|"; display: inline; margin-right: 3px; color: #444;}
    #navi  li:first-child a::before {content:""; margin-right: 0; }
    
    #navi .lang_eng { position: absolute; right: 0; top: 7px;}
    
    #navi .menu-item-has-children a:after { content: "\f107"; font-family: 'FontAwesome'; font-size: .8em; font-weight: bold; padding-left: 10px; margin-right: 5px;}
    #navi .menu-item-has-children a:hover:after { color:#eee;}
    #navi .menu-item-has-children .sub-menu a:after {content: ""; }  
    #navi  li a { padding:10px  7px ; }
    #navi  li a { padding:10px 7px 10px 0 ;}
    #navi  li a::before { margin-right: 10px; }

    #storycontent ul.columns {display: flex; 	flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-content: stretch;}
    #storycontent ul.columns li { width: 45%; }

}


@media screen and (max-width:898px) {
    
    #post {-webkit-hyphens: auto; -ms-hyphens: auto;  hyphens: auto;}
    #post .page-title {-webkit-hyphens: none; -ms-hyphens: none;  hyphens: none}

}

@media screen and (min-width:925px) {
    
    #header {margin-top: -30px;}
    #headercontent h1 { font-size: 1.8em;line-height: 1.4em; }
    #headercontent h4 { font-size: 1.1em;  line-height:1.3em;}
    
    #navi {border: 1px solid #ddd; border-width: 1px 0; background: #efefef;}
    #navi li a {font-size: 1em;}
    #navi .lang_eng a, #navi .lang_eng a:visited { top:8px;width:33px; height:23px; } 
    
    #post {	display: flex; 	flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; align-content: stretch;justify-content: space-between;}
    #storycontent {width: 65%;padding-top: 40px;}
    .page-title { padding-top: 15px;  }
    #sidebar {width:35%; padding-left: 4%; padding-top: 40px;   } 
    
    .scroll-to-top-button { position: fixed;left:auto;bottom: 40px; right: 40px;}
   
}

@media screen and (max-width:1049px) {

    .desktop_only { display: none; height: 0; overflow: hidden;}

}

@media screen and (min-width:1050px) {
    
    #header {border-bottom: 0; background: #fff; margin-top: -40px; }
  
    .headlines {font-size: 1em; width: 70%; padding-bottom: 35px;   }
    .headerimage { width: 23%;  }

    #current_childpages {justify-content: space-evenly; }
    #current_childpages .single_childpage	{ width: 32%; }

}

@media screen and (min-width:1200px) {

    #headercontent h1 { font-size: 2.5em; }
    #headercontent h4 { font-size: 1.4em;  line-height:1.3em;}
    
    #storycontent { padding-top: 30px;}
    
}

@media screen and (min-width:1400px) {
    
     #header {margin-top: -50px; }
    
    #navi li a {font-size: 1.1em;}
    #navi .lang_eng a, #navi .lang_eng a:visited { top:5px;} 
    
}