.homeslider {
	position: relative;
	list-style: none;
	overflow: hidden;
	margin:0 0 80px;
}
.homeslider .caption {
    bottom: 30%;
    left: 0;
    top: auto;
    position: absolute;
    right: 0;
    text-align: center;
    width: 26%;
    float: left;
    margin: 0 auto;
}
.homeslider .caption h2 {
    color: var(--secondary-bg-color);
    margin: 0;
    font: 500 70px/72px var(--ternary-font);
    animation: 1s ease-in-out 0s normal none 1 running fadeOutLeft;
    float: left;
    width: 100%;
}
.homeslider .active .caption h2{
    animation: 1s ease-in-out 0s normal none 1 running fadeInLeft;
}
.homeslider .caption p {
    float: left;
    width: 100%;
    font: 300 70px/76px var(--primary-font);
    margin: 0 0 35px;
    animation: 1.2s ease-in-out 0s normal none 1 running fadeOutLeft;
	color:#111;
}
.homeslider .active .caption p {
    animation:1.2s ease-in-out 0s normal none 1 running fadeInLeft;
}
.homeslider .caption p.slide-button {
	line-height:0;
}
.homeslider .odd .caption p.slide-button {
	float:left;
	width: 100%;
    animation: 1.4s ease-in-out 0s normal none 1 running fadeOutLeft;
}
.homeslider .active.odd .caption p.slide-button {
    animation: 1.4s ease-in-out 0s normal none 1 running fadeInLeft;
}
.homeslider .caption p.slide-button .btn {
    background: #111;
    color: #fff;
	border-radius: 25px; 
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	-khtml-border-radius: 25px;
    cursor: pointer;
    padding: 10px 30px;
    margin: 0;
    font: 600 14px/20px var(--secondary-font);
    z-index: 1;
    position: relative;
    overflow: hidden;
	border:none;
}
.homeslider .caption p.slide-button .btn::after {
    content: '';
    background: var(--secondary-bg-color);
    height: 100%;
    width: 0;
    position: absolute;
    transition: .3s cubic-bezier(.785, .135, .15, .86);
    -webkit-transition: .3s cubic-bezier(.785, .135, .15, .86);
    -moz-transition: .3s cubic-bezier(.785, .135, .15, .86);
    -o-transition: .3s cubic-bezier(.785, .135, .15, .86);
    -ms-transition: .3s cubic-bezier(.785, .135, .15, .86);
    top: 0;
    left: auto;
    right: 0;
    z-index: -1;
}
.homeslider .caption p.slide-button .btn:focus::after,
.homeslider .caption p.slide-button .btn:active::after,
.homeslider .caption p.slide-button .btn:hover::after{
    width: 100%;
    right: auto;
    left: 0;
}
.homeslider .caption p.slide-button .btn:focus,
.homeslider .caption p.slide-button .btn:active,
.homeslider .caption p.slide-button .btn:hover{
    color: var(--secondary-text-color);
}
.homeslider:hover .direction a {
    opacity: 1 !important;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
}
.homeslider .direction a {
    opacity: 0 !important;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
}
.homeslider .direction .left {
    left: -30px;
}
.homeslider .direction .right {
	right: -30px;
}
.homeslider:hover .direction .left {
    left: 30px;
}
.homeslider:hover .direction .right {
	right: 30px;
}
.homeslider .caption p.slide-button {
	margin:0;
}
.carousel-inner {
    position: relative;
    width: 100%;
	float:left;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
#carousel .carousel-inner .owl-nav .owl-prev, #carousel .carousel-inner .owl-nav .owl-next {
    font-size: 0;
    transition: all 400ms ease-in-out 0s;
    -webkit-transition: all 400ms ease-in-out 0s;
    -moz-transition: all 400ms ease-in-out 0s;
    -o-transition: all 400ms ease-in-out 0s;
    -ms-transition: all 400ms ease-in-out 0s;
    bottom: 0;
    cursor: pointer;
    display: block;
    height: 50px;
    margin: auto;
    position: absolute;
    text-decoration: none;
    top: 0;
    width: 70px;
    background: #fff;
	border: none;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
}
#carousel .carousel-inner .owl-nav{
	opacity: 0;
	-moz-opacity: 0;
	-khtml-opacity: 0;
	-webkit-opacity: 0; 
	transition: all 400ms ease-in-out 0s;
	-webkit-transition: all 400ms ease-in-out 0s;
	-moz-transition: all 400ms ease-in-out 0s;
	-o-transition: all 400ms ease-in-out 0s;
	-ms-transition: all 400ms ease-in-out 0s;
}
#carousel .carousel-inner:hover .owl-nav{
    opacity: 1;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
}
#carousel .carousel-inner .owl-nav i{
	display:block;
	color:#111;
	font-size:30px;
	width:30px;
	height:30px;
	line-height:48px;
}
#carousel .carousel-inner .owl-nav .owl-prev i{
	float:left;
}
#carousel .carousel-inner .owl-nav .owl-next i{
	float:right;
}
#carousel .carousel-inner .owl-nav .owl-prev{
    left: 0;
    right: auto;
	border-radius: 0 25px 25px 0px;
	-moz-border-radius: 0 25px 25px 0px;
	-webkit-border-radius: 0 25px 25px 0px;
	-khtml-border-radius: 0 25px 25px 0px;
}
#carousel .carousel-inner .owl-nav .owl-next{
    right: 0;
	left: auto;
	border-radius: 25px 0 0 25px;
	-moz-border-radius: 25px 0 0 25px;
	-webkit-border-radius: 25px 0 0 25px;
	-khtml-border-radius: 25px 0 0 25px;
}
#carousel .carousel-inner .owl-nav .owl-prev:hover,
#carousel .carousel-inner .owl-nav .owl-next:hover{
	width: 80px;
}
#carousel .arrow{
	font-size:16px;
	font-weight:500;
	color:#111;
	padding:15px 0;
	width:auto;
}
#carousel .arrow.arrow1{
	float:left;
}
#carousel .arrow.arrow2{
	float:right;
}
#carousel .carousel-inner .owl-dots {
	position: absolute;
	bottom: 40px;
	top: auto;
	right: 0;
	left: 0;
	margin: 0 auto;
	text-align: center;
	background: #fff;
	border-radius: 25px;
	width: 90px;
	padding:4px 0;
}
#carousel .carousel-inner .owl-dots .owl-dot span{
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: #d2d1d1;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
	transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
}
#carousel .carousel-inner .owl-dots .owl-dot:hover span,
#carousel .carousel-inner .owl-dots .owl-dot.active span{
    background: var(--secondary-bg-color);
} 
#carousel .carousel-inner .owl-dots .owl-dot.active span{
	width:26px;
}
.carousel-inner > .carousel-item {
    position: relative;
    display: none;
    transition: .6s ease-in-out left;
    -webkit-transition: .6s ease-in-out left;
    -moz-transition: .6s ease-in-out left;
    -o-transition: .6s ease-in-out left;
    -ms-transition: .6s ease-in-out left;
}
.carousel-inner > .carousel-item > img,
.carousel-inner > .carousel-item > a > img {
    line-height: 1;
}
@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-inner > .carousel-item {
        transition: transform .6s ease-in-out;
        -webkit-transition: transform .6s ease-in-out;
        -moz-transition: transform .6s ease-in-out;
        -o-transition: transform .6s ease-in-out;
        -ms-transition: transform .6s ease-in-out;
        backface-visibility: hidden;
        perspective: 1000px;
    }
    .carousel-inner > .carousel-item.next,
    .carousel-inner > .carousel-item.active.right {
        left: 0;
        transform: translate3d(100%, 0, 0);
        -webkit-transform: translate3d(100%, 0, 0);
        -moz-transform: translate3d(100%, 0, 0);
        -o-transform: translate3d(100%, 0, 0);
        -ms-transform: translate3d(100%, 0, 0);
    }
    .carousel-inner > .carousel-item.prev,
    .carousel-inner > .carousel-item.active.left {
        left: 0;
        transform: translate3d(-100%, 0, 0);
        -webkit-transform: translate3d(-100%, 0, 0);
        -moz-transform: translate3d(-100%, 0, 0);
        -o-transform: translate3d(-100%, 0, 0);
        -ms-transform: translate3d(-100%, 0, 0);
    }
    .carousel-inner > .carousel-item.next.left,
    .carousel-inner > .carousel-item.prev.right,
    .carousel-inner > .carousel-item.active {
        left: 0;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
    }
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
    display: block;
}
.carousel-inner > .next,
.carousel-inner > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}
.carousel-inner > .next {
    left: 100%;
}
.carousel-inner > .prev {
    left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
    left: 0;
}
.carousel-inner > .active.left {
    left: -100%;
}
.carousel-inner > .active.right {
    left: 100%;
}
.direction a {
    transition: all 400ms ease-in-out 0s;
    -webkit-transition: all 400ms ease-in-out 0s;
    -moz-transition: all 400ms ease-in-out 0s;
    -o-transition: all 400ms ease-in-out 0s;
    -ms-transition: all 400ms ease-in-out 0s;
    bottom: 0;
    height: 60px;
    margin: auto;
    position: absolute;
    top: 0;
    width: 60px;
    opacity: 0;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    background: #fff;
    color: #111;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
}
.direction a i {
	font-size: 32px;
}
.direction a:focus,
.direction a:hover {
    text-decoration: none;
    outline: 0;
    opacity: 1;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    background: var(--secondary-bg-color);
    color: var(--secondary-text-color);
}
.carousel .carousel-item {
    height: 100%;
}
.carousel .carousel-item img {
    width: 100%;
    margin-left: 0;
}
@media(max-width: 1599px){
	.homeslider .caption p {
		font-size:84px;
		line-height:88px;
	}
}
@media(max-width: 1499px){
	.homeslider .caption p {
		font-size:67px;
		line-height:74px;
	}
	.homeslider .caption h2 {
		font-size:84px;
		line-height:84px;
	}
	.homeslider .caption {
	width: 35%;
	bottom: 28%;
}
}
@media(max-width: 1299px){
	.homeslider .caption p {
		font-size:54px;
		line-height:58px;
	}
	.homeslider .caption h2 {
		font-size:64px;
		line-height:66px;
	}
}
@media(max-width: 1199px){
.homeslider .caption {
  width: 37%;
  bottom: 26%;
}
	.homeslider {
		margin:0 0 50px;
	}
.homeslider .caption p {
	font-size: 50px;
	margin:0 0 22px;
}
	.direction a {
		height:40px;
		width:40px;
		line-height:40px;
	}
	.direction a i {
      font-size: 26px;
      line-height: 23px;
  }
}
@media(max-width: 991px){
	.homeslider .caption p {
		font-size:36px;
		line-height:46px;
	}
	.homeslider .caption h2 {
		font-size:50px;
		line-height:52px;
	}
	.homeslider .caption p.slide-button .btn{
		padding:9px 20px;
		font-size:13px;
	}
		.homeslider {
		margin:0 0 40px;
	}

}
@media(max-width: 767px){
	.homeslider .caption {
		width: 36%;
		bottom:18%;
	}
		.direction a {
		opacity: 1;
		-moz-opacity: 1; 
		-khtml-opacity: 1; 
		-webkit-opacity: 1;
	}
	.homeslider .direction .left,
	.homeslider:hover .direction .left {
		left: 15px;
	}
	.homeslider .direction .right,
	.homeslider:hover .direction .right {
		right: 15px;
	}
}
@media(max-width: 730px){
  .homeslider .caption p {
      font-size: 25px;
      line-height: 30px;
      margin: 0 0 13px;
  }
	.homeslider .caption h2 {
		font-size:40px;
		line-height:42px;
	}
		.homeslider .caption {
		width: 40%;
	}
}
@media(max-width: 543px){
	.homeslider {
		margin:0 0 30px;
	}
	.direction a {
		background:none;
		color:#fff;
		height:25px;
		width:25px;
		line-height:25px;
	}
	.direction a:focus, .direction a:hover {
		background:none;
		color:#fff;
	}
	.homeslider .caption p.slide-button .btn {
		padding:3px 13px;
		font-size:12px;
	}
	.homeslider .caption p {
		font-size:24px;
		line-height:28px;
	}
	.homeslider .caption h2 {
		font-size:36px;
		line-height:38px;
	}
}
@media(max-width: 499px){
	.homeslider .caption p {
		font-size:18px;
		line-height:24px;   
	} 
	.homeslider .caption h2 {
		font-size:30px;
		line-height:32px;
	}
		.homeslider .caption {
		bottom:12%;
		width:44%;
	}
}
@media(max-width: 380px){
	.homeslider .caption h2 {
		display:none;
	}
		.homeslider .caption {
		bottom:18%;
	}
}