//Selector Variables $container: "#wideSlider"; $slider: ".heroSlider"; .royalSlider .rsSlide img { opacity: 0; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; transition: all 0.3s ease-out; /* -webkit-transform: scale(0.9); -moz-transform: scale(0.9); -ms-transform: scale(0.9); -o-transform: scale(0.9); transform: scale(0.9); */ } .royalSlider .rsActiveSlide img { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } /* THEME STYLES */ #{$container} { max-width: 1920px; margin: 0 auto 24px; background: url("../../images/slider-bg.png") 0 0 repeat-x !important; max-height: 410px; font-family: "Titillium Web", sans-serif; .rsOverflow, .rsSlide, .rsVideoFrameHolder, .rsThumbs { background: transparent; } #{$slider} { width: 100%; background-color: transparent !important; overflow: hidden; max-height: 410px; margin: 0 auto; max-width: 1140px; } .rsOverflow {width: 100% !important;} .rsContent > img { position: absolute; top: 0; left: 0; } .container-fluid { position: relative; margin: 0 auto; height: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .rsImg {max-width: 100%;} h2, h3 { color: #fff; line-height: 1; } .title, .subtitle, .btn {left: 5%;} .title { font-size: 60px; top: 24%; width: 40%; text-transform: uppercase; font-weight: 200; line-height: 66px; font-family: "Titillium Web", sans-serif; } .subtitle { font-size: 22px; line-height: 25px; width: 60%; top: 45%; } .btn { top: auto; padding-top: 15px; padding-bottom: 15px; bottom: 28%; display:none; &:after { color: #fff; content: "\f101"; font-family: FontAwesome; margin-left: 3px; } &:hover { color: #fff !important; text-shadow: 2px 2px 3px rgba(0,0,0,.25); background-color: #fdb71a !important; } } /* .rsBullets { background: none; line-height: 20px; .rsBullet { cursor: pointer; span { background-color: #fff; -webkit-transition: background linear 0.2s; transition: background linear 0.2s; } &.rsNavSelected span { background-color: #86BC04; } } } */ .rsArrow { width: 10%; .rsArrowIcn { //margin-top:-12px; //margin-left: -12px; //background: #000; //background: rgba(0,0,0,0.2); &:hover { //background-color: #0053a0; background-color: #fff; } } .rsArrowIcn:before { content:" "; display: block; z-index: 1; } .rsArrowIcn, .rsArrowIcn:before { width: 24px; height: 24px; -webkit-border-radius: 50%; border-radius: 50%; position: absolute; -webkit-transition-duration: .5s; -moz-transition-duration: .5s; -o-transition-duration: .5s; -ms-transition-duration: .5s; transition-duration: .5s; //background: #000; background: rgba(255,255,255,0.15); } .rsArrowIcn:hover:before { opacity: 0; //background-color: #0053a0; background-color: #fff; -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); -ms-transform: scale(2); -moz-transition-duration: .7s; -webkit-transition-duration: .7s; -ms-transition-duration: .7s; -o-transition-duration: .7s; transition-duration: .7s; } .rsArrowIcn:after { font-size: 14px; line-height: 24px; width: 24px; height: 24px; text-align: center; display: inline-block; font-family: "FontAwesome"; position: relative; z-index: 2; color: #fff; } .rsArrowIcn:hover:after { //color:#fff; color: #0053a0; } &.rsArrowLeft .rsArrowIcn:after { content: "\f0d9"; margin-left: -1px; } &.rsArrowRight .rsArrowIcn:after { content: "\f0da"; margin-left: 1px; } } } @media (min-width: 768px) and (max-width: 979px) { #{$container} { .title { font-size: 40px; line-height: 45px; } .subtitle { width: 80%; } .btn { bottom: 30%; padding: 10px; } } } @media (max-width: 767px) { #{$container} { //#{$slider}, #{$slider} .rsOverflow {height: 270px !important;} .title { font-size: 30px; top: 32%; width: 100%; } .subtitle { display: none !important; } .btn { font-size: 14px; padding: 5px 10px; bottom: 36%; } } } @media all and (max-width: 640px) { #{$container} { .title { font-size: 30px; top: 28%; line-height: 1;} .rsArrowIcn {display: none;} .btn {bottom: 30%;} } } @media all and (max-width: 640px) and (orientation: landscape) { #{$container} { //#{$slider}, #{$slider} .rsOverflow {height: 230px !important;} } } @media all and (max-width: 480px) { #{$container} { .title { font-size: 22px; top: 18%;} .rsArrowIcn {display: none;} .btn {bottom: 28%;} } } @media all and (max-width: 380px) { #{$container} { .title { font-size: 20px; top: 16%;} .rsArrowIcn {display: none;} .btn {bottom: 24%;} } } @media (min-width: 1200px) { //#{$slider}, #{$slider} .rsOverflow {height: 410px !important;} #{$container} { .title, .subtitle, .btn {left: 0;} } }