/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

a {
    text-decoration: none;
}

body.single-portfolio .header-content > a {
    color: #fff;
    display: inline-block;
    margin-bottom: 15px;
    padding: 15px 25px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out 0s;
}

body.single-portfolio a.visit-btn {
    background-color: #00A2DF;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 -4px 0 rgba(50, 50, 50, 0.35) inset;
}

body.single-portfolio a.casestudy-btn {
    background-color: #555;
    box-shadow: 0 -4px 0 rgba(50, 50, 50, 0.35) inset;
}

body.single-portfolio a.quote-btn {
    background-color: #FF8700;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 -4px 0 rgba(50, 50, 50, 0.35) inset;
}

/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
body.page .entry-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: inherit;
    padding-bottom: 5%;
    padding-top: 5%;
    text-align: center;
}

.entry-header p {
    font-weight: 300;
}



/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/
.hentry {
    margin: 0;
}

body.page .entry-content {
    background-color: #2F2E2E;
    padding-bottom: 2.5%;
}

.portfolio-items > div {
    position: relative;
    text-align: center;
}

.portfolio-item {
    display: inline-block;
    margin: 5px;
    position: relative;
    vertical-align: top;
}

.featured .portfolio-item {
    margin-left: 25px;
    margin-right: 25px;
}

.featured {
    padding-top: 25px;
}

.other > .portfolio-item {
    max-width: calc(100%/2 - 30px);
}

.portfolio-items h2 {
    background-color: rgba(0,0,0,.75);
    color: #fff;
    font-size: 1em;
    font-weight: 300;
    height: calc(100% - 6px);
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: opacity .5s ease-in-out 0s;
    -o-transition: opacity .5s ease-in-out 0s;
    transition: opacity .5s ease-in-out 0s;
    width: 100%;
}

.portfolio-items h2:hover {
    opacity: 1;
}

.portfolio-item a {
    color: #fff;
    display: block;
    height: 100%;
}

.featured .portfolio-item a {
    padding-top: 30%;
}

.other .portfolio-item a {
    padding-top: 25%;
}


/**
 * Single Page
 */
body.single-portfolio .site-content {
    overflow: hidden;
}

body.single-portfolio article {
    padding-top: 2.5%;
    position: relative;
}

body.single-portfolio .entry-header {
    display: inline-block;
    vertical-align: top;
}


body.single-portfolio .entry-content {
    display: inline-block;
    vertical-align: bottom;
}

body.single-portfolio .entry-header h1, body.single-portfolio .entry-header p {
    text-align: left;
}

body.single-portfolio .entry-header h1 {
    font-size: 1.5em;
}

body.single-portfolio .entry-header h2 {
    font-size: 1em;
    margin-bottom: 0;
}

body.single-portfolio .entry-header h2 + p {
    margin-top: 0;
}

body.single-portfolio .entry-header p {
    font-size: 1em;
}

body.single-portfolio .showcase-container {
    text-align: center;
}

body.single-portfolio .entry-content img {
    display: block;
    margin: auto;
}

body.single-portfolio .svg-inline--fa {
    vertical-align: 1px;
}


/*--------------------------------------------------------------
# @Media Styles
--------------------------------------------------------------*/
@media screen and ( min-width: 768px ) {
    .portfolio-item {
        margin: 10px;
    }

    .portfolio-items > .featured > .container {
        -webkit-columns: 2;
                columns: 2;
    }

    .featured {
        margin-top: -80px;
    }

    .featured > .portfolio-item {
        max-width: calc(100% / 2 - 30px);
        margin-left: 5px;
        margin-right: 5px;
    }

    .other > .portfolio-item {
        max-width: calc(100%/3 - 30px);
    }

    .portfolio-items h2 {
        font-size: 1.25em;
    }


    /**
     * Single Page
     */

    body.single-portfolio .entry-header {
        width: calc(1400px / 2);
        max-width: 50%;
    }

    body.single-portfolio .header-content {
        background-color: #fff;
        box-shadow: -1px 1px 10px -5px rgba(0,0,0,.25);
        border-bottom-left-radius: 8px;
        border-top-left-radius: 8px;
        padding: 5px 25px;
    }

    body.single-portfolio .entry-content {
        box-shadow: 1px 1px 10px rgba(0,0,0,.35);
        max-width: 45%;
        width: calc(1400px / 2);
    }

    body.single-portfolio .site-content {
        background-color: #fafafa;
    }

    body.single-portfolio .showcase-container {
        max-height: 750px;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    body.single-portfolio .showcase-container > img {
        margin-bottom: -7px;
        width: 100%;
    }

    body.single-portfolio .entry-header h1 {
        font-size: 2em;
    }

    body.single-portfolio .entry-content > img {
        position: absolute;
        bottom: 0;
        right: -15%;
        transition: right .5s ease-in-out 0s;
    }

}

@media screen and ( max-width: 1600px ){
    body.single-portfolio .entry-content > img:hover {
        right: 0;
    }    
}