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

*/


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;
}

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

.logo img
{
	height: 28px;
	margin-top: 26px;
}

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

.main_menu a
{
	font-family: 'Source Sans Pro', sans-serif;
	color: #3c2e3d;
	text-decoration: none;
	margin: 0px 10px;
	display: inline-block;
}

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

.search
{
	margin-top: 25px;
	margin-left: 50px;
	position: relative;
	display: none;
}

.search input
{
	font-family: 'Source Sans Pro', sans-serif;
	color: #3c2e3d;
	font-size: 14px;
	padding: 0px 30px 0px 8px;
	width: 130px;
	background: url(img/magnifying-glass-browser.svg) no-repeat scroll right 7px center;
	border: 1px solid #C5C5C5;
	height: 28px;
	background-size: 18px;
}

.transparent_search_trigger
{
	height: 28px;
	width: 32px;
	position: absolute;
	top: 1px;
	right: 1px;
	cursor: pointer;
}

.transparent_search_trigger:hover
{
	background-color: #FFF;
	opacity: 0.5;
}

.content
{
	padding-bottom: 500px;
}

.big_central_banner
{
	height: 450px;
	background-image: url(img/home-banner.jpg);
	background-size: cover;
	background-position: center center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.article_rotator
{
	max-width: 400px;
	position: relative;
	top: 70px;
}

.article_in_rotator
{
	text-align: center;
	display: none;
}

.article_rotator a
{
	color: #3c2e3d;
	font-family: 'Source Sans Pro', sans-serif;
}

.article_in_rotator h1
{
	font-size: 25px;
	font-weight: 400;
}

.article_in_rotator h1:before, .article_in_rotator h1:after
{
	content: '"';
}

.active_ar
{
	display: block;
}

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

.rotator_controls
{
	text-align: center;
	margin: 0px auto;
}

.rotator_dot
{
	background-color: #DDD;
	height: 15px;
	width: 15px;
	border-radius: 10px;
	display: inline-block;
	cursor: pointer;
}

.rotator_dot > div
{
	display: flex;
	height: 15px;
	width: 15px;
	align-items: center;
	justify-content: center;
}

.rotator_inner_dot
{
	background-color: #3c2e3d;
	height: 10px;
	width: 10px;
	border-radius: 5px;
	display: none;
}

.active_rid
{
	display: block;
}

.social_media_links
{
	position: absolute;
	right: 0;
	top: 0;
}

.social_media_links a
{
	display: block;
	height: 40px;
	width: 40px;
	background-color: #169774;
	padding: 8px;
	box-sizing: border-box;
	margin-top: 2px;
}

.social_media_links a:hover
{
	background-color: #85efd2;
}

.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 0 auto;
	max-width: 300px;
	margin-top: 70px;
}

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

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

.article_thumbnail img
{
	width: 100%;
	height: auto;
}

.article_thumbnail img:hover
{
	opacity: 0.65;
}

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

.article_stub h3:hover
{
	color: #169774;
	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: #fed38e;
	left: 5px;
	display: flex;
	color: #FFF;
	font-family: 'Montserrat', sans-serif;
	align-items: center;
	z-index: 10;
}

.date_thingy img
{
	width: 11px;
	padding: 3px 7px 0px;
}

.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;
}

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

.forks_and_stuff img
{
	width: 100%;
	max-width: 600px;
}

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

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

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

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

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

.about_left
{
	max-width: 50%;
}

.actual_footer
{
	background-color: #372a38;
	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: #d1ccd3;
	text-transform: uppercase;
}

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

.footer_menu a
{
	color: #d1ccd3;
	text-decoration: none;
	padding: 0px 10px 0px 6px;
	border-right: 1px solid #d1ccd3;
	display: inline-block;
}

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

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

.contact_page_wrapper
{
	margin: 0px auto;
	max-width: 1200px;
}

#contact_form
{

}

#contact_form h3
{
	margin: 20px 0px 0px;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#contact_form input
{
	font-family: 'Source Sans Pro', sans-serif;
	padding: 5px;
	min-width: 200px;
	border: 1px solid #169774;
	font-size: 18px;
}

#contact_form textarea
{
	font-family: 'Source Sans Pro', sans-serif;
	padding: 5px;
	width: 50%;
	min-width: 200px;
	height: 100px;
	border: 1px solid #169774;
	font-size: 18px;
}

#contact_form button
{
	border: 0;
	background-color: #fed38e;
	color: #FFF;
	text-transform: uppercase;
	font-size: 22px;
	margin-top: 20px;
	padding: 5px 20px;
	cursor: pointer;
}

#contact_form button:hover
{
	background-color: #169774;
}

#contact_error
{
	color: #F00;
}

.g-recaptcha
{
	margin-top: 25px;
}

.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: #169774;
	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;
}

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

	.header_wrapper
	{
		flex-direction: column;
	}

	.logo
	{
		text-align: center;
	}

	.main_menu
	{
		text-align: center;
	}

	.search
	{
		margin: 0px;
		padding: 25px 0px;
		text-align: center;
	}

	.about_left
	{
		max-width: 100%;
	}

	.footer_wrapper
	{
		flex-direction: column;
	}

	.copyright
	{
		text-align: center;
	}

	.social_media_links
	{
		width: 100%;
		text-align: center;
	}

	.social_media_links a
	{
		display: inline-block;
	}

	.forks_and_stuff
	{
		display: none;
	}
}
