
@font-face {
    font-family: sans;
    src: url(../fonts/IRANSANS.TTF);
  }
  @font-face {
    font-family: yekan;
    src: url(../fonts/yekan-regular.ttf);
  }
  * {
    font-family: sans;
    text-decoration: none;
    box-sizing: border-box;
    direction: rtl;
  }

  
  body {
    margin: 0;
    direction: rtl;
    text-decoration: none;
    background-color: #F7F5F4;
    font-family: sans;
  }
  
  html {
    scroll-behavior: smooth;
  }
  .row{
      margin-left: 0;
      margin-right: 0;
  }
  ::-moz-selection { /* Code for Firefox */
    background-color: transparent;
    color: #477CA6;
  }
  ::selection {
    background-color: transparent;
    color: #477CA6;
  }
  


  /* نوبار */
  .top{
      padding: 5px;
      text-align: center;
      background: #477CA6 ;
      margin: 0 0 30px 0;
      
  }

  .top p{
      font-size: 14px;
      font-family: sans;
      margin-bottom:0 ;
      color: #F7F5F4;
  }
      .topnav {
        overflow: hidden;
        background-color: #F7F5F4;
      }
      
      .topnav a {
        float: right;
        display: block;
        color: #477CA6;
        text-align: center;
        padding: 7px 14px;
        border-radius: 10px;
        text-decoration: none;
        font-size: 14px;
      }
      
      .topnav a:hover {
    background-color: #477CA6;
    color : #F7F5F4;
      }
      
      .topnav a.active {
        font-weight: bold;
        
      }
      
      .topnav .icon {
        display: none;
      }
      
      @media screen and (max-width: 600px) {
        .topnav a:not(:first-child) {display: none;}
        .topnav a.icon {
          float: left;
          display: block;
        }
      }
      
      @media screen and (max-width: 600px) {
        .topnav.responsive {position: relative;}
        .topnav.responsive .icon {
          position: absolute;
          left: 0;
          top: 0;
        }
        .topnav.responsive a {
          float: none;
          display: block;
          text-align: right;
        }
      }
/* تهران */
.bg-tehran{
    background-image: url(../images/bg-tehran.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    height: 500px;
    padding: 50px 0 0 0;
}
.tehran-box{
  margin: -20PX auto auto auto;
}
.logo{
  width: 100%;
  text-align: center;
  margin: 18px auto;
      }
      .logo img{
        width: 170px;
        
        height: 170px;
      }
      .bg-tehran h1{
        font-size: 25px;
        color: #141414;
        float: none;
        width: 100%;
        text-align: center;
        /* margin-bottom: 0; */
        font-weight: bold;
      }
      .bg-tehran h1 span{ color: #477CA6;text-shadow: -1px 1px 1px rgba(255, 255, 255, 0.3); }
      .bg-tehran p{
       /* font-size: 14px; */
        color: #141414;
      
      
        width: 100%;
        text-align: center;
    }


    /* خدمات */
    .services-box{
      margin-top: -50px;
    }
    .service-box{
      border: 1px dashed #477CA6;
      margin: 0 0 15px 0;
      border-radius: 7px;
      background-image: linear-gradient(135deg,#F7F5F4,#F7F5F4);
      box-shadow:0 0 10px rgba(72, 69, 224, 0.1);
      padding: 20px 12px;
      height: 230px;
      transition: 0.7s;
    }
    .service-box:hover{
      border: 1px solid #F7F5F4;
      margin: -20px auto 20px auto;
      content: "";
      border-radius: 7px;
      transition: 0.7s;
      background-image: linear-gradient(135deg,#9a56ff 0%, #e36cd9 100%);
      box-shadow: 0 0 10px rgba(72, 69, 224, 0.3);
    }
    .service-a{
      text-decoration: none;
    }
    .service-ico{
       padding: 10px;
       font-size: 25px;
       text-align: right;
       background-color: #477CA6;
       transition: 1.2s;
       border-radius: 50%;
       opacity: 0.9;
       color: #F7F5F4;
    }
    .service-box:hover .service-ico{
       padding: 10px;
       transform: rotate(360deg);
       font-size: 25px;
       text-align: right;
       background-color: #F7F5F4;
       transition: 1.2s;
       border-radius: 50%;
       opacity: 0.75;
       filter: opacity(75%);
       color: #477CA6;
    }
    .service-a:hover .service-ico{
      text-decoration: none;
    }
    .service-h2{
      font-size: 19px;
      color: #477CA6;
      transition: 0.7s;
      font-weight: bold;
      padding: 15px 0 5px 0;
    }
    .service-box:hover .service-h2{
      font-size: 19px;
      color: #F7F5F4;
      transition: 0.7s;
      font-weight: bold;
      padding: 15px 0 5px 0;
    }
    .service-a:hover .service-h2{
      text-decoration: none;
    }
    .service-box p{
      font-size: 14px;
      color: #141414;
      text-align: justify;
      transition: 0.7s;
      direction: rtl;
    }
    .service-a:hover .service-box p{
      text-decoration: none;
    }

/* دکمه */
 
.phone-top p{
  display: inline;
  padding: 0 10px;
  text-decoration: none;
  color: #141414;
  font-size: 17px;
  font-weight: bold;
  }
      .call-ico{
  font-size: 20px;
  display: inline;
  text-decoration: none;
  color: #141414;
  }
  
.phone-top {
  position: relative;
  outline: none;
  text-decoration: none;
  margin: auto;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-transform: uppercase;
  height: 60px;
  width: 210px;
  opacity: 1;
  background-color: transparent;
  border: 2px solid #141414;
}
.phone-top span {
  color: #141414;

  font-weight: 500;
  letter-spacing: 0.7px;
}
.phone-top:hover {
  animation: rotate 0.7s ease-in-out both;
}
.phone-top:hover span {
  animation: storm 0.7s ease-in-out both;
  animation-delay: 0.06s;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
  25% {
    transform: rotate(3deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-3deg) translate3d(0, 0, 0);
  }
  75% {
    transform: rotate(1deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}
@keyframes storm {
  0% {
    transform: translate3d(0, 0, 0) translateZ(0);
  }
  25% {
    transform: translate3d(4px, 0, 0) translateZ(0);
  }
  50% {
    transform: translate3d(-3px, 0, 0) translateZ(0);
  }
  75% {
    transform: translate3d(2px, 0, 0) translateZ(0);
  }
  100% {
    transform: translate3d(0, 0, 0) translateZ(0);
  }
}

    /* لوگو شرکت ها */


.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-slider
{
  height: 17px;
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list
{
  direction: ltr;
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus
{
  outline: none;
}
.slick-list.dragging
{
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
  -webkit-transform: translate3d(0, 0, 0);
     -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.slick-track
{
  position: relative;
  top: 0;
  left: 0;
  display: block;
}
.slick-track:before,
.slick-track:after
{
  display: table;
  content: '';
}
.slick-track:after
{
  clear: both;
}
.slick-loading .slick-track
{
  visibility: hidden;
}

.slick-slide
{
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide
{
  float: right;
}
.slick-slide img
{
  display: block;
  width: auto;
}
.slick-slide.slick-loading img
{
  display: none;
}
.slick-slide.dragging img
{
  pointer-events: none;
}
.slick-initialized .slick-slide
{
  display: block;
}
.slick-loading .slick-slide
{
  visibility: hidden;
}
.slick-vertical .slick-slide
{
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}


/* مطالب */
.posts-top{
  width: 100%;
  height: auto;
  margin: 0 0 50px 0;
}
.posts{
  width: 100%;
  height: 270px;
  padding: 20px;
  background-color: rgba(71, 124, 166, 0.08);
}
.posts h2{
font-size: 20px;
color: #141414;
font-weight: bold;

}

.leftline{
  width: 4px;
  float: right;
  height: 30px;
  background-color: #477CA6;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0 , 0, 0, 0.3);
  margin: 0 0 0 10px;
}
.circle{
  width: 6px;
  height: 6px;
  position: relative;
  border-radius: 6px 6px 0 6px;
  transform: rotate(45deg);
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  margin: 0 -1px 0 1px;
  background-color: #141414;
  -webkit-animation-name: circle; 
  -webkit-animation-duration: 4s;
  animation-name: circle;
  animation-duration: 4s; 
}
@keyframes circle {
  /* 0% {top: 0; opacity: 0;}
  25% {top: 20%; opacity: 1;}
  75%{top: 75%; opacity: 1;}
  100% {top: 95%; opacity: 0;} */
  from{top: 0;}
  to{top: 95%;}
}
.post{
  border-radius: 10px;
  background-color: #F7F5F4;
  transition: 0.7s;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
}
.post:hover{
  border-radius: 10px;
  background-color: rgb(240, 237, 236);
  box-shadow: 0 1px 12px rgba(0 , 0, 0, 0.2);
  padding: 0 0 20px 0;
}
.post img{
width: 100%;
height: 200px;
border-radius: 10px 10px 0 0;
}
.post h3{
  font-size: 16px;
  font-weight: bold;

  padding: 12px 10px 10px 10px;

}
.post p{
  font-size: 14px;
  text-align: justify;
  padding: 0px 10px 0px 10px;
  color: #141414;
}
.post-ico{
  background-color: #477CA6;
  font-size: 30px;
  position: relative;
  z-index: 5;
  border: 3px solid #F7F5F4;
  margin: -27px auto 15px 15px;
  float: left;
  color: #F7F5F4;
  
  padding: 10px;
  border-radius: 50%;
}

/* فوتر */
.footer{
  background-color: rgba(71, 124, 166, 0.08);
}