/*
Theme Name: mehryar-mashin
Author: نیلوفر
Author URI: https://rasta.com
Description: A development theme, from static HTML to wordpress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

*{
    margin: 0;
    padding: 0;
    border: 0px;
	box-sizing: border-box;
	list-style: none;
	font-family: 'vazir';
}

@font-face {
    font-family: 'vazir';
    src: url('./font/Vazir.woff') format('woff');
    src: url('./font/Vazir.eot');
    src: url('./font/Vazir.ttf') format('truetype');
}
body{
	font-family: 'vazir';
	direction: rtl;
	text-decoration: none;
}

.top-bar{
	width: 100%;
	height: 60px;
	 background-color: #7b7a7f;
    opacity: 0.9;
    float: right;
    z-index: 777;
	
	
}
.middle{
	width: 1150px;
	margin: 0 auto;
}


.top-bar-right{
	float: right;
	padding-top: 14px;
	width: 45%;
	padding-right: 25px;
	
	
}
.top-bar-right ul li{

	float: right;

	 list-style: none;
	
}
.top-bar-right  img{
	width: 35px;
	height: 30px;
	float: right;
	padding-right: 8px;
	
	
}
.top-bar-right .tel{
	
	color: #fff;
	padding-right: 5px;
	line-height: 30px;
	
}
.top-bar-right ul li i{
	color: #fff;
	padding-right: 8px;
	
}

.top-bar-left{
	float: left;
	
	padding-top: 12px;
	
	
	width: 45%;
	text-align: center;
		
}
.top-bar-left h2{

	font-size: 16px;
	font-weight: 100;
line-height: 35px;
	color: #fff;
}


/*******************************************************/
.header{
	width: 100%;
	background-color: #f5f5f5;
	height: 80px;
	opacity: 0.9;
    float: right;
	z-index: 1;
	position: absolute;
	top: 60px;
  
}
.logo{
	float: left;
	width: 20%;
	margin-left: 30px;
    margin-top: -15px;
	
}


.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

/*****************************************/




 /********************************************/
.header_slide{
	 width: 100%;
    height: 500px;
    float: right;
    position: relative;

    overflow: hidden; 
	
}
.over-web-design{

     position: absolute;
     left: 0;
     top: 0;
     right: 0;
     bottom: 0;
     z-index: 0;
     background:rgba(5,5,5,0.7);
 }
.header_slide img{
    width: 100%;
    height: 500px;
    background: #424252;
    max-width: 100%;
    max-height: 100%;
    background-size: cover;
 
} 
.next {
    background: url("../images/large_right.png")1px -40px no-repeat;
    position: absolute;
    top:50%;
    width: 90px;
    height: 66px;
    right: 30px; 
 z-index: 99px; 
 transform: translate(0,-50%);
 
 } 
 

 .prev {
     background: url("../images/large_left.png")1px -40px no-repeat;
     position: absolute;
     top:50%;
     width: 90px;
     height: 66px;
     left: 30px; 
     z-index: 99px;
     transform: translate(0,-50%);
  
  }  
  .slide{
      display: none;
      animation: fade 2s;
  }
.slide.active{
 display: block;
}
.dots{
    width: 80px;
    height: 30px;
   cursor: pointer;
    position: absolute;
    top: 80%;
    right: 45%;
    transform: translate(0,50%);
}
.dot{
    width: 19px;
    height: 19px;
    background: url("../images/bullets2.png")no-repeat bottom right;
    float: right;
}
.dot.active{
    background: url("../images/bullets2.png")no-repeat top right;
}
.dot:hover{
    background: url("../images/bullets2.png")no-repeat top right;
}
@keyframes fade{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
/*************************************************************/
.boxc{
	float: right;
	width: 100%;
	margin-top: 50px;
	padding-right: 30px;
}
.head_boxc{
	margin-top: 50px;
	padding-left:5px;
}
.head_boxc h2{
	 border-bottom: 2px solid #e1e1e1;
    position: relative;
    font-size: 27px;
    color: #556;
    font-weight: 500;
}
.head_boxc h2::after{
	   width: 50px;
    height: 2px;
    display: block;
    content: '';
    background-color:#e3010f;
    position: absolute;
    bottom:-2px;
    right: -1px;
}
.article p{
	margin-top: 10px;
	  font-size: 14px;
    line-height: 26px;
    font-weight: 400px;
    color: #667;
    letter-spacing: normal;
    vertical-align: inherit;
	text-align: justify;
}
/*************************************************************************/
.web_content{
	background: #f0f0f0;
  
    outline: 5px solid white;
    width: 100%;
float: right;
    margin-top: 100px;
    opacity: 0.9;
	
	
	
}


.web_box{
	margin-right: -10px;
	margin-left: -10px;
}
.web_box .box1{
    width: 273px;
    height: 364px;
    float: left;
  
    margin: 15px 58px;
    
    text-align: center;
    
}
.web_box .box1:hover i{ 
background-color: red;

}
.web_box i {
    border-radius: 50%;
    font-size: 24px;
    padding-top: 10px

}
.web_box .fa {
    margin-bottom: 20px;
}

.web_box .box1 .fa-style1{

    width: 50px;
    height: 50px;
    background-color: #42424a;
    color: #fff;
    margin-top: 1px;
    transition: all 0.3s ease-out;

}


.web_box .box1 a{
    color: #556;
    text-decoration: none;

}
.web_box .box1 h3{
    margin: 0 0 15px;
    font-size: 17px;
    color: #556;
    font-weight: 400;
}
.web_box .box1 h3::after{
    content: "";
    display: block;
    height: 1px;
    width: 35px;
    border-top: 2px solid #e3010f;
    margin: 8px auto 10px;
}
.web_box .box1 p{
    margin: 0 0 20px;
    color: #667;
}
.web_box .box1 img{
    width: 273px;
    height: 152px;
    max-width: 100%;
    border-top: 1px solid #e3000b;
    vertical-align: middle;
}
/********************************************************************************/
footer{
	  background-color: #7b7a7f;
    color:#fff;
    width: 100%;
   
 
    float: right;
   
}
.box{
	margin-top: 50px;
	margin-right: 90px;
	    width: 242px;
 float: right;
     text-align: right;
}

.footer-title{
    font-size: 16px;
    margin-bottom: 30px;
    letter-spacing: 1px;

  margin-left: 30px;
    margin-top: 5px;
}
.box i{
	font-size: 16px;
	padding-left: 8px;
/*	color: #e3010f;*/
	    line-height: 0.3em;
}
.footer-title h3{
    font-size: 20px;
    font-weight: 400px;
}
.footer-title::after{
    content: "";
    display: block;
    height: 1px;
    width: 22px;
    border-top: 2px solid #e3010f;
    margin-left: 190px;
    margin-top: 5px;
    
}
.box p{
	display: block;
margin: 0 0 20px;
    LINE-HEIGHT: 2em;
	font-size: 14px;
	
	
}
.box a{
	text-decoration: none;
	color: #fff;
}
.box a:hover{
	color: red;
	transition: all 0.6s ease-out;
}


/****************************************/
.boxt{
	width: 70%;
float: right;
	margin-top: 100px;
	padding-right: 30px;
}
/************************************************/
.bg-overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: #424252;
  opacity: .6;
}
.op3{
  opacity: 0.3;
}
/***************************/
.topnav {
    overflow: hidden;
    background-color: #f5f5f5;
    font-family: 'vazir';
    margin-top: 10px;
  }

  
  .topnav a {
    float: right;
    display: block;
    color: #515153;
    text-align: center;
    padding: 20px 35px;
    text-decoration: none;
    font-size: 17px;
    padding-right: 35px;
    transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
  font-family: 'vazir';
  }
  
  .topnav .active {
    
    color: red;
    text-decoration: underline;
  }
  
  .topnav .icon {
    display: none;
  }
  
  .dropdown {
    float: right;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: #515153;
    padding: 20px 35px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #42424a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
   
  }
  
  .dropdown-content a {
    float: none;
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: right;
    transition: padding_left .3s linear;
  }

  
  .topnav a:hover, .dropdown:hover .dropbtn {
    /* background-color: #555; */
    color: red;
  }
  
  .dropdown-content a:hover {
    
    color: red;
    transition: all .3s ease-out;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  @media screen and (max-width: 767px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  @media screen and (max-width: 767px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: right;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: right;
    }
    .topnav .active {
        display: none;
        padding-top: 100px;
    }
    .logo{
        display: none;
    }
    .topnav ul{
        display: none;
    }
   
  }