//Selector Variables $container: "#wideSlider"; $slider: ".heroSlider"; /* THEME STYLES */ #{$container} { max-width: 1920px; margin: 0 auto 24px; background: #fff !important; .rsOverflow, .rsSlide, .rsVideoFrameHolder, .rsThumbs { background: #fff; } #{$slider} { width: 100%; overflow: hidden; } .rsOverflow {width: 100% !important;} .rsABlock { position: static; } .rsContent > img { position: absolute; top: 0; left: 0; } .rsContent > .container-fluid { position: relative; max-width: 1140px; height: 100%; padding: 0 30px; margin: 0 auto; .sliderContent { width: 50%; min-height: 50%; top: 25%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; position: absolute; background: #000; background: rgba(0,0,0,0.3); } } .title, .subtitle, .btn {left: 5%; color: #fff;} .title { margin-top: 25px; margin-left: 25px; margin-right: 25px; min-width: 50%; font-size: 36px; font-weight: 600; } .subtitle { margin-left: 25px; font-size: 18px; line-height: 24px; font-weight: 400; width: 90%; } .btn { margin-left: 25px; margin-bottom: 10px; padding: 7px 20px; display: none; float: left; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; font-size: 16px; font-weight: 600; -webkit-text-shadow: 1px 1px rgba(0,0,0,.25); -moz-text-shadow: 1px 1px rgba(0,0,0,.25); -ms-text-shadow: 1px 1px rgba(0,0,0,.25); -o-text-shadow: 1px 1px rgba(0,0,0,.25); text-shadow: 1px 1px rgba(0,0,0,.25); } .rsBullets { max-width: 1140px; left: 50%; margin-left: -570px; background: none; text-align: right; bottom: 10px; .rsBullet { cursor: pointer; background: #000; background: rgba(0,0,0,0.3); &:first-child { -webkit-border-top-left-radius: 3px; -moz-border-top-left-radius: 3px; -ms-border-top-left-radius: 3px; -o-border-top-left-radius: 3px; border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; -moz-border-bottom-left-radius: 3px; -ms-border-bottom-left-radius: 3px; -o-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; } &:last-child { -webkit-border-top-right-radius: 3px; -moz-border-top-right-radius: 3px; -ms-border-top-right-radius: 3px; -o-border-top-right-radius: 3px; border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; -moz-border-bottom-right-radius: 3px; -ms-border-bottom-right-radius: 3px; -o-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; } span { background-color: #cccccc; -webkit-transition: background linear 0.2s; transition: background linear 0.2s; } &.rsNavSelected span { background-color: #ff6600; } } } .rsArrow { width: 64px; .rsArrowIcn { margin-top:-18px; margin-left: -18px; background: #000; background: rgba(0,0,0,0.2); &:hover { background-color: #ff6600; } } .rsArrowIcn:before { content:" "; display: block; z-index: 1; } .rsArrowIcn, .rsArrowIcn:before { width: 36px; height: 36px; -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(0,0,0,0.2); } .rsArrowIcn:hover:before { opacity: 0; background-color: #ff6600; -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: 30px; line-height: 34px; width: 36px; height: 36px; text-align: center; display: inline-block; font-family: "FontAwesome"; position: relative; z-index: 2; color: #fff; } .rsArrowIcn:hover:after { color:#fff; } &.rsArrowLeft .rsArrowIcn:after { content: "\f104"; margin-left: -2px; } &.rsArrowRight .rsArrowIcn:after { content: "\f105"; margin-left: 2px; } } } @media (min-width: 980px) and (max-width: 1280px) { #{$container} { #{$slider} { .sliderContent { left: 100px; } } } } @media (min-width: 768px) and (max-width: 979px) { #{$container} { #{$slider} { .sliderContent { left: 100px; } } .title { font-size: 30px; } .subtitle { font-size: 16px; width: 80%; } .btn { bottom: 12%; } .rsBullets { left: auto;; right: 10px; margin-left: 0; } .rsArrow { width:36px !important; } } } @media (max-width: 767px) { #{$container} { #{$slider}, #{$slider} .rsOverflow {height: 270px !important;} #{$slider} { .sliderContent { left: 20px; } } .title { font-size: 24px; } .subtitle { display: none !important; } .btn { font-size: 13px; padding: 4px 8px; } .rsBullets { left: auto;; right: 10px; margin-left: 0; } } .rsContent > img { left: auto; right: -180px; } .rsArrowIcn {display: none;} } @media all and (max-width: 640px) { #{$container} { .title { font-size: 22px;} } } @media all and (max-width: 480px) { #{$container} { .title { font-size: 22px;} .sliderContent { left: 10%; width: 88% !important; max-width: none !important; } } } @media all and (max-width: 640px) and (orientation: landscape) { #{$container} { #{$slider}, #{$slider} .rsOverflow {height: 230px !important;} } } @media (min-width: 1200px) { #{$slider}, #{$slider} .rsOverflow {height: 450px !important;} #{$container} { .title, .subtitle, .btn {left: 0;} } }