/*
 Theme Name:   Demo GbPro Agency
 Theme URI:    https://generatepress.com
 Description:  GP Childtheme für die Multisite GB-Pro Agency
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* beseitigt den grauen Hintergrund hinter dem Hamburger-Icon */
/* mobile menu bg-color */
.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper.toggled .menu-toggle{
    background-color: transparent !important;
}

/* remove bottom margin on last paragraph or list in container */
.gb-container p:last-child:last-of-type,
.gb-container ul:last-child:last-of-type {
  margin-bottom: 0px;
}

/* Hyperlinks auf allen Seiten */
.content-area :is(p, li ) a {
  font-weight: 500;
  color: var(--accent);
  border: var(--accent);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0px;
}
.content-area :is(p, li ) a:hover {
  color: var(--accent-2);
  border: var(--accent-2);
  border-bottom-style: solid;
  border-bottom-width: 1px;
}


/* Blog-Artikel: mehr Abstand vor Überschriften */
.single-post :is(p, ul, ol) + :is(h2, h3, h4) {
  margin-top: 40px;
}

/* sidebar categories list style */
.wp-block-categories {
  list-style: none;
  margin-left: unset;
}

/* drop sidebar below content on tablet */
@media (max-width: 1024px) {
  .site-content {
    flex-direction: column;
  }

  .site-content .content-area,
  .site-content .is-right-sidebar {
    width: 100%;
  }
}



/* START FLUENT FORMS STYLES */

/* label style */
.fluentform .frm-fluent-form .ff-el-input--label {
  font-size: 17px;
  font-weight: 500;
  color: var(--contrast-2);
}

/* field style */
.fluentform .frm-fluent-form .ff-el-form-control {
  background-color: var(--base-3);
  color: var(--contrast-3);
  border: 1px solid  var(--base);
  border-radius: 2px;
  font-size: 16px;
  line-height: 27px;
  padding: 11px 24px;
}

/* focus field style */
.fluentform .frm-fluent-form .ff-el-form-control:focus {
  border: 1px solid  var(--accent-2);
  outline: none;
}

/* placeholder text style */
.fluentform .frm-fluent-form .ff-el-form-control::placeholder {
  color: var(--contrast-3);
  font-size: 16px;
}

/* placeholder focus text style */
.fluentform .frm-fluent-form .ff-el-form-control:focus::placeholder {
  color: var(--contrast-3);
}

/* button style */
.fluentform .frm-fluent-form .ff-btn-submit {
  background-color: var(--accent);
  color: var(--base-3);
  opacity: 100%;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  line-height: 27px;
  padding: 11px 24px;
  transition: all 0.5s ease 0s;
}

/* button hover style */
.fluentform .frm-fluent-form .ff-btn-submit:hover {
  background-color: var(--accent-2);
  border: 1px solid var(--accent-2);
  color: var(--base-3);
}

/* full width buttons */
form.fluent_form_3 .ff-btn-submit, form.fluent_form_4 .ff-btn-submit {
	width: 100%;
}

/* form error text style */
.fluentform .ff-el-is-error .text-danger {
  font-size: 16px !important;
}

/* top align email form */
.frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom {
  margin-top: 0px !important;
}

/* success message style */
.fluentform .ff-message-success {
  position: relative;
  border: none;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var(--base-3);
  padding: 0px;
  margin-top: 20px;
}

/* END FLUENT FORMS STYLES */
