.div-lottery-picker {
    padding: 0 40px 20px 0;
}

.div-tickets {
    padding: 0 0 20px 0;
    min-width: 310px;
}

.div-lottery-panel-header{
    border-top: solid 1px #d7d9d7;
    border-left: solid 5px #c8c8c8;
    border-right: solid 5px #c8c8c8;
    height: 67px;
    position: relative;
}

.div-lottery-panel-header > div {
    float: left;
    line-height: 67px;
    height: 67px;
    position: relative;
    white-space: nowrap;
}

.spn-select-lottery,
.spn-tickets {
    display: inline-block;
    margin-bottom: 30px;
}

.div-date {
    height: 68px;
    width: 67px;
    position: relative;
    top: -1px;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 1em !important;
}

.spn-day {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2em;
}

.spn-month {
    font-size: .8em;
}

.spn-time {
    font-family: 'Montserrat', sans-serif;
    -webkit-transform: scale(.90, 1.0);
    -moz-transform: scale(.90, 1.0);
    -ms-transform: scale(.90, 1.0);
    -o-transform: scale(.90, 1.0);
    transform: scale(.90, 1.0);
    display: inline-block;
    left: -4px;
    position: relative;
}

.div-lottery-panel-header > div:nth-child(1) {
    margin: 0 0 0 6px;
}

.div-lottery-panel-header > div:nth-child(2) {
    margin: 0 0 0 5px;
}

.div-lottery-panel-header > div:nth-child(2) img{
    width: 50px;
    height: 50px;
    margin: 7px 0 0 0;
}


.div-lottery-panel-header > div:nth-child(3) {    
    width: 153px;
    line-height: 1em;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.3em;
    text-transform: uppercase;
    padding: 24px 0 0 0;
    margin: 0 0 0 10px;
    height: auto;
}

.div-lottery-panel-header > div:nth-child(3) .spn-jackpot {
    font-size: .8em;
    display: none;
}

.div-lottery-panel-header > div:nth-child(3) > span:last-child {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: .7em;
    display: none;
    position: relative;
}

.div-lottery-panel-header > div:nth-child(3) span:last-child img {
    position: absolute;
    left: -32px;
    top: 2px;
}

.div-lottery-panel-header > div:nth-child(4) {
    width: 128px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.3em;
    text-transform: uppercase;
}

.div-lottery-panel-header > div:nth-child(5) {
    height: 67px;
    width: 75px;
}
.div-lottery-panel-header > div:nth-child(5) > div {
    vertical-align: middle;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: .9em;
    line-height: 1.2em;
    text-transform: uppercase;
    white-space: normal;
    display: inline-block;
}

.div-lottery-panel-header > div:nth-child(6){
    margin: 0 6px 0 0;
    line-height: 55px;
    float: right;
}


.div-lottery-panel-header > div:nth-child(7){
    margin: 0 10px 0 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: .9em;
    text-transform: uppercase;
    float: right;
}

.btn-play-now{
    min-width: 120px;
    height: 34px;
    line-height: 34px;
    padding: 0;
}

.btn-quick-pick{
    text-transform: uppercase;
    font-size: .8em;
    width: 77px;
    height: 25px;
    line-height: 25px;
}

.btn-quick-pick-panel {
    float: left;
    margin-right: 4px;
}

.div-lottery-panel {
    background-color: #fff;
    padding: 20px 20px 50px 50px;
    font-family: 'Montserrat', sans-serif;
}

.div-lottery-panel:after,
.div-lottery-panel div:after { 
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.div-lottery-panel .title {
    display: block;
    margin: 20px 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    line-height: 1em;
    text-transform: none;
}

.spn-number {
    float: left;
    width: 38px;
    height: 38px;
    display: block;
    text-align: center;
    line-height: 38px;
    font-family: 'Oswald', sans-serif;
    font-size: 1em;
    font-weight: 700;
    margin: 0 4px 4px 0;
    cursor: pointer;
}

.spn-quick-pick {
    float: left;
    width: 34px;
    height: 28px;
    display: block;
    text-align: center;
    line-height: 28px;
    font-family: 'Oswald', sans-serif;
    font-size: 1em;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    border: solid 1px black;
}

.btn-add-entry {
    color: #fff;
    width: 260px;
    height: 34px;
    font-size: 1.2em;
    line-height: 34px;
    text-transform: uppercase;
    padding: 0 0 0 12px;
    position: relative;
    text-align: left;
}
.btn-add-entry img{
    top: 5px;
    right: 15px;
    position: absolute;
}

.btn-update-entry {
    color: #fff;
    width: 110px;
    height: 34px;
    font-size: 1.2em;
    line-height: 34px;
    text-transform: uppercase;
    padding: 0 0 0 12px;
    margin: 0 20px 0 0;
    position: relative;
    text-align: left;
    float: left;
}

.btn-cancel {
    color: #fff;
    width: 110px;
    height: 34px;
    font-size: 1.2em;
    line-height: 34px;
    text-transform: uppercase;
    padding: 0 0 0 12px;
    position: relative;
    text-align: left;
    float: left;
}



/* ============================== */
.div-order-panel-header {
    position: relative;
    height: 53px;
    padding: 0 10px 0 20px;
}

.div-order-panel {
    padding: 5px 7px;
    max-height: 480px;
    overflow: auto;
}

.div-order-panel div:not(:last-child) {
    margin-bottom: 5px;
}

.div-order-panel-header div {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.3em;
}

.div-order-panel-header div:nth-child(2) {
    text-align: right;
}

.div-order-panel-header div {
    line-height: 53px;
}

.img-order-icon-cart {
    position: absolute;
    right: 60px;
    top: 10px;
}

.spn-order-count {
    display: block;
    float: right;
    margin-top:8px;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 35px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    background: #fe7207;
}

.div-order-item {
    height: 55px;
    background-color: #e6e6e6;
    padding: 15px 3px 0 10px;
    position: relative;
}

.div-order-item div {
    float: left;
    position: relative;
}

.div-order-item div:not(:first-child) {
    margin: 2px 0 0 4px;
    padding: 0 0 0 5px;
    border-left: solid 2px #bfbfbf;
    height: 37px;
}

.div-order-item div:nth-child(2) {
    font-family: 'Oswald', sans-serif;
    font-size: .9em;
    line-height: 1.2em;
    text-align: right;
    width: 35px;
}

.div-order-item div:nth-child(3) {
    font-family: 'Oswald', sans-serif;
    font-size: .9em;
    line-height: 1.2em;
}

.div-order-item div:nth-child(3) span:first-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.div-order-item div:nth-child(3) span:last-child {
    color: #006600;
}

.div-order-item div:nth-child(4) {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
    line-height: 1.2em;
    float: right;
    width: 19%;
}

.div-order-item div:last-child span {
    position: absolute;
    display: block;
    bottom: 0;
    right: 4px;
}

.div-order-item div:first-child img{
    width: 40px;
    height: 40px;
}

.btn-edit-entry {
    position: absolute;
    right: 18px;
    top: -12px;
    cursor: pointer;
}

.btn-delete-entry {
    position: absolute;
    right: 0;
    top: -12px;
    cursor: pointer;
}

.btn-checkout {
    margin: 10px 0 0 0;
    float: right;
}

.col-tickets {
    float: right !important;
}

.div-order-badge {
    width: 62px;
    height: 62px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    border: 4px solid white;
    position: fixed;
    bottom: 11px;
    right: 11px; 
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 3px 20px 0 rgba(0,0,0,0.19);
    text-align: center;
    line-height: 60px;
    font-size: 2em;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    z-index: 900;
    -webkit-animation-name: order-badge-show;
    -webkit-animation-duration: 0.4s;
    animation-name: order-badge-show;
    animation-duration: 0.4s;
    cursor: pointer;
    display: none;
}

.div-order-badge.hide {
    -webkit-animation-name: order-badge-hide;
    -webkit-animation-duration: 0.4s;
    animation-name: order-badge-hide;
    animation-duration: 0.4s;
    bottom: -100px;
}

.div-order-badge img{
    position: absolute;
    top: 16px;
    left: 10px;
    opacity: .5;
}

@-webkit-keyframes order-badge-show {
    from {bottom:-100px; opacity:0} 
    to {bottom:11px; opacity:1}
}

@-moz-keyframes order-badge-show {
    from {bottom:-100px; opacity:0}
    to {bottom:11px; opacity:1}
}

@keyframes order-badge-show {
    from {bottom:-100px; opacity:0}
    to {bottom:11px; opacity:1}
}   

@-webkit-keyframes order-badge-hide {
    from {bottom:11px; opacity:1}
    to {bottom:-100px; opacity:0}
}

@-moz-keyframes order-badge-hide {
    from {bottom:11px; opacity:1}
    to {bottom:-100px; opacity:0}
}

@keyframes order-badge-hide {
    from {bottom:11px; opacity:1}
    to {bottom:-100px; opacity:0}
}  

@media screen and (max-width: 1070px) {
    .col-tickets {
        width: 310px !important;
    }

    .col-lotteries {
        width: calc(100% - 310px) !important;
    }
}

@media screen and (min-width: 841px) and (max-width: 1130px), screen and (max-width: 760px) {
    .div-lottery-panel {
        padding: 20px 20px 20px 20px;
    }
    
    .div-lottery-panel > div {

        width: 100% !important;   
    }
}

@media screen and (min-width: 841px) and (max-width: 1140px), screen and (max-width: 770px) {
    .div-lottery-panel-header div:nth-child(3) {
        padding: 12px 0 0 0;
    }

    .div-lottery-panel-header div:nth-child(3) .spn-jackpot {
        display: inline;
    }

    .div-lottery-panel-header div:nth-child(4) {
        display: none;
    }
}

@media screen and (min-width: 841px) and (max-width: 989px), screen and (max-width: 640px) {
    .div-lottery-panel-header div:first-child {
        display: none;
    }
}

@media screen and (min-width: 841px) and (max-width: 915px), screen and (max-width: 565px) {
    .div-lottery-panel-header {
        height: 85px;
    }

    .div-lottery-panel-header div:nth-child(3) {
        width: auto;
    }

    .div-lottery-panel-header div:nth-child(3) span:last-child {
        display: inline;
    }

    .div-lottery-panel-header div:nth-child(5) {
        display: none;
    }
}

@media screen and (max-width: 840px) {
    .div-lottery-picker {
        padding: 0;
    }
    .col-lotteries {
        width: 100% !important;
        margin: 0;
    }

    .col-tickets {
        width: 100% !important;
    }

    .col-tickets .spn-tickets {
        margin-top: 30px;
    }
    .div-order-badge {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .div-lottery-picker {
        margin: 0 -10px 0 -10px;
    }

    .spn-select-lottery {
        margin-left: 10px;
    }

    .div-lottery-panel-header {
        border-left: 0;
        border-right: 0;   
    }
}

@media screen and (max-width: 450px) {
    .div-lottery-panel-header div:nth-child(3) {
        width: 40vw;
    }
    .div-lottery-panel-header div:nth-child(6),
    .div-lottery-panel-header div:nth-child(7){
        height: auto;
        margin: 0 10px 0 0;
        line-height: 1em;
    }

    .div-lottery-panel-header div:nth-child(6) {
        margin-bottom: 10px;
        margin-top: 5px;
    }

    .div-lottery-panel-header div:nth-child(7) {
        font-size: .7em;
    }

    .btn-play-now {
        min-width: 95px;
    }
}

@media screen and (max-width: 400px) {
    .lottery-name {
        display: none;
    }

    .spn-help {
        top: 5px;
        float: right;
    }
}

@media screen and (max-width: 330px) {
    .div-tickets {
         margin: 0 -10px 0 -10px;
    }

    .spn-tickets {
        margin-left: 10px;
    }

    .btn-checkout {
        margin-right: 10px;
    }
}