///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.jeu-grid3 {
    @include outer-container;
    margin-top: 60px;
    margin-bottom: 40px;
}

.jeu-grid3-wrapper {
    @include span-columns(10);
    @include shift(1);
}

.jeu-grid3-item {
    background-color: #f4f4f4;
    overflow: hidden;
    position: relative;
}

.jeu-grid3-item-reverse {
    @include direction-context(right-to-left) {
        .jeu-grid3-item-img {
            @include span-columns(6);
            margin-right: 0;
            width: 50.65%;

            .jeu-grid3-item-arrow {
                transform: rotate(180deg);
                left: 0;
            }
        }

        .jeu-grid3-item-info {
            @include span-columns(6);
            left: 0;
        }
    }
}

.jeu-grid3-item-img {
    @include span-columns(6);
    overflow: hidden;
    float: left;
    position: relative;
    img {
        display: block;
        width: 100%;
    }
}

.jeu-grid3-item-arrow {
    $arrowheight: 73px;
    position: absolute;
    top: 50%;
    right: 0;
    background: url('../img/layout/jeu-grid-item-arrow.png');
    width: 52px;
    height: $arrowheight;
    margin-top: -$arrowheight/2;
}

.jeu-grid3-item-info {
    @include span-columns(6);
    float: left;
    position: absolute;
    height: 100%;
    right: 0;
}

.jeu-grid3-item-info-container {
    width: 100%;
    height: 100%;
    display: table;
}

.jeu-grid3-item-info-wrapper {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.jeu-grid3-item-info-icon {
    display: inline-block;
    margin-bottom: 10px;
    width: 40px;
    height: 40px;

    svg
    {
      display: block;
      fill: $color-golden;
      height: 100%;
      width: 100%;
    }
}

.jeu-grid3-item-info-title {
    text-transform: uppercase;
    color: $color-golden;
    font-family: "Lucien-bold";
    font-size: 1.4em;
    margin-bottom: 20px;
    a {
        color: $color-golden;
    }
}

.jeu-grid3-item-info-txt {
    margin-bottom: 20px;
}

///////////////////////////////////////////////////////////////
// Device: Tablet :: LANDSCAPE
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .jeu-grid3-item-info-title {
        font-size: 1.2em;
    }
    .jeu-grid3-item-info-txt {
        font-size: 0.9em;
        padding: 0 20px;
    }
    .jeu-grid3-btn {
        font-size: 0.75em;
        &:hover {
            font-size: 0.75em;
        }
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile:: PORTRAIT
///////////////////////////////////////////////////////////////

@include tablet-portrait-and-below {
    .jeu-grid3-item-img {
        @include span-columns(12);
    }
    .jeu-grid3-item-info {
        @include span-columns(12);
    }
    .jeu-grid3-item-reverse {
        @include direction-context(right-to-left) {
            .jeu-grid3-item-img {
                @include span-columns(12);
            }

            .jeu-grid3-item-info {
                @include span-columns(12);
            }
        }
    }
    .jeu-grid3-item-info {
        position: relative;
        padding: 40px;
    }
    .jeu-grid3-item-info-title {
        font-size: 1.4em;
    }
    .jeu-grid3-item-info-txt {
        font-size: 1em;
        padding: 0 20px;
    }
    .jeu-grid3-btn {
        font-size: 1em;
        &:hover {
            font-size: 1em;
        }
    }
    .jeu-grid3-item-arrow {
        display: none;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {

}