/*
Theme Name: TeacherBP
Theme URI:
Description: Wordpress Theme
Author:
Author URI:
Version: 1.0
.
General comments/License Statement if any.
.
*/

/* Global Styles
*************************/
html, body {
	font-size: 106.3%;
}
body {
	background-color: #f7f7f7;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
	color: #585858;
}

.row {
	max-width: 1400px;
}
.row.fullwidth {
	max-width: none;
}
.row .row {
	max-width: 1400px;
}

.clear {
	clear: both;
}

.hr {
	height: 1px;
	margin: 20px 0;
	background-color: #585858;
}

button, .button {
	min-width: 100px;
	background-color: #A0E288;
	font-weight: bold;
}
button:hover, button:focus, .button:hover, .button:focus {
	background-color: #A0E288;
}
button.outline, .button.outline {
	border: 2px solid #A0E288;
	background-color: #fff;
	color: #A0E288;
}
button.outline:hover, button.outline:focus, .button.outline:hover, .button.outline:hover {
	background-color: #fff;
}

.grey-strip {
	padding: 20px 0;
	background-color: #141618;
	color: #fff;
}
.grey-strip p {
	color: #fff;
}
.grey-strip a {
	color: #ddd;
}


/* Typography
*************************/
h1, h2, h3 {
	font-weight: 600;
	font-family: 'Source Sans Pro', sans-serif;
	color: #666;
}
h2 {
	font-size: 1.6rem;
}
h3 {
	font-size: 1.4rem;
}

a {
	color: #585858;
	opacity: 1;
}
a:hover, a:focus {
	color: #585858;
	/*opacity: 0.8*/
}

/* Header
*************************/
header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 80px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	background-color: transparent;
	z-index: 9999;
	transition: background-color 300ms ease-out;
}
header .blog-name {
	margin: 25px 0;
	letter-spacing: 1px;
}
header .blog-name a {
	font-size: 1.3rem;
	color: #ffffff !important;
}
header ul {
	display: inline-block;
	margin: 0;
}
header ul li {
	display: inline-block;
	position: relative;
}
header ul li a {
	display: inline-block;
	padding: 26px 20px;
	font-weight: bold;
	color: #fff !important;
	opacity: 1;
	transition: opacity 300ms ease-out;
}
header ul li a:hover {
	opacity: 0.6;
}
header ul ul {
	position: absolute;
	top: 79px;
	right: 0;
	width: 240px;
	border-top: 1px solid #fff;
	background-color: #ED5A3D;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease-out, visibility 300ms ease-out;
	z-index: 999;
}
header ul li:hover ul {
	opacity: 1;
	visibility: visible;
}
header ul ul li {
	display: block;
}
header ul ul li a {
	display: block;
	height: auto;
	padding: 6px 15px;
	font-size: 0.95rem;
}

header.scroll {
	border-bottom: none;
	background-color: #ED5A3D;
}
header.scroll ul ul {
border-top: none;
}

.navicon {
	margin: 22px 0;
	font-size: 2.2rem;
	cursor: pointer;
	color: #fff
}

.logo {
	margin-bottom: 40px;
	padding: 0 20px;
}

.off-canvas {
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #141618;
	box-shadow: none !important;
	z-index: 999999 !important;
}
.off-canvas ul {
	margin: 0;
}
.off-canvas ul li {
  list-style: none;
}
.off-canvas ul li a {
	display: block;
	padding: 5px 10px;
	color: #fff;
}
.off-canvas ul li ul {
	margin-left: 10px;
}
.js-off-canvas-overlay.is-overlay-fixed {
	z-index: 99999 !important;
}

/* Sidebar
*************************/
.sidebar {
  background-color: #585858;
}
.search-form {
	padding: 20px;
}
.sidebar .widget {
	position: relative;
}
.sidebar .widget {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #717171;
}
.sidebar .widget  h2 {
	margin-bottom: 0;
	padding: 10px 20px;
	font-size: 1.2rem;
	color: #fff;
	text-transform: uppercase;
}
.sidebar .widget  ul {
	margin: 0;
}
.sidebar .widget  ul li {
	padding: 5px 30px;
	list-style: none;
}
.sidebar .widget  ul li a {
	font-size: 1rem;
	color: #ffffff;
}
.sidebar .widget .textwidget, .sidebar .widget .textwidget a {
	font-size: 0.9rem;
}

.search-form .search-bar {
	position: relative;
}
.search-form .search-bar .search-field {
	margin-bottom: 0;
	padding-right: 80px;
}
.search-form button {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 50px;
	min-width: 0;
	margin: 0;
	background-color: #A0E288;
}

/* Content
*************************/
.banner {
	height: auto;
	margin: 0 0 60px;
}
.banner .container {
	position: relative;
	max-height: 400px;
}
.banner .container img {
	position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 100;
  opacity: 1;
  visibility: visible;
  display: block;
}
.banner .container .caption {
	position: absolute;
	right: 0;
	left: 0;
	font-weight: 600;
	color: #fff;
	text-align: center;
	z-index: 999;
}
.banner .slick-prev, .banner .slick-next {
	position: absolute;
	top: 50%;
	height: auto;
	padding: 10px;
	font-size: 2rem;
	transform: translateY(-50%);
	z-index: 99;
}
.banner .slick-prev:before, .banner .slick-next:before {
	font-family: FontAwesome !important;
}
.banner .slick-prev {
	left: 0;
}
.banner .slick-next {
	right: 0;
}

.banner.page-banner .container {
	position: relative;
	max-height: 400px;
}

.wrapper {
	position: relative;
	margin: 0 auto 0;
	overflow: hidden;
}

.content {
	position: relative;
  overflow: hidden;
}

.intro-text {
	margin-bottom: 60px;
}

.content-blocks .column {
	margin-bottom: 30px;
}
.content-blocks .column h3 {
	color: #fff;
}

.posts-container {
	margin-bottom: 80px;
}
.posts-container article {
	position: relative;
	margin: 0 0 30px;
	border-radius: 4px;
	overflow: hidden;
	-webkit-box-shadow: 0px 5px 15px rgba(0,0,0,0.06);
	-moz-box-shadow: 0px 5px 15px rgba(0,0,0,0.06);
	box-shadow: 0px 5px 15px rgba(0,0,0,0.06);
}
.posts-container article img {
	margin: 0;
	border-radius: 4px 4px 0 0;
	transition: transform 300ms ease-out;
}
.posts-container article:hover img {
	transform: scale3d(1.05, 1.05, 1.05);
}
.posts-container article .post-info {
	padding: 15px;
}
.posts-container article .post-info h3 {
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 1.4rem;
	color: #303133;
}
.posts-container article .post-info .date {
	margin-bottom: 10px;
	font-weight: 600;
	font-size: 0.9rem;
}
.posts-container article .post-info p {
	font-size: 0.8rem;
	color: #777777;
}

.post-content, .page-content {
	margin: 40px 0;
	padding: 20px;
}
.post-content img {
	margin-bottom: 40px;
}

/* Footer
*************************/
footer {
	border-top: 1px solid rgba(255, 255, 255, 0.4);
	padding: 20px 0;
	background-color: #2d2829;
	font-size: 0.9rem;
	color: #fff;
	text-align: center;
}

/* Small screen
*************************/
@media screen {
	.banner .container:before {
		display: block;
		content: '';
		padding-top: 70%;
	}
	.banner .container .caption {
		top: 60%;
		font-size: 1.8rem;
		transform: translateY(-35%);
	}
}

/* Medium screen
*************************/
@media screen and (min-width: 40em) {
	.banner .container:before {
		padding-top: 50%;
	}
	.banner .container .caption {
		top: 50%;
		font-size: 3rem;
		transform: translateY(-40%);
	}
}

/* Large screen
*************************/
@media screen and (min-width: 64em) {
	.banner .container .caption {
		top: 50%;
		font-size: 3rem;
		transform: translateY(-45%);
	}
}