
/* ==========================================================================
   Items Backgrounds
   ========================================================================== */

.item-1 {
    background: url('../img/work/1.jpg') no-repeat center;
    background-size: cover;
}

.item-2 {
    background: url('../img/work/2.jpg') no-repeat center;
    background-size: cover;
}

.item-3 {
    background: url('../img/work/3.jpg') no-repeat center;
    background-size: cover;
}

.item-4 {
    background: url('../img/work/4.jpg') no-repeat center;
    background-size: cover;
}

.item-5 {
    background: url('../img/work/5.jpg') no-repeat center;
    background-size: cover;
}

.item-6 {
    background: url('../img/work/6.jpg') no-repeat center;
    background-size: cover;
}

.item-7 {
    background: url('../img/work/7.jpg') no-repeat center;
    background-size: cover;
}

.item-8 {
    background: url('../img/work/8.jpg') no-repeat center;
    background-size: cover;
}

.item-9 {
    background: url('../img/work/9.jpg') no-repeat center;
    background-size: cover;
}

.item-10 {
    background: url('../img/work/10.jpg') no-repeat center;
    background-size: cover;
}

.item-11 {
    background: url('../img/work/11.jpg') no-repeat center;
    background-size: cover;
}

.item-12 {
    background: url('../img/work/12.jpg') no-repeat center;
    background-size: cover;
}

.item-13 {
    background: url('../img/work/13.jpg') no-repeat center;
    background-size: cover;
}

.item-14 {
    background: url('../img/work/14.jpg') no-repeat center;
    background-size: cover;
}

.item-15 {
    background: url('../img/work/15.jpg') no-repeat center;
    background-size: cover;
}

.item-16 {
    background: url('../img/work/16.jpg') no-repeat center;
    background-size: cover;
}

.item-17 {
    background: url('../img/work/17.jpg') no-repeat center;
    background-size: cover;
}

.item-18 {
    background: url('../img/work/18.jpg') no-repeat center;
    background-size: cover;
}

.item-19 {
    background: url('../img/work/19.jpg') no-repeat center;
    background-size: cover;
}

.item-20 {
    background: url('../img/work/20.jpg') no-repeat center;
    background-size: cover;
}

.item-21 {
    background: url('../img/work/21.jpg') no-repeat center;
    background-size: cover;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

p, blockquote, small, span {
    color: #444;
    font-weight: 500;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #222;
    padding: 0.2em 0;
}

/* ==========================================================================
   Format
   ========================================================================== */

body {
    background: url('../img/background.jpg') no-repeat bottom fixed;
    background-size: cover;
}

#container {
    position: relative; 
    margin-top: 200px;
}

.headline {
    width: 30%;
    max-width: 69em;
    margin: 0 auto;
    text-align: center;
    padding: 7em 0; 
}

.headline h1 {
    font-size: 5em;
    color: #fff;
    font-weight: 900;
    text-rendering: optimizeLegibility;
}

.alt-color {
    color: #5CD2B3;
}

section {
    width: 100%;
    background: url('../img/background.jpg')
    padding-bottom: 30px;
}

section .section-title,
section .section-content {
    width: 90%;
    max-width: 69em;
    margin: 0 auto;
}

section .section-title {
     padding: 80px 1.875em;
}

section .section-content, 
section .gallery-wrap {
    padding:  0px 1.875em;
}

section .section-content p {
    font-size: 1.2em;
    line-height: 1.5;
}

section .section-content p a {
    text-decoration: none; 
    color: inherit;
    border-bottom: 1px dotted #999;
}

section .section-content p a:hover {
    color: #222;
    border-bottom: 1px solid #777;
}

section .section-title h2 {
    display: inline;
    text-align: center;
    margin: 0 auto;
    text-align: center;
    font-size: 1.8em;
    letter-spacing: 2px;
    padding: 0 7px 7px 7px;
    border-bottom: 3px solid #5CD2B3;
}

section .section-icon {
    display: block;
    width: 40px;
    margin: 0 auto 5px;
}


/* ==========================================================================
   Nav
   ========================================================================== */


.cbp-af-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10000;
    height: 200px;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
 
.cbp-af-header .cbp-af-inner {
    width: 90%;
    max-width: 69em;
    margin: 0 auto;
    padding: 0 1.875em;
}

.cbp-af-header .cbp-af-inner .logo {
    display: inline-block;
    font-weight: 900;
    font-size: 1.5em;
    line-height: 205px;
    padding: 0;
    margin: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    cursor: default;
}

.last-name {
    font-weight: 300!important;
}
 
.cbp-af-header nav {
    display: inline-block;
    position: relative;
    float: right;
}

.cbp-af-header nav ul li {
    display: inline;
}

.cbp-af-header nav a {
    color: #222;
    font-weight: 500;
    margin: 0 0 0 45px;
    font-size: 1em;
    text-transform: lowercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding-bottom: 6px;
    line-height: 205px; /* Should be equal to container's height */
}
 
.cbp-af-header nav a:hover {
    border-bottom: 3px solid #5CD2B3;
}
 
.cbp-af-header nav a {
    -webkit-transition: line-height 0.3s;
    -moz-transition: line-height 0.3s;
    transition: line-height 0.3s;
}
 
.cbp-af-header.cbp-af-header-shrink {
    height: 90px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.cbp-af-header.cbp-af-header-shrink .logo {
    line-height: 95px;
}

.cbp-af-header.cbp-af-header-shrink nav a {
    line-height: 100px;
}



/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-wrap {
    width: 90%;
    max-width: 69em;
    margin: 0 auto;
}

.gallery-item-wrap {
    position: relative;
    float: left;
    text-align: center;
    border: 0px solid white;
    transition: all .2s linear;
    -webkit-transition: all .2s linear;
}

.normal {
    width: 50%;
    padding-bottom: 25%;
}

.big {
    width: 100%; 
    padding-bottom: 50%;
}

.small {
    width: 33.33333333333333%;
    padding-bottom: 18%;
}

.gallery-item-container {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 19% 20px 0 20px;
    background: rgba(93, 210, 178, 0.8);
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    overflow: hidden;
}

.gallery-item-container:hover {
    opacity: 1;
}

.gallery-item-title {
    padding: 5px 2px 5px 2px;
}

.gallery-item-wrap a h2 {
    text-transform: lowercase;
    line-height: 1;
    text-decoration: none; 
    color: #fff;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

.gallery-item-wrap a small {
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
}

/* ==========================================================================
   About
   ========================================================================== */

section#about .section-content p {
    -webkit-columns: 300px 2;
    -webkit-column-gap: 2em;
    column-count: 1;
    column-gap: 2em;
    column-rule-width: 300px;
    -moz-column-count: 2;
    -moz-column-gap: 2em;
    -moz-column-width: 300px;
    -o-column-count: 2;
    -o-column-gap: 2em;
    -o-column-width: 300px;
    text-align: justify;
}

section#about .section-content p:first-child {
    margin-top: 0;
}

section#about .section-content img {
    width: 50%;
    margin-bottom: 30px;
}



/* ==========================================================================
   Contact / Footer
   ========================================================================== */

#contact {
    padding-bottom: 90px;
}

#social-list {
    padding: 40px 0 30px;
    margin: 0;
}

#social-list a {
    text-decoration: none;
}

#social-list li {
    display: inline;
    margin: 0;
    padding: 20px;
}

#social-list li .icon {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s; 
    color: #222;
    font-size: 2em;
    cursor: pointer;
}

#social-list li .icon:hover {
    color: #5CD2B3;
}


footer {
    padding: 40px 1.875em;
    background: #Fbfbfb;
    text-align: center;
    border-top: 1px solid #ebebeb;
}

footer small {
    color: #9EABB3;
}

footer small span a {
    color: #9EABB3;
    text-decoration: none;
    border-bottom: 1px dotted #9EABB3;
}

footer small span a:hover {
    color: #777;
    border-bottom: 1px solid #9EABB3;
}

footer small span {
    color: #9EABB3!important;
}

/* ==========================================================================
   Font Icons
   ========================================================================== */


@font-face {
    font-family: 'entypo';
    src:url('../fonts/entypo.eot');
    src:url('../fonts/entypo.eot?#iefix') format('embedded-opentype'),
        url('../fonts/entypo.woff') format('woff'),
        url('../fonts/entypo.ttf') format('truetype'),
        url('../fonts/entypo.svg#entypo') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon-facebook,
.icon-vimeo,
.icon-linkedin, 
.icon-skype {
    font-family: 'entypo';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.icon-facebook:before {
    content: "\e000";
}
.icon-vimeo:before {
    content: "\e001";
}
.icon-linkedin:before {
    content: "\e002";
}
.icon-skype:before {
    content: "\e003";
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (max-width: 55em) {
    
    #container {
        position: relative; 
        margin-top: 130px;
    }

    .cbp-af-header .cbp-af-inner,
    section .section-content, 
    section .gallery-wrap {
        padding:  0px 0.5em;
    }

    section#about .section-content img {
        width: 100%;
    }
 
   .gallery-item-wrap {
        width: 100%;
        padding-bottom: 45%;
        margin-bottom: 10px;
        border: none;
    }

    .cbp-af-header {
        height: 115px;
    }
 
    .cbp-af-header .cbp-af-inner .logo,
    .cbp-af-header nav a {
        line-height: 115px;
    }
 
    .cbp-af-header nav a {
        display: inline-block;
        margin: 0 10px;
        font-size: 0.7em;
    }

 
    .cbp-af-header.cbp-af-header-shrink {
        height: 45px;
    }

 
    .cbp-af-header.cbp-af-header-shrink nav a {
        line-height: 50px;
    }

    .cbp-af-header.cbp-af-header-shrink .logo {
        line-height: 45px;
    }


    .cbp-af-header.cbp-af-header-shrink h1 {
        font-size: 1.2em;
    }

    section .section-icon {
        width: 140px;
        margin: 0 auto 40px;
    }

    .headline {
        padding: 4em 0; 
    }

    .gallery-item-container {
        opacity: 1;
        position: absolute;
        background: rgba(93, 210, 178, 0.6);
        padding-top: 18.5%;
    }

    #social-list li {
        padding: 15px;
    }

    #social-list li .icon {
        font-size: 4em;
    }
}
 
@media screen and (max-width: 32.25em) {

    .cbp-af-header nav a {
        display: none;
    }

    .cbp-af-header .cbp-af-inner .logo {
        display: block; 
        width: 100%;
        text-align: center;
    }

    section .section-icon {
        width: 120px;
        margin: 0 auto 30px;
    }

    .gallery-item-wrap {
        border-left: 0px;
        border-right: 0px;
    }

    #social-list li {
        padding: 5px;
    }

    #social-list li .icon {
        font-size: 2.8em;
    }

}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
