/**************************************/
/**************** Root ****************/
/**************************************/
:root {
  --documentation: white;
  --navbar: white;
}

/**************************************/
/*************** Sidebar **************/
/**************************************/
.sidebar {
  border: none;
  background-image: unset;
  background: #f2f2f2;
  margin-top: 86px;
    width: 18em;
}

.sidebar ul li h2 {
  color: #2a2a34;
}

.sidebar ul li ul li {
    margin-bottom: 0.8em;
}

.sidebar ul li ul li.is-active {
  padding-left: unset;
}

.sidebar ul li ul li.is-active:before {
  display: none;
}

.sidebar ul li ul li a {
  color: #2a2a34;
  font-size: 16px;
  line-height: 1.5em;
}

code, .documentation :not(pre)>code {
    color: #8b8b8b;
}

.documentation {

}

.documentation h1:first-of-type {
  border-color: #30469c;
}

.documentation h2 a:before {
  color: #30469c;
}

.documentation>ul:first-of-type {
    background-color: rgba(255,255,255,.7);
	top:86px;
}

.documentation>ul:first-of-type li:last-of-type {
  border-color: white;
}

.switch-checkbox:checked+.switch-label {
  background-color: #30469c;
}

.switch-container {
  margin-left: 20px;
}

.switch-container .nav-label {
  font-weight: 600;
}

.switch-container .switch {
  margin-left: 20px;
}

.documentation a {
  color: #30469c;
}

.documentation .button {
  background-color: #31313c;
}

#backtotop.visible a:hover, #backtotop a {
  background-color: #31313c;
}

.alert .icon {
  display: none;
}

.alert.is-warning {
  background-color: #f8ddcb;
}

.alert.is-info {
  background-color: #E2E2E2;
}

.alert.is-danger {
  background-color: #DC1F29;
}

.alert.is-info p {
  color: #22292f;
}

.alert.is-warning p {
  color: #22292f;
}

.main-nav {
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  padding: 20px 0;
  background: white;
  z-index: 50;
}

.main-nav .container-logo {
}

.main-nav .logo {
}

.main-nav .logo svg {
  height: 44px;
	margin-right:10px;
}

.main-nav .logo span {
  font-weight: bold;
  color: #2A2A34;
}

.main-nav a {
  color: #4D4D54;
  font-size: 15px;
}

.inner-nav {
  top: 84px;
  left: 0;
}

.documentation p {
    margin-bottom: 1em;
}
.main-site{
	margin-right:20px;
}

@media only screen and (max-width: 600px) {
  .switch-container {
    margin-left: 20px;
  }

  .sidebar {
    width: 22rem;
  }

  .sidebar.is-hidden {
    left: -22rem;
  }

  .documentation {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .documentation>ul:first-of-type {
    margin-bottom: 60px;
  }
}


/*Diagram Styles*/
.diagram-container {
  display: flex;
}

.diagram-box {
  display: flex;
  flex-direction: column;
  padding: 3em 1.5em 3em 1.5em;
  background: #e2e2e2;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 360px;
}
.dia-heading {
  font-size: 1.3em !important;
  font-weight: 600;
  line-height: 1 !important;
  margin: 0 0 16px 0 !important;
}
.dia-text {
  margin: 0px !important;
  line-height: 1.5 !important;
}
.diagram-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1116px) {
  .diagram-container {
    flex-direction: column;
  }
  .dia-arrow {
    transform: rotate(90deg);
  }
  .diagram-box {
    width: auto;
  }
}

