/*
 Theme Name:   JogKalauz Child
 Theme URI:    https://jogkalauz.hu/
 Description:  Default GeneratePress child theme
 Author:       Barta András
 Author URI:   https://theclick.hu/
 Template:     generatepress
 Version:      0.1
*/

/* page and post text and list link style */
.content-area :is(p, li ) a {
  font-weight: 500;
  color: var(--accent);
  box-shadow: inset 0 -0.1em 0 0 var(--accent);
  transition: all 0.6s ease 0s;
}
.content-area :is(p, li ) a:hover {
  box-shadow: inset 0 -0.2em 0 0 var(--accent);
}

/* 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%;
  }
}

/* space before a new title on blog posts */
.single-post :is(p, ul, ol) + :is(h2, h3, h4) {
  margin-top: 3rem;
}

/* wp search block style */
.wp-block-search__button.has-icon {
  background-color: var(--accent);
  border-radius: 2px;
  transition: all 0.5s ease 0s;
}

.wp-block-search__button.has-icon:hover {
  transform: translate3d(0px,-3px,0px);
  transition: transform 0.5s ease 0s;
}

.wp-block-search__button svg {
  min-height: 1.6em;
  min-width: 1.6em;
  vertical-align: text-bottom;
}

/* START FLUENT FORMS STYLES */

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

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

/* 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);
}

/* contact form button style */
.fluentform .ff-btn-submit {
  background-color: var(--accent);
  color: var(--base-3);
  border-radius: 2px;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.5s ease 0s;
}


/* all buttons hover style */
.fluentform .frm-fluent-form .ff-btn-submit:hover {
  transform: translate3d(0px,-3px,0px);
  transition: transform 0.5s ease 0s;
}

/* full width email form 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;
}

/* contact form success message */
.fluentform .ff-message-success {
  position: relative;
  border: none;
  box-shadow: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  background-color: var(--base-3);
  padding: 24px 20px 2px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: var(--accent-2);
}

/* END FLUENT FORMS STYLES */