/* 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: 'britanic';
	src: url('../../fonts/britanic.ttf')  format('truetype');
}

@font-face 
{
	font-family: 'agency-fb';
	src: url('../../fonts/agency-fb.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: #ee2f32;
    font-size: 67px;
    text-align: left;
    line-height: 80px;
    margin-left: 0%;
    font-weight: 700;
    font-family: 'agency-fb';
    letter-spacing: 2px;
    text-shadow: 2px 0px #ee2f32;
}

#first-slider .slide1 h4,#first-slider .slide2 h4,#first-slider .slide3 h4,#first-slider .slide4 h4{
    color: #ffffff;
    font-size: 50px;
    text-align: left;
    font-family: 'franklin-gothic-demi-cond';
    margin-left: 30%;
    transform: skew(-25deg);
}
#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: #0d1546;
    font-size: 50px;
    text-align: left;
    line-height: 60px;
    margin-left: 0%;
    font-weight: 700;
    font-family: 'britanic';
    letter-spacing: 1px;
    /*! text-shadow: 3px 0px #0d1546; */
}


#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: 580px; 
  height: 100%;
  width:100%;
}

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


#first-slider h3{
  animation-delay: 2s;
}
#first-slider h4 {
 /*! animation-delay: 3s; */ 
}
#first-slider h2 {
  animation-delay: 1s;
}
#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: -28%;
    z-index: 5;
    display: inline-block;
}
.carousel-control .fa-angle-left{
    left: 50%;
    width: 38px;
    height: 38px;
    margin-top: 0px;
    font-size: 30px;
    color: #0d1546;
    border: 3px solid #0d1546;
    -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: #0d1546;
    border: 3px solid #0d1546;
    -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:#e31e24; */
	/*! padding: 13px; */
	width: 625px;
	/*! margin-left: -34%; */
	margin-top: 20%;
	/*! position: relative; */
	/*! transition: all .3s ease; */
	/*! 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:0;
	}  

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

@media only screen and (min-width: 768px) and (max-width: 1024px) {
.carousel-inner .item .container {
	top:7%;
}  
.box {
    width: 315px;
}
.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: 22px; 
  /*! margin-left: 26%; */
  line-height: 15px;
  }
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3 {
    font-size: 37px;
    line-height: 49px;
    margin-left: 0%;
}
  
#first-slider .slide1 h4, #first-slider .slide2 h4, #first-slider .slide3 h4, #first-slider .slide4 h4 {
 font-size: 27px; 
 margin-left: 22%;
 line-height: 30px;
  }
}

@media only screen and (max-width: 480px) { 
box {
    padding: 4px;
    width: 158px;
    margin-left: 0%;
    /*! border-right: 5px solid #fff; */
    margin-top: -59%;
}

/***** Slider css ******/
.slider-01 {
    margin-top: 0px;
}
.carousel-inner .item img {
    height: 170px;
    /*! float: right; */
}
.text-right {
   	margin-top: 33%;
    margin-left: 0px;
}

#first-slider .carousel .item {
    min-height: auto;
}

#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
	font-size:11px !important;
	/*! margin-left: 37% !important; */
	line-height: 17px !important;
	font-weight: normal;
}

#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3 {
    font-size: 18px !important;
    line-height: 19px !important;
    font-weight: 600;
    text-shadow: none;
}

#first-slider .slide1 h4, #first-slider .slide2 h4, #first-slider .slide3 h4, #first-slider .slide4 h4 {
    font-size: 12px !important;
    margin-left: 30% !important;
}
.carousel-control {
	top:55% !important;
}

/***** Slider css ******/
}




