.work-list
{
    overflow: hidden;
    margin: 0 auto;
    width: 240px;
}

.work-list .work-item
{
    background-color: #f6f8fb;
    margin: 0 10px 20px 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    height: 220px;
    width: 220px;
    float: left;
}

.work-list .work-item img
{
    vertical-align: baseline;
    display: block;
    width: 220px;
    float: left;
}

.work-list .work-item .work-text-container
{
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: #5c2d82;
    position: absolute;
    visibility: hidden;
    height: 220px;
    width: 220px;
    z-index: 10;
    opacity: 0;
    left: 0;
    top: 0;
}

.work-list .work-item:hover .work-text-container
{
    visibility: visible;
    opacity: 1;
}

.work-list .work-item .work-text
{
    padding: 0 10px;
    width: 200px;
}

.work-list .work-item .work-text .work-title
{
    font-family: 'PerspectiveSans', serif;
    margin-bottom: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 26px;
    color: #fff;
}

.work-list .work-item .work-text .work-client
{
    font-family: 'PerspectiveSans', serif;
    text-align: center;
    line-height: 20px;
    font-size: 15px;
    color: #fff;
}

/* work details page */
.work-navigation,
.work-navigation a
{
    font-family: 'PerspectiveSans', serif;
    text-decoration: none;
    line-height: 19px;
    font-size: 13px;
    color: #a1a1a1;
}

.work-navigation
{
    text-align: right;
}

.work-navigation a:hover
{
    text-decoration: underline;
}

.work-sidebar
{
    margin: 0 10px;
    width: 280px;
    float: left;
}

.work-sidebar .for-sale
{
    background-color: #f0f0f0;
    margin-bottom: 20px;
    overflow: hidden;
    width: 280px;
}

.work-sidebar .for-sale-with-link
{
    cursor: pointer;
}

.work-sidebar .for-sale h3
{
    background: url(images/for-sale-arrow.png) 10px center no-repeat #ff6200;
    padding: 7px 20px 2px 30px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    line-height: 20px;
    font-size: 13px;
    color: #fff;
}

.work-sidebar .for-sale .sale-details
{
    padding: 0 25px;
}

.work-sidebar .for-sale .sale-details span.price
{
    font-family: 'PerspectiveSansBlack', serif;
    margin-bottom: 15px;
    line-height: 20px;
    font-size: 15px;
    display: block;
    color: #646464;
}

.work-sidebar .for-sale .sale-details p
{
    margin-bottom: 15px;
    line-height: 20px;
    font-size: 13px;
    color: #646464;
}

.work-sidebar .for-sale .sale-details a
{
    text-decoration: none;
    color: #646464;
}

.work-sidebar .for-sale .sale-details a:hover
{
    text-decoration: underline;
}

.work-sidebar h3
{
    text-transform: uppercase;
    font-weight: bold;
    line-height: 20px;
    font-size: 13px;
    color: #a1a1a1;
}

.work-sidebar p
{
    margin-bottom: 15px;
    line-height: 20px;
    font-size: 13px;
    color: #646464;
}

.work-details
{
    width: 300px;
    float: left;
}
    
.work-details .work-images
{
    overflow: hidden;
    margin: 0 10px;
}

.work-details .work-images .work-image
{
    margin-bottom: 30px;
}

.work-details .work-images .work-image-with-caption
{
    margin-bottom: 15px;
}

.work-details .work-images .work-image img
{
    vertical-align: baseline;
    max-width: 280px;
    display: block;
}

.work-details .work-images .caption
{
    margin-bottom: 30px;
    line-height: 19px;
    font-size: 13px;
    color: #646464;
}

.work-details .work-controls
{
    border-bottom: 2px solid #cdcdcd;
    padding-bottom: 30px;
    overflow: hidden;
    margin: 10px;
}

.work-details .work-controls-top
{
    border-top: 2px solid #cdcdcd;
    border-bottom: none;
    margin-bottom: 30px;
    padding-top: 30px;
    padding-bottom: 0;
}

.work-details .work-controls .go-back
{
    line-height: 19px;
    font-size: 13px;
    color: #a1a1a1;
    width: 100px;
    float: left;
}

.work-details .work-controls .go-back a
{
    text-decoration: none;
    line-height: 19px;
    font-size: 13px;
    color: #a1a1a1;
}

.work-details .work-controls .go-back a:hover
{
    text-decoration: underline;
}

.work-details .work-navigation
{
    margin: 0;
}

.work-details .work-related
{
    margin-bottom: 60px;
    overflow: hidden;
}

.work-details .work-related h2
{
    font-family: 'PerspectiveSansBlack', serif;
    text-transform: uppercase;
    margin: 0 10px 15px;
    line-height: 28px;
    font-size: 19px;
    color: #5c2d82;
}

.work-details .work-related a
{
    background: url(images/related-work-arrow.png) 15px center no-repeat #efefef;
    padding: 5px 20px 2px 40px;
    text-decoration: none;
    margin: 0 10px 20px;
    display: block;
    width: 220px;
    float: left;   
}

.work-details .work-related a span
{
    border-bottom: 2px solid transparent;
    line-height: 28px;
    font-size: 17px;
    color: #646464;
}

.work-details .work-related a:hover
{
    background-color: #5c2d82;
}

.work-details .work-related a:hover span
{
    border-color: #fff;
    color: #fff;
}

@media only screen and (min-width: 481px) and (max-width: 768px)
{
    .work-list
    {
        width: 480px;
    }
    
    .work-sidebar
    {
        width: 460px;
    }
    
    .work-sidebar .for-sale
    {
        width: 460px;
    }
    
    .work-details
    {
        width: 480px;
    }
    
    .work-details .work-images .work-image img
    {
        max-width: 460px;
    }
    
    .work-details .work-related a
    {
        width: 400px;
    }
}

@media only screen and (min-width: 769px)
{
    .work-list
    {
        width: 720px;
    }
    
    h1.with-work-navigation
    {
        /*padding-right: 110px;*/
    }
    
    .work-navigation
    {
        margin-top: 60px;
        float: right;
    }
    
    .work-sidebar
    {
        width: 220px;
    }
    
    .work-sidebar .for-sale
    {
        width: 220px;
    }
    
    .work-details
    {
        width: 720px;
    }
    
    .work-details .work-images .work-image img
    {
        max-width: 700px;
    }
    
    .work-details .work-related a
    {
        width: 160px;
    }
}

@media only screen and (min-width: 1025px)
{
    .work-list
    {
        width: 960px;
    }
}