/* --------------

Theme name: Cuisine
Author: Lucid Themes
Version: 1.2
Last change: 29/06/2022

-------------- */


/* ---------------------------------------------------------- */
/* ---------------------- Main Styling ---------------------- */
/* ---------------------------------------------------------- */

/* ------- Contents -------

	- 1) General
	- 2) Header
	- 3) Footer
	- 4) Text content
	- 5) Gutenberg blocks
	- 6) Sidebar
	- 7) Home page
	- 8) Post listing
	- 9) Single post
	- 10) Recipe card
	- 11) Search page
	- 12) Contact page
	
 ------------------------------------ */


/* --- 1) General --- */

	body{direction:rtl;unicode-bidi:embed;}
	
	.next-slide-btn{right:auto;left:0;padding-left:0;}
	.next-slide-btn.fa-angle-right:before{content:"\f104";}
	.previous-slide-btn{right:0;left:auto;padding-left:4px;}
	.previous-slide-btn.fa-angle-left:before{content:"\f105";}


/* --- 2) Header --- */

	#header-search{float:right;}
	#header-search #submit-button{float:right;}
	#header-search .fa{transform:scaleX(-1);-webkit-transform:scaleX(-1);}
	#header-search input[type=text]{float:left;}

	.header-social{float:left;}
	.header-social li{float:right;transform:scaleX(-1);-webkit-transform:scaleX(-1);}
	.header-social li:first-child{margin-right:0;}
	.header-social li:last-child{margin-right:20px;}

	.menu > li.menu-item-has-children a,.menu > ul > .page_item.page_item_has_children a{margin-left:5px;margin-right:15px;}
	.menu > li.menu-item-has-children:after, .menu > ul > .page_item.page_item_has_children:after{margin-left:10px;margin-right:0;}

	.menu .sub-menu,.menu .children{right:0;left:auto;}
	.menu .sub-menu li a,.menu .children li a{text-align:right;margin-left:20px;margin-right:0;}
	.sub-menu .sub-second-tier,#nav-ul li ul li ul{right:210px;left:auto;}
	
	.header-style-2 #site-logo,
	.header-style-2 #site-logo img{float:right;}
	#header-2-right{float:left;}
	#header-2-right .header-social{float:left;}
	#header-2-right #header-search{float:left;margin-left:0;margin-right:25px;}


/* --- 3) Footer --- */

	#footer-instagram #sb_instagram #sbi_images .sbi_item{float:right;}
	#sb_instagram .sbi_follow_btn .fa, #sb_instagram .sbi_follow_btn svg{margin-left:7px;margin-right:0;}
	.sbi-screenreader{display:none!important;}
	
	#footer-social li a span{margin-right:10px;margin-left:0;}
	#footer-social li a *[class*="fa-"]{transform:scaleX(-1);-webkit-transform:scaleX(-1);}

	@media (min-width: 992px){

		#footer-bottom-nav-ul{float:right;}
		#footer-bottom-nav-ul li{float:right;}
		#footer-bottom-nav-ul li:first-child{margin-left:25px;}
		#footer-bottom-nav-ul li:last-child{margin-left:0;}
		#footer-bottom.footer-bottom-menu-shown #footer-copyright{float:left;}

	}
	
	@media (min-width: 767px){
	
		.footer-widget-sidebar{float:right;}
	
	}
	

/* --- 4) Text content --- */

	.page-content blockquote{border-right:2px solid #95b5ac;border-left:0;padding-right:20px;margin-right:0;}

	.page-content ul{text-align:right;}
	.page-content > ul{text-align:right;margin-right:16px;margin-left:0;}
	.page-content > ol{padding-right:15px;padding-left:0px;}

	.page-content table th,
	.page-content table th a,
	.page-content table td{text-align:right;}

	.wp-caption{text-align:right;}


/* --- 5) Gutenberg blocks --- */

	.wp-block-quote:not(.is-large):not(.is-style-large){border-right:2px solid #95b5ac;border-left:0;padding-right:20px;}

	.wp-block-pullquote{text-align:right;padding:10px 80px 30px 40px;}
	.wp-block-pullquote p:before{left:auto;right:-45px;-webkit-transform:scaleX(-1);transform:scaleX(-1);}
	
	@media (max-width: 767px){
	
		.wp-block-pullquote{padding:10px 25px 30px 0px;}
	
	}
	
	.wp-block-tag-cloud{text-align:right;}
	
	.wp-block-search .wp-block-search__input{float:right;}
	.wp-block-search .wp-block-search__button{margin:0;}

	.wp-block-calendar .wp-calendar-nav .wp-calendar-nav-prev{float:right;}
	
	.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 25px;}
	
	.wc-block-components-checkbox-list{text-align:right!important;}
	
	@media (min-width: 1650px){
	
		.hidden-sidebar .page-content .alignwide{width:calc(100% + 300px);max-width:calc(100% + 300px);margin-left:0;margin-right:-150px;}
	
	}
	
	@media (max-width: 1650px) and (min-width: 1440px){
	
		.hidden-sidebar .page-content .alignwide{width:calc(100% + 150px);max-width:calc(100% + 150px);margin-left:0;margin-right:-75px;}
	
	}


/* --- 6) Sidebar --- */

	.widget_cuisine_about_widget,
	.widget_cuisine_about_widget .about-widget-center,
	.widget_cuisine_about_widget h4,
	.widget_cuisine_about_widget .page-content{text-align:right!important;}

	.widget_cuisine_posts_widget .col-xlarge-5,.widget_cuisine_recipes_widget .col-xlarge-5{float:right;}
	.widget_cuisine_posts_widget .row [class*=col-]:last-child,.widget_cuisine_recipes_widget .row [class*=col-]:last-child{padding-left:15px;padding-right:0px;}
	.widget_cuisine_posts_col_right{text-align:right;}

	.widget-social-icons{text-align:right;}
	.widget-social-icons li:first-child a{margin-left:25px;}
	.widget-social-icons li:last-child a{margin-left:0;}

	.widget_tag_cloud .tagcloud{text-align:right;}
	.sidebar-widget .tagcloud a{margin:0 0 10px 7px;}

	.sidebar-widget .cat-item a,
	.sidebar-widget .page_item a,
	.widget_archive li a,
	.widget_meta li a,
	.widget_recent_comments li,
	.widget_text .textwidget,
	.widget_rss li,
	.widget_categories .cat-item,
	.widget_archive li{text-align:right;}

	.widget_nav_menu .menu li,.widget_nav_menu .menu > li > a{text-align:right;}
	.widget_nav_menu .menu > li > a{margin-right:0;}


/* --- 7) Home page --- */

	/* -- Featured section -- */

	.featured-content-area{direction:rtl;}
	
	.featured-align-left,.featured-align-right{text-align:right;}
	
	@media (min-width: 992px){
	
		.featured-split *[class*="col-"]{float:right;}
	
	}
	
	
	/* -- Promo boxes -- */

	.promo-box-section *[class*="col-"]{float:right;}
	
	.promo-inside-center{margin-left:0;}
	

	/* -- Newsletter -- */
	
	@media (min-width: 992px){
	
		.page-newsletter .page-newsletter-text{float:right;text-align:right;}
		.page-newsletter .page-newsletter-form{float:left;text-align:right;}
		.page-newsletter input[type=email],.page-newsletter input[type=text]{float:right;margin-left:25px;margin-right:0;}
		.page-newsletter input[type=submit]{float:left;}
		
	}


/* --- 8) Post listing --- */

	.post-list-item .post-item-left,.post-list-item .post-item-center{text-align:right;}
	.post-list-item.small-post-list-item .col-xlarge-5{float:right;}

	
	/* -- entry list recipe times -- */

	.recipe-post-list .recipe-list-item-times li .fa{float:left;margin-top:2px;}
	.recipe-post-list .recipe-list-item-times li span{float:right;margin-left:5px;}

	
	/* -- entry list recipe taxonomy -- */
	
	.recipe-taxonomy-list *[class*="col-"]{float:right;}
	
	
	/* -- entry list recipe category -- */

	.category-post-list-heading h2{float:right;}
	.category-post-list-heading .view-more{float:left;}
	.category-post-list *[class*="col-"]{float:right;}


/* --- 9) Single post --- */

	.single-post-title{text-align:right;}
	.single-post-title .post-categories,.single-post-title .single-post-top-meta{display:flex;justify-content:flex-start;}
	.single-post-title .post-categories li:before,.single-post-title .single-post-top-meta span:before{float:right;}

	.post-tags{float:right;}
	.post-tags a{margin:0 0 7px 7px;}
	.single-post-meta .post-share{float:left;}
	.post-share .social-item:first-child{margin-left:20px;}
	.post-share .social-item:last-child{margin-left:0;}

	.author-image{float:right;margin-left:25px;margin-right:0;}
	.post-author-content{float:right;}
	.post-author-content .widget-social-icons{text-align:right;}

	.post-related-posts  *[class*="col-"]{float:right;}
	.post-related-posts .post-list-item{text-align:right;}
	.post-related-posts .post-list-item-meta{text-align:right;display:inline-block;}
		
	.comment-main-left{float:right;}
	.comment-main-right:not(.comment-main-image-hidden){float:right;}
	.comment-main-content .reply,#cancel-comment-reply-link{right:auto;left:0;}
	@media (min-width: 992px){
		.post-comments-area .comment-form .col-xlarge-4{float:right;}
	}

	.single-post-main #post-nav-prev{float:right;text-align:right;}
	.single-post-main #post-nav-prev h3{text-align:right;}
	.single-post-main #post-nav-prev .fa{margin-left:10px;margin-right:0;}
	.single-post-main #post-nav-prev .fa:before{content:"\f105";}
	.single-post-main #post-nav-next{float:left;text-align:left;}
	.single-post-main #post-nav-next h3{text-align:left;}
	.single-post-main #post-nav-next .fa{margin-left:0;margin-right:5px;}
	.single-post-main #post-nav-next .fa:before{content:"\f104";}


	/* -- single post recipe info -- */

	.single-recipe-info .col-xlarge-3{float:right;}
	.single-recipe-info p .fa{float:left;margin-top:2px;}
	.single-recipe-info p  span{float:right;}


/* --- 10) Recipe card --- */

	.cuisine-recipe-card .cuisine-recipe-details .col-xlarge-8{float:right!important;}
	.cuisine-recipe-card .cuisine-recipe-details .col-xlarge-4{float:left!important;}

	.recipe-list-item-times li{margin-left:15px;margin-right:0;}
	.cuisine-recipe-details .recipe-list-item-times li .fa{float:right;margin-top:2px;margin-left:5px;margin-right:0;}
	.cuisine-recipe-details .recipe-list-item-times li span{float:right;margin-left:5px;}

	#recipe-card-print-options ul li{padding:7px 30px 7px 0!important;text-align:right;}

	.recipe-card-list li{padding:12px 30px 12px 0!important;}
	.recipe-card-list li:before{right:0;left:auto;}

	.recipe-instruction-num{float:right;padding-left:7px;padding-right:0;}

	
/* --- 11) Search page --- */
	
	.search-results-intro .search-form .search-field{float:right;}
	.search-results-intro .search-form .search-submit{margin-right:25px;margin-left:0;}
	
	
/* --- 12) Contact page --- */

	.contact-form,.input-field,.input-textarea,.input-field::placeholder,.input-textarea::placeholder{text-align:right;}
	.contact-form .col-xlarge-4{float:right;}
	.contact-form .primary-button{float:right;}
	.contact-form div.wpcf7 .ajax-loader{float:right;margin:40px 4px 0 0;}


/* ---------------------------------------------------------- */
/* ------------------- Responsive Styling ------------------- */
/* ---------------------------------------------------------- */

/* ------- RESPONSIVE CSS CONTENTS ------- 

	- 1) Mobile + Tablet (991px and below)
	
	- 2) Tablet only (991px - 768px)
	
	- 3) Mobile only (767px and below)
	
 ------------------------------------ */
 

/* --- 1) mobile + tablet styles --- */
@media (max-width: 991px){

	/* -- header -- */
	
	#site-logo{right:0;left:auto;}
	
	#mobile-nav-button{left:0;right:auto;}
	
	#header-nav{left:-250px;right:auto;box-shadow:-5px 0 20px -3px rgba(117, 117, 117, 0.25);-webkit-box-shadow:-5px 0 20px -3px rgba(117, 117, 117, 0.25);}
	#header-nav .menu-item > a,#header-nav .page_item > a{text-align:right;padding-right:15px;padding-left:0;}
	.menu-item-has-children .sub-drop-icon,.page_item_has_children .sub-drop-icon{left:15px;right:auto;margin-left:0;margin-right:5px;}
	
	#header-nav.menu-active{left:0;right:auto;}
	#header-nav,#main-content,#site-header-inner,#site-footer{-webkit-transition:left 0.3s ease;-moz-transition:left 0.3s ease;transition:left 0.3s ease;}
	#site-header-inner.menu-active,#main-content.menu-active,#site-footer.menu-active{left:250px;right:auto;}
	#main-content,#site-header-inner,#site-footer{left:0;right:auto;}
	
	
	/* -- Footer -- */
	
	#footer-bottom-nav-ul li:first-child{margin-left:25px;}
	#footer-bottom-nav-ul li:last-child{margin-left:0;}
	
	
	/* -- Home page -- */
	
	.page-newsletter input[type=email],.page-newsletter input[type=text]{margin-right:0;}
	
}


/* --- 2) tablet only --- */
@media (max-width: 991px) and (min-width:768px){

	/* -- Sidebar -- */
	
	.widget_cuisine_posts_widget .row [class*=col-]:last-child, .widget_cuisine_recipes_widget .row [class*=col-]:last-child {padding-right:15px;}

}


/* --- 3) mobile only --- */
@media (max-width:767px){

	/* -- header -- */
	
	#header-nav,body.boxed #header-nav{left:-75%;}
	#site-header-inner.menu-active,#main-content.menu-active,#site-footer.menu-active{left:75%;}
	
	
	/* -- Gutenberg blocks -- */
	
	.wp-block-pullquote{padding:10px 20px 30px 0;}
	
	
	/* -- Contact page -- */
	
	.contact-form .col-xlarge-4{float:none;}
	
}