/*
Theme Name: LibText
Theme URI: http://cloudislands.com/
Description: TextBook child theme
Version: 1.0.3
Author: Cloud Islands
Author URI: http://cloudislands.com/
Template: textbook
Template version: 1.1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: libtext
Tags: blog, custom-colors, custom-header, custom-menu, education, featured-images, full-width-template, news, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, three-columns, translation-ready, two-columns
*/

/*--------------------------------------------------------------
>>> SITE COLORS:
----------------------------------------------------------------
PARENT THEME:
Red: b23f33
Brighter red: ce4639
Green: 26866d
Brighter green: 259275
(Lightest to darkest)	
Gray 1: cfccc7
Gray 2: afadaa
Gray 3: 777777
Gray 4: 3d3d3d
Gray 5: 222222
*********
REPLACED colors:
Dull purple: 7c6c9e ---> Blue: 347cbf
Purple: 604d88 ---> Blue: 347cbf
Brighter purple: 8b66d6 ---> Brighter blue: 2583da
*********
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Accessibility
# Alignments
# Clearings
# Typography
# Forms
# Buttons
# Formatting
# Lists
# Tables
# Navigation
# Links
# Layout
# Components
# Widgets
# Media
# JetPack
# Plugins

/*--------------------------------------------------------------
# Typography [Line 348]
--------------------------------------------------------------*/

h1, h2, h3, h4 {
  clear: both;
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  letter-spacing: 0.1em;
  line-height: 1.25em;
  word-break: break-word;
  margin: 1.65em 0;
}
/* Typography changes:letter-spacing 0.15em to 0.08em

/*--------------------------------------------------------------
# Navigation [Line 698]
--------------------------------------------------------------*/
/* [Line 859] */
.main-navigation a {
	color: #000;
 	display: block;
  	font-weight: 600;
  	line-height: 1.1875em;
	text-transform: uppercase;
  	padding: 20.25px;
  	word-break: break-word;
}

.main-navigation .sub-menu a {
	text-transform: none;
}

/* [Line 936] */
@media screen and (min-width: 50em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation {
    min-height: 55px;
    margin-bottom: 3.3em;
    position: relative;
    top: inherit;
    right: inherit;
    width: 100%;
    z-index: 5;
  }
  .main-navigation > div {
    display: block;
    position: relative;
    z-index: 2;
  }
  .main-navigation > div.hide {
    z-index: 1;
  }
  .main-navigation > div.hide ul {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: 0;
  }
  .main-navigation a {
    height: 100%;
    position: relative;
    z-index: 3;
  }
  .main-navigation a:hover {
    color: #FFF;
  }
  .main-navigation a:hover span {
    color: #777777;
  }
  .main-navigation a span {
    color: #434343;
    display: block;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.65;
    margin-top: 3px;
  }
  .main-navigation .menu-item-has-children a,
  .main-navigation .page_item_has_children a {
    padding: 20px 35px 20px 20px;
  }
  .main-navigation .menu-item-has-children > ul li a,
  .main-navigation .page_item_has_children > ul li a {
    padding-bottom: 20px;
  }
  .main-navigation > div > ul,
  .main-navigation.toggled-on > div > ul {
    background: #FFF;
	border: 1px solid #ce4639;
	-webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    /*border: 1px solid #ce4639;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;*/
    opacity: 1;
  }

  .main-navigation > div > ul > li:hover,
  .main-navigation > div > ul > li.focus,
  .main-navigation.toggled-on > div > ul > li:hover,
  .main-navigation.toggled-on > div > ul > li.focus {
    background: #222;
  }
  .main-navigation > div > ul > li:hover a,
  .main-navigation > div > ul > li.focus a,
  .main-navigation.toggled-on > div > ul > li:hover a,
  .main-navigation.toggled-on > div > ul > li.focus a {
    /*color: #777777;*/
	color: #A0A0A0;
  }
  .main-navigation > div > ul > li:hover a:hover,
  .main-navigation > div > ul > li.focus a:hover,
  .main-navigation > div > ul > li.focus a:focus,
  .main-navigation.toggled-on > div > ul > li:hover a:hover,
  .main-navigation.toggled-on > div > ul > li.focus a:hover,
  .main-navigation.toggled-on > div > ul > li.focus a:focus {
    color: #FFF;
  }
  .main-navigation > div ul li:hover > button,
  .main-navigation > div ul li.focus > button,
  .main-navigation > div ul li:hover > button,
  .main-navigation > div ul li.focus > button {
	  border-color: #fff;
  }
  .main-navigation > div ul li:hover > button svg,
  .main-navigation > div ul li.focus > button svg,
  .main-navigation > div ul li:hover > button svg,
  .main-navigation > div ul li.focus > button svg {
	  fill: #fff;
  }
  .main-navigation > div > ul > li:hover .sub-menu,
  .main-navigation > div > ul > li:hover .children,
  .main-navigation > div > ul > li.focus .sub-menu,
  .main-navigation > div > ul > li.focus .children,
  .main-navigation.toggled-on > div > ul > li:hover .sub-menu,
  .main-navigation.toggled-on > div > ul > li:hover .children,
  .main-navigation.toggled-on > div > ul > li.focus .sub-menu,
  .main-navigation.toggled-on > div > ul > li.focus .children {
    display: block;
  }
  .main-navigation .sub-menu,
  .main-navigation .children {
    background: #222;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.33);
    display: inherit;
    float: left;
    position: absolute;
    top: calc(100% - 10px);
    left: -999em;
    width: 300px;
    z-index: 99999;
  }
  .main-navigation .sub-menu ul,
  .main-navigation .children ul {
    position: absolute;
    left: -999em;
    top: 0;
  }
  .main-navigation .sub-menu ul:before,
  .main-navigation .children ul:before {
    border-color: #ce4639;
  }
  .main-navigation .sub-menu a:before,
  .main-navigation .children a:before {
    content: "";
    display: none;
  }
  .main-navigation .sub-menu li a,
  .main-navigation .children li a {
    color: #FFF;
  }
  .main-navigation .sub-menu li:before,
  .main-navigation .children li:before {
    border-color: #ce4639;
  }
  .main-navigation .sub-menu li:hover > ul,
  .main-navigation .sub-menu li.focus > ul,
  .main-navigation .children li:hover > ul,
  .main-navigation .children li.focus > ul {
    left: 100%;
  }
  .main-navigation .sub-menu li:hover > a,
  .main-navigation .sub-menu li.focus > a,
  .main-navigation .sub-menu li.menu-item-has-children li a:hover,
  .main-navigation .sub-menu li.page_item_has_children li a:hover,
  .main-navigation .children li:hover > a,
  .main-navigation .children li.focus > a,
  .main-navigation .children li.menu-item-has-children li a:hover,
  .main-navigation .children li.page_item_has_children li a:hover {
    color: #777777;
  }
  .main-navigation .sub-menu li.menu-item-has-children:hover ul li,
  .main-navigation .sub-menu li.page_item_has_children:hover ul li,
  .main-navigation .children li.menu-item-has-children:hover ul li,
  .main-navigation .children li.page_item_has_children:hover ul li {
    background: #2A2A2A;
  }
  .main-navigation .sub-menu li.menu-item-has-children ul a,
  .main-navigation .sub-menu li.page_item_has_children ul a,
  .main-navigation .children li.menu-item-has-children ul a,
  .main-navigation .children li.page_item_has_children ul a {
    padding-left: 20.25px;
  }
  .main-navigation .sub-menu li.menu-item-has-children:hover ul a:active,
  .main-navigation .sub-menu li.menu-item-has-children:hover ul a:hover,
  .main-navigation .sub-menu li.page_item_has_children:hover ul a:active,
  .main-navigation .sub-menu li.page_item_has_children:hover ul a:hover,
  .main-navigation .children li.menu-item-has-children:hover ul a:active,
  .main-navigation .children li.menu-item-has-children:hover ul a:hover,
  .main-navigation .children li.page_item_has_children:hover ul a:active,
  .main-navigation .children li.page_item_has_children:hover ul a:hover {
    color: #FFF;
  }
  .main-navigation.add-seperators > div > ul > li {
    position: relative;
  }
  .main-navigation.add-seperators > div > ul > li:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #ce4639;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  .main-navigation.add-seperators > div > ul > li:before {
    bottom: 0;
  }
  .main-navigation.add-seperators > div > ul > li:nth-child(5n):nth-last-child(-n+6) ~ li:before,
  .main-navigation.add-seperators > div > ul > li:last-child:nth-child(-n+4):before {
    display: none;
  }
  .main-navigation.add-seperators > div > ul > li:nth-child(5n):nth-last-child(-n+6) ~ li:hover:before,
  .main-navigation.add-seperators > div > ul > li:last-child:nth-child(-n+4):hover:before {
    border-color: #222;
    bottom: -1px;
    display: block;
  }
  .main-navigation .dropdown-toggle {
    height: 20px;
    padding: 0;
    right: 16px;
    top: 19px;
    /*right: 18px;
    top: 18px;*/
    width: 20px;
    z-index: 2;
  }
  .main-navigation .dropdown-toggle svg {
    height: 16px;
    left: 0;
    position: absolute;
    top: 0;
    width: 16px;
  }
  .main-navigation .dropdown-toggle.toggled-on {
    background-color: transparent;
    border-color: #777777;
    color: #777777;
    -ms-transform: rotate(0deg);
    /* IE 9 */
    -webkit-transform: rotate(0deg);
    /* Chrome, Safari, Opera */
    transform: rotate(0deg);
  }
}

/*--------------------------------------------------------------
## Content Widget Area [Line 1628]
--------------------------------------------------------------*/

.site-content #secondary .widget:nth-of-type(3n+3) a {
  color: #347cbf;
}


/*--------------------------------------------------------------
# Components [Line 1754]
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Header [Line 1758]
--------------------------------------------------------------*/

/* Line 1795 */
.site-branding .site-title {
  	font-family: "Playfair Display SC", "Times New Roman", Times, serif;
  	font-size: 24px;
  	font-size: 1.5rem;
  	font-weight: 600;
  	letter-spacing: 0.175em;
  	line-height: 1.125em;
  	margin: 0 0 0.61875em;
}

@media screen and (min-width: 50em) {

  .site-branding .site-title {
    font-size: 24px;
    font-size: 1.5rem;
    margin: -5px 0 0;
  }
  .site-branding .site-description {
    font-size: 16px;
    font-size: 1rem;
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Header Image [Line 2009]
--------------------------------------------------------------*/
@media screen and (min-width: 50em) {
  .header-image .site-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
    margin-bottom: 0;
    display: block;
  }
  .header-image .site-header:before {
    content: "";
    background: white;
    background: -moz-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 50%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, white), color-stop(50%, rgba(240, 238, 236, 0)));
    background: -webkit-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 50%);
    background: -o-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 50%);
    background: -ms-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 50%);
    background: linear-gradient(to bottom, white 0%, rgba(240, 238, 236, 0) 50%);
    display: inherit;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0eeec', GradientType=0 );
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
  }
  .single.header-image .site-header,
  .page.header-image .site-header,
  .archive.header-image .site-header,
  .search.header-image .site-header {
    min-height: inherit;
  }
  .single.header-image .site-header:before,
  .page.header-image .site-header:before,
  .archive.header-image .site-header:before,
  .search.header-image .site-header:before {
    content: "";
    background: white;
    background: -moz-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, white), color-stop(50%, rgba(240, 238, 236, 0.875)));
    background: -webkit-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
    background: -o-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
    background: -ms-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
    background: linear-gradient(to bottom, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
    display: inherit;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0eeec', GradientType=0 );
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
  }
}

/*--------------------------------------------------------------
## Features [Line 2068]
--------------------------------------------------------------*/

.featured-content {
  	background: #000;
	/*background: #3D3D3D;*/
  	color: #fff;
  	display: block;
  	position: relative;
  	z-index: 3;
}

/* Line 2093 */
.featured-content-title {
  font-size: 24px;
  font-size: 1.5rem;
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2375em;
  color: #FFF;
  line-height: 1;
  margin: 0 0 0.825em;
} 

.featured-content-inner .hentry:nth-of-type(3n+2) a {
  color: #259275;
} 
/* Line 2171 */
.featured-content-inner .hentry:nth-of-type(3n+3):before {
  content: "";
  position: absolute;
  border-left: 1px solid #2583da;
  height: 100%;
  left: 0;
  top: 0;
  right: inherit;
  width: 0;
}
/* Line 2182 */
.featured-content-inner .hentry:nth-of-type(3n+3) a {
  color: #347cbf;
}

.featured-content-inner .hentry:nth-of-type(3n+3) .post-thumbnail {
  background-color: #2583da;
  border-color: #2583da;
  margin-right: calc(-20.25px - 1px);
}

/* Line 2258 */
.featured-content-inner .hentry .entry-title {
  font-size: 24px;
  font-size: 1.5rem;
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  font-weight: 600;
  /*letter-spacing: 0.15em;*/
  letter-spacing: 0.08em;
  line-height: 1.2375em;
  margin: inherit;
}

/* Line 2268 */
.featured-content-inner .hentry .entry-title a {
  color: #FFF;
}
/* Line 2272 */
.featured-content-inner .hentry .entry-title a:hover,
.featured-content-inner .hentry .entry-title a:focus {
  color: #cfccc7;
}

/*--------------------------------------------------------------
## Testimonials [Line 2491]
--------------------------------------------------------------*/

.testimonials .hentry:nth-of-type(3n+3) a {
  color: #347cbf;
}

.testimonials .hentry:nth-of-type(3n+3) .entry-content {
  border-bottom: 1px solid #347cbf;
}

.testimonials .hentry:nth-of-type(3n+3) .entry-content:before {
  border-color: #347cbf transparent transparent #347cbf;
}

.testimonials .hentry:nth-of-type(3n+3) .speech-triangle {
  border-left-color: #347cbf;
}
/* Line 2709 */
.testimonials-title {
  font-size: 20px;
  font-size: 1.25rem;
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  letter-spacing: 0.08em;
  line-height: 1.25;
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.125;
  margin: 0 auto 0.825em;
  text-align: center;
  vertical-align: middle;
  width: 70%;
}

/*--------------------------------------------------------------
## Posts [Line 2862]
--------------------------------------------------------------*/
/* Line 2927 */
.single .hentry .entry-title {
  font-size: 20px;
  font-size: 1.25rem;
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  /*letter-spacing: 0.15em;*/
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #FFF;
  margin: 0;
  order: 1;
  flex-basis: 100%;
}

/* Line 2956 */
.single .hentry .entry-meta {
  background: #3d3d3d;
}


/* Line 3127 */
.single .hentry .cat-links li:nth-of-type(3n+2) a {
  background: #347cbf;
}
/* Line 3213 */
@media screen and (min-width: 37.5em) {
  .single .hentry .entry-header {
    align-content: center;
    align-items: stretch;
    background: #3d3d3d;
    display: flex;
    flex-direction: row;
  }
}
/*--------------------------------------------------------------
## Posts [Line 2862]
--------------------------------------------------------------*/
/* Line 3140 */
.single .hentry .entry-author {
  display: none !important;
}

/*--------------------------------------------------------------
## Comments [Line 3376]
--------------------------------------------------------------*/

.comments-area > ol > li:nth-of-type(3n+3) a {
  color: #347cbf;
}

.comments-area > ol > li:nth-of-type(3n+3) .comment-respond,
.comments-area > ol > li:nth-of-type(3n+3) .comment-body .avatar {
  border-color: #347cbf;
}

/*--------------------------------------------------------------
## Cards [Line 3688]
--------------------------------------------------------------*/

.card:nth-of-type(3n+3) .entry-header {
  background: #FFF;
  border: 1px solid #347cbf;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  overflow: hidden;
}

.card:nth-of-type(3n+3) .entry-header a {
  color: #347cbf;
}

.card:nth-of-type(3n+3) .entry-header .entry-meta:before {
  border-color: #347cbf;
}

.card:nth-of-type(3n+3) .star {
  color: #347cbf;
}

/*--------------------------------------------------------------
## Footer Widget Area [Line 4146]
--------------------------------------------------------------*/

.footer-widget-area .widget:nth-of-type(4n+4):before {
  content: "";
  position: absolute;
  border-top: 1px solid #347cbf;
  height: 0;
  top: 0;
  left: 0;
  width: 100%;
}

@media screen and (min-width: 60em) {
	.footer-widget-area .widget:nth-of-type(4n+4):before {
    border-color: #347cbf;
  }
}

/*--------------------------------------------------------------
## Pages [Line 4010]
--------------------------------------------------------------*/

.entry-breadcrumbs {
  font-size: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.65em;
  text-transform: uppercase;
  position: relative;
  background: #3d3d3d;
  color: #FFF;
  font-weight: bold;
  margin: 0;
  padding: 13.5px 20.25px;
}

.page .page .entry-header,
.single .hentry:not(.post) .entry-header,
.error404 .not-found .page-header,
.search-no-results .not-found .page-header {
  background: #3d3d3d;
  color: #FFF;
  margin-bottom: 0;
  width: 100%;
}

/*--------------------------------------------------------------
# Widgets [Line 4343]
--------------------------------------------------------------*/

.site-content #secondary .widget_tag_cloud div a:nth-of-type(3n+2),
.site-content #secondary .wp_widget_tag_cloud div a:nth-of-type(3n+2) {
  background: #347cbf;
  color: #FFF;
}

.site-content #secondary .widget_categories li:nth-of-type(3n+2) a {
  background: #347cbf;
  color: #FFF;
}
/* Line 4430*/
.widget_calendar .calendar_wrap caption {
  font-size: 20px;
  font-size: 1.25rem;
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 1.65em;
  text-align: left;
}

/*--------------------------------------------------------------
## Quick Links Menu
--------------------------------------------------------------*/

.menu-quick-links-container {
	display: inline-flex;
	height: 2em;
}
ul#quick-menu {
	margin-left: 0;
}

ul#quick-menu li {
	display: inline-flex;
	margin: 0 6px;
	text-align: center;
	font-size: 1.0rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.65em;
	text-transform: uppercase;
}

.fas::before,
.far::before {
	position: relative;
	top: -28px;
	left: 50%;
}

.fa-2x::before {
	font-size: 1.2rem;
}

.quick-navigation a {
	color: #000;
	font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media screen and (max-width: 50em) {

	.menu-quick-links-container {
		display: block;
		float: left;
		margin: 1.5em 0;}
		
	ul#quick-menu li {
		display: inline-flex;
		margin: 0 6px;
		text-align: center;
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: .08em;
		line-height: 1.65em;
		text-transform: uppercase;
	}
		
}

