/* Homepage styles.

   developer:   marionm
   requires:    /common/framework/css/framework.en.css
                /common/framework/css/gui.en.css
   ========================================================================== */

/* ==========================================================================
   global overrides
   ========================================================================== */

html {
    color: #393939;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* ==========================================================================
   page styles
   ========================================================================== */

.page-width {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
    width: 100%;
}

.hr {
    background: #dfdfdf;
    border: none;
    display: block;
    height: 1px;
    margin: 1rem 0;
    width: 100%;
}

.view-all { color: #666; }

.view-all:hover { color: #dd1100; }

/* word cloud
   ========================================================================== */

#cloud-outer {
    background: #3c3c3c;
    overflow: hidden;
}

#cloud-inner {
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
    overflow: hidden;
}

/* m12 announcement
   ========================================================================== */

#just-released {
    background: #444;
    border-top: 2px solid #616161;
}

#just-released .flexbox {
    align-items: center;
    display: flex;
    flex-basis: 50%;
    flex-flow: row wrap;
}

#just-released .flexbox > div {
    align-items: center;
    align-self: stretch;
    display: flex;
    padding: 1rem 2rem;
}

#just-released .flexbox > div:first-child { border-right: 1px solid #616161; }

#just-released .flexbox > div:last-child { border-left: 1px solid #616161; }

#just-released p {
    color: #b2b2b2;
    font-size: 1.125rem;
    line-height: 1.1;
    text-transform: uppercase;
    width: 100%;
}

#just-released .flexbox > div:first-child p { text-align: right; }

#just-released img {
    margin-top: -4px;
    vertical-align: middle;
}

#just-released .new {
    background: #adadad;
    border-radius: 3px;
    color: #444;
    font-size: .675rem;
    margin: 0 .5rem;
    padding: .05rem .25rem .06rem;
    position: relative;
    top: -2px;
}

#just-released span { color: #b2b2b2; }

#just-released a { color: #dfdfdf; }

#just-released a:hover,
#just-released a:hover span { color: #f09940; }

/* features and specialty tiles
   ========================================================================== */

#features {
    background: #616161;
    border-top: 2px solid #acacac;
}

#features .flexbox {
    align-items: center;
    display: flex;
    flex-basis: 25%;
    flex-flow: row wrap;
    height: 100%;
}

#features a {
    align-items: center;
    align-self: stretch;
    border-left: 1px solid #acacac;
    border-right: 1px solid #acacac;
    display: flex;
    min-height: 100px;
    padding: 1rem 2rem;
    position: relative;
}

#features a:hover { background: #777; }

#features .heading {
    color: #e3e3e3;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
}

#features .image { }

/* site license & alternate stripes
   ========================================================================== */

#stripe {
    background: #616161;
    border-bottom: 6px solid #fd6901;
}

#stripe > div { border-top: 2px solid #acacac; }

#stripe a {
    color: #fff;
    display: block;
    font-size: 1.175rem;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    width: 100%;
}

#stripe .name {
    color: #fc6300;
    display: inline-block;
    margin: .25rem 0 0 0;
    padding-left: 2rem;
    position: relative;
}

#stripe .name img {
    left: 0;
    position: absolute;
    top: -.25rem;
}

#stripe .white {
    display: inline-block;
    margin: 0 .25rem 0 0;
    white-space: nowrap;
}

#stripe .check {
    display: inline-block;
    margin: .25rem 0;
    white-space: nowrap;
}

#stripe a:hover .check { color: #fb9700; }

/* delivering computation
   ========================================================================== */

#computation { padding: 0 1.25rem; }

#computation .flexbox {
    align-items: center;
    display: flex;
    flex-basis: 33%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#computation .left { width: 33%; }

#computation .right { width: 66%; }

#computation .map .find {
    font-weight: 600;
    left: 66%;
    position: absolute;
    text-transform: uppercase;
    top: 12%;
}

#computation .map .button {
    border-radius: 4px;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    padding: .6rem;
    text-align: center;
    white-space: nowrap;
}

#computation .map a {
    position: absolute;
    z-index: 2;
}

#computation .map a:nth-of-type(1) {
    height: 13.5%;
    left: 14.8%;
    top: 27.88%;
    width: 8.6%;
}

#computation .map a:nth-of-type(2) {
    height: 13.5%;
    left: 31.8%;
    top: 27.88%;
    width: 5%;
}

#computation .map a:nth-of-type(3) {
    height: 19%;
    left: 23.5%;
    top: 39.39%;
    width: 7.8%;
}

#computation .map a:nth-of-type(4) {
    height: 14%;
    left: 15.8%;
    top: 57%;
    width: 8.1%;
}

#computation .map a:nth-of-type(5) {
    height: 14%;
    left: 30.8%;
    top: 57%;
    width: 8%;
}

#computation .map a:nth-of-type(6).button {
    background: #fd6901;
    left: 65%;
    top: 21.2%;
}

#computation .map a:nth-of-type(7).button {
    background: #ea022d;
    left: 60%;
    top: 36.5%;
}

#computation .map a:nth-of-type(8).button {
    background: #ee4300;
    left: 78%;
    top: 36.5%;
}

#computation .map a:nth-of-type(9).button {
    background: #bb1e50;
    left: 60%;
    top: 52%;
}

#computation .map a:nth-of-type(10).button {
    background: #85509b;
    left: 64.5%;
    top: 67.77%;
}

#computation .map a:nth-of-type(11).button {
    background: #6c5c9d;
    left: 85%;
    top: 67.77%;
}

#computation .map a:nth-of-type(12).button {
    background: #fff;
    border: 2px solid #8374bc;
    color: #4d4d4d;
    left: 71%;
    top: 81.2%;
}

#computation .map a:nth-of-type(6).button:hover {
    background: #ff7a0e;
    box-shadow: 0 0 0 1px #ff7a0e;
}

#computation .map a:nth-of-type(7).button:hover {
    background: #ff2413;
    box-shadow: 0 0 0 1px #ff2413;
}

#computation .map a:nth-of-type(8).button:hover {
    background: #ff5c0a;
    box-shadow: 0 0 0 1px #ff5c0a;
}

#computation .map a:nth-of-type(9).button:hover {
    background: #ce1752;
    box-shadow: 0 0 0 1px #ce1752;
}

#computation .map a:nth-of-type(10).button:hover {
    background: #9957b5;
    box-shadow: 0 0 0 1px #9957b5;
}

#computation .map a:nth-of-type(11).button:hover {
    background: #7a66b9;
    box-shadow: 0 0 0 1px #7a66b9;
}

#computation .map a:nth-of-type(12).button:hover {
    background: #8374bc;
    color: #fff;
}

#computation h1 {
    color: #555;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

#computation p {
    color: #797979;
    font-size: 1rem;
    line-height: 2;
    margin-right: 1rem;
}

#computation p a { color: #797979; }

#computation p a:hover { color: #dd1100; }

#computation .mobile { position: relative; }

#computation .mobile .find {
    font-weight: 600;
    position: absolute;
    text-align: center;
    text-shadow: 0 0 2px #fff;
    text-transform: uppercase;
    top: 173px;
    width: 100%;
}

#computation .mobile img {
    display: block;
    margin: 0 auto;
}

#computation .mobile > a { }

#computation .mobile a.button {
    background: #f56802;
    border-radius: 4px;
    color: #fff;
    display: table;
    min-height: 48px;
    padding: 0 1rem;
    position: absolute;
    text-align: center;
    width: 44%;
}

#computation .mobile a.button span {
    display: table-cell;
    vertical-align: middle;
}

#computation .mobile a {
    border: none;
    position: absolute;
    z-index: 2;
}

#computation .mobile a:nth-of-type(1) {
    height: 7%;
    left: 43.2%;
    top: 13%;
    width: 5%;
}

#computation .mobile a:nth-of-type(2) {
    height: 7%;
    left: 52.5%;
    top: 13%;
    width: 3%;
}

#computation .mobile a:nth-of-type(3) {
    height: 9%;
    left: 48%;
    top: 18%;
    width: 4.5%;
}

#computation .mobile a:nth-of-type(4) {
    height: 7%;
    left: 43.5%;
    top: 26%;
    width: 5%;
}

#computation .mobile a:nth-of-type(5) {
    height: 7%;
    left: 52%;
    top: 26%;
    width: 4.5%;
}

#computation .mobile a:nth-child(odd).button {
    left: 56%;
    right: 0;
}

#computation .mobile a:nth-child(even).button { left: 0; }

#computation .mobile a:nth-of-type(6).button {
    background: #fd6901;
    top: 54%;
}

#computation .mobile a:nth-of-type(7).button {
    background: #ee4300;
    top: 54%;
}

#computation .mobile a:nth-of-type(8).button {
    background: #ea022d;
    top: 68%;
}

#computation .mobile a:nth-of-type(9).button {
    background: #bb1e50;
    top: 68%;
}

#computation .mobile a:nth-of-type(10).button {
    background: #85509b;
    top: 82%;
}

#computation .mobile a:nth-of-type(11).button {
    background: #6c5c9d;
    top: 82%;
}

#computation .mobile a:nth-of-type(12).button {
    background: #fff;
    color: #4d4d4d;
    font-style: italic;
    left: auto;
    min-height: auto;
    padding-left: .5rem;
    right: 0;
    text-align: left;
    top: 97%;
}

#computation .mobile a:nth-of-type(6).button:hover {
    background: #fd6901;
    box-shadow: 0 0 0 1px #fd6901;
}

#computation .mobile a:nth-of-type(7).button:hover {
    background: #ee4300;
    box-shadow: 0 0 0 1px #ee4300;
}

#computation .mobile a:nth-of-type(8).button:hover {
    background: #ea022d;
    box-shadow: 0 0 0 1px #ea022d;
}

#computation .mobile a:nth-of-type(9).button:hover {
    background: #bb1e50;
    box-shadow: 0 0 0 1px #bb1e50;
}

#computation .mobile a:nth-of-type(10).button:hover {
    background: #85509b;
    box-shadow: 0 0 0 1px #85509b;
}

#computation .mobile a:nth-of-type(11).button:hover {
    background: #6c5c9d;
    box-shadow: 0 0 0 1px #6c5c9d;
}

#computation .mobile a:nth-of-type(12).button:hover { color: #dd1100; }

/* tech + trends
   ========================================================================== */

#tech {
    background: #f0f0f0;
    color: #414141;
}

#tech table {
    border-collapse: separate;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

#tech .item {
    border-bottom: 2px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    vertical-align: bottom;
}

#tech .item-1 {
    background: url('/homepage/img/tech-1.png') no-repeat center 1rem;
    background-size: 119px 135px;
    height: 144px;
    width: 25%;
}

#tech .item-2 {
    background: url('/homepage/img/tech-2.png') no-repeat center 1rem;
    background-size: 167px 85px;
    height: 144px;
    width: 25%;
}

#tech .item-3 {
    background: url('/homepage/img/tech-3.png') no-repeat center 1rem;
    background-size: 204px 239px;
    height: 300px;
    width: 25%;
}

#tech .item-4 {
    background: url('/homepage/img/tech-4.png') no-repeat center 1rem;
    background-size: 108px 172px;
    height: 144px;
    width: 25%;
}

#tech .item-5 {
    background: url('/homepage/img/tech-5.png') no-repeat center 1rem;
    background-size: 126px 139px;
    height: 144px;
    width: 25%;
}

#tech .item-6 {
    background: url('/homepage/img/tech-6.png') no-repeat bottom center;
    background-size: cover;
    height: 144px;
}

#tech .item-1:hover,
#tech .item-2:hover,
#tech .item-3:hover,
#tech .item-4:hover,
#tech .item-5:hover,
#tech .item-6:hover { background-color: #e8e8e8; }

#tech h1 {
    color: #555;
    font-size: 1.3rem;
    font-weight: 400;
    padding: .5rem 1rem;
    text-align: center;
    text-transform: uppercase;
}

#tech a {
    color: #414141;
    display: inline-block;
    height: 100%;
    position: relative;
    top: 5px;
    width: 100%;
}

#tech p {
    background: rgba(240, 240, 240, 0.8);
    border-bottom: 1px solid #fff; /* ie11 */
    bottom: 0;
    display: block;
    font-size: .92em;
    padding: .5rem 1rem;
    position: absolute;
}

#tech .item:hover p { background: #e8e8e8dd; }

#tech a:hover p { color: #dd1100; }

/* news & events
   ========================================================================== */

#news .page-width {
    border-top: 6px solid #f8961a;
    box-shadow: 0px 0px 10px #ddd;
}

#news h1 {
    color: #555;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

#news a {
    color: #333;
    font-weight: 400;
    padding: .5rem 0;
}

#news a:nth-child(odd) { padding-right: 3rem; }

#news a:nth-child(even) { padding-left: 3rem; }

#news a:hover { color: #dd1100; }

#news a .mini-m > *:first-child { padding-right: .9rem; }

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

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

@media all and (max-width: 1200px) {
    #just-released p { font-size: 1rem; }

    #features a { padding: 1rem; }
    #features .heading { font-size: 1rem; }

    #computation p {
        line-height: 1.8;
        margin: 1rem 0;
    }
    #computation .map .button {
        font-size: 1rem;
        padding: .5rem .7rem .6rem;
    }
    #computation .map a:nth-of-type(11).button { left: 86% !important; }
}

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

@media all and (max-width: 900px) {
    #stripe .name { padding-left: 1.7rem; }
    #stripe .name img {
        height: auto;
        top: -.15rem;
        width: 18px;
    }
    #stripe a { font-size: 1.15rem; }

    #just-released .flexbox > div:last-child { border-top: 2px solid #616161; }
    #just-released p,
    #just-released .flexbox > div:first-child p { text-align: center; }

    #features .flexbox { flex-basis: 50%; }
    #features a {
        min-height: 75px;
        padding: .25rem .5rem;
    }
    #features a:nth-child(-n+2) { border-bottom: 2px solid #acacac; }

    #computation { padding: 0 2rem 0 1.25rem; }
    #computation .flexbox { flex-basis: 100%; }
    #computation .map .button {
        font-size: 1rem;
        padding-top: 1.25%;
    }
    #computation .map .button:nth-of-type(7) { padding-top: 1%; }

    #news a:nth-child(odd) { padding-right: 0; }
    #news a:nth-child(even) { padding-left: 0; }
}

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

@media all and (max-width: 600px) {
    #stripe .name { padding-left: 1.35rem; }
    #stripe .name img {
        height: auto;
        top: 0;
        width: 13px;
    }

    #just-released img {
        height: 25px;
        width: 25px;
    }

    #features .heading { font-size: .9rem; }
    #features a {
        min-height: auto;
        padding: 0 .5rem;
    }

    #computation { padding: 0 1.25rem; }
    #computation p { margin: 1rem 0 0 0; }

    #tech .item { width: 20%; }
    #tech .item-1 { background-size: 50%; }
    #tech .item-2 { background-size: 80%; }
    #tech .item-3 {
        background-size: 80%;
        background-position: center 30%;
    }
    #tech .item-4 { background-size: 40%; }
    #tech .item-5 { background-size: 50%; }
    #tech .item-6 { background-size: cover; }

    #news .page-width {
        border-top: none;
        box-shadow: none;
    }
}

/* styles for smaller screens (460px) (snowflake)
   ========================================================================== */

@media all and (max-width: 460px) {
    #computation .mobile a:nth-of-type(1) {
        left: 39.5%;
        width: 7%;
    }

    #computation .mobile a:nth-of-type(2) {
        left: 53%;
        width: 7%;
    }

    #computation .mobile a:nth-of-type(3) {
        left: 47%;
        width: 7%;
    }

    #computation .mobile a:nth-of-type(4) {
        left: 39.5%;
        width: 7%;
    }

    #computation .mobile a:nth-of-type(5) {
        left: 53%;
        width: 7%;
    }
}

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

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

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

@media print {
}