/* ----------------
 	Components/Shortcodes Styling
---------------- */

/* box creates a flexbox wrapper, row default */
.box {
  display: flex;
  flex-flow: wrap;
  align-content: center;
  justify-content: center;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.box--embed {
  flex-direction: column;
  flex-wrap: nowrap;
  padding-bottom: 0;
  justify-content: center;
  align-items: center;
}

.box--embed::before,
.box--image::before {
  content: "";
  height: 0.5em;
}

.box--embed::after,
.box--image::after {
  content: "";
  height: 0.5em;
}

.box--btn-bar {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.box--column {
  flex-direction: column;
  align-items: center;
}

.box__caption {
  font-style: italic;
}

.box__title {
  text-transform: capitalize;
  font-weight: bold;
}

.box--headline {
}

.box--text {
}

.box--btn {
  padding: 0.5em;
  margin-bottom: 0.5em;
}

.box--btn-bar > .box--btn {
  margin-right: 0.2em;
}

.btn__text {
  align-self: center;
}

.btn__icon {
  align-self: center;
  padding-right: 0.2em;
}

.btn--large .btn__text,
.btn--large .btn__icon {
  font-size: 3rem;
}

.btn--small .btn__text,
.btn--small .btn__icon {
  font-size: 1rem;
}

.btn--circle {
  border-radius: 50%;
  padding: 0.5em;
}

.highlight {
  font-size: 0.7em;
  align-items: left;
  color: red;
  background-color: white;
  padding: 0.5em;
  border-color: black;
  border-width: 3px;
  border-radius: 1em;
}

.highlight > ul > li::before {
  font-family: FontAwesome;
  content: "\f054"; /* chevron-right */
  padding-right: 1.1em;
  margin-left: -2em;
}

.box--avatar > a {
  opacity: 1;
}

.thumb--yt {
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.8);
}

.thumb--yt:hover {
  -webkit-filter: brightness(1);
  cursor: pointer;
}

.thumb--yt > .play-button {
  font-size: 3.5em;
  color: red;
  text-shadow: 3px 3px  black;
}

.box__embed--disqus {
  width: 90vw;
  max-width: 800px;
}

.box__contact-info > * {
  padding: 0.1em;
  align-self: center;
}

.box__contact-info > * > * {
  margin: 0.2em;
  align-self: center;
}

/*turn off default bullets*/
.box--gallery {
  list-style: none;
}

.box--gallery li,
.box--gallery__item {
  padding: 0.2em;
}

/*turn off fontawesome bullets*/
.box--gallery li::before,
.box--gallery__item li::before {
  display: none;
}

code {
  font-size: 0.8em;
  font-family: 'Roboto Mono', monospace;
  background-color: black;
  border-radius: 0.2em;
  color: white;
  padding-left: 0.2em;
  padding-right: 0.2em;
  padding-top: 0.05em;
  padding-bottom: 0.07em;
  overflow-x: scroll;
}

code.hljs {
  font-size: 0.75em;
  border-radius: 0.2em;
  background-color: black;
  color: white;
  padding: 1em;
  margin-bottom: 0.7em;
  width: inherit;
  max-width: 90vw;
  border-style: solid;
  border-width: 3px;
  border-color: dimgrey;
}
