/*------------------------------------------------------------
**
** Owl Slider
**
--------------------------------------------------------------*/
.owl-carousel .owl-video-tn {
	background-size: cover;
	padding-bottom: 45%; /* 16:9 */
	padding-top: 25px;
}

.owl-video-frame {
	position: relative;
	padding-bottom: 45%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.owl-video-frame iframe {
	position: absolute;
	top: 0;left: 0;
	width: 100%;height: 100%;
}

.owl-slide.owl-theme .owl-nav {
	position: absolute;top: 50%;left:0;right:0;
	margin-top: -40px;text-align: center;
	-webkit-tap-highlight-color: transparent;
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.owl-slide.owl-theme .owl-nav button {position: absolute;top:0;bottom: 0;}
.owl-slide.owl-theme .owl-nav button:focus {outline: 0;}
.owl-slide.owl-theme .owl-nav .owl-prev {left: 0;}
.owl-slide.owl-theme .owl-nav .owl-next {right: 0;}
.owl-slide.owl-theme .owl-nav [class*='owl-'] {
	position: absolute;
	display: inline-block;
	margin: 0;padding: 0;
	width: 80px;height: 80px;
	font-size: 14px;line-height: 80px;
	color: #fff;background-color: rgba(255,255,255,0);
	border-radius: 0;
	cursor: pointer;
	-webkit-transition: all 400ms ease;
	-moz-transition: all 400ms ease;
	-ms-transition: all 400ms ease;
	-o-transition: all 400ms ease;
	transition: all 400ms ease;
}
.owl-slide.owl-theme .owl-nav [class*='owl-']:hover {width: 80px;color: #FFF;background-color: transparent;}

.owl-slide.owl-theme .owl-nav .disabled {opacity: 0.5;cursor: default; }
.owl-slide.owl-theme .owl-nav.disabled + .owl-dots {margin-top: 10px; }
.owl-slide.owl-theme .owl-dots {
	position:absolute;bottom: 10px;
	width:100%;text-align: center;
	-webkit-tap-highlight-color: transparent;
}
.owl-slide.owl-theme .owl-dots .owl-dot {
	display: inline-block;position: relative;
	margin: 0 2px;
	zoom: 1;
	*display: inline;
}
.owl-slide.owl-theme .owl-dots .owl-dot>img {	
	border: 0px solid transparent;
}
.owl-slide.owl-theme .owl-dots .owl-dot::after {
	content: '';display: block;
	position: absolute;left: 0;top: 0;
	width: 100%;height: 100%;
	background-color: rgba(0,0,0,0.2);
	transition: all 0.2s ease;
	z-index: 1;
}
.owl-slide.owl-theme .owl-dots .owl-dot:hover::after,
.owl-slide.owl-theme .owl-dots .owl-dot.active::after {background-color: rgba(0,0,0,0);}

.owl-slide.owl-theme .owl-dots .owl-dot.active>img {border: 3px solid #fff;}
.owl-slide.owl-theme .owl-dots .owl-dot span {
	display: block;margin: 5px 4px;
	width: 20px;height: 3px;
	background: #fff;
	-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;
	}
.owl-slide.owl-theme .owl-dots .owl-dot.active,
.owl-slide.owl-theme .owl-dots .owl-dot:hover span {
	color: #fff;
	/*background: #fa568b;*/
}

/* add */
.owl-slide .owl-nav {opacity: 0;}
.owl-slide:hover .owl-nav {opacity: .8;}
.owl-slide .item-caption {
	position:absolute;top: 0;left: 0;
    width: 100%;height: 100%;
    z-index: 10;
}
.owl-slide .item-caption h1,
.owl-slide .item-caption .owl-p {
	margin: 0;
	font-weight: 100;
	color: #fff;
}
.owl-slide .item-caption h1 {font-size: 50px;line-height: 1.2;}
.owl-slide .item-caption .owl-p {font-size: 26px;line-height: 1.4;}
.owl-slide .item-caption .container {display: table;height: 100%;}
.owl-slide .item-caption .container .table-cell {
	display: table-cell;
	vertical-align: middle;
}

/* Costom dots */
#slide-dots  {    
	position: relative;
	padding: 0 15px;margin-top: -4rem;
	list-style: none;
	z-index: 2;
}
#slide-dots .owl-dot {
	margin: 0 2px;
	line-height: 30px;
	color: #333;background-color: rgba(255,255,255,0.8);
}
#slide-dots .owl-dot:hover,
#slide-dots .owl-dot:focus {color: #fff;background-color: rgba(0,0,0,1);}

@media (max-width: 991px) {
	.owl-slide .item-caption h1 {font-size: 40px !important;}
	.owl-slide .item-caption .owl-p {font-size: 20px !important;}
}
@media (max-width: 480px) {
	.owl-slide .item-caption h1 {font-size: 24px !important;}
	.owl-slide .item-caption .owl-p {font-size: 15px !important;}
}
