/*
*Theme Name:     TinySalt Child Theme
*Theme URI: 	 http://tinysalt.loftocean.com/
*Description:    TinySalt child theme for user customization
*Author:         Loft.Ocean
*Author URI:     http://www.loftocean.com
*License: 		 GNU General Public License v2 or later
*License URI: 	 http://www.gnu.org/licenses/gpl-2.0.html
*Tags: 			 full-width-template, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready
*Template:       tinysalt
*Version:        1.1
*/

/** Add your styles below **/


/* Header */
.site-header.site-header-layout-2 .header-section.menu {
	max-width: 100%;
	width: auto;
}

/* --------- START - Mobile */
.sidemenu .close-button {
	right: 32px;
	top: 100px;
}

/* --------- END - Mobile */

ul.social-nav li a[href*=feed]:before {
	content: "\f09e";
}

.site-footer {
	position: relative;
	overflow: hidden;
}

.profile-img {
	height: 200px;
	width: 200px;
	object-fit: cover;
	object-position: center right;
	background-color: #fff;
	padding: 5px;
	border: 2px dashed #4fd675;
}

.widget.tinysalt-widget_posts.bg-thumbnail li a .thumbnail+.post-content, .widget.tinysalt-widget_posts.bg-thumbnail li a .thumbnail+.post-content:before{
	color: #fff;
}
.widget.tinysalt-widget_posts.bg-thumbnail li a .thumbnail{
	opacity: 0.8;
}



a.footer-cr-logo { display: block; }
a.footer-cr-logo img { height: 30px; filter: invert(1); }
.site-footer .site-footer-bottom{ padding: 0; }
.site-footer .widget.widget_text .textwidget {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	line-height: 1;
}
.site-footer .widget.widget_text .textwidget * { margin: 0 0;  line-height: 1; }
.site-footer .widget.widget_text .textwidget a { margin-right: 10px; }
.site-footer .widget.widget_text .textwidget span { margin-left: 5px; }
.site-footer .widget.widget_text .textwidget span.bar {margin: 0 10px; }
.site-footer .widget.widget_text .textwidget br{ display: none; }

@media screen and (max-width: 1024px){
	.site-footer .site-footer-bottom .widget.widget_text { padding: 0 0 10px 0; }
	.site-footer .widget.widget_text .textwidget {
		justify-content: center;
		text-align: center;
	}
}
@media screen and (max-width: 400px){
	.site-footer .widget.widget_text .textwidget br{ display: block; }
	.site-footer .widget.widget_text .textwidget span.bar { display: none; }
}


/* Category PAge */
.page-header-text > span {
	display: none!important;
}

/* About Page */
img.wp-image-13111 {
	filter: invert(1);
}

/* Single Post */
.single .related-posts .related-post .meta-item.post-date {
	display: none;
}
.single .wp-block-image figure {
	text-align: left!important;
	margin: 0 auto 0 0!important;
}

.wprm-recipe.wprm-recipe-template-compact.saved-elem a.wprm-recipe-print, 
.wprm-recipe.wprm-recipe-template-compact.saved-elem .wprm-recipe-block-container.wprm-recipe-block-container-inline.wprm-block-text-normal.wprm-recipe-tag-container.wprm-recipe-course-container, 
.wprm-recipe.wprm-recipe-template-compact.saved-elem .wprm-recipe-summary.wprm-block-text-normal, 
.wprm-recipe.wprm-recipe-template-compact.saved-elem .wprm-recipe-notes-container.wprm-block-text-normal{
	display: none!important;
}
.wprm-recipe.wprm-recipe-template-compact.saved-elem{
	position: absolute;
	left: -2000px;
	min-width: 600px;
}
button.recp-save-btn {
	position: relative;
	z-index: 9;
	display: inline-block;
	padding: 0 20px;
	background-color: #4fd675;
	border: none;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 32px;
	text-align: center;
	transition: .4s;
	cursor: pointer;
}
button.recp-save-btn:hover {
	background-color: #000;
}

.wprm-recipe-image img {
	width: 108px;
}

/* Category page */
.posts .overlay-label.time{
	display: none;
}
.filter-wrapper:not(.filter-wrapper.filter-category) {
	display: none!important;
}
/* Sidebar */
span.meta-item:first-child {
	display: none!Important;
}



/* Popup */
.popup-signup {
	width: 60vw;
	min-height: 400px;
	height: 60vh;
	max-height: calc(100vh - 40px);
	top: calc(50% + 15px);
	left: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	border-radius: 10px;
	visibility: visible;
	opacity: 1;
	transition: all 0s ease 0s;
	display: none;
}
.popup-signup .container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.logged-in.admin-bar .popup-signup .close-button {
	top: 20px;
}
.popup-signup label a{
	font-size: 16px;
}
.widget.widget_mc4wp_form_widget .widget-title{
	line-height: 1.3;
	margin-bottom: 10px;
}


/* Webstory Page */
/* .post-type-archive-web-story img.attachment-full.size-full.wp-post-image{
display: none;
} */

.post-type-archive-web-story .posts-wrapper, 
.post-type-archive-web-story .posts-wrapper *{
	margin: 0;
}
.post-type-archive-web-story .posts-wrapper{
	--col_num: 4;
	--col_gap_x: 24px;
	--col_gap_y: 24px;
	--block_height: 480px;
	display: flex;
	gap: var(--col_gap_y) var(--col_gap_x);
}
.post-type-archive-web-story .web-story{
	width: calc(100% / var(--col_num) - var(--col_gap_x) + var(--col_gap_x) / var(--col_num));
	position: relative;
	overflow: hidden;
	border-radius: 16px;
}
.post-type-archive-web-story .web-story .post-content .post-excerpt{ display: none; }
.post-type-archive-web-story .web-story .featured-img{ 
	height: var(--block_height); 
	position: relative;
	z-index: 6;
	overflow: hidden;
}
.post-type-archive-web-story .web-story .featured-img > a{
	display: block;
	height: 100%;
	width: 100%;
}
.post-type-archive-web-story .web-story .featured-img img.attachment-full{
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: all 1s ease;
}
.post-type-archive-web-story .web-story .post-content{
	position: absolute;
	z-index: 9;
	bottom: -100%;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	left: 0;
	width: 100%;
	padding: 25px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.7);
	transition: all 0.5s ease-in-out;
}
.post-type-archive-web-story .web-story .post-content .post-header, 
.post-type-archive-web-story .web-story .post-content .post-excerpt, 
.post-type-archive-web-story .web-story .post-content .post-footer{
	opacity: 0;
	transition: all 1.2s ease-in-out;
}
.post-type-archive-web-story .web-story .post-content .post-title{
	font-size: 1.3125rem;
}
.post-type-archive-web-story .web-story:hover .post-content{
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	bottom: 0;
}
.post-type-archive-web-story .web-story:hover .post-content .post-header, 
.post-type-archive-web-story .web-story:hover .post-content .post-excerpt, 
.post-type-archive-web-story .web-story:hover .post-content .post-footer{
	opacity: 1;
}
.post-type-archive-web-story .web-story:hover .featured-img img.attachment-full{
	transform: scale(1.06);
	will-change: transform;
}

@media only screen and (max-width: 1140px) {
	.post-type-archive-web-story .posts-wrapper{
		--col_gap_x: 20px;
		--col_gap_y: 20px;
		--block_height: 34vw;
	}
}
@media only screen and (max-width: 991px) {
	.post-type-archive-web-story .posts-wrapper{
		--col_num: 2;
		--block_height: 60vw;
	}
}
@media only screen and (max-width: 480px) {
	.post-type-archive-web-story .posts-wrapper{
		--col_num: 1;
		--block_height: 120vw;
	}

	.post-type-archive-web-story .web-story .post-content{
		bottom: 0;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}
	.post-type-archive-web-story .web-story .post-content .post-header, 
	.post-type-archive-web-story .web-story .post-content .post-excerpt, 
	.post-type-archive-web-story .web-story .post-content .post-footer{
		opacity: 1;
	}
}

@media only screen and (max-width: 1200px) {
	.popup-signup {
		width: calc(100% - 20px);
	}
}
@media only screen and (max-width: 783px) {
	.logged-in.admin-bar .popup-signup .close-button {
		top: 20px;
	}
}
@media only screen and (max-width: 480px) {
	.popup-signup {
		min-height: none;
		height: 60vh;
		max-height: calc(100vh - 150px);
		top: calc(50% + 50px);
	}

	.widget.widget_mc4wp_form_widget .widget-title{
		font-size: 24px;
		line-height: 1.3;
		margin-bottom: 10px;
	}
	.mc4wp-form .fields-container input[type=submit]{
		width: 100%;
		position: static;
		margin-top: 10px;
	}
	.mc4wp-form-fields, .mc4wp-form-fields p {
		line-height: 1.3;
		font-size: 16px;
	}
	.popup-exit {
		display: none;
	}
	.logged-in.admin-bar .popup-signup .close-button {
		top: 20px;
	}
}




/* Mailchimp */
.mc4wp-form .fields-container{
	overflow: visible!important;
	height: auto!important;
}
.mc4wp-form .fields-container > p {
	margin-top: 10px;
}


/* Table */
.lo-tabs .lo-tabs-titles{

}
.dataTables_filter {
	margin-top: 0px;
	margin-bottom: 30px;
	font-size: 0;
	line-height: 0;
	float: none!important;
}
.dataTables_filter label{
	max-width: 100%;
	width: 100%;
	margin: 0 auto 0 auto;
	display: block;
	position: relative;
}
.dataTables_filter input[type="search"] {
	border-radius: 30px;
	height: 40px;
	padding: 5px 24px;
	font-size: 14px;
	margin: 0!important;
	width: 100%;
}
.dataTables_filter label:after{
	content: "\f002";
	font-family: 'FontAwesome';
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	font-size: 18px;
}


/* Ajax Search */
.ajax-search-results {
	position: absolute;
	width: 285px;
	background-color: #fff;
	z-index: 99999;
	border-radius: 10px;
	top: calc(100% + 10px);
	right: 0;
	box-shadow: 0 0 1px rgb(0 0 0 / 30%);
	padding: 20px;
	-webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
	display: none;
}
.ajax-search-results > a {
	width: 100%;
	display: block;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 10px;
	transition: all 0.3s ease-in-out;
	color: #000;
}
.ajax-search-results > a:hover { color: #4FD675; }

@media screen and (max-width: 991px) {
	.ajax-search-results {
		position: static;
		margin-top: 10px;
		width: 100%;
	}
	.search-screen .search {
		position: static;
		width: 100%;
		transform: translate(0, 0);
		padding: 120px 10px 10px 10px;
		max-width: 600px;
	}
	.search-screen form.search-form {
		position: relative;
	}
}


.featured-slider.slider-style-3 .main-slider>.slider, .featured-slider.slider-style-4 .main-slider>.slider{
	opacity: 1!important;
}


/* ================== Responsive */
@media screen and (max-width: 600px){
	.popup-signup {
		min-height: auto;
		max-height: auto;
		height: 400px;
	}
	.mc4wp-form .fields-container input[type=email] {
		padding-right: 15px;
	}
}

.post-type-archive-web-story h1.page-title{
	font-size: 0px!important;
}
.post-type-archive-web-story h1.page-title > span {
	font-size: calc(20px + 2vw)!important;
	display: flex;
	color: #000!important;
}
.post-type-archive-web-story h1.page-title > span:before{
	content: "WEB";
}


/* ========================================================= Custom Post  */
.rel-post-list * {
	margin: 0;
}
.rel-post-list{
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.rel-post-item .row {
	display: flex;
	align-items: center;
	gap: 36px;
	padding: 36px;
	background-color: #FCF9F5;
	border-radius: 10px;
	border: 1px solid #f8eee0;
}
.rel-post-thumbnail > img {
	height: 100%;
	min-height: 200px;
	width: 200px;
	object-fit: cover;
	border-radius: 8px;
}
h2.rel-post-title{
	font-size: 24px;
}
.rel-content {
	flex: 1;
}
.rel-content > h3{
	font-size: 21px;
	margin-bottom: 16px;
	color: #333;
}
a.rel-post-btn {
	padding: 12px 24px;
	display: inline-block;
	text-decoration: none;
	background-color: #000;
	color: #fff!important;
	line-height: 1;
	border-radius: 99px;
	margin-top: 20px;
}

@media only screen and (max-width: 576px) {
	.rel-post-item .row {
		flex-direction: column;
		align-items: normal;
		gap: 24px;
		padding: 20px;
	}
	.rel-post-thumbnail > img {
		height: auto;
		min-height: unset;
		width: 100%;
	}
}