.nGalleryBg { position: fixed; top: 0; left: 0; width: 0px; height: 0px; background: #000; opacity: 0; -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; z-index: 9990; }
.nGalleryWrapper { position: relative; z-index: 9991; }

.nGallery { background: #000; position: relative; }
.nGallery.below { z-index: 1; }
.nGallery .nMainSection { background: #000; position: relative; z-index: 99910; background: #000; }
.nGallery .nHeader { width: auto; height: 36px; box-sizing: border-box; padding: 6px; }
.nGallery .butFullscreen, 
.nGallery .butThumbs, 
.nGallery .butExit { float: left; display: inline-block; background-image: url('http://media.gamerevolution.com/ngallery/sprite.png'); background-repeat: no-repeat; height: 25px; margin: 2px 8px; }
.nGallery .butFullscreen { width: 115px; background-position: 0 -226px; display: none !important; }
.nGallery .butFullscreen:hover { width: 115px; background-position: 0 -206px; }
.nGallery .butExit { width: 54px; background-position: 0 -268px; display: none; }
.nGallery .butExit:hover { background-position: 0 -248px; }
.nGallery .butThumbs { width: 105px; background-position: 0 -185px; }
.nGallery .butThumbs:hover { background-position: 0 -164px; }
.nGallery .nHeader .navigation { float: right; color: #fff; font-size: 14px; }
.nGallery .nHeader .navigation .prevImg { float: right; display: inline-block; width: 30px; height: 26px; background: url('http://media.gamerevolution.com/ngallery/sprite.png') no-repeat -128px -435px #a52022; border-radius: 4px;  }
.nGallery .nHeader .navigation .nextImg { float: right; display: inline-block; width: 30px; height: 26px; background: url('http://media.gamerevolution.com/ngallery/sprite.png') no-repeat -126px -400px #a52022; border-radius: 4px;  }
.nGallery .nHeader .navigation .prevImg.disabled { opacity: 0.4; }
.nGallery .nHeader .navigation .nextImg.disabled { opacity: 0.4; }
.nGallery .nHeader .navigation .prevImg:hover { background-position-x: -98px; }
.nGallery .nHeader .navigation .nextImg:hover { background-position-x: -96px; }
.nGallery .nHeader .navigation span { float: right; display: inline-block; height: 26px; line-height: 26px; min-width: 100px; box-sizing: border-box; text-align: center; padding: 0px 7px; }
.nGallery .nFooter { /*width: 560px; */ height: 87px; margin-left: auto; margin-right: auto; position: relative; -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
.nGallery .prevThumbs, .nGallery .nextThumbs { display: block; margin-left: -38px; margin-top: 23px; width: 30px; height: 30px; position: absolute; background: url('http://media.gamerevolution.com/ngallery/sprite.png') no-repeat 2px -435px; }
.nGallery .nextThumbs { right: -38px; margin-left: 0px; background-position: 6px -400px; }
.nGallery .prevThumbs:hover { background-position: -28px -435px;  }
.nGallery .nextThumbs:hover { background-position: -24px -400px; }
.nGallery .prevThumbs.disabled, .nGallery .nextThumbs.disabled { opacity: 0.1; }
.nGallery .prevImgBig, .nGallery .nextImgBig { position: absolute; display: block; width: 40px; height: 50px; /* margin-top: 230px; */ margin-left: 10px; z-index: 99920; background: url('http://media.gamerevolution.com/ngallery/sprite.png') no-repeat -57px -295px; box-sizing: border-box; opacity: 0.05;  -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; }
.nGallery .prevImgBig.visible, .nGallery .nextImgBig.visible { opacity: 1; }
.nGallery .prevImgBig.disabled, .nGallery .nextImgBig.disabled { opacity: 0.05 !important; }
.nGallery .nextImgBig { right: 20px; background-position: -52px -346px; }
.nGallery .prevImgBig:hover { background-position: 3px -295px; }
.nGallery .nextImgBig:hover { background-position: 8px -346px; }
/*.nGallery .openHRImage { position: absolute; left: 50%; top: 50%; width: 170px; height: 85px; background-image: url('http://media.gamerevolution.com/ngallery/sprite.png'); background-repeat: no-repeat; background-position: -7px -493px; opacity: 0.2; z-index: 9990; margin-top: -60px; margin-left: -80px;  -o-transition: opacity .2s ease-out; -ms-transition: opacity .2s ease-out; -moz-transition: opacity .2s ease-out; -webkit-transition: opacity .2s ease-out; transition: opacity .2s ease-out; }*/
/*.nGallery .openHRImage:hover { opacity: 1; cursor: pointer; }*/
/*.nGallery .openHRImage.visible { opacity: 1; }*/
.nGallery .screensWrapper { width: 100%; /* height: 480px; */ text-align: center; box-sizing: border-box; overflow: hidden; }
.nGallery .screensWrapper ul { /* height: 480px; */ list-style: none; padding: 0; margin: 0; display: table; position: relative; }
.nGallery .screensWrapper ul li { /* height: 480px; */ display: table-cell; text-align: center; vertical-align: middle; }
.nGallery .screensWrapper ul li img { border-width: 0px; max-width: 98%; max-height: 97%; }
.nGallery .thumbsWrapper { width: 100%; height: 80px; overflow: hidden; }
.nGallery .thumbsWrapper ul, .nGallery .nAllThumbs ul { list-style: none; padding: 0; margin: 0; position: relative; }
.nGallery .thumbsWrapper ul li, .nGallery .nAllThumbs ul li { float: left; width: 90px; text-align: center; }
.nGallery .thumbsWrapper img, .nGallery .nAllThumbs img { width: 72px; height: 72px; border: 2px solid transparent; }
.nGallery .thumbsWrapper img.active, .nGallery .nAllThumbs img.active { border: 2px solid #939393; }
.nGallery .thumbsWrapper img:hover, .nGallery .nAllThumbs img:hover { border: 2px solid #939393; cursor: pointer; }
.nGallery .nAllThumbs ul { margin: 18px 10px; }
.nGallery .nAllThumbs ul li { height: 90px; }
.nGallery .nSidebar { width: 312px; height: 400px; background: #000; position: absolute; right: 0; z-index: 9999; -webkit-transition: right 0.3s ease-in-out;    -moz-transition: right 0.3s ease-in-out; transition: right 0.3s ease-in-out; }
.nGallery .nSidebar.active { right: -312px; }
.nGallery .nSidebar.forceClosed { right: 0 !important; }
.nGallery .nSidebar .nBanner300 { box-sizing: border-box; width: 300px; height: 250px; position: absolute; bottom: 5px; right: 5px; }
.nGallery .nSidebar>ul { list-style: none; font-size: 14px; color: #fff; margin: 10px 7px; padding: 0px; }
.nGallery .nSidebar>ul>li { margin: 0; margin-right: 10px; box-sizing: border-box; padding: 0; position: absolute; opacity: 0; -webkit-transition: opacity 0.1s ease-in-out; -moz-transition: opacity 0.1s ease-in-out; transition: opacity 0.1s ease-in-out; z-index: 9990; overflow-y: auto; font-size: 12px; line-height: 16px; }
.nGallery .nSidebar>ul>li.active { opacity: 1; z-index: 9991; }
.nGallery .nSidebar>ul>li div.nTitle { font-size: 24px; line-height: 1.1; margin-bottom: 5px; }
.nGallery .nAllThumbs { background-color: #000; position: absolute; margin-top: 39px; z-index: 9991; opacity: 0; overflow: auto; -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; }
.nGallery .nAllThumbs.active { z-index: 99920; opacity: 1; }
.nGalleryWrapper .nBottombar { display: none; background-color: #000; color: #fff; padding: 2px 10px 10px 10px; box-sizing: border-box; }
.nGalleryWrapper .nBottombar div.nTitle { font-size: 24px; line-height: 1.1; }

body.nGalleryActive .nGalleryBg { top: 0; left: 0; bottom: 0; right: 0; width: auto; height: auto; opacity: 0.85; }
body.nGalleryActive .nGallery .closeFS { display: block; width: 80px; height: 20px; background-image: url('http://media.gamerevolution.com/ngallery/sprite.png'); background-repeat: no-repeat; background-position: 0 -58px; position: fixed; right: 10px; top: 10px; z-index: 99920;}
body.nGalleryActive .nGallery .closeFS:hover { background-position: 0 -38px; }

/* site specific css below */

body.nGalleryActive #page_footer { position: static; }
body.nGalleryActive #page_top { opacity: 0; }
