/*animation inside slide + slide captions*/

.carousel-inner .animated:hover {
	background: url('../img/arrow.png'), #3399ff;
	background-repeat: no-repeat;
	background-position: right center;
}

.carousel-inner .active .animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes fadeInRight {
0% {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}

100% {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}

@keyframes  fadeInRight {
0% {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
-ms-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}

100% {
opacity: 1;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
}

.carousel-inner .active .fadeInRight {
	-webkit-animation-name: fadeInRight;
	animation-name: fadeInRight;
}

/*misa change to carousel fade*/

.carousel.fade {
	opacity: 1;
}
.carousel.fade .item {
	-moz-transition: opacity ease-in-out .7s;
	-o-transition: opacity ease-in-out .7s;
	-webkit-transition: opacity ease-in-out .7s;
	transition: opacity ease-in-out .7s;
	right: 0;
	opacity: 0;
	top: 0;
	position: absolute;
	width: 100%;
	display: block;
	z-index: 1;
}
.carousel.fade .item:first-child {
	top: auto;
	position: relative;
}
.carousel.fade .item.active {
	opacity: 1;
	-moz-transition: opacity ease-in-out .7s;
	-o-transition: opacity ease-in-out .7s;
	-webkit-transition: opacity ease-in-out .7s;
	transition: opacity ease-in-out .7s;
	z-index: 2;
	
}

.carousel {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	height: 300px;
	padding: 0;
	margin: 0;
}

.carousel-inner .animated {
	display: inline-block;
	padding: 15px;
	padding-right: 45px;
	background: url('../img/arrow.png'), rgba(0,0,0,1);
	background-repeat: no-repeat;
	background-position: right center;
}

.animated-small {
	display: block !important;
}

.animated-big {
	display: none !important;
}

.carousel-caption {

	position: absolute;
	display: block;
	width: 100%;
	bottom: 0;
	z-index: 10;
	padding-top: 20px;
	padding-bottom: 0px;
	color: #fff;
	text-align: center;
	font-size: 1rem;
	text-transform: uppercase;
	font-family: 'titillium_bdbold';
}

.carousel-caption a {
	color: #fff;
}

.carousel-inner {
	height: 300px;
	text-align: center;
	
}


.carousel-inner .item {
		
		height:300px;
		position: absolute;
		right: 0px;
	}
	

.carousel-inner .item img{
	 max-width: 100%;
	 max-height: 100%;
	  display:block;
    margin:auto;
}	

.circle-services {
	display: none;
}

.carousel-indicators {
	display: none;
}



@media only screen and (min-width: 900px) {
	.carousel {
		height: 350px;
	}
	
	
		.carousel-inner {
		position: relative;
		height: 350px;
		width: 100%;
		}
	
	
		.carousel-inner .item {
		height: 350px;
		width: 500px;
		position: absolute !important;
		right:0;
		}
		
		
		.carousel.fade .item {
	width: 500px;
}
	
	
	#curves  {
	position: absolute;
	top: 0px;
	z-index: 1000;
    width: 1000px;
    height: 1000px;
    border: 1px solid #3399FF;
    /*background-color: red;*/
    top: -350px;
    left: -870px;
	border-color: transparent #3399FF transparent transparent ;
    -moz-border-radius: 500px;
    border-radius:500px;
}

	.circle-services {
		display: block;
		height: 350px;
		width: 100%;
		overflow: hidden;
		position: absolute;
		top: 0px;
		left: 0px;
	}

	.animated-small {
		display: none !important;
	}

	.animated-big {
		display: inline-block !important;
	}

	.carousel-inner .animated {
		display: inline-block;
		padding: 15px;
		padding-right: 45px;
		border-radius: 15px;
		-moz-border-radius: 15px;
		-webkit-border-radius: 15px;
		background: url('../img/arrow.png'), rgba(0,0,0,0.5);
		background-repeat: no-repeat;
		background-position: right center;
	}


	

	.carousel-caption {
	bottom: 20px;
		padding-bottom: 5px;
		font-size: 1.25rem;
		
	}

	.carousel-caption a {
		color: #fff;
	}

	.carousel-indicators {
		display: block;
		position: absolute;
		list-style: none;
		top: 10px;
		left: 50px;
		z-index: 1000;
	}

	.carousel-indicators  li h2 {
		height: 80px;
		display: table-cell;
		vertical-align: middle;
		cursor: pointer;
	}

	.carousel-indicators li.service2, .carousel-indicators li.service3 {
		margin-left: 25px;
	}

	.carousel-indicators h2:hover:before, .carousel-indicators h2:hover, .carousel-indicators li.active h2, .carousel-indicators li.active h2:before {
		-webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		transition: all 0.3s ease;
		transform: scale(1.01);
		-ms-transform: scale(1.01); /* IE 9 */
		-moz-transform: scale(1.01); /* Firefox */
		-webkit-transform: scale(1.01); /* Safari and Chrome */
		-o-transform: scale(1.01); /* Opera */
	}

	.carousel-indicators li h2:before {

		content: "";
		display: inline-block;
		vertical-align: middle;
		background: url('../img/service-icons.png') no-repeat;
		background-size: 500px auto;
		width: 90px;
		height: 80px;
	}

	.carousel-indicators li.service1 h2:before {
		background-position: -410px 0px;
	}

	.carousel-indicators li.service2 h2:before {
		background-position: -280px 0px;
	}

	.carousel-indicators li.service3 h2:before {
		background-position: -145px 0px;
	}

	.carousel-indicators li.service4 h2:before {

		background-position: 0px 0px;
	}

	.carousel-indicators li h2:hover:before, .carousel-indicators li.active h2:before {
		background: url('../img/service-icons-hover.png') no-repeat;
		background-size: 500px auto;
	}

	.carousel-indicators li.service1 h2:hover:before, .carousel-indicators li.service1.active h2:before {
		background-position: -410px 0px;
	}

	.carousel-indicators li.service2 h2:hover:before, .carousel-indicators li.service2.active h2:before {
		background-position: -280px 0px;
	}

	.carousel-indicators li.service3 h2:hover:before, .carousel-indicators li.service3.active h2:before {

		background-position: -145px 0px;
	}

	.carousel-indicators li.service4 h2:hover:before, .carousel-indicators li.service4.active h2:before {

		background-position: 0px 0px;
	}

	.carousel-indicators  li h2:hover, .carousel-indicators li.active h2 {
		color: white;
	}

	.carousel-indicators h2 {
		font-family: 'titilliumregular', Helvetica, Arial, sans-serif;
		font-size: 1rem;
	
		position: relative;
		color: #3399FF;
	}

}

@media only screen and (min-width: 1200px) {
	.carousel {
		height: 450px;
	}
	
	
	#curves  {
	position: absolute;
	top: 0px;
	z-index: 1000;
    width: 1000px;
    height: 1000px;
    border: 1px solid #3399FF;
    /*background-color: red;*/
    top: -280px;
    left: -850px;
	border-color: transparent #3399FF transparent transparent ;
    -moz-border-radius: 500px;
    border-radius:500px;
}
	
	
	.carousel-indicators  li h2 {
		height: 100px;
		display: table-cell;
		vertical-align: middle;
		cursor: pointer;
	}

	.carousel-inner {
		height: 450px;
	}
	
	
	
	
		.carousel-inner .item {
		height: 450px;
		width: 636px;
		
		}
		
		
		.carousel.fade .item {
	width: 636px;
}
	

	.circle-services {
		display: block;
		height: 450px;
	}
	
	
	.carousel-indicators {
		display: block;
		position: absolute;
		list-style: none;
		top: 30px;
		left: 50px;
		z-index: 1000;
	}

	.carousel-indicators li h2:before {

		content: "";
		display: inline-block;
		vertical-align: middle;
		background: url('../img/service-icons.png') no-repeat;
		width: 110px;
		height: 100px;
	}

	.carousel-indicators li.service1 h2:before {
		background-position: -475px 0px;
	}

	.carousel-indicators li.service2 h2:before {
		background-position: -313px 0px;
	}

	.carousel-indicators li.service3 h2:before {
		background-position: -155px 0px;
	}

	.carousel-indicators li.service4 h2:before {

		background-position: 2px 0px;
	}

	.carousel-indicators li h2:hover:before, .carousel-indicators li.active h2:before {
		background: url('../img/service-icons-hover.png') no-repeat;
	}

	.carousel-indicators li.service1 h2:hover:before, .carousel-indicators li.service1.active h2:before {
		background-position: -475px 0px;
	}

	.carousel-indicators li.service2 h2:hover:before, .carousel-indicators li.service2.active h2:before {
		background-position: -313px 0px;
	}

	.carousel-indicators li.service3 h2:hover:before, .carousel-indicators li.service3.active h2:before {

		background-position: -155px 0px;
	}

	.carousel-indicators li.service4 h2:hover:before, .carousel-indicators li.service4.active h2:before {

		background-position: 2px 0px;
	}

	.carousel-indicators h2 {
		font-size: 1.25rem;
	}

}


.carousel-inner > .item {
	display: none;
	position: relative;
	-webkit-transition: 0.6s ease-in-out left;
	-o-transition: 0.6s ease-in-out left;
	transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
	line-height: 1;
}
.carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev {
	display: block;
}
.carousel-inner > .active {
	/*left: 0;*/
}
.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%;
}

/*
 .carousel-control {
 position: absolute;
 top: 0;
 left: 0;
 bottom: 0;
 width: 15%;
 opacity: 0.5;
 filter: alpha(opacity=50);
 font-size: 20px;
 color: #ffffff;
 text-align: center;
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
 }
 .carousel-control.left {
 background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
 background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
 background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
 background-repeat: repeat-x;
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
 }
 .carousel-control.right {
 left: auto;
 right: 0;
 background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
 background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
 background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
 background-repeat: repeat-x;
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
 }
 .carousel-control:hover,
 .carousel-control:focus {
 outline: 0;
 color: #ffffff;
 text-decoration: none;
 opacity: 0.9;
 filter: alpha(opacity=90);
 }
 .carousel-control .icon-prev,
 .carousel-control .icon-next,
 .carousel-control .glyphicon-chevron-left,
 .carousel-control .glyphicon-chevron-right {
 position: absolute;
 top: 50%;
 z-index: 5;
 display: inline-block;
 }
 .carousel-control .icon-prev,
 .carousel-control .glyphicon-chevron-left {
 left: 50%;
 margin-left: -10px;
 }
 .carousel-control .icon-next,
 .carousel-control .glyphicon-chevron-right {
 right: 50%;
 margin-right: -10px;
 }
 .carousel-control .icon-prev,
 .carousel-control .icon-next {
 width: 20px;
 height: 20px;
 margin-top: -10px;
 font-family: serif;
 }
 .carousel-control .icon-prev:before {
 content: '\2039';
 }
 .carousel-control .icon-next:before {
 content: '\203a';
 }
 *//*
 *
 .carousel-caption {
 position: absolute;
 left: 15%;
 right: 15%;
 bottom: 20px;
 z-index: 10;
 padding-top: 20px;
 padding-bottom: 20px;
 color: #ffffff;
 text-align: center;
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
 }
 .carousel-caption .btn {
 text-shadow: none;
 }
 @media screen and (min-width: 768px) {
 .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {
 width: 30px;
 height: 30px;
 margin-top: -15px;
 font-size: 30px;
 }
 .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
 margin-left: -15px;
 }
 .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
 margin-right: -15px;
 }
 .carousel-caption {
 left: 20%;
 right: 20%;
 padding-bottom: 30px;
 }

 }
 .clearfix:before, .clearfix:after {
 content: " ";
 display: table;
 }
 .clearfix:after {
 clear: both;
 }
 .center-block {
 display: block;
 margin-left: auto;
 margin-right: auto;
 }
 .pull-right {
 float: right !important;
 }
 .pull-left {
 float: left !important;
 }
 .hide {
 display: none !important;
 }
 .show {
 display: block !important;
 }
 .invisible {
 visibility: hidden;
 }
 .text-hide {
 font: 0/0 a;
 color: transparent;
 text-shadow: none;
 background-color: transparent;
 border: 0;
 }
 .hidden {
 display: none !important;
 visibility: hidden !important;
 }
 .affix {
 position: fixed;
 -webkit-transform: translate3d(0, 0, 0);
 transform: translate3d(0, 0, 0);
 }*/
