@font-face {
  font-family: yekan;
  src: url("../fonts/iranyekanwebbold.ttf");
}

* {
  font-family: yekan;
}

* {
  box-sizing: border-box;
}

/* .navbar */
.nav-item a {
  text-decoration: none;

}


/* .navbar end */

/* zood-news */
.zood-news {
  position: absolute;
  z-index: 1;
  width: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  right: calc(50% - 25vw);
  top: 25%;
  padding: 1%;
  text-align: justify;
  animation-name: zood;
  animation-duration: 1s;
  transition: all ease-in-out;
}

@media only screen and (max-width: 768px) {
  .zood-news {
    width: 100%;
    height: 100px;
    right: 0;
    padding: 10px;
    top: 90%;
    background-color: rgb(255, 238, 217);
    animation-name: zood;
    animation-duration: 1s;
    transition: all;
  }
}

@keyframes zood {
  0% {

    opacity: 0%;
  }

  100% {

    opacity: 100%;
  }
}

.zood-news .header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.zood-news .header i:hover {
  color: rgb(214, 24, 40);
  cursor: pointer;
}

/* zood-news end */

/* go to top */

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(47, 0, 255);
  color: white;
  opacity: 70%;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

/* go to top end */


/* slider */
img {
  vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container-fluid {
  position: relative;

}

/* Hide the images by default */
.mySlides {
  display: none;

}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  margin-right: 94%;
  border-radius: 3px 0 0 3px;
}

.prev {
  margin-right: 5%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(250, 246, 246, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 3;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #ffffff;
  padding: 10px 16px;
  color: rgb(0, 0, 0);
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.4%;

}

.column a {
  font-size: 10pt;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

/* slider end */

/* featuer */
.one-animat {
  position: relative;
  animation-name: down-to-up;
  animation-duration: 1s;
  transition: all 0.5s;
}

@keyframes down-to-up {
  0% {
    bottom: -200px;
    opacity: 0%;
  }

  100% {
    bottom: 0px;
    opacity: 100%;
  }
}

.hover-div :hover {
  background-color: rgb(255, 241, 206);
  scale: 1.01;
  transition: all 0.03;
}

.horizantal-line {
  width: 2px;
  height: 145px;
  background: darkblue;


}

.horizantal-line-animat {
  width: 2px;
  height: 145px;
  background: darkblue;
  animation-name: line-animt;
  animation-duration: 1s;
  transition: all 0.5s;
  /* animation-delay: 0.8s; */

}

@keyframes line-animt {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0%;
  }

  100% {
    width: 2px;
    height: 145px;
    opacity: 100%;
  }
}

.vertical-line {
  background-color: rgb(110, 110, 110);
}


/* featuer end */

/* Category */
.Category :hover {
  background-color: rgb(121, 118, 255);
  padding: 10px;
  transition: all 0.3 ease-in-out;

}

/* Category end */

/* news-section */
.news-section {
  position: relative;
}

.news-section>div {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.news-section>div::-webkit-scrollbar {
  display: none;
}

.news-section>div div {
  scroll-snap-align: center;
}

.news-section>div div:hover {

  scale: 1.01;
}

.news-section img {
  width: 100%;
  height: 60%;
  cursor: pointer;
}

.arrow-next-prev {
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 30%;
  display: flex;

}

.arrow-next-prev .right {

  margin-right: 1.5%;
}

.arrow-next-prev .left {
  margin-right: auto;
}

/* news-section end */

/* managment of city */
/* shora */



/* shora end */
/* manegment of city end */

/* gallery of pic  */
.pic-gallry img {
  max-inline-size: 100%;
  block-size: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.pic-gallry {
  position: relative;
  overflow: hidden;
}

.pic-gallry .text-hover-pic {
  position: absolute;
  bottom: 0%;
  z-index: 1;
  left: 25%;
  background: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5%;
  color: #f2f2f2;
  opacity: 0;
  transition: all 0.4s;
  animation-direction: reverse;

}

.pic-gallry .text-hover-pic:hover {
  opacity: 1;
}

/* page-gallerty-pic */
body {
  margin: 0;
  font-family: Arial;
}

.header {
  text-align: center;
  padding: 32px;
}

.row {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%;
  /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;

}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;

}

.column img:hover {
  border-radius: 1%;
  opacity: 50%;

}

.column .pic {
  position: relative;
}

.column .overly-text {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  transition: .5s ease;
  opacity: 0;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  text-align: center;
}

.column .overly-text:hover {
  opacity: 1;

}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

/* page-gallerty-pic end */
/* gallery of pic end  */


/* class pagination of archive-news */
.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
}

.pagination a.active {
  background-color: dodgerblue;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

/* class pagination of archive-news end */


/* class btn drag file of 137 samaneh  */
body {
  place-items: center;

}

.drop-container {
  background-color: transparent;
  padding: 1.5rem;
  display: inline-block;
  border-radius: 10px;
  border: dashed 1px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.drop {
  border-radius: 10px;
  border: 3px dashed #ffffff;
  display: grid;
  place-content: center;
  padding: 1rem;
  box-sizing: border-box;
  place-items: center;
}



.drop .icon {
  font-size: 60px;
  color: #5333ed;
}

.drop .text {
  text-align: center;
  font-weight: 500;
  color: #443f46;
  margin-top: 1rem;
}

.progress {
  background-color: #5333ed;
  width: 0;
  height: 20px;
  display: none;
  border-radius: 10px;
  transition: all 0.2s;
}

.drop label {
  background-color: #5333ed;
  padding: 0.7rem 1.8rem;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.file-input {
  display: none;
}

.line {
  width: 80px;
  height: 1px;
  background-color: #949494;
}

.or-container {
  display: flex;
  align-items: center;
  margin: 0.5rem;
}

.or {
  margin: 0 1rem;
  font-weight: 500;
  color: #443f46;
}

/* class btn drag file of 137 samaneh end */

/* class btn opend-news  */
.carousel-item img {
  max-inline-size: 100%;
  block-size: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  max-height: 700px;

}

.carousel-inner {
  border: none;


}

.carousel-inner img {
  width: 100%;
  height: 100%;
  background-color: #5333ed;
  color: #5333ed;

}

/* class btn opend-news  end */

/* class login section  */
input[type=text],
input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  font-size: 12px;
  background: #f1f1f1;
}

input[type=text]:focus,
input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}


/* Set a style for the submit button */

.btn-login {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}


/* login end */


/* recover-psw  */

.btn-rec-psw {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.btn:hover {
  opacity: 1;
}


.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* recover-psw end */
/* class login section  end */