html.noscroll,
html.noscroll body{
    overflow: hidden;
}

.instalive .heading{
    text-align: center;
    margin-bottom: 20px;
}
#environment{
    -webkit-perspective: 500px;
    -webkit-perspective-origin: 60% 50%;
    -moz-perspective: 500px;
    -moz-perspective-origin: 60% 50%;
    -ms-perspective: 500px;
    -ms-perspective-origin: 60% 50%;
    -o-perspective: 500px;
    -o-perspective-origin: 60% 50%;
    perspective: 500px;
    perspective-origin: 60% 50%;
    width: 500px;
    width: 100%;
    margin: 0 auto;
    height: 500px;
    margin-bottom: 43px;
}
#environment-inner{
    width: 500px;
    width: 100%;
    position: absolute;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    top:0px; /*left: -267px;*/
    pointer-events: none;
}

.instagram3d-item{
    width: 500px;
    width: 100%;
    height: auto;
    position: absolute;
    padding-top: 0;
    margin: 0;
    -webkit-transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
    pointer-events: auto;
}
.instagram3d-item.out{
    opacity: 0;
    pointer-events: none;
}
.instagram3d-item.current .item-description{
    opacity: 1;
    -webkit-transform: translateX(0);
       -moz-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
}

.item-visuel,
.item-description{
    display: inline-block;
    vertical-align: middle;
}
.item-visuel{
    margin-right: 190px; z-index: 1; position: relative;
    -moz-box-shadow: 10px 10px 40px 0px rgba(0,0,0,.1);
    -webkit-box-shadow: 10px 10px 40px 0px rgba(0,0,0,.1);
    -o-box-shadow: 10px 10px 40px 0px rgba(0,0,0,.1);
    box-shadow: 10px 10px 40px 0px rgba(0,0,0,.1);
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#0000001a, Direction=134, Strength=40);
}
.item-description{
    font-size: 18px;
    max-width: 30%;
    z-index: 0;
    opacity: 0;
    letter-spacing: 0.05em;
    -webkit-transform: translateX(-100%);
       -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
            transform: translateX(-100%);
}
.insta-metas ul{
    margin: 0;
    padding: 0 !important;
    margin-bottom: 1em !important;
}
.insta-metas li{
    float: left;
    margin-right: 26px;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.2em;
}
.insta-metas li:last-child{margin-right: 0;}

.insta-metas p{
    margin-bottom: 0 !important;    
}
.insta-metas p a{color: #ff7457 !important;}

.instalive-controls{text-align: center;}
.instalive-controls-inner{display: inline-block;}
.instalive-control{
    cursor:pointer; 
    font-size: 40px;
}
.instalive-control:hover{color: #ff7457 !important}
.instalive-controls .prev{ float: left; }
.instalive-controls .next{ float: right; }
.instalive-controls-label{
    margin: 0 18px;
    font-size: 10px;
    line-height: 40px;
    letter-spacing: 0.2em;
    font-weight: bold;
    font-family: arial;
}

@media (max-width: 980px){
    .instalive{
        width: 80%;
        margin: 0 auto;
    }
    .instalive .heading{margin-bottom: 30px}
    #environment{
        -webkit-perspective: 100%;
        -webkit-perspective-origin: 50% -4%;
        -moz-perspective: 100%;
        -moz-perspective-origin: 50% -4%;
        -ms-perspective: 100%;
        -ms-perspective-origin: 50% -4%;
        -o-perspective: 100%;
        -o-perspective-origin: 50% -4%;
        perspective: 100%;
        perspective-origin: 50% -4%;
        height: 543px;
        height: 463px;
        /*height: 613px;*/
    }
    .item-visuel, .item-description{display: block;}
    .item-visuel{margin: 0 0 20px 0}
    
    .item-description{max-width: 100%; text-align: center;}
    .insta-metas{display: inline-block;}
    .insta-metas li{margin-right: 20px;}

    .item-description{
        -webkit-transform: translate(0,-100%);
           -moz-transform: translate(0,-100%);
            -ms-transform: translate(0,-100%);
                transform: translate(0,-100%);
    }
    .instagram3d-item.current .item-description{
        opacity: 1;
        -webkit-transform: translate(0,0);
           -moz-transform: translate(0,0);
            -ms-transform: translate(0,0);
                transform: translate(0,0);
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    #environment{
        max-width: 500px;
        height: 630px;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    .item-visuel{
        margin-right: 20px;
    }
}























