/* Table of Contents ================================================== # Carousel # Media Queries */ /* # 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: 70px; } .carousel-control.right { 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: 42px; height: 60px; line-height: 60px; position: absolute; text-align: center; top: 45%; vertical-align: middle; width: 60px; z-index: 5; } .carousel-control > .icon-prev, .carousel-control > .icon-carousel-left { left: 10px; } .carousel-control > .icon-next, .carousel-control > .icon-carousel-right { right: 10px; } .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: rgba(0,0,0,0); border-radius: 10px; border: 1px solid rgba(255,255,255,1); cursor: pointer; height: 10px; margin: 1px; text-indent: -999px; width: 10px; } .carousel-indicators > .active { background: rgba(255,255,255,1); height: 12px; margin: 0; width: 12px; } .carousel-caption { bottom: 20px; color: rgba(255,255,255,1); left: 15%; padding-bottom: 20px; padding-top: 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 Queries ================================================== */ @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; } }