@font-face {
    font-family: "Avenir";
    src: url("Avenir-Black.woff2") format("woff2");
}

@font-face {
    font-family: "SFUIText-Bold";
    src: url("SFUIText-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "DIN2014-BoldItalic";
    src: url("DIN2014-BoldItalic.woff2") format("woff2");
}

/*************** MAIN ELEMENTS ***************/

body {
    margin:0;
    padding:0;
}

div {
    position:absolute;
}

#wrapper {
    display:block;
    top: 0;
    left: 0;
    width: 728px;
    height: 90px;
	overflow: hidden;
    background-color: #0b1226;
}

#wrapper.dark {
    background-color: #000;
}

#wrapper.light {
    background-color: #fff;
}

#wrect {
    width: inherit;
    height: inherit;
    background: #fff;
    pointer-events: none;
}

#wrect.dark {
    background: #000;
}

#wrect.light {
    background: #fff;
}

#border {
    border: 1px solid #333; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    width: inherit;
    height: inherit;
    pointer-events: none;
}

#bgexit {
    width: inherit;
    height: inherit;
    cursor: pointer;
}

#bg {
    width: inherit;
    height: inherit;
}

#bg.dark {
    background: url("dark.jpg") no-repeat;
}

#bg.light {
    background: url("light.jpg") no-repeat;
}

#ball {
    width: inherit;
    height: inherit;
    
}

#ball.dark {
    background: url("dark_ball.png") 17% 100% no-repeat;
}

#ball.light {
    background: url("light_ball.png") 17% 100% no-repeat;
}



/******************** LOGO ********************/

#logo2 {
    cursor: pointer;
    width: 110px;
    height: 50px;
    bottom: 15px;
    left: 15px;
    background-size: contain;
}

#logo2.dark {
    background: url("dark_logo.svg") 50% 50% no-repeat;
}

#logo2.light {
    background: url("light_logo.svg") 50% 50% no-repeat;
}

#logoWrap {
    width: 140px;
    height: 80px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    font-family: "DIN2014-BoldItalic", sans-serif;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5pt;
}

#logo {
    width: inherit;
    height: inherit;
}

#sublogo {
    bottom: 0;
    text-align: center;
    width: inherit;
}

#sublogo.dark {
    color: #fff;
}

#sublogo.light {
    color: #091a59;
}

/******************** BUTTON ********************/

#cta {
    width: 135px;
    height: 35px;
    line-height: 35px;
    top: 50%;
    right: 20px;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    text-align: center;
    font-family: 'SFUIText-Bold', sans-serif;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    -webkit-transition: background-color 0.3s, color 0.3s;
    -moz-transition: background-color 0.3s, color 0.3s;
    -ms-transition: background-color 0.3s, color 0.3s;
    -o-transition: background-color 0.3s, color 0.3s;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

#cta.dark {
    background-color: #bd8f01;
}

#cta.light {
    background-color: #091a59;
}

#cta.dark:hover {
    background-color: #fff; 
    color: #091a59;
}

#cta.light:hover {
    background-color: #fff; 
    color: #091a59;
}

#arrow {
    width: 0; 
    height: 0; 
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent; 
    border-left: 40px solid #fff;
    right: 165px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

/********************** TEXT **********************/
#text {
    width: 400px;
    height: 90px;
    top: 5px;
    right: 160px;
    font-family: 'Avenir', serif;
    line-height: 100%;
    color: #fff;
    display: flex;
    align-items: center;
}

#text.small {
    width: 433px;
}

#amount {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#amount.dark {
    color: #bc8907;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

#amount.light {
    color: #091a59;
}

#dollar {
    font-size: 33px;
}

#num {
    font-size: 65px;
    line-height: 80%;
}

#offer {
    font-size: 34px;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.8pt;
    display: inline-block;
    line-height: 60%;
    padding-left: 5px;
}

.offsmall {
    font-size: 20px;
    display: inline-block;
}

#disclaimerWrap {
    font-family: 'Arial', sans-serif;
    font-size: 6px;
    width: 330px;
    height: 14px;
    bottom: 2px;
    color: #6c6567;
    left: 240px;
}

/********************** TEXT0 **********************/
#text0 {
    width: 400px;
    height: 200px;
    top: 22px;
    right: 220px;
    font-family: 'Avenir', serif;
    color: #fff;
    text-transform: uppercase;
    line-height: 100%;
    text-align: right;
}

#headline {
    font-size: 32px;
    line-height: 90%;
}

#headline.dark {
    color: #fff;
}

#headline.light {
    color: #091a59;
}

#subheadline {
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 2.5pt;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}