/*
 Theme Name:			four
 Text Domain:			four
 Theme URI:				almasin
 Author:				Abbas Rafiei, Zobin Farahani
 Author URI: 			almasin
 Description:			The best
 Version:				1.0.38
 Stable tag:			1.0.20
 Requires at least: 	6.1
 Tested up to:			6.1
 Requires PHP:			7.4
 Tags:					blog, education, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, custom-logo, footer-widgets, post-formats, rtl-language-support, threaded-comments, theme-options, wide-blocks	, block-styles,

	
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
	
 This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you’ve learned with others.
*/

/*--- Start Custom Fonts CSS ---*/
@font-face {
	font-family: 'vazir';
	font-display: swap;
	src: url('https://almasin.ir/wp-content/themes/four/fonts/Vazirmatn-VariableFont_wght.woff2') format('woff2-variations');

}

/* ################################################## */
/* #################################################### CSS Reset: */
/* ################################################## */
html {
	scroll-behavior: smooth;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background-color: transparent;
}

*,
:after,
:before {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

*::before,
*::after {
	box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

#text {
	line-height: 50px;
}

nav ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
}

a {
	text-decoration: none;
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	background-color: transparent;
	color: inherit;
}

/* change colours to suit your needs */
ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}

/* change colours to suit your needs */
mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title],
dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* change border color to suit your needs */
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}

input,
select {
	vertical-align: middle;
}

li {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/*--- End css reset ---*/

/*--- Global Setting Start ---*/
.global-var-set {
	--w-global-color-primary: #0B230E;
	--w-global-color-secondary: #689761;
	--w-global-color-secondary-90-glass: #58904fe6;
	--w-global-color-secondary-50-glass: #68976182;
	--w-global-color-text: #024303;
	--w-global-color-accent: #cacce4;
	--w-global-color-deef339: #3674BF;
	--w-global-color-bg-98-white:#F8F6FB;
	/* F8F6FB */
	--w-global-color-black: #010101;
	--w-global-color-gray: #4A485B;
	--w-global-color-links: #ffffff;
	--w-global-typography-primary-font-weight: bold;
	--w-global-typography-secondary-font-family: "vazir", tahoma, sans-serif;
	--w-global-typography-secondary-font-weight: normal;
	--w-global-typography-text-font-family: "vazir", tahoma, sans-serif;
	--w-global-typography-text-font-weight: normal;
	--w-global-typography-accent-font-weight: bold;
	--w-global-max-width: 1600px;
	--w-global-horizontal-align: 0 auto;
	--w-global-almas-margin: 0 8%;
	--w-global-flex: flex;
	--w-global-inline-flex: inline-flex;
	--w-global-flex-start: flex-start;
	--w-global-align-items-center: center;
	--w-global-inline-block: inline-block;
	--w-global-title-style: 12px var(--w-global-typography-secondary-font-family);
	--w-global-font: 12px "iran-sans", iran-yekan, iran-sans, Sans-serif;

	--w-global-margin: 5px 0;
	--w-global-padding-all-side: 5px;
	--w-global-line-height-p: 2.1em;
	--w-global-background-color-depth-1: var(--w-global-color-bg-98-white);
	--w-global-background-color-depth-2: var(--w-global-color-primary);
}

.global-var-set p {
	margin-top: 15px;
	margin-bottom: 15px;
	color: var(--w-global-color-text)
}

.global-var-set a {
	color: var(--w-global-color-links);
}

.global-var-set a:hover {
	color: var(--w-global-color-accent);
}

.global-var-set image {
	color: var(--w-global-color-links);
}

.global-font {
	font-family: var(--w-global-typography-text-font-family), sans-serif;
	/* font: var(--w-global-font); */
}

/*--- Global Setting Finish ---*/

/*--- Global Class Start ---*/
.global-max-width {
	max-width: var(--w-global-max-width);
}

.global-font-weight-bold {
	font-weight: var(--w-global-typography-primary-font-weight);
}

.global-margin-top-down {
	margin: var(--w-global-margin);
}

.global-background-color-depth-1 {
	background-color: var(--w-global-background-color-depth-1);
}

.global-background-color-depth-2 {
	background-color: var(--w-global-background-color-depth-2);
}

.global-horizontal-align {
	margin: var(--w-global-horizontal-align);
}

.global-almas-margin {
	margin: var(--w-global-almas-margin)
}

.global-flex {
	display: var(--w-global-flex);
}

.global-inline-flex {
	display: var(--w-global-inline-flex);
}

.global-flex-start {
	align-items: var(--w-global-flex-start);
}

.global-align-items-center {
	align-items: var(--w-global-align-items-center);
}

.global-inline-block {
	display: var(--w-global-inline-block);
}

.global-padding-all-side {
	padding: var(--w-global-padding-all-side);
}

.text-justify-waveha {
	text-align: justify;
}

.text-center-waveha {
	text-align: center;
}

.border-style-waveha {
	border-style: solid;
	border-width: 1px;
	border-radius: 8px;
	border-color: var(--w-global-color-secondary-50-glass);
	background-color: white;
	padding: 10px
}

.justify-content-waveha {
	justify-content: center;
	align-items: center;
}

.border-linear-gradient-waveha {
	border-width: 0.4ex 0 0.4ex 0;
	border-image: linear-gradient(to left, var(--w-global-color-secondary-50-glass), rgba(0, 0, 0, 0))1 0%;
	border-style: solid;
}

.border-top-linear-gradient-waveha {
	border-width: 0.4ex 0 0.0ex;
	border-image: linear-gradient(to left, var(--w-global-color-secondary-50-glass), rgba(0, 0, 0, 0))1 0%;
	border-style: solid;
}

.border-bottom-linear-gradient-waveha {
	border-width: 0.4ex 0 0.0ex;
	border-image: linear-gradient(to bottom, var(--w-global-color-secondary-50-glass), rgba(0, 0, 0, 0))1 0%;
	border-style: solid;
}

/*--- Global Class Finish ---*/


/* ################################################## */
/* #################################################### Custom WP-BLOCK */
/* ################################################## */
.wp-block-quote {
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-top-color: rgb(255, 255, 255);
	border-right-color: rgb(207, 207, 207);
	border-bottom-color: rgb(207, 207, 207);
	border-left-color: rgb(255, 255, 255);
	border-radius: 3px 3px 3px 3px;
	padding: 10px 10px 10px 10px;
	box-shadow:
		-1px -1px 4px 2px #fff,
		1px 1px 3px 1px rgb(0 0 0 / 50%);
}

figure {
	margin: 0 0 1em;
}

.wp-block-image figure {
	margin: 0;
}

.wp-block-image .alignleft {
	float: left;
	margin-left: 1em;
	margin-top: .5em;
	margin-bottom: .5em
}

.wp-block-image .alignright {
	float: right;
	margin-right: 1em;
	margin-top: .5em;
	margin-bottom: .5em
}

.wp-block-image .aligncenter {
	margin-right: auto;
	margin-left: auto
}

.wp-block-image.aligncenter,
.wp-block-image .aligncenter,
.wp-block-image.alignleft,
.wp-block-image .alignleft,
.wp-block-image.alignright,
.wp-block-image .alignright {
	display: table;
}

.wp-block-table {
	overflow-x: auto
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%
}

.wp-block-table td,
.wp-block-table th {
	border: 1px solid;
	padding: .5em
}

table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
	/* background-color: hsla(0,0%,50.2%,.07058823529411765); */
	background-color: var(--w-global-background-color-depth-1);
}

.has-text-align-center {
	text-align: center
}

.has-text-align-left {
	text-align: left
}

.has-text-align-right {
	text-align: right
}

/*--- Open table of content (toc) --- */

/* --- Close table of content (toc) --- */
/* --- Open BreadCrumb Style --- */
.rank-math-breadcrumb,
.rank-math-breadcrumb>p>a {
	font-family: var(--w-global-typography-text-font-family);
	font-size: 13px;
	color: var(--w-global-color-primary) !important;
}

.rank-math-breadcrumb>p {
	margin: 0 0 0 0 !important;
	line-height: var(--w-global-line-height-p);
}

/*  --- Close BreadCrumb Style --- */
/* --- Close Global Waveha Style --- */
/* End custom CSS */

/* --- Mobile Navbar CSS ---*/
.theme-skull-mobile-menu-box {
	display: initial;
	width: 40px;
	height: 30px;
}

.sidebar-toggle-button-checkbox[type=checkbox] {
	transition: all 0.3s;
	box-sizing: border-box;
	display: none;
}

.sidebar-toggle-button-checkbox[type=checkbox]:checked~#mobile-primary-navbar-menu-basic {
	transform: translateX(0);
}

.sidebar-toggle-button-checkbox[type=checkbox]:checked~.sidebar-toggle-button {
	position: fixed;
}

.sidebar-toggle-button {
	box-sizing: border-box;
	cursor: pointer;
	/* position: absolute; */
	z-index: 95;
	width: 40px;
	height: 30px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

.line-spinner-all {
	transition: all 0.3s;
	box-sizing: border-box;
	width: 100%;
	height: 4px;
	background-color: white;
	opacity: 70%;
}

.line-spinner-middle {
	display: initial;
	margin: 5px 0;
}

.line-spinner-top {
	transition: all 0.5s;
}

.line-spinner-bottom {
	transition: all 0.5s;
}

.sidebar-toggle-button-checkbox[type=checkbox]:checked~.sidebar-toggle-button>.line-spinner-middle {
	display: none;
}

.sidebar-toggle-button-checkbox[type=checkbox]:checked~.sidebar-toggle-button>.line-spinner-top {
	transition: all 0.5s;
	box-sizing: border-box;
	position: relative;
	top: 2px;
	transform: rotate(135deg);
	background-color: #56ff88;
}

.sidebar-toggle-button-checkbox[type=checkbox]:checked~.sidebar-toggle-button>.line-spinner-bottom {
	transition: all 0.5s;
	box-sizing: border-box;
	position: relative;
	top: -2px;
	transform: rotate(-135deg);
	background-color: #56ff88;
}

#mobile-primary-navbar-menu-basic {
	position: fixed;
	overflow: scroll;
	width: 100vw;
	height: 100%;
	top: 0;
	right: 0;
	z-index: 90;
	transform: translateX(100vw);
	transition: transform 350ms ease-in-out;
	background: linear-gradient(180deg, var(--w-global-color-secondary) -20%, var(--w-global-color-primary) 80%);
	padding-top: 50px;
	opacity: 90%;
	padding-right: 10px;
}

.mobile-primary-navbar-menu>.menu-item {
	padding-right: 50px;
}

.mobile-primary-navbar-menu .menu-item {
	margin: 5px 0;
}

.mobile-primary-navbar-menu>.menu-item>a {
	display: block;
	padding: 10px;
	font-family: var(--w-global-typography-secondary-font-family);
	font-size: 12px;
	color: #aaffc3;
	font-weight: normal;
	opacity: 90%;

	border-width: 0.4ex 0 0.0ex;
	border-image: linear-gradient(to left, #aeffa282, rgba(0, 0, 0, 0))1 0%;
	border-style: solid;
}

.mobile-primary-navbar-menu>.menu-item>.sub-menu>.menu-item {
	margin-right: 15px;
}

.mobile-primary-navbar-menu>.menu-item>.sub-menu>.menu-item>a {
	display: block;
	padding: 10px;
	font-family: var(--w-global-typography-secondary-font-family);
	font-size: 10px;
	color: #aaffc3;
	font-weight: normal;
	opacity: 90%;

	border-width: 0.4ex 0 0.0ex;
	border-image: linear-gradient(to left, #aeffa282, rgba(0, 0, 0, 0))1 0%;
	border-style: solid;
}

/*--- Mobile Navbar CSS ---*/

/*--- Single Post CSS Start --- */
.article-single {
	width: 100%;
}

.article-single>.single-post-content>p>a {
	color: var(--w-global-color-deef339);
	border-bottom: 1px;
	border-bottom-style: solid;
	font-weight: var(--w-global-typography-primary-font-weight);
}

.information-post {
	display: block;
}

.information-post-li {
	display: inline-flex;
	flex-wrap: nowrap;
	margin: 0 0 0 20px;
	color: var(--w-global-color-primary);
	font-size: 13px;
	line-height: var(--w-global-line-height-p);
}

.single-post-content>p,
.single-post-content th,
.single-post-content td,
.single-post-content li {
	font-size: 16px;
	font-family: var(--w-global-typography-text-font-family);
	font-weight: normal;
	line-height: 2em;
}

.single-post-content>div>figure>img {
	margin-bottom: 20px;
	box-shadow: 0px 0px 4px 0.8px #010201c4;
	border-radius: 1px;
}

.bookmark-post-title {
	position: sticky;
	bottom: 0px;
	margin-top: 10px;
	margin-right: 10px;
}

.bookmark-post-title>a {
	transform: rotate(270deg);
	font-size: 40px;
	padding: 10px 10px 0 10px;
	border-radius: 4px;
	background-color: var(--w-global-color-secondary-50-glass);
	/* background-color: #35aff1a1; */
	color: #ffffff;
	filter: opacity(0.7);
	border: 1px solid var(--w-global-color-secondary-90-glass);
	line-height: 50px;
}

.category-information-post {
	font-size: 12px;
}

/* --- Single Post CSS Finish --- */

/* ################################################## */
/* #################################################### Default Footer CSS */
/* ################################################## */
/*--- Top Post Footer Navbar Menu Style Start ---*/



/* ################################################## */
/* #################################################### Default Single Post CSS */
/* ################################################## */

/*--- Categories Navbar CSS Start ---*/

/*--- Categories Navbar CSS Finish ---*/


/* ################################################## */
/* #################################################### Default Archive Template CSS  */
/* ################################################## */

/* --- Archive Template CSS Start --- */
.global-archive-header {
	border-bottom: 1px solid var(--w-global-color-secondary-50-glass);
}

.global-archive-title {
	border-bottom: 1px solid var(--w-global-color-secondary-50-glass);
}

.global-archive-description {
	color: var(--w-global-color-text);
	font-family: var(--w-global-typography-text-font-family);
	font-weight: normal;
	font-size: 14px;
	line-height: 2.1em;
}

.archive-list-items {
	border: 1px solid var(--w-global-color-secondary);
	background-color: var(--w-global-color-secondary-50-glass);
	margin: 5px 0;
	overflow: hidden;
}

.archive-list-items>a {
	display: block;
	color: var(--w-global-color-primary);
	padding: 10px;
}

.archive-list-items>a>h2 {
	font: 15px var(--w-global-typography-secondary-font-family);
}

.archive-list-items:hover {
	border-right: 15px solid var(--w-global-color-bg-98-white);
	background-image: linear-gradient(270deg, var(--w-global-color-primary), rgb(207 0 0 / 0%) 80%);
	transition: 1s ease 0s all;
}

.archive-list-items>a:hover {
	font-size: 15px;
	color: white;
	transition: 0s ease 0s all;
}


/* --- Archive Template CSS Finish --- */



@media screen and (max-width: 767px) {

	/*--- #################### Mobile ####################---*/
	/*--- #################### Mobile ####################---*/
	/*--- #################### Mobile ####################---*/
	/*--- Global Setting Start ---*/
	.global-var-set h1 {
		font-family: var(--w-global-typography-secondary-font-family);
		font-size: 20px;
		font-weight: bold;
		line-height: 2.1em;
		color: var(--w-global-color-text);
	}

	.global-var-set h2 {
		font-family: var(--w-global-typography-secondary-font-family);
		font-size: 18px;
		font-weight: bold;
		line-height: 2.1em;
	}

	.global-var-set h3 {
		font-family: var(--w-global-typography-secondary-font-family);
		font-size: 16px;
		font-weight: bold;
		line-height: 2.1em;
	}

	.single-post-content>p,
	.single-post-content th,
	.single-post-content td,
	.single-post-content li {
		font-size: 18px;
		font-family: var(--w-global-typography-text-font-family);
		font-weight: normal;
		line-height: 2em;
	}

	/*--- Global Setting Finish ---*/
	/* ################################################## */
	/* #################################################### Default Header CSS */
	/* ################################################## */
	.align-items-flex-end {
		align-content: flex-end;
		align-items: flex-end;
	}

	.col-right-head {
		display: none;
	}

	.col-center-head {
		width: 30%;
	}

	.col-left-head {
		width: 70%;
	}

	.primary-navbar {
		margin: 10px;
		padding: 0;
		z-index: 2;
	}

	#desktop-primary-navbar-menu-basic {
		display: none;
	}


	/* ################################################## */
	/* #################################################### Default Single Post CSS */
	/* ################################################## */
	.col-right {
		display: none;
	}

	.col-center {
		width: 100%;
	}

	.col-left {
		display: none;
	}

	.col-right-category {
		width: 100%;
	}

}

@media screen and (min-width: 767px) {

	/*--- #################### Desktop ####################---*/
	/*--- Global Setting Start ---*/
	.global-var-set h1 {
		font-family: var(--w-global-typography-secondary-font-family);
		font-size: 21px;
		font-weight: bold;
		line-height: 2.1em;
		color: var(--w-global-color-text);
	}

	.global-var-set h2 {
		font-family: var(--w-global-typography-secondary-font-family);
		font-size: 20px;
		font-weight: bold;
		line-height: 2.1em;
	}

	.global-var-set h3 {
		font-family: var(--w-global-typography-secondary-font-family);
		font-size: 18px;
		font-weight: bold;
		line-height: 2.1em;
	}

	/*--- Global Setting Finish ---*/
	/* #################################################### Default Header CSS */
	.align-items-flex-end {
		align-content: flex-end;
		align-items: flex-end;
	}

	.col-right-head {
		width: 20%;
	}

	.col-center-head {
		width: 60%;
	}

	.col-left-head {
		width: 20%;
	}

	.theme-skull-mobile-menu-box {
		display: none;
	}

	/*--- Basic Navbar Style Start ---*/
	.primary-navbar {
		margin: 0 auto;
		padding: 5px 5px 0 5px;
		/* position: relative; */
		z-index: 2;
	}

	.primary-navbar-menu {
		max-height: 45px;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.primary-navbar-menu>.menu-item {
		display: inline-block;
		position: relative;
		width: auto;
		height: auto;
	}

	.primary-navbar-menu>.menu-item>a {
		display: block;
		color: #fff;
		padding: 10px 10px;
		font: 13px var(--w-global-typography-secondary-font-family);
		/* 	height: inherit; */
		line-height: normal;
		border-bottom: 4px solid #ffffff00;
	}

	.primary-navbar-menu>.menu-item>a:hover {
		border-bottom: 4px solid var(--w-global-color-bg-98-white);
		font-weight: bold;
		transition: 0.5s ease 0s all;
	}

	.primary-navbar-menu>.menu-item>.sub-menu {
		display: none;
		position: absolute;
		top: auto;
		right: auto;
		min-width: 320px;
		max-width: 500px;
		background-color: var(--w-global-color-secondary-90-glass);
		overflow: hidden;
	}

	.primary-navbar-menu>.menu-item:hover>.sub-menu {
		display: block;
	}

	.primary-navbar-menu>.menu-item>.sub-menu>li {
		border-color: var(--w-global-color-secondary-90-glass);
		height: auto;
	}

	.primary-navbar-menu>.menu-item>.sub-menu>li>a {
		width: 100%;
		display: flex;
		flex-wrap: nowrap;
		line-height: normal;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		font: 12px var(--w-global-typography-secondary-font-family);
		padding: 10px 10px;
		color: var(--w-global-color-bg-98-white);
	}

	.primary-navbar-menu>.menu-item>.sub-menu>li:hover {
		border-right: 10px solid;
		border-color: var(--w-global-color-bg-98-white);
		/* var(--w-global-color-deef339); */
		background-image: linear-gradient(270deg, var(--w-global-color-primary), rgb(207 0 0 / 0%) 100%);
		transition: 0.5s ease 0s all;
	}

	/*--- Basic Navbar Style Finish ---*/

	/* ################################################## */
	/* #################################################### Default Single Post CSS */
	/* ################################################## */

}