/*
Theme Name: FolioPress Child
Theme URI: https://www.themehorse.com/themes/foliopress
Author: Theme Horse
Author URI: https://www.themehorse.com/
Template: foliopress
Version: 1.1.4
Text Domain: foliopress-child
*/

.site-content {
	padding: 10px 0 40px;
}

.page-title-wrap {
	padding: 15px 0;
	background-color: #fff;
	border-bottom: none;
}

.page-single-featured-image {
	padding: 15px 0;
	background-color: #f1f1f1;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
	margin-bottom: 0;
	background-color: #f0e6dc;
}

a {
	color: #333;
	text-decoration: underline;
}
 a:focus, a:active, a:hover,
 .site-footer .widget-area a:hover,
 .nav-links a:hover,
 .site-info .copyright a:hover,
 .widget-area a:hover,
 .entry-title a:hover {
	color: #b2aa92;
}

.main-navigation ul li ul li a:hover, .main-navigation ul li ul li:hover > a, .main-navigation ul li.current-menu-item ul li a:hover {
	color: #b2aa92;
}

.back-to-top a {
	background-color: #b2aa92;
	text-decoration: none;
	opacity: 0.6;
	-moz-opacity: 0.6;
	filter: alpha(opacity=60);
}

::selection {
	background: #e2dacf;
	color: #66625f;
}

.h2, h2 {
	font-size: 1.5rem;
}

.main-navigation a:hover, .main-navigation ul li.current-menu-item a, .main-navigation ul li.current_page_ancestor a, .main-navigation ul li.current-menu-ancestor a, .main-navigation ul li.current_page_item a, .main-navigation ul li:hover > a, .entry-meta a:hover, .navbar span.search-toggle:hover  {
	color: #b2aa92;
}

.input-group-prepend .btn-info {
	background-color: #b2aa92;
}
.btn-info:hover {
	background-color: #8d8578;
	border-color: #66625f;
}

.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle {
	background-color: #66625f;
	border-color: #66625f;
}

input[type="reset"], input[type="button"], input[type="submit"] {
	background-color: #b2aa92;
}

.btn-info:not(:disabled):not(.disabled).active:focus, .btn-info:not(:disabled):not(.disabled):active:focus, .show>.btn-info.dropdown-toggle:focus {
	box-shadow: 0 0 0 .2rem rgba(226,218,207,.5);
}

.entry-title::after, .page-title::after, .widget-title::after, .post-grid .entry-title::after {
	background-color: #66625f;
}

ul.related_post li a {
	text-decoration: underline !important;
}

.has-post-thumbnail .entry-wrap:hover .entry-main, .has-post-thumbnail.format-quote .entry-wrap .entry-main {
	opacity: .8;
	-moz-opacity: .8;
	filter: alpha(opacity=80);
}

.home .post-ratings,
.archive .post-ratings {
	/*pointer-events: none;*/
}

.post-ratings {
	margin-bottom: 10px;
}

.wp-pagenavi .current, .wp-pagenavi a:hover {
	background-color: #66625f;
	border-color: #66625f;
}
.wp-pagenavi .pages {
	border: none;
}
.wp-pagenavi .extend {
	border: none;
	padding: 20px 15px;
}

.readmore {
	background-color: #8d8578;
}

.wpcf7 input {
	margin-bottom: 10px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	margin-bottom: 15px;
	height: 0;
	overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.wpcf7-form .legal {
    max-width: 95%;
    background-color: #F2F2F2;
    padding: 15px;
    margin: 15px 0 15px 0;
    border-radius: 10px;
}
.wpcf7-form .legal p {
	margin: 0;
}
.wpcf7 input[type="submit"]:disabled {
    opacity: 0.5;
	cursor: default;
}
.wpcf7 .wpcf7-recaptcha {
	margin-bottom: 15px !important;
	margin-top: 15px !important;
}

.rgg-imagegrid {
	margin-bottom: 20px !important;
}

@media only screen and (max-width: 991px) {
	.has-post-thumbnail .entry-wrap .entry-main .entry-cats {
		margin-bottom: 0;
		text-shadow: 0 1px 2px rgba(0,0,0,0.5);
		color: #fff;
	}
	.post-grid .entry-title::after {
		background-color: #fff;
	}
	.post-ratings {
	}
	.entry-wrap:hover {
		opacity: .7;
		-moz-opacity: .7;
		filter: alpha(opacity=70);
	}	
}

@media only screen and (max-width: 575px) {
	.wp-pagenavi .pages,
	.wp-pagenavi .last {
		display: none;
	}
	.custom-logo {
		max-width: 150px;
	}	
}

.wp_rp_wrap .related_post_title {
 margin: 0  0 10px !important;
}

.wp_rp_wrap img.emoji {
	height: 1em !important;
	width: 1em !important;
}