Your IP : 216.73.216.190


Current Path : /proc/1908984/root/proc/2603263/cwd/
Upload File :
Current File : //proc/1908984/root/proc/2603263/cwd/carousel.tar

css/carousel.css000064400000052004152351647340007676 0ustar00/* 
 *  Default theme - Owl Carousel CSS File
 */
.owl-theme .owl-controls {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.yt-carousel .owl-theme .owl-controls .owl-nav [class*='owl-'] {
  color: white;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #d6d6d6;
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.owl-theme .owl-controls .owl-nav [class*='owl-']:hover {
  background: #869791;
  color: white;
  text-decoration: none;
}
.owl-theme .owl-controls .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}
.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 20px 5px 5px 5px;
  background: #d6d6d6;
  display: block;
  -webkit-backface-visibility: visible;
  -webkit-transition: opacity 200ms ease;
  -moz-transition: opacity 200ms ease;
  -ms-transition: opacity 200ms ease;
  -o-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #707070;
}


div.yt-carousel-slide a.yt-carousel-item-link {position: relative;display: block;}
div.yt-carousel-slide a.yt-carousel-item-link:before {content: '';position: absolute;height: 100%;width: 100%;left: 0;opacity: 0;-webkit-transition: all .25s ease-in-out;-moz-transition: all .25s ease-in-out;-ms-transition: all .25s ease-in-out;-o-transition: all .25s ease-in-out;transition: all .25s ease-in-out;right: 0;background: rgba(0,0,0,0.4);z-index: 1;}
div.yt-carousel-slide a.yt-carousel-item-link:after {font-family: FontAwesome;content: "\f067";position: absolute;bottom: 45%;left: 50%;margin-bottom: -15px;margin-left: -15px;background: rgba(255, 255, 255, 0.3);padding: 12px 15px;line-height: normal;display: inline-block;color: #FFF;opacity: 0;border-radius: 3px;z-index: 11;-webkit-transition: all 400ms ease-in-out;-moz-transition: all 400ms ease-in-out;-ms-transition: all 400ms ease-in-out;-o-transition: all 400ms ease-in-out;transition: all 400ms ease-in-out;}
div.yt-carousel-slide span.yt-carousel-slide-title { position: absolute;left: 0;right: 0;padding: 8px 13px;background: #444;color: #fff; bottom: 0;z-index: 1;}
.yt-carousel-title-hover div.yt-carousel-slide span.yt-carousel-slide-title {bottom: -36px; opacity: 0;-webkit-transition: all .3s ease-in-out;-moz-transition: all .3s ease-in-out;transition: all .3s ease-in-out;color: #fff;}
.yt-carousel-title-hover div.yt-carousel-slide:hover span.yt-carousel-slide-title {opacity: 1;bottom: 0;}
div.yt-carousel-slide:hover a.yt-carousel-item-link:before {opacity: 1;}
div.yt-carousel-slide:hover a.yt-carousel-item-link:after {opacity: 1;bottom: 50%;}

.yt-carousel-slides .owl-nav {
  position: absolute;
  top: 15px;
  right: 15px;
  left: auto;
  opacity: 0.5;
}
.yt-carousel-slides .owl-nav:hover {
  opacity: 1;
}

/* L/R arrows */
.yt-carousel-slides.owl-theme .owl-controls .owl-nav [class*='owl-'] {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  font-family: FontAwesome;
  line-height: 40px;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0 0 0 5px;
  background: rgba(200,200,200,0.6);
}


.yt-carousel.arrow-default .yt-carousel-slides .owl-nav {position: inherit;}


.yt-carousel.arrow-default .yt-carousel-slides .owl-nav .owl-prev,
.yt-carousel.arrow-default .yt-carousel-slides .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  margin: 0;
  margin-top: -20px;
}
  

.yt-carousel.arrow-default .yt-carousel-slides .owl-nav .owl-prev {
  left: 20px;
  right: auto;
  text-indent: -2px;
}
.yt-carousel.arrow-default .yt-carousel-slides .owl-nav .owl-next {
  right: 20px;
  left: auto;
  text-indent: 2px;
}
.yt-carousel-slides .owl-prev { right: 33px; }
.yt-carousel-slides .owl-next { right: 0; }


.yt-carousel.arrow-bottom-right .owl-nav {
	bottom: 50px;
	right: 15px;	
	top: auto;
	left: auto;
}

.yt-carousel.arrow-top-left .owl-nav {
	bottom: auto;
	right: auto;	
	top: 15px;
	left: 15px;
}


.yt-carousel.arrow-top-right .owl-nav {
	bottom: auto;
	left: auto;
	right: 15px;	
	top: 15px;
}

.yt-carousel.arrow-bottom-left .owl-nav {
	bottom: 50px;
	right: auto;	
	top: auto;
	left: 15px;
}


.yt-carousel-slides.owl-theme .owl-controls .owl-nav [class*='owl-']:hover  {
	background: rgba(100,100,100,0.5);
}

.yt-carousel-slides .owl-prev:before { content: "\f053"; }
.yt-carousel-slides .owl-next:before { content: "\f054"; }
.yt-carousel-image {position: relative;}

.carousel-link {
    background: rgba(200,200,200,0.6);
    position: absolute;
    z-index: 1;
    color: #fff;
    left: 50%;
    top: 50%;
    text-align: center;
    width: 46px;
    height: 46px;
    line-height: 46px;
    margin-top: -23px;
    margin-left: -23px;
    opacity: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}


.carousel-link:hover {
  color: #FFF;
 background: rgba(100,100,100,0.5); 
}
.yt-carousel-image:hover .carousel-link {
  opacity: 1;
}

/*=======================
    Caption style
=======================*/
.yt-carousel-caption {
    padding: 25px 0 8px 0px;
}
.yt-carousel-item-text {
  margin-top: 15px;
}
.yt-carousel-slide-title {
    line-height: 1.2;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    -webkit-transition: all .2s linear;
    transition: all .4s linear;
}

.yt-carousel-slide-title a {
    text-decoration: none !important;
    color: #7f7f7f;
}
.yt-carousel-slide-title a:hover {color:#444;}

/*=====================
    Style 1
====================*/
.yt-carousel-style-1 .yt-carousel-slide {
    background: #fefefe;
    padding: 20px;
    text-align: center;
}
.yt-carousel-style-1 .yt-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.yt-carousel-style-1 .yt-carousel-slide:hover .yt-carousel-image::after {
    opacity: 1;
}
.yt-carousel-style-1 .yt-carousel-links a {
    position: absolute;
    top: 50%;
    z-index: 1;
    padding: 10px 13px;
    border-radius: 2px;
    margin-top: -20px;
    background-color: rgba(0, 0, 0, 0.2); 
    color: rgba(255, 255, 255, 0.75);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}
.yt-carousel-style-1 .yt-carousel-links a:hover {
    background: rgba(0,0,0,.4);
    color: #FFFFFF;
}
.yt-carousel-style-1 .yt-carousel-links a.yt-lightbox-item {
    left: 40%;
    margin-left: -21px;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
}
.yt-carousel-style-1 .yt-carousel-links a.yt-carousel-link {
    right: 40%;
    margin-right: -21px;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
}
.yt-carousel-style-1 .yt-carousel-slide:hover .yt-carousel-links a {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}
.yt-carousel-style-1.yt-carousel-media .yt-carousel-slide .yt-carousel-links a.yt-lightbox-item {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    margin-left: -20px;
    left: 50%;
}
.yt-carousel-style-1.yt-carousel-media .yt-carousel-slide:hover .yt-carousel-links a.yt-lightbox-item {
     -webkit-transform: translateY(0px);
    transform: translateY(0px);
}
.yt-carousel-style-1.yt-carousel-media .yt-carousel-slide {
    padding: 0; 
}
.yt-carousel .yt-carousel-links a ,.yt-carousel .yt-carousel-links a i[class*="fa-"] {outline: none;}

/*======================
    Style 2
====================*/
.yt-carousel-style-2 .yt-carousel-links a {
    position: absolute;
    top: 0;
    width: 0;
    z-index: 1;
    height: 100%;
    background-color: rgba(0,0,0,0.3);  
    color: rgba(255, 255, 255, 0.75);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.yt-carousel-style-2 .yt-carousel-slide:hover .yt-carousel-links a {
    width: 50%;
    opacity: 1;
}
.yt-carousel-style-2 .yt-carousel-slide .yt-carousel-links a:hover {
    background-color: rgba(200,200,200,0.5);
}

.yt-carousel-style-2 .yt-carousel-links a.yt-lightbox-item {
    left: 0;
}
.yt-carousel-style-2 .yt-carousel-links a.yt-carousel-link {
    right: 0;
}
.yt-carousel-style-2.yt-carousel-media .yt-carousel-slide:hover .yt-carousel-links a {
    width: 100%;
}

.yt-carousel-style-2 .owl-dots .owl-dot span {
	position: relative;
	border-radius: 50%;
	background-color: transparent;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.yt-carousel-style-2 .owl-dots .owl-dot span:before, .yt-carousel-style-2 .owl-dots .owl-dot span:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #d6d6d6;
	content: '';
	text-indent: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.yt-carousel-style-2 .owl-dots .owl-dot span:after {
	background-color: #707070;
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
.yt-carousel-style-2 .owl-dots .active span {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
.yt-carousel-style-2 .owl-dots .owl-dot:hover span, .yt-carousel-style-4 .owl-dots .owl-dot:hover span {
	background: none;
}
/*===============
    Style 3
=================*/

.yt-carousel-style-3 .yt-carousel-slide .yt-carousel-image {
	overflow: hidden;	
}
.yt-carousel-style-3 .yt-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.yt-carousel-style-3 .yt-carousel-slide:hover .yt-carousel-image::after {
    opacity: 1;
}
.yt-carousel-style-3 .yt-carousel-slide .yt-carousel-image img {
   width: 100%;
   height: auto;
   vertical-align: middle;
   -webkit-transition: all 0.6s;
   -moz-transition: all 0.6s;
   transition: all 0.6s;
}
.yt-carousel-style-3 .yt-carousel-slide:hover .yt-carousel-image img {
   -webkit-transform: scale(1.2) rotate(-10deg);
    transform: scale(1.2) rotate(-10deg);
}

.yt-carousel-style-3 .yt-carousel-slide .yt-carousel-links a {
	border: 2px solid #ffffff;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	opacity: 0;
	top: 30%;
}

.yt-carousel-style-3 .yt-carousel-slide:hover .yt-carousel-links a {
	opacity: 1;
	top: 50%;
}
.yt-carousel-style-3 .yt-carousel-slide .yt-carousel-links a:hover  {
	border-color: rgba(255, 255, 255, 0.5);
	color: rgba(255, 255, 255, 0.5);
}

.yt-carousel-style-3 .yt-carousel-links a.yt-lightbox-item {
    left: 39%;
    margin-left: -25px;
   -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.yt-carousel-style-3 .yt-carousel-links a.yt-carousel-link {
    right: 39%;  
    margin-right: -25px;
   -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.yt-carousel-style-3.yt-carousel-media .yt-carousel-links a.yt-lightbox-item {left: 50%;}

.yt-carousel-style-3 .yt-carousel-caption {
	position: relative;
}
.yt-carousel-style-3 .yt-carousel-caption:after {
	content: '';
	position: absolute;
	top: -27px;
	left: 50%;
	margin-left: -14px;
	border: 14px solid transparent;
	border-bottom-color: #FFF;
}
.yt-carousel-style-3 .owl-dots .owl-dot span {
	height: 8px;
	width: 8px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-transition: all .3s ease-in-out;
	 transition: all .3s ease-in-out;
}
.yt-carousel-style-3 .owl-dots .active span{
	background-color: #444;
	width: 25px;
}

/*=================
    style 4
==================*/
.yt-carousel-style-4 .yt-carousel-slide {
    position: relative;
}
.yt-carousel-style-4 .yt-carousel-links a, .yt-carousel-style-3 .yt-carousel-links a {
   position: absolute;
   top: 60%;
   z-index: 1;
   height: 46px;
   width: 46px;
   border-radius: 50%;
   text-align: center;
   color: #ffffff;
   line-height: 46px;
   margin-top: -23px;
   opacity: 0;
}
.yt-carousel-style-4 .yt-carousel-links a i, .yt-carousel-style-3 .yt-carousel-links a i {
    font-size: 18px;
    line-height: 46px;
}
.yt-carousel-style-4 .yt-carousel-links a:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -2px;
    top: -2px;
    border-radius: 50%;
    -webkit-transition: opacity 0s ease,-webkit-transform 0s ease,border 0s ease;
    transition: opacity 0s ease,transform 0s ease,border 0s ease;
    border: 2px solid rgba(255,255,255,0.38);
    opacity: 1;
    visibility: hidden;
}
.yt-carousel-style-4 .yt-carousel-links a:hover::after {
    visibility: visible;
    opacity: 0;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
}
.yt-carousel-style-4 .yt-carousel-links a.yt-lightbox-item {
    left: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin-left: -52px;
   -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
.yt-carousel-style-4 .yt-carousel-links a.yt-carousel-link {
    background-color: rgba(0, 0, 0, 0.3);  
    right: 50%;  
    margin-right: -52px;
   -webkit-transition: all 600ms ease-in-out;
    transition: all 600ms ease-in-out;
}
.yt-carousel-style-4 .yt-carousel-slide:hover .yt-carousel-links a {
   opacity: 1;
   top: 50%;
}

.yt-carousel-style-4.yt-carousel-media .yt-carousel-links a.yt-lightbox-item {left: 50%;}
.yt-carousel-style-4.yt-carousel-media .yt-carousel-links a.yt-lightbox-item {-webkit-transition: all 500ms ease-in-out; transition: all 500ms ease-in-out;}

.yt-carousel-style-4 .owl-stage div.owl-item .yt-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 10px;
    width: 100%;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.yt-carousel-style-4 .owl-stage div.owl-item .yt-carousel-slide:hover .yt-carousel-image:after {
   opacity: 1;
   height: 100%;
}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(1) .yt-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(2) .yt-carousel-image:after {background: rgba(243, 100, 118, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(3) .yt-carousel-image:after {background: rgba(250, 112, 72, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(4) .yt-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(5) .yt-carousel-image:after {background: rgba(27, 168, 192, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(6) .yt-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(7) .yt-carousel-image:after {background: rgba(130, 144, 151, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(8) .yt-carousel-image:after {background: rgba(75, 135, 225, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(9) .yt-carousel-image:after {background: rgba(190, 46, 64, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(10) .yt-carousel-image:after {background: rgba(49, 59, 64, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(11) .yt-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(12) .yt-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(13) .yt-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(14) .yt-carousel-image:after {background: rgba(243, 100, 118, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(15) .yt-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(16) .yt-carousel-image:after {background: rgba(75, 135, 225, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(17) .yt-carousel-image:after {background: rgba(130, 144, 151, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(18) .yt-carousel-image:after {background: rgba(27, 168, 192, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(19) .yt-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(20) .yt-carousel-image:after {background: rgba(250, 112, 72, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(21) .yt-carousel-image:after {background: rgba(243, 100, 118, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(22) .yt-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(23) .yt-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(24) .yt-carousel-image:after {background: rgba(130, 144, 151, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(25) .yt-carousel-image:after {background: rgba(75, 135, 225, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(26) .yt-carousel-image:after {background: rgba(190, 46, 64, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(27) .yt-carousel-image:after {background: rgba(49, 59, 64, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(28) .yt-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(29) .yt-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.yt-carousel-style-4 .owl-stage div.owl-item:nth-child(30) .yt-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}

.yt-carousel-style-4 .yt-carousel-slide, .yt-carousel-style-3 .yt-carousel-slide, .yt-carousel-style-2 .yt-carousel-slide {background-color: #FFFFFF;}
.yt-carousel-style-5 .yt-carousel-caption,.yt-carousel-style-4 .yt-carousel-caption, .yt-carousel-style-3 .yt-carousel-caption, .yt-carousel-style-2 .yt-carousel-caption {padding: 15px 20px;}

.yt-carousel-style-4 .owl-dots .owl-dot span {
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	background: transparent;
	box-shadow: inset 0 0 0 2px #d6d6d6;
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
}


.yt-carousel-style-4 .owl-dots .owl-dot span:after {
	content: '';
	position: absolute;
	bottom: 0;
	height: 0;
	left: 0;
	width: 100%;
	background: #d6d6d6;
	box-shadow: 0 0 1px #d6d6d6;
	-webkit-transition: height 0.3s ease;
	transition: height 0.3s ease;
}
.yt-carousel-style-4 .owl-dots .active span:after {
	height: 100%;
}


/*=================
    Style 5
==================*/
.yt-carousel-style-5 .yt-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.yt-carousel-style-5 .yt-carousel-slide:hover .yt-carousel-image::after {
    opacity: 1;
}
.yt-carousel-style-5 .yt-carousel-links a {
    position: absolute;
    bottom: 0;
    z-index: 1;
    height: 0;
    width: 50%;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

.yt-carousel-style-5 .yt-carousel-slide:hover .yt-carousel-links a {
    height: 70px;
    opacity: 1;
}
.yt-carousel-style-5 .yt-carousel-slide .yt-carousel-links a:hover {
    background-color: rgba(200, 200, 200, 0.5);
}

.yt-carousel-style-5 .yt-carousel-links a.yt-lightbox-item {
    left: 0;
}
.yt-carousel-style-5 .yt-carousel-links a.yt-carousel-link { 
    right: 0;
}

.yt-carousel-style-5 .yt-carousel-links a i[class*="fa-"], .yt-carousel-style-2 .yt-carousel-links a i[class*="fa-"] {
    position: absolute;
    top: 45%;
    font-size: 24px;
    left: 50%;
    margin-left: -11px;
    margin-top: -12px;
}

.yt-carousel-style-5.yt-carousel-media .yt-carousel-links a {
    width: 100%;
}
css/index.html000064400000000032152351647340007336 0ustar00<html><body></body></html>js/index.html000064400000000032152351647340007162 0ustar00<html><body></body></html>config.php000064400000055151152351647340006543 0ustar00<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
	class YT_Shortcode_carousel_config {
	static function get_config() {
	        // carousel
	        return array(
				'source' => array(
                    'type'    => 'source',
                    'default' => 'none',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SOURCE'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROUSEL_SOURCE_DESC'),
                    'child'   => array(
                    	'style' => array(
		                    'type'   => 'select',
		                    'values' => array(
		                        '1' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE1'),
		                        '2' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE2'),
		                        '3' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE3'),
		                        '4' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE4'),
		                        '5' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE5')
		                    ),
		                    'default' => 1,
		                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE'),
		                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE_DESC')
		                ),
                    ),
                ),
                'items_column0' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 6,
                    'step'    => 1,
                    'default' => 4,
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN0'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN0_DESC'),
                    'child'   => array(
                        'items_column1' => array(
                            'type'    => 'slider',
                            'min'     => 1,
                            'max'     => 6,
                            'step'    => 1,
                            'default' => 4,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN1'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN1_DESC'),
                        ),     
                    ),
                ),
                'items_column2' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 6,
                    'step'    => 1,
                    'default' => 3,
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN2'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN2_DESC'),
                    'child'   => array(
                        'items_column3' => array(
                            'type'    => 'slider',
                            'min'     => 1,
                            'max'     => 6,
                            'step'    => 1,
                            'default' => 2,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN3'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN3_DESC'),
                        ), 
                        'items_column4' => array(
                            'type'    => 'slider',
                            'min'     => 1,
                            'max'     => 6,
                            'step'    => 1,
                            'default' => 1,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN4'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ITEMS_COLUMN4_DESC'),
                        ),                          
                    ),
                ),
                'limit' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 100,
                    'step'    => 1,
                    'default' => 5,
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LIMIT'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROUSEL_LIMIT_DESC'),
                    'child'   => array(
		                'margin' => array(
		                    'type'    => 'slider',
		                    'min'     => 0,
		                    'max'     => 80,
		                    'step'    => 5,
		                    'default' => 10,
		                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MARGIN'),
		                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROUSEL_MARGIN_DESC')
		                ),
                    ),
                ),
                'image' => array(
                    'type'    => 'bool',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_DESC'),
                    'child'  => array(                        
                        'image_height' => array(
                            'type'    => 'slider',
                            'min'     => 10,
                            'max'     => 640,
                            'step'    => 10,
                            'default' => 320,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_HEIGHT'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_HEIGHT_DESC')
                        ),
                        'image_width' => array(
                            'type'    => 'slider',
                            'min'     => 10,
                            'max'     => 640,
                            'step'    => 10,
                            'default' => 360,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_WIDTH'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_WIDTH_DESC')
                        )
                    )
                ),
                'yt_title' => array(
                    'type'    => 'bool',
					'group'	  => 'category',	
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TITLE_DESC'),
                    'child'  => array(
                        'title_link' => array(
                            'type'    => 'bool',
							'group'	  => 'category',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LINK'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LINK_DESC')
                        ),
                        'title_limit' => array(
                            'default' => '',
							'group'	  => 'category',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LIMIT_DESC')
                        )
                    )
                ),
                'intro_text' => array(
                    'type'    => 'bool',
					'group'	  => 'category',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TEXT'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TEXT_DESC'),
                    'child'  => array(                        
                        'intro_text_limit' => array(
                            'default' => '60',
							'group'	  => 'category',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_LIMIT_DESC')
                        )
                    )
                ),
                'color' => array(
                    'type'    => 'color',
					'group'	  => 'category',
                    'values'  => array( ),
                    'default' => '#FFFFFF',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR_DESC'),
                    'child' => array(
                        'background' => array(
                            'type'    => 'color',
							'group'	  => 'category',
                            'values'  => array( ),
                            'default' => '#2D89EF',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND_DESC')
                        ),
                        'title_color' => array(
                            'type'    => 'color',
							'group'	  => 'category',
                            'values'  => array( ),
                            'default' => '#FFFFFF',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR_DESC')
                        )
                    )
                ),
				'yt_title_k2' => array(
                    'type'    => 'bool',
					'group'	  => 'k2-category',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TITLE_DESC'),
                    'child'  => array(
                        'title_link_k2' => array(
                            'type'    => 'bool',
							'group'	  => 'k2-category',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LINK'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LINK_DESC')
                        ),
                        'title_limit_k2' => array(
                            'default' => '',
							'group'	  => 'k2-category',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LIMIT_DESC')
                        )
                    )
                ),
                'intro_text_k2' => array(
                    'type'    => 'bool',
					'group'	  => 'k2-category',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TEXT'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TEXT_DESC'),
                    'child'  => array(                        
                        'intro_text_limit_k2' => array(
                            'default' => '60',
							'group'	  => 'k2-category',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_LIMIT_DESC')
                        )
                    )
                ),
                'color_k2' => array(
                    'type'    => 'color',
					'group'	  => 'k2-category',
                    'values'  => array( ),
                    'default' => '#FFFFFF',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR_DESC'),
                    'child' => array(
                        'background_k2' => array(
                            'type'    => 'color',
							'group'	  => 'k2-category',
                            'values'  => array( ),
                            'default' => '#2D89EF',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND_DESC')
                        ),
                        'title_color_k2' => array(
                            'type'    => 'color',
							'group'	  => 'k2-category',
                            'values'  => array( ),
                            'default' => '#FFFFFF',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR_DESC')
                        )
                    )
                ),
				'yt_title_vm' => array(
                    'type'    => 'bool',
					'group'	  => 'vm-category',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CAROULES_TITLE_DESC'),
                    'child'  => array(
                        'title_link_vm' => array(
                            'type'    => 'bool',
							'group'	  => 'vm-category',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LINK'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LINK_DESC')
                        ),
                        'title_limit_vm' => array(
                            'default' => '',
							'group'	  => 'vm-category',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_LIMIT_DESC')
                        )
                    )
                ),
               
                'color_vm' => array(
                    'type'    => 'color',
					'group'	  => 'vm-category',
                    'values'  => array( ),
                    'default' => '#FFFFFF',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR_DESC'),
                    'child' => array(
                        'background_vm' => array(
                            'type'    => 'color',
							'group'	  => 'vm-category',
                            'values'  => array( ),
                            'default' => '#2D89EF',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND_DESC')
                        ),
                        'title_color_vm' => array(
                            'type'    => 'color',
							'group'	  => 'vm-category',
                            'values'  => array( ),
                            'default' => '#FFFFFF',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR_DESC')
                        )
                    )
                ),
                'price_vm' => array(
                    'type'    => 'bool',
                    'group'   => 'vm-category',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PRICE'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PRICE_DESC'),
                    'child' => array(
                        'rating_vm' => array(
                            'type'    => 'bool',
                            'group'   => 'vm-category',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RATING'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RATING_DESC')
                        ),
                        'add_to_cart_vm' => array(
                            'type'    => 'bool',
                            'group'   => 'vm-category',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_ADDTOCART'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_ADDTOCART_DESC')
                        )
                    )
                ),
                'readmore_vm' => array(
                    'type'    => 'bool',
                    'group'   => 'vm-category',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_READMORE_'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_READMORE__DESC'),
                    'child' => array(
                        'text_readmore_vm' => array(
                            'group'   => 'vm-category',
                            'default' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_READMORE'),
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_READMORE_TEXT'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_READMORE_TEXT_DESC')
                        ),
                        'description_vm' => array(
                            'type'    => 'bool',
                            'group'   => 'vm-category',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DESCRIPTION_VM'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DESCRIPTION_VM_DESC')
                        ),
                        'description_max_vm' => array(
                            'group'   => 'vm-category',
                            'default' => '100',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DESCRIPTION_VM_MAX'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DESCRIPTION_VM_MAX_DESC')
                        )
                    )
                ),

                'arrows' => array(
                    'type'    => 'bool',
                    'default' => 'no',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ARROWS'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ARROWS_DESC'),
                    'child'  => array(                        
                        'arrow_position' => array(
                            'type'   => 'select',
                            'values' => array(
                                'default'      => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DEFAULT'),
                                'top-left'     => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TOP_LEFT'),
                                'top-right'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TOP_RIGHT'),
                                'bottom-left'  => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BOTTOM_LEFT'),
                                'bottom-right' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BOTTOM_RIGHT'),
                            ),
                            'default' => 'default',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ARROW_POSITION'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ARROW_POSITION_DESC')
                        ),
                        'pagination' => array(
                            'type'    => 'bool',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PAGINATION'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PAGINATION_DESC')
                        )
                    )
                ),
                'autoplay' => array(
                    'type'    => 'bool',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_AUTOPLAY'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_AUTOPLAY_DESC'),
                    'child'  => array(                        
                        'hoverpause' => array(
                            'type'    => 'bool',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HOVERPAUSE'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HOVERPAUSE_DESC')
                        ),
                        'lazyload' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LAZYLOAD'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LAZYLOAD_DESC')
                        ),
                        'loop' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LOOP'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LOOP_DESC')
                        )
                    )
                ),                
                'delay' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 10,
                    'step'    => 0.5,
                    'default' => 4,
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DELAY'), 
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DELAY_DESC'),
                    'child'  => array(                        
                        'speed' => array(
                            'type'    => 'slider',
                            'min'     => 0.1,
                            'max'     => 15,
                            'step'    => 0.2,
                            'default' => 0.35,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SPEED'), 
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SPEED_DESC')
                        )
                    )
                ),
            );
	    }
	}

?>shortcode.php000064400000040516152351647340007267 0ustar00<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
function carouselYTShortcode($atts, $content = null){
$return = '';
    $atts = ytshortcode_atts(array(
        'style'                 => '1',
        'source'                => '',
        'limit'                 => 5,
        'items_column0'         => 4,
        'items_column1'         => 4,
        'items_column2'         => 3,
        'items_column3'         => 2,
        'items_column4'         => 1,
        'items'                 => 4,
        'image'                 => 'yes',
        'quality'               => 95,

        'yt_title'              => 'yes',
        'title_link'            => 'yes',
        'title_limit'           => '',
        'intro_text'            => 'yes',
        'intro_text_limit'      => '60',
        'background'            => '',
        'color'                 => '',
        'title_color'           => '',

		'yt_title_k2'           => 'yes',
        'title_link_k2'         => 'yes',
        'title_limit_k2'        => '',
        'intro_text_k2'         => 'yes',
        'intro_text_limit_k2'   => '60',
        'background_k2'         => '',
        'color_k2'              => '',
        'title_color_k2'        => '',

		'yt_title_vm'           => 'yes',
        'title_link_vm'         => 'yes',
        'title_limit_vm'        => '',
        'intro_text_vm'         => 'yes',
        'intro_text_limit_vm'   => '60',
        'background_vm'         => '',
        'color_vm'              => '',
        'title_color_vm'        => '',
        'price_vm'              => 'yes',
        'rating_vm'             => 'yes',
        'add_to_cart_vm'        => 'yes',
        'readmore_vm'           => 'yes',
        'text_readmore_vm'      => 'Read more',
        'description_vm'        => 'yes',
        'description_max_vm'    => '100',

        'date'                  => 'no',
        'category'              => 'no',
        'image_width'           => 360,
        'image_height'          => 320,
        'margin'                => 10,
        'scroll'                => 1,
        'arrows'                => 'no',
        'arrow_position'        => 'default',
        'pagination'            => 'yes',
        'autoplay'              => 'no',
        'delay'                 => 4,
        'speed'                 => 0.35,
        'hoverpause'            => 'no',
        'lazyload'              => 'no',
        'loop'                  => 'yes',
        'class'                 => ''
    ), $atts, 'yt_carousel');

    $id = uniqid('ytc').rand().time();
    $title = "";
    $image = "";
    $intro_text='';
    $description_vm='';
    $css = '';
    $background = '';
    $color = '';
    if(isset($atts['yt_title_vm']) && $atts['yt_title_vm'] !=''){
        $atts['yt_title'] = $atts['yt_title_vm'];
    }elseif(isset($atts['yt_title_k2']) && $atts['yt_title_k2'] !=''){
        $atts['yt_title'] = $atts['yt_title_k2'];
    }else{
        $atts['yt_title'] = $atts['yt_title'];
    }

    if(isset($atts['title_link_vm']) && $atts['title_link_vm'] !=''){
        $atts['title_link'] = $atts['title_link_vm'];
    }elseif(isset($atts['title_link_k2']) && $atts['title_link_k2'] !=''){
        $atts['title_link'] = $atts['title_link_k2'];
    }else{
        $atts['title_link'] = $atts['title_link'];
    }

    if(isset($atts['title_limit_vm']) && $atts['title_limit_vm'] !=''){
        $atts['title_limit'] = $atts['title_limit_vm'];
    }elseif(isset($atts['title_limit_k2']) && $atts['title_limit_k2'] !=''){
        $atts['title_limit'] = $atts['title_limit_k2'];
    }else{
        $atts['title_limit'] = $atts['title_limit'];
    }

    if(isset($atts['intro_text_vm']) && $atts['intro_text_vm'] !=''){
        $atts['intro_text'] = $atts['intro_text_vm'];
    }elseif(isset($atts['intro_text_k2']) && $atts['intro_text_k2'] !=''){
        $atts['intro_text'] = $atts['intro_text_k2'];
    }else{
        $atts['intro_text'] = $atts['intro_text'];
    }

    if(isset($atts['intro_text_limit_vm']) && $atts['intro_text_limit_vm'] !=''){
        $atts['intro_text_limit'] = $atts['intro_text_limit_vm'];
    }elseif(isset($atts['intro_text_limit_k2']) && $atts['intro_text_limit_k2'] !=''){
        $atts['intro_text_limit'] = $atts['intro_text_limit_k2'];
    }else{
        $atts['intro_text_limit'] = $atts['intro_text_limit'];
    }

    if(isset($atts['background_vm']) && $atts['background_vm'] !=''){
        $atts['background'] = $atts['background_vm'];
    }elseif(isset($atts['background_k2']) && $atts['background_k2'] !=''){
        $atts['background'] = $atts['background_k2'];
    }else{
        $atts['background'] = $atts['background'];
    }

    if(isset($atts['color_vm']) && $atts['color_vm'] !=''){
        $atts['color'] = $atts['color_vm'];
    }elseif(isset($atts['color_k2']) && $atts['color_k2'] !=''){
        $atts['color'] = $atts['color_k2'];
    }else{
        $atts['color'] = $atts['color'];
    }

    if(isset($atts['title_color_vm']) && $atts['title_color_vm'] !=''){
        $atts['title_color'] = $atts['title_color_vm'];
    }elseif(isset($atts['title_color_k2']) && $atts['title_color_k2'] !=''){
        $atts['title_color'] = $atts['title_color_k2'];
    }else{
        $atts['title_color'] = $atts['title_color'];
    }

	//$atts['yt_title'] = ((isset($atts['yt_title_k2']) && $atts['yt_title_k2'] !='') ? $atts['yt_title_k2'] : $atts['yt_title']);
	//$atts['title_link'] = ((isset($atts['title_link_k2'])&& $atts['title_link_k2'] !='') ? $atts['title_link_k2'] : $atts['title_link']);
	//$atts['title_limit'] = ((isset($atts['title_limit_k2'])&& $atts['title_limit_k2'] !='') ? $atts['title_limit_k2'] : $atts['title_limit']);
	//$atts['intro_text'] = ((isset($atts['intro_text_k2'])&& $atts['intro_text_k2'] !='') ? $atts['intro_text_k2'] : $atts['intro_text']);
	//$atts['intro_text_limit'] = ((isset($atts['intro_text_limit_k2'])&& $atts['intro_text_limit_k2'] !='') ? $atts['intro_text_limit_k2'] : $atts['intro_text_limit']);
	//$atts['background'] = ((isset($atts['background_k2'])&& $atts['background_k2'] !='') ? $atts['background_k2'] : $atts['background']);
	//$atts['color'] = ((isset($atts['color_k2'])&& $atts['color_k2'] !='') ? $atts['color_k2'] : $atts['color']);
	//$atts['title_color'] = ((isset($atts['title_color_k2'])&& $atts['title_color_k2'] !='') ? $atts['title_color_k2'] : $atts['title_color']);
	
    $lang = JFactory::getLanguage();
    $lang = ($lang->isRTL()) ? 'true' : 'false';

    $slides = (array)get_slides($atts);


    if (($atts['background']) or ($atts['color'])) {

        $background = ($atts['background']) ? 'background-color:'.$atts['background'].';' : '';
        $color = ($atts['color']) ? 'color:'.$atts['color'].';' : '';

        $css .= '.'.$id.' .yt-carousel-slide {' . $background . $color .'}';

        if ($atts['style'] == 3) {
            $css .= '.'.$id.'.yt-carousel-style-3 .yt-carousel-caption:after {border-bottom-color: '.$atts['background'].';}';
        }
    }

    if ($atts['title_color']) {
        $css .= '.'.$id.'.yt-carousel-slide .yt-carousel-slide-title a {color: '.$atts['title_color'].';}';
        $css .= '.'.$id.'.yt-carousel-slide .yt-carousel-slide-title a:hover {color: '.yt_lighten($atts['title_color'],'10%').';}';
    }

    if (count($slides) and ($atts['yt_title'] == 'yes' or $atts['image']  == 'yes' or  $atts['intro_text'] === 'yes')) {
        $source = substr($atts['source'], 0, 5);
        if ($source == 'media'){
            $atts['class'] .= ' yt-carousel-media';
        }
        $return .= '<div id="' . $id . '" class="yt-clearfix ' . $id . ' '.$atts['class'].' yt-carousel yt-carousel-style-'.$atts['style'].' yt-carousel-title-' . $atts['yt_title'] .' arrow-'. $atts['arrow_position'].'" data-autoplay="' . $atts['autoplay'] .'" data-delay="' . $atts['delay'] . '" data-speed="' . $atts['speed'] . '" data-arrows="' . $atts['arrows'] .'" data-pagination="' . $atts['pagination'] . '" data-lazyload="' . $atts['lazyload'] . '" data-hoverpause="' . $atts['hoverpause'] . '" data-items="' . $atts['limit'] . '" data-items_column0="' . $atts['items_column0'] . '" data-items_column1="' . $atts['items_column1'] . '" data-items_column2="' . $atts['items_column2'] . '"  data-items_column3="' . $atts['items_column3'] . '" data-items_column4="' . $atts['items_column4'] . '" data-margin="' . $atts['margin'] . '" data-scroll="' . $atts['scroll'] . '" data-loop="' . $atts['loop'] . '" data-rtl="' . $lang . '"  ><div class="'.$id.' yt-carousel-slides">';
        $limit = 1;
        foreach ((array) $slides as $slide) {
			$image_url ='';
			if($slide['image'])
			{
            	$image_url = yt_image_resize($slide['image'], $atts['image_width'], $atts['image_height'], $atts['quality']);
			}
			else
			{
				$image_url =yt_image_resize('plugins/system/ytshortcodes/assets/images/URL_IMAGES.png',$atts['image_width'], $atts['image_height'], $atts['quality']);
			}

            if($atts['yt_title'] == 'yes' && $slide['title'] ) {

                $title = stripslashes($slide['title']);

                if ($atts['title_limit']) {
                    $title = yt_char_limit($title, $atts['title_limit']);
                }

                if ($atts['title_link'] == "yes") {
                    $title = '<a href="'.$slide['link'].'">'.$title.'</a>';
                }
                $title = '<h3 class="yt-carousel-slide-title">' . $title . '</h3>';
            }

            if ($atts['intro_text'] === 'yes' and isset($slide['introtext'])) {

                $intro_text = $slide['introtext'];

                if ($atts['intro_text_limit']) {
                    $intro_text = yt_char_limit($intro_text, $atts['intro_text_limit']);
                }

                $intro_text =  '<div class="yt-carousel-item-text">'.parse_shortcode(str_replace(array("<br/>", "<br>", "<br />"), " ", $intro_text)).'</div>';
            }
           
            if($atts['description_vm'] == 'yes' and isset($slide['description']))
            {
                $description_vm = $slide['description'];
                $description_vm =  '<div class="yt-carousel-item-text">'.parse_shortcode(str_replace(array("<br/>", "<br>", "<br />"), " ", $description_vm)).'</div>';
            }
            $return .= '<div class="'.$id.' yt-carousel-slide">';

                if (isset($image_url) && $atts['image']  == 'yes') {
                    $return .= '<div class="yt-carousel-image">';

                        if (isset($image_url)) {
                            $return .= '<div class="yt-carousel-links">
                                <a class="yt-lightbox-item" href="'. yt_image_media($slide['image']) .'" title="'. strip_tags($title).'">
                                    <i class="fa fa-search"></i>
                                </a>';

                                if ($source != 'media') {
                                    $return .= '<a class="yt-carousel-link" href="'.$slide['link'].'" title="'. strip_tags($title).'">
                                        <i class="fa fa-link"></i>
                                    </a>';
                                }
                            $return .= '</div>';
                        }

                        $return .= '<img src="' . yt_image_media($image_url['url']) . '" alt="' . strip_tags($title) . '" />';
                    $return .= '</div>';
                }

                if (($title) or ($intro_text)) {
                    $return .= '<div class="yt-carousel-caption">'.$title . $intro_text. $description_vm.'</div>';
                }


            $return .= '</div>';

            if ($limit++ == $atts['limit']) break;
        }

        $return .= '</div>';
		JHtml::stylesheet(JUri::base()."plugins/system/ytshortcodes/assets/css/magnific-popup.css",'text/css',"screen");
        JHtml::stylesheet(JUri::base()."plugins/system/ytshortcodes/shortcodes/carousel/css/carousel.css");
		JHtml::_('jquery.framework');
        JHtml::script(JUri::base()."plugins/system/ytshortcodes/assets/js/magnific-popup.js");
       
		if (!defined ('OWL_CAROUSEL'))
		{
			JHtml::script(JUri::base()."plugins/system/ytshortcodes/assets/js/owl.carousel.js");
			JHtml::stylesheet(JUri::base()."plugins/system/ytshortcodes/assets/css/owl.carousel.css",'text/css',"screen");
			define( 'OWL_CAROUSEL', 1 );
		}
        $return .= '</div>';
        $doc = JFactory::getDocument();
		$doc->addStyleDeclaration($css);
        $doc->addScriptDeclaration('
		    jQuery(document).ready(function ($) {
				// Enable carousels
					jQuery(\'.'.$id.'.yt-carousel\').each(function () {
						// Prepare data
						var $carousel = $(this),
							$slides = $(\'.'.$id.'.yt-carousel-slides\'),
							$slide = $(\'.'.$id.'.yt-carousel-slide\'),
							data = $carousel.data();
						// Apply Swiper
						var $owlCarousel = $slides.owlCarousel({
							responsiveClass: true,
							mouseDrag: true,
							autoplayTimeout: data.delay * 1000,
							smartSpeed: data.speed * 1000,
							lazyLoad: (data.lazyload == \'yes\') ? true : false,
							autoplay: (data.autoplay == \'yes\') ? true : false,
							autoplayHoverPause: (data.hoverpause == \'yes\') ? true : false,
							center: (data.center == \'yes\') ? true : false,
							loop: (data.loop == \'yes\') ? true : false,
							margin: data.margin,
							navText: [\'\',\'\'],
							rtl: data.rtl,
                            dots: (data.pagination == \'yes\') ? true : false,
                            nav: (data.arrows == \'yes\') ? true : false,
							responsive:{
						        0:{
						            items: data.items_column4,
						            margin: 0,
						            nav: (data.items > data.items_column4) ? true : false
						        },
                                480: {
                                    items: data.items_column3,
                                    nav: (data.items > data.items_column3) ? true : false
                                },
                                768: {
                                    items: data.items_column2,
                                    nav: (data.items > data.items_column2) ? true : false
                                },
                                992: { 
                                    items: data.items_column1,
                                    nav: (data.items > data.items_column1) ? true : false
                                },
                                1200: {
                                    items: data.items_column0,
                                    nav: (data.items > data.items_column0) ? true : false
                                }
						    }
                           
						});

						// Lightbox for galleries (slider, carousel, custom_gallery)
						$(this).find(\'.yt-lightbox-item\').magnificPopup({
							type: \'image\',
							mainClass: \'mfp-zoom-in mfp-img-mobile\',
							tLoading: \'\', // remove text from preloader
							removalDelay: 400, //delay removal by X to allow out-animation
							gallery: {
								enabled: true,
								navigateByImgClick: true,
								preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
							},
							callbacks: {
								open: function() {
									//overwrite default prev + next function. Add timeout for css3 crossfade animation
									$.magnificPopup.instance.next = function() {
										var self = this;
										self.wrap.removeClass(\'mfp-image-loaded\');
										setTimeout(function() { $.magnificPopup.proto.next.call(self); }, 120);
									}
									$.magnificPopup.instance.prev = function() {
										var self = this;
										self.wrap.removeClass(\'mfp-image-loaded\');
										setTimeout(function() { $.magnificPopup.proto.prev.call(self); }, 120);
									}
								},
								imageLoadComplete: function() {
									var self = this;
									setTimeout(function() { self.wrap.addClass(\'mfp-image-loaded\'); }, 16);
								}
							}
						});

					});
				});
		');
    }

    else
        $return = yt_alert_box('Carousel content not found, please check carousel source settings.', 'warning');
    return $return;
}
?>