/* ---- customize styles here ---- */

.parallax-slider{
	height: 832px;

	@media (min-width: 768px) and (max-width: 979px) {
		height: 650px;
	}
	@media (max-width: 767px) {
		height: 550px;
	}
	
	#mainCaptionHolder{
		.container {
			top: 47%;

			@media (min-width: 768px) and (max-width: 979px) {
				top: 56%;
			}
		}
		.slider_caption {
			padding: 0 0 0 54px;

			@media (min-width: 768px) and (max-width: 979px) {
				padding-left: 0;
			}
			@media (max-width: 767px) {
				padding-left: 20px;
				padding-right: 20px;
				text-align: center;
			}

			h1,h2 {
				font-size:67px;
				line-height: 1.2em;
				font-weight:bold;
				text-transform: uppercase;
				letter-spacing: 0;
				color: @white;
				color: rgba(255, 255, 255, 0.345);

				@media (min-width: 1200px) {
					font-size:92px;
					line-height:92px;
				}
				@media (min-width: 768px) and (max-width: 979px) {
					font-size: 49px;
					line-height: 60px;
				}
				@media (max-width: 767px) {
					font-size: 49px;
					line-height: 60px;
				}
				@media (max-width: 480px) {
					font-size: 30px;
					line-height: 45px;
				}

				small {
					font-size: 36px;
					line-height: 30px;
					color: @white;
					width: 277px;
					text-align: right;
					float: left;
					margin-right: 9px;
					padding: 6px 0 0 0;

					@media (min-width: 1200px) {
						padding-top: 16px;
					}
					@media (min-width: 768px) and (max-width: 979px) {
						font-size: 28px;
						line-height: 25px;
						padding-top: 0;
					}
					@media (max-width: 767px) {
						font-size: 28px;
						line-height: 25px;
						padding-top: 0;
						text-align: center;
						float: none;
						display: block;
						width: auto;
						margin-right: 0;
					}
				}

				strong {
					color: #ddaf98;
					color: rgba(221, 175, 152, 0.345);
					float: left;
					letter-spacing: -1px;

					@media (max-width: 767px) {
						float: none;
					}
				}
			}
		}
	}
	
	.controlBtn {
		width: 60px;
		height: 60px;
		margin-top: -30px;
		
		.innerBtn{				
			font-size: 48px;
			line-height: 60px;
			color: @linkColor;
			background: @white;
		}
		.slidesCounter{
			font-size: 16px;
			line-height: 60px;
			color: @linkColor;
			background: @white;
		}
	}
	.controlBtn:hover {
		.innerBtn{
			color: @white;
			background: #eb1c00;
		}
	}
	
	.parallaxPrevBtn, .parallaxNextBtn {
		.transition(all 0.5s ease);
	}
	.parallaxPrevBtn {
		left: -60px;
	}
	.parallaxNextBtn {
		right: -60px;
	}
	&:hover {
		.parallaxPrevBtn{
			left:0;
		}
		.parallaxNextBtn{
			right:0;
		}
	}
	
	#paralaxSliderPagination{
		bottom: 25px;
		
		&.buttons_pagination{
			ul{
				li{
					border-radius: 50%;
					margin: 0 0 0 7px;
					width: 14px;
					height: 14px;
					background: @white;

					&:first-child {
						margin-left: 0;
					}
					
					&:hover, &.active{
						background: #eb1c00;
					}
				}
			}
		}
		&.images_pagination{
			ul{
				li{
					margin: 3px;
					opacity:.5;
					
					&:hover, &.active{
						opacity:1;
					}
				}
			}
		}
	}
	
	#previewSpinner{	
		width: 50px;
		height: 50px;
		margin-left: -25px;
		margin-top: -25px;
		border-radius: 25px;
		background: url(parallax-slider/img/spinner.GIF) 50% 50% #fff no-repeat;
	}
}



/* ---- necessary slider settings  ---- */
/* ---- without the need doesn't change anything  ---- */

.parallax-slider{
	overflow: hidden;
	position:relative;
	-ms-transform: translateZ(0);
	transform: translateZ(0);

	.baseList{
		display: none;
	}
	
	.parallax-slider-video-progress-bar {
		position:absolute;
		overflow:hidden;
		top:0;
		left:0;
		width:100%;
		height:8px;
		background:url(parallax-slider/img/loader.gif) 0 0 repeat-x;
		z-index:5;
	}
	.parallax-slider-video-progress {
		width:0;
		height:100%;
		
		-webkit-transition: all .5s;
		   -moz-transition: all .5s;
			 -o-transition: all .5s;
				transition: all .5s;
	}
	
	.parallax-slider-vimeo-video {
		overflow:hidden;
		
		.parallax-slider-vimeo-iframe{
			margin-top:-100px;
			max-width:none;
		}
	}
	
	#mainImageHolder{
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 1;
		
		.primaryHolder, .secondaryHolder{
			position: absolute;
			width: 100%;
			top: 0;
			left: 0;
			
			.obj-inner {
				max-width: inherit;
				background-repeat: no-repeat;
				background-position: center;
				background-size: cover;
			}
		}
	}
	
	
	#mainCaptionHolder{
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 2;
		
		>a{
			position:absolute;
			top:0;
			left:0;
			width:100%;
			height:100%;
		}
		
		.container {
			position:relative;
		}
		
		.primaryCaption, .secondaryCaption {
			position: absolute;
			width: 100%;
			top:0;
			left:0;
		}
	}
	
	
	.controlBtn{
		position: absolute;
		cursor: pointer;
		display: block;
		top: 50%;
		z-index: 2;
		
		.innerBtn{
			.transition(all 0.3s ease);
			position: relative;
			display:block;
			width: 100%;
			height: 100%;
			text-align: center;
			z-index: 1;
		}
		.slidesCounter{
			.transition(all 0.3s ease);
			position: absolute;
			top: 0;
			width: 60%;
			height: 100%;
		}
		
		&.parallaxPrevBtn{
			.slidesCounter{
				left: 0%;
				text-align:left;
			}
			&:hover{
				.slidesCounter{
					left: 100%;
				}
			}
		}
		&.parallaxNextBtn{
			.slidesCounter{
				right: 0%;
				text-align:right;
			}
			&:hover{
				.slidesCounter{
					right: 100%;
				}
			}
		}
	}
	
	
	#paralaxSliderPagination{		
		position: absolute;
		width: 100%;
		z-index: 2;
		text-align: center;
		
		ul{
			list-style: none;
			margin: 0;
			
			li{
				.transition(all 0.5s ease);
				cursor: pointer;
				display: inline-block;
			}
		}
	}
	
	
	#previewSpinner{	
		position: absolute;
		display: block;
		top: 50%;
		left: 50%;
		z-index: 99;
	}
	
	
	&.zoom-fade-eff{
		#mainImageHolder{
			.primaryHolder{
				.opacity(100);
				.scale(1);
					&.animateState{
						.opacity(0);
						.scale(3);
					}
			}
			.secondaryHolder{
				.opacity(100);
					&.animateState{
						.opacity(0);
					}
			}
		}
		#mainCaptionHolder{
			.primaryCaption{
				.opacity(100);
					&.animateState{
						.opacity(0);
					}
			}
			.secondaryCaption{
				.opacity(100);
					&.animateState{
						.opacity(0);
					}
			}
		}
	}
	&.simple-fade-eff{
		#mainImageHolder{
			.primaryHolder{
				.opacity(100);
					&.animateState{
						.opacity(0);
					}
			}
			.secondaryHolder{
				&.animateState{
					.opacity(100);
						&.animateState{
							.opacity(0);
						}
				}
			}
		}
		#mainCaptionHolder{
			.primaryCaption{
				.opacity(100);
				.scale(1);
					&.animateState{
						.opacity(0);
					}
			}
			.secondaryCaption{
				.opacity(100);
					&.animateState{
						.opacity(0);
					}
			}
		}
	}
	&.slide-top-eff{
		#mainImageHolder{
			.primaryHolder{
				top: 0;
					&.animateState{
						top: -100%;
					}
			}
			.secondaryHolder{
				&.animateState{
					top: 0;
						&.animateState{
							top: 100%;
						}
				}
			}
		}
		#mainCaptionHolder{
			.primaryCaption{
				.opacity(100);
				.scale(1);
					&.animateState{
						.opacity(0);
					}
			}
			.secondaryCaption{
				.opacity(100);
					&.animateState{
						.opacity(0);
					}
			}
		}
	}
}