/*
Theme Name: Grunliberale Child Theme
Theme URI: https://www.plan-f.ch/
Author: Marco Bonanno
Author URI: https://www.plan-f.ch/
Description: A child theme for Grunliberale Basic Theme. Based on WP Theme twentytwentytwo
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grunliberale-child
Template: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/

html {
  scroll-behavior: smooth;
}

h2 {
  -moz-hyphens: auto;
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

header .wp-block-cover {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}

.wp-block-button__link {
  padding: calc(.267em + 2px) calc(1.333em + 2px);
}

.aligncenter {
  margin: 0 auto;
}

.wp-block-post-template .wp-block-post .wp-block-post-featured-image img {
  border-radius: 9999px;
}

.wp-block-post-excerpt__more-link {
  padding: calc(.267em + 2px) calc(1.333em + 2px);
  background-color: var(--wp--preset--color--foreground) !important;
  color: var(--wp--preset--color--background) !important;
  border-radius: 6px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.wp-block-post-excerpt__more-link:hover {
  opacity: 0.90;
}

.custom-form-colums {
  display: flex;
  margin-bottom: 20px;
  flex-direction: column;
  justify-content: space-around;
}

.custom-form-colums .form-columns-inner {
  display: flex;
  justify-content: space-between;
}

.custom-form-colums .fifty-column {
  display: inline-block;
  width: 49%;
}

.wpcf7-form {
  font-family: "Urbanist", serif;
}

.wpcf7-text, .wpcf7-textarea, .wpcf7-date, .wpcf7-number, .wpcf7-captchar {
  background-color: #eee !important;
  border: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  font-size: 14px;
  color: var(--wp--preset--color--accent) !important;
  padding: 16px !important;
  box-sizing: border-box;
  font-family: "Urbanist", serif;
}

/*.wpcf7-text::placeholder, .wpcf7-textarea:placeholder, .wpcf7-date:placeholder, .wpcf7-number:placeholder, .wpcf7-captchar:placeholder {
  color: var(--wp--preset--color--accent) !important;
}*/

.wpcf7-submit {
  border: 0px;
  width: 100%;
  font-family: "Urbanist", serif;
  background-color: var(--wp--preset--color--secondary);
  line-height: var(--wp--custom--typography--line-height--normal);
}

.wpcf7-textarea {
  width: 100% !important;
}

.mc4wp-form-fields label input {
  background-color: #fff !important;
  border: none !important;
  width: auto !important;
  border-radius: 0 !important;
  font-size: 14px;
  color: var(--wp--preset--color--accent) !important;
  padding: 14px !important;
  box-sizing: border-box;
  font-family: "Urbanist", serif;
}

.mc4wp-form-fields input[type=submit] {
  border: 0px;
  width: auto;
  font-family: "Urbanist", serif;
  background-color: var(--wp--preset--color--secondary);
  line-height: var(--wp--custom--typography--line-height--normal);
  color: #fff;
  padding: 11px !important;
  border-radius: 6px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

footer > .wp-block-group {
  background-image: url(assets/images/footer-bg.svg);
  background-size: inherit;
  background-repeat: no-repeat;
  background-size: 100%;
}

/*footer {
  position: relative;
  padding-left: var(--wp--custom--spacing--outer);
  padding-right: var(--wp--custom--spacing--outer);
  margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  width: unset;
}*/

/*footer .wp-block-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--primary);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}*/

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 768px) {
  header .custombar {
    background-color: #fff;
    padding-left: var(--wp--custom--spacing--outer) !important;
    padding-right: var(--wp--custom--spacing--outer) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .wp-block-group.wp-container-3 {
    align-items: center;
  }

  .has-text-align-left {
    text-align: center;
  }

  .wp-block-buttons.wp-container-4 {
    justify-content: center;
  }
}

@media only screen and (min-width: 769px) {
  .wp-block-site-logo {
    background-image: url(assets/images/logo-bg.svg);
    background-size: inherit;
    background-repeat: no-repeat;
    padding: 20px;
    min-height: 100px;
    min-width: 340px;
  }

  .wp-block-navigation {
    background-image: url(assets/images/nav-bg.svg);
    background-size: inherit;
    background-repeat: no-repeat;
    padding: 20px;
    min-height: 100px;
    min-width: 700px;
    align-items: flex-start !important;
  }
}
