/* CSS Document */

/*
Bootstrap Image Carousel Slider with Animate.css
Code snippet by Hashif (http://hashif.com) for Bootsnipp.com
Image credits: unsplash.com
*/
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700);

body {
    font-family: 'Quicksand', sans-serif;
    /*! font-weight:700; */
}

@font-face 
{
	font-family: 'BebasNeue';
	src: url('../fonts/BebasNeue.TTF')  format('truetype');
}

@font-face 
{
	font-family: 'franklin-gothic-demi-cond';
	src: url('../../fonts/franklin-gothic-demi-cond.ttf')  format('truetype');
}



/********************************/
/*          Main CSS     */
/********************************/


#first-slider .main-container {
  padding: 0;
}


#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3{
    color: #2c2c2c;
    font-size: 30px;
    text-align: left;
    line-height: 40px;
    font-family: 'myriad pro-regular';
}

#first-slider .slide1 h4,#first-slider .slide2 h4,#first-slider .slide3 h4,#first-slider .slide4 h4{
    color: #2f2f2f;
    font-size: 53px;
    text-align: left;
    font-family: 'BebasNeue';
    line-height: 80px;
	text-shadow: 0px 0px 13px white;
}
#first-slider .slide1 .text-left ,#first-slider .slide2 .text-left ,#first-slider .slide3 .text-left ,#first-slider .slide4 .text-left ,#first-slider .slide5 .text-left ,#first-slider .slide6 .text-left ,#first-slider .slide7 .text-left ,#first-slider .slide8 .text-left{
    /*! padding-left: 40px; */
    background-color: rgba(0, 0, 0, 0.59);
}
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2{
    color: #202020;
    font-size: 30px;
    text-align: left;
    line-height: 40px;
    font-family: 'Questrial-Regular';
}


#first-slider .carousel-indicators {
  bottom: 0;
}
#first-slider .carousel-control.right,
#first-slider .carousel-control.left {
  background-image: none;
}
#first-slider .carousel .item {
  /*! min-height: 700px; */ 
  height: 100%;
  width:100%;
}

.carousel-inner .item .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 18%;
    left: 0;
    right: 0;
}


#first-slider h3{
  animation-delay: 4s;
}
#first-slider h4 {
 animation-delay: 3s; 
}
#first-slider h2 {
  animation-delay: 2s;
}
#first-slider h5 {
  animation-delay: 2s;
}

#first-slider .carousel-control {
    width: 6%;
        text-shadow: none;
}


#first-slider h1 {
  text-align: center;  
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: bold;
}

#first-slider .p {
  padding-top: 125px;
  text-align: center;
}

#first-slider .p a {
  text-decoration: underline;
}
#first-slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.12);
  border:none;
}
#first-slider .carousel-indicators .active{
    width: 14px;
    height: 14px;
    background-color: #ffffff4d;
  border:none;
}


.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}

.carousel-control .fa-angle-right, .carousel-control .fa-angle-left {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}
.carousel-control .fa-angle-left{
    left: 50%;
    width: 38px;
    height: 38px;
    margin-top: 0px;
    font-size: 30px;
    color: #fff;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 53px;
}
.carousel-control .fa-angle-right{
    right: 50%;
    width: 38px;
    height: 38px;
    margin-top: 0px;
    font-size: 30px;
    color: #fff;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 53px;
}
.carousel-control {
    opacity: 1;
    filter: alpha(opacity=100);
    /*! top: 50%; */
}


/********************************/
/*       Slides backgrounds     */
/********************************/
#first-slider .slide1 {
 /*  <!-- background-image: url(../image/bannerimage_01.jpg);-->*/
/*	background-image:url(../images/women-gym-b.png);*/
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide2 {
 /* background-image: url(http://s20.postimg.org/uxf8bzlql/image.jpg);*/
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide3 {
 /*<!-- background-image: url(http://s20.postimg.org/el56m97f1/image.jpg);-->*/
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide4 {
  /*background-image: url(http://s20.postimg.org/66pjy66dp/image.jpg);*/
      background-size: cover;
    background-repeat: no-repeat;
}

.box {
	/*! background-color:#1d6c2f; */
	/*! padding: 9px; */
	width: 745px;
	margin-left: -50%;
	margin-top: -48%;
	/*! position: relative; */
	/*! transition: all .3s ease; */
	/*! transform: skew(25deg); */
	/*! border-right: 10px solid #fff; */
	/*! animation-delay: 2s; */
}

.image-slider {
	z-index: 999;
	position: relative;
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
  /*! font-size: 28px; */
  }
  
#first-slider .slide1 h4, #first-slider .slide2 h4, #first-slider .slide3 h4, #first-slider .slide4 h4 {
  /*! font-size: 36px; */
  }
}
@media screen and (max-width: 640px){
    .carousel-inner .item .container {
		top:60%;
	}  

.box {
       /*! padding: 4px; */
    width: 100%;
    margin-left: 0;
    /*! border-right: 5px solid #fff; */
    margin-top: 8%;
}
.image-slider {
	height:150px !important;
	width: 150px !important;
}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
.carousel-inner .item .container {
	top:35%;
}  
.box {
    width: 645px;
    margin-left: -42%;
    margin-top: -10%;
}
.image-slider {
	height: 250px !important;
    width: 250px !important;
}
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
  font-size: 20px; 
  margin-left: 26%;
  line-height: 10px;
  }
  
#first-slider .slide1 h4, #first-slider .slide2 h4, #first-slider .slide3 h4, #first-slider .slide4 h4 {
 font-size: 27px; 
 margin-left: 26%;
 line-height: 30px;
  }
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3 {
  font-size: 20px; 
  margin-left: 26%;
  line-height: 10px;
  }
}





