/*
Theme Name: TemplateMela
Description: Adds support for languages written in a Right To Left (RTL) direction.
It's easy, just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
See http://codex.wordpress.org/Right_to_Left_Language_Support
*/
body {
	direction: rtl;
	unicode-bidi: embed;
}
/*=============== Float Left ===============*/
ul.products.list .woocommerce-product-details__short-description{float:left;}
.header-menu,.header_right,.header-search,.topbar-right,.header-search #searchform .search-submit,
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, 
.woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary, 
.header_login, .header_cart,.footer-block .follow-us, 
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering,
.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, 
.woocommerce .woocommerce-message .button, .woocommerce-page .woocommerce-error .button, 
.woocommerce-page .woocommerce-info .button, .woocommerce-page .woocommerce-message .button
{float:left;}
.woocommerce-MyAccount-navigation{float:right; margin:0 0 0 30px;}
.woocommerce-MyAccount-navigation ul li a:before {float:left;text-align:left;margin: 0  0.53em 0 0;}
.breadcrumbs,#breadcrumbs, .woocommerce .woocommerce-breadcrumb, .woocommerce-page .woocommerce-breadcrumb {clear:both;}
/*=============== Float Right ===============*/
.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, 
.two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth,.header_left,.mega-menu ul li,
.topbar-left,#searchform input[type="text"],.page-title .entry-title-main,
ul.products.list li.product img,.woocommerce #content div.product div.images, 
.woocommerce div.product div.images, .woocommerce-page #content div.product div.images, 
.woocommerce-page div.product div.images,.staff-page .staff-image,.staff-content,
.woocommerce #content div.product form.cart .button, 
.woocommerce div.product form.cart .button, .woocommerce-page #content div.product form.cart .button, 
.woocommerce-page div.product form.cart .button,.woocommerce #content div.product form.cart div.quantity, 
.woocommerce div.product form.cart div.quantity, .woocommerce-page #content div.product form.cart div.quantity, 
.woocommerce-page div.product form.cart div.quantity,.header-menu-links, .header_middle,.header-contactus,.footer-block h3, .footer-widget, .gridlist-toggle a, .gridlist-toggle, .woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count, .woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .header-contactus .contact-phone,.list-view .entry-header .entry-meta
{float:right;}
 .staff-page .staff-image, .staff-content,article .single-team .staff-image{float:inherit !important}
.menu-category ul li ul li{padding: 6px 15px 7px 5px;}
.product-categories .children{border-radius:5px 0 0 5px;}
.header_banner li {
    border-left: 1px solid #c3c3c3;
    border-right: medium none;
	}
.header_banner li.shipping{
	background-position:right -3px;
	margin-left: 0;
	margin-right: 0;
}
.header_banner li:first-child {
	border-left: none;
}
.header_banner li.Money{background-position:right -88px;}
.header_banner li.Offer:hover{background-position:right -218px;}
.header_banner li.Offer{
	background-position: 85px -173px;
	margin-left: 0;
	padding-left: 0;
	padding-right: 30px;
}
.header_banner li {
    margin-left: 10px;
    padding-left: 10px;
    padding-right: 46px;
}
.mega-menu {
    right: auto;
    left:0;
}
.vc_message_box-icon{
right:0!important;
}
.vc_message_box{
padding: 1em 4em 1em 1em !important;
}
.vc_chart .vc_chart-legend li{margin:auto 1em 0.3em 0 !important}
.vc_chart .vc_chart-legend span{margin: auto 0 auto 0.5em !important;}
html, body, div, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,option,select, blockquote, pre, a, abbr, acronym, address, big, cite,button, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,a.button,.tabs_tab,.entry-date .day,small,.vc_pie_chart_value,.woocommerce-breadcrumb span,.entry-date .month ,.pricing_top .pricing_per,.pricing_wrapper_inner .pricing_heading,.pricing_top .pricing_price,.woocommerce-info,.woocommerce-Price-currencySymbol,bdi,.contact-phone,input,input::placeholder,textarea,textarea::placeholder{font-family:'IRANSans-fa',IRANSans!important; letter-spacing:-0.05em !important;direction:rtl}
.woocommerce-Price-currencySymbol{margin-right: 0.2em;}
.menu-category .cat-bullet{float:left;}
.cmstext .icon {padding:0 0 0 8px;}
.menu-container ul li {float:right; background-position:left 0;}
.header-menu-links li{background-position:right center;}
.header-menu-links li:first-child{padding-left:10px;}
.footer-block .newsletter.newsletter-widget {float:right; margin:8px 20px 8px 0;}
.site-footer a { background-position:right center; }
.static-links-list a {padding:0 12px 0 0;}
.site-footer a:hover {background-position:right center;}
.footer-menu-links a, .footer-menu-links a:hover {padding:0;}
.footer-menu ul li, .footer-menu-links ul li {background-position:right center;}
.footer-menu ul li:first-child, .footer-menu-links ul li:first-child {padding-left:13px;}
.mega-menu ul li.menu-item-has-children a { padding:12px 15px 12px 30px;}
.mega-menu ul li a .dc-mega-icon:before {right:auto; left:12px;}
.mega-menu ul li .sub a { padding:7px 5px 7px 10px; text-align:right;}
.mega-menu ul li {background-position:left 0;}
.mega-menu ul li .sub li.mega-hdr {float:right;}
.header_cart .cart .widget_shopping_cart{right:auto;left:0;}
.menu-category ul li.cat-parent {background:url("images/megnor/menu_arrow_rtl.png") no-repeat scroll 6% center #f6f6f6;}
.menu-category ul li.cat-parent:hover {background:url("images/megnor/cate_arrow_hover_rtl.png") no-repeat scroll 0 center #f6f6f6;}
.page-template-blog-list .left-sidebar .menu-category ul li ul li a{background:url("images/megnor/cat_arrow.png") no-repeat scroll 0 center transparent;padding-left: 12px;}
.page-template-blog-list .left-sidebar .menu-category ul li.cat-parent{background:url("images/megnor/menu_arrow.png") no-repeat scroll 97% center #f6f6f6 !important;text-align: left;}
.page-template-blog-list .left-sidebar .menu-category ul li{text-align: left !important;}
.page-template-blog-list .left-sidebar .menu-category ul li a{padding: 0 0 0 10px;}
.menu-category ul li a { padding:0 10px 0 0;}
.search-form .search-submit, .widget_product_search #searchsubmit, .header-search #searchform #searchsubmit {margin:0 9px 0 0;}
.mega-menu li.main-li:first-child a{background:url("images/megnor/menu_separator.png") no-repeat scroll 0 18px transparent;padding-left:20px;}
.mega-menu li.main-li:last-child a{background:none;}
.mega-menu ul li .sub a{text-align:right;}
.mega-menu ul li .sub li.mega-hdr{float:right;}
.category-toolbar, .woocommerce #content div.product, .woocommerce div.product, .woocommerce-page #content div.product, .woocommerce-page div.product  {clear:both;}
.quantity input.minus {border-radius:0 3px 3px 0;}
.quantity input.plus {border-radius:3px 0 0 3px;}
.single_add_to_cart_button  {margin-right:10px;}
.widget .widget-title{  padding: 6px 0 6px 11px;}
.header_cart .togg #shopping_cart{background-position:130px -98px;padding:10px 53px 10px 0px;}
.header_cart .shopping_cart .cart-contents .woocommerce-Price-amount.amount {
	display: inline-block;
	vertical-align: top;
	min-width: 58px;
	text-align: center;
}
.header_cart .togg #shopping_cart:hover{background-position:130px -44px;}
.header_cart .top-arrow {left:28px; right:auto;}
.header-menu, .main-navigation {border-right:none; border-left:1px solid #cbcaca; border-radius:0px 5px 5px 5px;}
.header_cart .togg .widget.widget_shopping_cart {right:auto; left:0;text-align:right;}
.menu-category ul li ul li a{background:url("images/megnor/cat_arrow_rtl.png") no-repeat scroll right center transparent; padding:0 12px 0 0; }
.menu-category ul li ul li a:hover{background:url("images/megnor/cat_arrow_rtl_hover.png") no-repeat scroll right center transparent;}
.header-search .search-field, .header-search input[type="text"]{float:right;}
.header-search input[type="submit"], .widget_product_search #searchsubmit, .header-search #searchform #searchsubmit{float:right; margin-right:9px; margin-left:0;}
/* Start sidebar options */
.right-sidebar #primary {
    float: left;
    margin-right: 0;
}
.right-sidebar #secondary {
    float: right;
}
.entry-header:before {left:0; right:auto;}
.site-content .entry-header{padding:0 0 0 40px;}
.primary-sidebar .widget ul li a {
    background: url("images/megnor/cat_arrow_rtl.png") no-repeat scroll center right  transparent;
    padding:0 13px 0 0;
}
.primary-sidebar .widget ul li a:hover {
    background: url("images/megnor/cat_arrow_rtl_hover.png") no-repeat scroll center right transparent;
}
.header_logout a.account{background: url("images/megnor/top_pipe.jpg") no-repeat scroll right center;}
.header_logout a.logout{background: url("images/megnor/top_pipe.jpg") no-repeat scroll right center; padding:0 10px 0 0;}
.header-search button[type="submit"], .widget_product_search #searchsubmit, .header-search #searchform #searchsubmit {
	margin-left: 0;
	margin-right: 9px;
}
.header_banner li.shipping:hover {
	background-position: right -45px;
}
.header_banner li.Money:hover {
	background-position: right -126px;
}
.header_banner li.Offer:hover {
	background-position: 85px -218px;
}
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2{
float:left;
}
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1{
float:right;
}
/*=============== Content ===============*/
.owl-carousel .owl-wrapper-outer{direction:ltr;}
.woo-content .owl-theme .owl-controls .owl-buttons div.owl-prev, 
.blog-posts-content .owl-theme .owl-controls .owl-buttons div.owl-prev, 
.testimonials-container .owl-theme .owl-controls .owl-buttons div.owl-prev{right: auto;left: 0;}
.woo-content .owl-theme .owl-controls .owl-buttons div.owl-next, 
.blog-posts-content .owl-theme .owl-controls .owl-buttons div.owl-next, 
.testimonials-container .owl-theme .owl-controls .owl-buttons div.owl-next{right: auto;left: 26px;}
ul.products.list li.product img {
    float: right !important;  
    margin:0 0 0 3.8% !important;  
}
.woocommerce .woocommerce-product-rating .star-rating, .woocommerce-page .woocommerce-product-rating .star-rating{float:right; margin: 0.5em 0 0 4px;}
#yith-quick-view-modal .yith-wcqv-wrapper {
	visibility: hidden;
	text-align: right;
}
.list-view ul.products.list li.product .container-inner{text-align:right;}
ul.products.list li.product h3, ul.products.list li.product div[itemprop="description"], 
ul.products.list li.product .price, ul.products.list li.product .gridlist-buttonwrap{float:left;}
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img, 
.woocommerce-page ul.cart_list li img, .woocommerce-page ul.product_list_widget li img{
	float: right;   
    margin-left: 10px;	
	margin-right:0;
}
.fa-chevron-left{padding:0!important;align-items:none!important}
.woocommerce .posts-content .container-inner{text-align:right;}
.woocommerce span.onsale, .woocommerce-page span.onsale{left:auto;right:6px;}
.woocommerce ul.products.list li.product .onsale, 
.woocommerce-page ul.products.list li.product .onsale{
	right: -30px;
	left:auto;
	-moz-transform: rotate(45deg);
	-o- transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	 transform: rotate(45deg);
}
woocommerce span.onsale, .woocommerce-page span.onsale {  
    right: -30px;
	left:auto;
    padding: 22px 25px 3px 36px;  
    -moz-transform: rotate(45deg);
	-o- transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	 transform: rotate(45deg);   
}
.products.list .star-rating{
    right: 20px !important;
	left:auto !important;
   
}
.woocommerce .list .star-rating, .woocommerce-page .list .star-rating{
	left: 0;
    right: auto;    
}
.woocommerce .products.list .star-rating, .woocommerce-page .products.list .star-rating { float:right;}
.woocommerce #content div.product form.cart .variations td.label, .woocommerce div.product form.cart .variations td.label, .woocommerce-page #content div.product form.cart .variations td.label, .woocommerce-page div.product form.cart .variations td.label {
	text-align: right;
}
.summary.entry-summary .yith-wcwl-add-to-wishlist {
	float: right;
	margin: 0 0 0 10px !important;
}
.woocommerce .entry-summary a.compare.button {
	float: right;
}
.woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li {
	margin: 0 0 0 25px;
}
.newsletter-subscription{float:right;}
.banner3, .banner6{text-align:left;}
.owl-theme .owl-controls .owl-buttons div.owl-prev{right:auto;left:0;}
.owl-theme .owl-controls .owl-buttons div.owl-next{right:auto;left:25px;}
.entry-main-content .entry-content-date, .grid .blog-list .entry-main-content .entry-content-date, .blog-list .entry-main-content .entry-content-date { float:right; margin:0 0 0 10px;}
.paging-navigation .loop-pagination{text-align:left;}
.masonry .entry-date .month, .grid .entry-date .month {float:right; border-radius: 5px 0 0 5px;}
.masonry .entry-date .day, .grid .entry-date .day {float:right; border-radius:0 5px 5px 0; }
.options li {float:right;}.options li:first-child a {border-radius:0 7px 7px 0;}.options li:last-child a {border-radius:7px 0 0 7px;}
/*=============== Footer ===============*/
.static-links-list span{float:right;}
#to_top{right:auto;left:20px;}
.mobile_togglecolumn{
	text-align:left;
}
.widgets-footercontact .fa-mobile {
	float:right !important;  
	margin: 3px 5px 0 15px !important;
}
.widgets-footercontact .fa{
	float:right;  
	margin: 5px 0 0 15px;
}
.widgets-footercontact .fa-envelope{margin:0px 0px 0px 9px !important;}
.widgets-footercontact .email {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	margin-top: 10px;
}
.sub-title{ float: right; margin: 16px 10px 0 0;}
.footer-block .newsletter.newsletter-widget p{float:right;}
.accordion.style2 .accordion-title , .toggle.style2 .toggle-title , .accordion.style1 .accordion-title , .toggle.style1 .toggle-title{padding:15px 30px 15px 10px;}
.footer-block .newsletter.newsletter-widget .newsletter-submit{ border-radius: 3px 0 0 3px;}
.footer-block .newsletter.newsletter-widget .newsletter-email{  border-radius: 0 3px 3px 0;}
/*=============== Shortcode Css ===============*/
.accordion span.icon:after, .toogle_div span.icon:after,
.accordion a.current span.icon:after, .toogle_div a.current span.icon:after
{left:auto;right:10px;}
.accordion .accordion-title, .toggle .accordion-title,.toggle .toggle-title{text-align:right;}
.horizontal_tab #tab ul li {
    float: right;
    margin: 0 0 0 5px;
}
.vertical_tab ul.tabs{float:right;}
.horizontal_tab.style2 #tab ul li,.horizontal_tab.style3 #tab ul li{ margin: 0 0 0 5px;}
.vertical_tab.style2 #tab ul li a.current, .vertical_tab.style2 #tab ul li a:hover{
	border-left: none;
    border-top: 1px solid #F0EFEF;
    border-bottom: 1px solid #F0EFEF;
    border-right: 2px solid #E76453;
}
.fa{margin:3.5px;align-self: center;padding-bottom: 2px;}
.button.left i{margin:0 0 0 10px;}
.button.right i{margin:0 10px 0 0;}
.woocommerce #payment ul.payment_methods li, .woocommerce-page #payment ul.payment_methods li{text-align:right;}
.woocommerce #payment div.payment_box:after, .woocommerce-page #payment div.payment_box:after{margin: -1em 2em 0 0;right:0;left:auto !important;}
.progress_detail{right:10px;}
.gallery-caption .gallery-zoom{margin-left:10px;}
#sb-body img{left:0;}
label.error, .validation-error,
#contact-form label.error {
    background-position:   right 8px ;
    padding: 3px 25px 3px 0;
}
.col70,.row100{
    float: right;
	text-align: right;
}
.col70 .fa {
    left: 9px;
	right:auto;
}
.mega-menu .expandable-hitarea::before,.mega-menu .collapsable-hitarea::after{left:10px;right:auto !important;}
.yith_magnifier_zoom_magnifier{right:320px !important; left:auto !important;}
.footer-block .newsletter.newsletter-widget, .site-footer .tnp-widget {
    float: left;
    margin: 7px 32px 7px 0;
}
/*********************	Responsive for RTL	*********************/
@media only screen and (max-width: 999px){
	.menu-category,.menu-toggle:after{float:left !important;}
	#site-navigation h3{text-align:right;}
	.main-navigation{border-radius: 0 5px 5px 5px !important;}
	.menu-category .hitarea{right:auto !important;left:10px;}
	.product-categories .children{right:auto !important;}
	.mega-menu{left:auto !important;right:0;}
	.toggled-on .mega-menu .menu{left:auto !important;right:-1px;}
	.toggled-on .mega-menu ul li, .toggled-on .mega-menu ul li .sub-container.non-mega li, .toggled-on .mega-menu ul li .sub li.mega-hdr{text-align:right !important;}
	.toggled-on .mega-menu ul li .sub-container.mega .sub, .toggled-on .mega-menu ul li .sub-container.non-mega .sub{margin:0 10px 0 0 !important;}
	.toggled-on .mega-menu li > ul, .toggled-on .mega-menu li .sub-menu{margin:0 20px 0 0 !important;}
	.mobile_togglemenu:before, .sub-menu .mobile_togglemenu:before{right:auto !important;left:10px;}
	.mobile_togglecolumn{background-position:left 2px;}
	.active .mobile_togglecolumn {background-position: left -50px;}
}
@media only screen and (max-width: 767px){
	.header-contactus .contact-phone{float:none;}
	header_cart .togg .widget.jigoshop_cart, .header_cart .togg .widget.widget_shopping_cart {
		left: -30% !important;
		right: auto !important;				
	}
	.woocommerce-MyAccount-navigation {margin:0 0 30px 0 !important;}
	.main-navigation{border-radius:5px 5px !important;}
	.yith_magnifier_zoom_magnifier{right: 0px !important; left:0 !important;}
}
@media only screen and (max-width: 479px){	
	.header-menu-links ul,.header_logout a.account,.header_logout a.logout{float:none;display:inline-block;}
}
@media only screen and (max-width: 319px){
		.header_cart .togg .widget.jigoshop_cart, .header_cart .togg .widget.widget_shopping_cart {  left: -12% !important; right:auto !important;width: 210px;}
}