/*
Theme Name: Code Sprinters Theme
Author: Code Sprinters
Version: 1.5
Text Domain: codesprinters
*/

/* Fonts */
.single-page-content-wrapper #main h2.page-title {
	font-family: 'Lato', sans-serif;
	font-size: 24px;
	line-height: 36px;
	margin-bottom: 1em;
	text-align: left;
	color: #393B92;
	font-weight: bold;
	text-transform: uppercase;
	clear: both;
}

/* Banner */
.banner-section-single {
	height: 305px;
	background: #fafafc;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	display: flex;
	align-items: center;
}

.banner-section-single h1 {
	font-family: 'Playfair Display', serif;
	font-weight: bold;
	font-size:  54px;
	line-height: 1.3em;
	text-transform: uppercase;
	text-align:  center;	
	color: white;
}

/* Breadcrumbs */
.single-page-content-wrapper .crumb {
	font-family: 'Playfair Display', serif;
	font-weight: bold;
	font-size: 20px;
	line-height: 27px;
	margin-bottom: 2em;
	text-align: left;
	color: #393B92;
}

/* Content */
.page-bg {
    background: linear-gradient(to right, #fafafc 0%,#fafafc 50%,white 50%,white 50%,white 100%);
}

.single-page-content-wrapper {
    display: flex;
    max-width: 1280px;
    padding: 0 70px;
    margin-left: auto;
	margin-right: auto;
	min-height: 50vh;
}

.main-bg {
	background: #fafafc;
	height: 100%;
}

.main .container {
	padding: 40px 85px 40px 0;
}

p.page-excerpt {
	font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 1.8rem;
}

/* Single page RWD */
@media only screen and (max-width: 1279px) {
	.main .container {
		padding: 40px 30px 40px 0;
	}
	.single-page-content-wrapper {
		padding: 0 15px;
	}
	.banner-section-single {
		height: 256px;
	}
	.banner-section-single h1 {
		font-size: 42px;
	}
}

@media only screen and (max-width: 991px) {
	.banner-section-single {
		height: 196px;
	}
	.banner-section-single h1 {
		font-size: 36px;
	}
}

@media only screen and (max-width: 767px) {
	.page-bg {
		background: white;
	}
	#main {
		background: #fafafc;
	}
	.single-page-content-wrapper {
		padding: 0;
	}
	.main .container {
		padding: 40px 0;
	}
	.banner-section-single {
		height: 156px;
	}
	.banner-section-single h1 {
		font-size: 32px;
	}
}

@media only screen and (max-width: 575px) {
	.banner-section-single {
		height: 115px;
	}
	.banner-section-single h1 {
		font-size: 24px;
	}
}