/**
Theme Name: astra-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* for comment */
.blog-layout-4 .entry-meta {
  line-height: 1.45;
  color: #FFF;
  font-weight: 400;
   position: absolute;
  top: 0;
  width: 68px;
  left: -22px;
  padding-top: 10px;
}
.blog-layout-4 .entry-meta * {
  line-height: 1.45;
  color: #FFF;
  font-weight: 400;
   position: absolute;
  top: 0;
  width: 68px;
  left: 0;
  padding-top: 10px;
}
.blog-layout-4 .posted-by , .comments-link
{
	position: absolute;
	background: #057df7b0;
	width: 68px;
height: 68px;
line-height: 68px;
text-align: center;
}
.blog-layout-4 .posted-on
	{
		z-index: 1;
position: absolute;
top: 65px;
right: 0px;
padding: 15px 10px;
font-size: 14px;
line-height: 18px;
min-width: 66px;
background: #1b3259;
height: 68px;
    text-align: center;
	}
.custom-bottom-section , .post-bottom
{
  background-color: #fff;
  padding: 2em;
  margin-bottom: 2em;
  margin-top: 2em;
}
.gpo-lastest .item {
  display: flex;
  width: 100%;
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.gpo-lastest .item .thumb {
  float: right;
  margin-left: 15px;
  margin-right: 0;
}
.item-thumbnail a {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: block;
  transform: translate3d(0,0,0);
  
}
.item-thumbnail {
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
}
.item-thumbnail img {
  width: 160px;
  height: 80px;
  transition: all .4s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
}
.item-thumbnail:hover img {
  filter: brightness(80%);
  -webkit-filter: brightness(80%);
  -moz-filter: brightness(80%);
  -ms-filter: brightness(80%);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  
}
.thumbnail-hoverlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: all .4s;
}
div:after {
  content: ' ';
  display: block;
  clear: both;
}
.thumbnail-hoverlay-cross {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  -webkit-transform: scale(3) rotate(90deg);
  transform: scale(3) rotate(90deg);
  transition: all .45s;
}
.thumbnail-hoverlay-cross:before, .thumbnail-hoverlay-cross:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  width: 1px;
  height: 43px;
  margin-top: -21px;
}
.thumbnail-hoverlay-cross:after {
  width: 43px;
  height: 1px;
  margin-top: 0px;
  margin-left: -21px;
}
.item-thumbnail:hover .thumbnail-hoverlay {
  opacity: .5;
}
.item-thumbnail:hover .thumbnail-hoverlay-cross {
  opacity: 1;
  -webkit-transform: scale(1) rotate(0);
  transform: scale(1) rotate(0);
}
.u-details.item-content {
  border-top: 0;
  padding-top: 2px;
  float: right;
  width: 100%;
  font-size: 12px;
  color: #919191;
}
  @media (min-width: 992px){
.item-content {
  border-top: solid 1px #eaeaea;
  padding-top: 17px;
}
}
.main-color-1-bg, .main-color-1-bg-hover:hover {
  background: #419fff;
  font-family: sans-serif, Tahoma;
  font-size: 14px;
  border-radius: 4px;
}

/** divader */
  @media (min-width: 992px){
.col-md-12 {
  width: 100%;
}
}
.gpo-heading.gpo-separator {
  padding-bottom: 5px;
}
.gpo-heading-wrap {
  display: table;
  width: 100%;
}
.gpo-heading-line {
  height: 2px;
  display: table-cell;
  vertical-align: middle;
  width: 50%;
}
.gpo-heading-line span {
  height: 0px;
  border-top: 2px solid rgba(52,52,52,0.1);
  display: block;
  position: relative;
  top: 0px;
  width: 100%;
}
.gpo-heading .btn, .btn.back-to-top {
  border-radius: 3px;
  border: 2px solid rgba(52,52,52,0.1);
  padding: 9px 20px 9px 10px;
  white-space: nowrap;
}
.gpo-heading {
  padding-bottom: 20px;
}
.gpo-separator {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 45px;
}
.btn-default:hover
{
	color: #fff;
background-color: #666666;
border-color: #666666;
}
.btn-lg, .btn-group-lg > .btn, .gpo-button-1-lg, .gpo-button-2-lg {
  padding: 17px 40px 17px 20px;
  font-size: 17px;
  white-space: nowrap;
}
/*رویه دار کردن تصویر */
.ast-article-post:hover .post-thumb-img-content img {
  opacity: 0.7;
  transition: all 0.8s;
}
.ast-article-post .post-thumb-img-content {
  background: black;
}
/* برای جعبه های ویترین*/
.wp-block-kadence-posts .loop-entry .post-thumbnail img {
    object-fit: fill;
    border-radius: 6px;
}
.wp-block-kadence-posts .loop-entry {
    border: 1px solid #efefef;
}

/* برای سایدبارکناری */
.ast-separate-container.ast-two-container #secondary .widget {
    padding: 1em;
}
.widget-title {
    text-align: center;
}
#secondary
{
	padding-right: 30px !important;
}
#secondary h2 {
  background: #ecebeb;
  font-size: 21px;
  border-radius: 2px;
}
.ast-right-sidebar #primary
{
	padding-left: 30px;
}
.ast-right-sidebar #secondary
{
	padding-right: 30px !important;
}
/* برای بخش بالای رنگی سوالات*/
.sar_soal , .sar-soal
{
	border-radius: 100%;
   padding: 10px;
   text-align: center;
}
.has-medium-font-size
{

color: #01DAFD;
}
.has-link-color
{
color: none;
}
/* یک در میان کردن ردیف های جدول*/
table:not(.shop_table) > tbody > tr:nth-child(2n) > td, table:not(.shop_table) > tbody > tr:nth-child(2n) > th {
  background-color: rgba(234,234,234,.25);
}							
table:not(.shop_table) > tbody > tr:hover > td, table:not(.shop_table) > tbody > tr:hover > th {
  background-color: #4a447312;
}
/*برای خروج از حساب کاربری*/
.logoutmi
{
display: block;
padding: 6px 0;
background: #eee;
line-height: 20px
}
.um-account-main
{
	margin-right: 15px;
	width: 60%;
}
.um-account-side
{
	margin-left: 10px;
}
/*برای دیدگاه*/
.comment-slider-wrapper .comment-slider-track
{
width: 90%;
background: rgb(245, 248, 250);
margin: 0 auto;
border-radius: 10px;
}
.comment-slide {
    display: none;
    width: 100%;
    text-align: center;
    animation: fadeEffect 0.6s ease-in-out;
}

.comment-slide.active {
    display: block;
}
/* آواتار */
.comment-avatar {
    margin-bottom: 15px;
}

.comment-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid #f2f2f2;
}
/*برای اواتار و متا*/
.customer-info
{
    display: flex;
}
/* متن کامنت */
.comment-content {
  padding-bottom: 10px;
  margin: 0 auto;
}

/* نام و تاریخ */
.comment-meta {
    font-size: 13px;
    color: #b9b9b9;
    margin: 15px 0;
}

.comment-author {
    display: block;
    font-weight: bold;
    color: #2271b1;
	margin-top: 10px;
}
/* کانتینر کنترل‌ها */
.comment-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
	    transition: all 0.3s ease;
	color: #d2d2d282;
	font-size: 48px;
}
/* دکمه قبلی (سمت راست در RTL) */
.comment-slider-prev {
	float: right;
	transition: all 0.3s ease;
}
.comment-slider-prev:hover {
	cursor: pointer;
	transform: scale(1.1);
	color: #0f0f0f6b;
	transition: all 0.3s ease
}

/* دکمه بعدی (سمت چپ) */
.comment-slider-next {
	cursor: pointer;
    float: left;
	transition: all 0.3s ease;
}

.comment-slider-next:hover {
    transform: scale(1.1);
	color: #0f0f0f6b;
	transition: all 0.3s ease;
}


.comment-slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.comment-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.comment-dot.active {
    background: #0073aa;
}
/* برای حساب کاربری*/
.um-account-main
{
	margin-right: 15px;
	width: 60%;
}
.um-account-side
{
	margin-left: 10px;
}
.edd_download_excerpt
{
	display:none;
}
.edd_download_title
{
	text-align: right;
}
/* Default (Mobile First) - 1 Column */
.ast-blog-layout-4-grid .ast-article-post {
  width: 100%; /* Full width on mobile */
  margin-bottom: 16px; /* Add some space between posts */
}

/* Tablet - 3 Columns */
@media (min-width: 768px) {
  .ast-blog-layout-4-grid .ast-article-post {
    width: calc(33.333% - 16px); /* For 3 columns with gap */
    margin-right: 16px; /* Adjust if you use gap or margin differently */
  }
  /* Remove margin from the last item in a row */
  .ast-blog-layout-4-grid .ast-article-post:nth-child(3n+3) {
    margin-right: 0;
  }
}

/* Desktop - 4 Columns */
@media (min-width: 1024px) {
  .ast-blog-layout-4-grid .ast-article-post {
    width: calc(25% - 16px); /* For 4 columns with gap */
    margin-right: 16px;
  }
  /* Remove margin from the last item in a row */
  .ast-blog-layout-4-grid .ast-article-post:nth-child(4n+4) {
    margin-right: 0;
  }
}


