/******************************
*
*  RoyalSlider Default Skin 
*
*    1. Arrows 
*    2. Bullets
*    3. Thumbnails
*    4. Tabs
*    5. Fullscreen button
*    6. Play/close video button
*    7. Preloader
*    
*  Sprite: 'rs-default.png'
*  Feel free to edit anything
*  If you don't some part - just delete it
* 
******************************/

#content .fullscreen-gallery {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 80px;
    left: 0; /* hauteur des miniatures (si il n'y a pas de miniatures mettre cette valeur à 0) */
    z-index: 100;
    width: auto;
    height: auto;
}

.close-gallery-bt {
    position: absolute;
    top: 10%;
    right: 7px;
    z-index: 100;
    margin-top: 0;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    background: #3C2619 url(../images/gallery-bt.png) no-repeat top left;
}

.close-gallery-bt:hover {
    background-color: #85191c;
    background-position: top right;
}

/* Background */
.rsGallery .rsOverflow,
.rsGallery .rsSlide,
.rsGallery .rsVideoFrameHolder,
.rsGallery .rsThumbs {
    background: #2E2D30;
}

.bg .rsGallery .rsOverflow,
.bg .rsGallery .rsSlide,
.bg .rsGallery .rsVideoFrameHolder,
.bg .rsGallery .rsThumbs {
    background: #000;
}

/***************
*
*  1. Arrows
*
****************/

.rsGallery .rsArrow {
    position: absolute;
    z-index: 21;
    display: block;
    width: 52px;
    height: 100%;
    cursor: pointer;
}

.rsGallery.rsVer .rsArrow {
    width: 100%;
    height: 44px;

}

.rsGallery.rsVer .rsArrowLeft {
    top: 0;
    right: 100px;
}

.rsGallery.rsVer .rsArrowRight {
    bottom: 0;
    left: 0;
}

.rsGallery.rsHor .rsArrowLeft {
    top: 0;
    left: 120px;
}

.rsGallery.rsHor .rsArrowRight {
    top: 0;
    right: 0;
}

.fullscreen-gallery.rsHor .rsArrowRight {
    top: 0;
    right: 20px;
}

.rsGallery .rsArrowIcn {
    position: absolute;
    top: 42%;
    margin-top: 0;
    /*left: 50%; */
    margin-left: -50px;
    width: 45px;

    height: 45px;
    border-radius: 2px;
    background: url(../images/gallery-bt.png);
    background-color: #eedb9f;

    cursor: pointer;
}

.rsGallery.rsHor .rsArrowLeft .rsArrowIcn {
    background-position: -58px -25px;
}

.rsGallery.rsHor .rsArrowRight .rsArrowIcn {
    background-position: -58px -58px;
}

.rsGallery.rsHor .rsArrowLeft .rsArrowIcn:hover {
    background-color: #992500;
    background-position: -58px -88px;
}

.rsGallery.rsHor .rsArrowRight .rsArrowIcn:hover {
    background-color: #992500;
    background-position: -58px -121px;
}

.rsGallery.rsVer .rsArrowLeft .rsArrowIcn {
    background-position: -96px -32px;
}

.rsGallery.rsVer .rsArrowRight .rsArrowIcn {
    background-position: -96px -64px;
}

.rsGallery .rsArrowDisabled .rsArrowIcn {
    *display: none;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: .4;
}

/***************
*
*  2. Bullets
*
****************/

.rsGallery .rsBullets {
    position: absolute;
    bottom: 50%;
    left: 0;
    overflow: hidden;
    margin: 0 auto -150px auto;
    width: 100%;
    height: auto;
    text-align: center;
    line-height: 20px;
}

.rsGallery .rsBullet {
    display: inline-block;
    *display: inline;
    margin: 0 5px 1px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: url(../images/spritesheet.png) no-repeat -280px -49px;
    cursor: pointer;
    *zoom: 1;
}

.rsGallery .rsBullet.rsNavSelected {
    background-position: -280px -69px;
}

/***************
*
*  3. Thumbnails
*
****************/

.rsGallery .rsThumbsHor {
    position: absolute;
    bottom: 10%;
    left: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 100%;
    height: 72px;
    background: none;
    z-index: 15;
}

.rsGallery .rsThumbsVer {
    position: absolute;
    /*height: 100%;*/
    top: 0;
    left: 0;
    margin: 15px;
    padding-left: 5px;
    width: 96px;
    border-left: 10px solid #8A0401;
}

.rsGallery.rsWithThumbsHor .rsThumbsContainer {
    position: relative;
    height: 100%;
}

.rsGallery.rsWithThumbsVer .rsThumbsContainer {
    position: relative;
    width: 100%;
}

.rsGallery .rsThumb {
    float: left;
    overflow: hidden;
    width: 120px;
    height: 50px;
    border: 2px solid transparent;
}

.rsGallery .rsThumb img {
    width: 100%;
    height: 100%;
    /*opacity: 0.6;*/
    /*filter: alpha(opacity=60);*/

}

.rsGallery .rsThumb.rsNavSelected {
    border: 2px solid #D9C8AD;
}

.rsGallery .rsThumb.rsNavSelected img {
    /*opacity: 1;*/
    /*filter: alpha(opacity=100);*/
}

.rsGallery .rsTmb {
    display: block;
}

/* Thumbnails arrow icons */
.rsGallery .rsThumbsArrow {
    position: absolute;
    z-index: 21;
    display: block;
    width: 20px;
    height: 100%;
    background: #000;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.rsGallery .rsThumbsArrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.rsGallery.rsWithThumbsVer .rsThumbsArrow {
    width: 100%;
    height: 20px;
}

.rsGallery.rsWithThumbsVer .rsThumbsArrowLeft {
    top: 0;
    left: 0;
}

.rsGallery.rsWithThumbsVer .rsThumbsArrowRight {
    bottom: 0;
    left: 0;
}

.rsGallery.rsWithThumbsHor .rsThumbsArrowLeft {
    top: 0;
    left: 0;
}

.rsGallery.rsWithThumbsHor .rsThumbsArrowRight {
    top: 0;
    right: 0;
}

.rsGallery .rsThumbsArrowIcn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    width: 16px;
    height: 16px;
    background: url('../images/rs-default.png');
    cursor: pointer;
}

.rsGallery.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn {
    background-position: -128px -32px;
}

.rsGallery.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn {
    background-position: -128px -48px;
}

.rsGallery.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn {
    background-position: -144px -32px;
}

.rsGallery.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn {
    background-position: -144px -48px;
}

.rsGallery .rsThumbsArrowDisabled {
    display: none !important;
}

/* Thumbnails resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 800px) {
    .rsGallery .rsThumb {
        width: 59px;
        height: 44px;
    }

    .rsGallery .rsThumbsHor {
        height: 44px;
    }

    .rsGallery .rsThumbsVer {
        width: 59px;
    }
}

/***************
*
*  4. Tabs
*
****************/

.rsGallery .rsTabs {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding-top: 12px;
    width: 100%;
    height: auto;
    text-align: center;
}

.rsGallery .rsTab {
    display: inline-block;
    *display: inline;
    padding: 5px 13px 6px;
    min-width: 72px;
    width: auto;
    height: auto;
    border: 1px solid #D9D9DD;
    border-right: 1px solid #f5f5f5;
    background-color: #FFF;
    background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
    background-image: -moz-linear-gradient(top, #fefefe, #f4f4f4);

    background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
    -webkit-box-shadow: inset 1px 0 0 #fff;
    box-shadow: inset 1px 0 0 #fff;
    color: #333;

    text-align: center;
    text-decoration: none;

    cursor: pointer;
    *zoom: 1;
}

.rsGallery .rsTab:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.rsGallery .rsTab:last-child {
    border-right: 1px solid #cfcfcf;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;

    border-bottom-right-radius: 4px;
}

.rsGallery .rsTab:active {
    border: 1px solid #D9D9DD;
    background-color: #f4f4f4;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}

.rsGallery .rsTab.rsNavSelected {
    border: 1px solid #999;
    background: #ACACAC;
    background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
    background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
    background-image: linear-gradient(to bottom, #ACACAC, #BBB);
    -webkit-box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
    box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
    color: white;
    text-shadow: 1px 1px #838383;
}

/***************
*
*  5. Fullscreen button
*
****************/

.rsGallery .rsFullscreenBtn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 22;
    display: block;
    width: 44px;
    height: 44px;
    cursor: pointer;

}

.rsGallery .rsFullscreenIcn {
    display: block;
    margin: 6px;
    width: 32px;
    height: 32px;

    border-radius: 2px;
    background: url('../images/rs-default.png') 0 0;
    background-color: rgba(0, 0, 0, 0.75);
    *background-color: #000;

}

.rsGallery .rsFullscreenIcn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.rsGallery.rsFullscreen .rsFullscreenIcn {
    background-position: -32px 0;
}

/***************
*
*  6. Play/close video button
*
****************/

.rsGallery .rsPlayBtn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
    margin-top: -32px;
    margin-left: -32px;
    width: 64px;
    height: 64px;
    cursor: pointer;
}

.rsGallery .rsPlayBtnIcon {
    display: block;
    width: 64px;
    height: 64px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: url(rs-default.png) no-repeat 0 -32px;

    background-color: rgba(0, 0, 0, 0.75);
    *background-color: #000;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.rsGallery .rsPlayBtn:hover .rsPlayBtnIcon {
    background-color: rgba(0, 0, 0, 0.9);
}

.rsGallery .rsBtnCenterer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
}

.rsGallery .rsCloseVideoBtn {
    -webkit-backface-visibility: hidden;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 500;
    width: 44px;
    height: 44px;
    cursor: pointer;
    -webkit-transform: translateZ(0);

}

.rsGallery .rsCloseVideoBtn.rsiOSBtn {
    top: -38px;
    right: -6px;
    /*top: -6px;
    right: -38px;*/
}

.rsGallery .rsCloseVideoIcn {
    margin: 6px;
    width: 32px;
    height: 32px;
    background: url('../images/rs-default.png') -64px 0;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.75);
}

.rsGallery .rsCloseVideoIcn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/***************
*
*  7. Preloader
*
****************/

.rsGallery .rsPreloader {
    top: 50%;
    left: 50%;
    margin-top: -10px;

    margin-left: -10px;
    width: 20px;
    height: 20px;
    background-image: url(../preloaders/preloader-white.gif);
}