/* Footer icons */

.social-icons-wrapper{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.social-icon-box {
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px;
  transition-duration: .5s;
  border-radius: 8px;
}

.social-icon-box:hover {
  background-color: rgba(163, 163, 163, 0.2);
  transition-duration: .5s;
}

.social-icon{
  width: 25px;
  height: 25px;
}

svg {
  opacity: 1;
  color:gray;
  transition-duration: .5s;
  overflow: visible;
}
svg:hover {
  color: var(--color-link);
  transition-duration: .5s;
}

/* Header configuration */

.img-header {
  position: absolute;
  display: flex;
  top: 0;
  width: 100%;
  z-index: 100;
  font-size: .9375rem;
  background: var(--color-background-primary);
  border-bottom: 1px solid var(--color-header-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  position: relative;
  z-index: 2;
}

.container {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  max-width: 1400px;
}

.header-logo {
  max-width: 200px;
  max-height: 60px;
}

.page {
  padding-top: 65px;
  min-height: calc(100% - 65px);
}

.sidebar-sticky,
.toc-sticky {
  height: calc(100vh - 65px);
} 

/* Sidebar configuration */

.sidebar-homepage-text {
  color: var(--color-sidebar-brand-text);
  overflow-wrap: break-word;
  margin: var(--sidebar-item-spacing-vertical) 0;
  font-size: 1rem;
  float: right;
}
.sidebar-homepage-arrow {
  color: var(--color-sidebar-brand-text);
  margin: var(--sidebar-item-spacing-vertical) 0;
  font-size: 1rem;
  float: left;
  margin-right: 8px;
}
.sidebar-brand-homepage {
  display: flex;
  flex-shrink: 0;
  padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal);
  text-decoration: none;
  border-top: 1px solid var(--color-header-border);
  border-bottom: 1px solid var(--color-header-border);
}
.sidebar-brand-homepage:hover {
  background: var(--color-sidebar-search-background--focus)
}

.sidebar-brand {
  padding: calc(var(--sidebar-item-spacing-vertical) + 8px) var(--sidebar-item-spacing-horizontal);
}
.sidebar-brand:hover {
  background: var(--color-sidebar-search-background--focus)
}

.sidebar-drawer, .toc-drawer {
  border-top: 1px solid var(--color-header-border);
}

/* Header navigation */

.navbar {
  overflow: hidden;
}

.navbar a {
  float: left;
  text-align: center;
  padding: 14px 16px;
  color: var(--color-sidebar-brand-text);
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn, .dropdown .dropbtn-min-width {
  border: none;
  outline: none;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  color: var(--color-sidebar-brand-text);
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropdown:hover .dropbtn-min-width {
  background-color: var(--color-background-secondary);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-background-secondary);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--color-background-hover);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Header navigation in small screens */

@media screen and (max-width: 800px) {
  .dropdown .dropbtn, .docs-button {
    display: none;
  }
}

@media screen and (max-width: 67em) { /* 67em matches furo's configuration for showing the mobile header */
  .img-header {
    z-index: 25;
  }
}