@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

:root {  
  --bs-font-sans-serif: 'Roboto';
  --bs-border-radius: 10px;

  --border-radius-button: 40px;
  --card-box-shadow: 0 1px 2px 0 #3d41440f, 0 1px 3px 1px #3d414429;

  --material-yellow-light: #e6dfbf;
  --material-yellow-dark: #5a5338;

  --material-blue-light: #c4d9f1;
  --material-blue-dark: #383e5a;

  --material-red-light: #f1c4c4;
  --material-red-dark: #5a3838;

  --material-warning-header: #f57f171a;
  --material-warning-background: #f6e8bd;
  --material-warning-background-dark: #57502c;

  --material-info-header: #1976d21a;
  --material-info-background: #e3f2fd;
  --material-info-background-dark: #2c4557;

  --material-danger-header: #d32f2f1a;
  --material-danger-background: #ffebee;
  --material-danger-background-dark: #572c2c;
}

/**
 * Licensed to the .NET Foundation under one or more agreements.
 * The .NET Foundation licenses this file to you under the MIT license.
 */


  h1[data-uid] {
    position: relative;
    padding-right: 1.6rem;
  }

  h3[data-uid] {
    position: relative;
    font-weight: 400;
    margin-top: 2em;
    padding-bottom: 5px;
    padding-right: 1.6rem;
  }

  h2.section {
    margin-top: 4rem;

    +h3[data-uid], +a+h3[data-uid] {
      margin-top: -0.5rem;
    }
  }

  dl>dt {
    font-weight: normal;
  }

  dl>dd {
    margin-left: 1rem;
  }

  dl.typelist {
    >dt {
      font-weight: 600;
    }

    >dd {
      margin-left: 0;
    }

    >dd>div {
      display: inline-block;

      &:not(:last-child)::after {
        content: ', ';
      }
    }

    &.inheritance>dd>div:not(:last-child)::after {
      font-family: bootstrap-icons;
      content: '\F12C';
      position: relative;
      top: .2em;
      opacity: .8;
    }
  }

  dl.parameters {
    >dt {
      margin: 1em 0;
      
      &>code {
        margin-right: .4em;
      }
    }
  }

  div.facts {
    font-size: 14px;
    margin: 2rem 0 1rem;

    >dl {
      margin: 0;

      >dd {
        margin-left: .25rem;
        display: inline-block;
      }

      >dt {
        display: inline-block;
      }

      >dt::after {
        content: ":";
      }
    }
  }

  .header-action {
    position: absolute;
    right: 0;
    bottom: .2rem;
    font-size: 1.2rem;
  }

  td.term {
    font-weight: 600;
  }

  summary {
    display: block;
    cursor: inherit;
  }

  li>span.term {
    font-weight: 600;

    &::after {
      content: '-';
      margin: 0 .5em;
    }
  }



.gallery {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    display: block;
    min-width: 80px;
    float: left;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.gallery-item figure {
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px silver solid;
    padding: 2px;
}

figure img {
    height: 200px;
    width: auto;
    margin-bottom: 5px;
	object-fit: scale-down;
}

.zeugwerk-btn-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;    
}

.zeugwerk-btn {
  border-radius: 4px;
  background-color: #da776d;
  border: none;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  padding: 5px;
  width: 150px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 20px;    
}

.zeugwerk-btn span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.2s;
}

.zeugwerk-btn span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.2s;
}

.zeugwerk-btn:hover {
  color: #ffffff;
  background-color: #cad0de;
}

.zeugwerk-btn:hover span {
  padding-right: 25px;
}

.zeugwerk-btn:hover span:after {
  opacity: 1;
  right: 0;
}

.feature-tbl {
  width:100%;
  border: none;  
}

.feature-tbl tr {
  border: none;    
}

.feature-tbl td {
  border: none;
  word-wrap:break-word;
}

.feature-tbl thead tr th {
  border: none;    
}

.feature-tbl tbody tr td {
  vertical-align: middle;
  border: none;
  word-wrap:break-word;
}

.feature-tbl svg {
  display: inline-block;
  width: 24px;
  vertical-align: middle;   
}



/* HEADINGS */

h1 {
  font-weight: 500;
  font-size: 32px;
}

h2 {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.8;
}

h3 {
  font-weight: 400;
  font-size: 23px;
  line-height: 1.8;
}

h4 {
  font-size: 18px;
  padding: 10px 0px;
}

h5 {
  font-size: 15px;
  padding: 10px 0px;
}

article h2,
article h3,
article h4 {
  margin-top: 15px;
  margin-bottom: 15px;
}

article h4 {
  padding-bottom: 8px;
  font-weight: 300;
}

article h5 {
  font-weight: 300;
}


/** IMAGES **/
img {
  border-radius: var(--bs-border-radius);
  box-shadow: var(--card-box-shadow);
}

/** NAVBAR **/
.navbar-brand > img {
  box-shadow: none;
  color: var(--bs-nav-link-color);
}

[data-bs-theme='light'] nav.navbar {
  background-color: var(--bs-primary-bg-subtle);
}

[data-bs-theme='dark'] nav.navbar {
  background-color: var(--bs-tertiary-bg);
}

[data-bs-theme='light'] .navbar-nav > li > a {
  border-radius: var(--border-radius-button);
  transition: 200ms;
}

[data-bs-theme='dark'] .navbar-nav > li > a {
  border-radius: var(--border-radius-button);
  transition: 200ms;
}

.navbar-nav a.nav-link:focus,
.navbar-nav a.nav-link:hover {
  background-color: var(--bs-primary-border-subtle);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--bs-link-hover-color);
}

/** SEARCH AND FILTER **/
input.form-control {
  border-radius: var(--border-radius-button);
}

form.filter {
  margin: 0.3rem;
}

/** ALERTS **/
.alert {
  padding: 0;
  border: none;
  box-shadow: var(--card-box-shadow);
}

.alert > p {
  padding: 0.2rem 0.7rem 0.7rem 1rem;
}

.alert > ul {
  margin-bottom: 0;
  padding: 5px 40px;
}

.alert > h5 {
  padding: 0.5rem 0.7rem 0.7rem 1rem;
  border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
  font-weight: bold;
  text-transform: capitalize;
}

.alert-info {
  color: var(--material-blue-dark);
  background-color: var(--material-info-background);
}

[data-bs-theme='dark'] .alert-info {
  color: var(--material-blue-light);
  background-color: var(--material-info-background-dark);
}

.alert-info > h5 {
  background-color: var(--material-info-header);
}

.alert-warning {
  color: var(--material-yellow-dark);
  background-color: var(--material-warning-background);
}

[data-bs-theme='dark'] .alert-warning {
  color: var(--material-yellow-light);
  background-color: var(--material-warning-background-dark);
}

.alert-warning > h5 {
  background-color: var(--material-warning-header);
}

.alert-danger {
  color: var(--material-red-dark);
  background-color: var(--material-danger-background);
}

[data-bs-theme='dark'] .alert-danger {
  color: var(--material-red-light);
  background-color: var(--material-danger-background-dark);
}

.alert-danger > h5 {
  background-color: var(--material-danger-header);
}

/* CODE HIGHLIGHT */
code {
  border-radius: var(--bs-border-radius);
  margin: 4px 2px;
  box-shadow: var(--card-box-shadow);
}

pre {
  margin-bottom: 0;
}

.lang-std {
  margin-bottom: 0em;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lang-sti {
  border-top: 2px solid var(--bs-secondary-border-subtle);
  margin-top: 0em;
  margin-bottom: 1em;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.lang-st {
  margin-bottom: 1em;
}
