/*
Theme Name: Forex blog
Author: Aivar
Version: 1.0

*/


/*font-family: 'Roboto Slab', serif;
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Montserrat', sans-serif;*/

html, body
{
	padding: 0px;
	margin: 0px;
	font-family: 'Roboto Slab', serif;
	font-size: 15px;
	height: 100%;
}

.wrapper
{
	position: relative;
	min-height: 100%;
}

.header
{
	height: 80px;
	background-color: #14485f;
}

.header_wrapper
{
	max-width: 1200px;
	margin: 0px auto;
	display: flex;
}

.logo img
{
	height: 18px;
	margin-top: 31px;
}

.main_menu
{
	flex: 1;
	text-align: right;
	padding-top: 28px;
}

.main_menu a
{
	font-family: 'Source Sans Pro', sans-serif;
	color: #fff;
	text-decoration: none;
	margin: 0px 10px;
	font-size: 18px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.main_menu a:hover
{
	color: #ec8a00;
}

.search
{
	padding-top: 25px;
	padding-left: 50px;
}

.content
{
	padding-bottom: 500px;
}

.home_banner_wrapper
{
	background-color: #26a6b9;
}

.home_banner
{
	margin: 0px auto;
	max-width: 1200px;
	height: 350px;
	background-image: url(img/home_banner.png);
	background-size: cover;
	background-position: center center;
}

.home_article_grid
{
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0px auto;
	padding: 40px;
	box-sizing: border-box;
	justify-content: space-around;
}

.article_stub
{
	flex: 1;
	max-width: 300px;
	margin-top: 70px;
}

.article_stub a
{
	color: inherit;
	text-decoration: none;
}

.article_thumbnail
{
	width: 300px;
	background-color: #000;
	position: relative;
}

.article_thumbnail img
{
	width: 100%;
	display: block;
}

.article_thumbnail img:hover
{
	opacity: 0.65;
}

.article_stub h3
{
	text-align: center;
	color: #3a2d3b;
	font-size: 17px;
}

.article_stub h3:hover
{
	color: #ec8a00;
	text-decoration: underline;
}

.article_stub p
{
	color: #7a7a7a;
}

.stub_underscore
{
	border: 0.5px solid #CCC;
}

.article_author
{
	font-size: 11px;
}

.date_thingy
{
	position: absolute;
	height: 30px;
	width: 90px;
	top: -15px;
	background-color: #ec8a00;
	left: 5px;
	display: flex;
	color: #FFF;
	font-family: 'Montserrat', sans-serif;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.date_thingy_triangle
{
	position: absolute;
	width: 0;
	height: 0;
	border-bottom: 15px solid #e6a948;
	border-right: 12px solid transparent;
	top: 0px;
	right: -12px;
}

.footer
{
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}

.lookout_pic
{
	text-align: center;
	width: 100%;
	position: absolute;
	top: -194px;
}

.lookout_pic img
{
	width: 100%;
	max-width: 400px;
}

.about_stub
{
	background-color: #26a6b9;
	padding-bottom: 30px;
}

.about_stub h3
{
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	color: #FFF;
	font-size: 15px;
	padding: 30px 0px;
	margin: 0px;
	letter-spacing: 1px;
}

.about_stub p
{
	font-family: 'Source Sans Pro', sans-serif;
	color: #FFF;
	margin: 0px;
}

.about_stub a
{
	font-family: 'Source Sans Pro', sans-serif;
	color: #FFF;
}

.footer_logo
{
	padding-top: 30px;
}

.footer_logo img
{
	width: 160px;
}

.about_wrapper
{
	max-width: 1200px;
	margin: 0px auto;
	display: flex;
}

.about_left
{
	max-width: 50%;
	padding: 0px 10px;
	flex: 1;
}

.social_links a
{
	text-decoration: none;
}

.social_links a img
{
	height: 30px;
	margin: 0px 2px;
	width: 30px;
}

.social_links a img:hover
{
	border-radius: 15px;
	background-color: #FFF;
}

.about_right
{
	max-width: 50%;
	padding: 0px 10px;
	flex: 1;
}

.actual_footer
{
	background-color: #14485f;
	height: 80px;
}

.footer_wrapper
{
	max-width: 1200px;
	margin: 0px auto;
	display: flex;
	align-items: center;
	height: 100%;
	font-family: 'Source Sans Pro', sans-serif;
}

.copyright
{
	flex: 1;
	color: #b5b5b5;
	text-transform: uppercase;
}

.footer_menu
{
	flex: 1;
	text-align: right;
}

.footer_menu a
{
	color: #b5b5b5;
	text-decoration: none;
	padding: 0px 20px 0px 16px;
	border-right: 1px solid #b5b5b5;
}

.footer_menu a:last-child
{
	border: 0;
}

.footer_menu a:hover
{
	color: #FFF;
}

.post_wrapper
{
	max-width: 700px;
	margin: 0px auto;
}

.post_wrapper img
{
	max-width: 100%;
	height: auto;
}

.page_nav
{
	text-align: center;
}

.screen-reader-text
{
	display: none;
}

.nav-links a
{
	background-color: #ec8a00;
	color: #FFF;
	font-family: 'Montserrat', sans-serif;
	padding: 5px 10px;
	text-decoration: none;
}

.nav-links a:hover
{
	background-color: #000;
}

.nav-links span
{
	padding: 5px 10px;
	font-family: 'Montserrat', sans-serif;
}

.nav-links span:hover
{
	background-color: #ededed;
}

.all_posts_button
{
	text-align: center;
}

.all_posts_button a
{
	background-color: #ec8a00;
	color: #FFF;
	text-decoration: none;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 20px;
	padding: 5px 30px;
}

.all_posts_button a:hover
{
 background-color: #000;
}

@media (max-width: 900px)
{
	.header
	{
		height: inherit;
	}

	.header_wrapper
	{
		flex-direction: column;
	}

	.logo
	{
		text-align: center;
	}

	.main_menu
	{
		text-align: center;
	}

	.logo
	{
		padding-left: 0px;
		text-align: center;
	}

	.lookout_pic
	{
		display: none;
	}

	.about_left, .about_right
	{
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.about_wrapper, .footer_wrapper
	{
		flex-direction: column;
	}

	.copyright
	{
		text-align: center;
	}
}
