/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/

/* ==========================================================================
   CUSTOMIZATIONS RECOVERED FROM THE OLD HACKED THEME
   Source: "foulad-tofighi" = Betheme 21.0.8 renamed to "TOFIGHI Industry".
   Everything below used to live inside the PARENT theme files, which is why
   the theme could never be updated. It now lives here instead.
   ========================================================================== */


/* --------------------------------------------------------------------------
   [1] From: foulad-tofighi/style.css (pasted under the theme header)
   -------------------------------------------------------------------------- */

.primary-navigation {
	font-size: 4px;
}

.entry-date {
	display: none;
}

.icon-clock {
	display: none;
}

.post-header {
	margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   [2] From: foulad-tofighi/css/responsive.css line 2 (global rule)
   Hides the AFC sidebar widget area on desktop.
   -------------------------------------------------------------------------- */

#afc_sidebar_2 {
	display: none;
}


/* --------------------------------------------------------------------------
   [3] From: foulad-tofighi/css/responsive.css lines 1082-1124,
       injected inside the "@media only screen and (max-width: 479px)" block.
   -------------------------------------------------------------------------- */

@media only screen and (max-width: 479px) {

	/* TablePress */
	.tablepress td,
	.tablepress th {
		padding: 8px 3px 8px 3px !important;
	}

	.row-1.odd {
		font-size: 16px;
		letter-spacing: -1px;
	}

	/* RTL mobile menu */
	.rtl #Top_bar #menu ul li.submenu .menu-toggle {
		width: 95%;
		text-align: left;
		color: black;
	}

	.rtl #Top_bar #menu ul li ul li a {
		border-bottom: 1px solid #ededed;
	}

	/* Subheader */
	#Subheader .column {
		padding: 5px 0 5px 3px !important;
		font-weight: 900 !important;
	}

	.informations {
		padding: 4px !important;
	}

	/* Mobile typography */
	h1,
	.text-logo #logo {
		font-size: 19px !important;
		line-height: 35px !important;
	}

	h2 {
		font-size: 17px !important;
		line-height: 30px !important;
		font-weight: 900 !important;
	}

	h3 {
		font-size: 16px !important;
		line-height: 26px !important;
	}

	h4 {
		font-size: 16px !important;
		line-height: 26px !important;
	}

	body {
		font-size: 16px !important;
		line-height: 27px !important;
	}

	/* AFC sidebar: visible again on small screens */
	#afc_sidebar_2 {
		display: block !important;
	}

	#afc_sidebar_2 div {
		margin-right: 0 !important;
	}

}


/* --------------------------------------------------------------------------
   [4] From: Appearance > Customize > Additional CSS of the old theme
       (WordPress post ID 2888, post_name "foulad-tofighi", 818 chars).
       That CSS was tied to the old theme slug, so it stopped applying the
       moment the theme changed. Moved here so it survives any future switch.

   Kept verbatim, with two notes:
     - the original had the "center { ... }" rule twice, identical; kept once
     - "centerImage" is written without a leading dot, so it targets an
       element named <centerImage> and matches nothing. Left exactly as it
       was - changing it to ".centerImage" would start applying styles that
       have never been active on this site.
   -------------------------------------------------------------------------- */

video {
	width: 100%;
	height: auto;
}

center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

centerImage {
	text-align: center;
	display: block;
}

.mobile-header-mini.mobile-mini-ml-lc #Top_bar a.responsive-menu-toggle {
	right: 10px;
}

.mobile-header-mini.mobile-mini-ml-lc #Top_bar .top_bar_right {
	max-width: 60px;
	left: 0;
}

.mobile-tb-center #Top_bar .top_bar_right .top_bar_right_wrapper {
	display: inline-block;
	float: left;
}

a#back_to_top.button.button_js,
#popup_contact > a.button {
	color: #fff;
	background: #20a224;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.minimalist-header-no #Subheader {
	padding: 1px 0 !important;
}

.section-post-header {
	display: none;
}