@import "compass";
@import "variables";
@import "../../bootstrap/stylesheets/bootstrap/mixins";
@import "../../bootstrap/stylesheets/bootstrap/buttons";

.filterbutton,
.sorterbutton {
    @extend .btn;
    @extend .btn-default;
    display: inline-block;
    /*padding: 0.5em 1.0em;
    background: #eee;
    border: none;
    border-radius: 7px;
    background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
    color: #222;
    font-family: sans-serif;
    font-size: 12px;
    text-shadow: 0 1px white;
    cursor: pointer;*/
    &:hover{
        //@extend .btn-primary;
        /*background-color: #8cf;
        text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
        color: #222;*/
    }
    &:active,
    &.selected{
        //@extend .btn-success;
        //background-color: #28f;
    }
    &.selected{
        /*color: white;
        text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);*/
    }
    &.active{
        //box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
    }
}

/* ---- button-group ---- */

ul.isotope-options {
    /*list-style: none;
    margin: 0;
    padding: 0;*/
    li {
        float: left;
        list-style: none;
        margin: 0;
        padding: 0;
        &:first-child .filterbutton,
        &:first-child .sorterbutton {
            //border-radius: 0.5em 0 0 0.5em;
        }
    }
    &:after {
        content: '';
        display: block;
        clear: both;
    }
    .filterbutton,
    .sorterbutton {
        float: left;
        /*border-radius: 0;
        margin-left: 0;*/
        margin-right: 5px;
        margin-bottom: 5px;
    }
}

ul{
    &.isotope-options {
        list-style: none;
        display: inline-block;
        margin-right: 0px;
        padding: 0;
        li {
            padding: 0;
            margin: 0;
        }
    }
    &.isotope-container {
        margin: 0;
        padding: 0;
        //background: #ddd;
        list-style-type: none ;
        max-width: 1200px;
        &:after {
            content: '';
            display: block;
            clear: both;
        }
        @include make-row();
    }
    .isotope-element {
        overflow: hidden;
        height: 180px;      
        margin-bottom: 15px;
        @include make-sm-column(3);
        //width: 257px;      
        //margin: 0 12px 12px 0;
        //float: left;
        //background: rgba(0,0,0,0.3);
        /*background: black*/;
        list-style: none;
        //margin: 5px;
        //padding: 0;
        * {
            //display: none;
        }
        &.round {
            border-radius: 35px;
            &.big{
                border-radius: 75px;
            }
        }
        &.red {
            background: red;
        }
        &.blue {
            background: blue;
        }
        &.yellow {
            background: yellow;
        }
        &.wide,
        &.big {
            width: 150px;
        }
        &.tall,
        &.big {
            height: 150px;
        }
    }
}

.panel-panel.right{
    h3{
        margin-top: 0;
    }
    .isotope-container{
        .isotope-element{
            @include make-sm-column(6);
            height: 115px;
            div{
                p{
                    padding: 5px 20px;
                    //font-size: 50%;
                    @include transform(translate3d(0,50px,0));
                }
                &:hover{
                &:after {                
                    @include transform(translate3d(0,-80px,0));
                }
                h2{
                    @include transform(translate3d(0,-60px,0));
                }
                p{
                    @include transform(translate3d(0,-15px,0));
                }
                }
            }
        }
    }
}

.thisIsCustomisedLabel {
    color: red;
}



/*-----------------*/
/***** EFFET Goliath *****/
/*-----------------*/
.isotope-element{
    div{
        //background: #0085CB;
        position: relative;
        &:after{
            z-index: 0;
            position: absolute;
            bottom: 0;
            content: " ";
            height: 80px;
            width: 100%;
            @include background-image(linear-gradient(to top, #000000, transparent));
            @include opacity(0.3); 
            @include transition-property(all);
            @include transition-duration(0.35s);
        }
        img,
        h2 {
            @include transition-property(transform);
            @include transition-duration(0.35s);
        }
        img {
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        h2,
        p{
            position: absolute;
            bottom: 0;
            left: 0;
            padding: 30px;
        }
        p{
            text-transform: none;
            font-size: 90%;
            @include opacity(0);
            @include transform(translate3d(0,50px,0));
            @include transition-property(transform, opacity);
            @include transition-duration(0.35s);
        }

        &:hover{
            img,
            &:after {                
                @include transform(translate3d(0,-80px,0));
            }
            h2{
                @include transform(translate3d(0,-100px,0));
            }
            p{
                @include opacity(1); 
                @include transform(translate3d(0,0,0));
            }
        }
        img{
            position: relative;
            display: block;
            min-height: 100%;
            max-width: 100%;
            opacity: 0.8;
        }
        figcaption {
            z-index: 2;
            padding: 2em;
            color: #fff;
            text-transform: uppercase;
            font-size: 1.25em;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }
        figcaption::before,
        figcaption::after {
            pointer-events: none;
        }
        figcaption,
        figcaption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        /* Anchor will cover the whole item by default */
        /* For some effects it will show as a button */
        figcaption > a {
            z-index: 1000;
            text-indent: 200%;
            white-space: nowrap;
            font-size: 0;
            opacity: 0;
        }
        h2 {
            font-size: 15px;
            //word-spacing: -0.15em;
            font-weight: 700;
            color: #fff;
            span {
                font-weight: 800;
            }
        }
        h2,
        p {
            margin: 0;
        }

        p {
            letter-spacing: 1px;
            font-size: 68.5%;
        }
    }
}
