/* Table of Contents ================================================== #Carousel */ /* #Carousel ================================================== */ .carousel { position: relative; } .carousel-inner { overflow: hidden; position: relative; width: 100%; } .carousel-inner > .item { display: none; position: relative; -webkit-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } .carousel-inner > .item > img, .carousel-inner > .item > a > img { display: block; height: auto; line-height: 1; max-width: 100%; } .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 { bottom: 0; color: rgba(255,255,255,1); filter: alpha(opacity=50); left: 0; opacity: 0.5; position: absolute; text-align: center; top: 0; width: 15%; } .carousel-control.left { background-repeat: repeat-x; background-image: -webkit-linear-gradient(left, color-stop(rgba(0,0,0,0.5) 0%), color-stop(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%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); } .carousel-control.right { background-repeat: repeat-x; background-image: -webkit-linear-gradient(left, color-stop(rgba(0,0,0,0.0001) 0%), color-stop(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%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); left: auto; right: 0; } .carousel-control:hover, .carousel-control:focus { color: rgba(255,255,255,1); filter: alpha(opacity=90); opacity: 0.9; outline: none; text-decoration: none; } .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .icon-carousel-left, .carousel-control .icon-carousel-right { display: inline-block; font-size: 48px; position: absolute; top: 45%; z-index: 5; } .carousel-control .icon-prev, .carousel-control .icon-carousel-left { left: 50%; } .carousel-control .icon-next, .carousel-control .icon-carousel-right { right: 50%; } .carousel-control .icon-prev, .carousel-control .icon-next { font-family: serif; height: 48px; width: 48px; } .carousel-control .icon-prev:before { content: '\2039'; } .carousel-control .icon-next:before { content: '\203a'; } .carousel-indicators { bottom: 10px; left: 50%; list-style: none; margin-left: -30%; padding-left: 0; position: absolute; text-align: center; width: 60%; z-index: 15; } .carousel-indicators li { display: inline-block; background-color: rgba(0, 0, 0, 0); border: 1px solid rgba(255,255,255,1); border-radius: 10px; cursor: pointer; height: 10px; margin: 1px; text-indent: -999px; width: 10px; } .carousel-indicators .active { background-color: rgba(255,255,255,1); height: 12px; margin: 0; width: 12px; } .carousel-caption { bottom: 20px; color: rgba(255,255,255,1); left: 15%; padding-top: 20px; padding-bottom: 20px; position: absolute; right: 15%; text-align: center; z-index: 10; } .carousel-caption h1, .carousel-caption h2, .carousel-caption h3, .carousel-caption h4, .carousel-caption h5, .carousel-caption h6 { color: rgba(255,255,255,1); } @media only screen and (max-width: 767px) { .carousel-control .icon-carousel-left, .carousel-control .icon-carousel-right, .carousel-control .icon-prev, .carousel-control .icon-next { font-size:20px; height: 20px; width: 20px; } .carousel-caption { display: none !important; } .carousel-indicators { bottom: 20px; } }