/*
Willkommen bei individuellem CSS!

Unter https://wp.me/PEmnE-Bt erfährst du, wie es funktioniert.
*/
/* change accent color on Venture theme petrol | 18992352-hc SE */
h1, h2, h3, h4, h5, h6, #masthead.default-view-header, #masthead.default-view-header a, .single.singular-featured-image-inactive #masthead, .page.singular-featured-image-inactive:not(.page-template-templatesfront-page-php) #masthead, .single.singular-featured-image-inactive #masthead a, .page.singular-featured-image-inactive:not(.page-template-templatesfront-page-php) #masthead a, .front-block.featured-page .hentry.has-post-thumbnail:hover .more-link, .front-block .front-testimonial-inner, .archive .page-header.centered-header .page-title, .author-container .author-name a,
{ color: #005a73; font-weight:400;
}

/* change accent color on Venture theme scroll header and footer titles to green | 18992352-hc SE */
#masthead.scroll-header, #text-14 > h2, #jetpack_widget_social_icons-3 > h2, #masthead.scroll-header a {
	color: #76B82A; font-weight:400;
}

/* drop-down menu BG color for Venture | 18992352-hc SE */
#toggle-sidebar #close-toggle-sidebar:hover , .main-navigation ul ul {
	background: #005a73;
}

.main-navigation ul ul:before {
	border-bottom-color: #005a73;
}

/* Transform button label case and font-size / io / #19095092-hc */
.wf-active .front-block.featured-page .more-link {
    display: inline-block;
	  text-transform: lowercase;
	font-size: 20px;
}

.wf-active .front-block.featured-page .more-link:first-letter {
	text-transform: uppercase;
}

/*Transform block-pullquote Homepage*/
.wp-block-pullquote p {
	line-height: 1.3em; font-size: 25px;
}

/*Transform Featured page PREMAS Products Homepage*/
@media (min-width: 992px) {
  .front-block.featured-page  {
    max-width: 1170px;
    margin: 0 auto; 
		background-color: #ffffff; 
  } }

@media (min-width: 992px) { #primary > div.front-block.featured-page.front-block-two.th-w-full > div > div:nth-child(1) {
   padding-right: 25px; }}

@media (min-width: 992px) {
  .grid-item  {
   /*padding-right: 25px;*/
		padding-bottom: 25px;
		background-color: #ffffff; 
  } }

@media (max-width: 991px) {
  .front-block.featured-page .grid-item {
 		padding-bottom: 25px;
		background-color: #ffffff; 
  } }
	
.featured-page .grid-item .entry-title {
  font-size: 2.027rem;
}

.featured-page .grid-item .entry-summary {
  font-size: 22px;
}

.has-huge-font-size {
    color: #fff !important;
}

.front-block .grid-item .hentry {
  padding-top: 25px;
  padding-bottom: 25px;
  min-height: 25em;
}

.overlay, .portfolio-grid .hentry .entry-header a:before {
    background: #005a73;
}

.has-background-cover .overlay{
  opacity:0.7;
}

/*Transform Contentbox Homepage*/
.front-block-one .front-block-inner {
    max-width: 1170px;font-size:20.8px; 
}

/* Transform Headersection Homepage Hero-Section & Menue, Logo placement / Martina */

/*
@media (min-width: 992px) {
  .site-header  {
    max-width: 1170px;
    margin: 0 auto;
		
  } 
} */


@media (min-width: 500px) {
.fullscreen-header .entry-title {
    font-size: 3.247rem; 
}
	}
@media (min-width: 768px) {
    .site-header {
        max-width: 1395px;
        margin: 0 auto;
        padding-left: 17.5px;
        padding-right: 17.5px;
    }

    .site-header.scroll-header {
        position: auto-flow;
    }
}

/* Transform all Headerheights/ Martina */
@media (min-width: 500px){
  .fullscreen-header,
  .fullscreen-header .hentry, .singular-page-header {
    min-height: auto;
    height: 40em;
  }
}

/*
@media (min-width: 992px) {
  .site-header {
    padding-left: 8.5%;
    padding-right: 8.5%;
  }
}*/




/* Font size all Titlesizes, font family page / Martina */

h1 {
    font-size: 3.11rem;
    
}

h2 {
    font-size: 2.1rem;
    color: #005a73;
}

h3 {
    font-size: 1.5rem;
	  color: #005a73;
}

h4 {
    font-size: 1.2rem;
    color: #005a73;
}

h5 {
    font-size: 0.7rem;
    color: #005a73;
}

h6 {
    font-size: 0.6223rem;
    color: #005a73;
}

/* Font family all Theme general / Martina 
*/
body {
    --wp--preset--font-family--body-font: Open Sans;
    --wp--preset--font-family--headings-font: Open Sans;
}



/* Font size all Theme general and font size Menu / Martina 
*/

body {
    --wp--preset--font-size--tiny: 14px;
    --wp--preset--font-size--small: 16px;
    --wp--preset--font-size--normal: 20px;
    --wp--preset--font-size--medium: 23px;
    --wp--preset--font-size--large: 25px;
    --wp--preset--font-size--x-large: 26px;
    --wp--preset--font-size--huge: 30px;
    --wp--preset--font-size--enormous: 34px;
    --wp--preset--font-size--gigantic: 40px;
    --wp--preset--font-size--grand: 45px;
}

.site-header .main-navigation {
    font-size: 16px;
}

/* Transform Scroll Header Height/ Martina */

.site-header.scroll-header,
.site-header.default-view-header,
.site-header.default-view-header a,
.single.singular-featured-image-inactive .site-header,
.page.singular-featured-image-inactive:not(.page-template-templatesfront-page-php) .site-header,
.single.singular-featured-image-inactive .site-header a,
.page.singular-featured-image-inactive:not(.page-template-templatesfront-page-php) .site-header a {
	height: 94px;
	line-height: 1.75;
}

/* Transform current menu point highlighted / Martina */
.main-navigation .current-menu-item > a {
  font-weight: bold;
  color: #76B82A;
} 

 #masthead.scroll-header .main-navigation .current-menu-item > a {
  font-weight: bold;
  color: #76B82A;
}

#page #masthead .main-navigation ul ul .current-menu-item > a {
  color: #76B82A;
}


/*Transform Listing mobile from centered to left, your benefits at a glance-part*/

.wp-block-kadence-iconlist.kt-list-icon-aligntop ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap {
  text-align: left;
}


	
		@media only screen and (max-width:991px){
  body { text-align: center;  }
	}

/* Transform Mobile Menu Burger / Martina 
.site-header .header-search,
.site-header .header-menu {
  font-size: 1.75rem;
} */

/* Transform Mobile Menu font size / Martina */
#page #toggle-sidebar .mobile-navigation ul li a {
  font-size: 24px;
}

#page #toggle-sidebar .mobile-navigation ul .sub-menu a {
  font-size: 18px;
}
sub, sup {
    font-size: 50% !important;
    top: -0.8em;
}
h1.entry-title sup {
    font-size: 40% !important;
    top: -1.2em !important;
}
sup sup {
	font-size: 100% !important;
    top: unset;
}

/* increase the width of layout of archive views when sidebar is inactive */ .inactive-sidebar.hfeed .site-main {
  max-width: 100%;
}

.inactive-sidebar.hfeed .site-main .entry-thumb img {
  width: 100%;
}

/* Increase a width of singular post view when sidebar is inactive  Newspage full width */ .inactive-sidebar.single .singular-page-header .container, .inactive-sidebar.single .site-main {
  max-width: 100%;
}

/* Mailpoet */
form.mailpoet-manage-subscription .mailpoet_text_label, 
form.mailpoet-manage-subscription .mailpoet_select_label, 
form.mailpoet-manage-subscription .mailpoet_segment_label{
    display: block;
    font-weight:bold;
}
form.mailpoet-manage-subscription .mailpoet_select, 
form.mailpoet-manage-subscription .mailpoet_text{
	width: 50%;
	padding: 12px;
}
form.mailpoet-manage-subscription .mailpoet_paragraph{
	margin-bottom:20px
}
form.mailpoet-manage-subscription .mailpoet_submit{
    padding: 20px 20px;
    width: 50%;
    font-weight: bold;
    font-size: 11pt;
    color: #fff;
	background-color: #005a73;
    border-color: #005a73;
    color: #fff;

}

/* Blog Design Changes Overview page*/
    
#page a.more-link.wp-block-button__link {
    color: #ffffff;
    font-size: 1.3rem;
    background: #76b82a;
    border-color: #76b82a;
    font-weight: 600;
}

/* Background colour and font Header Picture */
.has-primary-dark-background-color {
    background-color: #005a73 !important;
	  opacity: 0.7;
}
/* Transform Entry title homepage size/ Martina 17.01.23 */
.fullscreen-header .entry-title { --wp--preset--font-size--gigantic: 3rem; }

/* Transform all Titlesizes in Header-images/ Martina */
@media (max-width: 500px) {
  .singular-page-header .entry-title {
    font-size: 2.027rem;
		  }
}

/* Transform Headersection all other pages title Centered, same as homepage header & mobile same as homepage / Martina */

.singular-page-header .container {
  align-self: center;
  text-align: center;
}

.singular-page-header .entry-title {
  max-width: 100%;
}

@media (max-width: 500px) {
  .singular-page-header {
    height: 10em;
  }
}

.has-huge-font-size {
    font-size: var(--wp--preset--font-size--huge) !important;
    color: #ffffff;
}

/* Transform Headersection all other pages title Centered, same as homepage header & mobile same as homepage centered and same as title 06.01.2023 / Martina */

.singular-page-header .wp-block-cover__inner-container {
    align-self: center;
}

.singular-page-header .wp-block-cover__inner-container .entry-title {
    --wp--preset--font-size--gigantic: 3rem;
    margin-inline: auto;
    text-align: center;
}

#primary-header .wp-block-cover__inner-container .entry-meta {
    margin-inline: auto;
    margin-block: 0;
}




/* Background colour and font Footer */
.has-secondary-light-background-color {
    background-color: #005a73 !important;
}

.has-primary-light-color {
    color: #ffffff !important;
}
.site-footer .footer-navigation a:not(:hover)  {
    color: #ffffff;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

/* Transform Footer Section center / Martina  */

@media only screen and (max-width: 991px) {
    .footer-widget-area + .wp-block-columns {
        flex-wrap: wrap!important;
    }
    .footer-widget-area + .wp-block-columns > * {
        flex: 1 1 100%;
    }
   .site-footer .menu-navigation.footer-navigation {
        text-align: center;
    }
}

@media (min-width: 992px) {  .footer-widget-area {     text-align: center;     grid-template-columns: repeat(2,1fr);  }       .footer-widget-area + .wp-block-columns {    display: block;    text-align: center;  } }


/* Transform Buttons padding and font weight / Martina  */

.wp-block-button__link,
.wp-block-button.is-style-outline>.wp-block-button__link {
  padding: 8px 16px;
}

.wp-block-button .wp-block-button__link { font-weight: 600; }

/* Transform Blog pages to wide width / Martina  */

.inactive-sidebar.hfeed:not(.is-wide-main) .site-main, 
.inactive-sidebar.page.page-template-default:not(.is-wide-main) .site-main, 
.inactive-sidebar.single:not(.is-wide-main) .site-main,
.hfeed .main-aside,
.single .main-aside {
    max-width: 1140px;
}


/* Transform Blog-Design to 2-colum / Martina 

.blog .site-main {
    display: grid;
    gap: 2rem;
}

.blog .site-main > header {
    grid-column: 1/-1;
    display: none;
}

.blog .site-main .hentry + .hentry {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.blog .site-main .hentry .more-link-container {
    margin-bottom: 0;
}

.blog .site-main .hentry p:empty,
.blog .site-main .hentry .entry-footer{
    display: none;
}

@media (min-width: 992px) {
    .blog .site-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

 

/* Blog Title Homepage Petrol / Martina */
.th-links-inherit a:not(:hover) {
    color: #005a73;
}