.header {
  padding-top: 10px;
  padding-bottom: 10px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f6f1eb;
  transition: 0.3s ease-in-out;
}
.header:after {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 83, 145, 0.6);
  transition: 0.3s ease-in-out opacity;
  content: "";
}
@media only screen and (max-width: 991px) {
  .header:after {
    display: block;
  }
}
.header.is-active {
  z-index: 9999999;
}
.header.is-active:after {
  opacity: 1;
  visibility: visible;
}
.header__logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 70px;
}
@media only screen and (max-width: 767px) {
  .header__logo {
    max-width: 60px;
  }
}
.header__logo img,
.header__logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.header__logo img:first-of-type,
.header__logo svg:first-of-type {
  display: none;
}
@media only screen and (max-width: 991px) {
  .header__menu {
    padding: 20px;
    position: fixed;
    top: 0;
    z-index: 2;
    width: calc(100% - 15px);
    height: 100vh;
    background-color: #005391;
    transform: translateX(100%);
    transition: 0.3s ease-in-out transform;
    overflow: hidden;
    background-image: url(https://ijzerenman.nl/wp-content/themes/ijzerenman/assets/images/pattern-v.png);
    background-repeat: repeat;
    background-position: left top;
  }
}
.header__menu.is-active {
  transform: translateX(0);
}
.header__menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #fff;
}
.header__menu-close:hover {
  color: #fff;
}
.header__menu-list {
  display: flex;
  flex-wrap: wrap;
}
@media only screen and (max-width: 991px) {
  .header__menu-list {
    padding: 20px 20px 150px;
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    overflow: auto;
  }
}
.header__menu-item {
  margin: 0 26px;
  position: relative;
}
@media only screen and (max-width: 1320px) {
  .header__menu-item {
    margin: 0 18px;
  }
}
@media only screen and (max-width: 1199px) {
  .header__menu-item {
    margin: 0 10px;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-item {
    margin: 0 0 25px;
    width: 100%;
  }
}
.header__menu-item:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 991px) {
  .header__menu-item.menu-item-has-children {
    padding-right: 0;
  }
}
.header__menu-item.menu-item-has-children .is-toggle {
  position: absolute;
  top: -2px;
  right: 0;
  width: 30px;
  text-align: right;
  color: #fff;
  -webkit-user-select: none;
          user-select: none;
  cursor: pointer;
}
.header__menu-item.menu-item-has-children .is-toggle.is-open i:before {
  content: "\f106";
}
.header__menu-item.menu-item-has-children ul li:not(.has-children) .is-toggle {
  display: none;
}
.header__menu-item.menu-item-has-children ul .is-toggle {
  top: 13px;
}
.header__menu-item.menu-item-has-children .header__menu-link:after {
  margin-bottom: -4px;
  margin-left: 7px;
  display: block;
  font-family: "Font Awesome 5 Pro";
  font-size: 90%;
  font-weight: 400;
  content: "\f107";
}
@media only screen and (max-width: 1199px) {
  .header__menu-item.menu-item-has-children .header__menu-link:after {
    margin-bottom: -3px;
    margin-left: 4px;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-item.menu-item-has-children .header__menu-link:after {
    display: none;
  }
}
.header__menu-item.is-active .header__menu-link {
  color: #005391;
}
@media only screen and (max-width: 991px) {
  .header__menu-item.is-active .header__menu-link {
    color: #000;
  }
}
.header__menu-item:hover .header__menu-link {
  color: rgba(0, 94, 156, 0.8);
}
@media only screen and (max-width: 991px) {
  .header__menu-item:hover .header__menu-link {
    color: #000;
  }
}
.header__menu-item:hover .header__menu-link:before {
  width: 105%;
}
.header__menu-item:hover .header__menu-subitems {
  opacity: 1;
  visibility: visible;
}
@media only screen and (min-width: 992px) {
  .header__menu-item.mega-menu-item {
    position: static;
  }
}
.header__menu-link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(45, 45, 45, 0.8);
}
@media only screen and (max-width: 1199px) {
  .header__menu-link {
    font-size: 16px;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-link {
    display: flex;
    align-items: color;
    justify-content: space-between;
    font-size: 18px;
    color: #fff;
  }
}
.header__menu-link:before {
  position: absolute;
  top: 100%;
  left: 50%;
  display: block;
  width: 0;
  height: 34px;
  border-bottom: 4px solid #cb4d28;
  transform: translateX(-50%);
  transition: 0.3s ease-in-out width;
  content: "";
}
@media only screen and (max-width: 1199px) {
  .header__menu-link:before {
    height: 35px;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-link:before {
    display: none;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-subitems {
    padding-top: 10px;
    padding-left: 20px;
    display: none;
  }
}
@media only screen and (min-width: 992px) {
  .header__menu-subitems {
    padding: 5px 0;
    position: absolute;
    top: calc(100% + 35px);
    left: 50%;
    z-index: 1;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    min-width: 105%;
    background-color: #005391;
    transform: translateX(-50%);
    transition: 0.3s ease-in-out;
    box-shadow: 0 5px 8px rgba(21, 23, 31, 0.1);
    background-image: url(https://ijzerenman.nl/wp-content/themes/ijzerenman/assets/images/pattern.png);
    background-repeat: repeat;
    background-position: center top;
  }
}
@media only screen and (min-width: 1200px) {
  .header__menu-subitems {
    top: calc(100% + 34px);
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-subitems-subitems {
    display: none;
  }
}
@media only screen and (min-width: 992px) {
  .header__menu-subitems.mega-menu {
    margin: 0 auto;
    padding: 5px 15px;
    top: 100%;
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    max-width: 1320px;
    background: transparent;
  }
}
@media only screen and (min-width: 1351px) {
  .header__menu-subitems.mega-menu {
    padding: 5px 0;
  }
}
.header__menu-subitems.mega-menu:before {
  position: absolute;
  top: 0;
  right: -2000px;
  left: -2000px;
  z-index: -1;
  display: block;
  height: 100%;
  background-color: #005391;
  content: "";
  background-image: url(https://ijzerenman.nl/wp-content/themes/ijzerenman/assets/images/pattern.png);
  background-repeat: repeat;
  background-position: center top;
}
@media only screen and (max-width: 991px) {
  .header__menu-subitems.mega-menu:before {
    display: none;
  }
}
.header__menu-subitems.is-card {
  padding-right: 260px;
  min-height: 290px;
}
@media only screen and (max-width: 1350px) {
  .header__menu-subitems.is-card {
    padding-right: 275px;
  }
}
@media only screen and (max-width: 1199px) {
  .header__menu-subitems.is-card {
    padding-right: 245px;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-subitems.is-card {
    padding-right: 0;
    min-height: 0;
  }
}
.header .header__menu-subitem.has-children:hover p {
  display: none;
}
.header .header__menu-subitem.has-children:hover .header__menu-subitems-subitems {
  padding: 0 15px;
  padding-top: 0;
}
@media only screen and (min-width: 992px) {
  .header .header__menu-subitem.has-children:hover .header__menu-subitems-subitems {
    display: block !important;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-subitem {
    margin-top: 10px;
  }
}
@media only screen and (min-width: 992px) {
  .header__menu-subitem {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}
.header__menu-subitem.has-image {
  margin: 10px;
  padding: 0 !important;
  width: calc(25% - 20px) !important;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
@media only screen and (max-width: 991px) {
  .header__menu-subitem.has-image {
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
  }
  .header__menu-subitem.has-image picture {
    display: none !important;
  }
  .header__menu-subitem.has-image strong {
    padding: 10px 0 !important;
    color: #fff !important;
  }
}
.header__menu-subitem.has-image picture {
  position: relative;
  display: block;
}
.header__menu-subitem.has-image picture:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  opacity: 0.6;
  width: 100%;
  height: 60%;
  background: linear-gradient(0deg, #15171f, transparent);
  transition: 0.3s ease-in-out opacity;
  content: "";
}
.header__menu-subitem.has-image picture img {
  max-width: 100%;
  height: 150px;
  object-fit: cover;
}
.header__menu-subitem.has-image:hover picture:after {
  height: 100%;
  background: linear-gradient(0deg, #005391, transparent);
}
.header__menu-subitem.has-image strong {
  margin: 0 !important;
  padding: 15px !important;
  color: #005391;
}
.header__menu-subitem.has-image p {
  padding: 0 15px 15px !important;
  color: #000;
}
.header__menu-subitem .header__menu-subitems-subitems {
  display: none;
}
.header__menu-subitem .header__menu-subitem--subitems-sub {
  padding: 0 15px;
  color: #cb4d28;
}
@media only screen and (max-width: 991px) {
  .header__menu-subitem .header__menu-subitem--subitems-sub a {
    font-size: 16px;
    line-height: 50px;
    color: white;
  }
}
.header__menu-subitem p {
  font-size: 14px;
  font-weight: normal;
}
.header__menu-subitem:last-child {
  border-bottom: 0;
}
.mega-menu .header__menu-subitem {
  padding: 25px 12px;
  width: 25%;
  text-align: left;
  border: 0;
}
@media only screen and (max-width: 1199px) {
  .mega-menu .header__menu-subitem {
    padding: 15px 12px;
  }
}
@media only screen and (max-width: 991px) {
  .mega-menu .header__menu-subitem {
    padding: 0;
    width: 100%;
    text-align: left;
    position: relative;
  }
}
.header__menu-subitem:hover .header__menu-sublink, .header__menu-subitem.is-active .header__menu-sublink {
  color: #fff;
}
@media only screen and (max-width: 991px) {
  .header__menu-subitem:hover .header__menu-sublink, .header__menu-subitem.is-active .header__menu-sublink {
    color: #000;
  }
}
.header__menu-subitem:hover .header__menu-sublink:after, .header__menu-subitem.is-active .header__menu-sublink:after {
  right: 10px;
  opacity: 1;
}
@media only screen and (max-width: 991px) {
  .header__menu-subitem:hover .header__menu-sublink strong, .header__menu-subitem.is-active .header__menu-sublink strong {
    color: #000;
  }
}
.header__menu-subitem:hover .header__menu-sublink strong:after, .header__menu-subitem.is-active .header__menu-sublink strong:after {
  right: 10px;
  opacity: 1;
}
.header__menu-sublink {
  padding: 5px 40px 5px 10px;
  position: relative;
  display: block;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
}
@media only screen and (max-width: 1199px) {
  .header__menu-sublink {
    font-size: 16px;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink {
    padding: 0;
    color: #fff;
  }
}
.header__menu-sublink:after {
  position: absolute;
  top: 50%;
  right: 50%;
  opacity: 0;
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  transform: translateY(-50%);
  transition: 0.5s ease-in-out;
  content: "\f061";
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink:after {
    display: none;
  }
}
.mega-menu .header__menu-sublink:after {
  display: none;
}
.header__menu-sublink strong {
  margin-bottom: 6px;
  position: relative;
  display: block;
  color: #fff;
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink strong {
    padding: 0;
  }
}
.header__menu-sublink strong:after {
  position: absolute;
  top: 50%;
  right: 50%;
  opacity: 0;
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  transform: translateY(-50%);
  transition: 0.5s ease-in-out;
  content: "\f061";
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink strong:after {
    display: none;
  }
}
.header__menu-sublink p {
  margin-bottom: 0;
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink p {
    display: none;
  }
}
.header__menu-sublink:hover {
  color: #fff;
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink:hover {
    color: #000;
  }
}
@media only screen and (max-width: 991px) {
  .header__menu-sublink:hover strong {
    color: #000;
  }
}
.header__menu-sublink:hover strong:after {
  right: 10px;
  opacity: 1;
}
.mega-menu .header__menu-sublink {
  padding: 0;
  white-space: normal;
}
.header__card {
  padding: 0;
  position: absolute;
  top: 15px;
  right: 0;
  bottom: 15px;
  width: 260px;
  border-radius: 15px;
  overflow: hidden;
}
@media only screen and (max-width: 1350px) {
  .header__card {
    right: 15px;
  }
}
@media only screen and (max-width: 1199px) {
  .header__card {
    width: 230px;
  }
}
@media only screen and (max-width: 991px) {
  .header__card {
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
  }
}
.header__card:before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 50%;
  background: linear-gradient(0deg, transparent, rgba(21, 23, 31, 0.6));
  content: "";
}
.header__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header__card p {
  margin: 0;
  padding: 20px 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  text-align: center;
}
.header__card p a.button {
  margin-top: auto;
  width: 100%;
}
.header__search {
  margin-left: 50px;
  font-size: 16px;
  color: #2c312b;
}
@media only screen and (max-width: 1199px) {
  .header__search {
    margin-left: 10px;
  }
}
@media only screen and (max-width: 991px) {
  .header__search {
    margin-left: auto;
  }
}
@media only screen and (max-width: 991px) {
  .header__search i {
    font-size: 18px;
    font-weight: 300;
  }
}
.header__toggle {
  margin-left: 20px;
  display: none;
  font-size: 26px;
  color: #2d2d2d;
}
@media only screen and (max-width: 991px) {
  .header__toggle {
    display: block;
  }
}
.header__toggle.is-active i:before {
  content: "\f00d";
}
.header__toggle:hover {
  color: #fff;
}
.header__finder {
  padding-top: 17px;
  padding-bottom: 17px;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  width: calc(100% - 30px);
  max-width: 1320px;
  min-height: 100%;
  background-color: #fff;
  transform: translateX(-50%);
  transition: 0.3s ease-in-out;
}
.header__finder:before {
  position: absolute;
  top: 0;
  right: -2000px;
  bottom: 0;
  left: -2000px;
  z-index: -1;
  display: block;
  background: #fff;
  content: "";
}
.header__finder.is-active {
  opacity: 1;
  visibility: visible;
}
.header__finder-form {
  padding-left: 120px;
  width: calc(100% - 150px);
}
@media only screen and (max-width: 767px) {
  .header__finder-form {
    padding-left: 80px;
    width: calc(100% - 30px);
  }
}
.header__finder-close {
  font-size: 14px;
  font-weight: 600;
  color: #005391;
}
.header__finder-close i {
  margin-left: 8px;
}
.header__finder-info {
  margin-top: 30px;
  margin-bottom: 15px;
  width: 100%;
}
.header__finder-info p {
  margin: 0 auto;
  padding-left: 33px;
  position: relative;
  max-width: 420px;
  color: #005391;
}
.header__finder-info p:before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  font-family: "Font Awesome 5 Pro";
  font-size: 24px;
  font-weight: bold;
  content: "\f059";
}
.header__finder-info a {
  display: inline-block;
  text-decoration: underline;
}
.header__finder-info a:hover {
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .header--white {
    background: transparent;
  }
}
@media only screen and (max-width: 767px) {
  .header--white .header__logo svg:first-of-type,
  .header--white .header__logo img:first-of-type {
    display: block;
  }
}
@media only screen and (max-width: 767px) {
  .header--white .header__logo svg:last-of-type,
  .header--white .header__logo img:last-of-type {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .header--white .header__toggle,
  .header--white .header__search {
    color: #fff;
  }
}
@media only screen and (max-width: 767px) {
  .header--white.header--fixed .header__toggle,
  .header--white.header--fixed .header__search {
    color: #000;
  }
}
@media only screen and (max-width: 767px) {
  .header--white.header--fixed .header__logo svg:first-of-type,
  .header--white.header--fixed .header__logo img:first-of-type {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .header--white.header--fixed .header__logo svg:last-of-type,
  .header--white.header--fixed .header__logo img:last-of-type {
    display: block;
  }
}
.header--fixed {
  background: #fff;
  box-shadow: 0 5px 8px rgba(21, 23, 31, 0.3);
}
@media only screen and (max-width: 767px) {
  .header--fixed {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
.header--fixed .header__logo {
  max-width: 60px;
}
@media only screen and (max-width: 767px) {
  .header--fixed .header__logo {
    max-width: 45px;
  }
}
.header--fixed .header__menu-subitems {
  top: calc(100% + 29px);
}
@media only screen and (max-width: 1199px) {
  .header--fixed .header__menu-subitems {
    top: calc(100% + 30px);
  }
}
.header--fixed .header__menu-subitems.mega-menu {
  top: 100%;
}
.header--fixed .header__menu-link:before {
  height: 29px;
}
@media only screen and (max-width: 1199px) {
  .header--fixed .header__menu-link:before {
    height: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .header--search .header__logo svg:first-of-type,
  .header--search .header__logo img:first-of-type {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .header--search .header__logo svg:last-of-type,
  .header--search .header__logo img:last-of-type {
    display: block;
  }
}
.header .header__menu-subitems-subitems {
  padding: 0 !important;
}
