/* Layout only: the popup takes its colors from .container_mask / .alert_popup / .action,
   all defined in theme.css. The badges bring their own — they are brand artwork and must
   not be recolored. */

#store_ad_container{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 5000;
}

#store_ad{
    position: relative;
    width: 85%;
    max-width: 460px;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: auto;
    padding: 15px 5px 5px 5px;
    box-sizing: border-box;
    border-radius: 15px;
}

.store_ad_title, .store_ad_free{
    font-weight: bold;
}

.store_ad_title{
    padding-bottom: 10px;
}

.store_ad_message{
    padding: 0 15px 15px 15px;
}

.store_ad_free{
    padding: 5px 15px 0 15px;
}

/* Not a button: going to the stores is what the popup is for, carrying on on the web is
   just the way out. */
.store_ad_link{
    display: inline-block;
    text-decoration: underline;
    cursor: pointer;
}

.store_ad_badges{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}

.store_ad_badge{
    display: inline-block;
    cursor: pointer;
}

/* The two badges are sized so that the buttons themselves match: the Google asset carries
   its required clear space inside the image, the Apple one does not, so the same rendered
   height would leave Google visibly smaller. */
#store_ad_google img{
    height: 60px;
}

#store_ad_apple img{
    height: 40px;
    margin: 0 10px;
}
