/*
 Theme Name:   Baskerville Child
 Theme URI:    http://edtechuvic.ca/baskerville-child/
 Description:  Baskerville Child Theme
 Author:       Michael Paskevicius
 Author URI:   http://edtechuvic.ca
 Template:     baskerville
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  baskerville-child
*/



.blog-title {
	font-family: Roboto, sans-serif;
	font-size: 2.25em;
	line-height: inherit;
	text-align: right;
	}

.blog-title a { color: #000; }

.blog-title a:hover { color: #999; }

.blog-description {
	font-size: 1.1em;
	line-height: 110%;
	font-weight: 400;
	color: #000;
	margin: 20px 0 0 0;
	text-align: right;
}
.header .cover { display: none; }

/* Link handling 
/* -------------------------------------------------------------------------------- */

body a {
	color: #1f497d;
	text-decoration: none;
}

body a:hover {
	color: #1f497d;
	text-decoration: none;
}



/* Navigation
/* -------------------------------------------------------------------------------- */


.main-menu { 
	font-family: 'Roboto Slab', sans-serif;
	font-size: 0.9em; 
	text-align: center;
}

.main-menu li { position: relative; }

.main-menu > li { float: left; }

.main-menu > li:before {
	content: "/";
	display: block;
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -9px;
	margin-right: -3px;
	font-size: 16px;
	color: #444;
	font-weight: 300;
	z-index: 1000;
}

.main-menu > li:last-child:before { content: none; }

.main-menu > li > a {
	display: block;
	padding: 27px;
	font-size: 0.85em;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
}

.main-menu > li:first-child > a { margin-left: 0; }

.main-menu > .has-children > a,
.main-menu > .page_item_has_children > a { padding-right: 47px; position: relative; }

.main-menu > .has-children > a::after,
.main-menu > .page_item_has_children > a::after {
	content: "";
	display: block;
	border: 5px solid transparent;
	border-top-color: #fff;
	position: absolute;
	z-index: 1001;
	right: 29px;
	top: 50%;
	margin-top: -2px;
}

.main-menu li:hover > a { cursor: pointer; color: #fff; }

.main-menu > .has-children:hover > a::after,
.main-menu > .page_item_has_children:hover > a::after { border-top-color: #fff; }

/* Sub menus --------------------------------------- */


.main-menu li ul {
	position: absolute;
	z-index: 10000;
	display: block;
	left: -9999px;
	top: 38px;
	opacity: 0;
	z-index: 999;
	transition: opacity 0.3s ease-in-out, top 0.3s ease-in-out;
}

.is_mobile .main-menu li ul {
	opacity: 1;
	display: none;
}

.main-menu > li > ul { padding-top: 20px; }

.main-menu > li > ul:before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1000;
	top: 0px;
	left: 50%;
	margin-left: -10px;
	border: 10px solid transparent;
	border-bottom-color: #2d2d2d;
}

.main-menu ul li {
    float: none;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.075);
}

.main-menu ul li:first-child { border-top: none; }

.main-menu ul > .has-children::after,
.main-menu ul > .page_item_has_children::after {
	content: "";
	display: block;
	border: 6px solid transparent;
	border-left-color: rgba(255,255,255,0.4);
	position: absolute;
	z-index: 1001;
	right: 10px;
	top: 50%;
	margin-top: -5px;
}

.main-menu ul > .has-children:hover::after,
.main-menu ul > .page_item_has_children:hover::after { border-left-color: #999; }

.main-menu ul li { 	
	display: block;
	width: 240px; 
	background: #2d2d2d;
}

.main-menu ul a {
	display: block;
	text-align: center;
	padding: 20px;
	margin: 0;
	line-height: 130%;
	color: #fff;
}

.main-menu ul a:hover { color: #999; }

.main-menu li:hover > ul,
.main-menu li.focus > ul {
	opacity: 1;
	left: 50%;
	margin-left: -120px;
	top: 48px;
}

.is_mobile .main-menu li:hover ul { display: block; }


/* Deep down --------------------------------------- */

.main-menu ul li ul { top: 5px; }

.main-menu ul li:hover > ul,
.main-menu ul li.focus > ul {
	top: 0;
	left: 240px;
	margin-left: 0;
}

.main-menu ul ul li { background: #3d3d3d; }
.main-menu ul ul ul li { background: #4d4d4d; }
.main-menu ul ul ul ul li { background: #4d4d4d; }




/*	12. Credits
/* --------------------------------------------------------------------------*/

.credits p {
	font-family: 'Roboto Slab', sans-serif;
	color: #fff; 
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
}

.credits a { color: #ccc; }

.credits a:hover { 
	color: #fff; 
	text-decoration: underline;
}

img#wpstats { display: none; } /* Silly WordPress stats */


