* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    cursor: default;
}

html, body {
    height: 100%;
}

#padding, #bottomRow {
    /* Hide until we've replaced the placeholder text with localized text */
    visibility: hidden;
}

body {
    margin: 0px;

    zoom: 100% !important;

    background-attachment: fixed;
    background-position: center bottom;
    background-size: cover;

    font-family: ".AppleSystemUIFont", sans-serif;
    font-size: 16px;
    color: hsla(0, 0%, 35%, 1.0);
    -webkit-user-select: none;
}

#topBorder {
    display: none;
    background-color: hsla(144, 100%, 69%, 1.0);
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 40%, 0% 0%);
    margin: 0px 0px 20px 0px;
}

a {
    color: hsla(140, 100%, 42.7%, 1.0);
}

a:hover, a:focus {
    color: hsla(0, 0%, 28.6%, 1.0);
}

#padding {
    margin: 0px;
    padding: 0px 12px 130px;
}

#pageTitle {
    width: 100%;
    text-align: left;
    font-weight: regular;
    color: hsla(144, 100%, 40%, 1.0);
    font-size: 20px;
    margin: 0px 0px 10px 0px;
}

#pageTitle img {
    display: none;
    height: 48px;
    margin: 0 10px 0 10px;
    vertical-align: middle;
}

#loadingBlock {
    position: fixed;
    height: 80%;
    width: 100%;
    left: 0px;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#productsBlock {
    position: relative;
    display: none;
    margin: 0px;
    padding: 0px;
    left: 0px;
    right: 0px;
}



/* Button Stuff */

#bottomRow {
    position: fixed;
    margin: 0px;
    left: 0px; right: 0px;
    bottom: 0px;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    overflow: auto;
    color: hsla(0, 0%, 75%, 1.0);
    background: #F9F9F9;
    box-shadow: 0px 10px 5px 10px grey;
}

#bottomRow::after {
    content: "";
    clear: both;
    display: table;
}

#bottomRow > * {
    color: hsla(0, 0%, 40%, 0.5);
    padding: 5px 20px;
    border-radius: 2px;
    font-size: 18px;
    border: 0.25px solid hsla(0, 0%, 50%, 0.5);
    background-color: hsla(0, 0%, 40%, 0.1);
    font-weight: bold;
    width: 100%;
    margin: 5px 0px;
}

#restorePurchaseAction {
    float: left;
}

#buyNowAction {
    float: right;
}

.actionBlock > .enabled {
    background: linear-gradient(hsla(0, 0%, 100%, 1.0), hsla(40, 9%, 87%, 1.0)) !important;
    color: hsla(0, 0%, 19%, 1.0) !important;
}

.actionBlock > .enabled:hover {
    cursor: pointer;
}

.actionBlock > .enabled:hover {
    background: linear-gradient(hsla(0, 0%, 100%, 1.0), hsla(40, 9%, 77%, 1.0)) !important;
}

.actionBlock {
    text-align: center;
    margin: 10px;
    font-size: 18px;
}

#checkForDiscountAction {
    display: inline-block;
    color: hsla(0, 0%, 28.6%, 1.0);
    background-color: hsla(0, 0%, 100%, 0.8);
    border-radius: 2px;
    font-size: 10pt;
    margin: 0px;
    bottom: 0px;
    padding: 5px 20px;
    border: 0.25px solid hsla(0, 0%, 40%, 0.5);
    text-decoration: none;
}

#checkForDiscountAction:hover {
    background-color: hsla(0, 0%, 100%, 0.6);
}

/* purchased things */
.purchased {
    color: hsla(0, 0%, 50%, 1.0) !important;
    background-color: hsla(0, 0%, 75%, 0.5) !important;
    border-color: transparent !important;
}
/* Fade Learn More Links */
.purchased a {
    color: hsla(0, 0%, 60%, 1.0);
}


#trialBlock, #standardBlock, #proBlock, #discountBlock {
    position: relative;
    margin: 10px 0px;
    padding: 5px 20px;
    clear: both;
}

/*Selectable Things Default */
#productsBlock > div {
    border: 2px solid hsla(143, 9.1%, 90.2%, 1.0);
    background: hsla(0, 0%, 100%, 0.8);
    border-radius: 5px;
}

/* Selectable Things Hover */

#productsBlock > div:hover, #productsBlock > div:focus {
    border-color: transparent;
    background-color: hsla(144, 100%, 81.6%, 0.5);
}
#productsBlock > div:hover {
	cursor: pointer;
}

/* Selected item */
#productsBlock > div.buythis {
    background-color: hsla(144, 100%, 81.6%, 0.5);
    border: 2px solid hsla(144, 100%, 40%, 1.0);
}

.label {
    font-size: 16px;
    font-weight: bold;
}

#trialLabel, #standardLabel, #proLabel { margin: 10px; }
#trialPrice, #standardPrice, #proPrice {
    float: right;
    top: 5px;
    margin: 10px;
    text-align: right;
    font-weight: bold;
}

#trialDescription, #standardDescription, #standardLearnMore, #proDescription, #proLearnMore {
    font-size: 12px;
    text-align: left;
    margin: 10px;
}

#discountBlock {
    display: none;
    font-size: 14px;
    text-align: left;
    margin: 0px 0px;
    padding: 0.1px 30px;

    background-color: hsla(0, 0%, 0%, 0.05);
    border-radius: 5px;
}

#discountBlock::after {
    content: "";
    clear: both;
    display: table;
}

#getDiscountBlock {
    margin: 0px;
    padding: 0px;
    width: 100%;
}

#discountBlock .label {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

#verifyDiscountBlock {
    padding: 0px;
    margin: 0px;
}

#gotDiscountBlock {
    position: relative;
    padding: 0px;
    top: 0px; bottom: 0px; left: 0px; right: 0px;
}

#verifyLearnMore {
    float: left;
    margin: 10px 0px;
}
#verifyPreviousApp {
    float: right;
    margin: 10px 0px;
}

#targetListPrice, #standardListPrice, #proListPrice {
    color: hsla(0, 0%, 66.7%, 1.0);
    text-decoration: line-through;
    display: none;
}

@media only screen and (min-width: 600px) {
    #topBorder {
        height: 50px;
        margin: 0px 0px 35px 0px;
    }

    body {
        font-size: 20px;
    }

    .label {
        font-size: 20px;
        font-weight: bold;
    }

    #padding {
        padding: 0px 72px 105px;
    }

    #pageTitle {
        font-size: 35px;
    }

    #trialDescription, #standardDescription, #standardLearnMore, #proDescription, #proLearnMore {
        font-size: 14px;
    }

    #bottomRow {
        padding-left: 52px;
        padding-right: 52px;
    }

    #bottomRow > * {
        width: auto;
    }
}
