body {font-size: 16px;
  padding-top: 60px;
}
h1 {font-size: 40px;
  font-weight: 500;
}
h2 {font-size: 30px;
  font-weight: 500;
}
h3 {font-size: 23px;
  font-weight: 500;
}


.ref-arguments th {vertical-align: top;}

/* navbar ----------------------------------------------- */


.navbar .info {
  color: #fff;
  float: left;
  height: 50px;
  width: 330px;
  font-size: 80%;
  position: relative;
  margin-left: 5px;
}

.navbar .info .partof .a {
  color: #7abaf5 !important;
}

.navbar .info .partof {
  position: absolute;
  top: 0;
}

.navbar .info .developedby {
  position: absolute;
  bottom: 0;
  right: 0;
}

.navbar .info .version {
  position: absolute;
  bottom: 0;
}
.navbar .info .version-danger {
  font-weight: bold;
  color: orange;
}

.navbar-form {
  margin-top: 3px;
  margin-bottom: 0;
}

.navbar-toggle {
  margin-top: 8px;
  margin-bottom: 5px;
}

/* new */

nav[data-toggle='toc'] .nav  > li > a {
  background-color: #4a3c89;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px white solid;
  font-size: 16px;
  font-weight: 400;
}

nav[data-toggle='toc'] .nav > li > a:hover,
nav[data-toggle='toc'] .nav > li > a:focus {
  background-color: #370f54;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px white solid;
  font-size: 16px;
  font-weight: 400;
  padding-left: 15px;
  border-left: 2px solid #fff;
}

nav[data-toggle='toc'] .nav > .active > a,
nav[data-toggle='toc'] .nav > .active:hover > a,
nav[data-toggle='toc'] .nav > .active:focus > a {
  background-color: #370f54;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px white solid;
  font-size: 16px;
  font-weight: 500;
  padding-left: 15px;
  border-left: 3px solid #fff;
}


nav[data-toggle='toc'] .nav .nav > li > a {
  background-color: #4a3c89;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px white solid;
  font-size: 14px;
  font-weight: 400;
}

nav[data-toggle='toc'] .nav .nav > li > a:hover,
nav[data-toggle='toc'] .nav .nav > li > a:focus {
  background-color: #370f54;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px white solid;
  font-size: 14px;
  font-weight: 400;
  padding-left: 15px;
  border-left: 2px solid #fff;
}

nav[data-toggle='toc'] .nav .nav > .active > a,
nav[data-toggle='toc'] .nav .nav > .active:hover > a,
nav[data-toggle='toc'] .nav .nav > .active:focus > a {
  background-color: #370f54;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px white solid;
  font-size: 14px;
  font-weight: 500;
  padding-left: 15px;
  border-left: 3px solid #fff;
}

/* old */
.navbar-nav li a {
  padding-bottom: 10px;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #370f54 !important;
  border-radius: 3px;
}

.nav-pils>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
}



/* footer ------------------------------------------------ */

footer {
  margin-top: 45px;
  padding: 35px 0 36px;
  border-top: 1px solid #e5e5e5;

  display: flex;
  color: #666;
}
footer p {
  margin-bottom: 0;
}
footer .tidyverse {
  flex: 1;
  margin-right: 1em;
}
footer .author {
  flex: 1;
  text-align: left;
}

/* sidebar old ------------------------------------------------ */

#sidebar h2 {
  font-size: 1.6em;
  margin-top: 1em;
  margin-bottom: 0.25em;
}

#sidebar .list-unstyled li {
  margin-bottom: 0.5em;
  line-height: 1.4;
}

#sidebar small {
  color: #777;
}

#sidebar .nav {
  padding-left: 0px;
  list-style-type: none;
  color: #5a9ddb;
}

#sidebar .nav > li.active {
  background-position: left -240px;
}

/*#sidebar a {
  padding: 0px;
  color: #5a9ddb;
  background-color: transparent;
}
*/
/*#sidebar a:hover {
  background-color: transparent;
  text-decoration: underline;
}*/

/* sidebar new ------------------------------------------------ */

#pkgdown-sidebar h2 {
  font-size: 30px;
  margin-top: 1em;
  margin-bottom: 0.25em;
}

#pkgdown-sidebar .list-unstyled li {
  margin-bottom: 0.5em;
  line-height: 1.4;
}

#pkgdown-sidebar small {
  color: #777;
}

#pkgdown-sidebar .nav {
  padding-left: 0px;
  list-style-type: none;
  color: #5a9ddb;
}

#pkgdown-sidebar .nav > li.active {
  background-position: left -240px;
}

/* ---- *\/*----------------------------------*\

/* Sticker footer */
body > .container {
  display: flex;
  padding-top: 30px;
  min-height: calc(100vh);
  flex-direction: column;
}

/* Section anchors ---------------------------------*/


.hasAnchor:hover a.anchor {
  visibility: visible;
}

@media (max-width: 767px) {
  .hasAnchor:hover a.anchor {
    visibility: hidden;
  }
}


/* Static header placement on mobile devices */
@media (max-width: 767px) {
  .navbar-fixed-top {
    position: absolute;
  }
  .navbar {
    padding: 0;
  }
}


/* Syntax highlighting ---------------------------------------------------- */


table {
    display: block;
    overflow: auto;
	width: 100% !important;
}

.navbar-mi2logo {
  float: left;
	margin-right: 2px;
	margin-left: 2px;
	margin-bottom: 2px;
	margin-top: 2px;
}

.sidebar-logo {
	display:block;
	margin-left:auto;
	margin-right:auto;
	text-align: justify;
}
