/*------------------------------------------------------------------
[Master Stylesheet]

Project:	 Tink
Version:	 1
Assigned to: Alex
Description: Contains general css. 
-------------------------------------------------------------------*/

/*
* Home page
*/
.home.c-main{
    margin: 100px 0 0 65px;
}
    .home.c-main h2{
        font-family: 'nexa_light_italic';
        font-weight: 300;
        font-size: 30px;
        margin: 0 0 50px 0;
        color: #fa015f;
    }
    .home.c-main img,
    .home.c-main .c-hover{
        display: inline-block;
        vertical-align: bottom;
    }
    .home.c-main .second{
        margin-left: 0px;
    }
    .home.c-main .case-study{
        /*font-family: 'nexa_light_italic';
        font-weight: 300;
        font-size: 30px;
        */
        margin-top: 10px;
        color: #fa015f;
    }
    .home.c-main .c-content{
        margin-top: 50px;
    }
    
/*
* Posts page
*/
.post.c-main{
    padding-top: 80px;
}

/*
* About page
*/
.author-name{
    display: block;
    height: 134px;
    line-height: 134px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    font-family: 'nexa_light';
    background: #f90761;
    /* Fallback (could use .jpg/.png alternatively) */
    background-color: #f90761;
    /* Safari 4, Chrome 1-9, iOS 3.2-4.3, Android 2.1-3.0 */
    background-image: -webkit-gradient(linear, left top, right top, from(#ff0865), to(#ca044e));
    /* Safari 5.1, iOS 5.0-6.1, Chrome 10-25, Android 4.0-4.3 */
    background-image: -webkit-linear-gradient(left, #ff0865, #ca044e);
    /* Firefox 3.6 - 15 */
    background-image: -moz-linear-gradient(left, #ff0865, #ca044e);
    /* Opera 11.1 - 12 */
    background-image: -o-linear-gradient(left, #ff0865, #ca044e);
    /* Opera 15+, Chrome 25+, IE 10+, Firefox 16+, Safari 6.1+, iOS 7+, Android 4.4+ */
    background-image: linear-gradient(to right, #ff0865, #ca044e);
}

/*
* Article content
*/
.c-post-content{padding-left: 63px;}

    .c-post-content .title-sec,
    .c-post-content .title-main{
        color: #fa015f;
    }
    .c-post-content .title-sec{
        font-family: 'fira sans';
        font-style: italic;
        font-weight: 300;
        margin-top: 50px;
    }
    .c-post-content .title-main{
        font-family: 'nexa_bold';
        font-size: 70px;
        line-height: 50px;
        /*font-weight: bold;*/
        text-transform: uppercase;
        margin-top: 10px;
    }
        .c-post-content .title-main img{
            display: inline-block;
            vertical-align: bottom;
            margin-left: 50px;
        }

    .post-content{
        padding-top: 60px;
    }
        .post-content h3{
            color: #fa015f;
            font-family: 'fira sans';
            font-size: 26px;
            font-weight: 300;
            margin: 40px 0;
        }
        .post-content p{
            font-family: 'fira sans';
            line-height: 30px;
            margin: 0;
            font-weight: 300;
            font-size: 20px;
        }
        .post-content .multiple-dots{
            display: inline-block;
            margin-left: 20px;
        }

.post-content .bold {
            font-size: 26px;
            margin: 25px 0;
            font-family: 'fira sans';
            font-weight: 400;
            margin-top: 50px;

        }

.underline a {
            text-decoration: underline;
            }

.note p {
            font-size: 14px;
            }

.post-content p span {
            font-family: 'fira sans';
            font-style: italic;
            color: #fa015f;
            }

.much-up {
            font-family: 'fira sans';
            line-height: 0px;
            text-align: center;
            color: #fa015f;
            margin-top: 300px;
            font-weight: 300;
            font-size: 20px;
        }

.much-down {
            font-family: 'fira sans';
            line-height: 20px;
            text-align: center;
            margin: 0;
            font-weight: 300;
            font-size: 20px;
        }

.c-img img{
       margin-bottom: 10px;
       }

.social{
    margin-top: 80px;
}
    .social a{
        display: inline-block;
        vertical-align: middle;
        width: 81px;
        height: 81px;
        background-repeat: no-repeat;
        background-position: center center;
        margin-right: 16px;
    }
    .social .fb{
        background: url(../images/facebook.png) no-repeat 0px 0px;
        transition: background 0.35s;
        -webkit-transition: background 0.35s;
        -moz-transition: background 0.35s;
        -o-transition: background 0.35s;
        -ms-transition: background 0.35s;

    }
    .social .fb:hover{
        background: url(../images/facebook-hover.png) no-repeat 0px 0px;

    }
    .social .tw{
        background: url(../images/twitter.png) no-repeat 0px 0px;
        transition: background 0.35s;
        -webkit-transition: background 0.35s;
        -moz-transition: background 0.35s;
        -o-transition: background 0.35s;
        -ms-transition: background 0.35s;
    }
    .social .tw:hover{
        background: url(../images/twitter-hover.png) no-repeat 0px 0px;
    }



.article-nav{
    display: block;
}
.article-nav:hover{
    text-decoration: none;
}
    .c-nav-txt{
        position: relative;
        z-index: 1;
        background: #f9015e;
        color: #fff;
        width: 30%;
        text-transform: uppercase;
        padding: 60px 30px 0;
        min-height: 226px;
    }

        .c-nav-txt h1{
            font-size: 21px;
            font-family: 'fira sans';
            font-weight: bold;
        }
            .c-nav-txt h1 span{
                font-size: 37px;
            }

        .c-nav-txt h2{
            font-size: 21px;
        }
        .c-nav-text-hover{
            display: none;
        }
        .article-nav:hover .c-nav-text-hover{
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 10;
            background: #f9015e;
            width: 100%;
            height: 100%;
            text-align: center;

        }
            .c-nav-text-hover img{
                display: inline-block;
                margin: 17px 0;
                }

    .c-nav-img{
        width: 70%;
        position: relative;
        z-index: 10;
    }
        .article-nav .pattern{
            position: absolute;
            z-index: 100;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url(../images/pattern.png) repeat left top;
        }
        .article-nav:hover .pattern{
            display: none;
        }

.c-post-date{
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    background: #f9015e;
    color: #fff;
}
.post-date{
    max-width: 1800px;
    margin: 0 auto;
    padding-left: 87px;
}
    .c-post-date .ar-small{
        display: inline-block;
        vertical-align: middle;
        width: 21px;
        height: 34px;
        background-repeat: no-repeat;
        background-position: center center;
    }
    .c-post-date .ar-small.prev{
        background-image: url(../images/prev-small.png);
        margin-right: 25px;
    }
    .c-post-date .ar-small.next{
        background-image: url(../images/next-small.png);
        margin-left: 25px;
    }
    .post-date ul{
        list-style: none;
        margin: 0;
        padding: 0;
        display: inline-block;
    }
        .post-date li{
            display: inline-block;
            margin-right: 55px;
        }
        .post-date li:last-child{
            margin-right: 0;
        }
            .post-date a{
                position: relative;
                color: #fff;
                font-size: 18px;
                height: 63px;
                line-height: 63px;
                white-space: nowrap;
            }
            .post-date a,
            .post-date a.active
            .post-date a:hover,
            .post-date a:active{
                text-decoration: none;
            }
            .post-date a.active:before{
                content: '';
                position: absolute;
                bottom: -36px;
                left: 50%;
                width: 0;
                height: 0;
                border-left: 18px solid transparent;
                border-right: 18px solid transparent;
                border-top: 18px solid #f9015e;
                margin-left: -18px;
            }

/*
* Work page
*/
.c-logos{
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0;
    width: 100%;
}
    .c-logos li{
        display: inline-block;
        vertical-align: top;
        background: #f8f8f8;
        width: 23%;
        width: calc(25% - 30px);
        margin-bottom: 40px;
        margin-right: 40px;
        height: 370px;
        line-height: 370px;
        text-align: center;
        padding: 0 20px;
    }
    .c-logos li:nth-child(4n+4){
        margin-right: 0;
    }
        .c-logos li img{
            display: inline-block;
            vertical-align: middle;
        }

/*
* Contact form
*/
.c-form{
    position: absolute;
    z-index: 1001;
    top: 0;
    left: 0;
    margin-left: 0;
    width: 100%;
    font-family: 'nexa_light';
    font-size: 70px;
    display: none;
    background: rgba(255,255,255, 0.97);
}
.c-form.show{display: block;}

.form{padding: 0 50px 50px;}

.cf-close {
    position: absolute;
    top: 48px;
    right: 50px;
    width: 90px;
    height: 97px;
    background: url(../images/close.png) no-repeat center center;
    cursor: pointer;
}
    .c-form header{
        margin-left: 20px;
    }
        .c-form h1{
            color: #f9015e;
            font-size: 70px;
            margin: 30px 0 50px;
        }
        .c-form h2{
            font-size: 70px;
            color: #393939;
        }
    .form-row{
        border-top: 2px solid #f9015e;
        padding-top: 35px;
    }
        .form-row .form-el{
            color: #393939;
            height: 80px;
            line-height: 100px;
            padding: 0 20px;
            margin: 0;
            display: block;
            width: 100%;
            border: 0;
            font-weight: 300;
            font-family: 'nexa_light';
            background: transparent;
        }
        .form-row .form-textarea{
            overflow: hidden;
            line-height: 100px;
            height: 110px;
            min-height: 110px;
            font-size: inherit;
            resize: none;
            -webkit-transition: height 0.35s;
            -moz-transition: height 0.35s;
            transition: height 0.35s;
        }
        .form-row .form-btn{
            background: none;
            border: 0;
            border-bottom: 6px solid #f9015e;
            color: #f9015e;
            font-weight: 300;
            font-family: 'nexa_light';
            height: 110px;
            padding: 0;
            margin-left: 20px;
        }
        .form-row .form-btn:hover{
            border: 0;
        }
        .form-row .form-el:focus,
        .form-row .form-btn:focus{
            outline: 0;
        }

        #messages{
            padding: 20px;
            font-size: 18px;
        }

/*
* Media queries
*/


@media (max-width: 1800px) {

    .article-nav.next .c-nav-img{width: auto;}
    .article-nav.next .c-nav-txt.f-right{float: left;}

    .c-nav-txt {
        min-height: 198px;
    }
    .c-nav-img img{
        height: 198px;
    }
}


@media (max-width: 1689px) {
    
    .c-post-content .title-main img{
            display: inline-block;
            vertical-align: bottom;
            margin: 14px 0 0 50px;
        }
}


@media (max-width: 1600px) {


    .c-nav-txt {
        padding-top: 20px;
        min-height: 158px;
    }
    .c-nav-txt h1 {
        font-size: 18px;
    }
    .c-nav-txt h1 span {
        font-size: 25px;
    }
    .c-nav-img img{
        height: 158px;
    }
    .c-nav-text-hover img {
        height: 70px;
    }
    .author-name {
        height: 120px;
        line-height: 120px;
        font-size: 28px;
    }


}

@media (max-width: 1370px) {
    .c-row-header > h1,
    .c-row-header > a > h1{
        font-size: 30px;
    }

    .c-post-content .title-main {
        font-size: 65px;
        line-height: 38px;
    }
 
    .author-name {
        height: 100px;
        line-height: 100px;
        font-size: 24px;
    }


}

@media (max-width: 1300px) {
    .c-nav-txt {
        padding: 15px 30px 0;
        min-height: 138px;
    }
        .c-nav-txt h1 {
            font-size: 17px;
        }
            .c-nav-txt h1 span {
                font-size: 23px;
            }
    .c-nav-img img{
        height: 138px;
    }

    .c-row-header.two-third,
    .row-image.two-third {
        width: 55%;
    }
    .c-row-header.one-third,
    .row-image.one-third {
        width: 45%;
    }

    
    .post-content h3 {
        font-size: 24px;
        margin: 25px 0;
    }

    .c-logos li {
        width: 23%;
        width: calc(25% - 20px);
        margin-bottom: 20px;
        margin-right: 20px;
        height: 250px;
        line-height: 250px;
    }

    .c-post-content .title-main {
        font-size: 53px;
    }
}

@media (max-width: 1150px) {
    .container-fluid{
        width: 100%;
        padding: 0;
    }
    .row,
    .sm-offset .row,
    .lg-offset .row{
        margin: 0;
    }

    .column{
        float: none;
        padding: 10px 5px;
    }
    .sm-offset .column{
        padding: 5px;
    }
    .lg-offset .column{
        padding: 15px 5px;
    }
    .column-one-third,
    .column-quarter,
    .column-half,
    .column-third{
        width: 100%;
    }
    .column-half .column-half{
        width: 50%;
        float: left;
    }

    .post .row .column-hover {
        min-height: 100px;
    }

    .row-image img + img {
        padding-left: 0;
    }

    .c-nav-img {
        float: left !important;
    }

    .author-name {
        height: 80px;
        line-height: 80px;
        font-size: 24px;
    }
    .much-up {
            margin-top: 40px;
    }


}

@media (max-width: 1024px){
    .c-nav-txt {
        text-align: center;
    }
        .c-nav-txt h1 {
            display: none;
        }
        .c-nav-text-hover {
            display: inline-block;
            text-align: center;
        }
        .article-nav:hover .c-nav-text-hover {
            position: static;
        }
            .c-nav-text-hover img {
                margin-top: 10px;
            }

    .article-nav .pattern {display: none;}

    .c-content {
        margin-top: 40px;
        font-size: 14px;
    }

    .c-row-header.one-third,
    .row-image.one-third,
    .c-row-header.two-third,
    .row-image.two-third{
        float: none;
        width: 100%;
    }

    .row-image.two-third {
        padding-left: 0;
        text-align: center;
    }
    .row-image.two-third img,
    .row-image.one-third img{
        height: 250px;
    }
    .row-image.two-third img + img,
    .row-image.one-third img + img{
        margin-left: 30px;
    }

    .post-content h3 {
        font-size: 24px;
        margin: 25px 0;
    }

    .post-content p {
        line-height: 30px;
        font-size: 20px;
    }

    .much-up {
            margin-top: 40px;
            font-weight: 300;
            font-size: 14px;
    }

    .much-down {
            font-weight: 300;
            font-size: 14px;
    }

        .c-form,
        .c-form h1,
        .c-form h2 {
            font-size: 50px;
        }
        .form-row .form-el {
            height: 80px;
            line-height: 80px;
        }
        .form-row .form-btn{
            height: 70px;
        }
        .cf-close {
            top: 12px;
            right: 28px;
            background-size: 45px auto;
        }

    .author-name {
        height: 54px;
        line-height: 54px;
        font-size: 18px;
    }

    .c-nav-txt {
        padding: 15px 30px 0;
        min-height: 141px;
    }
    .c-nav-img img{
        height: 141px;
    }

    .column-hover .c-hover > img{
        visibility: hidden;
    }
    .column-hover .c-hover .c-hover-title{
        display: block;
    }

    .c-content-hover{
        display: none;
    }

}

@media (max-width: 1000px){
    .home.c-main {
        margin-left: 45px;
    }
    .header .f-left img{
        width: 545px;
    }
    .c-menu {
        margin: 32px 0 0 45px;
    }
    .menu a {
        font-size: 22px;
        line-height: 22px;
        height: 22px;
    }
    .c-lang {
        margin: 27px 0 0;
    }

    .home.c-main .second {
        margin-left: 25px;
    }

    .post-date {
        padding-left: 70px;
    }
    .c-post-content {
        padding-left: 42px;
    }

}

@media (max-width: 850px) {
    .home.c-main h2 {
        margin-bottom: 20px;
    }
    .home.c-main .second {
        margin: 20px auto;
        display: block;
        text-align: center;
    }

    .c-logos li {
        width: 23%;
        width: calc(25% - 12px);
        margin-bottom: 15px;
        margin-right: 15px;
        height: 150px;
        line-height: 150px;
    }
}

@media (max-width: 768px) {
    .home.c-main {
        margin-left: 38px;
    }
    .header .f-left img{
        width: 460px;
    }
    .c-menu {
        margin: 27px 0 0 60px;
    }
    .menu a {
        font-size: 22px;
        line-height: 22px;
        height: 22px;
    }
    .c-lang {
        margin: 22px 0 0;
    }

    .c-logos li {
        width: 23%;
        width: calc(25% - 8px);
        margin-bottom: 10px;
        margin-right: 10px;
        height: 100px;
        line-height: 100px;
    }
    .post-date {
        padding-left: 62px;
    }
    .c-post-content {
        padding-left: 35px;
    }

}

@media (max-width: 685px) {
    .header .f-left img {
        width: 240px;
    }
    .menu-toggle{
        display: inline-block;
        width: auto !important;
        cursor: pointer;
    }
    .c-menu {
        margin: 12px 0 0 50px;
        float: right;
    }
    .menu{
        display: none;
    }
    .c-lang {
        margin: 11px 0 0;
    }

    .menu-mobile{
        display: none;
        position: absolute;
        z-index: 1000;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
    .menu-mobile.show{
        display: block;
    }
        .menu-close{
            position: absolute;
            top: 35px;
            right: 35px;
            width: 35px;
            height: auto;
            cursor: pointer;
        }
        .menu-mobile ul{
            list-style: none;
            padding: 0;
            margin: 100px 0 0;
            text-align: center;
        }
            .menu-mobile a{
                font-size: 38px;
                font-family: 'nexa_light';
                font-weight: 300;
            }

    .home.c-main {
        margin-left: 19px;
    }
    .home.c-main h2 {
        font-size: 18px;
    }
    .home.c-main .case-study {
        font-size: 18px;
    }


    .c-hover-title{
        display: block !important;
    }
    .c-lang{display: none;}

    .post-date {
        padding-left: 40px;
    }
    .c-post-content {
        padding-left: 16px;
    }

    .c-row-header {
        padding: 20px 15px 0;
    }
        .c-row-header > h1,
        .c-row-header > a > h1 {
            font-size: 20px;
        }

}

@media (max-width: 645px){
    .page {
        padding: 10px;
    }
    .home.c-main {
        margin-left: 0;
    }
    .c-post-content .title-main {
        font-size: 45px;
        line-height: 44px;
    }

    .post-date li {
        margin-right: 20px;
    }

    .author-name {
        height: 32px;
        line-height: 32px;
        font-size: 13px;
    }

    .post-content p{
            font-family: 'fira sans';
            line-height: 18px;
            margin: 0;
            font-weight: 300;
            font-size: 14px;
        }

    .post-content .bold {
        font-size: 18px;
        margin: 25px 0;
        font-family: 'fira sans';
        font-weight: 400;
        margin-top: 50px;

    }

    .post-content {
        padding-top: 35px;
    }
        .post-content h3 {
            font-size: 16px;
            margin: 20px 0;
        }

    .social {
        margin-top: 35px;
    }

    .form{
        padding: 0 15px 15px;
    }
    .c-form header{
        margin-left: 10px;
    }
    .c-form,
    .c-form h1,
    .c-form h2 {
        font-size: 26px;
    }
    .form-row .form-el {
        height: 45px;
        line-height: 45px;
        padding: 0 10px;
    }
    .form-row .form-btn{
        height: 35px;
        margin-left: 10px;
        border-bottom-width: 3px;
    }
    .cf-close {
        top: 27px;
        right: 15px;
        background-size: 25px auto;
        width: 25px;
        height: 40px;
    }
    .post-date {
        padding-left: 33px;
    }
    .c-post-content {
        padding-left: 17px;
    }
}

@media (max-width: 600px) {
    .c-nav-img img {
        height: 90px;
    }
    .c-nav-txt {
        padding: 0 10px 0;
        min-height: 90px;
    }
        .c-nav-txt h2 {
            font-size: 12px;
        }

    .c-nav-text-hover img {
        height: 40px;
    }


    .post-date a {
        font-size: 14px;
        height: 40px;
        line-height: 40px;
    }
    .post-date a.active:before {
        bottom: -27px;
    }

    .c-post-date .ar-small {
        background-size: auto 22px;
    }
    .c-post-date .ar-small.prev {
        margin-right: 10px;
    }
    .c-post-date .ar-small.next {
        margin-left: 10px;
    }

    .c-post-content .title-main{margin-top: 20px;}
    .c-post-content .title-main img{display: none;}
    .post-content{
        padding-top: 20px;
    }

    .post-content .bold {
        font-size: 16px;
        font-family: 'fira sans';
        font-weight: 400;
        margin-top: 50px;

    }

    .c-menu {
        margin-left: 20px;
        margin-top: 10px;
    }
    .post-date li {
        margin-right: 12px;
    }

    .c-nav-img img {
        height: 71px;
    }
    .c-nav-txt {
        min-height: 71px;
    }
    .c-nav-text-hover img {
        height: 25px;
    }

    .post-date {
        padding-left: 28px;
    }
    .c-post-content {
        padding-left: 18px;
    }
}

@media (max-width: 400px){
    .post-date {
        padding-left: 26px;
    }
    .c-post-content {
        padding-left: 15px;
    }
    .c-logos li {
        width: 23%;
        width: calc(25% - 4px);
        margin-bottom: 5px;
        margin-right: 5px;
        height: 50px;
        line-height: 50px;
    }
}

@media (max-width: 350px) {
    .page {
        padding: 5px;
    }
    .c-menu {
        margin-top: 9px;
    }
    .header .f-left img {
        width: 200px;
    }
    .footer {
        margin: 100px auto 0;
        width: 100%;
        text-align: center;
    }

    .post-date li {
        margin-right: 8px;
    }
        .post-date a {
            font-size: 12px;
        }

    .c-post-date .ar-small {
        background-size: auto 18px;
    }
    .c-post-date .ar-small.prev {
        margin-right: 8px;
    }
    .c-post-date .ar-small.next {
        margin-left: 8px;
    }
    .post-date {
        padding-left: 18px;
    }
    .c-post-content {
        padding-left: 12px;
    }

}