/* Place custom styling here */
:root {
  --brand-color: var(--hc-logo);
}

.bolditalic {
	font-weight: bold;
	font-style: italic;
}

blockquote {
	border-left: 2px solid rgb(83, 149, 207);
	padding-left: 2px
}

/* override table no-wrap */
.wy-table-responsive table {
  th,
  td {
    white-space: normal;
  }
}

/* CSS related to Web Viewer windows */
.not-ready {
  background-color: red;
}

.model-ready {
  animation-duration: 3s;
  animation-name: model-ready;
  background-color: lightgreen;
}

#ModelStructureReady {
  display: inline-block;
  padding: 0px 3px;
}

@keyframes model-ready {
  from {
    background-color: red;
  }
  
  50% {
    background-color: green;
  }
  
  to {
    background-color: lightgreen;
  }
}

#basic-app-tip {
  font-style: italic;
}

#basic-app-viewer-container {
  display: grid;
  width: 100%;
  gap: 2rem;
}

#basic-app-viewer {
  position: relative;
  border: 1px solid;
}

@media only screen and (min-width: 1090px) {
  #basic-app-demo-header {
    display: grid;
    gap: 0 2rem;
    grid-template-columns: repeat(2, 1fr);
  
    h3 {
      grid-column: 1 / span 2;
    }
    
    p {
      grid-column: 2;
    }
  }
  
  #basic-app-viewer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #basic-app-viewer {
    aspect-ratio: 41/50;
  }
}

@media only screen and (max-width: 1090px) {
  #basic-app-tip {
    display: none;
  }
  
  #basic-app-viewer-container {
    margin-top: 2rem;
    grid-template-rows: 340px auto;
  }
  
  #basic-app-output {
    grid-row: 2;
  }
}

@media only screen and (max-width: 600px){
  #basic-app-viewer-container,
  #basic-app-demo-header {
    display: none;
  }
}

video {
  width: 100%;
  max-width: 750px;
}

/* Described options of a CLI */
dl.option {
  display: flex;
  align-items: flex-start;

  > dt,
  > dd {
    margin: 0;
    padding: 10px;
    border-top: 3px solid #6ab0de ;
  }
  
  > dt {
    flex: 1;
    text-wrap: nowrap;
  }
  
  > dd {
    flex: 2;
  }
}

.cli-index-section {
  ul {
    column-count: 3;
    column-gap: 20px;
    padding: 0;
    list-style: none;
    line-height: 1.333em;
    
    li {
      break-inside: avoid-page;
      text-wrap: nowrap;
    }
  }
  
  p.rubric {
    margin: 0 -20px 10px -20px;
    padding: 0 20px 10px 20px;
    border-bottom: 1px solid #ddd;
  }
  
  .cli-kind-module a {
    color: #9600ff;
  }

  .cli-kind-import-export a {
    color: #7da01f;
  }

  .cli-kind-format-specific a {
    color: #cc9900;
  }

  .cli-kind-general a {
    color: #4da6ff;
  }

  .cli-kind-deprecated a {
    color: #808080;
  }
}

@media (max-width: 900px) {
  .cli-index-section ul {
    column-count: 1;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .cli-index-section ul {
    column-count: 2;
  }
}
