/*
Theme Name: Ondigital theme
Theme URI: https://https://weareon-it.nl/
Author: Ondigital
Author URI: https://weareon-it.nl
Description: Algemeen thema voor ondigital websites
Version: 1.0
License: /
License URI: /
Text Domain: on-theme

/* algemeen */

* {
  font-size:16px;
  font-family: 'Open Sans', sans-serif;
}

body {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

body.logged-in #wpadminbar {
  position: fixed;
}

h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

h3 {
  font-size: 18px;
  margin-bottom: 30px;
}

p {
  margin-bottom: 1.6em;
}

blockquote {
  font-style: italic;
  padding-left: 10px;
}

img {
  max-width: 100%;
}

.clear-both {
  clear:both;
}
.btn a, a.btn{
  padding: 10px 15px;
  display: inline-block;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.btn a:hover, a.btn:hover, .frm_button_submit:hover{
  opacity: 0.8;
  text-decoration: none;
}
.meer-info-button {
  text-align: center;
  padding: 50px 0 0 0;
}
.vertical-align-center-row {
  height: 100%;
  display: flex;
  align-items: center;
}
.align-right-box {
  float: right;
}
p#breadcrumbs span.seperator {
  margin: 0 15px;
}
.transparent-background {
  background: transparent;
}
form.search-form {
  display: inline-block;
}

/* WPML */

li.menu-item.language-item {
  display: inline-block;
}
li.menu-item.language-item a {
  padding: 0 15px;
  padding-right: 0;
}
a.social-icon-single {
  width: 30px;
  height: 30px;
  display: inline-block;
  background: #ffffff;
}
a.social-icon-single svg {
  width: 30px;
}

/* searchform */

form.search-form {
  position: relative;
  margin: 0 15px;
}
form.search-form input {
  padding: 8px 15px;
  border: 1px solid #A8A9AC;
  margin: 0;
  outline: 0;
  max-width: 200px;
}
form.search-form label {
  margin: 0;
}
input.search-submit {
  text-indent: 99999px;
  height: 100%;
  width: 42px;
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: url(/wp-content/themes/on-theme/img/search-icon.png);
  background-repeat: no-repeat;
  background-position: left 10px center;
}

/* pagination */

.nav-previous.alignleft a {
  padding: 10px 16px;
  display: inline-block;
  text-align: center;
  float: left;
  margin-top: 30px;
}
.nav-next.alignright a {
  padding: 10px 16px;
  display: inline-block;
  text-align: center;
  float: right;
  margin-top: 30px;
}

/* header */

#logo {
  float: left;
  flex-grow: 1;
}
div#logo a {
  height: 100%;
  line-height: 84px;
  display: inline-block;
}
#logo img {
  height: 34px;
}
#primary-menu {
  float: right;
  padding: 20px 0;
}

/* header > nav */

nav {
  display: flex;
  align-items: center;
}
nav ul {
  margin: 0;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  padding: 10px 20px;
  display: inline-block;
  color: #333333;
}
nav ul li:last-child a{
  padding: 10px 0 10px 15px;
}
.menu li {
  display: inline-block;
}
li.menu-item.btn {
  margin: 0 15px;
}
li.menu-item.btn.current-menu-item a {
  color: #333333;
}
header.nav-fixed {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 99;
  background: #ffffff;
}
body.logged-in header.nav-fixed {
  top: 32px;
}
.fixed-nav-spacer {
  height: 132px;
}
.fixed-nav-spacer.no-topbar-spacer {
  height: 141px;
}

/* header > nav > submenu */

.menu-item-has-children {
  position: relative;
}
ul.sub-menu {
  display: none;
  position: absolute;
  padding: 0;
  z-index: 100;
  min-width: 200px;
}
.menu-item-has-children.right-side ul.sub-menu {
  right: 0;
}
.menu-item-has-children.left-side ul.sub-menu {
  left: 0;
}
ul.sub-menu li{
  width: 100%;
}
ul.sub-menu li a{
  padding: 10px;
  width: 100%;
}
ul.sub-menu ul.submenu {
  display: none;
}
.menu-item-has-children.right-side ul.sub-menu li.menu-item-has-children ul.sub-menu {
  transform: translateX(-100%);
  z-index: 101;
  top: 12px;
}
.menu-item-has-children.left-side ul.sub-menu li.menu-item-has-children ul.sub-menu {
  transform: translateX(100%);
  z-index: 101;
  top: 12px;
}
.menu-item-has-children:hover > ul.sub-menu {
  display: block;
}

/* header > nav > mega menu */

.megamenu ul.sub-menu {
  display: none;
  width: 100%;
}
.megamenu ul.sub-menu ul.sub-menu{
  display: block;
}
.megamenu ul.sub-menu li a{
  padding:10px;
}
.megamenu.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {
  transform: translateX(0%);
  top: 0;
  position: relative;
}
.megamenu.menu-item-has-children {
  position: static;
}
.megamenu.menu-item-has-children:hover > ul.sub-menu {
  padding: 0;
  display: flex;
}
.megamenu.megamenu-cols-2 > ul.sub-menu > li, .megamenu.megamenu-cols-3 > ul.sub-menu > li, .megamenu.megamenu-cols-4 > ul.sub-menu > li {
  display: inline-block;
  flex-grow: 1;
}
.megamenu.megamenu-cols-2 > ul.sub-menu > li {
  width: 50%;
}
.megamenu.megamenu-cols-3 > ul.sub-menu > li {
  width: 33.33%;
}
.megamenu.megamenu-cols-4 > ul.sub-menu > li {
  width: 25%;
}
.megamenu-child > a {
  font-weight: bold;
}

/* header > nav > scrolled */

ul#primary-menu{
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
header.nav-fixed.header-scrolled ul#primary-menu{
  padding: 0;
}

/* header > nav > hamburger */

.mobile-menu-toggle-position {
  position: absolute;
  top: 10px;
  right: 25px;
  display: none;
}
button.menu-toggle {
  height: 50px;
  width: 50px;
  border: 0;
  background: transparent;
  outline: 0;
}
.hamburger {
  float: right;
  display: none;
  position: absolute;
  top: -10px;
  right: -6px;
}
.hamburger svg {
  width: 50px;
  height: 64px;
  cursor: pointer;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.hamburger path {
  fill: none;
  -webkit-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -moz-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -o-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -ms-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25), stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  stroke-width: 40px;
  stroke-linecap: round;
  stroke: #333333;
  stroke-dashoffset: 0px;
}
.hamburger path#top,
.hamburger path#bottom {
  stroke-dasharray: 240px 950px;
}
.hamburger path#middle {
  stroke-dasharray: 240px 240px;
}
.hamburger.cross path#top,
.hamburger.cross path#bottom {
  stroke-dashoffset: -650px;
  stroke-dashoffset: -650px;
}
.hamburger.cross path#middle {
  stroke-dashoffset: -115px;
  stroke-dasharray: 1px 220px;
}

/* header > topbar */

.topbar {
}
.topbar-menu ul {
  float: right;
  margin: 0;
}
.topbar-menu ul li {
  display: inline-block;
}
.topbar-menu ul li a{
  padding: 10px 20px;
  display: inline-block;
}
.topbar-menu ul li:last-child a{
  padding: 10px 0 10px 15px;
}

/* algemeen > content */

main#main-content, section {
  padding: 60px 0;
}

/* homepage > content > nieuws */

.home .single-nieuws {
  display: block;
  padding: 30px;
  margin: 0;
  height: 100%;
}
.nieuws-intro {
  padding: 10px 0;
}
.nieuws-intro p{
  margin-bottom: 0;
}

/* niv 2 > header */

.top-header-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* niv 2 > sidebar */

.sidebar .widget {
  padding: 30px;
  margin-bottom: 30px;
}
.sidebar .widget h3 {
  font-size: 22px;
  margin-bottom: 30px;
}
.sidebar .widget a.sidebar-contact-link {
  font-size: 18px;
  margin-bottom: 20px;
  display: inline-block;
}
.sidebar .widget a.sidebar-contact-link:last-child {
  margin-bottom: 0;
}
.sidebar .widget ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 30px;
}
.widget ul:last-child {
  margin: 0;
}

/* niv2 > searchresult > content */

.topbar-search-header {
  padding: 10px;
}
.topbar-search-header-left {
  display: inline-block;
  float: left;
}
.topbar-search-header-right {
  display: inline-block;
  float: right;
}
.searchresults article {
  padding-bottom: 30px;
  padding-top: 30px;
}

/* niv2 > 404 > content */

.search-404 {
  display: inline-block;
}
.search-404 form.search-form {
  margin: 0;
}

/* footer */

footer {
  position: relative;
  z-index: 2;
}
.footer-widgets {
  padding: 50px 0;
}
.footer-widgets .menu li {
  display: block
}
.footer-widgets ul{
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* footer > socket */

#socket {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
.menu-socket-menu-container {
  display: inline-block;
}
ul#socket-menu {
  margin: 0;
  padding: 0 0px 0px 20px;
}
ul#socket-menu li a{
  padding: 10px 5px;
}
#socket ul.languages-wpml {
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* Frm forms styling */

.tussentitel-formulier {
  float: left;
}
.stap-formulier {
  float: right;
}
.frm_form_fields label.frm_primary_label {
  font-size: 16px!important;
  font-weight: bold!important;
  font-family: 'Open Sans', sans-serif!important;
}
.frm_style_formidable-style.with_frm_style .frm_radio label, .frm_style_formidable-style.with_frm_style .frm_checkbox label {
  font-size: 16px;
}
.frm_form_fields .form-field input {
  padding: 10px 15px!important;
  height: auto!important;
  font-size: 16px!important;
}
.frm_form_fields .form-field select {
  padding: 10px 15px!important;
  height: auto!important;
  font-size: 16px!important;
}
.frm_form_fields .form-field textarea {
  padding: 10px 15px!important;
  font-size: 16px!important;
}
.frm_form_fields .form-field input[type="radio"] {
  -webkit-appearance: none;
  width: 15px!important;
  height: 15px!important;
  padding: 0!important;
  outline: 0!important;
  margin-bottom: -3px;
}
.frm_form_fields .form-field input[type="checkbox"] {
  -webkit-appearance: none;
  background: #ffffff;
  width: 15px!important;
  height: 15px!important;
  padding: 0!important;
  outline: 0!important;
  margin-bottom: -3px;
}
.frm_form_fields .frm_submit button {
  padding: 10px 15px!important;
  height: auto!important;
  font-size: 16px!important;
}

/* Slick Slider */

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}
.slick-slider .slick-track, .slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}
.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}

/* slider > skin */

button.slick-arrow {
  padding: 20px;
  border: 0;
  background: url(/wp-content/themes/on-theme/img/slider-arrows.png);
  position: absolute;
  text-indent: 999px;
  overflow: hidden;
  height: 60px;
  width: 60px;
  top:50%;
  transform: translateY(-50%);
  z-index: 2;
}
button.slick-arrow.slick-prev {
  left: 0;
}
button.slick-arrow.slick-next {
  right: 0;
  background-position: right;
}
ul.slick-dots {
  position: absolute;
  bottom: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}
ul.slick-dots li {
  display: inline-block;
}
ul.slick-dots li button {
  border: 0;
  text-indent: 99px;
  width: 10px;
  height: 10px;

  font-size: 0px;
  margin: 0 5px;
  background:#ffffff;
  padding: 0;
}
ul.slick-dots li.slick-active button, ul.slick-dots li button:hover {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 2px solid #ffffff;
  background: transparent;
}

/* mobile only fix */

.mobile-only .mobile-menu-toggle-position {
  display: block;
}
.mobile-only .hamburger {
  position: absolute;
  display: inline-block;
}
.mobile-only .menu-hoofdmenu-container {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 99;
  overflow: hidden;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
body.menu-open .mobile-only .menu-hoofdmenu-container {
  display: block;
  height: 100%;
}
.mobile-only .mobile-menu ul#primary-menu {
  float: none;
}
body .mobile-only .mobile-menu-toggle-position {
  z-index: 100;
}
body .mobile-only .mobile-menu .menu li{
  width: 100%;
  text-align: center;
  vertical-align: middle;
}
body .mobile-only .mobile-menu .menu li a {
  padding: 20px!important;
}
body .mobile-only .menu-hoofdmenu-container li.btn a {
  padding: 10px 15px!important;
  margin-bottom: 25px;
  margin-left: -30px;
}
.mobile-only .menu-hoofdmenu-container-not-mobile {
  display: none;
}
.mobile-only ul#mobile-menu {
  padding: 0;
}
.mobile-only ul#mobile-menu form.search-form {
  display: inline-block;
}

/* mediaqueries */
@media screen and (max-width: 767px) {
  .align-right-box {
    float: left;
  }
}

@media screen and (max-width: 480px) {
  h1, h2, h3, h4 ,h5 {
    word-break: break-word;
  }
}