/*make sure muli fonts are loaded for nav*/
@import url('https://fonts.googleapis.com/css?family=Muli:900');

header .bar {
	background: #000;
	color: #fff;
}

header .bar .inner {
	justify-content: flex-end;
	align-items: center;
	display: flex;
	min-height: 36px;
}

header .bar .inner p {
	font-size: 21px;
	line-height: 2;
	margin: 0;
}

header .bar .inner a {
	color: inherit;
}

header .bar .inner ul {
	margin: 0 -5px;
	padding: 0;
	list-style: none;
	display: flex;
	font-size: 12px;
}

header .bar .inner ul li {
	padding: 0 5px;
	margin: 0 5px;
	position: relative;
}

header .bar .inner ul li:not(:last-child):after {
	content: '';
	display: block;
	position: absolute;
	height: 12px;
	width: 1px;
	background: #fff;
	right: -5px;
	top: 50%;
	transform: translateY(-50%);
}

@media screen and (max-width: 550px) {

	header .bar .container {
		padding: 0;
	}
	
	header .bar .inner {
		justify-content: space-between;
		flex-direction: column;
		align-items: center;
		text-align: center;
		display: flex;
		padding: 5px;
	}

	header .bar .inner p {
		line-height: 1.5;
	}

	header .bar .inner ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	
}

.navbar .navbar-wrapper {
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 25px 0 0 0;
}

.navbar .navbar-wrapper:before,
.navbar .navbar-wrapper:after {
	display: none;
}

.navbar .navbar-brand {
	padding-bottom: 10px;
}

.navbar .navbar-brand img {
	image-rendering: -webkit-optimize-contrast;
	max-width: 100%;
}

body .navbar #main-menu {
	margin-left: 0;
}

.navbar #main-menu .header-widgetised-area {
	display: none;
}

body .navbar #main-menu > ul {
	display: block;
	margin: 0;
}

.navbar #main-menu ul.nav > li.menu-item a {
	border-bottom: 10px solid #666666;
	font-family: Muli;
	font-size: 20px;
	font-weight: 900;
	width: 140px;
	padding: 16px 20px;
}

.navbar #main-menu ul.nav > li.menu-item a:hover,
.navbar #main-menu ul.nav > li.menu-item.current_page_item a,
.navbar #main-menu ul.nav > li.menu-item.current-menu-item a,
.navbar #main-menu ul.nav > li.menu-item.current-page-ancestor a {
	border-bottom: 10px solid #000;
}

.navbar #main-menu ul.nav > li.menu-item.manual-spacing a {
	word-spacing: initial;
}

.navbar #main-menu ul.nav > li.menu-item:not(:last-of-type) a {
	margin-right: 1px;	
}

.navbar #main-menu ul.nav > li.menu-item a:first-line {
	font-size: 16px;
	font-weight: 400;
}

.content-wrapper,
.main-content {
	padding-bottom: 0;
}

.footer-widget-area {
	background-color: #2f2f2f;
	overflow: hidden;
}

.footer-widget-area .footer_heading {
	margin-bottom: 80px !important;
}

.footer-widget-area .nf-form-fields-required {
	display: none;
}

.footer-bottom {
	background-color: #ff5d3d;
	padding: 50px 0;
	color: #fff;
}

.footer-bottom .container {
	justify-content: center;
	flex-direction: column;
	align-items: center;
	display: flex;
}

.footer-bottom .footer-meta {
	text-transform: uppercase;
	list-style: none;
	margin: 0 0 20px;
	font-size: 11px;
	display: flex;
	padding: 0;
}

.footer-bottom .footer-meta li {
	position: relative;
	padding: 0 10px;
}

.footer-bottom .footer-meta li:not(:last-of-type):after {
	background-color: #fff;
	position: absolute;
	display: block;
	content: '';
	height: 10px;
	width: 1px;
	top: 4px;
	right: 0;
}

@media screen and (max-width: 700px) {

	.footer-bottom .footer-meta {
		flex-direction: column;
		text-align: center;
		display: flex;
	}

	.footer-bottom .footer-meta li:not(:last-of-type):after {
		display: none;	
	}
	
}

#footer, #footer .footer-socials ul li a span {
	color: #fff;
}

.footer_heading:after {
	content: '';
	display: block;
	width: 48px;
	border-bottom: 2px solid #747474;
	position: relative;
	top: 10px;
}

.footer-widget-area input:not([type="submit"]):not([type="button"]),
.footer-widget-area textarea {
	border: 1px solid #454545;
	background: #2f2f2f;
	padding: 12px 18px;
}

.footer-widget-area .nf-field-element textarea {
	height: 120px;
}

.footer-widget-area .nf-field-container {
	margin-bottom: 20px;
}

.footer-widget-area nf-field:last-of-type .nf-field-container {
	margin-bottom: 0;
}

.footer-widget-area input[type="button"] {
	float: right;
	background: #26697c;
	border: 0;
	color: #fff;
	padding: 14px 20px;
	font-size: 14px;
}


/*
 * Pagination
 */
.pagination {
	margin: 65px 0;
}


/*
 * Lessons Archive
 */

.post-type-archive-lesson .entry-content.archive h1,
.post-type-archive-multimedia .entry-content.archive h1, 
.page-template-template-about .header h1 {
	font-family: 'Muli';
	font-size: 55px;
	line-height: 61px;
	text-transform: uppercase;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 48px;
	font-weight: 900;
}

@media screen and (max-width: 767px) {
	
	h1 {
		font-size: 38px !important;
	}
	
}

.post-type-archive-lesson .archive,
.post-type-archive-multimedia .archive {
	margin-top: 30px;
}

.lesson-sort-links {
	text-transform: uppercase;
	margin-bottom: 20px;
	font-size: 12px;
}

.lesson-sort-links a {
	padding: 0 6px;
	color: inherit;
	border: 0 !important;
}

.lessons {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

@media screen and (max-width: 767px) {
	
	.lessons .col-sm-6 {
		width: 100%;
	}
	
}

.lessons .lesson {
	flex-direction: column;
	padding-bottom: 30px;
	display: flex;
	height: 100%;
}

.lessons .lesson .lesson-image,
.galleries .gallery .gallery-image {
	width: 100%;
	padding-top: 66%;
	position: relative;
	background-size: cover;
}

.lessons .lesson .lesson-image.no-thumb {
	background-color: rgb(228,228,228);
}

.lessons .lesson .lesson-image:before,
.lessons .lesson .lesson-image .lesson-description {
	transition: opacity 0.2s ease;	
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
}

.lessons .lesson .lesson-image.no-thumb .lesson-description {
	opacity: 1 !important;
}

.lessons .lesson .lesson-image:before {
	background-color: rgba(228,228,228, 0.9);
	content: '';
	display: block;
	pointer-events: none;
}
.lessons .lesson .lesson-image .lesson-description {
	color: #7a7575;
	padding: 15px 30px;
	font-size: 19px;
	line-height: 32px;
	font-weight: 300;
	font-family: 'Muli';
	max-height: 100%;
	max-width: 100%;
	overflow: hidden;
}

.lessons .lesson:hover .lesson-image:before,
.lessons .lesson:hover .lesson-image .lesson-description {
	opacity: 1;
}

.lessons .lesson .lesson-header,
.galleries .gallery .gallery-header {
	padding: 38px 110px 16px 16px;
	min-height: 100px;
	position: relative;
}

.galleries .gallery .gallery-header {
	padding: 38px 16px 16px;
}

.galleries .gallery .gallery-header p {
	line-height: 1.2;
	font-size: 14px;
}

.lessons .lesson .lesson-header h2,
.galleries .gallery .gallery-header h2 {
	color: #000;
	font-weight: 800;
	font-size: 24px;
}

.galleries .gallery .gallery-header h2 {
	margin-bottom: 10px;	
}

.lessons .lesson .lesson-header h2 a,
.galleries .gallery .gallery-header h2 a {
	color: inherit;
}

.lessons .lesson .lesson-header .lesson-download {
	position: absolute;
	top: 0;
	right: 20px;
	background-color: #ff5d18;
	color: #fff;
	display: block;
	width: 74px;
	height: 60px;
	text-align: center;
	font-weight: 600;
	line-height: 1.2;
	padding-top: 10px;
	z-index: 2;
}

.lessons .lesson .lesson-header .lesson-download:after,
.lessons .lesson .lesson-header .lesson-download:before {
	border: 37px solid transparent;
	border-top-width: 24px;
	border-bottom-width: 24px;
	background: transparent;	
	position: absolute;
	display: block;
	content: '';
	top: 36px;
	z-index: -1;
}

.lessons .lesson .lesson-header .lesson-download:after {
	border-right-color: #ff5d18;
}

.lessons .lesson .lesson-header .lesson-download:before {
	border-left-color: #ff5d18;
}

.lessons .lesson .lesson-terms {
	padding: 0 16px;
	font-size: 14px;
	color: #000;
}

.lessons .lesson .lesson-terms p {
	position: relative;
	padding-left: 24px;
	margin-bottom: 3px;
}

.lessons .lesson .lesson-terms p:before {
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	height: 20px;
	width: 20px;
	content: '';
	left: 0;
	top: 1px;
}

.lessons .lesson p a {
	color: inherit;
	border: 0;
}

.lessons .lesson .lesson-terms p a:hover {
	border-bottom: 1px solid #000;
	text-decoration: none;
}

.lessons .lesson .lesson-terms p.lesson-minutes {
	float: right;
	z-index: 10;
}

.lessons .lesson .lesson-terms p.lesson-minutes:before {
	background-image: url(../images/icon-time.gif);
}

.lessons .lesson .lesson-terms p.lesson-grades:before {
	background-image: url(../images/icon-grades.gif);
}

.lessons .lesson .lesson-terms p.lesson-elements:before {
	background-image: url(../images/icon-elements.gif);
}

.lessons .lesson .lesson-terms p.lesson-subjects:before {
	background-image: url(../images/icon-subjects.gif);
}

.lessons .lesson .lesson-rating {
	padding: 0px 16px;
	margin: 8px 0 6px;
}

.lessons .lesson .lesson-rating .review-type-star {
	padding: 0;
}

.lessons .lesson .lesson-rating .review-type-star .review-star {
	margin: 0;
}

.lessons .lesson .lesson-footer {
	border-top: 1px solid #000;
	margin-top: auto;
	padding: 10px 16px;
}

.lessons .lesson .lesson-footer p {
	font-size: 14px;
	margin-bottom: 4px;
}

.lessons .lesson .lesson-footer p .lesson-social-icons {
	float: right;
}

.lessons .lesson .lesson-footer p .lesson-social:hover {
	opacity: 0.8;
	text-decoration: none;
}

.lessons .lesson .lesson-footer p .lesson-social:not(:last-child) {
	margin-right: 16px;
}



/*
 * Lessons Search Form
 */

.lesson-search input,
.lesson-search label,
.lesson-search select {
	display: block;
	border: 1px solid #dedede;
	font-size: 15px;
	padding: 7px 14px;
	border-radius: 5px;
	height: 40px;
	width: 100%;
}

.lesson-search input[type="checkbox"] {
	display: none;
}

.lesson-search input[type="checkbox"] + label {
	transition: all .4s ease;
}

.lesson-search input[type="checkbox"]:checked + label {
	border-color: #26697c;
	color: #26697c;
	font-weight: 600;
}

.lesson-search input[type="submit"] {
	width: 100%;
	display: block;
	border-radius: 5px;
	background: #26697c;
	border: 1px solid #26697c;
	font-weight: 600;
	color: #fff;
}

.lesson-search input[type="submit"]:hover {
	border: 1px solid #26697c;
	background: #fff;
	color: #26697c;
}

@media  (min-width: 768px) {

	.lesson-search .form-group {
		margin: 0;
	}

	.lesson-search select,
	.lesson-search input[type="submit"] {
		position: relative;
		top: 10px;
	}
	
}

/* Vocab */
.vocab {
	position: relative;
	line-height: 1.5;
	font-family: sans-serif;
	max-width: 100%;
	width: 100%;
	margin: 40px auto;
}

.vocab > * {
	margin: 0;
	transition: all 0.5s ease;
}

.vocab > img {
	max-width: 100%;
	width: 100%;
}

.vocab > svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.vocab .word, .vocab  .definition {
	transition: all 0.5s ease;
}

.vocab text {
	font-family: 'Lato';
}

.vocab .word text {
	font-weight: 900;
}

.vocab .word:hover text {
	fill: #000;
}   

.vocab .word:hover rect {
	fill: #fff;
}

.vocab .definition {
	opacity: 0;
}

.word:hover + .definition {
	opacity: 1;
}

.tbd-sub-menu, ul {
	margin: 0;
}

.tbd-sub-menu ul {
	list-style: none;
	text-align: center;
}

.tbd-sub-menu ul li {
	display: inline-block;
	padding: 0px 30px;
	line-height: 1;
	margin: 5px 0;
}

.tbd-sub-menu ul li:before {
	content: '';
}

.tbd-sub-menu ul li:not(:last-child) {
	border-right: 1px solid #000;
}

.tbd-sub-menu ul li a {
	font-size: 15px;
	color: #000;
	border: 0;
}

.tbd-sub-menu ul li.current_page_item a {
	font-weight: 800;
}

.login-page {
	justify-content: center;
	background: #1c6e81;
	display: flex;
	align-items: center;
	min-height: calc(100vh - 50px);
}

.login-page .login-wrapper {
	font-family: Muli;
	padding: 50px 20px;
	max-width: 100%;	
	display: flex;
	width: 960px;
}

.login-page .login-wrapper .login-left,
.login-page .login-wrapper .login-right {
	padding: 80px 30px;
	width: 50%;
}

@media screen and (max-width: 820px) {

	.login-page .login-wrapper {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
	}

	.login-page .login-wrapper .login-left,
	.login-page .login-wrapper .login-right {
		width: 100%;
	}
	
	.login-page .login-wrapper .login-left {
		order: 2;
	}
	
	.login-page .login-wrapper .login-right {
		order: 1;
	}
	
}

.login-page .login-wrapper .login-left {
	background: #ff6a3d;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.login-page .login-wrapper .login-left > *:not(:last-child) {
	margin-bottom: 30px;
}

.login-page .login-wrapper .login-right {
	background: #303030;
}

.login-page .login-wrapper .login-left p {
	line-height: 1.2;
	text-align: center;
	font-weight: 800;
	font-size: 30px;
	color: #fff;
}

.login-page .login-wrapper .login-right > p {
	text-transform: uppercase;
	margin-bottom: 50px;
	text-align: center;
	font-weight: 800;
	line-height: 1;
	font-size: 64px;
	color: #28cbca;
}

@media screen and (max-width: 500px) {
	
	.login-page .login-wrapper .login-right > p {
		font-size: 42px; 
	}
	
}

.login-page .login-wrapper .login-right > p span {
	font-size: 20px;
	display: block;
	color: #fff;
}

.login-page .login-wrapper .nf-form-fields-required,
.login-page .login-wrapper .ninja-forms-req-symbol {
	display: none;
}

.login-page .login-wrapper .nf-field-label {
	text-align: left;
}

.login-page .login-wrapper .nf-field-container:not(.submit-container) {
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.25);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.25);
	border-bottom: 1px solid #3e3e3e;
	border-radius: 5px;
	margin-bottom: 20px;
	background: #2c2c2c;
}

.login-page .login-wrapper .nf-field {
	padding: 0 15px;
}

.login-page .login-wrapper .label-left .nf-field-label {
	width: 25%;
}

.login-page .login-wrapper .label-left .nf-after-field {
	margin: 0;
}

.login-page .login-wrapper .label-left .nf-after-field .nf-input-limit {
	display: none;
}

.login-page .login-wrapper .label-left .nf-after-field .nf-error .nf-error-msg {
	padding: 0 15px 10px;
}

.login-page .login-wrapper .nf-after-form-content .nf-error-msg {
	margin-top: 10px;
}

.login-page .login-wrapper .label-left .nf-field-element {
	margin: 0;
	width: 75%;
}

.login-page .login-wrapper .label-left .nf-field-element input.ninja-forms-field {
	padding: 12px 25px;
	height: 100%;
}

.login-page .login-wrapper .label-left .nf-field-element input.ninja-forms-field:focus {
	outline: 0;
}

.login-page .login-wrapper label {
	font-weight: 400;
	font-size: 12px;
	color: #fff;
}

.login-page .login-wrapper .ninja-forms-field {
	background: transparent;
	color: #fff;
	border: 0;
}

.login-page .login-wrapper .nf-error-required-error {
	display: none;
}

.login-page .login-wrapper .submit-container {
	margin-bottom: 0;
}

.login-page .login-wrapper .submit-container input[type=button] {
	height: auto !important;
	margin-top: 30px;
}

.login-page .login-wrapper .submit-container .nf-field-label {
	display: none;
}

.login-page .login-wrapper .submit-container .nf-field-element {
	text-align: center;
	width: 100%;
	margin: 0;
}

.login-page .login-wrapper .submit-container .nf-field-element input {
	border: 1px solid #fff;
	padding: 6px 12px;
}

.login-page .login-wrapper a.button {
	border: 1px solid #fff;
	padding: 12px 24px;
	color: #fff;
}

/* 
 * About Template
 */

.page-template-template-about .entry-content {
	margin-bottom: 30px;
}

.page-template-template-about .header {
	margin-bottom: 100px;
}

.page-template-template-about h2 {
	margin-bottom: 30px;
	text-align: center;
	font-weight: 900;
	font-size: 32px;
	color: #000;
}

.page-template-template-about .about-featured-img {
	padding: 0 15px;
	margin: 0 0 20px;
}

.page-template-template-about .about-featured-img img {
	width: 100%;
}

.page-template-template-about .about-featured-img .about-featured-caption {
	padding: 20px 10px;
	font-weight: 900;
	font-size: 18px;
	margin: 0;
}

.wp-caption .wp-caption-text {
	color: #000;
	font-weight: 900;
	font-size: 18px;
	text-decoration: none;
	font-style: normal;
}

#menu-about li {
	padding: 0 20px;
}

.footer_terra p {
	position: relative;
	padding-left: 110px;
}

.footer_terra p img {
	float: none;
	position: absolute;
	top: 0;
	left: 0;
}

.galleries {
	display: flex;
	flex-wrap: wrap;
}

.galleries .gallery {
	width: 33.3333%;
	padding: 20px;
}

.galleries .gallery a {
	color: #000;
}

.galleries .gallery a:hover,
.galleries .gallery a:focus {
	text-decoration: none;
	outline: 0;
}

.galleries .gallery .gallery-image {
	background-color: rgb(228,228,228);
	transition: opacity 0.5s ease;
	position: relative;
}

.galleries .gallery .gallery-image:before,
.galleries .gallery .gallery-image:after  {
	transition: opacity 0.2s ease;	
	pointer-events: none;
	position: absolute;
	display: block;
	content: '';
	z-index: 1;
	opacity: 0;
	bottom: 0;
	right: 0;
	left: 0;
	top: 0;
}

.galleries .gallery .gallery-image:before {
	background-color: rgba(228,228,228, 0.9);
}

.galleries .gallery .gallery-image:after {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 55px auto;
	z-index: 2;
}

.galleries .gallery .gallery-video .gallery-image:after {
	background-image: url(../images/icon-video.png);
}

.galleries .gallery .gallery-pdf .gallery-image-none {
	background-image: url(../images/multimedia-pdf-bg.jpg);
}

.galleries .gallery .gallery-pdf .gallery-image:after {
	background-image: url(../images/icon-file.png);
}

.galleries .gallery .gallery-photo .gallery-image:after {
	background-image: url(../images/icon-photo.png);
}

.galleries .gallery:hover .gallery-image:before,
.galleries .gallery:hover .gallery-image:after {
	opacity: 1;
}

@media screen and (max-width: 992px ) {

	.galleries .gallery {
		width: 50%;
	}
	
}

@media screen and (max-width: 768px) {

	.galleries .gallery {
		width: 100%;
	}
	
}