/*
Theme Name: LION
Version: 1.3
Description: LION Publishers theme
template: bb-theme
*/

/* Fonts */
html {
	-webkit-font-smoothing: antialiased;
}


@font-face {
    font-family: 'interstatebold';
    src: url('fonts/interstate-bold-webfont.woff2') format('woff2'),
         url('fonts/interstate-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'interstateregular';
    src: url('fonts/interstate-regular-webfont.woff2') format('woff2'),
         url('fonts/interstate-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'belydisplay';
    src: url('fonts/bely-webfont.woff2') format('woff2'),
         url('fonts/bely-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'interstatelight';
    src: url('fonts/interstate-light-webfont.woff2') format('woff2'),
         url('fonts/interstate-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
	font-family: 'interstatelight', helvetica, sans-serif;
}

h1, h2, h3 {
	font-family: 'belydisplay', serif;
	font-weight: normal;
}

h4, h5, h6 {
	font-family: 'interstatebold';
	font-weight: normal;
}

.fl-rich-text h3 {
	font-family: 'interstatebold';
	font-weight: normal;
}

.cntr {
	max-width: 1240px;
	padding: 0 20px;
	margin: 0 auto;
}

.flex {
	display: flex;
}

.flex .fl-post-feed {
	display: flex;
	flex-wrap: wrap;
}

.flex .fl-post-feed .fl-post-feed-post {
	flex: 1 0 33.33%;
	border: 0;
	margin: 16px 0;	
}

.post-author {
	font-size: 14px;
	color: #999;
	font-style: italic;
}

@media screen and (max-width: 880px) {
	.flex .fl-post-feed .fl-post-feed-post {
		flex: 1 0 100%;
		margin: 0;	
	}
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 999;
	height: 96px;
}

.site-header .cntr {
	align-items: center;
	justify-content: space-between;
}

.logged-in .site-header {
	top: 32px;
}

.fl-page-content {
	padding-top: 96px;
}

.site-logo {
	margin: 12px 0;
	width: 110px;
	height: 51px;
}

.site-header li {
	list-style: none;
	padding: 32px 16px;
	position: relative;
}

.site-header nav:first-of-type {
	margin-right: auto;
}

.site-header nav a {
	text-transform: uppercase;
	font-size: 15px;
	color: #111111;
	letter-spacing: 1.5px;
	font-family: 'interstatebold';
	transition: color 0.25s;
}

.site-header nav .blue-link a {
	color: #009BDC;
}

.site-header nav .blue-link a:hover {
	color: #0057A3;
}

.site-header .cta-button a {
	color: #fff;
	background-color: #009BDC;
	padding: 16px 22px;
	border-radius: 32px;
	transition: background-color 0.25s;
	letter-spacing: 1.5px;
}

.site-header .cta-button a:hover {
	color: #fff;
	background-color: #0057A3;
}

.site-header nav a:hover {
	text-decoration: none;
	color: #009BDC;
}

.site-header ul {
	display: flex;
	margin: 0;
}

.mobile-menu {
	width: 21px;
	height: 21px;
	position: relative;
	margin: 24px;
}

/* Mobile Menu */

.mobmenu {
	flex: 0 1 24px;
	display: none;
	position: relative;
	overflow: hidden;
	padding: 0;
	width: 23px;
	height: 22px;
	font-size: 0;
	text-indent: -9999px;
	appearance: none;
	box-shadow: none;
	background: none;
	border-radius: none;
	border: none;
	cursor: pointer;
	transition: background 0.3s;
	z-index: 1000;
	margin: 24px 0 24px 20px;
}
.mobmenu:focus {
	outline: none;
}
.mobmenu.is-active span {
	background: none;
}
.mobmenu.is-active span:before {
	top: 0;
	transform: rotate(45deg);
	width: 100%;
}
.mobmenu.is-active span:after {
	bottom: 0;
	transform: rotate(-45deg);
	width: 100%;
}
.mobmenu.is-active span:before, .mobmenu.is-active span:after {
	transition-delay: 0s, 0.3s;
}

.mobmenu span {
		display: block;
		position: absolute;
		top: 10px;
		left: 0px;
		right: 15px;
		height: 2px;
		min-height: 2px;
		max-height: 2px;
		background: #111;
		width: 100%;
		transition-property: all, transform;
		transition-duration: 0.3s, 0.3s;
}
.mobmenu span:before, .mobmenu span:after {
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 2px;
	min-height: 2px;
	max-height: 2px;
	background-color: #111;
	content: "";
	transition-duration: 0.3s, 0.3s;
}
.mobmenu span:before {
	top: -8px;
	width: 100%;
	transition-property: all, transform;
}
.mobmenu span:after {
	bottom: -8px;
	width: 100%;
	transition-property: all, transform;
}

.mobile-menu-wrap {
	position: fixed;
	top: 72px;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 99;
	background: #fff;
	display: none;
	overflow-y: scroll;
}

@media screen and (min-width: 980px) {
	.sub-menu {
		position: absolute;
		padding: 10px;
		margin: 0;
		background: #fff;
		border-radius: 12px;
		width: 200px;
		display: flex;
		flex-direction: column;
		padding: 8px 0;
		left: 0;
		top: 74px;
		visibility: hidden;
		opacity: 0;
		transition: visibility 0.25s, opacity 0.25s;
		-webkit-box-shadow: 0px 0px 20px -10px rgba(0,0,0,0.25);
		box-shadow: 0px 0px 20px -10px rgba(0,0,0,0.25);
	}
	.site-header li:hover .sub-menu {
		opacity: 1;
		visibility: visible;
	}
	.site-header .sub-menu li {
		padding: 0 8px;
	}
	.site-header .sub-menu li a {
		font-family: 'interstateregular';
		padding: 6px 12px 7px;
		display: block;
		letter-spacing: 0;
		text-transform: none;
		width: 100%;
		background-color: transparent;
		color: #555;
		transition: color 0.25s, background-color 0.25s;
		border-radius: 6px;
	}
	.site-header .sub-menu li:hover a {
		background-color: #009BDC;
		color: #fff;
	}
}

@media screen and (max-width: 979px) {
	.menu-secondary-menu-container {
		margin-left: auto;
	}
	.mobile-menu-wrap {
		top: 72px;
	}
	.logged-in .mobile-menu-wrap {
		top: 118px;
	}
	.site-header .mobile-menu-wrap li {
		display: block;
		padding: 0;
		margin: 0;
	}
	.site-header .mobile-menu-wrap ul {
		flex-direction: column;
    	padding: 0;
	}
	.site-header .mobile-menu-wrap li a {
		padding: 16px 20px;
		border-top: 1px solid #eee;
		display: block;
	}
	.site-header .mobile-menu-wrap .sub-menu li a {
		color: #555;
		font-family: 'interstatelight', helvetica, sans-serif;
	}
}

/* Article styles */

.meta {
	font-size: 13px;
	font-family: 'interstateregular';
	letter-spacing: 1px;
	color: #999;
	text-transform: uppercase;
}

.meta .fl-rich-text {
	width: 100%;
}

article .thumbnail-image {
	width: 100%;
	background-size: cover;
	background-position: center;
}

article a p {
	color: #555;
	font-size: 17px;
	line-height: 27px;
	font-family: 'interstatelight';
}

@media screen and (max-width: 767px) {
	article a p {
		font-size: 15px;
		line-height: 25px;
	}
}

/* Small Card */

.small-card {
	padding: 0 20px;
}

.small-card h3 {
	font-size: 20px;
	line-height: 30px;
	color: #333;
	font-family: 'interstateregular';
	margin-top: 10px;
}

.small-card a {
	text-decoration: none;
	outline: none;
}

.small-card a:hover {
	text-decoration: none;
}

.small-card .thumbnail-image {
	height: 240px;
	margin-bottom: 22px;
	border-radius: 5px;
}

@media screen and (max-width: 980px) {
	.small-card {
		padding: 10px 20px;
	}
}

@media screen and (max-width: 767px) {
	.small-card h3 {
		margin-bottom: 6px;
		margin-top: 6px;
	}
}

.fl-rich-text ul, .fl-rich-text ol {
	padding-left: 17px;
}

/* feature Card */

.feature-card {
	padding: 0 20px;
}

.feature-card h3 {
	font-size: 28px;
	line-height: 38px;
	color: #333;
	font-family: 'interstateregular';
	margin-top: 8px;
}

.feature-card a {
	text-decoration: none;
	outline: none;
}

.feature-card a:hover {
	text-decoration: none;
}

.feature-card .thumbnail-image {
	height: 360px;
	margin-bottom: 22px;
	border-radius: 5px;
}

@media screen and (max-width: 767px) {
	.feature-card {
		padding: 10px 20px;
	}
	.feature-card h3 {
		font-size: 24px;
		margin-bottom: 6px;
		margin-top: 6px;
	}
}

/* Members Card */

.member-card {
	padding: 20px;
	width: 480px;
	position: relative;
	align-items: center;
}

.member-card a {
	background: #fff;
	border-radius: 5px;
	-webkit-box-shadow: 0px 0px 80px -55px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 80px -55px rgba(0,0,0,0.5);
	text-decoration: none;
	width: 100%;
	overflow: hidden;
}

.member-card .meta {
	color: #2E99D6;
	letter-spacing: 0;
	text-transform: none;
	font-family: 'interstatebold';
}

.member-card .thumbnail-image {
	width: 50%;
	background-size: cover;
	background-position: center;
}

.member-card .thumbnail-content {
	width: 50%;
	height: auto;
	padding: 22px 24px 20px;
	min-height: 176px;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.member-card h3 {
	font-size: 15px;
	line-height: 21px;
	font-family: 'interstateregular';
	margin: 0 0 8px;
}

/* Testimonial Card */

.testimonial-wrapper {
	justify-content: space-between;
}

.testimonial-item {
	padding: 45px;
	max-width: 430px;
	width: 100%;
	position: relative;
}

.testimonial-card {
	padding: 28px 32px;
	border-radius: 5px;
	background-color: #fff;
	border: 1px solid #F4F4F4;
	-webkit-box-shadow: 0px 0px 80px -55px rgba(0,0,0,0.5); 
	box-shadow: 0px 0px 80px -55px rgba(0,0,0,0.5);
}

.testimonial-card .profile {
	position: absolute;
	top: 12px;
	left: 12px;
	border-radius: 40px;
	width: 64px;
	height: 64px;
	background: #ccc;
	z-index: 99;
	background-position: center;
	background-size: cover;
}

.testimonial-card p {
	color: #111;
	font-family: 'interstateregular';
	font-size: 17px;
	line-height: 24px;
}

.testimonial-card .author {
	font-family: 'interstatelight';
	display: block;
	color: #555555;
}

.testimonial-card .meta {
	color: #2E99D6;
	font-size: 14px;
	line-height: 22px;
	text-transform: none;
	letter-spacing: 0;
	font-family: 'interstatebold';
}

/* Slider Arrows */

.arrows {
	width: 100%;
	justify-content: center;
}

.arrows div {
	width: 44px;
	height: 44px;
	border-radius: 44px;
	background-color: #EBF5FB;
	margin: 0 8px;
	font-size: 0;
	line-height: 0;
	position: relative;
	cursor: pointer;
	transition: background-color 0.25s;
}

.arrows .next {
	transform: rotate(180deg);
}

.arrows div:before, .arrows div:after {
	content:'';
	width: 10px;
    height: 3px;
	right: 18px;
	border-radius: 6px;
	background-color: #123366;
	position: absolute;
	transition: background-color 0.25s;
}

.arrows div:after {
	transform: rotate(45deg);
	bottom:18px;
}

.arrows div:before {
	transform: rotate(-45deg);
	top: 18px;
}

.arrows div:hover {
	background-color: #2E99D6;
}

.arrows div:hover:before, .arrows div:hover:after {
	background-color: #fff;
}

/* Buttons */

.fl-button {
	transition: background-color 0.25s, border 0.25s, color 0.25s;
}

/* Footer */

.footer-menu-wrap ul {
	display: flex;
	justify-content: center;
}

@media screen and (max-width: 767px) {
	.footer-menu-wrap ul {
		flex-direction: column;
		align-items: center;
	}
}

.footer-menu-wrap li {
	margin: 0 16px;
}

.footer-menu-wrap .menu-footer-container a {
	font-family: 'interstatebold';
}

.footer-menu-wrap .menu-footer-container a {
	font-family: 'interstateregular';
	text-decoration: none;
}

/* Pagination styles */

.fl-builder-pagination li a.page-numbers, .fl-builder-pagination li span.page-numbers {
	padding: 0 8px;
	margin:  0;
	border: 0;
	color: #999;
}

@media screen and (max-width: 767px) {
	.fl-builder-pagination, .fl-builder-pagination-load-more {
		padding: 16px 0 36px;
	}
}

/* Gutenberg Reset */

.gb-content h1, .gb-content h2, .gb-content p, .gb-content h3, .gb-content h4, .gb-content h5, .gb-content h6, .gb-content a, .gb-content img, .gb-content ul, .gb-content ol, .gb-content span, .gb-content pre, .gb-content code, .gb-content table, .gb-content iframe, .gb-content script {
	max-width: 620px;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

.gb-content h1, .gb-content h1 strong, .gb-content h1 b {
	font-size: 32px;
	font-family: 'interstatebold';
	font-weight: normal;
}

.gb-content .wp-block-quote cite, .gb-content pre {
	max-width: 620px;
	width: 100%;
	font-size: 14px;
	color: #999;
	font-weight: normal;
	font-family: 'interstatelight';
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	display: inherit;
}

.gb-content .wp-block-quote cite {
	margin-top: -10px;
}

.gb-content h2, .gb-content h2 strong, .gb-content h2 b {
	font-size: 28px;
	font-family: 'interstatebold';
	font-weight: normal;
	color: #111;
}

.gb-content h3 {
	font-size: 24px;
	font-family: 'interstatebold';
	font-weight: normal;
	color: #111;
}

.gb-content h4 {
	font-size: 20px;
	font-family: 'interstatebold';
	font-weight: normal;
	color: #111;
}

.gb-content img {
	width: 100%;
}

.gb-content span, .gb-content a {
	padding: 0;
}

.gb-content b, .gb-content strong {
	font-family: 'interstatebold';
	font-weight: normal;
}

.gb-content ul, .gb-content ol {
	padding-left: 37px;
}

/* Custom Gutenberg Styles */

.wp-block-quote, .wp-block-quote p, blockquote {
	font-size: 26px;
	line-height: 34px;
	color: #111;
	font-family: 'interstatebold';
	border: none;
	margin: 20px auto;
	padding: 0;
}

.wp-block-quote p {
	padding: 0 20px;
}

.wp-block-image {
	max-width: 620px;
    width: 100%;
    height: auto;
    margin: 24px auto;
}

.wp-block-image.alignwide {
	max-width: 840px;
}

.wp-block-image.alignwide img, .wp-block-image.alignfull img {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

.wp-block-image.alignfull {
	max-width: 1440px;
}

.gb-content .blocks-gallery-grid {
	padding: 0 20px;
	max-width: 620px;
}

.gb-content .twitter-tweet, .gb-content .twitter-tweet iframe {
	margin: 0 auto;
}

.gb-content .blocks-gallery-grid img {
	padding: 0;
}

.gb-content .fluid-width-video-wrapper iframe {
	padding: 0;
	margin: 0;
}
	
@media screen and (max-width: 767px) {
	.wp-block-quote, blockquote {
		padding: 0;
	}
	.wp-block-pullquote blockquote {
		padding: 20px;
	}
	.wp-block-quote {
		padding: 20px;
	}
	.wp-block-quote p {
		padding: 0;
	}
	.gb-content ul, .gb-content ol {
		padding-left: 37px;
	}
}

.fl-photo-caption {
	color: #999;
}

.wp-block-pullquote {
	max-width: 620px;
	margin: 32px auto;
	border: 0;
	padding: 0 20px;
}

.wp-block-gallery:not(.components-placeholder) {
	margin: 1.5em auto 0.5em;
}

.wp-block-pullquote blockquote {
	max-width: 840px;
	text-align: left;
	border-radius: 5px;
	background-color: #fff;
	margin: 32px auto;
    border: 1px solid #eee;
    padding: 32px 32px 30px 32px;
	-webkit-box-shadow: 0px 5px 60px -60px #555; 
	box-shadow: 0px 5px 60px -55px #555;
}

.wp-block-pullquote blockquote p {
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	letter-spacing: -0.1px;
	font-weight: normal;
	font-family: 'interstateregular';
	max-width: 840px;
}

.wp-block-pullquote blockquote cite {
	font-size: 14px;
	color: #999;
	margin-top: 20px;
	text-transform: none;
	font-weight: 400;
	font-family: 'interstatelight';
	text-align: center;
	width: 100%;
}

.wp-block-embed {
	max-width: 580px;
    margin: 24px auto;
}

.gb-content iframe {
	max-width: 620px;
	left: 0;
	right: 0;
	margin: 24px auto;
	display: block;
	width: 100%;
	height: auto;
}

/* Subscribe form */

.sub-form input[type="email"] {
	border: 1px solid #ddd;
	padding: 16px 20px;
	border-radius: 40px;
	background: none;
	width: 100%;
	font-size: 18px;
}

.sub-form {
	position: relative;
}

.sub-form input[type="submit"] {
	width: 45px;
    height: 45px;
    background-color: #2E99D6;
    border: 0;
    position: absolute;
    top: 7px;
    right: 7px;
    border-radius: 40px;
	background-image: url(images/right-arrow-white.svg);
	background-size: initial;
	background-position: center center;
	background-repeat: no-repeat;
	transition: background-color 0.25s;
}

.sub-form input[type="submit"]:hover {
	background-color: #111111;
}

/* Custom Email banner area */

.email-scroll-wrap {
	position: relative;
}

.scroll-container, .email-bg-container {
	-webkit-box-shadow: 0px 5px 50px -30px #bbbbbb; 
	box-shadow: 0px 5px 50px -30px #bbbbbb;
	overflow: hidden;
	border-radius: 5px;
	height: auto;
}

.email-bg-container {
	width: 72%; float: right;
}

.fl-button-text {
	font-family: 'interstatebold', sans-serif;
}

@media screen and (max-width: 980px) {
	/*.menu-main-menu-container {
		display: none;
	}*/
	.site-logo {
		width: 80px;
		height: 40px;
		margin: 16px 0;
	}
	.site-header {
		height: 72px;
	}
	.site-header li {
		padding: 10px 16px;
	}
	.site-header li.cta-button {
		padding-right: 0;
	}
	.logged-in .site-header {
		top: 32px;
	}
	.fl-page-content {
		padding-top: 0;
	}
	.fl-page-content {
		margin-top: 72px;
	}
	.logged-in .fl-page-content {
		margin-top: 72px;
	}
}

@media screen and (max-width: 979px) {
	.mobmenu {
		display: block;
	}
	.logged-in .site-header {
		top: 46px;
	}
	.site-header .cta-button a {
		padding: 12px 16px;
		font-size: 14px;
	}
	.member-card {
		width: 320px;
	}
	.member-card a {
		flex-direction: column;
		flex-wrap: wrap;
	}
	.member-card .thumbnail-content, .member-card .thumbnail-image {
		width: 100%;
	}
	.member-card .thumbnail-image {
		height: 120px;
	}
	.member-card .thumbnail-content {
		justify-content: flex-start;
		min-height: 150px;
	}
	.testimonial-item {
		padding: 45px;
		max-width: 340px;
		position: relative;
	}
	.testimonial-card {
		padding: 20px 24px;
	}
	.testimonial-card .profile {
		width: 44px;
		height: 44px;
		top: 22px;
    	left: 22px;
	}
	.testimonial-card p {
		font-size: 15px;
		line-height: 22px;
	}
	.site-header nav li {
		display: none;
	}
	.site-header nav .cta-button {
		display: block;
	}
	.pp-authorbox-wrapper {
		align-items: flex-start !important;
		flex-direction: row-reverse !important;
	}
}

@media screen and (max-width: 540px) {
	.email-bg-container {
		width: 100%;
		float: right;
		margin-top: 18%;
	}
	.scroll-container {
	    width: 80%;
    	margin: 0 10%;
		max-width: 80%;
	}
}

/* Memberful style */

.mf-cont {
	max-width: 640px;
	padding: 50px 20px 80px;
	margin: 0 auto;
}

/* Static Newsletter */

.newsletter-static {
	padding: 50px 0 70px;
	background: #f4f4f4;
	text-align: center;
}

.newsletter-static .cntr {
	max-width: 640px;
	padding: 0 20px;
}

.newsletter-static h2 {
	font-size: 30px;
}

.newsletter-static p {
	margin-bottom: 24px;
}