@import url("fontiran.css");
:root {
    --color-background: #f9f9f9;
    --color-text: #333333;
    --color-secondary: #666666;
    --color-accent: #0d6efd;
    --color-border: #dddddd;
    --font-base: IRANSansX, Tahoma, sans-serif;
    --line-height: 1.8;
    --max-content-width: 800px;
}

body {
    background-color: var(--color-background);
    font-family: var(--font-base);
    color: var(--color-text);
    font-size: 16px;
    line-height: var(--line-height);
    margin: 0;
    padding: 0;
    direction: rtl;
}

/* برای تنظیم عرض متون */
.container-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

 


/* nav */ 
.navbar{
    transition: top 0.3s;
    background-color: white;
    box-shadow: 0px 4px 29px rgba(0, 0, 0, 0.10);
}

.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  } 

.nav-link{
    color: #515151;
    font-size: 14px;
    font-weight: bold;
}

.nav-link:hover{
    color: #399DC8;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 15px;
    padding-left:0px ;
}

.navbar-brand img{
width: 60px;
height: 60px;
}

button.btn.submit {
    position: relative;
    left: 41px;
    border-radius: 10px;
    background-color: #399DC8;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width)* -1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

input.form-control.search{
    border-radius: 20px !important;
    background-color: white;
    border: 1px solid #399DC8;
    width: 175px;

}

/* end nav */


/* slider */
.carousel button.active {
    background-color: #399DC8 !important;
}
.carousel-item {
    position: relative;
  }

  .carousel-item img {
    width: 100%;
    height: auto;
  }
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(77.56, 77.56, 77.56, 0.42) 0%, rgba(0, 0, 0, 0.42) 100%);    z-index: 1;
  }

  .carousel-caption {
    z-index: 2; /* بالاتر از اورلی */
  }
  span.carousel-control-next-icon{
    background-color: #399DC8 !important;
    border-radius: 50%;
    padding: 10px !important;
  }
  span.carousel-control-prev-icon {
    background-color: #399DC8 !important;
    border-radius: 50%;
    padding: 10px !important;
}

   /* CSS for zoom effect */
   div#carouselExampleCaptions.carousel-item {
    transition: transform 0.5s ease;
  }

  div#carouselExampleCaptions .carousel-item:hover {
    transform: scale(1.1); /* Zoom in by 10% */
  }


/* end slider */


/* content */
.boxNews a{
    text-decoration: none;
    color: white;
}
.boxNews .titr{
    background-color: #399DC8;
    border-radius: 10px;
    color: white;
    font-size: 12px;
    width: auto !important;
    padding: 10px;
    margin-bottom: 15px;

}
.boxNews .date{
    color: #9C9C9C;
    margin-bottom: 15px;
    font-size: 13px;
    display: flex;
    justify-content: left;

}
svg.bi.bi-calendar-fill{
    margin-left: 3px;
}
.boxNews{
    background-color: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding: 25px;
    padding-top: 15px;
    padding-bottom: 5px;

}

.boxNews .newsText img{
    width:100% !important;
    height: 203px;
    border-radius: 10px;
    margin-top: 12px;
}

.cardNews{
    background-color: #F1F1F1;
    border-radius: 10px;
}
 h6.txtNews{
    width: auto !important;
    color: #4E4E4E !important;
    font-size: 15px;
    text-align: justify;
}

.reporterCard{
    background-color: #F1F1F1;
    border-radius: 10px;
    padding: 6px;
    padding-bottom: 0px;

}
.reporter span{
    font-weight: bold;
    color: #4E4E4E;
    font-size: 15px;
}

.reporter h6{
    color: #4E4E4E;
    font-size: 15px;
}

/* category */
.ezy__epcategory9 {
    /* Easy Frontend variables */
    --ezy-theme-color: #399DC8;
    --ezy-theme-color-rgb: 13, 110, 253;
    --ezy-card-bg: #ffffff;
    --ezy-card-shadow: 0px 6px 44px rgba(173, 174, 197, 0.2);
    --ezy-border-color: #e8e7f3;
    --ezy-img-bg: #f8f8f8;
      color: var(--bs-body-color);
    overflow: hidden;
    position: relative;
    padding: 100px 0;
    z-index: 1;
  }

  .ezy__epcategory9 .titr {
    background-color: #399DC8;
    border-radius: 10px;
    font-size: 14px;
    width: 110px !important;
    padding: 10px;
    margin-bottom: 15px;
  }
  

  .ezy__epcategory9 .titr span {
    color: white;
  }
  /* Gray Block Style */
  .gray .ezy__epcategory9,
  .ezy__epcategory9.gray {
    /* Bootstrap variables */
    --bs-body-bg: rgb(246, 246, 246);
  }
  
  /* Dark Gray Block Style */
  .dark-gray .ezy__epcategory9,
  .ezy__epcategory9.dark-gray {
    /* Bootstrap variables */
    --bs-body-color: #ffffff;
    --bs-body-bg: rgb(30, 39, 53);
  
    /* Easy Frontend variables */
    --ezy-card-bg: rgb(30, 39, 53);
    --ezy-card-shadow: 0px 6px 44px rgba(0, 0, 0, 0.2);
    --ezy-img-bg: #242e3e;
    --ezy-border-color: rgba(255, 255, 255, 0.15);
  }
  
  /* Dark Block Style */
  .dark .ezy__epcategory9,
  .ezy__epcategory9.dark {
    /* Bootstrap variables */
    --bs-body-color: #ffffff;
    --bs-body-bg: rgb(11, 23, 39);
  
    /* Easy Frontend variables */
    --ezy-card-bg: rgb(30, 39, 53);
    --ezy-card-shadow: 0px 6px 44px rgba(0, 0, 0, 0.2);
    --ezy-img-bg: #242e3e;
    --ezy-border-color: rgba(255, 255, 255, 0.15);
  }
  

  
  @media (min-width: 768px) {
  
  }
  .ezy__epcategory9-item {
    background-color: var(--ezy-card-bg);
    box-shadow: var(--ezy-card-shadow);
    border: 1px solid var(--ezy-border-color);
    border-radius: 20px 20px 10px 10px;
    min-height: 119px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .ezy__epcategory9-img {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ezy-img-bg);
    border: 1px solid var(--ezy-border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    width: 120px;
  }
  .ezy__epcategory9-img img {
    width: 80px;
  }
  
  .ezy__epcategory9 a {
    text-decoration: none;
    color: var(--bs-body-color);
    transition: 0.4s;
    cursor: pointer;
  }
  .ezy__epcategory9 a:hover h4 {
    color: var(--ezy-theme-color);
  }
    .ezy__epcategory9 a h4 {
        transition: 0.4s;
        font-size: 18px !important;
        color: #4E4E4E;
        padding-top: 65px;
    }
  .ezy__epcategory9-rating {
    font-size: 14px;
    color: #ffd451;
  }
  
  /* arrows */
  .ezy__epcategory9-arrow-left {
    position: absolute;
    top: 100%;
    left: 30%;
  }
  .ezy__epcategory9-arrow-right {
    position: absolute;
    top: 100%;
    right: 30%;
  }
  @media (min-width: 768px) {
    .ezy__epcategory9-arrow-left {
      left: 40%;
    }
    .ezy__epcategory9-arrow-right {
      right: 40%;
    }
  }
  @media (min-width: 991px) {
    .ezy__epcategory9-arrow-left {
      top: 50%;
      transform: translateY(-50%);
      left: -1%;
    }
    .ezy__epcategory9-arrow-right {
      top: 50%;
      transform: translateY(-50%);
      right: -1%;
    }
  }
  @media (min-width: 1600px) {
    .ezy__epcategory9-arrow-left {
      left: -10%;
    }
    .ezy__epcategory9-arrow-right {
      right: -10%;
    }
  }
  
  .ezy__epcategory9-arrow-left,
  .ezy__epcategory9-arrow-right {
    font-size: 24px;
    background-color: #399DC8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
    opacity: 0.8 !important;
  }
  .ezy__epcategory9-arrow-left:hover,
  .ezy__epcategory9-arrow-right:hover {
    color: #ffffff;
    opacity: 1 !important;
  }



  /* news technology */
  .news-technology .titr{
    background-color: #399DC8;
    border-radius: 10px;
    font-size: 14px;
    width:auto !important;
    padding: 10px;
    margin-bottom: 15px;
  }

  .news-technology .titr a{
    color: white;
    text-decoration: none;
  }

  .technology-txt{
    text-align: justify;
  }

  .news-technology .titr span  {
    color: white;
    text-decoration: none;
  }
  .news-technology .paragraph{
    color: #4E4E4E;
    font-size: 15px;
  }
  .techno-card .date{
    color: #9C9C9C;
    margin-bottom: 15px;
    font-size: 13px;
    display: flex;
    justify-content: left !important;
  }

  .techno-card{
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.10);
  }

 .techno-card img{
    border-radius: 20px !important;
    height: 150px;
    width: 100%;
}

  .card-body {
    text-align: justify;
    height: 170px;

}
.card-body .txtTitr{
    background-color: #399DC8;
    border-radius: 10px;
    font-size: 14px;
    width: auto !important;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: right; 
    color: white;
}

/* farhangi news */
.farhangi .titr{
  background-color: #399DC8;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  width: auto !important;
  padding: 10px;
  margin-bottom: 15px;

}

.ads{
  padding-bottom: 10px;
}
.ads img{
  width: 100%;
  height: 180px;
  border-radius: 10px;
}

.farhangCard{
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 25px;
  /* padding-top: 15px;
  padding-bottom: 15px; */
  height: 634px;
  overflow-y: scroll;
  box-sizing: border-box; 
  /* padding-right: 22px; */
}


.farhangCard::-webkit-scrollbar {
  width: 10px;
}

.farhangCard::-webkit-scrollbar-thumb {
  background-color: #399DC8; 
  border-radius: 10px; 
  border: 2px solid #fff; 
}

.farhangCard::-webkit-scrollbar-thumb:hover {
  background-color: #1d79b2; 
}

.farhangCard::-webkit-scrollbar-track {
  background-color: #EDEDED; 
  border-radius: 10px; 
}


.adsBottom{
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.adsBottom img{
  width: 100%;
  height: 180px;
  border-radius: 10px;
}


/* video */
.videobox{
  background-image: url("../image/video.png");
  /* background-position:center; */
  background-size:fill; 
  background-repeat: no-repeat;
  height:100%;
  /* border-radius: 10px; */
  position: absolute;
  top: 20px;
  right: -18px;
}

.video-txt{
  text-align: justify;
}

.other-video{
  /* padding-top: 80px !important; */
  text-align: center;
}


a.bg-white {
  position: absolute;
  top: 159px;
}


.video-item {
  background-color: white;
  padding: 20px; 
  border-radius: 10px;
  box-shadow: 0px 4px 29px rgba(0, 0, 0, 0.10);
  margin-bottom: 20px;
}
.other-video iframe{
  border-radius: 10px;
  width: 100%;
  height: 200px;
}



/* استایل برای کپشن */
.video-caption {
  background-color: #EDEDED;
  color: #4E4E4E; /* رنگ متن */
  padding: 10px; /* فاصله داخلی */
  border-radius: 10px; /* گوشه‌های گرد */
  text-align: center; /* تراز کردن متن در وسط */
  margin-top: 10px; /* فاصله از ویدیو */
}

.continueBtn{
  background-color: #1d79b2;
  border-radius: 10px;
  padding: 10px;
  color: white;
}


.continueBtn:hover{
  background-color: #114b6e;
  border-radius: 10px;
  padding: 10px;
  color: white;
}





/* last news */
.last-news{
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 25px;
  padding-top: 15px;
  padding-bottom: 5px;

}

.last-news .titr{
  background-color: #399DC8;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  width: auto !important;
  padding: 10px;
  margin-bottom: 15px;

}

.last-news a{
  text-decoration: none;
  color: white;
}

.last-news-img img{
  width: 100%;
  border-radius: 10px;
}



.card-last-News{
  background-color: #F1F1F1;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
}

.card-last-News .txtNews p{
  font-style: normal;
  font-size: 15px;
  color: #4E4E4E;
  text-align: justify;

}


.LSTnews{
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 25px;
  height: 500px;
  overflow-y: scroll;
  box-sizing: border-box; 
}


.LSTnews::-webkit-scrollbar {
  width: 10px;
}

.LSTnews::-webkit-scrollbar-thumb {
  background-color: #399DC8; 
  border-radius: 10px; 
  border: 2px solid #fff; 
}

.LSTnews::-webkit-scrollbar-thumb:hover {
  background-color: #1d79b2; 
}

.LSTnews::-webkit-scrollbar-track {
  background-color: #EDEDED; 
  border-radius: 10px; 
}



/* podcast */
.podcast .titr{
  background-color: #399DC8;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  width: auto !important;
  padding: 10px;
  margin-bottom: 15px;

}

.podcast a{
  text-decoration: none;
  color: white;
}

.podcast .podcast-txt{
  text-align: justify;
}

img.podcast-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 100%;
  margin: 0 auto;
  /* position: relative;
  bottom: 32px; */
}
.carousel-item .podcast-info {
  text-align: center;
}


.card.podcast-card {
  height:125px;
  padding-top: 10px !important;
  padding-left: 12px;
  padding-right: 10px;
  border-radius: 10px;
  border: none;
  /* box-shadow: 0px 4px 29px rgba(0, 0, 0, 0.10); */
  margin-bottom: 10px;

}

audio{
  height: 57px;
  padding-right: 5px !important;
}




/* comment */
.ezy__testimonial20 {
  /* Bootstrap variables */
  --bs-body-color: #212529;

  /* Easy Frontend variables */
  --ezy-theme-color: rgb(13, 110, 253);
  --ezy-theme-color-rgb: 13, 110, 253;
  --ezy-rating-rgb: 255, 215, 0;
  --ezy-item-bg: #ffffff;
  --ezy-item-shadow: 0px 6px 44px rgba(173, 174, 197, 0.2);
  --ezy-carousel-btn-shadow: -8px 25px 40px 0 rgba(0, 0, 0, 0.2);

  color: var(--bs-body-color);
  overflow: hidden;
  padding: 60px 0;
}



.ezy__testimonial20 .img-comment{
  border-radius: 100px;
  width: 100%;
  height: 80px;
}
.ezy__testimonial20 h5{
  padding-right: 20px;
}

.ezy__testimonial20 p{
text-align: justify;
}



@media (min-width: 768px) {
  .ezy__testimonial20 {
    /* padding: 100px 0; */
  }
}

/* Gray Block Style */
.gray .ezy__testimonial20,
.ezy__testimonial20.gray {
  /* Bootstrap variables */
  --bs-body-bg: rgb(246, 246, 246);

  /* Easy Frontend variables */
  --ezy-item-bg: #fff;
}

/* Dark Gray Block Style */
.dark-gray .ezy__testimonial20,
.ezy__testimonial20.dark-gray {
  /* Bootstrap variables */
  --bs-body-color: #ffffff;
  --bs-body-bg: rgb(30, 39, 53);

  /* Easy Frontend variables */
  --ezy-item-bg: rgb(11, 23, 39);
  --ezy-item-shadow: 0px 6px 44px rgba(0, 0, 0, 0.2);
  --ezy-carousel-btn-shadow: -8px 25px 40px 0 rgba(0, 0, 0, 0.2);
}

/* Dark Block Style */
.dark .ezy__testimonial20,
.ezy__testimonial20.dark {
  /* Bootstrap variables */
  --bs-body-color: #ffffff;
  --bs-body-bg: rgb(11, 23, 39);

  /* Easy Frontend variables */
  --ezy-item-bg: rgb(30, 39, 53);
  --ezy-item-shadow: 0px 6px 44px rgba(0, 0, 0, 0.2);
  --ezy-carousel-btn-shadow: -8px 25px 40px 0 rgba(0, 0, 0, 0.2);
}

.ezy__testimonial20-heading {
  font-weight: bold;
  font-size: 25px;
  line-height: 25px;
}

@media (min-width: 768px) {
  .ezy__testimonial20-heading {
    font-size: 45px;
    line-height: 45px;
  }
}

.ezy__testimonial20-sub-heading {
  font-size: 18px !important;
  line-height: 1.6;
}

.ezy__testimonial20-item {
  background-color: var(--ezy-item-bg);
  box-shadow: var(--ezy-item-shadow);
  border-radius: 15px;
  transition: transform 0.25s ease-in-out;
}

.ezy__testimonial20-item:hover {
  transform: translateY(-5px);
}

.ezy__testimonial20-item > img {
  border-radius: 15px;
  margin-top: -85px;
}

.ezy__testimonial20-content * {
  color: var(--bs-body-color);
}

.ezy__testimonial20-social-links a {
  display: inline-block;
  opacity: 0.6;
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, color 0.25s ease-in-out;
}

.ezy__testimonial20-social-links a:hover {
  transform: translateY(5px);
  color: var(--bs-body-color);
  opacity: 1;
}

.ezy__testimonial20-rating [class*="fa-"]:not(.active),
.ezy__testimonial20-rating [class*="fa-"]:not(.active) * {
  font-size: 22px;
  color: rgba(var(--ezy-rating-rgb), 0.2);
}

.ezy__testimonial20-rating [class*="fa-"].active,
.ezy__testimonial20-rating [class*="fa-"].active * {
  font-size: 22px;
  color: rgba(var(--ezy-rating-rgb), 1);
}

.ezy__testimonial20 .carousel-control-prev,
.ezy__testimonial20 .carousel-control-next {
  position: relative;
  min-width: 50px;
  height: 50px;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 7px 25px 40px 0 rgba(0, 0, 0, 0.2);
  color: #040506;
  border: 1px solid #1d79b2;
}
.ezy__testimonial20 .carousel-control-prev:hover,
.ezy__testimonial20 .carousel-control-next:hover {
  color: var(--bs-body-color);
}

.ezy__testimonial20 p {
  line-height: 1.8;
}
  








/* ads */
.ezy__clients4 {
  /* Bootstrap variables */
  --bs-body-color: #28303b;
  /* Easy Frontend variables */
  --ezy-theme-color: rgb(13, 110, 253);
  --ezy-theme-color-rgb: 13, 110, 253;
  overflow: hidden;
  padding: 60px 0;
}



@media (min-width: 768px) {
  .ezy__clients4 {
    padding: 80px 0;
  }
}

/* Gray Block Style */
.gray .ezy__clients4,
.ezy__clients4.gray {
  /* Bootstrap variables */
}

/* Dark Gray Block Style */
.dark-gray .ezy__clients4,
.ezy__clients4.dark-gray {
  /* Bootstrap variables */
  --bs-body-color: #ffffff;
  --bs-body-bg: rgb(30, 39, 53);
}

/* Dark Block Style */
.dark .ezy__clients4,
.ezy__clients4.dark {
  /* Bootstrap variables */
  --bs-body-color: #ffffff;
  --bs-body-bg: rgb(11, 23, 39);
}

.ezy__clients4-heading {
  font-weight: bold;
  font-size: 25px;
  line-height: 25px;
  color: var(--bs-body-color);
}

@media (min-width: 768px) {
  .ezy__clients4-heading {
    font-size: 35px;
    line-height: 35px;
  }
}

.ezy__clients4-img {
  max-height: 80px;
}


img.ezy__clients4-img.img-fluid.img-ads{
  border-radius: 0px;
}


.ezy__clients4 a{
  text-decoration: none;
  color: white;
}
.ezy__clients4 .titr{
  background-color: #399DC8;
  border-radius: 10px;
  color: white;
  font-size: 12px;
  width: 120px !important;
  padding: 10px;
  margin-bottom: 15px;

}

/* end content */



/* footer */
footer {
  background-color: white;
  color: #fff;
  padding: 20px 0;
  margin-top: 90px !important;
  width: 100% !important;
  color: #495057;
  
}

.footer .footer-logo img{
  width: 40%;
}

.footer p{
  text-align: justify;
}

.footer .subscribe {
margin-top: -49px;
}

.footer .subscribe-form {
border-radius: 40px;
background: #F1F1F1;
padding: 3px;
-webkit-box-shadow: 0px -12px 21px -15px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px -12px 21px -15px rgba(0, 0, 0, 0.1);
box-shadow: 0px -12px 21px -15px rgba(0, 0, 0, 0.1);
}


.footer .subscribe-form .form-group {
position: relative;
margin-bottom: 0;
border-radius: 0;
}


.footer .subscribe-form .form-group input {
background: transparent !important;
border: none !important;
outline: none !important;
color: #399DC8!important;
font-size: 16px;
height: 56px;
border-radius: 0;
}
.form-control {
height: 52px;
background: #fff;
color: #000;
font-size: 18px;
border-radius: 0px;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.rounded-left {
border-top-left-radius: 0.25rem !important;
border-bottom-left-radius: 0.25rem !important;
box-shadow: none !important;
border: none !important;
}



.form-control {
display: block;
width: 100%;
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
-webkit-transition: border-color 0.15sease-in-out, -webkit-box-shadow 0.15sease-in-out;
transition: border-color 0.15sease-in-out, -webkit-box-shadow 0.15sease-in-out;
-o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out;
transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out, -webkit-box-shadow 0.15sease-in-out;
}


.footer .subscribe-form .form-group .submit {
color: #fff !important;
display: block;
width: 150px;
height: 56px;
font-size: 14px;
background: #399DC8 !important;
border: none;
letter-spacing: 1px;
text-transform: uppercase;
border-radius: 40px;
}

.footer .subscribe-form .form-group input {
background: transparent !important;
border: none !important;
outline: none !important;
color: rgba(0, 0, 0, 0.3) !important;
font-size: 16px;
height: 56px;
border-radius: 0;
}


.copyright{
text-align: center !important;
color: white;
}

.copyright img{
width: 85px;
}

.linkBOX{
padding-right: 100px;
}

.HotLink a{
text-decoration: none !important;
font-style: normal !important;
list-style-type: none !important;
margin-right: 2px;
margin-left: 0;
color: #4E4E4E;
}

.HotLink li {
padding-right: 4px;
border-right: 2px solid #399DC8;
}
.footer .hr-line{
  color: #399DC8;
}

.HotLink a:hover{
color: #399DC8;
}


ul.HotLink {
padding: 0;
}


.H5Social{
text-align: center;
}

.IcoSocial {
display: flex;
gap: 10px; 
justify-content: center;


}

.IcoSocial img{
width: 30px;
}


.SocialBOX {
display: flex;
align-items: center; 
background-color: #F1F1F1;
border-radius: 50%;
padding: 8px;
margin-bottom: 8px;
border: 1px solid #399DC8;

}


.end-footer {
    background-color: #399DC8;
    border-radius: 10px;
    text-align: center;
    padding: 20px 0 10px 0;
}
.scroll{
--bs-gutter-x: 0;
}








/* responcive */
@media (max-width: 480px) {
  .carousel-inner {
    display: flex;
    flex-wrap: nowrap;
  }
  
  .carousel-item {
    flex: 0 0 100%; /* هر اسلاید 100% عرض صفحه را می‌گیرد */
  }
  .carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: flex-end;
    align-content: space-around;
}

.carousel-item {
    flex: 0 0 100%; /* فقط یک آیتم در هر اسلاید */
    max-width: 100%; /* تنظیم عرض هر اسلاید به 100% */
}

.carousel-item .row {
    display: flex;
    justify-content: center; /* برای مرکزیت دادن آیتم‌ها */
    flex-wrap: nowrap; /* جلوگیری از افتادن آیتم‌ها زیر هم */
}

.carousel-item .col-12 {
    flex: 0 0 100%; /* هر آیتم به صورت 100% عرض اسلاید را می‌گیرد */
    max-width: 100%; /* عرض آیتم به 100% تغییر می‌کند */
}





  button.btn.submit {
    position: absolute;
    left: 2px;
    border-radius: 10px;
    background-color: #399DC8;
}
.navbar-toggler {
  background-color: #399DC8;
}
.navbar-toggler-icon {
  background-color: #399DC8;
  border-radius: 6px;
  padding-top: 10px !important;
}

.navbar-nav .nav-link {
  padding: 6px;
  color: white;

}
.btn-close{
  display: block !important;
}


ul.navbar-nav {
  margin-top: 10px;
  padding: 15px;
  margin-right: 0px;
  margin-bottom: 5px;
  border-right: 1px solid #fff;

}

div#navbarResponsive {
  background-color: #1d79b2;
  padding: 25px;
  margin-right: -2%;

}
.navbar-collapse {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 65%;
  height: 100%;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.navbar-collapse.show {
  transform: translateX(0);
}

.footer .footer-logo img{
  width:100%;
}


.ads{
  display: none;
}
.adsBottom{
  display: none;

}

a.bg-white {
  position: relative;
  top: 11px;
}

}



@media (max-width: 768px) {
  .carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: center;
}


.carousel-item {
    flex: 0 0 100%; /* فقط یک آیتم در هر اسلاید */
    max-width: 100%; /* تنظیم عرض هر اسلاید به 100% */
}

.carousel-item .row {
    display: flex;
    justify-content: center; /* برای مرکزیت دادن آیتم‌ها */
    flex-wrap: nowrap; /* جلوگیری از افتادن آیتم‌ها زیر هم */
}

.carousel-item .col-12 {
    flex: 0 0 100%; /* هر آیتم به صورت 100% عرض اسلاید را می‌گیرد */
    max-width: 100%; /* عرض آیتم به 100% تغییر می‌کند */
}






a.bg-white {
  position: relative;
  top: 11px;
}


  .ads{
    display: none;
  }
  button.btn.submit {
    position: absolute;
    left: 2px;
    border-radius: 10px;
    background-color: #399DC8;
}
.navbar-toggler {
  background-color: #399DC8;
}
.navbar-toggler-icon {
  background-color: #399DC8;
  border-radius: 6px;
  padding-top: 10px !important;
}

.navbar-nav .nav-link {
  padding: 6px;
  color: white;


}
.btn-close{
  display: block !important;
}


ul.navbar-nav {
  margin-top: 10px;
  padding: 15px;
  margin-right: 0px;
  margin-bottom: 5px;
  border-right: 1px solid #fff;

}

div#navbarResponsive {
  background-color: #1d79b2;
  padding: 25px;
  margin-right: -2%;

}
.navbar-collapse {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 65%;
  height: 100%;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.navbar-collapse.show {
  transform: translateX(0);
}

.footer .footer-logo img{
  width:auto;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
}


@media (max-width: 999px) {

}





/* detalis page */
.Detalis{
  margin-top: 30px;
  text-align: justify;
}
.container .sectionBOX{
  background-color: white;
  border-radius: 10px;  
  padding: 20px !important;
  box-shadow: 0 0 13px #e5e4e4;
  margin-bottom: 20px;
}
.sectionBOX span{
  color: rgb(104, 104, 104);
}
.mainContent{
  display: flex;
  justify-content: center;
  gap: 9px;
 
}

.Ico {
  display: flex;
  justify-content: flex-end; 
  gap: 10px; 
}

.Ico svg{
  fill: white;
}


.icoBOX {
  display: flex;
  align-items: center; 
  background-color: #399DC8;
  border-radius: 50%;
  padding: 8px;
}

.shortNews{
  background-color: #f1f1f1;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: justify;
}

.imageNews img{
  width: 100%;
  border-radius: 10px;
  height: 100%;
}

.textNewsDETALIS1{
  margin-top: 20px;
}

.resultNews{
  font-weight: bold;
}



:root {
  --size: 60px;
  --frames: 62;
  --like-hover-bg-color: #9cd7f0;
 
}

input {
  display: none;
}

.like {
  display: block;
  width: var(--size);
  height: var(--size);
  cursor: pointer;
  border-radius: 999px;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  margin-left: 15px; 
  margin-right: 15px;

}

.hearth {
  background-image: url('https://assets.codepen.io/23500/Hashflag-AppleEvent.svg');
  background-size: calc(var(--size) * var(--frames)) var(--size);
  background-repeat: no-repeat;
  background-position-x: calc(var(--size) * (var(--frames) * -1 + 2));
  background-position-y: calc(var(--size) * 0.02);
  width: var(--size);
  height: var(--size);
}

input:checked + .hearth {
  animation: like 1s steps(calc(var(--frames) - 3));  
  animation-fill-mode: forwards;
}

@keyframes like {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: calc(var(--size) * (var(--frames) * -1 + 3));
  }
}

.like:hover {
  background-color: var(--like-hover-bg-color);
}

.like:hover .hearth {
  background-position-x: calc(var(--size) * (var(--frames) * -1 + 1));
}

.hashflag {
  position: fixed;
  display: block;
  right: 114px;
  bottom: 20px;
}



.hashflag img {
  display: block;
  height: 28px;
}



#like-count {
  font-size: 18px;
  font-weight: bold;
  color: #399DC8;
  padding-top: 5px;

}


.like-container {
  display: flex;
  align-items: center; 
}



.social h6{
  font-size: 15px;
  text-align: center;
}

.social{
  background-color: #399DC8;
  border-radius: 10px;
  padding: 10px;
  margin-right: 0;
  margin-left: 0;
  color: white;
}

.Ico2 {
  display: flex ;
  justify-content: center;
  gap: 20px;
}

.Ico2 svg{
  fill: #1d79b2;
}


.icoBOX2 {
  display: flex;
  align-items: center; 
  background-color: #F1F1F1;
  border-radius: 50%;
  padding: 8px;
}

.boxNews-datlis {
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 10px;
  padding-top: 10px;
  padding-bottom: 5px;
}

.cardNews {
  background-color: #F1F1F1;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}


.IMG-news2 img{
  width: 100%;
  border-radius: 10px;
  align-items: center;
}

.OrangeBOX{
  background-color: #399DC8;
  padding: 10px;
  border-radius: 10px;
  color: white;
}

.UL-list li a{
text-decoration: none;
list-style: none !important;
color: #4E4E4E;
font-size: 15px;
border-right: 1px solid #399DC8;
padding-right: 5px;
}


.UL-list li {
  list-style: none !important;

  }



.UL-list{
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 10px;
  height: 527px;
  overflow-y: scroll;
  box-sizing: border-box; 
}


.UL-list::-webkit-scrollbar {
  width: 10px;
}

.UL-list::-webkit-scrollbar-thumb {
  background-color: #399DC8; 
  border-radius: 10px; 
  border: 2px solid #fff; 
}

.UL-list::-webkit-scrollbar-thumb:hover {
  background-color: #1d79b2; 
}

.UL-list::-webkit-scrollbar-track {
  background-color: #EDEDED; 
  border-radius: 10px; 
}




/* form */
.contact-form{
  background: #f1f1f1;
  width: 100%;
  border-radius: 10px;
  padding-top: 15px;
}

.contact-form h5{
  text-align: right;
  border-right: 2px solid #399DC8;
  padding-right: 10px;
  font-size: 18px;

}


.contact-form form{
  padding: 10%;
}
.contact-form form .row{
  margin-bottom: -7%;
}

input.form-control.DetalisForm {
  border: 1px solid #399DC8;
  border-radius: 10px;
  font-size: 15px;
}

textarea.form-control.DetalisForm{
  border: 1px solid #399DC8;
  border-radius: 10px;
  font-size: 15px;
}

button.btn.SubmitBTN{
  border: none;
  width: 100%;
  border-radius: 10px;
  background-color: #399DC8;
}


/* advert */
.sectionBOX  img{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  width: 100%;
}






/*Home Page with Usf*/

.news-slider {
    padding: 20px;
}

.news-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .news-card:hover {
        transform: scale(1.02);
    }

    .news-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .news-card:hover img {
        transform: scale(1.05);
    }

.news-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    font-weight: bold;
    animation: fadeInUp 0.7s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.boxNews .titr h2 {
    font-size: 1.2em;
    color:#fff
}




.blog-details-container {
    max-width: 800px;
    margin: auto;
    font-family: 'IRANSansX', sans-serif;
    line-height: 1.8;
    color: #2c2c2c;
    padding: 2rem 1rem;
}

.blog-details-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1c1c1c;
}

.blog-details-header h2 {
    font-size: 1.4rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.blog-details-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.blog-details-image img {
    border-radius: 10px;
    max-height: 450px;
    object-fit: cover;
    margin: 1.5rem 0;
    width: 100%;
}

.blog-details-content {
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 2rem;
    padding:10px;
}

.blog-details-share a {
    min-width: 120px;
    font-size: 0.9rem;
}

.blog-details-rating {
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.blog-details-comment {
    margin-top: 3rem;
    border-top: 1px solid #ccc;
    padding-top: 2rem;
}

.blog-details-comment-form label {
    font-weight: bold;
}

.blog-details-comment-list {
    margin-top: 1rem;
}

.blog-details-comment-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

    .blog-details-comment-item strong {
        color: #333;
    }

    .blog-details-comment-item p {
        margin: 0.5rem 0;
    }

@media (max-width: 576px) {
    .blog-details-header h1 {
        font-size: 1.8rem;
    }

    .blog-details-header h2 {
        font-size: 1.2rem;
    }

    .blog-details-image img {
        max-height: 250px;
    }
}




 


.newsText .txtNews{
    color:#000;
    line-height:25px
}


.section-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.section-title {
    font-size: 1.25rem;
    color: #222;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

    .section-link:hover {
        color: #0d6efd;
        text-decoration: none;
    }







/* زیرمنو در دسکتاپ */
.nav-item.dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
 
    @media (min-width: 992px) {
        .navbar-nav .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            display: block;
        }
    }

    /* زیرمنو و منوی موبایل */
    @media (max-width: 991px) {
        .dropdown-menu {
            display: none;
            background-color: #fff;
            padding-left: 1rem;
            margin-top: 0.5rem;
            border-left: 2px solid #399DC8;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
        }

        .dropdown.show > .dropdown-menu {
            display: block;
            animation: slideDown 0.3s ease-in-out;
        }
        .nav-item.dropdown .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(10px);
            transition: all 0.3s ease;
            border: none;
            border-radius: 0 0 8px 8px;
            overflow: hidden;
            
            background-color: #ffffff00;
            box-shadow: 0 8px 16px rgba(0,0,0,0.0);
        }
            .nav-item.dropdown .dropdown-menu a {
                color: #fff;
            }

        .navbar-brand img {
            width: 40px;
            height: 40px;
        }
        .top-bar{
            display:none;
        }

    }

    /* انیمیشن باز شدن زیرمنو در موبایل */
    @keyframes slideDown {
        from {
            max-height: 0;
            opacity: 0;
        }

        to {
            max-height: 500px;
            opacity: 1;
        }
    }

    /* افکت hover آیتم‌های زیرمنو */
    .dropdown-menu .dropdown-item {
        position: relative;
        overflow: hidden;
        color: #333;
        padding: 10px 20px;
        background-color: transparent !important;
        transition: color 0.3s ease, transform 0.3s ease;
        z-index: 1;
    }

        .dropdown-menu .dropdown-item::before {
            content: "";
            position: absolute;
            right: 0;
            top: 0;
            width: 0;
            height: 100%;
            background-color: #399DC8;
            transition: width 0.4s ease;
            z-index: -1;
        }

        .dropdown-menu .dropdown-item:hover::before {
            width: 100%;
            left: auto;
            right: 0;
        }

        .dropdown-menu .dropdown-item:hover {
            color: white;
            transform: translateX(5px);
        }

    /* حذف فلش پیش‌فرض Bootstrap */
    .nav-item.dropdown > a::after {
        content: none !important;
    }

    /* منوی موبایل با اسلاید از راست */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #222;
        padding: 2rem 1.5rem;
        z-index: 1050;
        transition: right 0.4s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

        .mobile-menu.show {
            right: 0;
        }

    .btn-toggle-menu {
        position: relative;
        z-index: 1060;
        font-size: 1.5rem;
        background: #369ac4;
        width: 50px;
        border-radius: 5px;
    }

    .main-nav a.nav-link {
        display: flex;
        justify-content: space-between;
    }

    .toggle-icon-open,
    .toggle-icon-close {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .toggle-icon-close {
        position: absolute;
        top: 0;
        right: 0;
    }

    /* در دسکتاپ حالت عادی */
    @media (min-width: 992px) {
        .mobile-menu {
            position: static;
            width: auto;
            height: auto;
            background: transparent;
            padding: 0;
            box-shadow: none;
            right: auto;
        }

        .btn-toggle-menu {
            display: none;
        }
    }

    /* منوی چسبان هنگام اسکرول (با افکت شیشه‌ای) */
    .fixed-navbar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1050;
        background-color: rgb(255 255 255 / 20%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(255 255 255 / 20%);
        padding: 0.5rem 0;
        transition: all 0.3s ease;
    }

        .fixed-navbar .navbar-brand img {
            height: 36px;
            transition: all 0.3s ease;
        }

        .fixed-navbar .nav-link {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

    /* دکمه scroll to top (اختیاری - آماده‌سازی اولیه) */
    .scroll-to-top {
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #399DC8;
        color: #fff;
        border: none;
        outline: none;
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        cursor: pointer;
        transition: opacity 0.3s ease, transform 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

        .scroll-to-top:hover {
            background-color: #267aa2;
            transform: translateY(-3px);
        }

    .top-bar {
        height: 20px;
        width: 100%;
        background-color: #399DC8;
    }

    /* هنگام مخفی بودن */
    .navbar-hidden {
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .navbar-show-fixed {
        transform: translateY(0);
        opacity: 1;
        transition: all 0.3s ease;
    }

.sanayeno-footer-logo{
    max-width:250px;
}

.blog-details-shortlink {
    font-size: 0.95rem;
    max-width: 100%;
    overflow-x: auto;
 
}

    .blog-details-shortlink input {
        min-width: 250px;
        text-align: left;
    }

.msg-comment{
    min-height:140px !important;
}