/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */

.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #000;
    background: rgba(0,0,0,.8);
    z-index: 9999;
    display: none;
    top: 0;
    left: 0;
}

.reveal-modal {
    visibility: hidden;
    top: 100px !important;
    left: 50%;
    margin-left: -200px;
    width: 320px;
    background: #fff url(images/modal-gloss.png) no-repeat -200px -80px;
    position: absolute;
    z-index: 10000;
    padding: 30px 40px 34px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -box-shadow: 0 0 10px rgba(0,0,0,.4);
}

    .reveal-modal.small {
        width: 200px;
        margin-left: -140px;
    }

    .reveal-modal.medium {
        width: 400px;
        margin-left: -240px;
    }

    .reveal-modal.large {
        width: 600px;
        margin-left: -340px;
    }

    .reveal-modal.xlarge {
        width: 800px;
        margin-left: -440px;
    }

    .reveal-modal .close-reveal-modal {
        font-size: 22px;
        line-height: .5;
        position: absolute;
        top: 8px;
        right: 11px;
        color: #aaa;
        text-shadow: 0 -1px 1px rbga(0,0,0,.6);
        font-weight: bold;
        cursor: pointer;
    }


li.promoad {
    /*display: none !important;*/
    /*eventpromo*/
    height: 150px;
    z-index: 9997;
}

    li.promoad:first-child {
        display: none;
    }

    li.promoad .PAN {
        position: relative;
        left: 5px;
        right: 20px;
        z-index: 9998
    }

img.arrow-down {
    width: 100px !important;
    height: auto !important
}

a.eventpromo {
    position: relative;
    display: block;
    width: 150px !important;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-animation: btnWiggle 3s infinite;
    -moz-animation: btnWiggle 3s infinite;
    -o-animation: btnWiggle 3s infinite;
    animation: btnWiggle 3s infinite;
    z-index: 9998;
    outline: 0;
}

a.eventpromo,
li.promoad,
li.promoad img {
    width: 160px !important;
    height: auto !important;
    max-height: none !important
}

    li.promoad img.arrow-down {
        width: 60px !important
    }
#eventpromo {display:none}
#eventpromo a {
    outline: 0;
    text-decoration: none !important;
}

    #eventpromo a::-moz-focus-inner {
        border: 0;
    }

@media only screen and (min-width: 640px) {
    #eventpromo {
        display: block
    }
    .reveal-modal {
        margin-left: -300px;
        width: 520px;
        position: fixed !important;
    }
}

@media only screen and (min-width: 1200px) {
    a.eventpromo {
        background-color: #FFF;
    }
    li.promoad {
        display: none !important;
        /*eventpromo*/
    }

        li.promoad:first-child {
            display: none !important;
        }
}

@media only screen and (min-width: 1380px) {
    li.promoad:first-child {
        /*display: block !important;*/
        /*eventpromo*/
    }
}

@media only screen and (min-width: 1650px) {

    li.promoad {
        position: fixed !important;
        z-index: 9997;
        right: 20px;
        top: 110px;
        border: none !important
    }

        a.eventpromo,
        li.promoad,
        li.promoad img {
            width: 150px !important;
            height: auto !important;
            max-height: none !important
        }
}

@media only screen and (min-width: 1800px) {
    a.eventpromo,
    li.promoad,
    li.promoad img {
        width: 200px !important;
    }
}
/* animation */
@-webkit-keyframes btnWiggle {
    0% {
        -webkit-transform: rotate(0deg);
    }

    2% {
        -webkit-transform: rotate(-2deg);
    }

    3.5% {
        -webkit-transform: rotate(2deg);
    }

    5% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
    }
}

@-o-keyframes btnWiggle {
    0% {
        -webkit-transform: rotate(0deg);
    }

    2% {
        -webkit-transform: rotate(-2deg);
    }

    3.5% {
        -webkit-transform: rotate(2deg);
    }

    5% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes btnWiggle {
    0% {
        -webkit-transform: rotate(0deg);
    }

    2% {
        -webkit-transform: rotate(-2deg);
    }

    3.5% {
        -webkit-transform: rotate(2deg);
    }

    5% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
    }
}
