html { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

body {
    color: #000;
    font-family: Europa, Helvetica, sans-serif;
    font-size: 13px;
    text-align: center;
    background-color: #fff;
    margin: 0px;
    overflow: hidden;
    letter-spacing: 2px;
}

button:focus { outline: 0; }

a { color: #0080ff; }

.title {
    font-family: Europa-Bold, Helvetica, sans-serif;
    font-size: 18px;
    text-align: center;
    line-height: 18px;
    text-transform: uppercase;
}
#total-count, #remaining-count {
    font-family: Europa-Regular, Helvetica, sans-serif;
    font-size: 36px;
    text-align: center;
    margin: 10px 0;
}
.action {
    background: transparent;
    text-transform: uppercase;
    margin: auto;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 35px;
    margin-top: 40px;
    cursor: pointer;
}
#winner {
    height: auto;
    font-family: Europa-Bold, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    display: block;
    margin-bottom: 0px;
    text-align: center;
    padding-bottom: 0px;
}

#countries-list {
    text-align: left;
    font-family: Europa-Regular, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 38px;
    color: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 250px;
    padding: 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#countries-list-header > span {
    display: block;
    font-weight: 400;
}

#cl-select-all {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: Europa-Regular, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 34px;
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
}
#countries-list-select-all {
    border-bottom: 1px dotted #fff;
    margin: 0;
    text-align: left;
    padding: 0;
}

#cl-reset.mode-ineligible {
    color: #fff;
    border: 1px solid #fff;
    border-bottom: 1px solid #69c;
}
#play:disabled, #play[disabled], #cl-reset:disabled, #cl-reset[disabled], #change-selected-countries:disabled, #change-selected-countries[disabled] {
    border: 1px solid #ccc !important;
    color: #ccc !important;
    cursor: not-allowed !important;
}

#cl-reset {
    margin-top: 10px !important;
}
#close-cr {
    border: none !important;
    margin: 0 0 20px 0 !important;
}
#cl-reset, #close-cl, #copyright-trigger, #close-cr {
    border: 1px solid #fff;
    background-color: transparent;
    text-align: center;
    color: #fff;
    line-height: 14px;
    font-size: 13px;
    font-family: Europa-Regular, Helvetica, sans-serif;
    font-weight: lighter;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px;
    vertical-align: middle;
    width: 290px;
    margin: 0;
    height: 30px;
    margin: 5px;
    margin-top: 0;
    cursor: pointer;
    letter-spacing: 2px;
    font-weight: 400;
}

#countries-list-header {
    font-family: Europa-Regular, Helvetica, sans-serif;
    font-weight: lighter;
    color: #fff;
    border-bottom: 1px solid #fff;
    font-size: 18px;
    padding: 20px 0;
}

#rules-wrapper .rules-content {
    text-align: center;
    font-family: Europa-Regular, Helvetica, sans-serif;
    font-weight: lighter;
    font-size: 18px;
    line-height: 38px;
    color: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
    height: auto;
    padding: 0px;
    text-transform: none;
    margin: 0px 0 0 0;
    padding: 20px;
}

#close-rw {
    font-size: 23px;
    padding: 5px;
    font-weight: lighter;
    color: #fff;
    background-color: transparent;
    border: 0px solid #fff;
    margin: 20px;
    margin-top: 0;
    cursor: pointer;
}

#countries-list .c-ineligible     { color: #eee; font-weight: lighter; }
#countries-list .c-not-ineligible { color: #fff; font-weight: bold; }

#info, #info2 {
    padding: 0;
    background-color: transparent;
}

#result {
    width: 350px;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    text-transform: uppercase;
    background-color: transparent;
}

#logo {
    width: auto;
    height: auto;
    padding: 0px;
    font-family: Europa, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
    color: #fff;
}
#rules-trigger:disabled {
    border: 1px solid #ccc;
}
#rules-trigger:disabled .label:hover, #rules-trigger[disabled] .label:hover {
    border-bottom: none;
}
#rules-trigger:disabled .label, #rules-trigger[disabled] .label {
    color: #ccc;
    cursor: not-allowed !important;
}
#rules-trigger:disabled .plus, #rules-trigger[disabled] .plus {
    border: none;
    border-left: 1px solid #ccc;
    color: #ccc;
    cursor: not-allowed !important;
}
#rules-trigger .label:hover {
    border-bottom: 0px dashed #fff;
}
#rules-trigger .label {
    display: inline-block;
    border: none;
    width: auto;
    height: 30px;
    line-height: 30px;
    margin: 0;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
}
#rules-trigger .plus {
    border: none;
    height: 30px;
    width: 30px;
    display: inline-block;
    line-height: 25px;
    border-left: 1px solid white;
    margin: 0;
    font-size: 18px;
}
#rules-trigger {
    padding: 0;
    font-family: Europa, Helvetica, sans-serif;
    font-weight: lighter;
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    border: none;
    background-color: transparent;
    cursor: pointer;
}
#copyright-wrapper {
    height: 400px;
}
.rules-content {
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 0 20px;
    height: 300px;
}
.rules-content li {
    list-style-type: none;
    text-align: left;
    padding-left: 0;
    margin-bottom: 20px;
}
.rules-content li p {
    margin: 0;
    padding: 0;
}
.rules-content li a {
    color: lightblue;
}
#countries-list-wrapper, #rules-wrapper, #copyright-wrapper {
    height: auto;
    width: 300px;
    text-transform: uppercase;
    cursor: pointer;
    display: none;
    background-color: #6699cc;
    color: #fff;
    padding: 0px;
    text-align: center;
    z-index: 150;
}

#blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  
    display: none;
    background-image: url('../textures/blurbg.png');
    background-size:cover;
    width: 100%;
    height: 100%;
  
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
  }

@media screen and (min-width: 320px) {
    #info {
        width: 50%;
        height: 149px;
        position: absolute;
        bottom: 0px;
        left: 0;
        color: #000;
    }

    #info2 {
        width: 50%;
        height: 149px;
        position: absolute;
        bottom: 0px;
        right: 0;
    }

    #result {
        position: absolute;
        top: 170px;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
    }

    #logo {
        position: absolute;
        top: 0px;
        left: 0px;
        border-bottom: 1px solid #fff;
        padding-left: 10px;
        padding-bottom: 10px;
        padding-top: 10px;
        width: 100%;
        height: 66px;
        overflow: hidden;
    }
    #rules-trigger {
        position: absolute;
        top: 86px;
        left: 10px;
        border: 1px solid #fff;
        padding: 0;
        width: 169px;
        display: flex;
        height: 31px;
    }
    #bd-cont {
        position: absolute;
        top: 18px;
        right: 18px;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        border: none;
    }

    #bd-cont #bd {
        width: 44px;
        margin: 0;
        padding: 0;
        border: none;
    }

    #countries-list-wrapper, #rules-wrapper, #copyright-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
    }
    
    #total-count, #remaining-count { 
        color: #fff; 
        visibility: hidden;
    }
    .title { 
        color: #fff; 
        font-size: 100%;
        visibility: hidden;
    }
    .title .snd { display: block; }
    .action {
        border: 1px solid #fff;
        color: #fff;
        margin-top: 10px;
        margin-bottom: 0;
        width: 100%;
    }
}

@media screen and (min-width: 1100px) {
    #info {
        width: 220px;
        height: 150px;
        position: absolute;
        top: calc(50% - 100px);
        left: calc(50% - (32vh + 270px));
        /* transform: translate3d(-550px, -100px, 0); */
    }

    #info2 {
        width: 220px;
        height: 150px;
        position: absolute;
        top: calc(50% - 100px);
        left: calc(50% + (32vh + 50px));
        /* transform: translate3d(330px, -100px, 0); */
    }

    #result {
        position: absolute;
        top: 85px;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
    }

    #logo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 66px;
        overflow: hidden;
        border-bottom: 1px solid #fff;
        padding-left: 50px;
        padding-bottom: 50px;
        padding-top: 50px;
        /* transform: translate3d(-700px, -225px, 0); */
    }
    #rules-trigger {
        position: absolute;
        top: 166px;
        right: 88%;
        border: 1px solid #fff;
        padding: 0;
        width: 169px;
        display: flex;
        height: 31px;
        left: 50px;
    }

    #bd-cont {
        position: absolute;
        top: 50px;
        right: 50px;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        border: none;
    }

    #bd-cont #bd {
        width: 56px;
        margin: 0;
        padding: 0;
        border: none;
    }

    #countries-list-wrapper, #rules-wrapper, #copyright-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
    }
    
    #total-count, #remaining-count { 
        color: #fff; 
        visibility: hidden;
    }
    .title { 
        color: #fff; 
        font-size: 18px;
        visibility: hidden;
    }
    .title .snd { display: block; }
    .action {
        border: 1px solid #fff;
        color: white;
        width: 200px;
    }
}

