@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,600,400);


html,body {
    font-family: 'Open Sans', sans-serif;
}

body {
	background-color: #fff;
}

html.lt-ie9 figure.QR {
    display: none;
}
img.fullbg {
    display: none;
}

figure {
    margin: 0px;
}

article.promo {
    display: block;
    overflow: hidden;
    height: 900px;
    background: #ffffff url("../img/splashbg4.png") no-repeat center center;
    background-size: cover;
    margin: 0px;
    position: relative;
}

article.promo .content {
    min-width: 1024px;
    max-width: 1200px;
    height: 100%;
    margin: 0px auto;
    overflow: hidden;
}

article.promo figure.preview {
    width: 600px;
    height: 100%;
    margin-right: -100px;
    position: relative;
    float: left;
}

article.promo figure.preview .frame {
    width: 600px;
    height: 100%;
    background: rgba(0,0,0,0) url("../img/iphoneframe4.png") no-repeat left bottom;
    position: absolute;
    bottom: -66px;
    left: 0px;
    background-position-x: -79px;
    pointer-events: none;
}

article.promo figure.preview .screenshot {
    position: absolute;
    bottom: 89px;
    margin-left: 213px;
    padding: 5px 4px;
    background-color: #000000;
    background-size: 297px 528px;
    width: 297px;
    height: 528px;
}

article.promo figure.preview .screenshot img {
    width: 297px;
    height: 528px;
}

article.promo figure.preview .screenshot iframe {
    width: 320px;
    height: 569px;
    border: none;
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 5px !important;
    transform: scale( 0.93, 0.93 );
    transform-origin: top left;
}

article.promo main {
    width: auto;
    height: 767px; 
    margin: 0px;
    margin-top: 133px;
}

article.promo main header.apptitle {
    overflow: hidden;
    line-height: 75px;
    margin: 5vh 0vw 4vh 0vw;
}

article.promo main header.apptitle img {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    float: left;
}

article.promo main header.apptitle h1 {
    float: left;
    font-size: 48px;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0px;
    margin-left: 2vw;
    max-width: 450px;
    word-wrap: break-word;
}

article.promo main header.apptitle h1.longtitle {
    font-size: 30px;
}

article.promo main header.apptitle h1.longtitle.l55 {
    font-size: 30px;
    line-height: 40px;
    margin-top: 0px;
}

article.promo main header.apptitle h1.longtitle.l90 {
    font-size: 16px;
    line-height: 30px;
    margin-top: 10px;
}

main section.appstores {
    width: 445px;
    margin: 0px auto 0px auto;
}

section.appstores section {
    clear: both;
    overflow: hidden;
    margin: 0px auto;
    height: 152px;
    width: 445px;
    margin-bottom: 15px;
    text-align: center;
}

article.promo main section.appstores header { 
    height: 50px;
    line-height: normal;
    margin: 0px;
    text-align: right;
    padding-right: 60px;
}

article.promo main section.appstores header img {
    float: none;
}

main section.appstores section figure {
/*     float: left; */
    background-color: white;
    width: 135px;
    height: 130px;
    margin-right: 15px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

main section.appstores section figure p {
    margin: 0px;
}

main section.appstores section figure figcaption {
    font-weight: 300;
    font-size: 13px;
}

main section.appstores section figure figcaption a {
    color: #33AADA;
    font-weight: 300;
    font-size: 20px;
    text-decoration: none;
}

main section.appstores section figure.clickable {
    box-shadow: 0px 5px rgba(0, 0, 0, 0.30);
    text-align: center;
}

main section.appstores section figure.clickable.hover,
main section.appstores section figure.clickable figcaption:hover,
main section.appstores section figure.clickable p:hover,
main section.appstores section figure.clickable a:hover,
main section.appstores section figure.clickable.hover a,
main section.appstores section figure.clickable img:hover {
    cursor: pointer;
}

#facebook-feed {
	cursor: pointer;
    margin-right: 10px;
}

main section.appstores section figure.clickable.hover a,
main section.appstores section figure.clickable a:hover {
    color: #77A60D;
}

main section.appstores section figure.clickable img {
    margin: 15px auto;
}

main section.appstores section figure.clickable img[src*="play"] {
    margin: 20px auto 15px auto;
}

main section.appstores section figure.clickable img.hover {
    display:none;
}

main section.appstores section figure.clickable.hover img.default {
    display: none;
}

main section.appstores section figure.clickable.hover img.hover {
    display: block;
}

main section.appstores section figure.clickable.active {
    box-shadow: 0px -2px rgba(0,0,0,0.30);
    position: relative;
    top: 3px;
}

main section.appstores section figure.QR {
    margin-right: 0px;
	background-position: center;
	background-repeat: no-repeat;
}

section.appstores footer {
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.25);
    overflow: none;
}

section.appstores footer input {
    line-height: 35px;
}

section.appstores footer input[type="text"] {
    width: 300px;
    float: left;
    font-size: 14px;
    padding-left: 10px;
    height: 35px;
}

section.appstores footer input[type="submit"] {
    width: 100px;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    background-color: #77A60D;
    font-size: 14px;
    color: white;
    letter-spacing: 1px;
    float: right;
}

section.appstores footer input[type="submit"]:hover {
    cursor: pointer;
}

main footer.shares {
/* 
    position: absolute;
    bottom: 0px;
    right: 0px;
 */
    width: 100%;
    position: absolute;
    bottom: 0px;
}

main footer.shares .inner {
    width: 445px;
    margin: 0px auto 80px auto;
/*     margin: 0px auto 110px auto; */
}

main footer.shares .buttons {
    width: 290px;
    margin: 0px 0px 0px auto;
}

main footer.shares .buttons a {
    display: inline-block;
    margin-right: 10px;
}

main footer.shares .buttons a.final {
    margin-right: 0px;
}

main footer.shares .sharepoint {
    width: 160px;
    margin-left: 12%;
    margin-bottom: 20px;
}

main footer.shares .sharepoint img.final {
    position: relative;
    top: 5px;
}

/**
 * Network-specific button CSS
 */
main footer.shares .buttons a[data-pin-log="button_pinit_bookmarklet"] {
    background: none !important;
    height: 46px !important;
    width: 46px !important;
    vertical-align: bottom !important;
    position: initial!important;
    background-image: url("../img/pinterest.png")!important;
}

article.description {
    overflow: auto;
    background-color: #F7F9F2;
    line-height: 20px;
    font-size: 14px;
    color: #7E7E7E;
}

article.description div.wrap {
    overflow: auto;
    margin: 15px auto;
    max-width: 800px;
}

article.description h1,
article.description h2,
article.description h3 {
    color: #77A60D;
    text-transform: uppercase;
    font-weight: 400;
    margin: 30px 0px;
    letter-spacing: 2px;
}

article.description h1 {
    font-size: 22px;
}

article.description h2 {
    font-size: 18px;
}

footer.main {
    margin: 0px auto;
    padding: 50px 0px;
    text-align: center;
}

footer.main .footerInner {
    position: relative;
}

footer.main .likebutton {
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    vertical-align: top;
}

footer.main .likebutton header {
    background-color: white;
    border-radius: 2px;
    line-height: 30px;
}

footer.main .likebutton p {
    margin: 0px;
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
    left: -1px;
    color: white;
}

footer.main .likebutton:last-child {
    margin-right: 0px;
}

footer.main .likebutton.twitter iframe {
    display: inline-block;
    vertical-align: bottom;
}

footer.main section.likes {
    text-align: center;
    width: 385px;
    margin: 0px auto;
    background: #FFFFFF url("../img/likeit.png") no-repeat top left;
    min-height: 56px;
}

footer.main section.providerLink {
    position: absolute;
    top: 0px;
    right: 0px;
}

footer.main .providerLink a {
    display: block;
    height: 60px;
    margin-right: 50px;
}

footer.main .providerLink a img {
    height: 60px;
}

.pluginCountBoxIcon.img.sp_plugin-button {
    display: none;
}

@media all and (min-width: 1131px) {
    @-moz-document url-prefix() {

        article.promo figure.preview .frame {
            background-position: -77px 128px;
        }

    }
}

/**
 * MOBILE SIMULATION STYLE
 */
 
article.promo.simulation {
    height: auto;
}

article.promo.simulation figure.preview {
    margin-right: 0px;
    width: 100%;
    overflow: auto;
}

article.promo.simulation figure.preview .frame {
    background-image: none;
    height: auto;
}

article.promo.simulation figure.preview .screenshot {
    margin-left: 0px;
    width: 764px;
    height: 1024px;
    bottom: auto;
    position: relative;
    margin: 40px auto;
    overflow: hidden;
}

article.promo.simulation figure.preview .screenshot iframe {
    width: 768px;
    height: 1024px;
    border: none;
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 5px !important;
    transform: scale( 1.44, 1.44 );
    transform-origin: top left;
}


/**
 * Shrunk down desktop. Maybe a normal slightly smaller desktop...
 */
@media all and (max-width: 1130px) {
    
    article.promo {
        height: 850px;
    }
    
    article.promo figure.preview {
        width: 500px;
    }
    
    article.promo figure.preview .screenshot {
        bottom: 115px;
        margin-left: 217px;
        height: 396px;
        width: 223px;
        background-size: 223px 396px;
    }
    
    article.promo figure.preview .screenshot img {
        height: 396px;
        width: 223px;
    }
    
    article.promo figure.preview .screenshot iframe {
        transform: scale( 0.69, 0.69 );
        transform-origin: top left;
    }
    
    article.promo figure.preview .frame {
        width: 510px;
        bottom: 0px;
        left: 0px;
        background-position-x: 0px;
        background-size: 541px 578px;
    }
    
    article.promo main {
        height: 700px;
        margin-top: 165px;
    }
    
    article.promo main header.apptitle h1 {
    	max-width: 410px;
    }
    
	article.promo main header.apptitle h1.longtitle.l55 {
		font-size: 26px;
		line-height: 40px;
		margin-top: 0px;
	}
    
    main footer.shares .inner {
        width: 415px;
        margin: 0px auto 60px auto;
    }
    
    main section.appstores {
        width: 415px;
    }
    
    section.appstores section {
        height: 130px;
        width: 415px;
    }
    
    main section.appstores section figure {
        width: 125px;
        height: 120px;
        line-height: 20px;
    }
    
    section.appstores footer input[type="text"] {
        width: 265px;
    }
    
	.intl_tel_input_style {
		width: 280px;
	}
    
    main section.appstores section figure.QR canvas {
        width: 120px;
        height: 120px;
    }

}



/**
 * Shrunk down desktop.
 * Laptop size screens?
 */
@media all and (max-width: 1025px) {

    article.promo {
        height: 820px;
    }
    
    article.promo main {
        height: 670px;
        margin-top: 130px;
    }
    
    article.promo figure.preview .screenshot {
        bottom: 95px;
        margin-left: 153px;
    }
    
    article.promo figure.preview .frame {
        bottom: -20px;
        left: -65px;
    }
    
    main footer.shares .inner {
        margin: 0px auto 35px auto;
    }

}

@media all and (min-width: 951px) {

    article.promo figure.preview {
        position: relative;
        float: left;
    }
    
    article.promo main {
        position: relative;
        float: right;
        margin-right: 5%;
    }

}

@media all and (max-width: 950px) {

    article.promo {
        height: auto;
    }
    
    article.promo .content {
        min-width: 0px;
    }
    
    article.promo main,
    article.promo figure.preview {
        float: none;
        margin: 0px auto;
    }
    
    article.promo main {
        margin-top: 75px;
        margin-bottom: 50px;
        width: 515px;
        height: 540px;
    }
    
    article.promo main header.apptitle h1 {
/*         width: auto; */
        font-size: 42px;
        line-height: 55px;
    }
    
    main section.appstores {
        width: 415px;
    }
    
    section.appstores section {
        width: 415px;
    }
    
    article.promo:not(.simulation) figure.preview {
        width: 480px;
        overflow: visible;
        height: 580px;
    }
    
    article.promo figure.preview .screenshot {
        bottom: 114px;
        margin-left: 134px;
    }
    
    article.promo figure.preview .frame {
        bottom: 0px;
        left: -83px;
        width: 510px;
        height: 578px;
    }
    
    main footer.shares {
        position: relative;
        margin-top: 20px;
    }
    
    main footer.shares .inner {
        margin: 0px auto 35px auto;
    }
    
    main footer.shares .buttons {
        width: 100%;
        text-align: center;
    }
    
    main footer.shares .sharepoint {
        margin-left: 0px;
    }
    
    article.description div.wrap {
        width: auto;
        margin: 15px 40px;
    }
    
    footer.main {
        height: 95px;
        background-position: center bottom 20px;
    }
    
    footer.main section.providerLink {
        position: relative;
    }
    
    footer.main section.providerLink a {
        margin: 60px 0px;
    }

}

@media all and (max-width: 500px) {

    article.promo figure.preview {
        width: 360px;
        height: 380px;
    }
    
    article.promo figure.preview .frame {
        background-size: 360px 385px;
        left: -35px;
    }
    
    article.promo figure.preview .screenshot {
        margin-left: 107px;
        bottom: 75px;
        width: 149px;
        height: 264px;
        background-size: 149px 264px;
    }
    
    article.promo figure.preview .screenshot img {
        width: 149px;
        height: 264px;
    }
    
    article.promo figure.preview .screenshot iframe {
        transform: scale( 0.46, 0.46 );
        transform-origin: top left;
    }
    
    article.promo main header.apptitle h1 {
        width: auto;
        max-width: 295px;
        font-size: 32px;
        line-height: 40px;
    }
    
    article.promo main,
    main section.appstores,
    section.appstores section,
    main footer.shares .inner,
    article.promo main header {
        width: 385px;
    }
    
    section.appstores section {
        height: 113px;
    }
    
    article.promo main section.appstores header {
        padding-right: 0px;
    }
    
    main section.appstores section figure {
        width: 100px;
        height: 90px;
        background-size: 95px;
        padding: 10px 5px;
    }
    
    main section.appstores section figure.clickable.apple img {
        width: 24px;
        height: 29px;
        margin: 10px auto;
    }
    
    main section.appstores section figure.clickable.google img {
        width: 23px;
        height: 26px;
        margin: 15px auto 10px auto;
    }
    
    main section.appstores section figure figcaption {
        font-size: 11px;
    }
    
    main section.appstores section figure figcaption a {
        font-size: 18px;
    }
    
    section.appstores footer input[type="text"] {
        width: 240px;
    }
    
	.intl_tel_input_style {
		width: 255px;
	}
    
    main section.appstores section figure.QR canvas {
        width: 100px;
        height: 100px;
    }
    
    footer.main section.likes {
        background: none;
        width: 275px;
	}

}

@media all and (max-width: 410px) {
    
    article.promo main header.apptitle h1 {
        width: auto;
        max-width: 250px;
        font-size: 28px;
        line-height: 40px;
    }
    
    article.promo main,
    main section.appstores,
    section.appstores section,
    main footer.shares .inner,
    article.promo main header {
        width: 340px;
    }
    
    section.appstores section {
        height: 90px;
    }
    
    article.promo main section.appstores header {
        padding-right: 0px;
    }
    
    main section.appstores section figure {
        width: 100px;
        height: 85px;
    }
    
    main section.appstores section figure.clickable.apple img {
        width: 16px;
        height: 19px;
        margin: 7px auto;
    }
    
    main section.appstores section figure.clickable.google img {
        width: 15px;
        height: 17px;
        margin: 10px auto 5px auto;
    }
    
    main section.appstores section figure.QR canvas {
        width: 85px;
        height: 85px;
    }
    
    section.appstores footer input[type="text"] {
        width: 195px;
    }
    
	.intl_tel_input_style {
		width: 210px;
	}
}

/**
 * Resizing for when we have the iPad simulator.
 */

@media all and (max-height: 1100px) {
    article.promo.simulation figure.preview .screenshot {
        width: 531px;
        height: 710px;
        margin: 20px auto;
    }
    
    article.promo.simulation figure.preview .screenshot iframe {
        transform: scale( 1, 1 );
        transform-origin: top left;
    }
}

@media all and (max-height: 780px) {
    article.promo.simulation figure.preview .screenshot {
        width: 409px;
        height: 548px;
        margin: 10px auto;
    }
    
    article.promo.simulation figure.preview .screenshot iframe {
        transform: scale( 0.77, 0.77 );
        transform-origin: top left;
    }
}

/**
 * IE 8 stuff...
 */
html.lt-ie9 article.promo,
html.lt-ie9 article.promo figure.preview .frame {
    background: none;
}

html.lt-ie9 img.fullbg {
    display: block;
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1152px;

    /* Set up proportionate scaling */
    width: 100%;
    height: auto;

    /* Set up positioning */
    position: absolute;
    top: 0;
    left: 0;
}

html.lt-ie9 article.promo figure.preview .screenshot {
    background-image: none;
}

html.lt-ie9 article.promo figure.preview .screenshot img {
    display: block;
}

@media screen and (max-width: 1152px) { /* Specific to this particular image */
    html.lt-ie9 img.fullbg {
        left: 50%;
        margin-left: -576px;   /* 50% */
    }
}
#pin-img:hover {
    cursor: hand;
    cursor: pointer;
}