*:focus:not(.focus-visible) {outline: 0 !important;}

html, body {
    touch-action: manipulation;
}

body {
    overflow-x: hidden;
    margin: 0;
}

h1, h3 {
    font-family: 'Ovo', serif;
    font-weight: 300;
}

h1 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.1em;
    font-weight: bold;
}

h4 {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

button {
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 2px;
    height: 65px;
    min-width: 250px;
    padding: 0 40px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    color: white;
    background-color: #b39927;

    -webkit-transition: box-shadow .1s ease-out;
    -moz-transition: box-shadow .1s ease-out;
    -ms-transition: box-shadow .1s ease-out;
    -o-transition: box-shadow .1s ease-out;
    transition: box-shadow .1s ease-out;
}

button:hover {
    background-color: #a18a23;
}

button:active, button:focus {
    outline: 0;
}

button:active {
    box-shadow: 3px 6px 12px rgba(0, 0, 0, .25);
}

.button-group {
    width: 300px;
    margin: auto;
}

hr {
    width: 50%;
}

a {
    color: #b39927;
    text-decoration-color: #b39927;
    cursor: pointer;
}

a:focus{
    outline:none;
}

a:visited {
    color: #a18a23;
    text-decoration-color: #a18a23;
}

.primary-button[type=submit]{
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 2px;
    height: 65px;
    padding: 0 40px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    color: white;
    background-color: #b39927;
}

.primary-button:hover{
    background-color: #a18a23;
    border-color: #a18a23;
}

.primary-button:focus{
    outline:0;
}

.secondary-button{
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 2px;
    height: 65px;
    color: #555;
    background-color: white;
    border-color: #ddd;
    border-style: 1px;
    border-width: 1px;
    border-radius: 50px;
    box-shadow: 1px 1px 10px #eee;
}

.secondary-button:hover{
    background-color: #eeeeee;
}

.secondary-button:active{
    border-width:0;
}

.secondary-button:focus{
    outline:0;
}

/*  */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fadein {
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -ms-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

/*  */

.headline {
    width: 90%;
    margin: auto;
}

.subheadline {
    width: 90%;
    margin: auto;
}

.subtext {
    display: block;
    width: 90%;
    margin: auto;
    color: #555;
}

.logo {
    z-index: 5;
    margin: 1em auto;
    width: 2em;
}

.hero {
    width: 150%;
    margin-left: -25%;
}

.social-links {
    list-style: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.social-links a {
    display: block;
    box-sizing: border-box;
    height: 65px;
    width: 300px;
    padding: 20px;
    margin: 10px auto;
    text-align: center;
    color: white;
    font-size: 1em;
    text-decoration: none;
    border-radius: 50px;
}

#mce-EMAIL{
    display: inline-block;
    width: 90%;
    max-width: 350px;
    height: 65px;
    padding: 15px;
    font-family: 'Ovo', serif;
    font-size: 1.2em;
    margin: 2em auto 1em auto;
}

#mc-embedded-subscribe[type=submit] {
    margin-top: -3px;
    display: inline-block;
}

/* Landing */

.landing-background:before {
    z-index: -5;
    background-color: white;
    content: '';
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.landing-section {
    margin-top: 2em;
    margin-bottom: 0em;
}

.landing-section p{
    text-align: left;
    margin-left: 10%;
    width: 80%;
}

.landing-section button{
    width: 90%;
    max-width: 350px;
    background-image: url("../assets/prayercards/goldfoil.jpg");
    background-position: center;
    color: white;
    border: none;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .25)
}

.mobile-gradient {
    position: absolute;
    top: 0;
    left: 0;
    height:100px;
    width:calc(100% + 2em);
    background: none;
    background: -moz-linear-gradient(bottom,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%);
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,rgba(255,255,255,0)), color-stop(80%,rgba(255,255,255,1)));
    background: -webkit-linear-gradient(bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
    background: -o-linear-gradient(bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
    background: -ms-linear-gradient(bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
    background: linear-gradient(to top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.mobile-hero{
    position: relative;
    margin-bottom: -90px;
}

.mobile-hero img{
    width: 125%;
    margin-left:calc(-25% + 1em);
}

.blueprint-section {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    width: 120%;
    margin-left: -10%;
    padding: 10em 0 5em 0;
    background-color: #f5f5f5;
    text-align: center;
}

.blueprint-section .blueprint-text{
    display: block;
    margin: 10px auto;
    width: 70%;
}

.blueprint-section img {
    display: block;
    width: 50%;
    margin: 2em auto 0 auto;
    max-width: 450px;
}

.product-section {
    padding-top: 4em;
    background-color: white;
    width: 120%;
    min-height: 200px;
    margin-left: -10%;
    margin-top: -5px;
}

.product-section .shopify-product-set {
    text-align: center;
    display: inline-block !important;
}

/* Content */

.content-paragraph {
    width: 90%;
    margin: 2em auto;
    text-align: left;
    hyphens:none;
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
}

.content-paragraph p b {
    display: block;
    text-align: center;
    letter-spacing: 2px;
}

.content-graphic {
    width: 100%;
    border-radius: 3px;
    -webkit-filter: opacity(.8);
	filter: opacity(.8);
}

.subscription-interrupt {
    text-align: center;
    padding: 2em 2em 4em 2em;
    background-color: #fafafa;
    border-radius: 3px;
}

/* Footer */

footer {
    width: 100%;
    display: inline-block;
    margin: 0;
    height: 60px;
    background-color: #333;
    font-family: 'Lato', sans-serif;
}
footer .copyright {
    width: 100%;
    float: left;
}

footer .copyright p {
    margin: 0;
    font-size: 0.9em;
    line-height: 60px;
    letter-spacing: 1px;
    color: white;
    text-align: center;
    font-family: 'Ovo', serif;
    padding: 0;
}

/* Rosary */

#opening {
    margin-top: 5%;
}

.logo.rosary {
    margin: 2em auto 2em auto;
    width: 3em;
}

body .rosary-content {
    padding-top: 0;
    padding-bottom: 1em;
    min-height: calc(100% - 269px - 7em);
}

.rosary-select {
    padding: 0;
    margin: auto;
    border: 1px solid #ccc;
    width: 270px;
    padding-left: 10px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #fff;
}

.rosary-select select {
    padding: 10px 10px;
    width: 130%;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    font-weight: 700;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.rosary-select select:focus {
    outline: none;
}

.rosary-nav {
    text-align: center;
    padding: 1em .5em 0 .5em;
}

.rosary-nav #nav-our-father, #nav-our-father-1{
    font-size: 3em;
    vertical-align: middle;
    padding: 5px;
    color: #AAA;
}

.rosary-nav .nav-hail-mary{
    font-size: 1.5em;
    vertical-align: middle;
    padding: 5px;
    color: #AAA;
}

#rosary-controls {
    padding-bottom: 1em;
}

#rosary-controls i {
    color: #555;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

.rosary-graphic {
    width: 100%;
    border-radius: 3px;
    -webkit-filter: opacity(.8);
	filter: opacity(.8);
}

.rosary-mystery-graphic {
    max-height: 300px;
    border-radius: 8px;
    -webkit-filter: opacity(.8);
	filter: opacity(.8);
}

.primary-button.rosary-primary {
    width: 220px;
    padding: 20px;
}

.rosary-secondary {
    width: 120px;
}

[large-only] {
    display: none;
}


/* MEDIA QUERIES */
@media screen and (min-width: 760px){
    h1 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.25em;
    }

    .headline {
        width: 50%;
    }

    .subheadline {
        width: 50%;
    }

    .logo {
        margin: 3em auto 1em auto;
    }

    .hero {
        width: 110%;
        margin-left: -5%;
    }

    .landing-section p{
        text-align: left;
        margin-left: 25%;
        width: 50%;
    }

    .blueprint-section .blueprint-text{
        width: 50%;
        margin-bottom: 4em;
    }
    
    .content-graphic {
        width: 180%;
        margin-left: -40%;
    }

    #mce-EMAIL{
        margin: 1em auto;
    }

    .content-paragraph {
        width: 35%;
    }

    .subscription-interrupt {
        width: 180%;
        margin-left: -40%;
    }

    footer .copyright {
        width: 75%;
    }

    footer .copyright p {
        text-align: left;
        padding-left: 10%;
    }

    footer .social {
        width: 25%;
    }

    #mc-embedded-subscribe[type=submit]{
        margin-left: 5px;
    }

    .product-section [small-only] {
        display: none;
    }
}

@media screen and (min-width: 1100px){
    .landing-background:before {
        background: url("../assets/prayercards/CardsBackground_opt.jpg") no-repeat center center fixed;
        background-size: auto 110%;
    }

    .logo {
        width: 3em;
    }

    #modal {
        top: 10%;
        left: 15%;
        width: 70%;
        padding: 2em 4em;
    }

    .logo.fixed{
        margin-left: -1em;
        position: fixed;
        z-index: -1;
    }

    .landing-section {
        margin-left: 10%;
        margin-top: 14em;
        margin-bottom: 10em;
        text-align: left;
    }

    .landing-section p{
        margin-left: 0;
        width: 80%;
        max-width: 370px;
    }

    .landing-section h1{
        margin-top: 2em;
    }

    .mobile-hero{
        display: none;
    }

    .blueprint-section {
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
        width: 120%;
        margin-left: -10%;
        padding: 15em 20% 5em 20%;
        background-color: #f5f5f5;
        text-align: left;
    }
    
    .blueprint-section .blueprint-text{
        display: inline-block;
        vertical-align: top;
        margin: 200px 5% 0 5%;
        width: 25%;
        max-width: 450px;
    }
    
    .blueprint-section img {
        display: inline-block;
        width: 400px;
        margin: 0 5%;
    }
}

/*  */

[main-content] {
    padding: 1em 1em 0 1em;
    line-height: 1.5;
    color: #333;
    text-align: center;
    font-family: 'Ovo', serif;
    overflow-x: hidden;
}

[align-left] {
    text-align: left;
}

[align-right] {
    text-align: right;
}

[align-center] {
    text-align: center;
}

[float-right] {
    float: right;
}

[block] {
    display: block;
}

[fill] {
    width: 100%;
}

[tab] {
    white-space: pre;
}

[drop-cap] {
    color: #b39927;
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: 8px;
    padding-right: 10px;
    padding-left: 2px;
}

[all-caps] {
    text-transform: uppercase;
}

[no-wrap] {
    white-space: nowrap;
}

[no-hyphens] {
    hyphens: none;
}

[title-case] {
    text-transform: capitalize;
}

[mt-0] {
    margin-top: 0;
}

[mt-1-2] {
    margin-top: .5em;
}

[mt-1] {
    margin-top: 1em;
}

[mt-2] {
    margin-top: 2em;
}

[mt-3] {
    margin-top: 3em;
}

[mt-4] {
    margin-top: 4em;
}

[mb-0] {
    margin-bottom: 0;
}

[mb-1-2] {
    margin-bottom: .5em;
}

[mb-1] {
    margin-bottom: 1em;
}

[mb-2] {
    margin-bottom: 2em;
}

[mb-3] {
    margin-bottom: 3em;
}

[mb-4] {
    margin-bottom: 4em;
}

[pointer] {
    cursor: pointer;
}

/*  */