/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    background-color:#fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.4;
    text-align:center;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

div#views {
    background-color:#fff;
    margin:0 auto;
    padding: 10px 20px;
    width:440px;
}

div.view {
    display:none;
    overflow:hidden;
    position:relative;
}


div.row {
    clear:both;
    margin: 0 0 28px 0;
    overflow:hidden;
}

div#header {
    overflow: hidden;
}

#btn-close {
    background-image:url(../img/ui/btn-close.png);
    background-repeat: no-repeat;
    clear:right;
    display: block;
    float: right;
    height:31px;
    text-indent: -5000px;
    width:31px;
}

#btn-sound {
    background-repeat: no-repeat;
    clear:left;
    display: none;
    float: left;
    font-size:16px;
    font-weight:bold;
    height:27px;
    outline:0;
    text-decoration: none;
    text-transform: uppercase;
}

#btn-sound.off {
    background-image:url(../img/ui/btn-sound-off.png);
    color:#333;
    padding: 8px 0 0 39px;
    text-align: left;
    width:110px;
}

#btn-sound.on {
    background-image:url(../img/ui/btn-sound-on.png);
    color:#fff;
    padding: 8px 0 0 19px;
    text-align: left;
    width:130px;
}

div.row p {
    font-size:18px;
    margin:0;
    padding:0;
}

.button {
    border:1px solid #09a061;
    color:#fff;
    font-weight:normal;
    padding: 6px;
    text-decoration: none;
    text-shadow: 0px 2px 2px rgba(100, 100, 100, 1);
    text-transform: uppercase;
}

.button-small {
    display:inline-block;
    font-size:20px;
    padding:8px 46px;
    text-align:center;

    background-image: linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -o-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -moz-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -webkit-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -ms-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.33, rgb(8,159,96)),
        color-stop(0.67, rgb(66,187,137)),
        color-stop(0.84, rgb(123,215,177))
    );

    background-color:#089f60;
}

.button-middle {
    margin: 0 auto;
}

.button-left {
    float:left;
}

.button-right {
    float:right;
}

.button-off {
    background-image: linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -o-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -moz-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -webkit-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);
    background-image: -ms-linear-gradient(bottom, rgb(8,159,96) 33%, rgb(66,187,137) 67%, rgb(123,215,177) 84%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.33, rgb(8,159,96)),
        color-stop(0.67, rgb(66,187,137)),
        color-stop(0.84, rgb(123,215,177))
    );

    background-color:#089f60;
}

.button-on {
    background-image: linear-gradient(bottom, rgb(6,99,60) 33%, rgb(55,151,111) 67%, rgb(93,166,136) 84%);
    background-image: -o-linear-gradient(bottom, rgb(6,99,60) 33%, rgb(55,151,111) 67%, rgb(93,166,136) 84%);
    background-image: -moz-linear-gradient(bottom, rgb(6,99,60) 33%, rgb(55,151,111) 67%, rgb(93,166,136) 84%);
    background-image: -webkit-linear-gradient(bottom, rgb(6,99,60) 33%, rgb(55,151,111) 67%, rgb(93,166,136) 84%);
    background-image: -ms-linear-gradient(bottom, rgb(6,99,60) 33%, rgb(55,151,111) 67%, rgb(93,166,136) 84%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.33, rgb(6,99,60)),
        color-stop(0.67, rgb(55,151,111)),
        color-stop(0.84, rgb(93,166,136))
    );

    background-color:#06633c;
}

#btn-watch {
    display:block;
    float:left;
    font-size:24px;
    padding:8px 0;
    text-align:center;
    width:217px;
}

#btn-try {
    display:block;
    float:left;
    font-size:24px;
    padding:8px 0;
    text-align:center;
    width:217px;
}

.mainlogo {
    display:block;
    position:relative;
    z-index:80000;
    -webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 1px 3px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 1px 3px rgba(50, 50, 50, 0.75);
}

.tab-button {
    background-color:#d7d4d4;
    clear:both;
    color:#666666;
    display:block;
    float:right;
    font-weight:bold;
    margin: -2px 8px 2px 0;
    padding: 12px 8px;
    text-decoration: none;
    text-shadow: 0px 2px 2px rgba(255, 255, 255, 1);

    -webkit-box-shadow: 0px 3px 5px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 3px 5px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 3px 5px rgba(50, 50, 50, 0.75);
}

.tab-button i.arrow-down {
    background-image:url(../img/ui/icon-arrow-down.png);
    background-repeat: no-repeat;
    display: inline-block;
    height:10px;
    margin: 0;
    width:16px;
}
.tab-button i.arrow-up {
    background-image:url(../img/ui/icon-arrow-up.png);
    background-repeat: no-repeat;
    display: inline-block;
    height:10px;
    margin: 0;
    width:16px;
}
div.added-template {
    overflow:hidden;
}

div.content {
    clear:both;
    margin: 20px 0 0 0;
    text-align: left;
}

#footer {
    background-color:#f3f0f0;
    color:#666666;
    font-size: 12px;
    margin: 0;
    padding:8px;
    text-align: left;
}

.callout {
    color:#09a061;
}

.callout-large, div.row .callout-large {
    color:#09a061;
    font-size: 24px;
}

.callout-xlarge, div.row .callout-xlarge {
    color:#09a061;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}


.radio-options {
    overflow:hidden;
}

.radio-options input
{
    padding: 0;
    margin: 0;
    height: 33px;
    width: 32px;
    float: left;
    position: absolute;
    left: 0;
    opacity: 0;
}
.radio-options label 
{ 
    display:inline-block;
    line-height: 23px; 
    padding: 0 0 0 44px;
}

.radio-options input + label
{
    
}
.radio-options input[type=radio] + label { background: url(../img/ui/bg-custom-radio-off.png) 0 0 no-repeat; }

/* Checked styles */
.radio-options input[type=radio]:checked + label { background: url(../img/ui/bg-custom-radio-on.png) 0 0 no-repeat; }


.number-entry-contain {
    background-color:#fff6b0;
    overflow:hidden;
    border-radius:12px;
    padding:22px 10px;
    text-align: center;
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
    box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
}

.number-entry {
    background:url(../img/ui/display-bg.png);
	background-repeat:no-repeat;
    color:#333;
    display:inline-block;
    font-size:34px;
    font-weight:bold;
    margin: 0 6px;
    min-height: 62px;
    text-align:center;
	padding: 8px 0 8px 9px;
	border:hidden;
	width:64px;
	
}

.ie.win .number-entry {
    height: 62px;
}

.ie8 .number-entry {
    min-height: 0;
}

.mozilla .number-entry {
        padding-left:0;
    }

    .mozilla.mac #enternumbers .number-entry {
        padding: 12px 0 10px 9px;
        text-align: left;
    }

    .webkit.mac #enternumbers .number-entry {
        background:none;
        padding: 12px 0 10px 9px;
        text-align: left;
    }


.ios .number-entry {
    background:url(../img/ui/select-bg.png);
	background-repeat:no-repeat;
	padding-left: 12px;
	width: 69px;
	margin: 0 3px;
}
.android .number-entry {
    background:url(../img/ui/select-bg.png);
	background-repeat:no-repeat;
	width: 75px;
	padding-left: 1px;
	margin: 0 0 0 0px;
	font-size:30px;
    height: 60px;
}

.number-display {
    width:45px;
	background:url(../img/ui/display-bg.png);
	background-repeat:no-repeat;
    color:#333;
    display:inline-block;
    font-size:36px;
    font-weight:bold;
    margin: 0 17px;
    text-align:center;
	height:60px;
	padding-top: 6px;
    zoom: 1;
    *display: inline;
}

.webkit.mac .number-entry {
    background:none;
    font-size:28px;
    margin:0 2px;
    width:auto !important;
}

.double-digits {
    padding-left:0px !important;
}

input[type=text].number-entry:disabled {
    background-color:#fff;
    width:40px;
}

#ticket_image {
    background-repeat: no-repeat;
    border: 3px solid #d7d4d4;
    height:240;
    margin:0 auto;
    position:relative;
    width:345px;
	font-family:'Courier New', Courier, monospace; font-weight:bold; 
}

#ticket_image_prizes {
    background-repeat: no-repeat;
    border: 3px solid #d7d4d4;
    height:238px;
    margin:0 auto;
    position:relative;
    width:345px;
	font-family:'Courier New', Courier, monospace; font-weight:bold;  
}

.winning-number-entry-contain {
    background-color:#009c5c;
    border-radius:12px;
    padding:14px 10px 0px 10px;
    text-align: center;

    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
    box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
}

.winning-number-entry-contain-prizes {
    background-color:#009c5c;
    border-radius:12px;
    height:44px;
    padding:14px 10px 72px 10px;
    text-align: center;

    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
    box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.75);
}

.winning-number-entry {
    background: url(../img/ui/bg-winning-number.png) 1px 0 no-repeat;
    color:#333;
    display:inline-block;
    font-size:33px;
    font-weight:bold;
    height:44px;
    line-height: 44px;
    margin: 0px 14px 16px 14px;
    opacity: 0;
    text-align:center;
    width:45px;
}
.winning-number-entry-pb {
    background: url(../img/ui/bg-winning-number-pb.png) 1px 0 no-repeat;
    color:#333;
    display:inline-block;
    font-size:33px;
    font-weight:bold;
    height:44px;
    line-height: 45px;
    margin: 0px 14px 16px 14px;
    opacity: 0;
    text-align:center;
    width:45px;
}
.winning-number-entry-prizes {
    background: url(../img/ui/bg-winning-number.png) 1px 0 no-repeat;
    color:#333;
    display:inline-block;
    font-size:33px;
    font-weight:bold;
    height:45px;
    line-height: 45px;
    margin: 0px 14px 16px 14px;
    text-align:center;
    width:45px;
}
.winning-number-entry-prizes-pb {
    background: url(../img/ui/bg-winning-number-pb.png) 0 0 no-repeat;
    color:#333;
    display:inline-block;
    font-size:33px;
    font-weight:bold;
    height:44px;
    line-height: 45px;
    margin: 0 14px;
    text-align:center;
    width:44px;
}
.mozilla.mac .winning-number-entry, 
.mozilla.mac .winning-number-entry-prizes, 
.winning-number-entry-prizes-pb {
    padding-top:2px;
}
div.row p.copy {
    margin-bottom: 10px;
}

p.copy a, p.copy a:link {
    color:#19a66c;
}

.slide {
    margin-bottom:20px;
}

.slide .slide-toggle {
    background: url(../img/ui/btn-plus.png) 0 2px no-repeat;
    color:#19a66c;
    display:block;
    font-weight:bold;
    outline:0;
    padding: 0 0 0 26px;
    text-decoration:none;
    text-transform:uppercase;
}

.slide .slide-toggle-on {
    background: url(../img/ui/btn-minus.png) 0 2px no-repeat;
}

.slide .slide-content {
    display:none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}

a.btn-red {
    overflow: hidden;
    margin:0 auto 12px 0;
    padding: 8px 14px 8px 14px;
    border-style: none;
    display:block;
    font-size:14px;
    color: #fff;
    font-weight:bold;
    text-decoration: none;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px #757554;
    box-shadow: 0 1px 2px #757554;
    text-shadow: 0 2px 1px #6a6a6a;
    width:auto;
    text-align:center;
    background: #e11f26;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UxMWYyNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM2JSIgc3RvcC1jb2xvcj0iI2UwMWYyNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUzJSIgc3RvcC1jb2xvcj0iI2QyMWYyNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijg1JSIgc3RvcC1jb2xvcj0iI2FlMWUyMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMzFlMjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #e11f26 0%, #e01f26 36%, #d21f25 53%, #ae1e23 85%, #a31e22 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e11f26), color-stop(36%,#e01f26), color-stop(53%,#d21f25), color-stop(85%,#ae1e23), color-stop(100%,#a31e22));
    background: -webkit-linear-gradient(top,  #e11f26 0%,#e01f26 36%,#d21f25 53%,#ae1e23 85%,#a31e22 100%);
    background: -o-linear-gradient(top,  #e11f26 0%,#e01f26 36%,#d21f25 53%,#ae1e23 85%,#a31e22 100%);
    background: -ms-linear-gradient(top,  #e11f26 0%,#e01f26 36%,#d21f25 53%,#ae1e23 85%,#a31e22 100%);
    background: linear-gradient(to bottom,  #e11f26 0%,#e01f26 36%,#d21f25 53%,#ae1e23 85%,#a31e22 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e11f26', endColorstr='#a31e22',GradientType=0 );
}

#btn-back {
    display:none;
    float:right;
}