.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: 1000000; }
.nGalleryWrapper { position: relative; }

.nGallery { background: #000; position: relative; }
.nGallery.below { z-index: 1; }
.nGallery .nMainSection { background: #000; position: relative; z-index: 8887; 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('sprite.png'); background-repeat: no-repeat; height: 25px; margin: 2px 8px; }
.nGallery .butFullscreen { width: 115px; background-position: 0 -226px; }
.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('sprite.png') no-repeat -128px -435px #ff7800; border-radius: 4px;  }
.nGallery .nHeader .navigation .nextImg { float: right; display: inline-block; width: 30px; height: 26px; background: url('sprite.png') no-repeat -126px -400px #ff7800; 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 .nBanner728 { display: none; }
.nGallery .prevThumbs, .nGallery .nextThumbs { display: block; margin-left: -38px; margin-top: 23px; width: 30px; height: 30px; position: absolute; background: url('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: 1000010; background: url('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('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: inline-block; text-align: center; box-sizing: border-box; -moz-box-sizing: border-box; }
.nGallery .screensWrapper ul li img { border-width: 0px; max-width: 98%; max-height: 97%; position: relative; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); transform: translateY(-50%); }
.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; padding: 0; border: none; }
.nGallery .thumbsWrapper img, .nGallery .nAllThumbs img { width: 72px; height: 72px; border: 2px solid transparent; margin: 0 !important; padding: 0 !important; }
.nGallery .thumbsWrapper img.active, .nGallery .nAllThumbs img.active { border: 2px solid #ff7800; }
.nGallery .thumbsWrapper img:hover, .nGallery .nAllThumbs img:hover { border: 2px solid #ff7800; 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: 8887; -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; background: rgba(255,255,255,0.07); }
.nGallery .nSidebar .nBanner300 iframe { width: 300px; height: 250px; border: medium none; position: relative; z-index: 2147483640; }
.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: 1000001; overflow-y: auto; font-size: 12px; line-height: 16px; border: none; }
.nGallery .nSidebar>ul>li.active { opacity: 1; z-index: 1000001; }
.nGallery .nSidebar>ul>li div.nTitle { font-size: 24px; line-height: 1.1; margin-bottom: 5px; }
.nGallery .nSidebar>ul>li em { color: #999; display: block; padding-top: 2px; }
.nGallery .nAllThumbs { background-color: #000; position: absolute; margin-top: 39px; 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: 1000010; 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; }
.nGalleryWrapper .nBottombar em { color: #999; display: block; padding-top: 2px; }

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('sprite.png'); background-repeat: no-repeat; background-position: 0 -58px; position: fixed; right: 10px; top: 10px; z-index: 1000010;}
body.nGalleryActive .nGallery .closeFS:hover { background-position: 0 -38px; }
body.nGalleryActive .nGallery .nMainSection { z-index: 1000001; }
body.nGalleryActive .nSidebar { z-index: 1000001; }

body.nGalleryFS { overflow: hidden !important; padding: 0px !important; margin: 0px !important; }
body.nGalleryFS .nGalleryBg { top: 0; left: 0; bottom: 0; right: 0; width: auto; height: auto; opacity: 1; }
body.nGalleryFS .nGallery { top: 100px; }
body.nGalleryFS .nGallery .nMainSection { position: fixed; z-index: 1000010; top: 110px; bottom: 10px; left: 10px; right: 330px; }
body.nGalleryFS .nGallery .nAllThumbs.active { position: fixed; z-index: 1000011; top: 150px; left: 10px; bottom: 10px; right: 330px; width: auto !important; height: auto !important; margin-top: 0; }
body.nGalleryFS .nGallery .nSidebar { z-index: 1000001; position: fixed; width: 310px; right: 10px; bottom: 10px; top: 110px; height: auto !important; -webkit-transition: none; -moz-transition: none; transition: none; }
body.nGalleryFS .nGallery .nSidebar.forceClosed { right: 10px !important; }
body.nGalleryFS .nGallery .closeFS { display: block; width: 80px; height: 20px; background-image: url('sprite.png'); background-repeat: no-repeat; background-position: 0 -58px; position: fixed; right: 10px; top: 10px; z-index: 1000010; }
body.nGalleryFS .nGallery .closeFS:hover { background-position: 0 -38px; }
body.nGalleryFS .nGallery .butFullscreen { display: none; }
body.nGalleryFS .nGallery .nBanner728Holder { display: block; height: 90px; left: 10px; top: 10px; right: 100px; position: fixed; z-index: 1000010; text-align: center; overflow: hidden; white-space: nowrap; }
body.nGalleryFS .nGallery .nLogo { display: inline-block; width: 70px; height: 90px; background: url('/img/sherdog_the_dog.png') no-repeat center center; margin-right: 14px; }
body.nGalleryFS .nGallery .nBanner728 { display: inline-block; width: 728px; height: 90px; background-color: rgba(255,255,255,0.07); }
body.nGalleryFS .nGallery .nBanner728 iframe { width: 728px; height: 90px; border: medium none; position: relative; z-index: 2147483640; }

/* site specific css below */

.ra1-pw-popup { z-index: 1000002 !important; }

