/*
 Theme Name: JHB Child-Theme
 Theme URI: https://www.j-hb.at/
 Description: Child-Theme
 Author: Jakob Heinreichsberger
 Author URI: https://www.j-hb.at/
 Template: Divi
 Version: 1.0.0
 Tag: divi, child-theme, rawbone, easy-to-use, jhb, 
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/*  ==================================================================
	STANDARD CSS =====================================================
	==================================================================  */


	
	
	
	

/*column reverse snippet*/

@media (max-width:767px){
.column-reverse {
display: flex;
flex-wrap: wrap;
}
.column-reverse .col-1{
order:2;
}
.column-reverse .col-2{
order:1;
}
.column-reverse .col-3{
order:4;
}
.column-reverse .col-4{
order:3;
}
.column-reverse .col-5{
order:6;
}
.column-reverse .col-6{
order:5;
}
}






/*prevent horizontal scroll on mobile*/
@media all and (max-width: 980px) {
	html,
	body {
		overflow-x: hidden;
	}
	body {
		position: relative
	}
}

/*header*/
@media (min-width: 981px) and (max-width: 1090px) {
.main-menu ul {
  display: flex;
	gap: 6px !important;}

}

@media (min-width: 981px) and (max-width: 1270px) {

.main-menu li a {

  font-size: 16px !important;
}
}
	
@media (min-width: 981px) {
.main-menu {
  position: absolute;
  top: 60px;     /* Abstand von oben */
  right: 15px; /* Abstand von rechts */
  z-index: 1000;  /* sicherstellen, dass es über anderen Elementen liegt */
	
}

.main-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.main-menu li a:hover {
  text-decoration: underline;
	}
.contact-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.contact-item {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.contact-item .et-pb-icon {
  font-family: 'ETmodules';
  font-size: 18px;
  color: white;
  margin-right: 8px;
}
}
	/*mobiles menü*/

@media (max-width: 980px) {
  body {
    margin: 0;
    padding-top: 120px; /* Platz für Sticky Header */
  }

  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #364242;
    z-index: 9999;
  }

  .mobile-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
  }

  .mobile-logo img {
    height: 70px;
    width: auto;
    display: block;
    margin-bottom: 10px;
  }

  .hamburger {
    font-size: 32px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #364242;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    z-index: 9998;
  }

  .mobile-nav.open {
    max-height: 500px;
    padding-top: 80px; /* Platz für X-Button */
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
  }

  .mobile-nav ul li a:hover {
    background-color: #4a5a5a;
  }

  .close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10000;
  }
}


 
/*CF7*/

/* General Settings */
.wpcf7 {
    font-family: var(--cf7-font);
    font-weight: var(--cf7-font-weight);
    width: 100% !important;
}
.wpcf7 label {
    color: var(--cf7-labels);
}
.wpcf7-list-item {
    margin-left: 0 !important;
    margin-right: 15px !important;
}
.wpcf7 a {
    color: var(--cf7-accent) !important;
    text-decoration: none;
}
.wpcf7 a:hover {
    color: var(--cf7-accent-hover) !important;
}
/* General Inputs */
.wpcf7 input[type=color],
.wpcf7 input[type=date],
.wpcf7 input[type=datetime-local],
.wpcf7 input[type=datetime],
.wpcf7 input[type=email],
.wpcf7 input[type=month],
.wpcf7 input[type=number],
.wpcf7 input[type=search],
.wpcf7 input[type=tel],
.wpcf7 input[type=text],
.wpcf7 input[type=time],
.wpcf7 input[type=url],
.wpcf7 input[type=week],
.wpcf7 textarea
{
    border: 1px solid #D5E0EB;
	background-color: #364242;
	border-radius: 6px;
    line-height: 1.3;
    padding: .375rem .75rem;
	color: var(--cf7-accent);
    /*color: var(--cf7-input-text);*/
    min-height: 35px;
    font-size: var(--cf7-font-size);
    font-weight: var(--cf7-font-weight);
    font-family: var(--cf7-font);
    width: 100%;

}
/* Other Inputs */
.wpcf7 input[type=submit] {
    background-color: #364242;
    color: #fff;
    border: 0;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: var(--cf7-font-size);
    font-family: var(--cf7-font);
    transition: .2s linear;
}
.wpcf7 input:hover[type=submit] {
    background-color: #364242;
    transition: .2s linear;
    cursor: pointer;
}
.wpcf7 input:focus[type=submit] {
    background-color: var(--cf7-accent-hover);
    outline: none;
    border: 0;
    box-shadow: 0 0 0 3px var(--cf7-accent-outline);
}
.wpcf7 input[type=file] {
    color: var(--cf7-accent);
    font-size: var(--cf7-font-size);
    font-weight: var(--cf7-font-weight);
    font-family: var(--cf7-font);
}
.wpcf7 input:focus[type=file] {
    outline: none;
    border: 0;
}
.wpcf7 input[type=file]::file-selector-button,
.wpcf7 select
{
    border: 1px solid #D5E0EB;
    background-color: #ffffff;
    border-radius: 6px;
    line-height: 1.3;
    padding: 0.7rem 1rem;
    color: var(--cf7-accent);
    min-height: 35px;
    font-size: var(--cf7-font-size);
    font-weight: var(--cf7-font-weight);
    font-family: var(--cf7-font);
}
.wpcf7 input[type=file]::file-selector-button {
    cursor: pointer;
    margin-right: 20px;
}
/* Custom Checkbox */
.wpcf7 input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cf7-accent);
    border-radius: 6px;
    margin: 0;
    display: grid;
    place-content: center;
    cursor: pointer;
}
.wpcf7 input[type="checkbox"]:before {
    content: "\f147";
    font-family: 'dashicons';
    font-weight: 300;
    font-size: 15px;
    line-height: 17px;
    width: 18px;
    height: 18px;
    color: white;
    text-align: center;
    border-radius: 6px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 20px 20px var(--cf7-accent);
}
.wpcf7 input[type="checkbox"]:checked::before {
    transform: scale(1);
}
.wpcf7-checkbox label,
.wpcf7-acceptance label,
.wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Custom Radio */
.wpcf7 input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    margin: 0;
    font: inherit;
    color: var(--cf7-accent);
    width: 18px;
    height: 18px;
    border: 2px solid var(--cf7-accent);
    border-radius: 100%;
    display: grid;
    place-content: center;
    cursor: pointer;
}
.wpcf7 input[type="radio"]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 100%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--cf7-accent);
}
.wpcf7 input[type="radio"]:checked::before {
    transform: scale(1);
}
/* Other States */
.wpcf7 input:hover[type=color],
.wpcf7 input:hover[type=date],
.wpcf7 input:hover[type=datetime-local],
.wpcf7 input:hover[type=datetime],
.wpcf7 input:hover[type=email],
.wpcf7 input:hover[type=month],
.wpcf7 input:hover[type=number],
.wpcf7 input:hover[type=search],
.wpcf7 input:hover[type=tel],
.wpcf7 input:hover[type=text],
.wpcf7 input:hover[type=time],
.wpcf7 input:hover[type=url],
.wpcf7 input:hover[type=week],
.wpcf7 input:hover[type=file]::file-selector-button,
.wpcf7 textarea:hover,
.wpcf7 select:hover
{
    border: 1px solid #92ACC7;
    outline: none;
    background-color: #ffffff;
    font-size: var(--cf7-font-size);
}
.wpcf7 input:focus[type=color],
.wpcf7 input:focus[type=date],
.wpcf7 input:focus[type=datetime-local],
.wpcf7 input:focus[type=datetime],
.wpcf7 input:focus[type=email],
.wpcf7 input:focus[type=month],
.wpcf7 input:focus[type=number],
.wpcf7 input:focus[type=search],
.wpcf7 input:focus[type=tel],
.wpcf7 input:focus[type=text],
.wpcf7 input:focus[type=time],
.wpcf7 input:focus[type=url],
.wpcf7 input:focus[type=week],
.wpcf7 input:focus[type="checkbox"],
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.wpcf7 a:focus
{
    border: 1px solid #92ACC7;
    outline:none;
    box-shadow: 0 0 0 3px var(--cf7-accent-outline);
    background-color: #ffffff;
}
/* Invalid Fields */
.wpcf7-not-valid-tip {
    color: var(--cf7-warning) !important;
    font-size: var(--cf7-font-size) !important;
    font-weight: var(--cf7-font-weight) !important;
}

.wpcf7 input:disabled[type=submit],
.wpcf7 input:disabled[type=submit]:hover
{
    color: #ffffff;
    background-color: var(--cf7-warning);
    border:0;
    cursor: not-allowed;
}
/* Response Messages */
.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
.wpcf7 form .wpcf7-response-output { /* Default */
    margin: 15px 0 !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 6px !important;
}
.wpcf7 form.sent .wpcf7-response-output { /* Success */
    background-color: var(--cf7-success-bg) !important;
    color: var(--cf7-success) !important;
    border: 0 !important;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output{ /* Failed */
    background-color: var(--cf7-warning-bg) !important;
    color: var(--cf7-warning) !important;
    border: 0 !important;
}

.wpcf7 input[type=color], .wpcf7 input[type=date], .wpcf7 input[type=datetime-local], .wpcf7 input[type=datetime], .wpcf7 input[type=email], .wpcf7 input[type=month], .wpcf7 input[type=number], .wpcf7 input[type=search], .wpcf7 input[type=tel], .wpcf7 input[type=text], .wpcf7 input[type=time], .wpcf7 input[type=url], .wpcf7 input[type=week], .wpcf7 textarea {
   
    margin: 10px 0px 10px;
}
		/* Hide image titles on hover */
img {
pointer-events:none;
}

.wpcf7 input[type=color], .wpcf7 input[type=date], .wpcf7 input[type=datetime-local], .wpcf7 input[type=datetime], .wpcf7 input[type=email], .wpcf7 input[type=month], .wpcf7 input[type=number], .wpcf7 input[type=search], .wpcf7 input[type=tel], .wpcf7 input[type=text], .wpcf7 input[type=time], .wpcf7 input[type=url], .wpcf7 input[type=week], .wpcf7 textarea {color: #666 !important;}

/*popup*/

    #infobox *, #wasg * {
  color: #fff !important;
}
#infobox p, #wasg p {
  font-weight: bold;
  margin: 0;
}
#infobox .closebox, #wasg .closebox {
  font-weight: bold;
  float: right;
  font-size: 20px;
  margin-top: -9px;
  margin-right: -7px;
  padding: 5px;
}
#infobox .details li, #wasg .details li {
  background: url(../images/list_icon.png) no-repeat 7px 3px;
  padding: 3px 0;
  padding-left: 30px;
}
#infobox .innerbox, #wasg .innerbox {
  position: relative;
  left: 0%;
}

#infobox.hidden {
  left: -100% !important;
}

#wasg.infobox div.inner {
  background: #0099ff;
}
#wasg.infobox div.inner * {
  color: white !important;
}
#wasg.infobox .closebox {
  position: absolute;
  right: 20px;
}
#wasg.infobox .details {
  background: #0099ff;
}
#wasg.infobox .details li {
  background: none;
  list-style-type: none;
  padding-right: 10px;
  text-align: left;
}
#wasg.infobox .details li span {
  display: inline-block;
}
#wasg.infobox .details li span:before {
  display: inline-block;
  content: " ";
  width: 15px;
  height: 15px;
  margin-right: 7px;
  background-image: url(../images/check.svg);
  position: absolute;
  margin-left: -19px;
}
#wasg.infobox.isSmall {
  width: 0;
  height: 0;
  border: none;
  background: none;
}
#wasg.infobox.isSmall .innerbox {
  position: fixed !important;
  left: 5px !important;
  top: 175px;
  width: 362px;
  height: 56px;
  padding: 10px;
  margin: 0 !important;
}
#wasg.infobox.isSmall .innerbox.isOutside {
  left: -500px !important;
}

#nlreg, #idle, #wasg {
  width: 105%;
  height: 1200px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5000;
  background: rgba(113, 105, 34, 0.34);
}
#nlreg .inner, #idle .inner, #wasg .inner {
  left: 50% !important;
  margin: 231px 0 0 -40% !important;
  position: fixed !important;
}
#nlreg .inner, #idle .inner, #wasg .inner {
  left: 50% !important;
  margin: 231px 0 0 -40% !important;
  position: fixed !important;
}

@media (max-width:767px){
#nlreg .inner, #idle .inner, #wasg .inner {
  
  margin: 298px 0 0 -40% !important;
 
	}}

#nlreg .newsletter_mail, #idle .newsletter_mail, #wasg .newsletter_mail {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 20px;
  color: #666;
  margin-left: -190px;
}
#nlreg .mailform, #idle .mailform, #wasg .mailform {
  margin-top: 10px;
	
}
#nlreg .submitNewsletter, #idle .submitNewsletter, #wasg .submitNewsletter {
  display: inline-block;
  margin-top: 10px;
  text-align: center;
  background: #e10813;
  color: #fbf8f8;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 20px;
  width: 200px !important;
  padding: 6px;
	border-radius: 25px;
}
#nlreg .href, #idle .href, #wasg .href {
  color: #489bff;
  cursor: pointer;
}
#nlreg h3, #idle h3, #wasg h3 {
  font-weight: bold;
  color: #000;
  font-size: 28px;
  margin-bottom: -35px;
}
#nlreg img, #idle img, #wasg img {
  max-width: 100%;
  height: auto;
}
#nlreg .support, #idle .support, #wasg .support {
  display: block;
  width: 100%;
  position: relative;
  margin: 30px 0 0 80px;
}
#nlreg div.inner, #idle div.inner, #wasg div.inner {
  border: 6px solid #fff;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  margin-top: 231px;
  font-size: 22px;
  font-weight: bold;
  position: relative;
  background: #fff;
}
#nlreg .close, #idle .close, #wasg .close {
  cursor: pointer;
  background: #c3bcaa;
  background-image: -webkit-linear-gradient(#c3bcaa 0%, white 100%);
  background-image: -moz-linear-gradient(#c3bcaa 0%, white 100%);
  background-image: -o-linear-gradient(#c3bcaa 0%, white 100%);
  background-image: linear-gradient(#c3bcaa 0%, white 100%);
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 3px 5px !important;
  border: 1px solid #ccc;
  display: block;
}
#nlreg .onefield input, #idle .onefield input, #wasg .onefield input {
  padding: 12px;
	border-radius: 25px;
}
#nlreg .onefield, #idle .onefield, #wasg .onefield {
  width: 200px;
  display: inline-block;
}

#idle div.inner {
  position: relative !important;
  margin: 0 auto !important;
  left: 0 !important;
  margin-top: 100px !important;
}
#idle div.inner p {
  font-size: 14px;
  line-height: 22px;
  color: #7f492a;
}
#idle div.inner b {
  font-size: 14px;
  line-height: 22px;
  color: #fff;
}

#wasg div.inner {
  left: -30% !important;
  width: 50%;
  margin-left: -25% !important;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}
#wasg li {
  margin-bottom: -15px;
}
#wasg li span {
  text-align: center;
}
#wasg li span:after {
  content: "";
  display: inline-block;
  width: 100%;
}
#wasg div.inner.left50 {
  left: 50% !important;
}
div#nlreg p {
    padding-bottom: 1em;
}
/*Abstand unten fix*/
.et_pb_row_0_tb_body.et_pb_row {
   
    margin-bottom: -31px!important;
    
}