/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.BGcarousel-control {
	display: none;
	position: fixed;
	top: 0px;
	bottom: 0px;
	width: 5% !important;
	font-size: 40px;
	color: #FFF;
	text-align: center;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
	opacity: 0.5;
}
.BGcarousel-control .glyphicon {
	color: #fff;
	font-size: 32px;
	top: 50% !important;
	/*padding-top: 50%;*/
}
.right.BGcarousel-control {
	right: 0px;
	background-image: linear-gradient(to right, transparent 0px, rgba(0, 0, 0, 0.5) 100%);
	background-repeat: repeat-x;
}
.left.BGcarousel-control {
	left: 0px;
	background-image: linear-gradient(to left, transparent 0px, rgba(0, 0, 0, 0.5) 100%);
	background-repeat: repeat-x;
}

.carousel {
  /*height: 160px;*/
  /*width: 100%;*/
  height: inherit;
  margin-bottom: 20px;
}
#myStartCarousel {
  height: 90px;
  margin: 0px 10px;
  margin-bottom: 0px;
  overflow: hidden;
  /*width: 100%;*/
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  /*width: 100%;*/
  /*height: 160px;*/
  height: inherit;
  background-color: #fff;
}
#myStartCarousel .item {
  /*width: 100%;*/
  height: 90px;
  background-color: #fff;
}
.mobile myStartCarousel {
  	display: none;
  }
.carousel-inner .item img {
  /*position: absolute;*/
  top: 0;
  left: 0;
  min-width: 100%;
  /*height: 300px;*/
}
.mainpage-inner {
  /*position: absolute;*/
  top: 10px;
  left: 10px;
  min-width: 100%;
	text-align: right;
  /*height: 300px;*/
}
.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
    margin-left: 10px;
}
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
    margin-right: 10px;
}
.carousel-indicators {
	display: none;
}
.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 10;
    padding: 5px;
    color: #fff;
    text-align: left;
    background-color: #fff;
	background-color: rgba(255,255,255,.75);
}
.carousel-caption h1 {
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    padding: 0px 0px !important;
}

.carousel-caption p {
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1;
	font-style: italic;
}
.copyright {
	position: absolute;
	left: 10px;
	top: 10px;
	color: #fff;
    font-size: 10px;
    line-height: 1;
	font-style: italic;
}

#myStartCarousel .carousel-indicators { /*  خیلی خیلی مهم نقطعه ها از سمت راست به چپ */
	display: block;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: none;
    z-index: 15;
    width: 60%;
    padding-right: 0px;
    margin-right: -30%;
    text-align: left;
    list-style: outside none none;
    height: 20px;
}

#myStartCarousel .carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 10;
    padding: 10%;
    padding-top: 5px; /*  مهم اندازه قسمت بالای نوار روی دیاز */
    padding-bottom: 4px;  /* مهم اندازه قسمت پایین نوار روی دیاز  */
    color: #fff;
    text-align: left;
    background-color: #003b79;
    background-color: rgba(0, 59, 121, .45); /*مهم رنگ قسمت پایین دیاز */
}
#myStartCarousel .carousel-caption h1 {
    display: none;
    font-size: 22px;
    font-weight: normal;
    line-height: 1.4;
    color: #fff;
}
#myStartCarousel .carousel-caption p {
	display: none;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    font-style: normal;
}
#myStartCarousel .carousel-inner .item img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  /*height: 300px;*/
}
.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
	top: 200px;
}

#myStartCarousel .carousel-control .icon-prev, #myStartCarousel .carousel-control .icon-next, #myStartCarousel .carousel-control .glyphicon-chevron-left, #myStartCarousel .carousel-control .glyphicon-chevron-right {
	top: 50%;
}


@media only screen and (min-width: 321px) { 
	#myStartCarousel {
	  height: 130px;
	  overflow: hidden;
	}
	#myStartCarousel .item {
	  /*width: 100%;*/
	  height: 130px;
	}
	.carousel {
	  /*height: 220px;*/
	  /*overflow: hidden;*/
	}
	.carousel .item {
	  /*height: 220px;*/
	  /*overflow: hidden;*/
	}
	#myStartCarousel .carousel-caption h1 {
	    display: block;
	    font-size: 14px;
	    font-weight: normal;
	    line-height: 1.4;
	    color: #fff;
	}
	#myStartCarousel .carousel-caption p {
	    display: none;
	    margin-bottom: 10px;
	    font-size: 14px;
	    line-height: 1.4;
	    font-style: normal;
	}
}
@media only screen and (min-width: 390px) { 
	#myStartCarousel {
	  height: 180px;
	  overflow: hidden;
	}
	#myStartCarousel .item {
	  height: 180px;
	}
	.carousel {
	  /*height: 270px;*/
	  /*overflow: hidden;*/
	}
	.carousel .item {
	  /*height: 270px;*/
	  /*overflow: hidden;*/
	}
}
@media only screen and (min-width: 450px) { 
	#myStartCarousel {
	  height: 180px;
	  overflow: hidden;
	}
	#myStartCarousel .item {
	  height: 180px;
	}
	.carousel {
	  /*height: 320px;*/
	  /*overflow: hidden;*/
	}
	.carousel .item {
	  /*height: 320px;*/
	  /*overflow: hidden;*/
	}
}
@media only screen and (min-width: 550px) { 
	#myStartCarousel {
	  height: 180px;
	  overflow: hidden;
	}
	#myStartCarousel .item {
	  height: 180px;
	}
	.carousel {
	  /*height: 360px;*/
	  /*overflow: hidden;*/
	}
	.carousel .item {
	  /*height: 360px;*/
	  /*overflow: hidden;*/
	}
}

@media only screen and (min-width: 769px) { 
	#myStartCarousel {
	  height: 300px;
	  overflow: hidden;
	}
	#myStartCarousel .item {
	  /*width: 100%;*/
	  height: 300px;
	}
	#myStartCarousel .carousel-caption h1 {
	    display: block;
	    font-size: 18px;
	    font-weight: normal;
	    line-height: 1.4;
	    color: #fff;
	}
	#myStartCarousel .carousel-caption p {
	    display: block;
	    margin-bottom: 5px;
	    font-size: 12px;
	    line-height: 1;
	    font-style: normal;
	}
	.carousel {
	  /*height: 360px;*/
	  /*overflow: hidden;*/
	}
	.carousel .item {
	  /*height: 360px;*/
	  /*overflow: hidden;*/
	}
}
@media only screen and (min-width: 1210px) { 
	#myStartCarousel {
	  height: 400px;
	  overflow: hidden;
	}
	#myStartCarousel .item {
	  /*width: 100%;*/
	  height: 400px;
	}
	.BGcarousel-control {
		position: fixed;
		display: block;
		top: 0px;
		bottom: 0px;
		width: 5% !important;
		font-size: 40px;
		color: #FFF;
		text-align: center;
		text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
		opacity: 0.5;
		/*padding-top: 50%;*/
	}
	.carousel {
	  /*height: 400px;*/
	  /*overflow: hidden;*/
	}
	.carousel .item {
	  /*height: 400px;*/
	  /*overflow: hidden;*/
	}
}