.attl-bg { top: 0; left: 0; width: 100%; height: 100%; z-index: 502; overflow: hidden; position: fixed; background: #0b0b0b; opacity: 0.8; filter: alpha(opacity=80); }
.attl-wrap { top: 0; left: 0; width: 100%; height: 100%; z-index: 503; position: fixed; outline: none !important; -webkit-backface-visibility: hidden; }
.attl-container { height: 100%; text-align: center; position: absolute; width: 100%; height: 100%; left: 0; top: 0; padding: 0 40px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.attl-container:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; }
.attl-align-top .attl-container:before { display: none }
.attl-content { position: relative; display: inline-block; vertical-align: middle; margin: 0 auto; text-align: left; z-index: 505; }
.attl-inline-holder .attl-content, .attl-ajax-holder .attl-content { width: 100%; cursor: auto; }
.attl-ajax-cur { cursor: progress }
.attl-zoom-out-cur, .attl-zoom-out-cur .attl-image-holder .attl-close { cursor: -moz-zoom-out; cursor: -webkit-zoom-out; cursor: zoom-out; }
.attl-zoom { cursor: pointer; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; }
.attl-auto-cursor .attl-content { cursor: auto }
.attl-close, .attl-arrow, .attl-preloader, .attl-counter { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.attl-loading.attl-figure { display: none }
.attl-hide { display: none !important }
.attl-preloader { color: #cccccc; position: absolute; top: 50%; width: auto; text-align: center; margin-top: -0.8em; left: 8px; right: 8px; z-index: 504; }
.attl-preloader a { color: #cccccc }
.attl-preloader a:hover { color: white }
.attl-s-ready .attl-preloader { display: none }
.attl-s-error .attl-content { display: none }
button.attl-close, button.attl-arrow { overflow: visible; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; display: block; padding: 0; z-index: 506; }
button::-moz-focus-inner { padding: 0; border: 0; }
.attl-close { width: 44px; height: 44px; line-height: 44px; position: absolute; right: 0; top: 0; text-decoration: none; text-align: center; opacity: 0.65; padding: 0 0 18px 10px; color: white; font-style: normal; font-size: 28px; font-family: Arial, Baskerville, monospace; }
.attl-close:hover, .attl-close:focus { opacity: 1 }
.attl-close:active { top: 1px }
.attl-close-btn-in .attl-close { color: #333333 }
.attl-image-holder .attl-close, .attl-iframe-holder .attl-close { color: white; right: -6px; text-align: right; padding-right: 6px; width: 100%; }
.attl-counter { position: absolute; top: 0; right: 0; color: #cccccc; font-size: 12px; line-height: 18px; }
.attl-arrow { position: absolute; top: 0; opacity: 0.65; margin: 0; top: 50%; margin-top: -55px; padding: 0; width: 90px; height: 110px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.attl-arrow:active { margin-top: -54px }
.attl-arrow:hover, .attl-arrow:focus { opacity: 1 }
.attl-arrow:before, .attl-arrow:after, .attl-arrow .attl-b, .attl-arrow .attl-a { content: ''; display: block; width: 0; height: 0; position: absolute; left: 0; top: 0; margin-top: 35px; margin-left: 35px; border: solid transparent; }
.attl-arrow:after, .attl-arrow .attl-a { opacity: 0.8; border-top-width: 12px; border-bottom-width: 12px; top: 8px; }
.attl-arrow:before, .attl-arrow .attl-b { border-top-width: 20px; border-bottom-width: 20px; }
.attl-arrow-left { left: 0 }
.attl-arrow-left:after, .attl-arrow-left .attl-a { border-right: 12px solid black; left: 5px; }
.attl-arrow-left:before, .attl-arrow-left .attl-b { border-right: 20px solid white }
.attl-arrow-right { right: 0 }
.attl-arrow-right:after, .attl-arrow-right .attl-a { border-left: 12px solid black; left: 3px; }
.attl-arrow-right:before, .attl-arrow-right .attl-b { border-left: 20px solid white }
.attl-iframe-holder { padding-top: 40px; padding-bottom: 40px; }
.attl-iframe-holder .attl-content { line-height: 0; width: 100%; max-width: 900px; }
.attl-iframe-scaler { width: 100%; height: 0; overflow: hidden; padding-top: 56.25%; }
.attl-iframe-scaler iframe { position: absolute; top: -3px; left: 0; width: 100%; height: 100%; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: black; }
.attl-iframe-holder .attl-close { top: -43px }
/* Main image in popup */
img.attl-img { width: auto; max-width: 100%; height: auto; display: block; line-height: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 40px 0 40px; margin: 0 auto; }
/* The shadow behind the image */
.attl-figure:after { content: ''; position: absolute; left: 0; top: 40px; bottom: 40px; display: block; right: 0; width: auto; height: auto; z-index: -1; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }
.attl-figure { line-height: 0 }
.attl-bottom-bar { margin-top: -36px; position: absolute; top: 100%; left: 0; width: 100%; cursor: auto; }
.attl-title { text-align: left; line-height: 18px; color: #f3f3f3; padding-right: 36px; }
.attl-figure small { color: #bdbdbd; display: block; font-size: 12px; line-height: 14px; }
.attl-image-holder .attl-content { max-width: 100% }
.attl-gallery .attl-image-holder .attl-figure { cursor: pointer }
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { 
	/**
	   * Remove all paddings around the image on small screen
	   */
	.attl-img-mobile .attl-image-holder { padding-left: 0; padding-right: 0; }
	.attl-img-mobile img.attl-img { padding: 0 }
	/* The shadow behind the image */
	.attl-img-mobile .attl-figure:after { top: 0; bottom: 0; }
	.attl-img-mobile .attl-bottom-bar { background: rgba(0, 0, 0, 0.6); bottom: 0; margin: 0; top: auto; padding: 3px 5px; position: fixed; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.attl-img-mobile .attl-bottom-bar:empty { padding: 0 }
	.attl-img-mobile .attl-counter { right: 5px; top: 3px; }
	.attl-img-mobile .attl-close { top: 0; right: 0; width: 35px; height: 35px; line-height: 35px; background: rgba(0, 0, 0, 0.6); position: fixed; text-align: center; padding: 0; }
	.attl-img-mobile .attl-figure small { display: inline; margin-left: 5px; }
}
@media all and (max-width: 800px) { 
	.attl-arrow { -webkit-transform: scale(0.75); transform: scale(0.75); }
	.attl-arrow-left { -webkit-transform-origin: 0; transform-origin: 0; }
	.attl-arrow-right { -webkit-transform-origin: 100%; transform-origin: 100%; }
	.attl-container { padding-left: 6px; padding-right: 6px; }
}
.attl-ie7 .attl-img { padding: 0 }
.attl-ie7 .attl-bottom-bar { width: 600px; left: 50%; margin-left: -300px; margin-top: 5px; padding-bottom: 5px; }
.attl-ie7 .attl-container { padding: 0 }
.attl-ie7 .attl-content { padding-top: 44px }
.attl-ie7 .attl-close { top: 0; right: 0; padding-top: 0; }