﻿.slantedBackground {
    background-image: linear-gradient(-20deg, #52c234 0, #468a2f 100%);
}
.slantedBackground span:first-child {
    background: #519e36;
}
.slantedBackground span:nth-child(2){
    background: #419f21;
}
.slantedBackground span:nth-child(3){
    background: #50cd55;
}
.slantedBackground span:nth-child(4){
    background: #60ce43;
}
.slantedBackground span:nth-child(5){
    background: #52c234;
}
.slantedBackground span:nth-child(6){
    background:rgba(82, 194, 52, 0.6);
}


.slantedBackground.beta {
    background-image: linear-gradient(-20deg, #f12711 0, #febe36 100%);
}
.slantedBackground.beta span:first-child {
    background: #f5af19;
}
.slantedBackground.beta span:nth-child(2){
    background: #febe36;
}
.slantedBackground.beta span:nth-child(3){
    background: #f5af19;
}
.slantedBackground.beta span:nth-child(4){
    background: #F98428;
}
.slantedBackground.beta span:nth-child(5){
    background: #F98428;
}
.slantedBackground.beta span:nth-child(6){
    background:rgba(245, 175, 25, 0.3);
}

    /* 
#*/
    .slantedBackground.lts {
        background-image: linear-gradient(-20deg, #007ccc 0%, #118fe0 100%);
    }

        .slantedBackground.lts span:first-child {
            background: #0572b8;
        }

        .slantedBackground.lts span:nth-child(2) {
            background: #4084af;
        }

        .slantedBackground.lts span:nth-child(3) {
            background: #0973b7;
        }

        .slantedBackground.lts span:nth-child(4) {
            background: #086eb0;
        }

        .slantedBackground.lts span:nth-child(5) {
            background: #098de2;
        }

        .slantedBackground.lts span:nth-child(6) {
            background: #086eb0;
        }



/* New features */
.slantedBackground.cl1 {
    background-image: linear-gradient(-20deg, #29c44e 0%, #3ed763 100%);
}

/* New additions */
.slantedBackground.cl2 {
    background-image: linear-gradient(-20deg, #dc0d8a 0%, #eb32a0 100%);
}

/* Bug Fixes */
.slantedBackground.cl3 {
    background-image: linear-gradient(-20deg, #ff9900 0%, #f9ad3b 100%);
}

/* Changes */
.slantedBackground.cl4 {
    background-image: linear-gradient(-20deg, #1572d1 0%, #3e8cdc 100%);
}

/* Performance */
.slantedBackground.cl5 {
    background-image: linear-gradient(-20deg, #990000 0%, #b33434 100%);
}

/* SDK Updates */
.slantedBackground.cl6 {
    background-image: linear-gradient(-20deg, #585858 0%, #7d7c7c 100%);
}

/* Language Updates */
.slantedBackground.cl7 {
    background-image: linear-gradient(-20deg, #924eff 0%, #a06af8 100%);
}

/* Scripting */
.slantedBackground.cl8 {
    background-image: linear-gradient(-20deg, #FFCC00 0%, #d0aa13 100%);
}


.slantedBackground.cl span:first-child {
    background: rgba(255, 255, 255, 0.1);
}
.slantedBackground.cl span:nth-child(2){
    background: rgba(255, 255, 255, 0.05);
}
.slantedBackground.cl span:nth-child(3){
    background: rgba(255, 255, 255, 0.1);
}
.slantedBackground.cl span:nth-child(4){
    background: rgba(255, 255, 255, 0.05);
}
.slantedBackground.cl span:nth-child(5){
    background: rgba(255, 255, 255, 0.1);
}
.slantedBackground.cl span:nth-child(6){
    background: rgba(255, 255, 255, 0.05);
}

/* Title box on release page */
.titleBox {
    display: flex;
    margin-top: 60px;
    margin-bottom: 100px;
}
.titleBox > div:first-child {
    flex-grow: 0;
    max-width: 550px;
    min-width: 550px;
    padding-right: 90px;
    align-self: center;
}
.titleBox > div:last-child {
    flex-grow: 1;
    align-self: center;
}
h1 {
    margin-top: 0;
}
@media screen and (max-width:1000px) {
    .titleBox {
        display: block;
    }
    .titleBox > div:first-child {
        max-width: 760px;
        min-width: 0;
        padding-right: 0;
        margin: 0 auto;
    }
    h1 {
        text-align: center;
    }
}

/* Latest releases */
ul.latestReleases {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.latestReleases li {
    display: block;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}
ul.latestReleases li > a {
    display: block;
    background: #ddeaf8;
    border-radius: 3px;
    transition: transform 150ms ease-in-out;
    -webkit-box-shadow: 0 3px 34px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 0 3px 34px -4px rgba(0,0,0,0.75);
    box-shadow: 0 3px 34px -4px rgba(0,0,0,0.75);
    position: relative;
}
ul.latestReleases li > a > div {
    display: flex;
}
ul.latestReleases li > a:hover {
    text-decoration: none;
}
ul.latestReleases li > a:hover h2 {
    color: #dc0d8a;
}
ul.latestReleases li.stable a {
    background: #fff;
}
ul.latestReleases li:last-child {
    margin-bottom: 0;
}
ul.latestReleases li a {
    color: #2B2B2B;
}
ul.latestReleases li a h2, ul.latestReleases li a p {
    margin: 0;
    padding: 0;
}
ul.latestReleases li a h2 {
    font-size: 1.4rem;
    line-height: 100%;
}
/* Beta notice */
.betaNotice {
    background: #f9dc72;
    color: rgba(120, 103, 42, 0.6);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    line-height: 100%;
    padding: 5px 15px;
}
.betaNotice.attached {
    position: fixed;
    z-index: 5;
    width: 100%;
    bottom: 0;
    left: 0;
    border-top: 1px solid #e0bb35;
}
ul.latestReleases .betaNotice {
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.betaNotice p {
    line-height: 120% !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding-left: 8px !important;
    padding-right: 15px;
    margin: 5px 0 !important;
}

/* Release ico */
ul.latestReleases li div.ico {
    max-width: 96px;
    min-width: 96px;
    flex-grow: 0;
    align-self: center;
    margin-left: -48px;
}
ul.latestReleases li .icoWrap, .icoWrap {
    width: 96px;
    height: 96px;
    background: #ddeaf8;
    border-radius: 50%;
    -webkit-box-shadow: 0 3px 34px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 0 3px 34px -4px rgba(0,0,0,0.75);
    box-shadow: 0 3px 34px -4px rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}
ul.latestReleases li.stable .icoWrap {
    background: #fff;
}

/* Header icon wrap */
.headerIcoWrap {
    display: flex;
    margin-bottom: 30px;
}
.headerIcoWrap > div {
    align-self: center;
}
.headerIcoWrap > div:first-child {
    flex-grow: 1;
    flex-shrink: 0;
    margin-right: 30px;
}
.headerIcoWrap > div:last-child {
    flex-grow: 500;
    flex-shrink: 1;
}
.headerIcoWrap h1 {
    margin: 0;
    margin-bottom: 5px;
}
.headerIcoWrap .icoWrap {
    background: #fff;
}
@media screen and (max-width:1000px) {
    .headerIcoWrap h1 {
        text-align: left;
    }
}
@media screen and (max-width:700px) {
    .headerIcoWrap {
        display: block;
    }
    .headerIcoWrap > div:first-child {
        display: none;
    }
    .headerIcoWrap h1 {
        text-align: center;
    }
}

/* Release details */
ul.latestReleases li div.details {
    padding: 30px;
    flex-grow: 1;
}
ul.latestReleases li div.details p {
    font-size: 1.15rem;
    line-height: 120% !important;
    max-width: 550px;
}
ul.latestReleases li div.details .head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
ul.latestReleases li div.details .head h2{
    flex-grow: 15;
    flex-shrink: 0;
    line-height: 100%;
    padding-right: 20px;
    margin-bottom:7px;
    align-self: center;
}
@media screen and (max-width:1000px) {
    ul.latestReleases li div.ico {
        margin-left: 0;
    }
    ul.latestReleases li .icoWrap {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    ul.latestReleases li div.details {
        padding-left: 10px;
    }
}
@media screen and (max-width:400px) {
    ul.latestReleases li div.ico {
        max-width: 64px;
        min-width: 64px;
        align-self: flex-start;
        margin-top: 30px;
    }
    ul.latestReleases li .icoWrap {
        width: 64px;
        height: 64px;
    }
}

/* Changes */
ul.latestReleases li .changeCount {
    display: block;
    background: #F98428;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    border-radius: 3px;
    padding: 10px 15px;
    line-height: 100%;
    align-self: center;
    flex-grow: 1;
    flex-shrink: 1;
    white-space: nowrap;
    text-align: center;
    margin-bottom:7px;
    align-self: center;
}
ul.latestReleases li.stable .changeCount {
    background: #00CC00;
}
ul.latestReleases li.lts .changeCount {
    background: #007ccc;
}
/* Unread release */
li .unreadRelease {
    background: #F98428;
    margin-right: 10px;
    animation: pulseNewBetaRelease 1.5s infinite;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 100%;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 3px;
    margin-bottom: 7px;
}
li.stable .unreadRelease {
    background: #00CC00;
    animation: pulseNewStableRelease 1.5s infinite;
}
li.lts .unreadRelease {
    background: #007ccc;
    animation: pulseNewLtsRelease 1.5s infinite;
}
@keyframes pulseNewBetaRelease {
    0% {
        -moz-box-shadow: 0 0 0 0 #F98428;
        box-shadow: 0 0 0 0 #F98428;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}
@keyframes pulseNewLtsRelease {
    0% {
        -moz-box-shadow: 0 0 0 0 #007ccc;
        box-shadow: 0 0 0 0 #007ccc;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}
@keyframes pulseNewStableRelease {
    0% {
        -moz-box-shadow: 0 0 0 0 #7df972;
        box-shadow:0 0 0 0 #7df972;
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}

/* Stats */
.statsWrap {
    margin-bottom: 65px;
}
.statsWrap h2 {
    text-align: center;
}
.statsWrap ul.stats {
    display: flex;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.statsWrap ul.stats li {
    display: block;
    margin: 0;
    padding: 0;
    margin: 5px;
    margin-bottom: 2px;
}
.statsWrap ul.stats li > a
{
    display: block;
    background: #ddeaf8;
    min-width: 290px;
    max-width: 290px;
    height: 100%;
    flex-grow: 1;
    border-radius: 3px;
    position: relative;
    padding: 20px;
    text-align: center;
    padding-top: 50px;
    color: #2B2B2B;
    border: 5px solid #ddeaf8;
    transition: all 350ms ease-in-out;
}
.statsWrap ul.stats li > a h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
}
.statsWrap ul.stats li > a:hover {
    text-decoration: none;
    border: 5px solid #96c9ff;
}
.statsWrap span.viewAllText {
    color: #dc0d8a;
    font-weight: 500;
}
.statsWrap ul.stats li > a:hover span.viewAllText {
    text-decoration: underline;
}
.statsWrap .catIcoWrap {
    width: 110px;
    height: 70px;
    background: #fff;
    display: flex;
    position: absolute;
    top: -25px;
    left: 50%;
    margin-left: -60px;
    border: 5px solid #ddeaf8;
    border-radius: 3px;
    transition: all 300ms ease-in-out;
}

.statsWrap .catIcoWrap img {
    display: block;
    margin: 0 auto;
    align-self: center;
}
.statsWrap span.total {
    display: block;
    font-size: 3rem;
    margin: 30px 0;
}
.statsWrap ul.stats li > a:hover .catIcoWrap {
    box-shadow: 0 15px 0 0 rgba(150, 201, 255, 0.2);
    transform: translatey(-7px) scale(1.2);
    border-color: #96c9ff;
    top: -35px;
}
.statsWrap ul.stats li > a:hover h3 {
    color: #dc0d8a;
}
.allReleases {
    margin-bottom: 70px;
}
h1.paginatedHead {
    margin-top: 60px;
}

/* Small stat swrap */
.smallStatsWrap {
    padding-top: 30px;
    padding-left: 21px;
}
.smallStatsWrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.smallStatsWrap ul li {
    display: block;
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
}
.smallStatsWrap ul li:last-child {
    margin-bottom: 0;
}
.smallStatsWrap ul li a {
    margin: 0;
    padding: 0;
    line-height: 100%;
    background: #ddeaf8;
    border-radius: 3px;
    display: flex;
}
.smallStatsWrap ul li a > span {
    align-self: center;
    flex-grow: 0;
}
.smallStatsWrap ul li a > span.type {
    font-weight: 500;
    padding-left: 10px;
}
.smallStatsWrap ul li a > span.catIcoWrap {
    background: #ddeaf8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -21px;
    padding: 5px;
    flex-shrink: 0;
}

.smallStatsWrap ul li a > span.viewAllText {
    flex-grow: 1;
    text-align: right;
}
.smallStatsWrap ul li a > span.viewAllText:after {
    content: '>';
    background: rgba(0, 0, 0, 0.1);
    display:inline-flex;
    border-radius: 50%;
    width: 22px;
    color: #fff;
    height: 22px;
    font-size: 1.15rem;
    font-weight: 500;
    margin-right: 15px;
    justify-content: Center;
    align-items: center;
}
.smallStatsWrap ul li a:hover {
    text-decoration: none;
}
.smallStatsWrap ul li a:hover span.viewAllText:after {
    background: #dc0d8a;
}

.smallStatsWrap h2 {
    margin-bottom: 10px;
    margin-left: -21px;
}

.releaseListWrapPagWrap .paginationWrap {
    margin-top: 30px;
}

/* Release listings */
.releaseListWrap {
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #efefef;
}
.releaseListWrap > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.releaseListWrap > ul  li {
    margin: 0;
    padding: 0;
    background: #fff;
}
.releaseListWrap > ul  li > a:first-child {
    display: flex;
    padding: 10px;
    padding-bottom: 0;
}
.releaseListWrap > ul > li:nth-child(even) {
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}
.releaseListWrap .icoCol {
    flex-shrink: 0;
    align-self: center;
}

/* Release details */
.releaseListWrap .contentCol {
    padding-left: 15px;
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
}
.releaseListWrap .contentCol > div:first-child {
    flex-grow: 500;
}
.releaseListWrap .contentCol > div:last-child {
    flex-grow: 1;
}
.releaseListWrap .titleWrap {
    display: flex;
}
.releaseListWrap .releaseTitle {
    font-weight: 500;
    display: inline-block;
}
.releaseListWrap .unreadRelease {
    margin-bottom: 0;
    flex-grow: 0;
    align-self: center;
}
.releaseListWrap p.description {
    color: #2B2B2B;
    margin: 0;
    padding: 0;
    font-size: 1.15rem;
    padding-top: 3px;
    padding-bottom: 7px;
}
.releaseListWrap > ul  li > a:first-child:hover  {
    text-decoration: none;
}
.releaseListWrap > ul  li > a:first-child:hover .releaseTitle {
    text-decoration: underline;
}

.releaseListWrap .releaseIcoWrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.releaseListWrap .dateCol {
    align-self: center;
    color: #525559;
    font-size: 0.85rem;
    line-height: 120%;
    flex-shrink: 1;
    text-align: Center;
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}
.releaseListWrap .dateCol div {
    text-align: right;
    flex-grow: 1;
    flex-shrink: 0;
    min-width: 100%;
}

/* List changelogs */
.releaseListWrap .changelogs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    line-height: 100%;
    margin-bottom: 7px;
    margin-top: -12px;
}
.releaseListWrap .changelogs ul li {
    margin: 0;
    padding: 0;
    margin-right: 3px;
    margin-bottom: 3px;
    border-radius: 3px;
    display:inline-flex;
    font-size: 1rem;
    line-height: 100%;
    padding: 2px 8px;
    border: 1px solid #efefef;
}
.releaseListWrap .changelogs ul li:last-child {
    margin-right: 0;
}
.releaseListWrap .changelogs ul li img {
    display: block;
    margin-right: 5px;
}
.releaseListWrap .changelogs ul li span {
    display: block;
    align-self: center;
    color: #2B2B2B;
}


/* VIEWING RELEASE */
.releaseTop {
    display: flex;
}
.releaseTop div:first-child {
    flex-grow: 500;
    flex-shrink: 1;
    align-self: flex-start;
    padding-bottom: 20px;
}
.releaseTop div:last-child {
    flex-shrink:0;
    flex-grow: 1;
    align-self: flex-end;
    color: #fff;
    line-height: 100%;
    text-align: right;
    padding-left: 30px;
}
.releaseTop div:last-child > div span {
    display: block;
    font-size: 1.2rem;
}
.releaseTop p {
    margin: 0;
}
.releaseTop .lastUpdated {
    color: rgba(255, 255, 255, 0.7);
    border: 0;
    font-size: 1rem !important;
    display: block;
    margin-top: 10px;
}

@media screen and (max-width:1100px) {
    .releaseTop {
        display: block;
    }
    .releaseTop div:last-child {
        padding-left: 0;
    }
}

.youtubeOuterWrapper {
    margin-bottom: 30px;
}
.mainCWrap {
    background: rgba(255, 255, 255, 1);
    border-radius: 3px;
    padding: 30px;
}
.notesWrap {
    margin: 0 auto;
    margin-bottom: 30px;
    display: flex;
    max-width: 1000px;
}
.notesWrap > div:first-child {
    align-self: flex-start;
    flex-grow: 1;
    flex-shrink: 1;
}
h2.notes {
    margin-bottom: 0;
}

.notesWrap > div:last-child {
    align-self: flex-start;
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: 30px;
    margin-top: 20px;
    padding-bottom: 30px;
}
.changelogsWrap h2 {
    margin-bottom: 10px;
}
.notesWrap h2 {
    margin-bottom: 10px;
}
@media screen and (max-width:850px) {
    .notesWrap {
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
    }
    .notesWrap > div:first-child {
        flex-grow: 1;
        order: 2;
    }
    .notesWrap > div:last-child {
        order: 1;
        margin-left: 0;
        margin: 0 auto;
        margin-bottom: 15px;
        flex-grow: 1;
    }
    .notesWrap > div:last-child a {
        width: 100%;
        text-align: center;
    }
    
}

@media screen and (max-width:550px) {
    .mainCWrap {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media screen and (max-width:450px) {
    .mainCWrap {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media screen and (max-width:430px) {
    .notesWrap > div:last-child {
        padding-bottom: 0;
    }
}

.emailControlWrap {
    background: #efefef;
    border-radius: 3px;
    display: flex;
    margin-bottom: 30px;
    padding: 15px;
}
.emailControlWrap > div:first-child {
    flex-grow: 1;
    flex-shrink: 1;
    align-self: center;
}
.emailControlWrap > div:last-child {
    flex-grow: 0;
    flex-shrink: 0;
    align-self: center;
    margin-left: 30px;
}
.emailControlWrap h2 {
    margin: 0;
    font-size: 1.3rem;
}
.emailControlWrap p {
    margin: 0;
    font-size: 1.15rem;
}

@media screen and (max-width:900px) {
    .emailControlWrap {
        display: block;
    }
    .emailControlWrap > div:first-child, .emailControlWrap > div:first-child h2 {
        text-align: center;
    }
    .emailControlWrap > div:last-child {
        margin-left: 0;
        text-align: center;
        margin-top: 10px;
    }
}

ul.breadCrumbNav {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    padding: 5px  15px !important;
}






.releaseVoteWrap {
    border: 1px solid #efefef;
    margin-bottom: 10px;
    border-radius: 3px;
    padding: 10px;
    text-align: center;
    margin-top: 24px;
}
.releaseVoteWrap h3 {    
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}
.releaseVoteWrap p {
    font-size: 1rem;
    display: block;
    max-width: 160px;
    margin: 0 auto;
    margin-bottom: 10px;
}

@media screen and (max-width:850px) {


    .releaseVoteWrap {
        margin-top: -15px;
    }
    .releaseVoteWrap p {
        max-width: none;
    }
}
