/* Slider */ .callbacks_container { margin:10px 0 15px 0; position: relative; float: left; width: 99%; } .callbacks { position: relative; list-style: none; overflow: hidden; border-radius:5px; width: 100%; height:auto; padding: 0; margin: 0; } .callbacks li { position: absolute; width: 100%; left: 0; height:auto; top: 0; } .callbacks img { display: block; position: relative; z-index: 1; height: 350px; width: 100%; border: 0; } .callbacks .caption { display: block; position: absolute; z-index: 2; font-size: 20px; text-shadow: none; color: #fff; background: #000; background: rgba(0,0,0, .8); left: 0; right: 0; bottom: 0; padding: 10px 10px; margin: 0; max-width: none; } .callbacks .caption a{ color: #fff; } .callbacks .caption a:hover{ color: #ccc; } .callbacks_nav { position: absolute; -webkit-tap-highlight-color: rgba(0,0,0,0); top: 52%; left: 0; opacity: 0.7; z-index: 3; text-indent: -9999px; overflow: hidden; text-decoration: none; height: 61px; width: 38px; background: transparent url("../images/scroll.gif") no-repeat left top; margin-top: -45px; } .callbacks_nav:active { opacity: 1.0; } .callbacks_nav.next { left: auto; background-position: right top; right: 1px; } @media only screen and (max-width: 480px) { .callbacks img { height:auto; } } @media only screen and (max-width: 320px) { .callbacks .caption { font-size: 13px; padding: 5px 5px; height:15px; } .callbacks_nav { top: 72%; height: 31px; background: transparent url("../images/scroll.gif") no-repeat left center; } .callbacks_nav.next { left: auto; background-position: right center; right: 0; } }