/*Design By Vahid Majidi Sadr*/
@font-face{
	src:url('../fonts/Yekan.ttf'),
	url('../fonts/Yekan.woff'),
	url('../fonts/Yekan.eot');
	font-family:yekan;
	font-weight:normal;
	font-style:normal;
}
body{
	word-wrap:break-word;
	word-break:keep-all;
	font-family:yekan;
	font-size:14px;
	line-height:27px;
}
.panel p{
	margin:20px;	
}
fieldset{
	border:1px solid #ccc;
	border-radius:3px;
	padding:15px;
	box-sizing:border-box;	
}
legend{
	border-bottom:none;
	width:auto;
	padding:0 15px;
	font-size:15px;
	margin-bottom:0px;	
}
textarea {resize:vertical}
.margin{
	margin:15px 0;	
}
.margin-vms{
	margin-top:20px;
}	
.color{
	background-color:#3399ff;	
}
.tcolor{
	color:#3399ff;
}
a:hover{
	text-decoration:none;	
}
.top a{
	color:#fff;
}
.top li{
	margin-top:10px;
}
/*Design By Vahid Majidi Sadr*/
.nav-top{
	margin-top:30px; 
	border:none;
	background-color:transparent;
 }
.navbar-nav>li>a{
	color:#3399ff !important;
	font-size:15px;  
 }
 .logo{
	margin-top:7px; 
 }
 .slider2{
	width:100%;
	float:left;
	clear:both;
	height:auto;
	overflow:hidden;
	height:250px; 
	background-image:url(../images/slider.jpg);
	background-position:top 0 left;
	background-repeat:no-repeat;
	background-size:cover;
 	-webkit-animation:vms 15s infinite alternate linear;
 }
 .slider2 h3{
	color:#fff;
	font-size:40px;
	text-shadow:0 0 5px #333;
	text-align:center;
	margin-top:-500px; 
 }
 .slider2 h4{
	color:#fff;
	text-shadow:0 0 5px #333; 
	font-size:20px;
	text-align:center;
	margin-top:100%;
 }
 @-webkit-keyframes vms{
		to{
			background-position:top 100% left;
		}
 }
@media all and (max-width:768px){
	.slider{
		-webkit-animation:none;
	}
 }
 .team figure{
	width:150px;
	height:150px;
	border-radius:100%;
	overflow:hidden; 
 	margin:15px auto;
	position:relative;
	z-index:200;
	-webkit-transition:all 1s;
	-o-transition:all 1s;
	-moz-transition:all 1s;
	-ms-transition:all 1s;
	transition:all 1s;
	-webkit-transform:perspective(800px) rotatey(0);
	-moz-transform:perspective(800px) rotatey(0);
	-o-transform:perspective(800px) rotatey(0);
	-ms-transform:perspective(800px) rotatey(0);
	transform:perspective(800px) rotatey(0);
 }
 .team figure:hover{
	 -webkit-transform:perspective(800px) rotatey(30deg);
	 -moz-transform:perspective(800px) rotatey(30deg);
	 -o-transform:perspective(800px) rotatey(30deg);
	 -ms-transform:perspective(800px) rotatey(30deg);
	 transform:perspective(800px) rotatey(30deg);
 }
 .team figure img{
 	width:100%;
	height:100%;
	position:absolute;
 }
.shoar{
	text-align:center;
	color:#fff;
	padding-top:10px;
	margin:20px 0;	
}
.quote{
	font-size:30px;	
	margin:55px 0 75px 0;
}
.q1{
   -webkit-transform: translatey(-30px);
   font-size:75% !important;		
}
.q2{
   -webkit-transform: translatey(50px);
   font-size:75% !important;	
}
/*Design By Vahid Majidi Sadr*/
/* plugin caro */
.carousel {
    margin-bottom: 0;
    padding: 0 40px 30px 40px;
}
/* The controlsy */
.carousel-control {
	left: -12px;
    height: 40px;
	width: 40px;
    background: none repeat scroll 0 0 #222222;
    border: 4px solid #FFFFFF;
    border-radius: 23px 23px 23px 23px;
    margin-top: 90px;
}
/* The indicators */
.carousel-indicators {
	right: 50%;
	top: auto;
	bottom: -10px;
}
/* The colour of the indicators */
.carousel-indicators li {
	background: #cecece;
}
.carousel-indicators .active {
background: #428bca;
}
/* end plugin caro */
.portfolio{
	position:relative;
	overflow:hidden;	
	width:18%;
	height:200px;
	float:right;
	margin:10px 1%;
	border-radius:4px;
	z-index:100;
}
.portfolio figure{
	position:absolute;
	width:100%;
	height:200px;
	-webkit-transition:all 0.3s;	
}
.portfolio figure img{
	width:100%;
	height:200px;
}
.portfolio:hover figure{
	-webkit-transform:scale(1.1,1.1);
}
.portfolio figcaption{
	position:absolute;
	top:100%;
	width:100%;
	padding:10px;
	background-color:rgba(0,0,0,0.5);
	-webkit-transition:all 0.6s;
}
@media all and (min-width:768px) and (max-width:1024px){
	.portfolio{
		width:30%;
		margin:10px 1.66666%;	
	}
}
@media all and (max-width:768px){
	.portfolio{
		width:48%;
		margin:10px 1%;	
	}
}
@media all and (max-width:480px){
	.portfolio{
		width:98%;
		margin:10px 1%;	
	}
}
.portfolio figcaption h6{
	color:#fff;
	text-shadow: 0 0 5px #333;
	font-size:22px;
	text-align:center;
}
.portfolio:hover figcaption{
	top:20px;
}	
.footer{
	background-color:#333;
	min-height:100px;
	margin-top:20px;	
	color:#fff;
}
.footer a{
	color:#fff;	
}
.copyright{
	color:#fff;
	direction:ltr;
}
/*Design By Vahid Majidi Sadr*/