/*  ---------------------------------------------------------------
    general style
    --------------------------------------------------------------- */

/* apply a natural box layout model to all elements  - http://www.paulirish.com/2012/box-sizing-border-box-ftw/*/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
 }

*:focus {
    outline: 0;
}

::-moz-focus-inner { padding:0; border:0 }  /* ! removes focus line */

html, body {
    width: 100%;
    min-height: 100%;
    font: 12px Arial, sans-serif;
    color: #666666;
}

/*  END - general style */


/* style for Cube Portfolio wrapper*/
.wrapper {
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}
/* set width and height for items */
.cbp-l-grid-projects .cbp-item {
    /* @editable properties */
    width: 190px;
    height: 190px;
}
/* adjust the caption height and add some margin-bottom*/
.cbp-l-grid-projects .cbp-caption {
    /* @editable properties */
    height: 100%;
    margin-bottom: 0px;
}
.cbp-caption-defaultWrap {
    background: #e4e4e4;
    padding: 15px;
    position: relative;
}

.cbp-caption-defaultWrap .title-type {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: .4em;
}

.cbp-caption-defaultWrap .title-project-name {
    font-size: 1em;
    font-weight: normal;
}

.cbp-caption-defaultWrap .logo {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

#header-logo a { color: #666; text-decoration: none; }
#header-logo a:hover { text-decoration: none; }
#header-logo a:focus { text-decoration: none; }
#header-logo { margin: 38px 38px 38px -4px; }
#header-logo #header1 { font-size: 14px; font-weight: bold; color: #666; text-transform: uppercase; margin-left: 3px; }
#header-logo #header2 { font-size: 56px; font-weight: bold; color: #666; text-transform: lowercase; line-height: .6em; }

.wrapper p {
    font-size: 1.1em;
    color: #888888;
    line-height: 1.3em;
    margin: 35px 0;
}

#linkedin a { color: #666; text-decoration: none; }
#linkedin a:hover { text-decoration: none; }
#linkedin a:focus { text-decoration: none; }
#linkedin { font-size: 1.1em; color: #666; float: right; margin: 15px -40px 10px 60px; }
#linkedin img { vertical-align: text-top; }

#filters-container { float: right; margin: -5px 0 0 0;}


.cbp-popup-singlePage .cbp-popup-navigation-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;

    /* @editable properties */
    height: 104px;
    background-color: #e4e4e4;
}

.cbp-popup-singlePage .cbp-popup-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.cbp-popup-singlePage-sticky .cbp-popup-navigation {
    position: fixed;
}

.cbp-popup-singlePage-sticky .cbp-popup-navigation-wrap {
    position: fixed;
}

.cbp-popup-singlePage-counter {
    /* @editable properties */
    color: #666666;
    font: italic 14px/104px 'Open Sans',sans-serif;
    position: absolute;
    right: 50px;
    top: 0;
}

.cbp-popup-singlePage .cbp-l-project-title {
    /* @editable properties */
    color: #666666;
    font: bold 16px Arial, sans-serif;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.cbp-popup-singlePage .cbp-l-project-subtitle {
    /* @editable properties */
    color: #666666;
    font: bold 16px Arial, sans-serif;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.cbp-popup-singlePage .cbp-l-project-description {
    /* @editable properties */
    color: #787878;
    font: 13px Arial, sans-serif;
    margin: 0 auto 40px;
    max-width: 430px;
    text-align: center;
    line-height: 1.4em;
}

.cbp-popup-singlePage .cbp-popup-content .cbp-l-project-img {
    display: block;
    margin: 0 auto;
    padding-bottom: 40px;
    max-width: 100%;
}

