/*!
 * Copyright (C) 2015 Codeplay Software Limited
 * All Rights Reserved.
 *
 * @author Scott Straughan
 */
section#updates {
    background-image: url(/public/images/home/test2.jpg);
}

section#updates > header > h1 {
    color: white;
}

section#updates > ul {
    list-style: none;
    padding: 0;
    border: 1px solid rgba(200, 200, 200, .4);
    box-sizing: border-box;
}

section#updates > ul:after {
    content: '';
    display: block;
    clear: both;
}

section#updates > ul > li {
    width: 20%;
    height: 300px;
    float: left;
    box-sizing: border-box;
    background-color: black;
    border-right: 1px solid rgba(200, 200, 200, .4);
    border-top: 1px solid rgba(200, 200, 200, .4);
}

section#updates > ul > li:nth-child(4) {
    clear: both;
}

section#updates > ul > li:nth-child(1) {
    width: 50%;
}

section#updates > ul > li:nth-child(2),
section#updates > ul > li:nth-child(3) {
    width: 25%;
}

section#updates > ul > li:nth-child(1),
section#updates > ul > li:nth-child(2),
section#updates > ul > li:nth-child(3) {
    border-top: 0;
}

section#updates > ul > li:nth-child(3),
section#updates > ul > li:nth-child(8) {
    border-right: 0;
}

section#updates > ul > li > a {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
    color: white;
    box-sizing: border-box;
}

section#updates > ul > li > a > div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    transition: .9s ease 0s, background .9s ease-in-out 0s;
    opacity: 0.6;
}

section#updates > ul > li > a > div:hover {
    opacity: 0.3;
}

section#updates > ul > li > a > h1,
section#updates > ul > li > a > h2,
section#updates > ul > li > a > div:last-child {
    position: absolute;
    left: 1.875rem;
}

section#updates > ul > li > a > h1 {
    bottom: 2.813rem;
    font-size: 1.5rem;
}

section#updates > ul > li > a > h2 {
    bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 300;
}

section#updates > ul > li > a > div:last-child {
    display: none;
    bottom: -3.5rem;
}

/*
* Breakpoint
*/
@media screen
and (max-width: 43.13rem) {
    section#updates > ul > li {
        width: 100% !important;
        float: none;
    }
}