/* 
    INDEX:

    Styling of MijnOmgeving, Kim and Registers route. 

    - 1.  Header	
	- 2.  Navigation
*/
/* ==================
   1. Header
   ================== */
.header-bar > .header-container.container {
  height: auto;
  padding: 0 0 10px 0 !important;
}

.header-container > .logo-container {
  display: flex;
  justify-content: center;
  min-height: 140px;
  width: 100%;
  text-align: center;
}

.logo-container > .logo-figure {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-figure img {
  height: clamp(100px, 12vw, 125px); /* min 100px, 12% of screen width, max 125px */
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: 15px;
  font-size: 1.18rem;
  line-height: 15.85px;
  font-family: RijksSans, Calibri, sans-serif;
  color: #154273;
}

.logo-text span {
  font-size: 1.18rem;
  line-height: 17.6px;
}

.logo-sender {
  font-weight: 625;
}

.logo-ministry {
  font-weight: 400;
}

/* CUSTOM TFA */
.toolbar-button, .toolbar a {
  color: #fff;
  margin: 0;
  background: none;
  padding: 0 1rem;
  border: none;
  line-height: 75px; /* equal to .mainmenu height */
  height: 75px;
  width: 100px;
}

.toolbar a {
  display: block;
}

.toolbar button:hover {
  cursor: pointer;
}

.navbar .toolbar {
  justify-content: flex-end;
  margin-left: auto;
}

.container .toolbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container .toolbar ul li {
  display: inline;
  margin-right: 15px;
}

.language-icon {
  display: none;
}

.languagepicker {
  display: none;
}

.toolbarPrint {
  display: none !important;
}

.tf-dialog-content #openTFABox input[type=submit] {
  background: #01689b;
  color: #fff;
}

a.close-TFAbox {
  font-weight: bold;
}

.progressbar, .percentage {
  display: none;
}

/*  ===================== 
    2. Navigation
    ===================== */
/* styling for overlay while menu is open */
.navbar.mainmenu > .container > .account-container {
  color: #FFFFFF;
  position: absolute;
  right: 15%;
  display: flex;
}

.navbar.mainmenu > .container > .account-container li a.login-button:focus {
  outline: 2px dashed #000;
  z-index: 1010;
  outline-offset: 0;
  -webkit-box-shadow: 0 0 0 2px #fff;
  box-shadow: 0 0 0 2px #fff;
}

.navbar.mainmenu > .container > .account-container li a.login-button {
  color: #FFFFFF;
}

.navbar.mainmenu.container-fluid {
  height: 75px;
  padding: 0px;
  background-color: #D52B1E;
  border: 0px;
}

#overlay {
  position: fixed;
  cursor: pointer;
  display: none;
  left: 0;
  bottom: 0;
  right: 0;
  top: 300px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mainmenu > nav.navbar {
  background-color: #D52B1E;
  border: 0px;
}

.navbar.mainmenu {
  position: relative;
  background-color: #D52B1E;
}

.navbar {
  border: 0px;
  margin-bottom: 0px;
  margin-top: -15px;
}

.navbar > .container {
  padding-left: 0px;
  padding-right: 0px;
  display: flex;
}

.navbar a, .navbar li {
  font-weight: 400;
  font-family: "Rijksoverheid SansWebText", Arial, Verdana, sans-serif;
}

/* menu background must have static ancestor */
.navbar, .nav > li .navbar,
ul.dropdown-menu,
.navbar .mainMenuItem.dropdown {
  position: static;
}

.navbar .mainmenu {
  position: relative;
}

.navbar.navbar-expand-lg .navbar-collapse {
  position: absolute;
  margin-bottom: 2.2%;
  left: 15%;
  margin-top: -8px;
}

/* override existing styling: navbar items need to have display none, and visibility: visible. */
nav ul.dropdown-menu.sub-menu,
nav ul.dropdown-menu {
  visibility: visible;
  display: none;
}

/* override standard styling */
.nav > li > a:hover,
.nav > li > a:focus {
  background-color: transparent !important;
}

.main-navigation.nav > .mainMenuItem > a:focus, .main-navigation > .mainMenuItem > a:hover {
  color: #ffffff;
  text-decoration: none;
}

.main-navigation {
  margin: 0px;
}

.main-navigation .active {
  font-weight: inherit;
}

/*create padding by giving a width to the element */
.main-navigation > li > button {
  min-width: 1.4rem;
}

.main-navigation > li.mainMenuItem .badge,
#mlmenu > ul > li.menu__item .badge {
  margin-left: 5px;
  margin-bottom: 1px;
}

/*ICONS in NAVBAR*/
.main-navigation > li:first-child > a::before {
  content: "home";
  font-family: "Rijksoverheid Iconen 2";
  font-size: inherit;
  font-feature-settings: "liga" 1;
  padding-right: 5px;
}

/* menu icon */
.main-navigation > li:not(focused-menu):last-child > button::before {
  content: "\ea08";
  font-family: "Rijksoverheid Iconen";
  font-size: 0.75rem;
  font-feature-settings: "liga" 1;
  color: #FFFFFF;
  position: relative;
  z-index: 1010;
}

.account-container > li > a,
.main-navigation > li.mainMenuItem > button,
.main-navigation > li.mainMenuItem > a {
  min-height: 75px;
  max-height: 75px;
  display: flex;
  align-items: center;
  z-index: 1010;
  padding: 0 1rem 0 2rem;
  border-width: 0px;
  font-weight: inherit;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
}

/* hover and focus within the main navbar on list items. */
.main-navigation > li > a:hover,
.main-navigation > li > a:focus,
.account-container li > a:hover,
.account-container li > a:focus,
.toolbar-button:hover, .toolbar-button:focus,
.toolbar a:hover, .toolbar a:focus,
ul.main-navigation .mainMenuItem.dropdown .main-menu-expand-button:focus + a {
  border: none; /* override standard styling */
  border-style: none; /* override standard styling */
  border-width: 0px; /* override standard styling */
  text-decoration: underline; /* fixed the underline for hover */
  z-index: 1009;
}

.main-navigation > li:last-child > a:hover {
  border: none; /* override standard styling */
  border-style: none; /* override standard styling */
  border-width: 0px; /* override standard styling */
  z-index: 1009;
}

/* Keyboard navigation*/
.main-navigation > li:last-child > button:focus {
  border: none; /* override standard styling */
  border-style: none; /* override standard styling */
  border-width: 0px; /* override standard styling */
  border-radius: 0%;
  outline: none;
  box-shadow: none;
}

/* close icon*/
.main-navigation > li.focused-menu:last-child > button::before,
#close-main-dropdown::before {
  content: "\ea05";
  font-family: "Rijksoverheid Iconen";
  font-size: 0.75rem;
  font-feature-settings: "liga" 1;
  position: relative;
  padding-right: 5px; /* for the close icon in the dropdown menu, has no effect for main navigation bar.*/
}

/*arrow in navigation*/
.main-navigation .dropdown-menu a + button.main-menu-expand-button::before {
  content: "delta_rechts";
  float: right;
  width: auto;
  font-family: "Rijksoverheid Iconen 2";
  font-size: 1rem;
  font-feature-settings: "liga" 1;
  vertical-align: text-bottom;
  color: #154273;
  z-index: 1010;
}

.main-navigation .dropdown-menu li.mainMenuItem.dropdown > button:focus {
  color: #01689B;
  font-weight: bold;
  outline: 2px dotted #000;
  text-decoration: none;
  outline-offset: 0;
  border: none;
  border-radius: 0;
}

/* Main menu items in the navbar itself*/
.main-navigation > li.mainMenuItem, .account-container > li {
  min-height: 75px;
  max-height: 75px;
  display: flex;
  flex-direction: row;
  font-size: 1.188rem;
  color: #FFFFFF;
}

/* Fix hover background on menu icon button */
ul.main-navigation .mainMenuItem.dropdown .main-menu-expand-button + a {
  position: relative;
  left: -30px;
  padding-left: 40px;
}

ul.main-navigation .mainMenuItem.dropdown button {
  z-index: 1011;
}

/* CUSTOM DOM elements added for navbar menu structure.*/
/* background of dropdown menu */
.dropdown-menu-main {
  background-color: #FFFFFF;
  width: 100%;
  height: auto;
  position: absolute;
  top: 75px; /* calculation of banner and navbar height: will always be the same*/
  z-index: 1000;
  display: none;
  line-height: normal;
  width: 100vw;
  transform: translateX(-23vw);
}

.dropdown-menu-main .dropdown-menu-wrapper {
  margin-left: 0px;
  margin-right: 0px;
  display: flex;
}

/* lines in between the dropdown menu items*/
.dropdown-menu-main ul:not(.sub-menu) > li {
  border-top: 1px;
  border-top-color: rgb(180, 180, 180);
  border-top-style: solid;
}

.dropdown-menu-main ul:not(.sub-menu) > li:last-child {
  border-bottom: 1px;
  border-bottom-color: rgb(180, 180, 180);
  border-bottom-style: solid;
  margin: 0rem 0rem 2rem 0rem;
}

.menu-close-wrapper {
  min-height: 48px;
  margin: 0px;
}

.dropdown-list-wrapper {
  flex-direction: column;
}

/* DROPDOWN MENU styles */
.dropdown-menu {
  display: block;
  position: relative;
  /*float: left;*/
  min-width: 100%;
  padding: 0px 0px;
  text-align: left;
  list-style: none;
  border: none; /*overrule standard styles*/
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  z-index: 1000;
}

.dropdown-menu > li {
  padding: 0.56rem 0px 0.56rem 0.5rem;
  font-size: 1.5rem;
}

.dropdown-menu > li, #close-main-dropdown {
  color: #535353;
}

/* fix layout */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: inherit;
  background-color: transparent;
}

.dropdown-menu > li > a, .dropdown-menu > li > button {
  border-width: 0px;
  font-weight: inherit;
  color: inherit;
  width: auto;
  display: flex;
  align-items: center;
  font-size: inherit;
}

/*undo existing styles*/
.dropdown-menu > li > a:hover {
  color: inherit;
  background-color: inherit;
  text-decoration: none;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li:hover,
#close-main-dropdown:hover {
  color: #01689B;
  font-weight: bold;
  background-color: transparent;
  text-decoration: none;
}

.sub-menu-overview {
  padding-bottom: 1rem;
  min-height: 17px;
  flex-direction: column;
  color: #535353;
}

.sub-menu-title {
  padding-left: 0.56rem;
}

#close-main-dropdown {
  float: right;
  margin-top: 1rem;
  font-size: 1.5rem;
}

.logout-button-hide {
  font-size: 0;
}

/* END OF NAV ELEMENT IN MENU*/
/* CUSTOM TFA */
/* difference between portal and form title. 
Formtitle will always be directly under the main. */
main > .title-tripleforms {
  border: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.header {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.3em;
  padding: 0.4em 0.1em 0.4em 0;
}

.subheader {
  display: block;
  font-size: 20px;
  font-weight: bolder;
  line-height: 1.1em;
  padding: 0.4em 0.1em 0.4em 0;
}

.headersubtext {
  padding-bottom: 10px;
  padding-left: 2px;
  margin-top: 0px;
  font-size: 1.5rem;
}

.headergrijs {
  padding: 0;
  line-height: 42px;
  font-size: 20px;
  margin-left: -18px;
}

.headergrijsdiv {
  background-color: #CCCCCC;
  padding-top: 0 !important;
  margin-left: 38px;
}

.tussenkopje {
  margin-left: -18px;
}

.tussenkopje, .headergrijs {
  font-weight: bolder;
  display: block;
  padding-bottom: 5px;
}

.head-tf-subtitle {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Hide R&D styling */
@media (max-width: 768px) {
  .mainmenu .navbar {
    display: block !important;
  }
}
/* ==================
    Footer
    ================= */
footer.space-footer li {
  line-height: 24px;
  margin-left: -1px;
}

footer.space-footer li a {
  color: #FFFFFF;
  font-size: 1.4rem;
  display: flex;
  padding-top: 8px;
  padding-bottom: 8px;
}

footer.space-footer li a::before {
  content: "\ea25";
  font-family: "Rijksoverheid Iconen";
  font-size: 0.7rem;
  padding: 0px;
  padding-right: 10px;
}

footer.space-footer.navbar .container {
  padding-top: 40px;
}

footer.space-footer .footer-col ul li a:focus {
  outline: 2px dashed #000;
  outline-offset: 0;
  -webkit-box-shadow: 0 0 0 2px #fff;
  box-shadow: 0 0 0 2px #fff;
}

.payoff span {
  color: #fff;
  font-family: "Rijksoverheid SerifWebText";
  font-size: 2.02729rem;
  line-height: 2rem;
  font-weight: normal;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

footer.space-footer .container h2 {
  font-size: 2rem;
}

footer.space-footer .row {
  display: table;
  width: 100%;
}

.footer-col {
  display: table-cell;
  vertical-align: top;
  float: left;
}

.footer-col.col-md-8 {
  width: 59%;
  line-height: 3.3rem;
}

.footer-col.col-md-2 {
  width: 20%;
}

@font-face {
  font-family: "Rijksoverheid SansHeading";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansHeading-Bold_2_0.otf") format("otf");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SansHeading";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansHeading-BoldItalic_2_0.otf") format("otf");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid SansHeading";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansHeading-Italic_2_0.otf") format("otf");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid SansHeading";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansHeading-Regular_2_0.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SansText";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansText-Bold_2_0.otf") format("otf");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SansText";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansText-BoldItalic_2_0.otf") format("otf");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid SansText";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansText-Italic_2_0.otf") format("otf");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid SansText";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSansText-Regular_2_0.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "Rijksoverheid SansText", sans;
}

@font-face {
  font-family: "Rijksoverheid SansWebText";
  src: url("/MijnILT-A/Content/Fonts/ROsanswebtextbold.eot");
  src: url("/MijnILT-A/Content/Fonts/ROsanswebtextbold.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ROsanswebtextbold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SansWebText";
  src: url("/MijnILT-A/Content/Fonts/ROsanswebtextregular.eot");
  src: url("/MijnILT-A/Content/Fonts/ROsanswebtextregular.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ROsanswebtextregular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SansWebText";
  src: url("/MijnILT-A/Content/Fonts/ROsanswebtextitalic.eot");
  src: url("/MijnILT-A/Content/Fonts/ROsanswebtextitalic.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ROsanswebtextitalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid SerifWebText";
  src: url("/MijnILT-A/Content/Fonts/ROserifwebregular.eot");
  src: url("/MijnILT-A/Content/Fonts/FontsROserifwebregular.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ROserifwebregular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SerifWebText";
  src: url("/MijnILT-A/Content/Fonts/ROserifwebbold.eot");
  src: url("/MijnILT-A/Content/Fonts/ROserifwebbold.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ROserifwebbold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid SerifWebText";
  src: url("/MijnILT-A/Content/Fonts/ROserifwebitalic.eot");
  src: url("/MijnILT-A/Content/Fonts/ROserifwebitalic.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ROserifwebitalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid SerifWebText";
  src: url("/MijnILT-A/Content/Fonts/RijksoverheidSerif-BoldItalic_2_0.otf") format("otf");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Rijksoverheid Iconen";
  src: url("/MijnILT-A/Content/Fonts/ro-icons-2.1.woff2") format("woff2"), url("/MijnILT-A/Content/Fonts/Fontsro-icons-2.1.woff") format("woff"), url("/MijnILT-A/Content/Fonts/ro-icons-2.1.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Rijksoverheid Iconen 2";
  src: url("/MijnILT-A/Content/Fonts/rhsiconfont.woff2") format("woff2"), url("/MijnILT-A/Content/Fonts/rhsiconfont.woff") format("woff"), url("/MijnILT-A/Content/Fonts/rhsiconfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "RijksSans";
  src: url("/MijnILT-A/Content/Fonts/rijks-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
}
body, input, textarea {
  font-family: "Rijksoverheid SansWebText", serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Rijksoverheid SansWebText", Helvetica, Arial, serif;
}

#footer {
  font-family: "Rijksoverheid SerifWebText", serif;
}

#waitbox {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 100%;
  vertical-align: middle;
  text-align: center;
  z-index: 1100;
  background: rgba(100, 100, 100, 0.2);
  /* Waitbox spinner*/
}
#waitbox.inactive {
  visibility: hidden;
}
#waitbox .loading {
  position: fixed;
  top: 31.8%;
  left: 50%;
  margin-left: -278px;
  width: 556px;
  padding-top: 10px;
  padding-bottom: 15px;
  cursor: default;
  overflow: hidden;
  z-index: 1104;
  display: none;
  display: block;
  border: 0px solid #555;
  color: #000;
  background: #fff;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
#waitbox .loading .Header {
  display: block;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 24px;
  padding-left: 40px;
  line-height: 24px;
  vertical-align: middle;
  text-align: left;
  border-bottom: 3px double #000;
  font-weight: bold;
}
#waitbox .loader {
  border: 10px solid #E5F0F9; /* Light grey */
  border-top: 10px solid #01689B; /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  -webkit-animation: spinning 2s linear infinite;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

@media screen and (min-width: 1px) and (max-width: 767px) {
  #waitbox .loading {
    width: 100%;
    left: 0%;
    margin-left: 0px;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spinning {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}