/* Section colors */
body.section-color-,
body.section-color-blue {
  --color-primary: rgb(0, 117, 191, 1.0);
}
body.section-color-red {
  --color-primary: rgb(0, 117, 191, 1.0);
}
body.section-color-orange {
  --color-primary: rgba(149, 28, 125, 1.0);
}
body.section-color-purple {
  --color-primary: rgba(149, 28, 125, 1.0);
}
body.section-color-darkblue {
  --color-primary: rgba(22, 65, 148, 1.0);
}
body {
  --color-primary-blue: rgba(0, 117, 191, 1.0);
  --color-primary-blue-trans: rgba(00, 117, 191, 0.5);
  --color-primary-red: rgba(0, 117, 191, 1.0);
  --color-primary-orange: rgba(149, 28, 125, 1.0);
  --color-primary-purple: rgba(149, 28, 125, 1.0);
  --color-primary-darkblue: rgba(22, 65, 148, 1.0);

  --color-secundary: rgba(247, 247, 247, 1.0);
  --fontsize-navigation: 1.5em;
  --fontsize-subnavigation: 1.3em;
  --fontweight-navigation: 400;
  --fontcolor-navigation: rgba( 255, 255, 255, 1.0 );

  font-size: 1em;
}

@media only screen and ( max-width: 800px ) {
  body {
    --fontsize-navigation: 1em;
    --fontsize-subnavigation: 1em;
    --fontweight-navigation: 400;
  }
}

/* Typography */
h1, h2, h3 {
  color: var( --color-primary ) !important;
  font-weight: 400 !important;
}
h3.widgettitle {
  color:rgba( 255, 255, 255, 1.0 ) !important;
  font-weight: 600 !important;
}
.main_color p a {
  color: var( --color-primary ) !important;
}
.bg p a, .bg h3 {
  color: rgba( 255, 255, 255, 1.0 ) !important;
}
.special_amp {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit !important;
}

/* Header */
#header_main {
  background-color: var( --color-primary );
  border-bottom: none;
}
.logo.avia-svg-logo {
  padding: .5rem;
}

/* Navigation */
.avia_mega_div .avia-bullet,
.avia-menu-fx {
  display: none;
}
ul#avia-menu > li > a {
  color: var( --fontcolor-navigation );
}
ul#avia-menu > li > a > span.avia-menu-text {
  font-size: var( --fontsize-navigation );
  font-weight: var( --fontweight-navigation );
  color: var( --fontcolor-navigation );
}
ul.sub-menu > li > a > span.avia-menu-text  {
  font-size: var( --fontsize-subnavigation );
}
ul.sub-menu {
  border-top-width: 1px !important;
  border-top-color: var( --color-primary ) !important;
}
nav.sub_menu > ul > li > a,
nav.widget > ul > li > a {
  font-size: var( --fontsize-subnavigation );
  font-weight: var( --fontweight-navigation );
}
ul#menu-footernavigatie > li > a  {
  font-size: var( --fontsize-subnavigation );
}
nav.widget ul li a:hover {
  color: var( --color-primary );
  text-decoration: underline;
}
.sidebar section.widget_nav_menu {
  background-color: var( --color-primary );
  padding: 1em;
  border-radius: 1.5em 0 1.5em 0;
}
.sidebar section.widget_nav_menu li.current-menu-item {
  background-color: transparent !important;
  box-shadow: none !important;
}
.sidebar section.widget_nav_menu li.current-menu-item a {
  font-weight: 600 !important;
}
.sidebar section.widget_nav_menu a {
  color: rgba( 255, 255, 255, 1.0 ) !important;
  font-size: var( --fontsize-subnavigation );
}
.sidebar section.widget_nav_menu a:hover {
  text-decoration: underline;
}

/* Slider */
.slideshow_caption {
  position: absolute;
  z-index: 9999;
  height: auto !important;
}
.slideshow_caption,
.caption_left_framed.caption_left .slideshow_caption,
.caption_right_framed.caption_right .slideshow_caption {
  top: 10%;
  bottom: unset;
}
.caption_left .slideshow_caption,
.caption_right .slideshow_caption,
.caption_bottom .slideshow_caption {
  bottom: 10%;
  top: unset;
}
.slideshow_caption .slideshow_inner_caption,
.caption_left.caption_left_framed .slideshow_caption .slideshow_inner_caption,
.caption_left_framed .slideshow_caption .slideshow_inner_caption {
  float: left;
  text-align: start;
}
.caption_right.caption_right_framed .slideshow_caption .slideshow_inner_caption
.caption_right_framed .slideshow_caption .slideshow_inner_caption {
  float: right;
  text-align: end;
}
.slideshow_caption .slideshow_inner_caption {
  padding: 0 !important;
  width: 100% !important;
}
.slideshow_align_caption {
  display: inline-block;
}
.slideshow_caption h2,
.caption_framed .slideshow_caption .avia-caption-title {
  color: var( --color-primary ) !important;
  font-weight: 400 !important;
  background-color: rgba( 255, 255, 255, 0.8 );
  padding: .7em 1.1em;
  border-radius: 1.5em 0 1.5em 0;  
  white-space: nowrap;
  display: inline;
}

/* Buttons */
.avia-button,
.avia-button.avia-color-theme-color,
#top .gform_wrapper input[type='submit'],
.tribe-common-c-btn,
.tribe-common-c-btn-icon,
.tribe-common-h3,
.tribe-events-c,
.tribe-events-c-nav__prev,
.tribe-events-c-nav__next,
.tribe-events-c-subscribe-dropdown__button-text {
  background-color: var( --color-primary ) !important;
  border: none !important;
  color: rgba( 255, 255, 255, 1.0 ) !important;
  padding: .8em !important; 
}
.tribe-common-c-btn-border {
  background: transparent !important;
}
.tribe-common-c-svgicon {
  color: #fff !important;
}
.avia-button.avia-color-theme-color:hover,
#top .gform_wrapper input[type='submit']:hover,
.tribe-common-c-btn,
.tribe-common-c-btn-icon,
.tribe-common-h3,
.tribe-events-c-nav__prev,
.tribe-events-c-nav__next,
.tribe-events-c-subscribe-dropdown__button-text {
  background-color: var( --color-primary );
  border: none;
}
.avia-button.avia-color-theme-color.avia-size-small,
#top .gform_wrapper input[type='submit'],
.tribe-common-c-btn,
.tribe-events-c-subscribe-dropdown__button-text {
  border-radius: 1.5em 0 1.5em 0;
  font-size: 1em;
  line-height: 1em;
}
.avia-button.avia-color-theme-color.avia-size-medium {
  border-radius: 1.2em 0 1.2em 0;
  font-size: 1.2em;
  line-height: 1.4em;
}
.avia-button.avia-color-theme-color.avia-size-large {
  border-radius: 1.3em 0 1.3em 0;
  font-size: 1.5em;
  line-height: 1.4em;
}
.avia-button.avia-color-theme-color.avia-size-x-large {
  border-radius: 2em 0 2em 0;
  font-size: 1.7em;
  line-height: 1.4em;
}
.tribe-events-c-subscribe-dropdown__export-icon,
.tribe-events-c-subscribe-dropdown__button-icon {
  display: none !important;
}

/* Harmonica */
.toggler:hover {
  background-color: var( --color-primary ) !important;
}
.toggler.activeTitle {
  color: var( --color-primary ) !important;
  border-color: var( --color-primary ) !important;
  background-color: #fff !important;
}

/* Columns */
.bg {
  background-color: var( --color-primary );
}
.bg-blue {
  background-color: var( --color-primary-blue );
}
.bg-orange {
  background-color: var( --color-primary-orange );
}
.bg-red {
  background-color: var( --color-primary-red );
}
.bg-purple {
  background-color: var( --color-primary-purple );
}
.bg-darkblue {
  background-color: var( --color-primary-darkblue );
}
.bg-blue, .bg-orange, .bg-red, .bg-purple, .bg-darkblue {
  border-radius: .5em !important;
}
.bg h2, .bg-blue h2, .bg-orange h2, .bg-red h2, .bg-purple h2, .bg-darkblue h2,
.bg a, .bg-blue a, .bg-orange a, .bg-red a, .bg-purple a, .bg-darkblue a {
  color:rgba( 255, 255, 255, 1.0 ) !important;
}

.border {
  border: 3px solid var( --color-primary ) !important;
}

ul.snelnaar {
  border: 3px solid var( --color-primary ) !important;
  background-color: rgba( 247, 247, 247, 1.0 );
  padding: 1em;
  margin-left: 0;
  border-radius: 1.5em 0 1.5em 0;
  list-style: none;
}
ul.snelnaar li:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Timeline */
.main_color .avia-timeline .milestone_inner {
  background-color: var( --color-primary );
}

/* News overview on homepage */
#top .fullsize .template-blog .post-title {
  padding: 0 0 15px 0 !important;
}
.av-alb-blogposts .post-entry .entry-content-wrapper .entry-content p {
  text-align: left !important;
  font-size: 16px;
  line-height: 26.4px;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
  float: right !important;
  width: 80% !important;
}
#top .fullsize .template-blog .blog-meta {
  display: inline-block !important;
  width: 20% !important;
}
.more-link {
  font-size: 16px !important;
}

/* Footer */
#footer {
  background-color: var( --color-primary );
}
#footer .widget {
  margin: 0 !important;
}
#footer #block-5 img {
  max-width: 350px;
  margin-left: -20px;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(175deg) brightness(104%) contrast(106%);
}
#footer #block-5 .wp-block-image figcaption {
  color: #fff;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.grecaptcha-badge {
  display: none;
}

/** Alert message */
#alert {
  background-color: var( --color-primary );
	color: #ffffff;
	width: 100%;
	height: auto;
	padding: 1em !important;
	margin: 0 auto;
	border: none!important;
	display: none;
}
#alert p a {
	color: #ffffff;
	text-decoration: underline!important;
}
#alert p, #alert h2, #alert div {
	margin: 0 auto 1em auto;
	max-width: 800px;
  color: rgba( 255, 255, 255, 1.0 ) !important;
}
#alert div {
  padding-top: 1em;
	text-align: right;
	cursor: pointer;
}

/* Events */
#tribe-events-footer {
  display: none;
}
.av-upcoming-events .av-upcoming-event-entry {
  padding: 15px;
  background-color: var( --color-primary-blue );
  border-radius: .5em;
  margin-bottom: 15px;
}
.av-upcoming-events .av-upcoming-event-title,
.av-upcoming-events .av-upcoming-event-meta {
  color: var( --color-secundary );
  font-size: 1em;
}
.av-upcoming-events .av-upcoming-event-title {
  font-size: 1.5em !important;
}
.av-single-event-content,
.av-single-event-meta-bar {
  max-width: 1210px !important;
  margin: 30px auto !important;
}
.av-single-event-meta-bar-inner {
  padding: 0 !important;
  border: none !important;
}
#top .avia-post-nav {
  background: var( --color-primary-blue-trans ) !important;
}
#top #wrap_all .tribe-events-button {
  background-color: var( --color-primary-blue );
  color: #fff;
}
.tribe-events-schedule h3 span {
  font-size: 1.4em !important;
}
.single-tribe_events .tribe-events-schedule {
  margin: 15px 0 !important;
}
.tribe-events-c-view-selector__list-item--active:after {
  content: "";
  position: relative;
  display: block;
  border-bottom: 2px solid var(--color-primary) !important;
  transform: translateY(-1em);
}
.tribe-common a:not(.tribe-events-c-nav__prev, .tribe-events-c-nav__next, .tribe-events-calendar-month__day-date-link) {
  color: var(--color-primary) !important;
}
#top .tribe-events-c-search input[type="text"] {
  margin-bottom: 0 !important;
}
.tribe-events-c-search__input-group {
  margin-right: 15px !important;
}
.tribe-common-c-btn-icon,
.tribe-common-h3,
.tribe-events-c-nav__prev,
.tribe-events-c-nav__next {
  padding: 10px !important;
  border-radius: .5em !important;
}
.tribe-events-c-messages__message-list-item {
  margin-left: 15px !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__body {
  border-top: 1px solid #333 !important;
  border-left: 1px solid #333 !important;
}
.tribe-events-calendar-month__day-cell h3 time {
  background-color: var( --color-primary ) !important;
  border: none !important;
  color: rgba( 255, 255, 255, 1.0 ) !important;
  padding: .8em !important;
  border-radius: 1.5em 0 1.5em 0 !important;
  font-size: 1em !important;
  line-height: 1em !important;
  display: inline-block !important;
}
.tribe-events-calendar-month__day-cell h3 time a {
  color: rgba( 255, 255, 255, 1.0 ) !important;
  font-weight: bold !important;
}
.tribe-events-calendar-month__calendar-event-details time,
.tribe-events-calendar-month__calendar-event-details span,
.tribe-events-calendar-month__calendar-event-details h3 {
  font-size: 1em !important;
  line-height: 1.3em !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__multiday-event-wrapper {
  height: auto !important;
}
.tooltipster-box {
  border: none !important;
  background: #f0f0f0 !important;
}
.tooltipster-box p,
.tooltipster-box time,
.tooltipster-box time span {
  color: #333 !important;
}
.tooltipster-content {
  padding: 1em !important;
}
.tribe-events .tribe-events-calendar-month__multiday-event-bar {
  background-color: #f0f0f0 !important;
  padding: .3em 0 !important;
}
.tribe-events .tribe-events-calendar-month__multiday-event-bar-title {
  font-size: 1em !important;
  line-height: 1.3em !important;
}

/* Widgets */
.wp-block-social-links {
  width: auto !important;
  float: right !important;
}
.avia-slideshow-inner  {
  max-height: 500px !important
}

@media only screen and ( max-width: 767px ) {
  .av-single-event-content {
    margin: 30px 15px !important;
  }
  .tribe-events-meta-group {
    flex: none !important;
  }
  #top #wrap_all .tribe-events-button {
    margin-bottom: 15px;
    width: 100%;
  }
  .responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
    color: #fff !important;
  }
  .header_color .av-hamburger-inner, .header_color .av-hamburger-inner::before, .header_color .av-hamburger-inner::after {
    background-color: #fff;
  }

  /* Slider */
  .top-right .slideshow_caption {
    top: 40%;
    bottom: unset;
  }
}

/* Catalogue list */
ul.av-catalogue-list li a:hover {
  color: var(--color-primary) !important;
}