<style>
.pushdown {
display: table;
height: 200px;
width: 100%;
}
.pushdown > div {
display: table-cell;
vertical-align: middle;
}
.pushdown > .pushdown-left {
width: 40%;
background: url(https://rosettastone.com/lp/globals/img/get-on-the-list/logo-desktop.png) no-repeat #ecc200 right center;
background-size: 50%;
}
.pushdown-divider {
width: 25px;
background: url(https://rosettastone.com/lp/globals/img/get-on-the-list/divider.jpg) no-repeat #262626;
background-size: contain;
}
.pushdown > .pushdown-right {
background: url(https://rosettastone.com/lp/globals/img/get-on-the-list/bg-desktop.jpg) #262626;
padding-left: 2em;
background-size: contain;
}
.pushdown > .pushdown-right h3 {
font-size: 1.5em;
color: #fff;
margin-top:0;
}
.pushdown > .pushdown-right p {
color: #ecc200;
}
.pushdown-actions {
position: relative;
margin-top: 1em;
}
.pushdown > .pushdown-right input[type=email] {
display: inline-block;
padding: 8px;
box-sizing: border-box;
width: 200px;
border: 1px solid transparent;
}
.pushdown > .pushdown-right input[type=submit] {
background: transparent;
border: 2px solid white;
color: white;
padding: 8px 20px;
display: inline-block;
transition: background-color 0.3s, color 0.3s;
}
.pushdown-right input[type=submit]:hover {
background-color: #fff;
color: #262626
}
.email-error {
position: absolute;
bottom: -25px;
color: red;
display: none;
}
@media (max-width: 600px) {
.pushdown {
height: auto;
}
.pushdown, .pushdown > div {
display: block;
margin: 0 auto;
}
.pushdown > .pushdown-left {
width: 100%;
}
.pushdown-actions {
text-align: center;
position: relative;
}
.pushdown > .pushdown-right input[type=email],
.pushdown > .pushdown-right input[type=submit] {
display: block;
width: 70%;
margin: 0 auto;
}
}
</style>
<div class="pushdown">
<div class="pushdown-left"></div>
<div class="pushdown-divider"></div>
<div class="pushdown-right">
<h3>Be the first to know</h3>
<p>Sign up for a first look at our best Black Friday and Cyber Monday deals.</p>
<form class="pushdown-actions">
<input type="email" placeholder="EMAIL ADDRESS" class="pushdown-email">
<input type="submit" value="GET ON THE LIST">
<div class="email-error">Email is invalid</div>
</form>
</div>
</div>
<script>
/*
(function(){
// build the rto and insert it invisibly into the document
var rto = document.createElement('div');
rto.id = 'gift_rto_container';
rto.style.display = 'none';
rto.innerHTML = '<div style="position:fixed; z-index:20000; top:0px; left:0px; width:100%; height:100%; text-align:center; padding-top:100px;"><div id="outside_of_rto" style="position:absolute; background:rgba(33,33,33,0.8); top:0px; left:0px; width:100%; height:100%;"></div><div style="position:relative; display:inline-block; width:500px; border:10px solid #eee; color:#333; background:#fff; padding:30px; font-family:sans-serif; font-weight:100; text-align:center; font-size:20px; box-sizing:content-box;"><div style="font-size:32px; font-weight:700;">CLAIM YOUR MYSTERY GIFT</div><div style="padding:10px 0px 20px;">ORDER NOW AND FIND OUT WHAT THE GIFT IS!</div><img src="http://www.rosettastone.com/lp/globals/img/rto/mystery_gift_icon_big.png"><div style="font-size:16px; padding:20px 0px;">ADD A LEVEL 1-5 SET, OR A 12-MONTH SUBSCRIPTION TO YOUR CART TO SEE YOUR MYSTERY GIFT</div><a href="#" id="claim_rto_button" style="display:inline-block; background:#a20; padding:15px 40px; color:#fff; text-decoration:none; border-radius:3px; font-weight:700;">CLAIM THIS OFFER</a></div></div>';
document.body.insertBefore(rto,document.body.firstChild);
// hide rto on click outside
document.getElementById('outside_of_rto').onclick = function(){ rto.style.display='none'; };
// handle when user claims the rto
document.getElementById('claim_rto_button').onclick = function(){
rto.style.display='none';
run_rto_omiture_tracking(); // run analytics here
};
// track rto click event in omniture
function run_rto_omiture_tracking(){
s.eVar19 = "N5-" + s.pageName; // N5 means 5 second delay for a mystery gift iNvitation rto
s.events="event55"; // Event 55 is an rto click
s.tl(); // this sends the above variables to omniture
delete s.events; // prevent the same event from showing up in anything else on the page
}
setTimeout(function(){rto.style.display='block';}, 0*1000); // show rto after 5 seconds
})();
*/
</script>