/*
    Name: OAK
    Version: 1.1
    Author: Jairo González Prieto
    Author URI: http://www.jgpdesigno.com
*/

/* =Table of Contents
--------------------------------------------------------------
    /* =Common Styles
    /* =Typography
    /* =General
    /* =Buttons
    /* =Preloader
    /* =Header
    /* =Full Width Slider
    /* =Architecure Slider 
    /* =Menu right
    /* =Home Content
    /* =Architecture Content
    /* =Portfolio General
    /* =Single Project
    /* =Blog
    /* =Contact
    /* =Page Not Found
    /* =Footer
--------------------------------------------------------------


/* =Common Styles
-------------------------------------------------------------- */

@font-face {
    font-family: 'azedobold';
    src: url('../fonts/azedo-bold-webfont.eot');
    src: url('../fonts/azedo-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/azedo-bold-webfont.woff2') format('woff2'), url('../fonts/azedo-bold-webfont.woff') format('woff'), url('../fonts/azedo-bold-webfont.ttf') format('truetype'), url('../fonts/azedo-bold-webfont.svg#azedobold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'azedolight';
    src: url('../fonts/azedo-light-webfont.eot');
    src: url('../fonts/azedo-light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/azedo-light-webfont.woff2') format('woff2'), url('../fonts/azedo-light-webfont.woff') format('woff'), url('../fonts/azedo-light-webfont.ttf') format('truetype'), url('../fonts/azedo-light-webfont.svg#azedolight') format('svg');
    font-weight: normal;
    font-style: normal;
}



/* =Typography
-------------------------------------------------------------- */
a {
    color: #383838;
    transition: all 0.5s;
}
a:focus {
    outline: 0;
}
a:hover,
a:focus {
    color: #333;
    text-decoration: none;
}
a,
a:visited {
    font-weight: 400;
    text-decoration: none;
}
em {
    font-style: italic;
}
strong {
    font-weight: 500;
}
small {
    font-size: 0.8em;
}

hr {
    width: 40px;
    height: 1px;
    background: #111111;
    border-top: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    clear: both;
    display: inline-block
}

hr.center{
    margin:  10px auto;
    display: block;
}

h1 {
    font-size: 24px;
	font-weight: 200;

}
h2 {
    font-size: 22px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
h6 {
    font-size: 14px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lekton', sans-serif;
    letter-spacing: 1.3pt;
    color: #333;
    clear: both;
    padding-bottom: 5px;
    font-weight: 200;
    margin-bottom: 0;
    margin-top: 20px;
}
b {
    font-weight: 900;
}
blockquote {
    margin: 30px 0 30px;
    padding: 0 0 0 20px;
    font-size: 16px;
    border-left: 4px solid #333;
    line-height: 25px;
    font-weight: 100;
    color: #333;
}
blockquote p {
    display: inline;
}

pre {
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #464646;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #fff;
}

/* Text Slider Clip */
.cd-headline.clip span {
    display: inline-block;
    padding: .2em 0;
}
.cd-headline.clip .cd-words-wrapper {
    overflow: hidden;
    vertical-align: top;
}
.cd-headline.clip .cd-words-wrapper::after {
    /* line */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #000;
}
.cd-headline.clip b {
    font-family: 'Lekton', sans-serif;
    opacity: 0;
}
.cd-headline.clip b.is-visible {
    opacity: 1;
}
.header-page {
    position: relative;
    min-height: 260px;
    background-position: center center;
}
.header-page .inner-content {
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    display: table;
    height: 220px;
    width: calc(100% - 40px);
    margin-top: 20px;
    margin-left: 20px;
}
.header-page .inner-content.dribble-header {
    height: 220px;
}
.header-page .inner-content .header-content {
    display: table-cell;
    vertical-align: middle;
}
.header-page .inner-content .header-content h1 {
    text-align: center;
    font-size: 60px;
    font-family: '', sans-serif;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 54px;
    
}
.header-page .inner-content .header-content hr {
    float: none;
}
.header-page .inner-content .header-content p {
    text-align: center;
    font-size: 18px;
}

/* =Portfolio General
-------------------------------------------------------------- */
.portfolio-wrapper {
    clear: both;
}
/* Filter Button */
.nav {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #f4f4f4;
    cursor: pointer;
    border: none;
    width: 48px;
    height: 48px;
    float: left;
    position: relative;
    z-index: 1;
    margin-right: 25px
}
.nav:focus {
    outline: none;
}
.nav .icon-container {
    width: 100%;
    position: absolute;
    top: 16px;
    left: 0;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.nav .line {
    width: 26px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    height: 2px;
    background-color: #545454;
    transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
}
.nav .line01 {
    top: 0;
    opacity: 1;
    transition-delay: 210ms;
}
.nav .line02 {
    top: 7px;
    transition-delay: 140ms;
}
.nav .line03 {
    top: 14px;
    transition-delay: 70ms;
}
.nav .line04 {
    top: 21px;
    opacity: 0;
    transition-delay: 0ms;
}
.active .nav .line {
    left: 28px;
}
.nav:hover .line {
    transform: translate3d(0, -7px, 0);
}
.nav:hover .line01 {
    opacity: 0;
    transition-delay: 0ms;
}
.nav:hover .line02 {
    transition-delay: 70ms;
}
.nav:hover .line03 {
    transition-delay: 140ms;
}
.nav:hover .line04 {
    opacity: 1;
    transition-delay: 210ms;
}
.open.nav .line {
    transition: all 0.3s;
}
.open.nav:hover .line {
    transform: none;
}
.open.nav .line:nth-child(2) {
    background: 0;
}
.open.nav .line:nth-child(4) {
    background: 0;
}
.open.nav .line:nth-child(1) {
    transform: rotate(-45deg);
    top: 7px;
    opacity: 1;
}
.open.nav .line:nth-child(3) {
    transform: rotate(45deg);
    top: 7px;
    opacity: 1;
}
.works-filter {
    float: left;
    line-height: 46px;
    margin-bottom: 42px;
    overflow: hidden;
}
.works-filter a {
    display: inline-block;
    position: relative;
    font-size: 18px;
    padding-right: 8px;
    padding-left: 8px;
    color: #111111;
    font-weight: 300;
    transform: translate3d(-200px, 0, 0);
    opacity: 0;
    padding-right: 0px;
    padding-left: 0px;
    line-height: 30px;
}
.works-filter.open a {
    opacity: 1;
    transition: all 300ms cubic-bezier(.175, .885, .32, 1.075);
}
.works-filter.open a {
    transform: translate3d(0, 0, 0);
}
.works-filter.open a:nth-child(1) {
    transition-duration: 600ms;
}
.works-filter.open a:nth-child(2) {
    transition-duration: 400ms
}
.works-filter.open a:nth-child(3) {
    transition-duration: 300ms
}
.works-filter.open a:nth-child(4) {
    transition-duration: 200ms
}
.works-filter a::after  {
    position: absolute;
    bottom:0;
    left: 10px;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width .2s ease-in-out;
    content: '';
}

.works-filter a:hover::after, .works-filter .active::after  {
    width: calc(100% - 20px);
    height: 1px;
    background: #333;
}


#work-grid, #dribbble-portfolio {
    clear: both;
}
.js-masonry {
    height: 100% !important;
    clear: both;
}
/*Overlay Thumb Portftolio and Team*/
.img {
    position: relative;
    overflow: hidden;
    display: inherit;
}

.mix .img {
    margin-bottom: 0px;
}
.img img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
    transition: opacity 0.35s, transform 0.35s;
    -o-transition: opacity 0.35s, -o-transform 0.35s;
}
.img:hover img {
    transform: scale(1.1);
    transition: transform 0.5s;
}
.overlay-thumb a.main-portfolio-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px;
    z-index: 4;
    cursor: url(../img/cursor.png), auto;
}
.img .overlay-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border: none;
    transition: all 0.5s ease-out;
    z-index: 4;
}
.img .overlay-thumb:hover {
    opacity: .85;
    filter: alpha(opacity=85);
}


.img .overlay-thumb.bg-white:hover, 
.img .overlay-thumb:hover, 
.overlay-thumb.team-hover:hover,
.img .overlay-thumb:hover{
    background-color: #fff;
}
.overlay-thumb span {
    position: relative;
    z-index: 1;
    line-height: 15px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
}
.details span.title,
.details span.info {
    color: #111111;
}
.details span.title {
    font-size: 18px;
    letter-spacing: 1.2pt;
    line-height: 24px;
    text-transform: uppercase;
}
.details span.info {
    font-size: 14px;
    text-transform: uppercase;

}
.overlay-thumb .btnBefore,
.overlay-thumb .btnAfter {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border: solid #000;
    border-width: 0;
    transition: all ease-in-out;
    -webkit-transition: all ease-in-out;
    -moz-transition: all ease-in-out;
    -o-transition: all ease-in-out;
    -ms-transition: all ease-in-out;
}
.overlay-thumb .btnBefore {
    width: 0;
    height: 0;
    right: 0;
    bottom: 0;
}
.overlay-thumb .btnAfter {
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}
.overlay-thumb:hover .btnBefore {
    border-width: 0 0 3px 3px;
}
.overlay-thumb:hover .btnAfter {
    border-width: 3px 3px 0 0;
}
.overlay-thumb:hover .btnAfter,
.overlay-thumb:hover .btnBefore {
    height: 100%;
    width: 100%;
    transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
    -webkit-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
    -moz-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
    -o-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
    -ms-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
}
.overlay-thumb:hover:before,
.overlay-thumb:hover span {
    opacity: 1;
}
.overlay-thumb:hover .details span {
    top: 0;
}
.overlay-thumb:hover .title {
    transition-delay: 0.15s;
}
.overlay-thumb:hover .info {
    transition-delay: 0.25s;
}

/*Efecto on portfolio*/
.details {
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}
.details span {
    display: block;
    opacity: 0;
    position: relative;
    top: 100px;
    transition-property: top, opacity;
    transition-duration: 0.3s;
    transition-delay: 0s;
}
.details .title {
    line-height: 1;
    font-weight: 600;
    font-size: 18px;
}
.details .info {
    line-height: 1.2;
    letter-spacing: 1.5pt;
    margin-top: 5px;
    font-size: 12px;
}
.img .like-product {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    cursor: pointer;
    opacity: 0;
    text-align: center;
}
.img:hover .like-product {
    opacity: 1;
}
.like-product i {
    font-size: 24px;
    cursor: pointer;
    margin-top: 18px;
    margin-left: 18px;
    border-radius: 50%;
    display: inline-block;
    color: #111111;
    transition: .4s;
}
