/* --- Embedded Remote Video -----*/
iframe:where(.media-oembed-content) {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

.field--name-field-media-oembed-video {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    padding-top: 56.25% !important; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    margin: 0 !important;
    border: none !important;
  }

.field--type-learning-outcome-taxonomy {
  border: 1px solid #999;
  padding: 10px;
  border-radius: 6px;
}

.learning-outcome {
  padding-left: 1.5em;
}

/* Then style the iframe to fit in the container div with full height and width */
.media-oembed-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

  .quicktabs-block-title{
    font-family: 'SmallCaps', sans-serif;
    font-size: 1.6em;
    font-weight: bold;
    font-variant: small-caps;
    text-align: left;
    margin-top: 1em;
    margin-bottom: 0.5em;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-left: 0.25em;
    padding-right: 0.25em;
  }

/*--------------------Responsive Textbook Menu -----------------------*/
@media all and (min-width: 840px) {
.slide-menu-trigger {
    position: fixed;
    background-color:#fff;
    border-radius: 5px 5px 0px 0px;
    box-shadow:-1px -1px 0 gray;
    text-align: center;
    vertical-align:middle;
    padding-right:10px;
    padding-left:10px;
    padding-top:10px;
    padding-bottom:5px;
    transform: rotate(270deg);
    transform-origin: -10% 125%;
    border:none;
    }
}

@media all and (max-width:839px) {
.slide-menu-trigger {
    background-color:#fff;
    position: fixed;
    border:none;
    padding-bottom:10px;
    transform: rotate(270deg);
    transform-origin: 35% 300%;
  }
}


/*------------------- Footers --------------------------*/
.footer-textbook {
        position: sticky;
        align-self: flex-end;
        bottom:0px;
}

.book-navigation ul {
    display: flex;
    margin: auto;
}

.book-navigation li {
    border-top: 5px solid #600010;
    display: flex;
    flex: 1;
    background: black;
}

.book-navigation li:hover {
    background: #999999;
}

.page-previous {
    justify-content: flex-start;
}

.page-up {
    justify-content: center;
}

.page-next {
    justify-content: flex-end;
}

.book-nav-link {
    display: flex;
    flex: 1;
    color: #cbced7 !important;
    padding: 10px;
}

.book-nav-link:hover {
    color: #000000;
}

.book-nav-link .full-title {
    display: inline;
}

.book-nav-link .section-title {
    display: none;
}

@media screen and (max-width: 767px) {
    .book-nav-link .full-title {
        display: none;
    }

    .book-nav-link .section-title {
        display: inline;
    }
}

/*----------------------Block Heights -----------------------*/
#block-views-block-tabbed-paragraph-pages-supported-coordinate-systems-block{
    max-height:600px;
    overflow: scroll;
}

.caption{
    text-align: left;
    font-style: italic;
    font-size:0.6em;
}
