/* Home Page */
body
{
    background: #fff;
}

ul.HomeGallery
{
    margin: 0;
    padding: 0;
}

ul.HomeGallery > li
{
    overflow: hidden;
    padding: 10px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

ul.HomeGallery > li > a > img
{
    float: left;
    margin-right: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

ul.HomeGallery > li > a:hover > img
{
    border-color: #0366d6;
}

a.HomeMore
{
    display: block;
    text-align: center;
    padding-left: 100px;
    font-size: 12px;
}

ul.HomeGallery.HomeHide > li + li + li + li
{
    display: none;
}

/* Sashes */

.typography h1
{
    font-size: 30px !important;
}

h1#bigger
{
    font-size: 60px !important;
    margin-bottom: 120px;
    margin-top: -10px;
    line-height: 1.3em;
}

p#intro
{
    line-height: 1.8em;
    margin-left: 0px;
}

/* #164 prevent Recipes menu overflow */
@media screen and (max-width: 800px)
{
    p#intro
    {
        font-size: 10px;
    }

    h1#trusted
    {
        font-size: 29px !important;
    }
}

img#hires
{
    float: right;
    position: relative;
    box-sizing: content-box;
    margin-top: -70px;
    margin-left: 10px;
    margin-bottom: 20px;
    margin-right: 0px;
    border: 0;
    z-index: 1;
    box-shadow: rgba(48, 48, 64, 0.2) 0px 12px 24px -5px, rgba(0, 0, 0, 0.2) 0px 6px 12px -8px;
}

video#demo
{
    box-shadow: rgba(48, 48, 64, 0.2) 0px 12px 24px -5px, rgba(0, 0, 0, 0.2) 0px 6px 12px -8px;
}

img#appexchange
{
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: rgba(48, 48, 64, 0.2) 0px 12px 24px -5px, rgba(0, 0, 0, 0.2) 0px 6px 12px -8px;
}

img#appexchange:hover
{
    outline: 2px dashed #036;
}

img#logos
{
    background: none;
    max-width: initial;
    border-radius: 0;
    border: 0;
    box-sizing: content-box;
    margin-left: 10px;
    margin-bottom: 20px;
}

img#ratings
{
    background: none;
    border: 0;
    box-sizing: content-box;
    margin-left: 110px;
    margin-bottom: 50px;
}

img#ratings {border-radius: 10px; outline: 2px dashed #fff;}
img#ratings:hover {outline: 2px dashed #036;}


/* deprecated */
table#logos
{
    text-align: center;
    vertical-align: middle;
    padding: 0 10px;
    border: 0;
    margin-top: -10px;
    margin-left: -30px;
}

table#logos tr td
{
    vertical-align: middle;
}

table#logos img
{
    /* -webkit-filter: grayscale(100%); */
    /* -moz-filter:    grayscale(100%); */
    /* -ms-filter:     grayscale(100%); */
    /* -o-filter:      grayscale(100%); */
    /* filter: gray;  */
    
    background: none;
    max-width: initial;
    border-radius: 0;
    border: 0;
    
}

div.editor_outer
{
    line-height: 0;
    box-shadow: rgba(48, 48, 64, 0.2) 0px 12px 24px -5px, rgba(0, 0, 0, 0.2) 0px 6px 12px -8px;
    background: #fff !important; /* no faded_motif on homepage */
}

div.editor_outer > textarea#editor
{
    resize: none;
    border-radius: 4px;
    border: 1px solid rgb(201, 201, 201);
}

img#debug
{
    position: relative;
    box-sizing: content-box;
    margin-top: -20px;
    margin-left: 50px;
    margin-bottom: 50px;
    border: 0;
    background: #fff;
    z-index: -3;
}

a#getstarted
{
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    padding: 0 16px 0 15px;
    line-height: 40px;
    color: rgb(255, 255, 255);
    background-color: rgb(1, 118, 211);
    background-image: linear-gradient(120deg, rgb(11, 128, 221), rgb(1, 108, 201));
}

a#getstarted:hover
{
    text-decoration: none;
    background: rgb(52, 93, 150);
}

p#native
{
    margin-top: -30px;
    position: absolute;
    left: 0;
    right: 0;
    background: rgb(245, 247, 249);
    z-index: -1;
    height: 103.2em;
}

p#examples + hr
{
    display: none;
}

#sashes
{
    margin-top: -40px;
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0.5;
    height: 260px;
    z-index: -1;
    background: linear-gradient(150deg, #69f 15%, #0595ff 70%, #a6dfeb 94%);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    transform: skewY(-3deg);
    transform-origin: 0;
    /* box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px 1px */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
#sashes span:nth-child(1) {opacity: 0.8; grid-column: span 1; background: #5af;}
#sashes span:nth-child(2) {opacity: 0.8; grid-column: span 2; background: #4588ff;}
#sashes span:nth-child(3) {opacity: 0.8; grid-column: span 2; background: #4455ff;}
#sashes span:nth-child(4) {opacity: 0.8; grid-column: 6; grid-row: 3;background: #33aaff;}
#sashes span:nth-child(5) {opacity: 0.8; grid-column: span 2; grid-row: 4; background: #1fa2ff;}

/* Frequently Asked Questions */
#qna
{
    margin-top: 62px;
    margin-bottom: 60px;
    color: #fff;
}

#faq > p
{
    margin-top: 32px;
    margin-bottom: 32px;
}

#faq > p > strong
{
    font-size: 18px;
    color: #444;
}


#moresashes
{
    position: absolute;
    left: 0;
    right: 0;
    height: 140px;
    z-index: -1;
    background: linear-gradient(150deg, #024 15%, #036 70%, #249 94%);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    transform: skewY(-0deg);
    transform-origin: 0;
    /* box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px 1px */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
#moresashes span:nth-child(1) {opacity: 0.1; grid-column: span 1; background: #024;}
#moresashes span:nth-child(2) {opacity: 0.1; grid-column: span 2; background: #4588ff;}
#moresashes span:nth-child(3) {opacity: 0.1; grid-column: span 2; background: #4455ff;}
#moresashes span:nth-child(4) {opacity: 0.1; grid-column: 6; grid-row: 4; background: #66ddf5;}
#moresashes span:nth-child(5) {opacity: 0.1; grid-column: span 1; grid-row: 4; background: #1fa2ff;}

/* Pulse Run Button */
button.run
{
    animation: pulse 2000ms infinite;
}

@keyframes pulse
{
    0%
    {
        /* transform: scale(1.1) */
        box-shadow:rgba(255, 255, 255, 0.5) 0 0 0 3px;
    }

    50%
    {
        /* transform: scale(1) */
        box-shadow:rgba(52, 93, 150, 1) 0 0 0 3px;
    }

    100%
    {
        /* transform: scale(1.1) */
        box-shadow:rgba(255, 255, 255, 0.5) 0 0 0 3px;
    }
}
