/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* Translate */
.gt_float_switcher, .gt-selected {background: transparent !important;}
.gt-lang-code {color: var(--awb-color5);}
.gt_float_switcher .gt_options.gt-open {background-color: var(--awb-color5);}
.gt_float_switcher {box-shadow: none !important;}

.gt-lang-code {font-family: Optima; text-transform: uppercase;}
.nturl {font-family: Inter;}
.gt_float_switcher img {width: 22px !important;}
.gt_float_switcher {font-size: 16px !important;}
.gt_float_switcher .gt_options a {padding: 5px 10px !important; color: var(--awb-color1) !important;}
.gt_float_switcher .gt_options {max-height: 105px !important;}
.gt_float_switcher-arrow {display: none !important;}


/* Discussion board */
.bbpress-latest-reply blockquote {
  font-style: italic;
  margin: 0 0 0.5em;
  padding-left: 1em;
  border-left: 3px solid var(--awb-color8);
}
.bbpress-latest-reply p {font-size: 0.9em;}
.bbpress-latest-reply p a {color: var(--awb-color2);}
.bbpress-latest-reply blockquote {color: var(--awb-color4) !important;}

.home .bbpress-latest-reply p {display: none;}
.home .bbpress-latest-reply blockquote {border-left: 0px !important; margin: 0px !important; padding: 0px !important; font-style: normal !important; color: var(--awb-color6) !important;}



/* Kolb */
.kolb-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 25px;
}
.kolb_confirmation, .kolb_country {color: var(--awb-color5) !important;}
.kolb-table th, .kolb-table td {
    border: 1px solid var(--awb-color1) !important;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    position: relative;
}

.kolb-table tr.kolb-question th:first-child {border-top: 0px solid !important; border-left: 0px solid !important;}
.kolb-table tr.kolb-question th {
    vertical-align: bottom !important;
}
.kolb-table tr.kolb-question th:first-child, .kolb-table tr td.kolb-question:first-child {
    text-align: left !important;
}

.kolb-row-highlight:hover {
    background-color: var(--awb-color2) !important;
}

/* RADIO BUTTON STYLING */
.kolb-table td label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
    position: relative;
}

.kolb-table td input[type=radio] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    margin: 0;
}

.kolb-questionnaire button {margin-top: 25px;}

/* Hover effect for the whole cell */
.kolb-table td:hover label {
}

/* Selected state fills the cell */
.kolb-table td input[type=radio]:checked + label {
}

/* The visible radio circle */
.kolb-table .radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid var(--awb-color5) !important;
    border-radius: 50%;
    position: relative;
}

/* Inner dot when selected */
.kolb-table td input[type=radio]:checked + label .radio-circle::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 8px;
    height: 8px;
    background-color: var(--awb-color5) !important;
    border: 2px solid var(--awb-color3) !important;
    border-radius: 50%;
}



/* Blog */
.blog_date {z-index: 99;}
.blog_sidebar, .blog_sidebar .post-content, .blog_sidebar h3 a {color: var(--awb-color5) !important;}
.home h2.blog-shortcode-post-title a {color: var(--awb-color6) !important; text-align: center; display: inherit; font-size: 16px;}
.home_latest article .fusion-flexslider, .home_latest article, .home_tile_latest p {margin-bottom: 0px !important;}
.blog_sidebar h3 a {font-weight: bold;}
.blog_sidebar a:after, .blog_sidebar a {color: var(--awb-color2) !important;}
.blog_sidebar .fusion-meta-info {border: 0px solid;}
.blog_sidebar .fusion-meta-info .fusion-alignleft span:after {content: ":";}
.fusion-blog-shortcode-3 .fusion-meta-info  {margin-top: 0px;}
.fusion-blog-layout-medium article {margin-bottom: 0px !important;}
.fusion-blog-layout-timeline .fusion-post-timeline {border-bottom-width: 1px !important;}
.fusion-timeline-line {border-color: var(--awb-color2) !important;}
.fusion-blog-layout-timeline .fusion-timeline-date {background-color: var(--awb-color2) !important; color: var(--awb-color4) !important;}
.fusion-blog-layout-timeline h2 a {color: var(--awb-color1) !important;}
.fusion-blog-layout-timeline .fusion-meta-info .fusion-alignleft {width: 100% !important;}
.fusion-blog-layout-timeline .fusion-meta-info {text-align: right !important;}
/* Zorg dat flex-inhoud mag krimpen */
.fusion-column-wrapper .fusion-post-content {
  min-width: 0 !important;
}

/* Titel + link correct laten afkappen */
.fusion-column-wrapper .blog-shortcode-post-title,
.fusion-column-wrapper .blog-shortcode-post-title a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important; /* max 1 regel */
  box-sizing: border-box !important;
}

/* klein beetje ruimte zodat het laatste karakter niet geplakt zit aan de rand */
.fusion-column-wrapper .blog-shortcode-post-title a {
  padding-right: 4px;
}



/* Discussions */
#bbpress-forums li.bbp-header {background-color: var(--awb-color2) !important;}
#bbpress-forums .forum-titles li {color: var(--awb-color4) !important;}
#bbpress-forums .admin_links_sep, #bbpress-forums .bbp-reply-permalink, #bbpress-forums .bbp-author-role, #bbpress-forums .bbp-search-form {display: none !important;}
#bbpress-forums .bbp-form p:nth-child(4) {display: none;}
#bbpress-forums .bbp-reply-content p {margin-bottom: 0px;}
#bbpress-forums fieldset.bbp-form .wp-editor-container p, #bbpress-forums fieldset.bbp-form .bbp-submit-wrapper p {margin-bottom: 0px;}
#bbpress-forums .bbp-author-link {color: var(--awb-color8); pointer-events: none; cursor: default;}
.bbpress-simple-topics-list a {color: var(--awb-color2);}
.bbpress-simple-topics-list {padding-left: 13px; color: var(--awb-color5);}
.home .bbpress-simple-topics-list {padding-left: 23px; color: var(--awb-color5);}
#bbpress-forums .topic-author .bbp-author-link:before {content: "Started by: "; color: var(--awb-color8);}
#bbpress-forums .reply .bbp-author-name:before {content: "Reply from: ";}
#bbpress-forums .bbp-arrow {top: -6px;}
#bbpress-forums .bbp-pagination-count {text-align: left; font-size: 20px !important;}
#bbpress-forums .bbp-header {margin-bottom: 0px;}
#bbpress-forums .bbp-body {margin-top: -20px;}
.bbpress-latest-replies .read-all a {color: var(--awb-color5);}



/* General stuff */
	#gt_float_wrapper {top: 15px !important;}

.page_title {background: linear-gradient(to right, var(--awb-color1), transparent); padding: 4px 0px 5px 50px; z-index: 99;}
.header_slogan {background: linear-gradient(to right, transparent, var(--awb-color3), var(--awb-color2), transparent);}
.header_slogan p {padding-bottom: 2px;}
.home .header_slogan {display: none;}
.home .fusion-checklist.fusion-checklist-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home .fusion-checklist.fusion-checklist-1 .fusion-li-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left; /* laat tekst links binnen het tekstblok */
  margin-bottom: 10px;
}
.home .fusion-li-item-content {margin-left: 10px !important;}
.home .fusion-li-item .icon-wrapper {margin-right: 0px !important;}
.tips_faq p, .home .fusion-li-item {margin-bottom: 0px !important; padding-bottom: 0px !important;}
body:not(.home) .post-content .has-mask-background {background-position: center 54%; background-attachment: fixed !important;}

.fusion-container-stuck .fusion-builder-row div:nth-child(3) {display: none !important;}
.fusion-faqs-wrapper #accordian-1 .fusion-panel, #bbpress-forums div.bbp-reply-author .bbp-reply-post-date, .home_borders, .fusion-tb-footer .fusion-fullwidth, .fusion-body .fusion-blog-layout-timeline-wrapper .fusion-content-sep.sep-solid, .fusion-accordian .fusion-panel.fusion-toggle-has-divider, .fusion-body .fusion-pagination-tb.single-navigation:not(.layout-sticky), .fusion-body .fusion-separator-border.sep-solid {border: 1ox solid !important; border-image: linear-gradient(90deg, var(--awb-color3), var(--awb-color2)) 1 !important;}
.awb-menu__main-li_regular:hover .awb-menu__main-a_regular, .awb-menu_row .current_page_item .menu-text {background: linear-gradient(to right, var(--awb-color3), var(--awb-color2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.awb-menu_row .current_page_item .menu-text {font-weight: bold;}
.bbp-form legend, .fusion-read-more::after {display: none;}
.new_topic .panel-heading, #bbp_reply_submit, .fusion-button-default-size, .fusion-button-default-type, a.bbp-reply-to-link, a.bbp-topic-reply-link, .bbpress-latest-replies .read-all a, .fusion-read-more-left p, .fusion-read-more {background: linear-gradient(135deg, var(--awb-color3), var(--awb-color2)) !important; padding: 5px 15px 5px 20px !important; color: var(--awb-color4) !important; text-transform: uppercase; left: 0px; transition: left 0.4s ease; position: relative; 
	  clip-path: polygon(
  90% 0%,   /* rechts boven inkeping */
  0% 0%,    /* links boven */
  10% 50%,  /* inkeping links midden */
  0% 100%,  /* links onder */
  90% 100%, /* rechts onder */
  100% 50%  /* inkeping rechts midden */
    );
}
.new_topic .panel-heading:hover, #bbp_reply_submit:hover, .fusion-button-default-size:hover, .fusion-button-default-type:hover, a.bbp-reply-to-link:hover, a.bbp-topic-reply-link:hover, .bbpress-latest-replies .read-all a:hover, .fusion-read-more-left p:hover, .fusion-read-more:hover {left: 8px;}
.bbp-meta span.bbp-admin-links a, a.bbp-reply-to-link, a.bbp-topic-reply-link, .bbpress-latest-replies .read-all a {padding: 6px 19px 6px 25px !important; font-size: 0.9em; text-decoration: none !important;}
a.bbp-reply-to-link, a.bbp-topic-reply-link, 
.bbpress-latest-replies .read-all {margin-top: 10px;}
.bbpress-latest-replies .reply-excerpt {margin-top: 25px;}
.fusion-read-more-left p a {color: var(--awb-color4) !important;}
#bbp_reply_submit, .fusion-button-default-size, .fusion-button-default-type {padding: 10px 25px 10px 50px !important;}
 .home .fusion-button-default-size, .home .fusion-button-default-type {padding: 20px 35px 20px 55px !important;}
.new_topic .panel-heading {padding: 0px 5px 0px 5px !important;}
.fusion-read-more-left p {max-width: 16ch; padding: 4px 13px 4px 18px; font-size: 0.9em;
	clip-path: polygon(
    10% 0%,  /* links boven inkeping */
    100% 0%, /* rechts boven */
    90% 50%, /* inkeping rechts midden */
    100% 100%, /* rechts onder */
    10% 100%, /* links onder */
    0% 50%  /* inkeping links midden */
  );
}
a.fusion-read-more, .fusion-read-more {color: var(--awb-color4) !important;}


/* Mobile adjustments */
@media only screen and (max-width: 640px) {
	.page_title {padding-left: 25px;}
	#gt_float_wrapper {top: 1px !important; right: 4px !important;}
	.awb-menu button {padding-left: 10px !important;}
	.home .header_logo {opacity: 0%; height: 40px;}
	.fusion-sticky-transition .header_logo {opacity: 100%; height: inherit; width: 60px;}
	.fusion-read-more-left p {	  clip-path: polygon(
  90% 0%,   /* rechts boven inkeping */
  0% 0%,    /* links boven */
  10% 50%,  /* inkeping links midden */
  0% 100%,  /* links onder */
  90% 100%, /* rechts onder */
  100% 50%  /* inkeping rechts midden */
    );
}
}