/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');
:root{
	--primary-color: #887340;
	--secondary-color: #887340;
}
.absolute-footer, .wpcf7-spinner,
.box-blog-post .is-divider, .archive.category .from_the_blog_excerpt, .entry-image .badge,
.widget .is-divider, .post_comments{
	display: none;
}
body{
	font-family: "Playfair", serif;
	font-size: 22px;
}
*{
	box-sizing: border-box;
}
img{
	max-width: 100%;
}	
.col-inner:last-child{
	padding-bottom: 0;
}
a{
	transition: all .25s ease;
}
p:last-child{
	margin-bottom: 0;
}
.nav li a {
	font-weight: 500;
	font-size: 16px;
}
.ss-pd{
	padding-top: 60px !important;
	padding-bottom: 30px !important;
}
.ss-newsletter{
	h2{
		margin-bottom: 0;
		font-size: 56px;
		line-height: 1.1;
		font-weight: 800;
		text-align: center;
	}
	form{
		margin-bottom: 0;
		.wpcf7-submit{
			margin: 0;
		}
	}
}
.form-contact-footer p{
	display: flex;
	gap: 10px;
	input{
		margin-bottom: 0;
	}
	input[type="email"]{
		background-color: transparent;
		padding: 15px;
		border: 0;
		box-shadow: none;
		border-bottom: 1px solid var(--primary-color);
		font-size: 22px;
	}
	.wpcf7-not-valid-tip{
		background-color: #ddd;
		position: absolute;
		bottom: -40px;
	}
	.wpcf7-not-valid-tip:after{
		border-bottom-color: #ddd;
	}
}
.ss-footer{
	font-size: 16px;
	.ul-menu-1{
		padding: 15px 0;
		border-top: 1px solid #737373;
		border-bottom: 1px solid #737373;
		ul{
			margin-bottom: 0;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 15px;
		}
		li{
			list-style-type: none;
			margin: 0;
		}
	}

	a:hover{
		text-decoration: underline;
	}
}
.frame-title{
	h1, h2{
		color: var(--primary-color);
	}
}
.blog-edit{
	.post-title a{
		font-size: 22px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}
	.cat-label{
		color: var(--primary-color);
		opacity: 1;
	}
	.post-author{
		font-size: 16px;
	}
}
.blog-popular{
	.box-vertical{
		display: flex;
		align-items: center;
		flex-direction: row-reverse;
	}
	.box-text.text-left {
		padding: 0;
		padding-right: 20px;
	}
	.post-author{
		display: none;
	}
	.post-title a{
		font-size: 16px;
	}
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content{
	max-width: 500px;
	width: 100%;
}
.ss-blog-vertical{
	.is-selected .box-vertical{
		display: flex;
		align-items: center;
		flex-direction: row-reverse;
	}
	.is-selected .box-text{
		padding: 0;
		padding-right: 20px;
		padding-left: 5%;
		.blog-post-inner{
			width: 40%;
			margin: 0;
		}
	}
	.col.post-item {
		width: 90%;
		margin: auto !important;
	}
	.is-selected .box-image{
		width: 25% !important;
	}
	.is-selected{
		.cat-label{
			font-size: 20px;
			color: var(--primary-color);
			font-weight: 600;
		}
	}
	.post-title a{
		font-size: 32px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
	.is-link {
		margin-top: 0;
		color: #acacac;
		font-size: 14px;
		border-left: 1px solid #fff !important;
		border-right: 1px solid #fff !important;
		padding: 0px 20px !important;
	}
}
.ss-blog--cat{
	.post-title a{
		min-height: 88px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
	.col.post-item:not(:first-child){
		.box-normal{
			display: flex;
			align-items: center;
			.box-image{
				display: block;
				width: 160px;
			}
			.box-text-inner{
				text-align: left;
			}
			.post-title a{
				font-size: 18px;
				min-height: unset;
			}
			.post-meta, .post-author{
				display: none;
			}
			.box-text{
				padding: 10px;
			}
		}
	}
	a.button {
		font-size: 16px;
		border-left: 1px solid var(--primary-color) !important;
		border-right: 1px solid var(--primary-color) !important;
		line-height: 1;
		padding: 0px 20px;
		min-height: unset;
	}
}
.box-text-inner .post-author{
	font-size: 16px;
}
.archive.category{
	.post-date-full{
		font-size: .8em;
		color: #000;
		opacity: 0.8;
	}
	.post-title a{
		font-size: 22px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
}
.nav-pagination{
	li a, li span{
		font-size: 22px;
		color: gray !important;
		background: transparent !important;
		border: 0;
		box-shadow: none;
		opacity: 0.8;
		width: unset;
		height: unset;
		min-width: unset;
		padding: 5px;
	}
	li:hover{
		span, a{
			color: #000 !important;
		}
	}
	li span.current{
		color: #000 !important;
	}
}
.page-wrapper.blog-archive {
	padding-bottom: 0;
}
.entry-author .flex-row {
	align-items: center !important;
}
.entry-author{
	background-color: #000;
	padding: 15px;
	border-radius: 8px;
	color: #fff;
	h5{
		color: #fff;
		padding: 0;
	}
	.author-desc{
		font-size: 18px;
	}
}
.post.type-post {
	margin: 0;
}
span.widget-title {
	display: block;
	text-align: center;
	color: var(--primary-color);
	font-size: 28px;
}
.recent-blog-posts-li a{
	font-size: 18px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	padding-right: 15px;
}
.recent-blog-posts-li .recent-blog-posts{
	align-items: center !important;
	flex-direction: row-reverse;
	.badge.post-date{
		width: 80px;
		height: 80px;
	}
}
.mt-3{
	margin-top: 30px;
}
.widget_media_image {
	text-align: center;
}
.line-break p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	b{
		width: 100%;
		height: 1px;
		background-color: #000;
	}
	i{
		flex-shrink: 0;
	}
}
.ss-about-v2, .ss-aboutus{
	p{
		font-size: 18px;
	}
}
.ss-contact{
	input, textarea{
		box-shadow: none !important;
		min-height: 40px;
		border-radius: 8px;
		font-size: 18px;
	}
}
textarea{
	resize: vertical;
	min-height: 100px !important;
}


@media(max-width: 1024px){
	.ss-blog--cat{
		.col.post-item:not(:first-child){
			display: none;
		}
		.post-title a {
			min-height: 78px;
			font-size: 20px;
		}
	}
	.ss-blog-vertical {
		& .is-selected .box-text {
			width: 80% !important;
			.blog-post-inner {
				width: 75%;
			}
		}
		.is-selected .box-image {
			width: 35% !important;
		}
	}
	.blog-popular {
		.post-title a {
			font-size: 20px;
		}
	}
	.ss-newsletter {
		h2 {
			font-size: 46px;
		}
	}
	.ss-footer {
		.ul-menu-1 {
			ul {
				display: grid;
				grid-template-columns: 1fr 1fr;
			}
		}
	}
}
@media(max-width: 580px){
	.ss-blog-vertical {
		.col.post-item {
			width: 100%;
		}
		.box-vertical {
			display: flex;
			align-items: center;
			flex-direction: row-reverse;
		}
		.post-item:not(.is-selected) .box-image {
			width: 40% !important;
		}
		.is-selected .box-image {
			width: 40% !important;
		}
		.blog-post-inner {
			width: 100% !important;
		}
		.post-title a {
			font-size: 20px !important;
		}
		.cat-label, .post-author {
			font-size: 16px !important;
		}
		.box-text {
			padding: 0 !important;
			padding-right: 20px !important;
		}
	}
	.blog-popular {
		.box-vertical .box-image {
			width: 50% !important;
		}
	}
	.ss-pd {
		padding-top: 30px !important;
		padding-bottom: 0 !important;
	}
	.ss-footer {
		p{
			text-align: center;
		}
		.social-icons{
			text-align: center;
		}
	}
}