/*
	Theme Name: Sam Tutoring
	Author: Ismail Uddin
	Author URI: www.scienceexposure.com
	Description: Official Sam Tutoring theme
	Version: 2.5.0
*/

/* Typography */

@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;700;800&display=swap");

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Work Sans", "Raleway";
	/* color: #7a7a7a; */
	line-height: 1.5em;
}

.row {
	margin-right: 0;
	margin-left: 0;
}

p {
	/* font-family: "Raleway"; */
	font-weight: 100;
	/* color: #565656; */
	font-size: 1.2em;
	line-height: 1.6em;
	margin-bottom: 25px;
}

p.smaller { 
	font-size: 1.1em;
	line-height: 1.4em;
}

b {
	font-weight: 700;
}

p.main-body {
	font-size: 1.3em;
	line-height: 1.8em;
}

ul.main-body > li {
	font-weight: 300;
	font-size: 1.3em;
	line-height: 1.8em;
}

ul {
	list-style: square;
}
ul > li {
	font-weight: 100;
	font-size: 1.2em;
	line-height: 1.8em;
}

ul.smaller > li {
	font-size: 1.1em;
	line-height: 1.6em;

}

a {
	color: black;
	text-decoration: none;
	transition: all 0.3s ease-in;
	border-bottom: 1px solid rgba(115, 31, 213, 0.1);
	box-shadow: inset 0 -4px rgba(115, 31, 213, 0.1);
}

a:hover {
	text-decoration: none;
	color: #6a1b9a;
}

h1 {
	font-family: "Work Sans", "Montserrat", sans-serif;
	color: #000;
	font-weight: 600;
}

h2 {
	color: #6a1b9a;
	font-weight: 600;
}

h3,
h4 {
	font-family: "Work Sans", "Montserrat", sans-serif;
	color: #f9bf29;
	font-weight: 600;
	margin-top: 35px;
}
h1 a,
h2 a,
h3 a,
h4 a {
	color: #6a1b9a;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
	border: 0;
}

h1.front-page {
	font-size: 3rem;
}

@media screen and (min-width: 1024px) {
	h1.page-title {
		font-size: 4.5rem;
		position: relative;
		margin-bottom: 25px;
		line-height: 1em;
	}
}

@media screen and (max-width: 1024px) {
	h1.page-title {
		font-size: 3rem;
		position: relative;
		margin-bottom: 25px;
		line-height: 1em;
	}
}

h1.page-title::before {
	position: absolute;
	left: -5px;
	bottom: -5px;
	z-index: -1;
	width: 125px;
	height: 25px;
	background-color: #f9bf29;
	content: "";
	opacity: 0.9;
}

img.black-white {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
	opacity: 0.6;
}

blockquote.blockquote {
	font-weight: 700;
	color: #6a1b9a;
	padding-left: 20px;
	line-height: 1.4em;
	border-left: 10px solid #6a1b9a;
}

footer.blockquote-footer {
	font-weight: 300;
	font-style: italic;
	color: black;
}

.keyword {
	color: #f9bf29;
}

/* Buttons */

.btn {
	text-decoration: none;
	box-shadow: none;
}

.btn-black {
	border: 1px solid #000;
	border-radius: 0;
	padding: 5px 10px;
	transition: background-color 0.3s ease-in;
	color: #000;
	background-color: #f9bf29;
	font-weight: 500;
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active {
	color: #f9bf29;
	background-color: #000;
}

.btn-primary {
	background: #6a1b9a;
	color: #fff;
	border-color: #fff;
	border-radius: 0;
	/* font-family: "Montserrat"; */
	transition: background-color 0.5s ease;
	margin: 0 5px 0 5px;
}

.btn-primary:hover {
	background: #fff;
	color: #6a1b9a;
	border: 1px solid;
	border-color: #6a1b9a;
}

.btn-default {
	background: #6a1b9a;
	color: #fff;
	font-family: "Montserrat";
	border-color: #fff;
	border-radius: 0;
	transition: background-color 0.5s ease;
	margin: 5px 0 5px 0;
}

.btn-default:hover {
	background: #fff;
	color: #6a1b9a;
	border-color: #6a1b9a;
}

.btn-primary-reverse {
	border-radius: 0;
	background: #fff;
	color: #6a1b9a;
	font-family: "Montserrat";
	border-color: #6a1b9a;
	transition: background-color 0.5s ease;
	margin: 0 5px 0 5px;
}

.btn-primary-reverse:hover {
	background: #6a1b9a;
	border-color: #fff;
	color: #fff;
}

/* Navbar */
.custom-logo {
	max-height: 60px;
	width: auto;
	margin-left: 15px;
	-webkit-filter: invert(0.8);
	filter: invert(0.8);
}

.custom-logo-black {
	-webkit-filter: invert(0.8);
	filter: invert(0.8);
}

.navbar-right {
	padding-top: 5px;
}

.navbar-nav > .nav-item > .nav-link {
	font-family: "Work Sans", "Montserrat";
	text-transform: lowercase;
	font-size: 1em;
	font-weight: 500;
	/* color: #6a1b9a; */
	color: black;
	transition: color 0.5s ease;
}

.navbar-nav > .nav-item > .nav-link:hover,
.navbar-nav > .nav-item > .nav-link:focus {
	background: none;
	color: #6a1b9a;
}
.navbar-nav > .nav-item.active > .nav-link,
.navbar-nav > .nav-item.active > .nav-link:hover,
.navbar-nav > .nav-item.active > .nav-link:focus {
	color: #f9bf29;
}

.navbar-nav > .nav-item.open > .nav-link,
.navbar-nav > .nav-item.open > .nav-link:hover,
.navbar-nav > .nav-item.open > .nav-link:focus {
	color: #f9bf29;
	background: none;
	border: none;
}

/* Navbar dropdown menu */

.navbar-nav .dropdown-menu {
	background-color: #f9bf29;
	border: none;
	box-shadow: 0px 15px 25px hsl(43, 95%, 27%);
}

.navbar-nav .dropdown-menu .dropdown-item {
	color: black;
	transition: all 0.3s ease-in;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:active,
.navbar-nav .dropdown-menu .dropdown-item:focus {
	color: black;
	background-color: #fff;
}

/* Navbar dropdown menu toggle button */

@media (min-width: 768px) {
	.c-hamburger {
		display: none;
		visibility: hidden;
	}
}

.c-hamburger {
	display: relative;
	position: relative;
	float: right;
	overflow: hidden;
	width: 40px;
	height: 40px;
	margin-right: 18px;
	padding: 0;
	font-size: 0;
	text-indent: -9999px;
	appearance: none;
	box-shadow: none;
	border-radius: none;
	border: none;
	cursor: pointer;
	transition: background 0.3s;
}

.c-hamburger--htx {
	background-color: #e6e6e6;
}

.c-hamburger span {
	display: block;
	position: absolute;
	top: 20px;
	left: 5px;
	right: 5px;
	height: 2px;
	background-color: #000;
}

.c-hamburger span::before,
.c-hamburger span::after {
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #000;
	content: "";
}

.c-hamburger span::before {
	top: -8px;
}

.c-hamburger span::after {
	bottom: -8px;
}

.c-hamburger--htx span {
	transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
	transition-duration: 0.3s, 0.3s;
	transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
	transition-property: top, transform;
}

.c-hamburger--htx span::after {
	transition-property: bottom, transform;
}

/* Navbar toggle button :: Active state */
.c-hamburger--htx.is-active {
	background-color: #6a1b9a;
}

.c-hamburger--htx.is-active span {
	background: none;
}

.c-hamburger--htx.is-active span::before {
	top: 0;
	transform: rotate(45deg);
	background-color: #fff;
}

.c-hamburger--htx.is-active span::after {
	bottom: 0;
	transform: rotate(-45deg);
	background-color: #fff;
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
	transition-delay: 0s, 0.3s;
}

/* Header / Nav bar container */

.header {
	background-color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
	transition: background-color 0.5s ease;
	backdrop-filter: blur(15px);
}

.header a {
	text-decoration: none;
	box-shadow: none;
	border: 0;
}

.header-border {
	border-bottom: 1px solid #d8d8d8;
	opacity: 0.9;
}

.header-clear {
	padding-bottom: 81px;
}

.header h3 {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 60px;
}

/* Home page slider */
.main-slider {
	background-color: #f9bf29;
	margin-top: 80px;
}

.main-slider .content {
	height: 100%;
	display: flex;
	align-items: center;
	padding: 50px 0px;
}

.main-slider .content h1 {
	color: black;
	font-size: 3.5rem;
	line-height: 3.5pc;
}

.main-slider .content p {
	color: black;
	line-height: 2pc;
	font-size: 1.5em;
	font-weight: 300;
}

.aims-icon {
	font-size: 6em;
	text-align: center;
}

/* General content layout */
.container {
	max-width: 1200px;
}

section {
	padding: 2.5rem 0px;
	margin-top: 0;
	margin-bottom: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

section.navbar-offset {
	margin-top: 90px;
}

section.purple {
	background-color: #6a1b9a;
}

section.yellow {
	background-color: #f9bf29;
}

section.gray {
	background-color: rgba(0, 0, 0, 0.03);
}

section.page-title {
	margin-top: 80px;
}

ul.subjects-offered {
	list-style: none;
	padding-left: 0;
}

ul.subjects-offered > li {
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-size: 1rem;
	font-weight: 300;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Blog posts */

article.post {
	background-color: #fff;
	border-radius: 5px;
	overflow: auto;
	padding: 30px;
	margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
	.post-col {
		padding: 0px;
	}
}

article.post p {
	font-size: 1.1em;
	line-height: 1.6em;
}

article.post .meta {
	border-bottom: 1px dotted #e0e0e0;
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 5px 0 5px 0;
	margin-bottom: 15px;
	font-size: 1em;
	color: #969696;
}

article.post .meta li {
	float: left;
	margin-right: 20px;
}

article.post > img {
	width: 100%;
	height: auto;
	overflow: hidden;
	margin-bottom: 5px;
}

article .post-thumbnail {
	max-height: 400px;
	overflow: hidden;
}

article.post > ul,
ol > li {
	font-size: 1.2em;
	font-weight: 300;
	line-height: 1.7em;
	margin-bottom: 10px;
}

.post-thumbnail > img {
	width: 100%;
	height: auto;
	overflow: hidden;
	margin-bottom: 5px;
}

.size-full {
	width: 100%;
	height: auto;
}

/* Events */
.event-archive {
	overflow: auto;
	padding: 0;
	margin-bottom: 40px;
	background-color: #fff;
	box-shadow: 0 2px 5px #d4d4d4;
}

.event-archive h2 {
	margin-top: 15px;
}

.event-archive h3 {
	margin-top: 5px;
}

.event-archive p {
	font-size: 1em;
}

.event-archive .fa {
	color: #757575;
}

.event-archive-thumbnail {
	max-height: 300px;
	overflow: hidden;
	margin: 0;
}

.event-archive .thumbnail-container {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

.event-archive .col-xs-6 {
	padding-left: 10px;
}

.event-archive .event-archive-desc {
	margin-bottom: 15px;
}

.event-archive-thumbnail img {
	width: 100%;
	height: auto;
}

.event-infobar {
	background-color: #f6f6f6;
	margin-bottom: 5px;
}

.event-infobar img {
	display: inline-block;
	max-height: 30px;
	margin-right: 10px;
	margin-bottom: 3px;
}

.event-infobar .col-xs-6 {
	margin-top: 3%;
}

.event-infobar .col-md-6 {
	margin-top: 2%;
}

.event-infobar .col-md-12 {
	margin-top: 1%;
}

.event-infobar h4 {
	color: #7d7d7d;
	line-height: 30px;
	margin-top: 0;
}

/* Single event page */
.event-single-thumbnail {
	max-height: 100% !important;
}

.event-single-thumbnail-container {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	height: auto;
}

.event-single-thumbnail img {
	width: 100%;
	height: auto;
}

.event-info-row {
	font-size: 1.5em;
	line-height: 25px;
	font-weight: bold;
	color: #a0a0a0;
}

.event-single .col-md-12 {
	padding-bottom: 15px;
}

.event-single h1 {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
}

.event-single h3 {
	font-family: "Montserrat", sans-serif;
	font-weight: 200;
}

/* Page title bar */
section.title {
	background-color: #f9bf29;
	border: none;
}

.title h1 {
	font-size: 3.2em;
	margin: 10px auto;
	color: black;
	font-weight: 600;
}

.title h2 {
	font-family: "Montserrat", sans-serif;
	font-size: 1.5em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	opacity: 0.75;
	color: black;
}

/* Font Awesome */

.fa {
	color: #6a1b9a;
	margin-right: 15px;
}

/* Widgets */

.widget {
	padding: 5px 15px 15px 15px;
	background-color: #fff;
	/* box-shadow: 0 2px 5px #d4d4d4; */
	border-radius: 5px;
	margin: 0 0 25px 0;
}

.widget-body {
}

.widget-title {
	margin-top: 10px;
}

.widget-body ul {
	list-style: none;
	padding-left: 0;
	line-height: 1.8em;
}

.widget-body li {
	padding-top: 2px;
	font-size: 1em;
	padding-bottom: 5px;
	border-bottom: 1px dotted #e8e8e8;
}

.widget-body a {
	border-bottom: 0;
	box-shadow: none;
}

.page-widget {
	background-color: #f9f9f9;
	padding: 0;
}

.page-widget-heading {
	padding: 10px;
}

.page-widget h3 {
	margin-top: 10px;
	margin-bottom: 0px;
	padding-left: 10px;
	color: #6a1b9a;
}

.page-widget-body {
	padding: 5px;
	margin-bottom: 15px;
}

.page-widget-body ul {
	list-style: none;
	line-height: 1.8em;
	padding-left: 15px;
	padding-right: 15px;
}

.page-widget-body li {
	padding-left: 0;
	border-bottom: 1px solid #f1f1f1;
	font-family: "Raleway";
	font-weight: 400;
	font-size: 1.2em;
}

.page-widget-body li a {
	text-decoration: none;
	padding-top: 10px;
	padding-left: 15px;
	padding-bottom: 10px;
	box-shadow: none;
	border-bottom: 0;
	display: block;
	width: 100%;
	height: 100%;
	transition: 0.5s ease;
}

.page-widget-body li a:hover {
	background-color: #fff;
}

/* Footer */
.footer {
	padding: 25px 0px;
	background-color: #f9f9f9;
	color: #000;
	font-size: 0.8em;
	border-top: 1px solid #e6e6e6;
}

footer h4 {
	font-family: "Montserrat";
	font-weight: 300;
	text-transform: lowercase;
	color: #6a1b9a;
}

.footer-widget {
	padding: 5px 15px 5px 15px;
	margin: 0 0 25px 0;
}

.footer-widget-body {
	font-size: 1.3em;
	line-height: 1.8em;
}

.widget-title {
	margin-top: 10px;
}

.footer-widget-body ul {
	font-size: 1em;
	padding-left: 0;
	list-style: none;
	line-height: 1.8em;
}

.footer-widget-body li {
	font-weight: 100;
	font-size: 1em;
	padding-top: 2px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #e8e8e8;
}

.footer-widget-body a {
	border-bottom: 0;
	box-shadow: none;
}

.copyright {
	font-size: 1.2em;
}

/* Pagination */
ul.page-numbers {
	list-style: none;
	margin: 0;
	padding-left: 0;
	padding-bottom: 15px;
}

.page-numbers:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

ul.page-numbers li {
	display: block;
	float: left;
	margin: 0 4px 4px 0;
	text-align: center;
}

.page-numbers a,
.page-numbers span {
	font-family: "Montserrat";
	display: block;
	padding: 0 6px;
	height: 1.8em;
	line-height: 1.8em;
	font-size: 1.3em;
	text-decoration: none;
	border-bottom: none;
	box-shadow: none;
	font-weight: 400;
	cursor: pointer;
	background-color: #6a1b9a;
	border: 2px solid #6a1b9a;
	color: #fff;
	transition: background-color 0.5s ease;
}

.page-numbers a span {
	padding: 0;
}

.page-numbers a:hover,
.page-numbers.current,
.page-numbers.current:hover {
	color: #6a1b9a;
	background: #fff;
	border: 2px solid #6a1b9a;
	text-decoration: none;
}

.page-numbers:hover {
	text-decoration: none;
}

/* Forms */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
	width: 100%;
	border: none;
	border-radius: 5px;
	background: #f3f3f3;
	margin: 5px 0 5px 0;
	padding: 10px 20px;
}

input:active,
input:focus {
	outline: none;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

label {
	font-weight: 300;
}