/* Styles for the Wolfram|One landing page.

   developer:   marionm, suef, yhechler
   requires:    /common/framework/css/framework.en.css
   ========================================================================== */

/* ==========================================================================
   setup the environment
   ========================================================================== */

html {
    border-top: none;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

body {
    background: #000;
    position: relative;
}

html:not(._header-thin-only) { border-top-width: 0px !important; }

/* ==========================================================================
   Temporary CTA (when this gets removed, don't forget about the media query)
   ========================================================================== */
   
#temp-cta {
    background: #dd1100;
    box-sizing: border-box;
    height: 80px;
    margin-top: 100px;
    padding: 1.0% 0 0;
    text-align: center;
    width: 100%;
}
 
#temp-cta p { color: #fff; }

/* ==========================================================================
   header
   ========================================================================== */

#header {
    -webkit-backface-visibility: hidden; /* prevent jittery transforms */
    -webkit-transition: background-color .7s ease;
    backface-visibility: hidden; /* prevent jittery transforms */
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    width: 100%;
    z-index: 99;
    padding: 2.5rem 0 1.4rem 0;
}

#header h1 {
    margin: 0 auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align: left;
}

#header .right { display: none; }

#header.sticky h1 { float: left; }

#header.sticky .right { display: inline-block; }

#header.sticky {
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    transition: background-color .7s ease;
    display: block;
}

#header.sticky .right {
    float: right;
    max-width: 980px;
    margin: 1.5rem 0 -2.5rem 0;
    padding-right: 0.6rem;
}

#header-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

#header.sticky img {
    width: 54px;
    height: auto;
    display: none;
}

#header.sticky .table { margin: 1.7rem 0 0 16px; }

#header span img { margin-right: .8rem; }

#header span span {
    color: #fff;
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 0;
    text-transform: uppercase;
    vertical-align: middle;
}

#header.sticky span span { font-size: 2.125rem; }

#header .pipe {
    font-weight: 300;
    color: #777;
}

#header .red { font-weight: 400; }

#header-bg {
    -webkit-transition: opacity .5s ease;
    background: rgba(0, 0, 0, 1);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 1)), color-stop(65%, rgba(0, 0, 0, 1)), color-stop(100%, rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
    height: 8rem;
    opacity: 0;
    position: fixed;
    transition: opacity .5s ease;
    width: 100%;
    z-index: 98;
}

/* ==========================================================================
   top
   ========================================================================== */

#top {
    background: #0e0e0e url(../img/overview/wolfram-one-bg.png) no-repeat top center;
    /*background-size: cover;*/
    margin: 0 auto;
    height: 658px;
    margin: 0 auto;
    min-height: 358px;
    position: relative;
    width: 100%;
    display: table;
    padding: 0;
}

#top-content {
    background-repeat: repeat;
    color: #cbdaec;
    font-size: 1.125rem;
    margin: auto 0.15rem auto auto;
    padding: 0 1rem;
    position: relative;
    text-align: center;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    padding: 0 1rem 5rem 1rem;
}

div#typical-content { max-width: 61rem; }

#top-content h2 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0 auto 2rem;
}

#top-content a {
    color: #cbdaec;
    font-weight: normal;
}

#top-content a:hover { color: #fff; }

#top-content img {
    display: inline-block;
    margin: 0 .25rem 0 .5rem;
    vertical-align: middle;
}

#top-content .button {
    background: #dd1100;
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-weight: 400;
    margin-bottom: 1rem;
    margin-right: 0.15rem;
    padding: .21rem 1rem;
}

#top-content .button:hover { background: #fe0000; }

#sign-in {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: .9rem;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

.display-banner #sign-in { top: 0.5rem; }

#sign-in a { color: #798fa3; }

div#sign-in img {
    opacity: .7;
    position: relative;
    top: -3px;
}

div#sign-in a:hover img { opacity: 1; }

#header .right .button {
    -webkit-backface-visibility: hidden; /* prevent jittery transforms */
    -webkit-transition: background-color .7s ease;
    transition: background-color .7s ease;
    backface-visibility: hidden; /* prevent jittery transforms */
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: #dd1100;
    border: 0;
    color: #fff;
    font-size: 0.98rem;
}

#header .right .button:hover { background: #fe0000; }

#down {
    -webkit-transform: rotate(90deg);
    -webkit-transition-duration: .25s, .5s;
    -webkit-transition-property: opacity, bottom;
    -webkit-transition-timing-function: ease-in;
    bottom: 3rem;
    color: rgba(255, 255, 255, 1);
    font-size: 3.125rem;
    font-weight: 300;
    left: 50%;
    opacity: 1;
    position: absolute;
    transform: rotate(90deg);
    transition-duration: .25s, .5s;
    transition-property: opacity, bottom;
    transition-timing-function: ease-in;
    z-index: 2;
}

#down::after {
    background-color: #dd1100;
    border-radius: 2rem;
    color: #bd2000;
    content: '';
    height: 3rem;
    left: -1rem;
    position: absolute;
    top: 0.8rem;
    width: 3rem;
    z-index: -10000;
}

/* ==========================================================================
   sections
   ========================================================================== */

section {
    padding: 3rem 13% 1.5rem;
    color: #444;
    width: 100%;
}

div[id$="-content"] {
    color: #444;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 52rem;
    width: 100%;
}

div[id$="-content"] h2 {
    font-size: 2rem;
    color: #d3570c;
    font-weight: 600;
    text-align: center;
    margin: 1rem 0 1.5rem;
}

/*div[id$="-content"] img,
div[id$="-content"] iframe { max-width: 100%; }*/

div#top-content img { max-width: 136px; }

.iframe-container {
    position: relative;
    padding-bottom: 57%;
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section a { color: #dd1100; }

section a:hover { color: #f77700; }

#about-content p { padding: 0 2rem; }

p.spacing-2 { margin-bottom: 2rem; }

#about-content p:first-child {
    color: #d10000;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

#typical { background: #efcb3f; }

#why { background: #fff; }

#why img {
    margin: 2rem auto;
    max-width: 100%;
}

#desktop-for-wolf { display: block; }

#mobile-for-wolf { display: none; }

#power { background: #424242 url('/wolfram-one/img/overview/echos.png') no-repeat center top; }

#power div { padding: 0 1rem; }

#power p {
    color: #fff;
    font-size: 1rem;
    margin: .7rem 0;
}

#power h2 { margin: 1rem 0 15rem; }

#about { background-color: #fff; }

.subheading {
    color: #d07724;
    font-size: 1.37rem;
    font-weight: 600;
    margin: 3rem 0 1rem;
}

.wordcloud {
    margin: 1rem 0 2rem;
    position: relative;
}

.quote {
    padding: 0 11%;
    background: url('/wolfram-one/img/overview/quote1.png') left top no-repeat;
    background-size: 9%;
    position: relative;
    font-size: 1rem;
    font-weight: normal;
    color: #676045;
    margin: 0 0 2rem;
    min-height: 4.5rem;
}

.quote:after {
    content: '';
    display: block;
    background: url('/wolfram-one/img/overview/quote2.png') right top no-repeat;
    background-size: 9%;
    height: 4.5rem;
    position: absolute;
    width: calc(90%);
    top: 0;
}

#power p.combine {
    color: #f9c64a;
    font-size: 1.3rem;
    margin: 2rem auto;
    text-align: center;
    width: 65%;
}

#combine-wrapper {
    max-width: 100%;
    display: block;
}

#slides {
    position: relative;
    display: table;
    width: 100%;
    left: 0;
    margin: 1rem 0 2rem;
}

.row {
    display: table-row;
    position: relative;
}

#slideThumbs,
#slideTop {
    width: 13%;
    max-width: 75px;
    vertical-align: top;
    display: table-cell;
    float: none;
}

#slideThumbs img {
    border-radius: 50%;
    max-width: 75%;
    width: auto;
    display: block;
    margin: 0 0 15% 0;
    border: 3px solid transparent;
    cursor: pointer;
}

#slideThumbs .selected-thmb img { border: 3px solid #f77700; }

#slideThumbs img:hover { border: 3px solid #eca118; }

.selected-thmb { position: relative; }

.selected-thmb:after {
    content: '';
    border-left: 1rem solid #f77700;
    border-top: .7rem solid transparent;
    border-bottom: .7rem solid transparent;
    width: 0;
    height: 0;
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10%;
    margin: auto;
}

#slideQuotes,
#slideImages {
    display: table-cell;
    width: 85%;
    float: none;
}

#slideQuotes .quote,
#slideImages .slide { display: none; }

#slideQuotes .selected-quote,
#slideImages .selected-img {
    display: inline-block;
    width: 100%;
}

/* ==========================================================================
   footer
   ========================================================================== */

#footer {
    background-color: #dd1100;
    color: #fff;
    padding: .6rem;
    text-align: center;
}

#footer h2 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

#footer p,
#footer h2 {
    color: #fff;
    font-weight: 400;
}

#footer-content {
    margin: 0 auto;
    max-width: 52rem;
    width: 100%;
}

#footer-content .inline-grid > * { padding: .5rem .75rem; }

#footer-content .button {
    background: #fff;
    border-radius: .2rem;
    color: #dd1100;
    display: inline-block;
    padding: 0 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid #bb0000;
}

#footer-content .button:hover {
    background: #fd1616;
    color: #fff;
}

#footer-content .right { text-align: left; }

#footer-content .right p {
    font-size: .875rem;
    font-weight: 600;
}

#footer-content .right p:nth-of-type(1) { text-transform: uppercase; }

#footer-content .right a { color: #fff; }

#footer-content .right a:hover { color: #000; }

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
    #temp-cta { padding:1.5% 0 0; }
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    #top-content h2 { font-size: 3.5rem; }
    #temp-cta { padding: 2.0% 0 0; }
    .selected-thmb:after {
        content: '';
        border-left: .7rem solid #f77700;
        border-top: .5rem solid transparent;
        border-bottom: .5rem solid transparent;
        right: 8%;
    }
    #slideThumbs img { margin: 0 0 10% 0; }
    #power h2 { margin: 1rem 0 20rem; }
    #header.sticky .table { margin: 2.2rem 0 0 16px; }
    #header.sticky .right { margin: 2rem 0 -2.5rem 0; }
    #desktop-for-wolf { display: none; }
    #mobile-for-wolf { display: block; }
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    #temp-cta {
        margin-top: 40px;
        padding:3.0% 0 0;
    }
    #temp-cta p {
        font-size: .9rem; 
    }
    #top-content h2 { font-size: 2.5rem; }
    #sign-in { display: none; }
    .selected-thmb:after {
        content: '';
        border-left: .6rem solid #f77700;
        border-top: .4rem solid transparent;
        border-bottom: .4rem solid transparent;
        right: 6%;
    }
    #header.sticky .right {
        position: relative;
        display: block;
        text-align: center;
        margin: 0;
        top: -0.15rem;
        width: 100%;
        right: 0;
    }
    #header.sticky .table { margin: 2.5rem 0 0 0; }
    #header.sticky span span {
        font-size: 2.125rem;
        display: none;
    }
    #header .right .button { margin-bottom: 0rem; }
    #header { padding: 1.8rem 0 .8rem 0; }
    #power {
        background: #424242 url('/wolfram-one/img/overview/echos.png') no-repeat center 10%;
        background-size: 180%;
        padding: 3rem 0 1.5rem;
    }
    #platforms { padding: 0 5.0rem; }
    #power p.combine { width: 90%; }
    #top-content #platforms img { display: none; }
    section { padding: 3rem 4% 1.5rem; }
    #why { padding: 3rem 8% 1.5rem; }
    #power h2 { margin: 1rem 0 16rem; }
    div[id$="-content"] img,
    div[id$="-content"] iframe { max-width: 95%; }
    #down { display: none; }
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
    #temp-cta {
        padding: 3.8% 0 0;
    }
    #header.sticky .right {
        margin: 0;
        top: -0.15rem;
    }
    #header { padding: 1.8rem 0 .8rem 0; }
    #header.sticky span span {
        font-size: 2.125rem;
        display: none;
    }
    #header .right .button { margin-bottom: 0rem; }
    #power {
        background: #424242 url('/wolfram-one/img/overview/echos.png') no-repeat center 10%;
        background-size: 210%;
    }
    #power p.combine { width: 80%; }
    section { padding: 3rem 4% 1.5rem; }
    #power { padding: 3rem 0 1.5rem; }
    #why { padding: 3rem 8% 1.5rem; }
    #power h2 { margin: 1rem 0 10rem; }
    div[id$="-content"] img,
    div[id$="-content"] iframe { max-width: 95%; }
    #down { display: none; }
    #header span span {
        color: #fff;
        font-size: 2.3rem;
    }
    div#top-content img { max-width: 4.0rem; }
    div[id$="-content"] h2 { font-size: 1.88rem; }
}

/* printer styles
   ========================================================================== */

@media print {}