/*------------------------------------------------------------------
[Modules Stylesheet]

Project:	 Tink
Version:	 1
Assigned to: Alex
Description: Contains the css for modules.
-------------------------------------------------------------------*/

/*
* General classes
*/
.pink{
    color: #fa015f;
}
.relative{
    position: relative;
}

.c-overlay{
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255, 0.97);
}

.menu-toggle,
.menu-mobile{
    display: none;
}

/*
* General blocks
*/

/*Hover title*/
.c-hover{
    position: relative;
    cursor: pointer;
}
    .c-hover-title{
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        font-size: 0;
    }
    .c-hover:hover img,
    .column-hover:hover .c-hover img{visibility: hidden;}
    .c-hover:hover .c-hover-title,
    .column-hover:hover .c-hover-title{display: block;}

    .c-hover:hover .c-hover-title img,
    .column-hover:hover .c-hover .c-hover-title img{visibility: visible;}

/*
* Header
*/
.c-menu{margin: 43px 0 0 25px;}
.menu{
    margin: 0;
    padding: 0;
}
    .menu li{margin: 0 0 8px;}
    .menu .item-2 {margin-left: -20px;}
    .menu .item-3 {margin-left: -40px;}
    .menu .item-4 {margin-left: -60px;}

        .menu a{
            display: block;
            color: #393939;
            text-transform: uppercase;
            white-space: nowrap;
            font-size: 26px;
            line-height: 26px;
            height: 26px;
        }
        .menu a:hover{
            text-decoration: none;
            color: #fa015f;
        }
        .menu .active a{
            color: #fa015f;
            position: relative;
        }
        .menu .active a:before{
            position: absolute;
            top: 0;
            left: -21px;
            content: '';
            background: url(../images/slash.png) no-repeat left center;
            width: 17px;
            height: 21px;
            display: inline-block;
        }

.c-lang{
    margin: 40px 0 0;
    font-size: 23px;
    text-transform: uppercase;
}

/*
* Footer
*/
.footer{
    margin: 412px auto;
    width: 320px;
    text-align: center;
}
    .circle{
        position: center;
        display: inline-block;
        
    }
    .circle:before{
        content: '';
        position: absolute;
        
    }
    .footer h5{
        font-family: 'fira sans';
        font-weight: 300;
        color: #777;
        margin-top: 30px;
    }

/*
* Posts
*/
.post .row .column-hover{
    background-image: url(../images/dots.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    transition: all 0.3s ease-in;
    padding-bottom: 4px;
    min-height: 370px;
}
.post .is-article {
    display: none;
}
.post .is-article.active {
    display: block;
}


@media (min-width: 1024px) {
    .post .row .column-hover:hover{
        cursor: pointer;
        background-image: url(../images/border.png);
    }
    .post .row .column-hover .row-image img{
        opacity: 0.93;
    }
    .post .row .column-hover:hover .row-image img{
        opacity: 1;
    }
}

    .c-row-header{
        padding: 40px 20px 20px 30px;
        vertical-align: top;
    }
    .c-row-header.f-left,
    .c-row-header.f-right,
    .row-image.f-right,
    .row-image.f-left{
        float: none;
        display: inline-block;
    }

        .c-row-header > h1,
        .c-row-header > a > h1{
            font-family: 'Fira Sans';
            font-weight: 300;
            font-style: italic;
            color: #fa015f;
            margin-bottom: 20px;
        }
        .c-row-header > a:hover{
            text-decoration: none;
        }

    .row-image.f-right{
        text-align: right;
        vertical-align: bottom;
    }
    .row-image.f-left{
        text-align: left;
        vertical-align: bottom;
    }
    .row-image.center{
        text-align: center;
    }

    .c-row-header.one-third,
    .row-image.one-third{
        width: 25%;
        margin-right: -4px;
    }
    .c-row-header.two-third,
    .row-image.two-third{
        width: 75%;
        margin-right: -4px;
    }

    .c-row-header.half,
    .row-image.half{
        width: 50%;
        margin-right: -4px;
    }
    .row-image.two-third{
        padding-left: 85px;
        margin-right: -4px;
    }
        .row-image img{
            display: inline-block;
        }
        .row-image img + img{
            padding-left: 85px;
        }

    .c-content{
        margin: 65px 0 15px;
        color: #777;
        font-weight: 300;
        font-style: normal;
        font-size: 18px;
    }
    .case-study{
        display: block;
        margin-top: 10px;
    }


.c-more{
    margin-top: 30px;
    text-align: center;
}

/*
* Consent Banner
*/
.consent-banner {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    background-image: url(../images/dots.png);
    background-repeat: repeat-x;
    background-position: left top;
    transition: all 0.3s ease-in;
    padding: 30px;
    margin: 0 auto;
    animation: slideIn .5s ease-in;
}
    .consent-banner.closed {       
        animation: slideOut .5s ease-in;
    }

    .consent-banner a {
        color: #fa015f;
    }
    
    .consent-banner a:hover {
        font-weight: 700;
    }

.c-banner-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .c-banner-content .icon {
        width: 48px;
        margin-right: 2rem;
        transition: transform .5s ease-in-out;
    }

    .c-banner-content .close {
        margin-left: 6rem;
    }

    .c-banner-content .close img {
        width: 32px;
    }

@keyframes slideIn{
    0%{
        transform: translateY(100%);
    }
} 

@keyframes slideOut{
    100%{
        transform: translateY(100%);
    }
}


    
@media (min-width: 1024px) {

    .consent-banner:hover {
        background-image: url(../images/border.png);
    }

    .consent-banner:hover .icon {
        transform: rotate(360deg);
    }
}

@media (max-width: 1023px) {

    .c-banner-content {
        font-size: 14px;
    }

    .c-banner-content .icon {
        width: 36px;
    }

    .c-banner-content .close img {
        width: 24px;
    }
}

@media (max-width:610px) {

    .c-banner-content .close {
        margin-left: 3rem;
    }
}