// Bootstrap carousel style
.carousel {
	margin-bottom: 15px;
	.carousel-caption {
		text-shadow: none;
		background: fade(#000, 50%);
		left: 0;
		right: 0;
		bottom: 0;
		h4 { color: @white; text-shadow: none; font-weight: 500; }
	}
	
	.carousel-control {
		text-shadow: none;
		color: transparent;
		&.left, &.right {
			background-image: none!important;
		}
		&.right { justify-content: center; }
	}

	.carousel-indicators {
		bottom: 0;
		li {.border-radius(0);}
	}
	
	&.@{brand}-carousel {
		.item { overflow: hidden;}
		.carousel-indicators {
			top: auto;
			bottom: -23px;
			margin: 0;
			width: auto;
			right: 0; left: 0;
			
			li {
				background-color: @brand-secondary;	
				&.active { background-color: lighten(@brand-secondary, 20%);}
			}
			
			&.right {
				justify-content: flex-end;
			}
			&.left {
				justify-content: flex-start;
			}
		}
	}
	
	&:hover, &.focus {
		.carousel-control {
			color: @brand-secondary;
			opacity:0.55;
		}
	}
}


section, .sec {
	&.testimonials {
		.testimonials-carousel {
			.owl-stage-outer {
				padding: 60px 0;	
				.owl-stage {					
				   .owl-item {
						.testimonial-item {
							background-color: @white;
							box-shadow: @box-shadow;
							border: 1px solid @default-border-color;
							transition: all 300ms ease;
							padding: 30px 30px;
							border-radius: @border-radius;
							.quote {
								display: block;
								margin-bottom: 20px;
								[class*='fa-'] {
									font-size: 26px;
									text-align: left;
								}
							}
							.readmore {
								font-size: 80%;
							}
							.author-info {
								display: flex;
								align-items: center;
								margin-top: 15px;
								 
								 .author-img {
									margin-right: 10px;
									img {
										width: 50px;
										height: 50px;
										max-width: 50px; max-height: 50px;
										border: 2px solid @white;
										border-radius: 100%;
										overflow: hidden;
									}									
								 }
								 .author-name-link {
									span {
										display: block;
										
										&.link {
											margin-top: -5px;
											a {
												font-size: @baseFontSize - 2;											
											}
										}
										
										&.rating {
											font-size: 60%;
											color: #fedc45;
											&[class*="fa-"] {
												opacity: 0.70;
											}
											
											.active {
												&[class*="fa-"] {
													font-weight: 900;
													opacity: 1;
												}
											}
										}
									}
								 }
							}
						}
						
						&.active {
							z-index:1;
						}
						
						@media (min-width: 992px) {
							&.active {
								.testimonial-item {
									opacity: 0.3;
								}
								&.center {
									z-index:2;
									.testimonial-item {
										opacity: 1;
										background: @themeColor;
										border-color: @themeColor;
										color: @white;
										padding: 25px;
										transform: scale(1.20);
										.readmore {
											color: @white;
										}
										.author-info {
											 .author-name-link {
												span {
													&.link {
														a {
															color: @white;
														}
													}
												}
											 }
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}

}

// OWL styles

.owl-carousel {
	.slide-item {
		padding: 0px 5px;
	}
	&.no-padding-items {
		.slide-item {
			padding: 0px;			
		}
	}
	
	&.feature-apps {
		img {
			border: 2px solid @default-border-color;
			background: @white;;
			width: 75px!important;
			margin: auto;
		}
	}
	
	.owl-item img {
		width: auto;
	}
	

	.owl-nav {
		margin-top: 10px;
		text-align: center;
		-webkit-tap-highlight-color: transparent;

		[class*='owl-'] {
			margin: 5px;
			display: inline-block;
			cursor: pointer;
			color: @white;
			text-decoration: none;
			font-size: @baseFontSize + 5;
			line-height: 25px;
			text-align: center;
			width: 56px;
			height: 56px;
			border-radius: 50%;
			box-shadow: 0px 2px 20px 2px rgba(12, 0, 46, 0.06);
			transition: all 0.2s linear;
			
			span {
				display: none;
			}
			
			&:before {	
				font-family: "Font Awesome 5 Pro";
				font-style: normal;
				font-weight: 400;
				text-indent: 0px;
			}			

			&:hover {
				background: @brand-secondary;
				color:@white;
				text-decoration: none;
			}
		}
		
		.owl-next {
			&:before {
				content: "\f061";
			}
			
			&:hover {
				&:before {
					content: "\f060";
				}
			}
		}
		
		.owl-prev {
			&:before {
				content: "\f060";
			}
			
			&:hover {
				&:before {
					content: "\f061";
				}			
			}
		}
		.disabled {
			opacity:0.50;
			cursor: default;
		}
	}

	.owl-nav.disabled + .owl-dots {
		margin-top: 10px;
	}

	.owl-dots {
		text-align: center;
		-webkit-tap-highlight-color: transparent;

		.owl-dot {
			display: inline-block;
			span {
				width: 10px;
				height: 10px;
				margin: 0 3px;
				border: 1px solid @brand-secondary;
				background-color: @white;
				color: @brand-secondary;
				display: block;
				-webkit-backface-visibility: visible;
				.transition(opacity 200ms ease);
			}

			&.active,
			&:hover {
				span {
					background: lighten(@brand-secondary, 20%); width: 12px; height: 12px; color: @white;
				}
			}
		}
	}
	
	.owl-nav button.owl-next, .owl-nav button.owl-prev, button.owl-dot {
		outline: none!important;
	}
}

section, .sec {
	&.gallery {
	
		.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
			bottom: -20px;
		}
		
		.thumbnail {
			position:relative;
			overflow:hidden;
			.tools {
				position:absolute;
				top: -100%;
				right: 0;
				width: 100%;
				height: 100%;
				text-align: center;
				color:@white !important;
				z-index:2;
				.transition(~"all 0.5s ease-in-out");
				
				[class*="fa-"] {
					background: rgba(0, 0, 0, 0.55);
					font-size: @baseFontSize + 3;
					padding: 15px;
					border-radius: 100%;
					color: @gray-lighter;
				}
				
				.btn {
					background: rgba(0, 0, 0, 0.55);
					border: 1px solid rgba(0, 0, 0, 0.10);
					font-size: @baseFontSize;
					color: @gray-lighter;
					.transition(~"all 0.5s linear");
					
					&:hover {
						background: rgba(0, 0, 0, 0.55);
					}
				}
			}
			&:hover {		
				.tools {
					top: 35%;
				}
			}	
		}
		.contents, a.contents {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-top: 0.50rem;
			font-size: @h5-font-size; 
			text-decoration: none;
			text-align: center;
		}

		.gallery-items {
			margin-bottom: 2rem;
			.item-graphics {
				position:relative;
				overflow:hidden;
				.tools {
					position:absolute;
					top: -100%;
					right: 0;
					width: 100%;
					height: 100%;
					text-align: center;
					color:@white !important;
					z-index:2;
					.transition(~"all 0.5s ease-in-out");
					
					[class*="fa-"] {
						background: rgba(0, 0, 0, 0.55);
						font-size: @baseFontSize + 3;
						padding: 15px;
						border-radius: 100%;
						color: @gray-lighter;
					}
					
					.btn {
						background: rgba(0, 0, 0, 0.55);
						border: 1px solid rgba(0, 0, 0, 0.10);
						font-size: @baseFontSize;
						color: @gray-lighter;
						.transition(~"all 0.5s linear");
						
						&:hover {
							background: rgba(0, 0, 0, 0.55);
						}
					}
				}
			}
			
			&.has-link {
				cursor: pointer;
			}

			&:hover {
				.item-graphics {
					img, video {
						opacity: 0.70;
					}
					.tools {
						top: 45%;
					}
				}
			}			
		}		
	}
}