.ath-viewport * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ath-viewport {
    -moz-text-size-adjust: none;
    -moz-user-select: none;
    -ms-text-size-adjust: none;

    -ms-user-select: none;
    -o-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    pointer-events: none;
    position: relative;
    text-size-adjust: none;
    user-select: none;
    z-index: 2147483641;
}

.ath-modal {
    background: rgba(0, 0, 0, 0.6);
    pointer-events: auto !important;
}

.ath-mandatory { background: #000; }

.ath-container {
    background: #eee;
    background-size: 100% auto;
    box-shadow: 0 0.2em 0 #d1d1d1;
    font-family: sans-serif;
    font-size: 15px;

    line-height: 1.5em;
    padding: 0.7em 0.6em;

    pointer-events: auto !important;

    position: absolute;
    text-align: center;
    width: 18em;
    z-index: 2147483641;
}

.ath-container small {
    display: block;
    font-size: 0.8em;
    line-height: 1.3em;
    margin-top: 0.5em;
}

.ath-ios.ath-phone {
    bottom: 1.8em;
    left: 50%;
    margin-left: -9em;
}

.ath-ios6.ath-tablet {
    left: 5em;
    top: 1.8em;
}

.ath-ios7.ath-tablet {
    left: 0.7em;
    top: 1.8em;
}

.ath-ios8.ath-tablet,
.ath-ios9.ath-tablet,
.ath-ios10.ath-tablet {
    right: 0.4em;
    top: 1.8em;
}

.ath-android {
    bottom: 1.8em;
    left: 50%;
    margin-left: -9em;
}

/* close icon */

.ath-container:before {
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url('https://coreperformance.corerewards.com/scripts/addtohome/images/close.png');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 50%;
    color: #a33;
    content: '';
    display: block;
    float: right;
    height: 2.7em;
    margin: -0.7em -0.6em 0 0.5em;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 2.7em;
    z-index: 2147483642;
}

.ath-container.ath-icon:before {
    float: none;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.ath-mandatory .ath-container:before { display: none; }

.ath-container.ath-android:before {
    float: left;
    margin: -0.7em 0.5em 0 -0.6em;
}

.ath-container.ath-android.ath-icon:before {
    float: none;
    left: 0;
    margin: 0;
    position: absolute;
    right: auto;
}


/* applied only if the application icon is shown */

.ath-container.ath-icon { }

.ath-action-icon {
    background-position: 50%;
    background-repeat: no-repeat;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999em;
    vertical-align: middle;
}

.ath-ios7 .ath-action-icon,
.ath-ios8 .ath-action-icon,
.ath-ios9 .ath-action-icon,
.ath-ios10 .ath-action-icon,
.ath-ios11 .ath-action-icon,
.ath-ios12 .ath-action-icon,
.ath-ios13 .ath-action-icon,
.ath-ios14 .ath-action-icon,
.ath-ios15 .ath-action-icon,
.ath-ios16 .ath-action-icon,
.ath-ios17 .ath-action-icon,
.ath-ios18 .ath-action-icon,
.ath-ios19 .ath-action-icon,
.ath-ios20 .ath-action-icon {
    background-image: url('https://coreperformance.corerewards.com/scripts/addtohome/images/upload.png');
    background-size: auto 100%;
    height: 1.6em;
    margin-top: -0.3em;
    width: 1.6em;
}

.ath-ios6 .ath-action-icon {
    background-image: url('https://coreperformance.corerewards.com/scripts/addtohome/images/share.png');
    background-size: 100% auto;
    height: 1.8em;
    margin-bottom: 0.4em;
    width: 1.8em;
}

.ath-android .ath-action-icon {
    background-image: url('https://coreperformance.corerewards.com/scripts/addtohome/images/dots.png');
    background-size: 100% auto;
    height: 1.5em;
    width: 1.4em;
}

.ath-container p {
    font-size: 1.1em;
    margin: 0;
    padding: 0;
    position: relative;
    text-shadow: 0 0.1em 0 #fff;
    z-index: 2147483642;
}

.ath-ios.ath-phone:after {
    -webkit-transform: scaleX(0.9) rotate(45deg);
    background: #eee;
    bottom: -0.9em;
    box-shadow: 0.2em 0.2em 0 #d1d1d1;
    content: '';
    height: 2em;
    left: 50%;
    margin-left: -1em;
    position: absolute;
    transform: scaleX(0.9) rotate(45deg);
    width: 2em;
}

.ath-ios.ath-tablet:after {
    -webkit-transform: scaleX(0.9) rotate(45deg);
    background: #eee;
    content: '';
    height: 2em;
    left: 50%;
    margin-left: -1em;
    position: absolute;
    top: -0.9em;
    transform: scaleX(0.9) rotate(45deg);
    width: 2em;
    z-index: 2147483641;
}

.ath-application-icon {
    border: 0;
    height: 6em;
    margin: 0 auto 0.2em auto;
    padding: 0;
    position: relative;
    width: 6em;
    z-index: 2147483642;
}

.ath-container.ath-ios .ath-application-icon {
    border-radius: 1em;
    box-shadow: 0 0.2em 0.4em rgba(0, 0, 0, 0.3),
                inset 0 0.07em 0 rgba(255, 255, 255, 0.5);
    margin: 0 auto 0.4em auto;
}

@media only screen and (orientation: landscape) {
    .ath-container.ath-phone { width: 24em; }

    .ath-android.ath-phone { margin-left: -12em; }

    .ath-ios.ath-phone { margin-left: -12em; }

    .ath-ios6:after { left: 39%; }

    .ath-ios8.ath-phone {
        bottom: auto;
        left: auto;
        right: 0.4em;
        top: 1.8em;
    }

    .ath-ios8.ath-phone:after {
        bottom: auto;
        box-shadow: none;
        left: 68%;
        top: -0.9em;
        z-index: 2147483641;
    }
}