﻿/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-control-thumbs img {cursor:pointer;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider {overflow:hidden; position: relative; z-index:2;}
.flexslider.top_slider {min-height:502px; background-color:#505050;}
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav li a {
	position:absolute;
	z-index:100;
	top:50%;
	right:30px;
	display:block;
	width:31px;
	height:31px;
	margin-top:-15px;
	background-color:#fff;
	background-image:url(../images/slider_arrows.png);
	background-repeat:no-repeat;
	transition: background-color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out;
}
.flex-direction-nav li a:hover {background-color:#acc825;}
.flex-direction-nav li a.flex-prev {background-position:0 0; left:30px;}
.flex-direction-nav li a.flex-next {background-position:-34px 0;}
.flex-direction-nav li a.flex-prev:hover {background-position:0 -34px;}
.flex-direction-nav li a.flex-next:hover {background-position:-34px -34px;}

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; z-index:100; bottom: 10px; right:30px; text-align:right;}
.flex-control-nav li {margin: 0 0 10px 5px; display:inline-block;}
.flex-control-paging li a {overflow:hidden; width:10px; height:10px; display: block; background: #fff; cursor: pointer; text-indent: -999px; font-size:0;}
.flex-control-paging li a:hover { background: #acc825;}
.flex-control-paging li a.flex-active { background: #acc825; cursor: default; }



/* Caption */
.flexslider.top_slider:before {
	content:'';
	position:absolute;
	z-index:100;
	top:0;
	width:100%;
	height:14px;
	background-image:url(../images/header_bord.png);
}
.flexslider.top_slider:after {
	content:'';
	position:absolute;
	z-index:100;
	bottom:0;
	width:100%;
	height:14px;
	background-image:url(../images/header_bord2.png);
}


.slide1 .flex_caption1 {
	position:absolute;
	top:0;
	z-index:28;
	width:100%;
	height:100%;
	background-image: url(../images/slider/caption_img1.png);
	background-repeat: no-repeat;
	background-size: cover;
}
.slide1 .flex_caption2 {
	position:absolute;
	top:0;
	z-index:29;
	width:100%;
	height:100%;
	background-image: url(../images/slider/caption_img2.png);
	background-repeat: no-repeat;
	background-size: cover;
}
.slide1 .flex_caption3 {
	position:absolute;
	z-index:30;
	right:120px;
	top:50%;
	width:35%;
	transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	text-transform:uppercase;
	font-weight:700;
	line-height:43px;
	font-size:44px;
	color:#fff;
	text-shadow:2px 0 5px rgba(0,0,0,0.44);
}


.slide2 .flex_caption1 {
	position:absolute;
	z-index:30;
	left:0;
	top:50%;
	width:100%;
	transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
.slide2 .flex_caption1 p {
	display:inline-block;
	margin:0;
	padding:0 20px 8px;
	font-family: "B Yekan";
	text-transform:none;
	line-height:65px;
	font-size:48px;
	color:#fff;
	text-shadow:1px 0 2px rgba(0,0,0,0.35);
}
.slide2 .flex_caption1 span {position:relative;}
.slide2 .flex_caption1 span.left_ribbon:before {
	content:'';
	position:absolute;
	top:-34px;
	left:-16px;
	width: 0;
    height: 0;
    border-top: 36px solid #acc825; 
    border-left: 16px solid transparent;
}
.slide2 .flex_caption1 span.left_ribbon:after {
	content:'';
	position:absolute;
	bottom:-21px;
	left:-16px;
	width: 0;
    height: 0;
    border-bottom: 36px solid #acc825; 
    border-left: 16px solid transparent;
}
.slide2 .flex_caption1 span.right_ribbon:before {
	content:'';
	position:absolute;
	top:-34px;
	right:-16px;
	width: 0;
    height: 0;
    border-top: 36px solid #acc825; 
    border-right: 16px solid transparent;
}
.slide2 .flex_caption1 span.right_ribbon:after {
	content:'';
	position:absolute;
	bottom:-21px;
	right:-16px;
	width: 0;
    height: 0;
    border-bottom: 36px solid #acc825; 
    border-right: 16px solid transparent;
}

.ie .slide2 .flex_caption1 span.right_ribbon:before {right:-12px; top:-34px;}
.ie .slide2 .flex_caption1 span.right_ribbon:after {right:-12px; top:3px;}

.ie .slide2 .flex_caption1 span.left_ribbon:before,
.ie .slide2 .flex_caption1 span.left_ribbon:after {left:-15px;}






/* Flex Caption Effect */
.FadeIn, .FromTop, .FromRight, .FromBottom, .FromLeft {opacity: 0; filter: alpha(opacity=0); position:relative; transition: all 0.7s ease-in-out; -webkit-transition: all 0.7s ease-in-out;}
.captionDelay1 {transition-delay: 0.1s; -webkit-transition-delay: 0.1s;}
.captionDelay2 {transition-delay: 0.2s; -webkit-transition-delay: 0.2s;}
.captionDelay3 {transition-delay: 0.3s; -webkit-transition-delay: 0.3s;}
.captionDelay4 {transition-delay: 0.4s; -webkit-transition-delay: 0.4s;}
.captionDelay5 {transition-delay: 0.5s; -webkit-transition-delay: 0.5s;}
.captionDelay6 {transition-delay: 0.6s; -webkit-transition-delay: 0.6s;}
.captionDelay7 {transition-delay: 0.7s; -webkit-transition-delay: 0.7s;}
.captionDelay8 {transition-delay: 0.8s; -webkit-transition-delay: 0.8s;}
.captionDelay9 {transition-delay: 0.9s; -webkit-transition-delay: 0.9s;}
.captionDelay10 {transition-delay: 1s; -webkit-transition-delay: 1s;}
.captionDelay11{transition-delay: 1.1s; -webkit-transition-delay: 1.1s;}
.captionDelay12 {transition-delay: 1.2s; -webkit-transition-delay: 1.2s;}

.flexslider li.flex-active-slide .FadeIn {opacity: 1; filter: alpha(opacity=100);}
.flexslider li .FromTop {top:-50%;}
.flexslider li.flex-active-slide .FromTop {opacity: 1;	filter: alpha(opacity=100);	top:0;}
.flexslider li .FromBottom {bottom:-50%;}
.flexslider li.flex-active-slide .FromBottom {opacity: 1; filter: alpha(opacity=100); bottom:0;}
.flexslider li .FromLeft {left:-50%;}
.flexslider li.flex-active-slide .FromLeft {opacity: 1; filter: alpha(opacity=100); left:0;}
.flexslider li .FromRight {right:-50%;}
.flexslider li.flex-active-slide .FromRight {opacity: 1; filter: alpha(opacity=100); right:0;}




/* Products Slide */
.type1 .flexslider#slider1 {float:right; padding-left:170px;}
.ie .type1 #slider1.flexslider {float:none;}
.type1 .flexslider#carousel1 {position:absolute; top:0; left:15px; bottom:0; width:140px; height:100%;}
.type1 #carousel1 .slides li {float:none !important; width:140px;}
.type1 #carousel1 .slides li img {margin-bottom:30px;}
.type1 #carousel1 .flex-viewport {height:625px !important;}

/* Latest Apps Slider */
.latestapps_slider.flexslider {overflow:visible;}
.latestapps_slider.flexslider .slides li {margin-right:30px;}
.latestapps_slider .flex-control-nav {display:block !important; width:100%; top:-17px; right:0; bottom:auto; text-align:right;}
.latestapps_slider .flex-control-nav li {display:inline-block;margin:0 1px 0 5px; vertical-align:top;}
.latestapps_slider .flex-control-nav li a {width:19px; height:6px; margin:0; background:#e3e3e3; background:rgba(192,108,132,0.16);}
.latestapps_slider .flex-control-nav li a.flex-active {background:#4fb4e7;}
.latestapps_slider .flex-viewport {padding-top:27px; margin-top:-27px;}

/* Products Slide Type2 */
#slider2 {background-color:#f5f5f5; margin-bottom:10px;}
#carousel2 .slides li {
	overflow:hidden;
	margin-right:10px;
	width:103px;
	height:109px;
}
#carousel2  img {
	width:81px;
	height:auto;
	margin:0 auto;
}



/* Blog Slider */
.blog_slider.flexslider {overflow:visible;}
.blog_slider .flex-control-nav {display:block !important; width:100%; top:-17px; right:0; bottom:auto; text-align:right;}
.blog_slider .flex-control-nav li {display:inline-block;margin:0 1px 0 5px; vertical-align:top;}
.blog_slider .flex-control-nav li a {width:19px; height:6px; margin:0; background:#e3e3e3; background:rgba(192,108,132,0.16);}
.blog_slider .flex-control-nav li a.flex-active {background:#4fb4e7;}
.blog_slider .flex-viewport {padding-top:27px; margin-top:-27px;}


/* Testimonials Slider */
.testimonials_slider .flex-direction-nav {bottom:50%; right:0; margin-bottom:-17px; height:35px;}
.testimonials_slider .flex-direction-nav li a {position:absolute; z-index:10; top:0; background-color:#ddd;}
.testimonials_slider .flex-direction-nav li a:hover {background-color:#333;}
.testimonials_slider .flex-direction-nav li a.flex-prev {left:0;}
.testimonials_slider .flex-direction-nav li a.flex-next {right:0;}



/* Responsive Styles */
@media (min-width: 992px) and (max-width: 1199px) {
/* Product Slide */
	.type1 #slider1.flexslider {padding-left:142px;}
	.type1 #carousel1 .flex-viewport {height:505px !Important;}
	.type1 #carousel1 .slides li {width:110px;}

/* Top Slider */
	.flexslider.top_slider {min-height:430px;}
	
	
	.slide1 .flex_caption3 {font-size:35px; line-height:35px;}
	
	
}

@media (min-width: 768px) and (max-width: 991px) {
/* Product Slide */
	.type1 #slider1.flexslider {padding-left:101px;}
	.type1 #carousel1 .flex-viewport {height:389px !Important;}
	.type1 #carousel1.flexslider {width:93px;}
	.type1 #carousel1 .slides li {width:92px;}
	.type1 #carousel1 .slides li img {margin-bottom:10px;}
	
/* Top Slider */
	.flexslider.top_slider {min-height:333px;}
	
	
	.slide1 .flex_caption3 {font-size:28px; line-height:28px; right:80px;}
	
	.slide2 .flex_caption1 p{font-size:28px; line-height:28px; padding-top:5px;}
	.slide2 .flex_caption1 span.left_ribbon:before, .slide2 .flex_caption1 span.right_ribbon:before {border-top-width:20px; top:-14px;}
	.slide2 .flex_caption1 span.left_ribbon:after, .slide2 .flex_caption1 span.right_ribbon:after {border-bottom-width:20px; bottom:-9px;}
	
	
}

@media (max-width: 767px) {
/* Product Slide */
	.type1 .product_item_details {width:420px !important;}
	.type1 #slider1.flexslider {padding-left:110px;}
	.type1 #carousel1 .flex-viewport {height:416px !Important;}
	.type1 #carousel1.flexslider {width:100px;}
	.type1 #carousel1 .slides li {width:100px;}
	.type1 #carousel1 .slides li img {margin-bottom:10px;}
	
/* Top Slider */
	.flexslider.top_slider {min-height:212px;}
	.flex-direction-nav li a {right:10px;}
	.flex-direction-nav li a.flex-prev {left:10px;}
	
	
	.slide1 .flex_caption3 {right:60px; font-size:20px; line-height:20px;}
	
	
	.slide2 .flex_caption1 p{font-size:24px; line-height:28px; padding-top:5px;}
	.slide2 .flex_caption1 span.left_ribbon:before, .slide2 .flex_caption1 span.right_ribbon:before {border-top-width:20px; top:-13px;}
	.slide2 .flex_caption1 span.left_ribbon:after, .slide2 .flex_caption1 span.right_ribbon:after {border-bottom-width:20px; bottom:-10px;}
	
	
}

@media (max-width: 479px) {
/* Product Slide */
	.type1 .product_item_details {width:260px !important;}
	.type1 #slider1.flexslider {padding-left:68px;}
	.type1 #carousel1 .flex-viewport {height:258px !Important;}
	.type1 #carousel1.flexslider {width:59px;}
	.type1 #carousel1 .slides li {width:59px;}
	.type1 #carousel1 .slides li img {margin-bottom:10px;}


/* Related Production */
	.latestapps_slider .flex-control-nav {top:12px;}

	
/* Top Slider */
	.flexslider.top_slider {min-height:132px;}
	
	
	.slide2 .flex_caption1 {
		left:50%;
		width:55%;
		transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
	}
	.slide2 .flex_caption1 p{font-size:20px; line-height:20px; padding-top:5px;}
	.slide2 .flex_caption1 span.left_ribbon:before, .slide2 .flex_caption1 span.right_ribbon:before {border-top-width:26px; top:-28px;}
	.slide2 .flex_caption1 span.left_ribbon:after, .slide2 .flex_caption1 span.right_ribbon:after {border-bottom-width:26px; bottom:-7px;}
	
	
}

































