
@font-face {
	font-family: 'Libre Baskerville';
	font-style: normal;
	font-weight: 400;
    src: url('../fonts/Libre_Baskerville/librebaskerville-regular-webfont.woff2') format('woff2'),
         url('../fonts/Libre_Baskerville/librebaskerville-regular-webfont.woff') format('woff');
  }

  @font-face {
	  font-family: 'Libre Baskerville';
	  font-weight: bold;
	  src: url('../fonts/Libre_Baskerville/librebaskerville-bold-webfont.woff2') format('woff2'),
         url('../fonts/Libre_Baskerville/librebaskerville-bold-webfont.woff') format('woff');
  }

  @font-face {
	font-family: 'Libre Franklin';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/Libre_Franklin/librefranklin-regular-webfont.woff2') format('woff2'),
	   url('../fonts/Libre_Franklin/librefranklin-regular-webfont.woff') format('woff');
}

@font-face {
	font-family: 'Libre Franklin';
	font-weight: 700;
	src: url('../fonts/Libre_Franklin/librefranklin-bold-webfont.woff2') format('woff2'),
	   url('../fonts/Libre_Franklin/librefranklin-bold-webfont.woff') format('woff');
}

@font-face {
	font-family: 'Libre Franklin';
	font-style: italic;
	src: url('../fonts/Libre_Franklin/librefranklin-italic-webfont.woff2') format('woff2'),
	   url('../fonts/Libre_Franklin/librefranklin-italic-webfont.woff') format('woff');
}


/*

CSS - Table of Contents
1: Global Typeface Styles
2: Banners & Images
3: Navigation Styles
4: Code & Blockquotes
5: Content Styles
6: Switch Styles

*/


/* let's increase the font size on tablets & desktops */
@media only screen and (min-width: 500px) {
	body p, body ul li, body ol li, dd {
		font-size: 1.15rem;
	}

.title-block {
	font-size: 1em;
}

.references-list p {
	font-size: 1em;
}

}

.book-cover img {
  width: 100%;
}

/* 1: Global Typeface Styles */

/* the following rule visually hides image descriptions but shows them to screen readers. Reference via https://webaim.org/techniques/css/invisiblecontent/#techniques */

.sr-only
{position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;}

.book-title a {
	color: white;
}

.book-title a:hover {
	color: #e8e8e8;
}

.index-page-toc a:hover {
	color: rgb(214,167,86);
}

body p, body ul li, body ol li, dd {
  font-family: 'Libre Franklin', sans-serif;
  line-height: 1.75;
}

h1, h2, h3, h4, h5 {
  font-family: 'Libre Baskerville', serif;
}

h2 {
  padding-top: 10%;
}

h2.author-names {
	font-size: 2.5vw;
	padding-top: 0;
	color: #a9a9a9;
}

h3 {
	padding-top: 10%;
	color: #5d5d5d;
}

cite {
	font-size: 100%;
	display: inline;
	color: inherit;
}

.book-title, .book-breadcrumb, .book-breadcrumb a {
  font-size: 1em;
  color: white;
  display: inline;
  font-family: 'Libre Franklin', sans-serif;
  padding-left: 1%;
  display: inline;
  z-index: 1;
}

.book-breadcrumb, .book-breadcrumb a {
	padding-left: 0;
}

.book-breadcrumb .h2:before, .book-breadcrumb .h3:before {
	content: " / "
}

blockquote {
	margin: 5% 0;
}

blockquote p {
    color: #585858;
}

.fa-external-link {
    color: rgba(23,121,186,.5);
    font-size: .5em;
    padding: 0 .25em;
}

.references-list {
    list-style-type: none;
}

.references-list li {
    padding-left: 7.5%;
}

.references-list li::first-letter {
    margin-left: -7.5%;
}

.code-block-before {
    background-color: #909090;
    margin-top: 5%;
}

.code-block-before p {
    margin-bottom: 0;
    color: white;
    text-transform: uppercase;
    font-size: 80%;
    padding-left: 1%;
}

pre {
    margin: 0 0 5% 0;
    border-left: 1px solid #909090;
    border-right: 1px solid #909090;
    border-bottom: 1px solid #909090;
}

.workflow-definitions dt {
	font-size: 1.2rem;
	background-color: #3878B5;
	color: white;
	padding-left: 1%;
	margin-bottom: 0;
}

.workflow-definitions dd {
  background-color: #e3e3e3;
	margin-bottom: 4%;
	padding: 0 1%;
}

.workflow-definitions dl:after {
	content:"";display:table;clear:both;
}

/* 2: Banners & Images */

.title-text {
	background: #1779ba;
	color: white;
	text-align: right;
	padding: 2.5% 0;
}

.title-text h1 {
	font-size: 4vw;
}

.intro-banner {
	background-image: url('../img/book-cover.jpg');
	background-size: cover;
	padding-top:40%;
	text-align: right;
	color: white;
}

.chapter1-banner {
  background-image: url('../img/ch1-cover.jpg');
  background-size: cover;
  padding-top:40%;
  text-align: right;
  color: white;
}

.chapter2-banner {
    background-image: url('../img/ch2-cover.jpg');
    background-size: cover;
    padding-top: 40%;
    text-align: right;
    color: white;
}

.chapter3-banner {
	background-image: url('../img/ch3-cover.jpg');
	background-size: cover;
	padding-top: 40%;
	text-align: right;
	color: white;
}

.chapter5-banner {
	background-image: url('../img/ch5-cover.jpg');
	background-size: cover;
	padding-top: 40%;
	text-align: right;
	color: black;
}


.chapter6-banner {
	background-image: url('../img/ch6-cover.jpg');
	/* image credit: https://unsplash.com/photos/LSTGwDl__pI */
	background-size: cover;
	padding-top: 40%;
	text-align: right;
	color: white;
}

.automation-banner {
  background-image: url('../img/cover-image-v2.jpg');
  background-size: cover;
  padding-top:40%;
  text-align: right;
  color: white;
}

figure.image {
  margin: 1%;
}

figure.screenshot, figure.youtube-embed {
    margin: 5% 0;
}

figure.workflow-map {
	margin: 5% 0;
	border: 1px solid #e8e8e8;
	border-bottom: none;
}

figure .responsive-embed {
    margin: 0;
}

.screenshot.needs-border img {
    border: 1px solid #f0f0f0;
}

figcaption {
  background: #f0f0f0;
  border: 1px solid #e3e3e3;
  font-size: 90%;
  text-align: left;
  font-family: 'Libre Franklin', sans-serif;
  padding: 1%;
}

.sidebar-instructions {
	font-size: .9em;
	margin: -.5em 0 0 0;
	color: #696767;
    border: solid rgb(23,121,186);
    border-width: 0 1px 1px 1px;
    padding-left: 16px;
}

:last-child > .accordion-content:last-child {
    border: solid 1px rgb(23,121,186);
    border-top: 0;
}

.width-50 {
    max-width: 50%;
}

.width-60 {
    max-width: 60%;
}

.width-70 {
    max-width: 70%;
}

.width-80 {
    max-width: 80%;
}

.width-90 {
    max-width: 90%;
}

.width-100 {
    max-width: 100%;
}

.participant-pic {
	width: 100px;
	height: auto;
	border-radius: 50%;
}

.sweetland-note-h2 {
	margin-bottom: 2.5%
}

.participant-container {
	background-color: #e3e3e3;
	padding: 5% 1%;
	margin: 5% 0;
	border-radius: 1%;
	display: flex;
	align-items: center;
}

.intro-chapter-description {
	background-color: #e6e6e6;
	padding: 3%;
	margin: 5% 0;
}

/* 3: Navigation Styles */


.off-canvas {
  z-index: 10;
}

.book-title-nav {
  border-bottom: 5px solid gray;
  font-size: 90%;
  font-family: 'Libre Franklin', sans-serif;
}

.book-title-nav .button {
  margin-bottom: 0;
  font-size: 90%;
}

.sticky-automation {
  border-top: 1px solid gray;
  background-color: rgba(1,4,35,.8);
}

#offCanvasLeft{
    background-color: rgba(51,54,78,1);
    color:white;
}

#offCanvasLeft a {
    color: white;
}

#offCanvasLeft a:hover {
    color: rgb(214,167,86);
}

.close-button, .close-button:active, .close-button:focus {
    color: white;
}

.close-button:hover {
    color:rgb(214,167,86);
}

.main-nav .active {
  font-weight: bold;
  color: #fff;
}

.main-nav .title-block {
  padding: 5% 0;
}

.main-nav .not-yet {
	color: #606060;
	display: block;
	padding: 1rem 1rem;
	margin-bottom: 0;
}

#offCanvasLeft .current-page a {
	color: #1779ba;
}

.main-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 100%;
  padding: 5%  10% 0 10%;
}

.main-title.white {
	color: white;
}

.main-nav ul {
  font-family: 'Libre Franklin', sans-serif;
}

.main-nav li ul {
  padding-left: 5%;
  list-style-type: none;
}

.main-nav ul li a {
  font-size:80%;
}

/* note: adding padding to last list child on main nav to make sure it isn't obscured by iphone browser chrome */

ul.main-nav > li:last-child {
    padding-bottom: 35%;
}

dd {
	margin-bottom: 4%
}

.title-block {
	border-bottom: 1px solid #3F4B63;
}

.title-block:last-child {
	border-bottom: none;
}

.toc-heading {
	padding: 5% 2%;
	color: #9DA3E5;
}

/* 4: Code & Blockquote Elements */

code {
  font-size: 90%;
  border: none;
}

.language-markdown .url {
  color: #0b7dab;
}


code {
	white-space: pre-wrap !important;
    word-wrap: break-word !important; /* fixes small screen overflow problem */
	/* using !important on both values to override prism defaults */
}

/* 5: Content Styles */

.content-sidebar, .content-sidebar .accordion-content {
  background-color: #f6f6f6;
}

/* rule below overwrites Foundation default that created an ugly line through sidebar instructions */

:last-child:not(.is-active) > .accordion-title {
		border-bottom: none;
}


.accordion-title:hover, .accordion-title:active, .accordion-title:focus{
	background-color: rgb(23,121,186);
    color: rgb(214,167,86);
}

.accordion-title {
    border-top: 1px solid rgb(23,121,186);
    border-left: 1px solid rgb(23,121,186);
    border-right: 1px solid rgb(23,121,186);
    background-color: rgb(23,121,186);
    color: white;
}

.sidebar-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.0rem;
}

.sidebar-instructions {
    background-color: rgb(23,121,186);
    color:white;
}

.content-sidebar h3 {
  padding-top: 2.5%;
}

.content-sidebar {
	margin: 10% 0;
}

.figure-video-element {
    margin: 5% 0;
}

/* 6: Switch Styles */


.scholarly-marker {
  display: none;
  padding-top: 1%;
}

.toggle-div {
	background-color: #e3e3e3;
	padding-top: 2%;
}

.right-side-button {
	float: right;
}

.index-page-toc {
	padding-left: 5%;
}

.index-page-toc li {
	padding: 1% 0;
}

.ww-footer {
	background-color: #F0F0F0;
	padding-top: 5%;
}

.pub-logos img {
	margin-bottom: 25px;
}

.pub-logos a:hover {
	opacity: .7;
}

.pub-logos .fa, .pub-logos .fa-external-link {
	display: none;
}

.cc-text {
	max-width: 770px;
}

.cc-license {
	margin-top: 3%;
	margin-bottom: 3%;
}

.ww-footer p {
	font-size: .9em;
	margin-bottom: 4px;
	line-height: 1.25;
}

.ww-footer a {
	color: black;
}

.ww-footer a:hover {
	color: #1779ba;	
}

.ww-footer .fa-external-link {
	display: none;
}

.ww-footer .cc-logo {
	height:50px; 
	fill:black;
}

.ww-footer .cc-logo:hover {
	opacity: .5;
}

.x-callback-examples {
	border: 1px solid #D0D0D0;
	margin: 5% 0;
}

.x-callback-examples th {
	text-align: left;
}

/* Styling Index ToC */

.index-page-toc-container h2 {
	padding-top: 5%;
	padding-bottom: 2.5%;
	border-bottom: 1px solid #d0d0d0;
}

.index-page-toc-container h3 {
	padding-top: 2.5%;
}

.index-page-toc-container ul.index-page-toc {
	border-left: 10px solid #e0e0e0;
	margin: 0 0 7.5% 5%;
}

.index-page-toc-container h3 a {
	font-size: 1.5rem;
	font-family: 'Libre Franklin', sans-serif;
	color: black;
	display: block;
}

.index-page-toc-container h3:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

.index-page-toc-container h3 a:hover {
	background-color: #e0e0e0;
	color: rgb(52,55,77);
}

.index-page-toc {
	list-style-type: none;
}

.index-page-toc li a {
	display: block;
	cursor: pointer;
}

.index-page-toc li a:hover {
	background-color: #e0e0e0;
	color: rgb(52,55,77);
}

.index-page-toc ul {
	list-style-type: none;
	margin-left: 10%;
	line-height: 1.0;
}

.index-page-toc > li {
	font-size: 1.3rem;
}

.index-page-toc ul li {
	margin: 0;
	padding: 0;
}

.index-page-toc ul li a {
	color: rgb(52,55,77);
}

.title-sticky-container {
	background: #33364e;
	width: 100%;
	white-space: nowrap;
}

.intro-banner,
.chapter1-banner,
.chapter2-banner,
.chapter3-banner,
.automation-banner,
.chapter5-banner,
.chapter6-banner  {
	margin-bottom: 10%;
	padding-right: 2%;
}

#Introduction,
#intro,
#mediated-practice,
#writing-with-computers {
	padding-top: 0;
}

	.vert-toc-heading {
		color: #c3c3c3;
	}

	.vert-toc {
		border-left: 1px solid #d0d0d0;
	}

	.magellan-nav a.active {
			color: #1779ba;
			border-left: 5px solid #1779ba;
			background-color: rgb(238,238,238);
			height: 100%;
			display: block;
		}

	.magellan-nav a {
		color: #888888;
	}

	.magellan-nav a:hover {
		color: orange;
	}

	.magellan-nav ul li ul {
		list-style-type: none;
	}

	.magellan-nav ul li ul li {
		line-height: 1.0;
	}

	.magellan-nav ul li ul li a {
		margin-left: 20px;
		padding: 10px;
		width: 100%;
		display: block;
	}

/* Scale down navigation at Tablet size */

@media screen and (min-width: 640px) and (max-width: 1023px) {
	.magellan-nav a {
		font-size: 75%;
	}
	.vert-toc-heading {
		font-size: 100%;
	}
}

/* fixing anchor links that are hidden behind sticky header */

:target::before {
  content: "";
  display: block;
  height: 60px; /* fixed header height*/
  margin: -60px 0 0; /* negative fixed header height */
}



/* remove book subtitle at phone portrait size */

@media only screen and (max-width: 27em) {
		.book-breadcrumb, .hide-for-mobile {
			display: none;
}
}

.code-figure pre  {
	margin-bottom: 0;
}

.code-figure {
	margin-bottom: 5%;
	}

	@media screen and (max-width: 39.9375em) {
		.liblogo {
			max-width: 200px;
		}
		.presslogo {
			max-width: 350px;
		}
.figure-video-element .video-js {
	border: 1px solid #e3e3e3;
		}

		.ww-footer {
			margin-top: 3%;
		}

	}