/*********************************************
// Author 			  Patricia de Natris
// Copyright 2024 - All Rights Reserved
// Versie 30-10-2024 11:00
/*********************************************
//
//    0.0 Variables
//    1.0 General
//    2.0 Globals
//        2.1 Margin
//        2.2 Padding
//        2.3 Color
//        2.4 Font
//        2.5 Display content
//    3.0 Content
//        3.1 Images
//        3.2 Buttons / Badges
//        3.3 Forms
//        3.4 Modal/Popup
//        3.5 Table
//        3.6 TOC
//    4.0 Header
//    5.0 Footer
//    6.0 Media Queries
//
/**********************************************/

/**************************
/**   0.0 Variables      **
/**************************/

:root {
  /* Colors */
  --color-primary: #5D001E;
  --color-secondary: #9A1750;
  --color-accent-1: #EE4C7C;
  --color-accent-2: #E3AFBC;
  --color-accent-3: #E3E2DF;
  --color-black: #001035;
  --color-white: #FFF;
  --color-border: #666E82;
  --color-white-opacity: rgba(255, 255, 255, 0.12);
  --color-white-opacity5: rgba(255, 255, 255, 0.5);

  /* Font */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
}

/**************************
/**     1.0 General      **
/**************************/
html, body {
  font-family: "Inter", sans-serif;
  font-size: 16px !important;
  height: 100%;
  color: var(--color-black);
}
h1, .h1 {
  font-size: 3rem; /* 48px */
  color: var(--color-black);
  font-style: normal;
  font-weight: var(--font-black);
  line-height: 3.75rem;
}
h1.title, .h1.title {
  /* TODO: Remove importants */
  font-size: 3rem !important; /* 48px */
  color: var(--color-primary) !important;
  font-style: normal;
  font-weight: var(--font-black);
  line-height: 3.75rem;
}
h2, .h2 {
  color: var(--color-black);
  font-size: 2.25rem; /* 36px */
  font-weight: var(--font-black);
  line-height: 3rem;
}
h3, .h3 {
  color: var(--color-black);
  font-size: 1.5rem; /* 24px */
  font-weight: var(--font-extrabold);
  line-height: 1.75rem;
}
h4, .h4 {
  color: var(--color-black);
  font-size: 1.25rem; /* 20px */
  font-weight: var(--font-extrabold);
  line-height: 1.5rem;
}
h5 {
  color: var(--color-black);
  font-size: 1.125rem; /* 18px */
  font-weight: var(--font-extrabold);
  line-height: 1.688rem;
  text-transform: uppercase;
}
h6 {
  color: var(--color-black);
  font-size: 1.125rem; /* 18px */
  font-weight: var(--font-extrabold);
  line-height: 1.25rem;
}

a, a:hover, a:focus, a:visited {
  color: var(--color-secondary);
}

b, .bold {
  font-weight: var(--font-bold);
}

/* disclaimer Python & R pagina's */
.concept {
  /* TODO remove important */
  color: var(--color-primary) !important;
}
#casus {
  /* TODO remove important */
  border-color: var(--color-primary) !important;
}

/**************************
/**     2.0 Globals      **
/**************************/

/**  2.1 Margin  **/
.mt-5 {
  margin-top: 3rem;
}
/**  2.2 Padding  **/
.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}
/**  2.3 Color **/
.txt-primary {
  color: var(--color-primary);
}
.txt-secondary {
  color: var(--color-secondary);
}
.txt-accent1 {
  color: var(--color-accent-1);
}
.txt-accent2 {
  color: var(--color-accent-2);
}
.txt-accent3 {
  color: var(--color-accent-3);
}
/**  2.4 Font  **/
.txt-right {
  text-align: right;
}
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}
/**  2.5 Display content **/

/**************************
/**     3.0 Content      **
/**************************/

/**  3.1 Images  **/
/**  3.2 Buttons / Badges  **/
.list-group-item.active, 
.list-group-item.active:hover, 
.list-group-item.active:focus
 {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}
/**  3.3 Forms  **/
/**  3.4 Modal/Popup  **/
/**  3.5 Table  **/
.table th:not([align]) {
  text-align: left;
}
.header1 {
  /* TODO: Remove important */
  background-color: var(--color-secondary) !important;
}
.header2 {
  /* TODO: Remove important */
  background-color: var(--color-accent-1) !important;
}
.header3 {
  /* TODO: Remove important */
  background-color: var(--color-accent-2) !important;
}
td.published {
  /* TODO: Remove important */
  color: var(--color-secondary) !important;
}

.toetsmatrix_container {
  overflow-x: auto;
}

/**  3.6 TOC  **/
#TOC.tocify {
  /* TODO: Remove important */
  margin-top: 25px !important;
}

/* OUDE CODE START*/
.tabset-dropdown > .nav-tabs {
  display: inline-table;
  max-height: 500px;
  min-height: 44px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.tabset-dropdown > .nav-tabs > li.active:before {
  content: "";
  font-family: 'Glyphicons Halflings';
  display: inline-block;
  padding: 10px;
  border-right: 1px solid #ddd;
}

.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
  content: "&#xe258;";
  border: none;
}

.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
  content: "";
  font-family: 'Glyphicons Halflings';
  display: inline-block;
  padding: 10px;
  border-right: 1px solid #ddd;
}

.tabset-dropdown > .nav-tabs > li.active {
  display: block;
}

.tabset-dropdown > .nav-tabs > li > a,
.tabset-dropdown > .nav-tabs > li > a:focus,
.tabset-dropdown > .nav-tabs > li > a:hover {
  border: none;
  display: inline-block;
  border-radius: 4px;
  background-color: transparent;
}

.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
  display: block;
  float: none;
}

.tabset-dropdown > .nav-tabs > li {
  display: none;
}

#TOC {
  margin: 25px 0px 20px 0px;
}
@media (max-width: 768px) {
  #TOC {
    position: relative;
    width: 100%;
  }
}

@media print {
  .toc-content {
    /* see https://github.com/w3c/csswg-drafts/issues/4434 */
    float: right;
  }
}

.toc-content {
  padding-left: 30px;
  padding-right: 40px;
}

div.main-container {
  max-width: 1200px;
}

div.tocify {
  width: 20%;
  max-width: 260px;
  max-height: 85%;
}

@media (min-width: 768px) and (max-width: 991px) {
  div.tocify {
    width: 25%;
  }
}

@media (max-width: 767px) {
  div.tocify {
    width: 100%;
    max-width: none;
  }
}

.tocify ul, .tocify li {
  line-height: 20px;
}

.tocify-subheader .tocify-item {
  font-size: 0.90em;
}

.tocify .list-group-item {
  border-radius: 0px;
}

.tocify-subheader {
  display: inline;
}
.tocify-subheader .tocify-item {
  font-size: 0.95em;
}
/* OUDE CODE END*/

/**************************
/**     4.0 Header       **
/**************************/
.main-container {
  min-height:50%;
}

.navbar {
  background-color: var(--color-white);
  border-color: var(--color-border);
  border: none;
  color: var(--color-black);
}
.navbar-default .navbar-toggle:hover, 
.navbar-default .navbar-toggle:focus {
  background-color: var(--color-white);
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--color-primary);
}
.navbar-default .navbar-toggle {
  border-color: var(--color-white-opacity);
}
.navbar-default .navbar-nav>li>a {
  color: var(--color-black);
}
.navbar-default .navbar-nav>li>a.btn {
  color: var(--color-white);
}
.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
  border-color: var(--color-border);
  border: none;
}
.navbar-default .navbar-nav>li>a.btn,
.navbar-default .navbar-nav>li>a:hover.btn,
.navbar-default .navbar-nav>li>a:focus.btn {
  font-size: 1rem;
  font-weight: var(--font-normal);
  margin: 10px 15px;
  padding: 10px 12px;
  background-color: var(--color-black);
  border-radius: 5px;
  border: none;
  text-transform: none;
}
.nav>li>a {
  padding-top: 22px;
  padding-bottom: 22px;
}
.nav>li>a.disabled {
  color: var(--color-border);
  pointer-events: none;
}
.nav>li button {
  margin: 10px 15px;
  padding: 10px 12px;
  background-color: var(--color-black);
  color: var(--color-white);
  border-radius: 5px;
  border: none;
}

.breadcrumb {
  background-color: transparent;
  border: none;
  margin-bottom: 0;
}
.breadcrumb>li+li:before {
  color: var(--color-black);
  font-weight: var(--font-normal);
}
.breadcrumb>li:last-of-type {
  font-weight: var(--font-bold);
  text-transform: capitalize;
}
.breadcrumb>li:last-of-type a,
.breadcrumb>li:last-of-type a:hover,
.breadcrumb>li:last-of-type a:focus {
  color: var(--color-black);
  text-decoration: none;
  pointer-events: none;

}
.breadcrumb a {
  text-transform: capitalize;
}

/**************************
/**     5.0 Footer       **
/**************************/
.footnotes {
    max-width: 100%;
    overflow: scroll !important;
}
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 40px;
  margin-top: 40px;
}
.footer .row {
  margin-left: 0;
  margin-right: 0;
}
.footer hr {
  border-color: var(--color-border);
}
.footer h5 {
  font-size: 1.5rem;
  font-weight: var(--font-medium);
  line-height: 2rem;
  padding-bottom: 3rem;
  padding-top: 0.5rem;
}
.footer ul {
  list-style-type: none;
  margin: 0 0 3.5rem 0;
  padding: 0;
}
.footer a {
  color: var(--color-white);
}
.footer li {
  font-size: 1rem;
  margin-bottom: 1.5rem
}
.footer .register {
  background-color: var(--color-white-opacity);
  padding: 1.5rem;
}

.footer .register h5{
  color: var(--color-white);
  padding-top: 0;
  padding-bottom: 0;
}

.footer .register button {
  background-color: var(--color-white);
  color: var(--color-black);
  border: none;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.footer .register .btn {
  background-color: var(--color-white);
  color: var(--color-black);
  border: none;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  text-transform: capitalize;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.footer .copyright{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;;
}


/******************************
/**   6.0 Media Queries      **
/******************************/

@media (max-width : 992px) {
  .navbar-collapse .nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
@media (max-width: 1199px) { 
  div.main-container {
    margin-top: 20px;
  }
}
@media (min-width: 1200px) { 
  div.main-container {
    margin-top: 30px;
  }
}
@media (max-width: 450px) { 
  h1, .h1 {
    font-size: 2rem; /* 48px */
  }
  h1.title, .h1.title {
    /* TODO: Remove importants */
    font-size: 2rem !important; /* 48px */
}
}
/* 
* nav menu to hamburger at breakpoint 1199px 
* Copied from: https://stackoverflow.com/questions/34479198/change-bootstrap-3-3-6-navbar-collapse-breakpoint
*/
@media (max-width: 1199px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-fixed-top {
      top: 0;
  }
  .navbar-collapse.collapse {
      display: none !important;
  }
  .navbar-nav {
      float: none !important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display: block !important;
  }
}


/*****************************
/* OLD CSS from html file(s) *
/*****************************/

.main-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
code {
  color: inherit;
  background-color: rgba(0, 0, 0, 0.04);
}
img {
  max-width:100%;
}
.tabbed-pane {
  padding-top: 12px;
}
.html-widget {
  margin-bottom: 20px;
}
button.code-folding-btn:focus {
  outline: none;
}
summary {
  display: list-item;
}

/* padding for bootstrap navbar */
body {
  padding-top: 54px;
  padding-bottom: 40px;
}
/* offset scroll position for anchor links (for fixed navbar)  */
.section h1 {
  padding-top: 59px;
  margin-top: -59px;
}
.section h2 {
  padding-top: 59px;
  margin-top: -59px;
}
.section h3 {
  padding-top: 59px;
  margin-top: -59px;
}
.section h4 {
  padding-top: 59px;
  margin-top: -59px;
}
.section h5 {
  padding-top: 59px;
  margin-top: -59px;
}
.section h6 {
  padding-top: 59px;
  margin-top: -59px;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}
.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #cccccc;
  margin-top: 5px;
  margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
  border-left-color: #ffffff;
}
.dropdown-submenu.pull-left {
  float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  border-radius: 6px 0 6px 6px;
}