/* Defaultie stili: */

html,
button,
input,
select,
textarea {
    color: #222;
}

#friendSay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.winnersImage {
    position: relative;
    bottom: 116px;
    right: -53px;
}

.winnersText {
    color: #ffd8b3 !important;
    position: relative;
    top: -88px;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
ul {
    list-style-type: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset, ul, li {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* Satura stili: */
#ekoshopWrapper {
    position: relative;
    overflow: hidden;
    width: 730px;
    height: 730px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#cursor {
    background: url('scratches/cursor.png');
    width: 167px;
    height: 144px;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

#ekoshopWrapper.home {
    background-image: url('bg_intro.jpg');
}

#ekoshopWrapper.game,
#ekoshopWrapper.results {
    background-image: url('bg.jpg');
}

#ekoshopLogo {
    position: absolute;
    top: 20px;
    left: 37px;
    z-index: 10;
}
#ekoshopNav {
    margin-left: 245px;
    margin-top: 45px;
    position: relative;
    z-index: 15;
}
#ekoshopNav .navItem {
    display: inline-block;
    margin: 0 2px;
    padding: 0;
    border: 0 none;
    outline: none;
    background-repeat: no-repeat;
    vertical-align: middle;
}

#ekoshopNav .navItem > a,
#ekoshopNav .navItem.navSeperator {
    text-indent: -800px;
    overflow: hidden;
}

#ekoshopNav .navItem > a {
    display: block;
}

#ekoshopNav .navItem.navSeperator {
    background-image: url('nav_seperator.png');
    width: 13px;
    height: 13px;
}

#ekoshopNav .navItem.navHome > a {
    background-image: url('nav_home.png');
    width: 106px;
    height: 31px;
}
#ekoshopNav .navItem.navRules > a {
    background-image: url('nav_rules.png');
    width: 138px;
    height: 31px;
}
#ekoshopNav .navItem.navGame > a {
    background-image: url('nav_game.png');
    width: 84px;
    height: 31px;
}
#ekoshopNav .navItem.navResults > a {
    background-image: url('nav_results.png');
    width: 118px;
    height: 31px;
}

#ekoshopPopup {
    background: url('bg_popup.png') repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
}
#ekoshopPopup #ekoshopPopupWrapper {
    background-repeat: no-repeat;
    position: relative;
    margin: 0 auto;
}
#ekoshopPopup.rules #ekoshopPopupWrapper {
    background-image: url('bg_popup_rules.png');
    width: 730px;
    height: 566px;
}
#ekoshopPopup.newsletter #ekoshopPopupWrapper {
    background-image: url('bg_popup_newsletter.png');
    width: 730px;
    height: 566px;
}
#ekoshopPopup.tryagain #ekoshopPopupWrapper {
    background-image: url('bg_popup_tryagain.png');

    width: 730px;
    height: 566px;
}
#ekoshopPopup.congrats #ekoshopPopupWrapper {
    background-image: url('bg_popup_congrats.png');
    width: 730px;
    height: 566px;
}
#ekoshopPopup.oops #ekoshopPopupWrapper {
    background-image: url('bg_popup_oops.png');
    width: 697px;
    height: 695px;
}
#ekoshopPopup #ekoshopPopupContent {
    padding: 5px 55px 0;
}
#ekoshopPopup #ekoshopPopupContent .rulesContent {
    height: 350px;
    overflow-y: scroll;
    list-style-type: decimal;
    list-style-position: inside;
}
#ekoshopPopup .popupClose {
    position: absolute;
    top: 20px;
    right: 40px;
    background: url('btn_popup_close.png') no-repeat;
    width: 40px;
    height: 42px;
    text-indent: -800px;
    overflow: hidden;
    z-index: 55;
}
#ekoshopPopup.hidden {
    display: none;
}
#ekoshopPopup .oopsContent {
    margin-top: 235px;
    font-family: Arial, sans-serif;
    color: #32000f;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
}
#ekoshopPopup .rulesContent {
    margin-top: 135px;
    font-family: Arial, sans-serif;
    color: #32000f;
    font-size: 11px;
}
#ekoshopPopup .rulesContent li {
    line-height: 18px;
    margin-bottom: 2px;
}

#ekoshopFollowCbx {
    position: absolute;
    bottom: 464px;
    margin: 0 auto;
    left: 0;
    right: 0;
    overflow: hidden;
    text-indent: -800px;
    background: url('checkbox_follow.png') no-repeat 0 -22px;
    width: 153px;
    height: 22px;
}
#ekoshopFollowCbx.checked {
    background-position: 0 0;
}
.ekoshopBtn {
    display: inline-block;
    overflow: hidden;
    position: relative;
    text-indent: -800px;
    outline: none;
    margin: 0;
    padding: 0;
    border: 0 none;
    cursor: pointer;
    background: no-repeat transparent;
}
.ekoshopBtn.btnStart {
    background-image: url('btn_start.png');
    width: 318px;
    height: 73px;
    position: absolute;
    top: 155px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.ekoshopBtn.btnReceiveNewsletter {
    background-image: url('btn_receive_newsletter.png');
    width: 233px;
    height: 54px;

    position: absolute;
    bottom: 165px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.ekoshopBtn.btnTryAgain {
    background-image: url('btn_try_again.png');
    width: 278px;
    height: 64px;
    line-height: 64px;
    vertical-align: middle;
    text-indent: 0;
    text-align: center;
    text-decoration: none;
    color: #f2fce9;
    font-size: 21px;
    font-family: 'poetsen_oneregular', sans-serif;
    text-shadow: 1px 2px 1px rgba(36, 76, 0, 0.8);

    position: absolute;
    bottom: 155px;
    left: 60px;
}
.ekoshopBtn.btnTryAgain .scratchesLeft {
    font-size: 14px;
}
.ekoshopBtn.btnInviteFriends {
    background-image: url('btn_invite_friends.png');
    width: 315px;
    height: 43px;
}
.ekoshopBtn.btnOutOfTries {
    background-image: url('btn_no_tries_disabled.png');
    width: 312px;
    height: 57px;
    position: absolute;
    bottom: 150px;
    left: 45px;
    cursor: default;
}
.ekoshopBtn.inviteFriendsGetTries {
    background-image: url('btn_invite_friend_get_tries.png');
    width: 315px;
    height: 43px;
    position: absolute;
    bottom: 100px;
    left: 20px;
}
.ekoshopBtn.btnContinueGame {
    background-image: url('btn_continue_game.png');
    width: 169px;
    height: 22px;

    color: #f2fce9;
    font-size: 21px;
    font-family: 'poetsen_oneregular', sans-serif;
    text-shadow: 1px 2px 1px rgba(36, 76, 0, 0.8);
}
.ekoshopBtn.btnContinueGame .scratchesLeft {
    font-size: 14px;
}
.ekoshopBtn.btnInviteToGetTickets {
    background-image: url('btn_invite_to_get_tries_results.png');
    width: 582px;
    height: 36px;
    position: absolute;
    bottom: 95px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.ekoshopInputWrapper {
    display: inline-block;
    background: no-repeat transparent;
}
.ekoshopInput {
    display: block;
    outline: none;
    margin: 0;
    padding: 0;
    border: 0 none;
    background: transparent;
}

.ekoshopInputWrapper.inputNewsletterEmail {
    background-image: url('input_email_address.png');
    width: 359px;
    height: 57px;
    line-height: 57px;

    position: absolute;
    bottom: 235px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.ekoshopInputWrapper.inputNewsletterEmail > .ekoshopInput {
    width: 310px;
    display: inline-block;
    padding: inherit;
    margin-left: 23px;
    text-align: center;
    line-height: 14px;
    vertical-align: middle;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #333333;
}
.ekoshopInputWrapper.inputNewsletterEmail > .ekoshopInput::-webkit-input-placeholder { /* WebKit browsers */
    color: #a9a9a9;
}
.ekoshopInputWrapper.inputNewsletterEmail > .ekoshopInput:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #a9a9a9;
}
.ekoshopInputWrapper.inputNewsletterEmail > .ekoshopInput::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #a9a9a9;
}
.ekoshopInputWrapper.inputNewsletterEmail > .ekoshopInput:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #a9a9a9;
}

#ekoshopGameContent {
    background: url('bg_scratch_cards_v2.png') no-repeat;
    width: 708px;
    height: 545px;
    margin: 45px auto 0;
}
.scratchcardWrapper {
    position: absolute;
    top: 272px;
    left: 87px;
    width: 551px;
}

.scratchcardWrapper .scratchcardItem canvas {
    cursor: none !important;
}

.scratchcardWrapper .scratchcardItem {
    display: inline-block;
    width: 141px;
    height: 141px;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.scratchcardWrapper .scratchcardItem.card1 {
    position: absolute;
    left: 0;
}
.scratchcardWrapper .scratchcardItem.card2 {
    position: absolute;
    left: 205px;
}
.scratchcardWrapper .scratchcardItem.card3 {
    position: absolute;
    left: 410px;
}

#draugiemLike {
    position: absolute;
    right: 45px;
    top: 47px;
    z-index: 50;
}

.tryAgainContent {

}
.tryAgainContent .txtOutOfTries {
    position: absolute;
    bottom: 150px;
    left: 0;
    right: 0;
    text-align: center;
}
.tryAgainContent .btnTryAgain {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.tryAgainContent .btnInviteFriends {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.ekoshopResultsContent {

}
.ekoshopResultsContent .resultsTitle {
    margin: 40px auto 20px;
    text-align: center;
}
.lotteryPhones {
    text-align: center;
    margin-top: 35px;
}
.lotteryPhones .phoneItem {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0 5px;
    height: 250px;
}

.phoneItem .cardsTitle {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #ffd8b3;
    font-weight: 900;
    font-size: 12px;
    text-shadow:
    -1px -1px 2px #32000f,
    1px -1px 2px #32000f,
    -1px 1px 2px #32000f,
    1px 1px 2px #32000f;
}

.phoneItem .cardsTitle img {
    margin-right: 3px;
}

.phoneItem.phone4, .phoneItem.phone5, .phoneItem.phone6, .phoneItem.phone7 {
    border-top: 1px solid #3a3a5c;
    margin: 0;
    padding: 20px 5px 0 5px;
}

.phoneItem.phone3 .cardsTitle {
    margin-top: 14px;
}

.phoneItem.phone4 .cardsTitle {
    margin-top: 29px;
}

.phoneItem.phone1 .largePic {
    margin-top: -20px;
}

.phoneItem.phone2 .largePic {
    margin-top: -27px;
}

.phoneItem.phone3 .largePic {
    margin-top: -18px;
}

.phoneItem.phone4 .largePic {
    margin-top: -25px;
}

.phoneItem.phone5 .largePic {
    margin-top: -16px;
}

.phoneItem.phone6 .largePic {
    margin-top: -15px;
}

.phoneItem.phone7 .largePic {
    margin-top: -14px;
}

.phoneItem.phone2 .largePic img,
.phoneItem.phone4 .largePic img {
    position: relative;
    top: 10px;
}
.phoneItem .largePic {
    position: relative;
    margin-bottom: 10px;
}

.phoneItem .lotteryBadge {
    background: #ff4800;/*url('phones/lottery-date.png') no-repeat;*/
    width: 57px;
    height: 57px;
    border-radius: 90px;
    position: absolute;
    color: #fff;
}
.phoneItem .lotteryBadge .date {
    font-size: 12px;
    font-weight: bold;
    font-family: sans-serif;
    height: 57px;
    position: relative;
    top: 5px;
}


.phoneItem.phone1 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone2 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone3 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone4 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone5 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone6 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone7 .lotteryBadge {
    top: 47px;
}

.phoneItem.phone2 .lotteryBadge.badge0 {
    bottom: 63px;
}
.phoneItem.phone2 .lotteryBadge.badge1 {
    bottom: 33px;
}
.phoneItem.phone2 .lotteryBadge.badge0,
.phoneItem.phone2 .lotteryBadge.badge1 {
    left: -8px;
}
.phoneItem.phone1 .lotteryBadge.badge0 {
    bottom: 33px;
    left: 0;
}
.phoneItem.phone4 .lotteryBadge.badge0 {
    bottom: 33px;
}
.phoneItem.phone4 .lotteryBadge.badge1 {
    bottom: 63px;
}
.phoneItem.phone4 .lotteryBadge.badge0,
.phoneItem.phone4 .lotteryBadge.badge1 {
    left: -6px;
}
.phoneItem.phone3 .lotteryBadge.badge0 {
    bottom: 33px;
    left: 0;
}
.phoneItem .phoneName {
    text-align: center;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}
.phoneItem .itemStatus {
    margin-bottom: 8px;
}

.congratsContent {

}
.congratsContent .qualifiedForPhone {
    position: absolute;
    top: 140px;
    text-align: center;
    left: 0;
    right: 0;
}
.congratsContent .qualifiedTitle {
    position: absolute;
    bottom: 200px;
    left: 0;
    right: 0;
    text-align: center;
}
.congratsContent .btnOutOfTries,
.congratsContent .btnTryAgain {
    left: 0;
    right: 0;
    bottom: 130px;
    margin: 0 auto;
}
.congratsContent .inviteFriendsGetTries {
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 70px;
}
.lotteryTickets {
    width: 140px;
    margin: 0 auto;
    text-align: center;
}
.lotteryTickets .ticketItem {
    width: 19px;
    height: 32px;
    font-size: 12px;
    display: inline-block;
    margin: 0 1px 4px 5px;
    color: white;
    white-space: nowrap;
    font-family: sans-serif;
    vertical-align: top;
    font-weight: 900;
}
.lotteryTickets .ticketItem.more {
    width: 40px;
}
.lotteryTickets .ticketItem .xMore {
    display: inline;
    font-size: 12px;
    font-weight: bold;
}