@mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; border-radius: $radius; } //Selector Variables $container: "#wideSlider"; $slider: ".heroSlider"; /* THEME STYLES */ #{$container} { max-width: 1920px; margin: 0 auto 24px; #{$slider} { width: 100%; overflow: hidden; } .rsOverflow {width: 100% !important;} .rsContent > img { position: absolute; top: 0; left: 0; } .rsContent { display: none; } .rsOverflow .rsContent { display: block; } .container { position: relative; margin: 0 auto; height: 100%; } .subtitle { color: #fff; font-weight: 300; font-size: 36px; line-height: 43px; text-shadow: 1px 1px 2px #000000; filter: dropshadow(color=#000000, offx=1, offy=1); } .rsABlock { width: 100%; top: 20%; left: 0%; } .btn {min-width:130px; padding:7px 20px; margin-top: 20px; letter-spacing: 0.05em;} .rsBullets { background-color: transparent; left: 3.5%; max-width:980px; margin:0 auto; width:100%; float:none; left: auto; bottom:40px; position: relative; text-align: right; } } @media (max-width: 1100px) { #{$container} { .rsABlock {left:5%;} .rsBullets { float:right !important; width:auto !important;} } } @media (min-width: 768px) and (max-width: 979px) { #{$container} { .subtitle { font-size:32px; line-height: normal; } } } @media (max-width: 767px) { #{$container} { #{$slider}, #{$slider} .rsOverflow {height: 270px !important;} .subtitle { font-size:28px; line-height: normal; } .btn { font-size: 14px; padding: 5px 10px; margin-top:5px; } .rsBullets {bottom:25px} .rsABlock {left:10%; top:5%;} } } @media all and (max-width: 640px) { #{$container} { .subtitle { font-size: 24px;} .rsArrowIcn {display: none;} } } @media all and (max-width: 640px) and (orientation: landscape) { #{$container} { #{$slider}, #{$slider} .rsOverflow {height: 230px !important;} } } @media all and (max-width: 480px) { #{$container} { .rsABlock {left:5%; top:1%;} #{$slider}, #{$slider} .rsOverflow {height: 200px !important;} .subtitle {font-size:18px;} } } @media (min-width: 1300px) { #{$container} { .rsDefault .rsArrow {width:15%;} } } @media (min-width: 980px) { #{$slider}, #{$slider} .rsOverflow {height: 382px !important;} #{$container} { .subtitle, .btn {left: 0;} } }