/*
Theme Name:Hamdeli Autism
Theme URI: https://wordpress.org/
Author: azam habibi
Author URI: 
Description:This theme designed for Hamdeli Autism Association 
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.3
Version: 1.0.0
Text Domain: hamdeli


 */

* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

@font-face {
  font-family:"hamdeli";
  src: url("fonts/Vazir-Medium-FD-WOL.woff") format("woff");
}

html {
  overflow-x: hidden !important;
}
body {
  direction: rtl;
  font-family: "hamdeli";
  overflow-x: hidden !important;
}
li {
  list-style: none;
}
a,
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
}
.slider-wrap {
  width: 100%;
  display: inline-block;
  height: 100vh;
  background: url("img/back-dark1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.main-menu {
  height: 70px;
  border-bottom: 1px solid #b1acac;
}
.main-menu li {
  display: inline-block;
  margin: 0 10px;
  text-align: center;
  position: relative;
}
.main-menu li:hover:after {
  content: "";
  position: absolute;
  border-bottom: 5px solid #fff;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 5px solid transparent;
  bottom: 0;
  right: 40%;
  transition: all 0.3s ease;
}
.main-menu li a {
  padding: 25px 0;
  display: inline-block;
  color: #eceaea;
}
.main-menu li > ul {
  position: absolute;
  width: 200px;
  background-color: #333;
  top: 70px;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}
.main-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  padding: 15px;
}
.main-menu li ul li {
  width: 100%;
  margin: 2px 0;
  text-align: right;
}
.main-menu li > ul > li:hover:after {
  border-bottom: 0;
}
.main-menu li ul li a {
  padding: 10px;
  display: block;
  padding-right: 25px;
  position: relative;
}
.main-menu li ul li a:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 2px;
  background-color: #eee;
  right: 6px;
  top: 19px;
  transition: all 0.3s ease;
}
.main-menu li ul li a:hover:before {
  width: 10px;
  transition: all 0.3s ease;
}
.main-menu li ul li ul {
  top: 0;
  right: 100%;
}

.top-search {
  height: 70px;
  border-left: 1px solid #b1acac;
}
.top-search span a {
  display: inline-block;
  padding: 17px;
  font-size: 25px;
  color: #eee;
  margin: 0 5px;
}
.main-menu .col-md-2.col-sm-5.col-xs-5 {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.m_logo {
  height: 70px;
  border-right: 1px solid #b1acac;
}
.m_logo img {
  width: 100%;
  height: 67px;
  display: table;
  margin: 0 auto;
  position: relative;
  top: 2px;
  filter: contrast(170%) brightness(88%);
  object-fit: contain;
}

.slider-content .item {
  position: relative;
  color: #eee;
  text-align: right;
}
.slider-content .item img {
  height: 200px;
  object-fit: contain;
  display: table;
  margin: 0 auto;
}
.slider-content .item h4 {
  color: #fff;
  margin: 25px 0;
  }
.slider-content .item p {
  line-height: 2;
  text-align: justify;
  font-size: 14px !important;
  margin-bottom: 15px;
}
.slider-content .item .text-left a {
  display: inline-block;
  padding: 8px 12px;
  background-color: #cbc9d1a6;
  color: #fff;
  font-size: 12px;
  position: relative;
}
.slider-content .item .text-left a:before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 100%;
  width: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.slider-content .item .text-left a:hover:before {
  height: 0;
  transition: all 0.3s ease;
}
.slider-content .item .text-left a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 1px;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s ease;
}
.slider-content .item .text-left a:hover:after {
  width: 0;
  transition: all 0.3s ease;
}

.intro {
  width: 100%;
  display: inline-block;
  background-color: #042b38;
  background-image: url("img/back-dark1.jpg");
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  filter: grayscale(0.1);
  padding: 25px 0;
  margin-top: -10px;
 
}
.intro .text {
  line-height: 2.2;
  color: #eee;
}
.intro .text span {
  color: #999;
  display: inline-block;
  position: relative;
}
.intro .text span:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #888;
  border-radius: 50%;
  top: -10px;
  right: -20px;
}
.intro .text p {
  font-size: 13px;
  color: #bfabab;
  text-align: justify;
}
.intro .pic {
  padding-top: 25px;
}
.intro .pic img {
  height: 80px;
  object-fit: contain;
  margin: 0 15px;
}
.intro .pic h5 {
  color: #ffe4c4;
  margin-top: 20px;
}

.about-us {
  width: 100%;
  display: inline-block;
  padding: 45px 0;
  background: url("img/back.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.about-us .text {
  line-height: 2.2;
}
.about-us .text h3 {
  color: #000;
  position: relative;
  margin-bottom: 35px;
}
.about-us .text h3:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 2px;
  border-bottom: 2px dashed #222;
  right: 0;
  bottom: -18px;
}
.about-us .text p {
  font-size: 15px;
  text-align: justify;
  color: #515151;
}
.about-us .pic img {
  display: table;
  margin: 0 auto;
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 50%;
}

a.site-dark-btn {
  display: inline-block;
  padding: 5px 15px;
  background-color: #042b38;
  color: #fff;
  font-size: 14px;
  position: relative;
  border: 1px solid #212121;
  transition: all 0.3s ease;
  
}
a.site-dark-btn:hover {
  color: #212121;
  background-color: #fff;
}
a.site-dark-btn:before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 100%;
  width: 1px;
  background-color: #212121;
  transition: all 0.3s ease;
}
a.site-dark-btn:after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 1px;
  width: 100%;
  background-color: #212121;
  transition: all 0.3s ease;
}
a.site-dark-btn:hover:before {
  height: 0;
  transition: all 0.3s ease;
}

a.site-light-btn {
  display: inline-block;
  padding: 5px 15px;
  background-color: #fff;
  color: #212121;
  font-size: 14px;
  position: relative;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}
a.site-light-btn:hover {
  background-color: #042b38;
  color: #fff;
}
a.site-light-btn:before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 100%;
  width: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}
a.site-light-btn:after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 1px;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s ease;
}
a.site-light-btn:hover:before {
  height: 0;
  transition: all 0.3s ease;
}

a.site-light-btn:hover:after {
  width: 0;
  transition: all 0.3s ease;
}

.portfolio {
  width: 100%;
  display: inline-block;
}

.portfolio .portfolio-box figure {
  width: 100%;
  overflow: hidden;
  height: 230px;
  position: relative;
  background-color: #000;
}
.portfolio .portfolio-box figure img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1);
  transition: all 0.3s ease;
}
.portfolio .portfolio-box figure:hover img {
  transform: scale(1.02);
  opacity: 0.5;
  transition: all 0.3s ease;
}
.portfolio .portfolio-box figure figcaption.af-be {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  padding: 25px;
}
.portfolio .portfolio-box figure figcaption.af-be:before {
  position: absolute;
  content: "";
  height: 90%;
  width: 1px;
  background-color: #fff;
  top: 10px;
  right: 15px;
}
.portfolio .portfolio-box figure figcaption.af-be:after {
  position: absolute;
  content: "";
  width: 90%;
  height: 1px;
  background-color: #fff;
  bottom: 15px;
  right: 13px;
}
.portfolio .portfolio-box figure figcaption.text {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
  padding: 25px;
  color: #fff;
}
.portfolio .portfolio-box figure figcaption.text h4 {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nopadding {
  padding: 0;
}

.brands {
  width: 100%;
  padding: 30px 0;
  display: inline-block;
  background-color: #faf4f4;
  margin-top: -10px;
}

.brands .item img {
  height: 80px;
  object-fit: contain;
  max-width: 70%;
  margin: 0 auto;
}

.services {
  width: 100%;
  display: inline-block;
  padding: 35px 0 15px 0;
}
.services .service-box {
  width: 100%;
  height: 500px;
  display: inline-block;
  background: url("img/iconbox1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 15px 25px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 30px;
}
.services .service-box:hover {
  background: url("img/iconbox2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}
.services .service-box img {
  height: 100px;
  object-fit: contain;
}
.services .service-box h4 {
  margin: 25px 0;
}
.services .service-box p {
  line-height: 2;
  color: #736f6f;
}
.services .service-box a {
  display: inline-block;
  padding: 5px;
  font-size: 12px;
  color: #222;
}
.services .service-box a i {
  position: relative;
  right: 0;
  top: 1px;
  transition: all 0.3s ease;
}
.services .service-box a:hover i {
  right: 3px;
  transition: all 0.3s ease;
}

.counter {
  width: 100%;
  padding: 60px 0;
  display: inline-block;
  
  background-image: url("img/bg17.jpg");
  background-color: #042b38;
  margin-top: -10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
.counter .item span {
  display: inline-block;
  font-size: 20px;
  color: #777;
}
.counter .item span.num {
  color: #a98963;
  font-size: 30px;
}
.counter .item span.num + h5 {
  color: #f9e6cf;
}

.index-blog {
  width: 100%;
  display: inline-block;
  padding: 35px 0;
}
.index-blog .blog-bx {
  padding: 20px;
  width: 100%;
  display: inline-block;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}
.index-blog .blog-bx:hover {
  border-color: #999;
}
.index-blog .blog-bx figure {
  width: 100%;
  height: 200px;
  background-color: #000;
  position: relative;
}
.index-blog .blog-bx figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.9;
}
.index-blog .blog-bx figure figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #00000075;
  color: #d6cfcf;
  padding: 5px;
  font-size: 12px;
}
.index-blog .blog-bx figure figcaption a {
  color: #fff;
}
.index-blog .blog-bx .content span {
  display: inline-block;
  padding: 20px 10px 5px 10px;
  color: #666;
}
.index-blog .blog-bx .content h4 {
  margin: 10px 0;
  color: #212121;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  padding-bottom: 18px;
}
.index-blog .blog-bx .content h4:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 15px;
  height: 2px;
  background-color: #a98963;
}
.index-blog .blog-bx .content p {
  line-height: 2;
  color: #515151;
  height: 56px;
  overflow: hidden;
  padding-left: 10px;
}

.index-cus {
  width: 100%;
  display: inline-block;
  padding: 35px 0;
  background: url("img/back-dark1.jpg");
  background-size: cover;
  background-position: center center;
  margin-bottom: -10px;
  position: relative;
}
.index-cus .item {
  border: 1px solid#989393;
  padding: 10px 10px 30px 10px;
}

.index-cus:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #000;
  opacity: 0.5;
}
.index-cus .comments-index .item .fa-quote-right {
  color: #e0d7d7;
}
.index-cus .comments-index .comments-index-slider img {
  height: 70px;
  width: 70px;
  object-fit: cover;
  opacity: 0.9;
}
.index-cus .comments-index .comments-index-slider span.name_c {
  font-size: 13px;
  display: block;
  color: #cec1c1;
  margin: 10px 0;
}
.index-cus .comments-index .comments-index-slider p {
  padding: 20px;
  line-height: 2.5;
  color: #fffafa;
  font-size: 12px;
  background-color: #fbfbfb85;
  margin: 20px 20px 10px 20px;
  position: relative;
}
.index-cus .comments-index .comments-index-slider p:before {
  position: absolute;
  content: "";
  border-top: 8px solid #fbfbfb85;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-bottom: 8px solid transparent;
  top: auto;
  right: 10px;
  left: auto;
  bottom: -16px;
}
.index-cus .comments-index .comments-index-slider span i {
  color: #d0c68f;
}
.index-cus .comments-index .comments-index-slider button {
  outline: 0;
}

.index-products {
  padding: 35px;
}
.index-products .item {
  border: 1px solid #ddd;
}
.index-products .item figure {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.index-products .item figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.index-products .item figure figcaption.fig-heart {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  color: #212121;
  padding: 15px;
}
.index-products .item figure figcaption.fig-pic {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.index-products .item figure:hover figcaption.fig-pic {
  opacity: 1;
  transition: all 0.3s ease;
}

.contact-baner {
  width: 100%;
  display: inline-block;
  background: url(img/back-dark1.jpg);
  filter: drop-shadow(2px 2px 15px #042b38);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 35px 0;
  color: #eee;
  margin-top: -5px;
}
.contact-baner p {
  margin-bottom: 0;
  margin-top: 5px;
}

.footer-wrap {
  width: 100%;
  display: inline-block;
  background-color: #042b38;
  padding: 25px 0 0 0;
  color: #777;
  background-image: url("img/map-dots.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  
}
.footer-wrap span.title {
  display: block;
  padding: 15px 0;
  color: #c7c7c7;
  font-size: 16px;
}
.footer-wrap .footer-item {
  line-height: 2;
  text-align: justify;
  
}
.footer-wrap .footer-item .social-items li {
  display: inline-block;
}
.footer-wrap .footer-item .social-items li a {
  width: 30px;
  height: 30px;
  line-height: 35px;
  display: inline-block;
  background-color: #312e2e;
  text-align: center;
  font-size: 20px;
  color: #7d7d7d;
  margin-left: 3px;
  border-radius: 50%;
}

.footer-wrap .footer-item .menu li {
  width: 100%;
  margin-bottom: 4px;
  border-bottom: 1px dashed #555;
}
.footer-wrap .footer-item .menu li:last-child {
  border-bottom: 0;
}
.footer-wrap .footer-item .menu li a {
  display: block;
  padding: 5px 0;
  color: #7d7d7d;
  transition: all 0.3s ease;
  position: relative;
  right: 0;
}
.footer-wrap .footer-item .menu li a:hover {
  transition: all 0.3s ease;
  right: 8px;
}
.footer-wrap .footer-item .menu li a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  top: 18px;
  right: -9px;
  background-color: #777;
  transition: all 0.3s ease;
}
.footer-wrap .footer-item .menu li a:hover:before {
  width: 5px;
  transition: all 0.3s ease;
}
.footer-wrap .footer_gallery_box {
  margin-bottom: 25px;
}
.footer-wrap .gallery_item_footer img {
  height: 120px;
  width: 100%;
  object-fit: cover;
  padding: 2px;
}
.footer-wrap .end-footer {
  width: 100%;
  display: inline-block;
  padding: 20px 0;
  border-top: 1px solid #555;
}
.footer-wrap .end-footer li {
  display: inline-block;
}
.footer-wrap .end-footer a {
  font-size: 14px;
  color: #7d7d7d;
  margin-right: 8px;
}
.page-baner-wrap {
  width: 100%;
  display: inline-block;
  background: url("img/back-dark1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.bread-crumbs {
  padding: 35px 0 50px 0;
  color: #fff;
}
.bread-crumbs span.pg-title {
  display: block;
  margin: 15px 0;
  font-size: 17px;
}
.bread-crumbs a {
  color: #fff;
}
.page-body {
  display: inline-block;
  width: 100%;
  padding: 15px 0;
}
.page-body .blog-bx {
  margin-bottom: 30px;
}
.page-body .item-pro {
  margin-bottom: 30px;
}

.single-bodys .post-thumb img {
  border-radius: 4px;
}
.single-bodys .post-thumb .meta {
  margin: 30px 0;
  padding-right: 5px;
}
.single-bodys .post-thumb .meta a {
  color: #555;
  padding-left: 10px;
}
.single-bodys .post-thumb .meta span.author-post {
  display: block;
  padding: 10px 0 20px;
  color: #666;
  font-size: 13px;
  border-top: 1px dashed #eee;
  margin-top: 10px;
}
.single-bodys .post-thumb .meta span.date-post {
  display: block;
  color: #000;
}
.single-bodys .post-thumb .share-post {
  margin-bottom: 30px;
  padding: 10px 0;
  border: 1px solid #eee;
  text-align: center;
}
.single-bodys .post-thumb .share-post ul {
  margin-bottom: 0;
}
.single-bodys .post-thumb .share-post li {
  display: inline-block;
}
.single-bodys .post-thumb .share-post li a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 33px;
  font-size: 20px;
  text-align: center;
  background-color: #eee;
  color: #777;
  border-radius: 4px;
  margin: 0 3px;
}
.single-bodys .sidebar-post,
.sidebar-product .sidebar-post {
  margin: 30px 0;
}
.single-bodys .sidebar-post span.title,
.sidebar-product .sidebar-post span.title {
  display: block;
  padding: 15px 0;
  position: relative;
  margin-bottom: 15px;
  font-size: 15px;
}
.single-bodys .sidebar-post span.title:after,
.sidebar-product .sidebar-post span.title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-top: 2px dashed #333;
}
.single-bodys .sidebar-post ul li,
.sidebar-product .sidebar-post ul li {
  width: 100%;
  margin-bottom: 5px;
  position: relative;
}
.single-bodys .sidebar-post ul li span,
.sidebar-product .sidebar-post ul li span {
  position: absolute;
  top: 11px;
  left: 11px;
  right: auto;
}
.single-bodys .sidebar-post ul li a,
.sidebar-product .sidebar-post ul li a {
  display: block;
  padding: 12px 8px;
  background-color: #faf4f4;
  color: #777;
  transition: all 0.3s ease;
}
.single-bodys .sidebar-post ul li a:hover,
.sidebar-product .sidebar-post ul li a:hover {
  background-color: #e6dede;
}

.single-bodys .content h1 {
  margin: 20px 0;
  font-size: 20px !important;
  color: #212121;
  position: relative;
  line-height: 2;
}
.single-bodys .content p {
  line-height: 2.2;
  color: #515151;
  padding-bottom: 15px;
  font-size: 15px;
}
.single-bodys .content img {
  display: table;
  margin: 10px auto;
}
.single-bodys .post-tags a {
  display: inline-block;
  padding: 3px 7px;
  background-color: #eee;
  color: #777;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 3px;
}
.tooltip-inner {
  font-family: "hamdeli" !important;
}
.page-side span.author-post {
  border-top: 0 !important;
}
.side-search {
  width: 100%;
  margin-bottom: 15px;
}
.side-search form {
  width: 100%;
  position: relative;
}
.side-search form input {
  width: 100%;
  height: 40px;
  border: 0;
  border-bottom: 1px solid #eee;
  padding-right: 5px;
  background-color: #fff;
  outline: 0;
}
.side-search form button {
  background-color: #fff;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  color: #a09e9e;
  outline: 0;
  font-size: 20px;
}

.portfolio-body .portfolio-sidebar {
  display: inline-block;
  width: 100%;
  padding: 15px;
  background-color: #042b38 !important;
  background-image: url("img/bg-pinfo-min.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 4px;
  margin-bottom: 30px;
}
.portfolio-body .portfolio-sidebar ul li {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  padding-bottom: 15px;
  color: #fff;
  border-bottom: 1px dashed #484545;
}
.portfolio-body .portfolio-sidebar ul li:last-child {
  border-bottom: 0;
}
.portfolio-body .portfolio-sidebar ul li span:nth-child(1) {
  display: block;
  padding: 5px;
}
.portfolio-body .portfolio-sidebar ul li span:nth-child(2) {
  display: block;
  padding: 5px 25px 0 0;
}
.portfolio-body .portfolio-content h1 {
  font-size: 20px !important;
  color: #333;
  position: relative;
  margin-bottom: 25px;
}
.portfolio-body .portfolio-content .meta {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  
}
.portfolio-body .portfolio-content .meta a,
.portfolio-body .portfolio-content .meta span {
  font-size: 12px;
  color: #666;
  padding: 0 10px;
  text-align: justify !important;
  line-height: 1rem;
}
.portfolio-body .portfolio-content p {
  line-height: 2.2;
  font-size: 14px !important;
  color: #515151;
  padding-bottom: 15px;
  text-align: justify !important;
  margin: 15px 6px 16px 138px !important;
 
}
.portfolio-body .portfolio-content img {
  display: table;
  margin: 10px auto;
}
.portfolio-body .sidebar-post {
  margin: 0 0 30px 0;
}
.portfolio-body .sidebar-post span.title {
  display: block;
  padding: 15px 0;
  position: relative;
  margin-bottom: 15px;
  font-size: 15px;
}
.portfolio-body .sidebar-post span.title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-top: 2px dashed #333;
}
.portfolio-body .sidebar-post ul li {
  width: 100%;
  margin-bottom: 5px;
  position: relative;
}
.portfolio-body .sidebar-post ul li span {
  position: absolute;
  top: 11px;
  left: 11px;
  right: auto;
}
.portfolio-body .sidebar-post ul li a {
  display: block;
  padding: 12px 8px;
  background-color: #faf4f4;
  color: #777;
  transition: all 0.3s ease;
}
.portfolio-body .sidebar-post ul li a:hover {
  background-color: #e6dede;
}

.portfolio-body .portfolio-gallery {
  margin: 15px 0;
}

.portfolio-body .portfolio-gallery .gallery-item {
  margin-bottom: 30px;
}
.portfolio-body .portfolio-gallery .gallery-item img {
  height: 250px;
  object-fit: cover;
}

.product-bodys .product-gallery figure {
  border: 1px solid #eee;
}
.product-bodys .product-gallery figure img {
  display: table;
  margin: 0 auto;
}
.product-bodys .product-gallery .pr-gallery-slider {
  margin-top: 15px;
}
.product-bodys .product-gallery .pr-gallery-slider .item {
  margin: 3px;
}
.product-bodys .product-gallery .pr-gallery-slider img {
  height: 100px;
  object-fit: contain;
}

.product-bodys .product-exp h1 {
  margin: 10px 0;
  padding-bottom: 10px;
  font-size: 17px !important;
  color: #444;
  border-bottom: 1px solid #eee;
}
.product-bodys .product-exp .meta {
  margin: 10px 0;
  padding-bottom: 10px;
  font-size: 13px !important;
  color: #444;
  border-bottom: 1px solid #eee;
}
.product-bodys .product-exp .meta a {
  font-size: 13px;
  color: #999;
  padding: 8px 0 10px 0;
  display: inline-block;
}
.product-bodys .product-exp .meta span {
  display: block;
  padding: 5px;
}
.product-bodys .product-exp .meta i.fa-star {
  color: gold;
}
.product-bodys .product-exp p {
  line-height: 1.8;
  color: #515151;
  text-align: justify;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.sidebar-product .latest-product-li ul li a {
  background-color: #fff;
  border-bottom: 1px dashed #eee;
}
.sidebar-product .latest-product-li ul li:last-child a {
  border-bottom: 0;
}
.product-bodys .product-detail {
  margin: 30px 0;
}
.product-bodys .product-detail p {
  line-height: 2.2;
  color: #515151;
  text-align: justify;
}
.nav-tabs > li > a {
  color: #212121 !important;
  border-radius: 0;
  margin-right: 0 !important;
}
.product-bodys .product-detail .tab-content {
  padding: 15px 10px 0 0;
}

.releated-products span.title {
  display: block;
  padding: 15px 0;
  position: relative;
  margin-bottom: 15px;
  font-size: 15px;
}
.releated-products span.title:after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0 auto;
  width: 30px;
  height: 2px;
  border-top: 2px dashed #333;
}
.pagination-bx li {
  display: inline-block;
}
.pagination-bx li a,
.pagination-bx li span {
  position: relative;
  float: right;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination-bx ul.page-numbers {
  margin: 0 auto;
  display: table;
}
.pg_blnk {
  line-height: 2.2;
  font-size: 15px;
}
.n_found span {
  font-size: 60px;
  color: #515151;
}
.modal-header {
  padding: 18px;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}
.modal-header .close {
  margin-top: -2px;
  position: absolute;
  left: 10px;
  right: auto;
  top: 11px;
}

.mycomments-body {
  margin: 30px 0;
}
.comment-author {
  margin-bottom: 10px;
  color: #222;
  display: inline-block;
}
.comments h3#comments {
  font-size: 16px !important;
  margin-bottom: 18px;
}
#comments h2.comments-title {
  font-size: 16px !important;
  margin-bottom: 18px;
}
#respond #reply-title {
  font-size: 17px !important;
}
#respond #reply-title:before {
  content: "\f0e5";
  font-family: FontAwesome;
  margin-left: 5px;
  color: #2a2b2b;
}
#respond p.comment-notes {
  padding-right: 20px !important;
  margin-bottom: 17px !important;
  line-height: 2;
}
#commentform label {
  display: inline-block;
  width: 15%;
}
#commentform input::placeholder,
#commentform textarea::placeholder {
  color: rgb(143, 141, 141);
}
#commentform textarea {
  width: 100%;
  resize: none;
  background-color: #fdfcfc6b;
  border: 1px solid #e2e0e0;
  padding: 8px;
  border-radius: 2px;
}
#commentform textarea:focus {
  outline: 0 !important;
}
#commentform input {
  width: 100%;
  height: 40px;
  background-color: #fdfcfc6b;
  border: 1px solid #e2e0e0;
  padding-right: 8px;
  border-radius: 2px;
  outline: 0;
}
.comment-form-cookies-consent {
  display: none;
}
#commentform input[type="submit"] {
  width: auto;
  height: 35px;
  padding: 0 5px;
  color: #fff;
  background-color: #2a2b2b;
  border-radius: 2px;
  border: 1px solid #2a2b2b;
  margin: 0 120px !important;
  font-size: 13px;
  float: left;
  outline: 0;
  margin-bottom: 15px !important;
  
}
#commentform input[type="submit"]:hover {
  color: #2a2b2b;
  background-color: #fff;
}
.comment-meta {
  border-bottom: 1px dotted #f3efef;
  padding-bottom: 10px;
  display: inline-block;
  float: left;
}
.comment-meta a {
  color: #21aeea;
}
.comment-body {
  width: 100%;
  background-color: #f7f3f32e;
  margin: 5px 0;
  padding: 12px;
  border: 1px solid #f4f4f4;
  border-right: 3px solid #c5c01c;
}
h3#comments {
  margin-bottom: 25px;
}
ul.children .comment-body {
  border-right: 3px solid #d7e6f5 !important;
}
.comment-body p {
  color: #616161;
  font-size: 13px;
  line-height: 2;
  padding: 0px 0;
  margin-bottom: 0;
}
.comment-notes span {
  width: 100% !important;
}
.comment-notes .required {
  display: none !important;
}
.comment-reply-link {
  padding: 6px;
  margin: 8px 0;
  color: rgb(8, 211, 238);
  background-color: transparent;
  border-radius: 2px;
  width: 60px;
  display: inline-block;
  text-align: center;
  height: 33px;
  font-size: 15px;
  border: 1px solid rgb(8, 211, 238);
  display: none;
}
.avatar {
  width: 55px;
  height: 55px;
  margin-left: 8px;
  border-radius: 3px;
}
.comments-body #comments {
  font-size: 20px;
}
.comments-body #comments:before {
  content: "\f112";
  font-family: FontAwesome;
  margin-left: 5px;
  color: #21aeea;
}
.commentlist ul.children {
  width: 98%;
  margin-right: 2%;
}
.commentlist ul.children li {
  padding: 0;
}
.comment-body cite.fn {
  font-style: normal !important;
}
.comment-body span.says {
  display: none;
}
.contact-us-body form input[type="text"] {
  width: 100% !important;
  border: 1px solid #ddd !important;
  padding-right: 10px !important;
  outline: 0 !important;
}
.contact-us-body form textarea {
  width: 100% !important;
  border: 1px solid #ddd !important;
  padding-right: 10px !important;
  outline: 0 !important;
}
.contact-us-body .gform_wrapper .top_label .gfield_label,
.contact-us-body .gform_wrapper legend.gfield_label {
  display: none !important;
}

.contact-us-body form input[type="submit"] {
  float: left !important;
  width: auto !important;
  height: auto !important;
  padding: 1px 25px !important;
  background: #222 !important;
  border: 0 !important;
  color: #eee !important;
}
.contact-us-body .gform_wrapper .gform_footer {
  padding: 0 !important;
  margin: 0 !important;
}
.about-content {
  width: 100%;
  display: inline-block;
  line-height: 2.5;
  text-align: justify;
  color: #515151;
  margin: 0 0 30px 0;
}
.team-members {
  width: 100%;
  display: inline-block;
  line-height: 2;
  margin: 30px 0;
}
.team-members .member-item {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 2px;
  height: 400px !important;
}
.team-members .member-item img {
  filter: grayscale(1);
  height: 220px !important;
}
.team-members .member-item figcaption {
  margin: 10px 0 0 0;
  color: #222;
}
.team-members .member-item span {
  display: block;
  font-size: 17px;
  margin-bottom: 15px;
}
.team-members .member-item ul li {
  display: inline-block;
}
.team-members .member-item ul li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 43px;
  background: #fff;
  color: #9c9696;
  margin: 1px;
  font-size: 18px;
  border: 1px solid #cac8c8;
  border-radius: 2px;
}
html[dir="rtl"] .gform_wrapper span.ginput_left,
html[dir="rtl"] .gform_wrapper ul.gform_fields li.gfield {
  padding: 0 !important;
}
#gform_submit_button_1 {
  position: relative;
  top: 20px;
  display: block;
  float: none;
  bottom: 20px !important;
}
#gform_wrapper_1{
  margin-bottom: 20px;
}
#gform_1 > div.gform-footer.gform_footer.top_label {
  float: none;
  display: flex;
  justify-content: center;
}


/* portfolio */
.portfolio-content pre{
    padding-bottom: 24px !important;
       margin-bottom: 24px !important;
       font-size: 14px !important;
       font-family: "hamdeli" !important;
       line-height: 3rem;
}
.portfolio-content pre span.title{
  font-weight: 700 !important;
}
 
span.token{
   font-family: "hamdeli" !important;
}


/* DONATE */

.donation-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Tahoma', 'Arial', sans-serif;
    line-height: 1.6;
}

.donation-header {
    text-align: center;
    margin-bottom: 40px;
}

.donation-header h1 {
    font-size: 24px;
    color: #042b38;
    margin-bottom: 10px;
}

.donation-header p {
    font-size: 16px;
    color: #666;
}

.donation-container {
    display: grid;
    gap: 30px;
}

.donation-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.donation-section h2 {
    font-size: 20px;
    color: #042b38;
    margin-bottom: 20px;
    text-align: center;
}

.bank-card {
    background: linear-gradient(135deg, #042b38, #075985);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.card-number {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 15px 0;
    direction: ltr;
    text-align: center;
}

.card-name {
    font-size: 14px;
    opacity: 0.9;
}

.copy-btn {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.method {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.method h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #042b38;
}

.online-pay-btn {
    background: #042b38;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.address-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.address-card h3 {
    font-size: 18px;
    color: #042b38;
    margin-bottom: 10px;
}

.needed-items ul {
    list-style: none;
    padding: 0;
}

.needed-items li {
    padding: 8px 0;
    font-size: 14px;
}


/*گالری عکس فوتر 


/* رسپانسیو */
@media (max-width: 768px) {
    .donation-page {
        padding: 15px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .card-number {
        font-size: 18px;
    }
}


/* end of donate */


/* footer-social icon */
.footer-box span.title {
  font-size: 14px;
  color: #87bab5;
}
.footer-box span.title{
  color: #c7c7c7;
  font-size: 16px;
}

.footer-box ul.social-ul{
  display: flex !important;
  margin-top: 10px;
   justify-content: center;
}

.footer-box ul.social-ul li{
 margin: 0 5px;

}
/* 
.footer-box ul.social-ul li a{
 font-size: 15px;
     color: #7d7d7d;

} */

.footer-box ul.social-ul li a i{
 font-size: 18px;
     color: #7d7d7d;

}

/* about page video*/
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 12; /* نسبت تصویر ویدیو */
    border-radius: 8px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* یا contain بسته به نیاز */
}
/*sania -amirseifi*/

.article-h1 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-h2 {
    font-size: 15px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    line-height: 1.4;
    color: #333;
}

.article-h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0 8px 0;
    line-height: 1.4;
    color: #444;
}

/* برای ریسپانسیو بودن */
@media (max-width: 768px) {
    .article-h1 {
        font-size: 18px;
    }
    
    .article-h2 {
        font-size: 16px;
    }
    
    .article-h3 {
        font-size: 15px;
    }
}



@media only screen and (min-width: 767px) {
  .gform_wrapper .gform_footer input.button,
  .gform_wrapper .gform_footer input[type="submit"],
  .gform_wrapper .gform_page_footer input.button,
  .gform_wrapper .gform_page_footer input[type="submit"] {
    margin: 0 !important;
  }
  

  .menu {  
    display: block; /* Show menu on larger screens */  
}  
.menu-toggle {  
    display: none; /* Hide toggle on larger screens */  
}  
.footer-wrap .footer_gallery_box {
  margin-bottom: 25px;
}

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


  .slider-content .item h4 {
    text-align: center;
  }
  .slider-content .item .text-left {
    text-align: center !important;
    
  }
  .slider-content {
    padding-bottom: 30px;
  }
  .about-us .text .text-left {
    text-align: center !important;
    margin-bottom: 30px;
  }
  .about-us .pic img {
    height: 250px;
    width: 250px;
  }
  .contact-baner {
    text-align: center;
  }
  .contact-baner a {
    margin: 15px 0;
  }
  .footer-wrap .end-footer,
  .end-menu {
    text-align: center;
  }
  .end-menu {
    padding-top: 10px;
  }
  .top-search span a {
    padding: 17px 2px;
  }
  .m_logo img {
    max-height: 67px;
    
  max-width: 100%;
   
    max-height: 67px;
    object-fit: contain;
  
  }

  .product-exp {
    margin-bottom: 30px;
  }
  .contact-us-body form input[type="submit"] {
    width: 100% !important;
    text-align: center !important;
  }.gallery_item_footer{
    margin-top: 30px;
  }
.gallery_item_footer img {
      margin-bottom: -30px !important;
    }
.coopy-r{
  margin-top: 40px !important;
  margin-bottom: 15px !important;

}
  .bread-crumbs span.pg-title {
      font-size: 14px;
  }
  .single-bodys .content p {
    font-size: 13px;
    text-align: justify;
}
   
}
@media only screen and (max-width: 992px) {
  .m_menu {
    display: none;
     }

     .mob-menu-header-holder {
      font-weight: bold;
      top: 0px;
      left: 40%;
      color: #000;
      display: inline-block;
      z-index: 10000;
      width: 100px;
      background: red;
      /* right: 0; */
      padding: 0 0;}

.mobmenur-container {
  display: flex !important;
  justify-content: center !important;
  top: 55px;
  margin-right: 134px;
  margin-top: 2px;
}

  .mobmenur-container i {
    line-height: 25px;
    font-size: 38px !important;
    float: right;
    top: 38px !important;
   
}
.mob-menu-logo-holder > .headertext span, .mobmenu input.mob-menu-search-field {
   display: none !important;
}
    .mobmenul-container, .mobmenur-container {
        position: absolute;
        left: 43% !important;
         top: 21px !important;
    }

    .mob-menu-header-holder {
      
         position: static !important; 

    }
       
  .slider-wrap {
    height: auto;
  }
  .counter .item {
    margin-bottom: 30px;
  }
  .intro .pic img {
    height: 40px;
  }
  .index-products .item,
  .index-blog .blog-bx,
  .team-members .member-item {
    margin-bottom: 30px;
  }
  /* .footer_gallery_box{
      margin-right: 30px;
  }
   */
.gallery_item_footer img {
      margin-bottom: 2px;
    }
}

