/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Global styles
 */
html,
body {
  overflow-x: hidden;
}

.shadow {
  box-shadow: 0px 0px 40px #0000001a;
}

/*
 * Container styles
 */
.page-content > div > .e-con,
.wp-singular header + div > .e-con {
  --content-width: min(90%, 1536px) !important;
  /* overflow-x: hidden; */
}

header > .e-con {
  --content-width: min(95%, 1650px) !important;
}

footer > .e-con {
  --content-width: min(90%, 1536px) !important;
}

@media (max-width: 1023px) {
  .e-con.e-flex {
    --flex-wrap: var(--flex-wrap-mobile);
  }
}

/*
 * Button hover effect
 */

button .elementor-button-content-wrapper,
input[type="button"] .elementor-button-content-wrapper,
input[type="submit"] .elementor-button-content-wrapper,
.elementor-button .elementor-button-content-wrapper {
  transition: transform 0.2s;
}

button:hover .elementor-button-content-wrapper,
input[type="button"]:hover .elementor-button-content-wrapper,
input[type="submit"]:hover .elementor-button-content-wrapper,
.elementor-button:hover .elementor-button-content-wrapper {
  transform: scale(1.05);
}

/*
 * Bubble shape
 */
.bubble::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("assets/bubble-shape.svg");
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.4s;
}

.bubble:hover::after {
  transform: rotate(5deg);
}

.bubble:hover .bubble-content {
  transform: scale(1.05);
}

.bubble-button {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 18% !important;
  height: 18% !important;
  transition: transform 0.4s;
}

.bubble:hover .bubble-button {
  transform: translate(-20%, 19%);
}

/*
 * Floating animation
 */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.float {
  animation: float 4s ease-in-out infinite;
}

/*
 * Forms
 */
.gform_wrapper {
  --gf-color-primary: var(--e-global-color-secondary) !important;
  --gf-form-gap-y: 26px !important;
  --gf-label-space-primary: 12px !important;
  --gf-ctrl-label-color-primary: var(--e-global-color-primary) !important;
}

.gfield_label {
  font: normal normal 600 18px/18px Poppins !important;
}

.gform-body input,
.gform-body textarea {
  border-color: #d7d7d7 !important;
  color: #888888 !important;
}

.gform_button {
  border-radius: 999px !important;
  font: normal normal 600 16px/25px Poppins !important;
  padding: 14px 40px !important;
}

input.gform_next_button {
  color: #fff !important;
}

.gfield_required {
  display: none !important;
}

/*
 * Icon box link whole element
 */
.elementor-widget-icon-box a:after {
  content: "";
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/*
 * Kennis en inspiratie
 */
.e-loop-item {
  --posttype: "Blog";
  --bg-color: #ebecfd;
  --text-color: #7476ed;
}

.e-loop-item.type-webinars {
  --posttype: "Webinar";
  --bg-color: #fef9ef;
  --text-color: #f8a92a;
}

.e-loop-item.type-whitepapers {
  --posttype: "Whitepaper";
  --bg-color: #fdf5f7;
  --text-color: #e56f8c;
}

.e-loop-item.type-on_demand {
  --posttype: "On demand";
  --bg-color: #f6f9ff;
  --text-color: #6899fc;
}

.e-loop-item.type-succesverhalen {
  --posttype: "Succesverhaal";
  --bg-color: #e0f7fa;
  --text-color: #00796b;
}

.e-loop-item .type-badge {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.e-loop-item .type-badge .elementor-heading-title::before {
  content: var(--posttype);
}

.filter-none .filter-button-none a,
.filter-webinars .filter-button-webinars a,
.filter-whitepapers .filter-button-whitepapers a,
.filter-on_demand .filter-button-on_demand a,
.filter-succesverhalen .filter-button-succesverhalen a,
.filter-post .filter-button-post a {
  background: var(--e-global-color-secondary) !important;
  color: #fff !important;
}

/* Icon list styling */
.elementor-icon-list-text {
  line-height: 1.7em !important;
}
.elementor-icon-list-item {
  align-items: flex-start !important;
}
.elementor-icon-list-icon {
  transform: translateY(6px) !important;
}
.elementor-icon-list-item {
  margin-bottom: 8px !important;
}

/* Popups */
.dialog-widget-content {
  overflow: hidden !important;
}
