.tsm-photogallery-wrapper{width:630px; height:458px; margin-bottom:20px; position:relative; z-index:1; }
.tsm-photogallery-wrapper.hasThumbs{height:508px; }
.tsm-photogallery-placeholder{display:none;}
.tsm-photogallery-container{width:630px; height:100%; background:#000; position:relative; z-index:51; overflow:hidden; }
.tsm-photogallery-container .tsm-photogallery{width:630px; xheight:458px; position:relative; overflow:hidden; color:#fff; background:#000; float:left; z-index:1; }
.tsm-photogallery-container.hasThumbs .tsm-photogallery{xheight:508px; }
.tsm-photogallery-container.engage{width:960px; xheight:662px; height:610px; }
.tsm-photogallery-wrapper.noAds .tsm-photogallery-container.engage{height:460px; }
.tsm-photogallery-container.hasThumbs.engage{width:960px; xheight:700px; height:660px; }
.tsm-photogallery-wrapper.noAds .tsm-photogallery-container.hasThumbs.engage{height:510px; }
.tsm-photogallery-container .tsm-photogallery-mover-container{position:relative; min-height:420px; xheight:420px; }
.tsm-photogallery-container .tsm-photogallery-mover{position:relative; top:0px; left:0px; height:100%; width:200%; overflow:hidden; }
.tsm-photogallery-container .tsm-photogallery-item{width:50%; xheight:250px; position:relative; float:left; height:100%; line-height:0px; background-repeat:no-repeat; background-size:cover; background-position:center center; }
.tsm-photogallery-container .tsm-photogallery-item.contain{background-size:contain;}
.tsm-photogallery-container .tsm-photogallery-item.cover{background-size:cover;}
.tsm-photogallery-container .tsm-photogallery-item img, .post .entry .tsm-photogallery-container .tsm-photogallery-item img{width:100%; margin:0px; opacity:0; }
.tsm-photogallery-container .tsm-photogallery-item.dn{display:none; }
.tsm-photogallery-container .tsm-photogallery-item a{color:inherit; text-decoration:none; xheight:420px; xdisplay:block; }
.tsm-photogallery-container .tsm-photogallery-item img.off{opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-container .tsm-photogallery-item header{position:absolute; bottom:0px; text-transform:none; height:38px; padding:0px 20px; z-index:2; overflow:hidden; background:transparent; background: rgba(0, 0, 0, 0.8); border-radius:0px 5px 5px 0px;
	-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000)';
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000);
}
.tsm-photogallery-container .tsm-photogallery-sidebar{position:absolute; width:300px; right:100px; top:44px; display:none; opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-container.engage .tsm-photogallery-sidebar{display:block; }
.tsm-photogallery-container.engage .tsm-photogallery-sidebar.on{opacity:1; filter:alpha(opacity=100); right:15px; }
.tsm-photogallery-container .tsm-photogallery-copy{padding:0px 8px; margin-top:30px; color:#fff; position:relative; }
.tsm-photogallery-container.engage .tsm-photogallery-item{background-size:630px 420px;}
.tsm-photogallery-container.engage .tsm-photogallery-item img{opacity:0; }
#main_container #content #content_main .tsm-photogallery-container .tsm-photogallery-copy h2,
.tsm-photogallery-container .tsm-photogallery-imagetitle{font-size:21px; line-height:24px; color:#fff; }
.tsm-photogallery-container footer{position:absolute; width:100%; xheight:192px; height:150px; bottom:100px; left:0px; display:none; opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-container.engage footer{display:block; }
.tsm-photogallery-container.engage footer.on{opacity:1; filter:alpha(opacity=100); bottom:0px; }
.tsm-photogallery-wrapper.noAds .tsm-photogallery-container footer{display:none; }
.tsm-photogallery-container .tsm-photogallery-footer,
#tsLists .tsm-photogallery-container .tsm-photogallery-footer{height:38px; padding:0px 20px; line-height:38px; font-size:12px; opacity:1; filter:alpha(opacity=100); }
.tsm-photogallery-container .tsm-photogallery-footer.off{opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-nav{position:absolute; z-index:1; top:50%; margin-top:-32px; width:39px; height:64px; cursor:pointer; overflow:hidden; display:none; }
#tsLists .tsm-photogallery-container .tsm-photogallery-nav{margin-top:-32px; }
.tsm-photogallery-nav, .tsm-photogallery-nav span, .tsm-photogallery-nav a{outline:none;
	-webkit-user-select: none; /* Chrome/Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */
}
.tsm-photogallery-nav.on{ display:block; }
.tsm-photogallery-nav.prev{left:0px; }
.tsm-photogallery-nav.next{right:0px; }
.tsm-photogallery-nav:hover{background:transparent; background:rgba(0,0,0,0.7);
	-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3000000, endColorstr=#b3000000)';
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3000000, endColorstr=#b3000000);
}
.tsm-photogallery-nav a{margin:0px; padding:0px; text-decoration:none; color:inherit; display:block; background:url("../assets/img/sprite.png") no-repeat scroll 0px -60px transparent; width:100%; height:100%; color:transparent; }
.tsm-photogallery-nav.prev a{background-position:0px -124px; }
.tsm-photogallery-container .tsm-photogallery-thumbnail-wrapper{position:relative; width:100%; display:none; opacity:1; filter:alpha(opacity:100); }
.tsm-photogallery-container .tsm-photogallery-thumbnail-wrapper.off{opacity:0; filter:alpha(opacity:0); }
.tsm-photogallery-container.hasThumbs .tsm-photogallery-thumbnail-wrapper{display:block; }
.tsm-photogallery-container .tsm-photogallery-thumbnails,
#tsLists .tsm-photogallery-container .tsm-photogallery-thumbnails{width:500px; height:50px; overflow:hidden; margin:0px auto; position:relative; }
.tsm-photogallery-container .tsm-photogallery-thumbnails .thumbnail-page{float:left; }
.tsm-photogallery-container .tsm-photogallery-thumbnails img{float:left; cursor:pointer; width:50px; height:50px; display:block; opacity:0.7; filter:alpha(opacity=70); box-sizing:border-box; -moz-box-sizing:border-box;
	xfilter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	xfilter:gray;
	x-webkit-filter:grayscale(100%);
	x-moz-filter:grayscale(100%);
	xfilter:grayscale(100%);
}
.tsm-photogallery-container .tsm-photogallery-thumbnails img.current, .tsm-photogallery-container .tsm-photogallery-thumbnails img:hover{opacity:1; filter:alpha(opacity=100);
	xfilter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	x-webkit-filter:grayscale(0%);
	x-moz-filter:grayscale(0%);
	xfilter:grayscale(0%);
}
.tsm-photogallery-container .tsm-photogallery-thumbnails img.off{opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav{height:23px; width:43px; position:absolute; top:50%; margin-top:-10px; overflow:hidden; display:none; opacity:0; filter:alpha(opacity=0); }
#tsLists .tsm-photogallery-container .tsm-photogallery-thumbnail-nav{margin-top:-10px; }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav.show{display:block; }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav.on{display:block; opacity:1; filter:alpha(opacity=100); }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav a{background:url("../assets/img/sprite.png") no-repeat scroll center -14px transparent; color:transparent; width:100%; height:100%; display:block; outline:none; }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav.prev{left:0px; }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav.prev a{background-position:center -37px; outline:none; }
.tsm-photogallery-container .tsm-photogallery-thumbnail-nav.next{right:0px;  }
.tsm-photogallery-container .tsm-photogallery-thumbnail-mover{position:absolute; top:0px; left:0px; }
.tsm-photogallery-container .tsm-photogallery-engagement-close{width:14px; height:14px; display:block; position:absolute; right:14px; top:14px; background:url("../assets/img/sprite.png") no-repeat scroll 3px 3px #000; opacity:0; filter:alpha(opacity=0); z-index:-1; padding:3px; box-sizing:content-box; }
.tsm-photogallery-container.engage .tsm-photogallery-engagement-close{opacity:1; filter:alpha(opacity=100); z-index:2; }
.tsm-photogallery-container .tsm-photogallery-ad{display:none; opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-container .tsm-photogallery-ad.off{display:none; }
.tsm-photogallery-container .tsm-photogallery-300x250{width:300px; height:250px; xposition:absolute; xright:15px; xtop:44px; }
.tsm-photogallery-container .tsm-photogallery-728x90,
#tsLists .tsm-photogallery-container .tsm-photogallery-728x90{width:728px; height:90px; position:absolute; left:50%; margin-left:-364px; top:50%; margin-top:-45px; }
.tsm-photogallery-container .tsm-photogallery-320x50{width:320px; height:50px; position:absolute; left:50%; margin-left:-160px; top:50%; margin-top:-25px; }
.tsm-photogallery-container .tsm-photogallery-header{display:none; width:100%; height:0px; background:transparent; opacity:0; filter:alhpa(opacity=0); position:relative; top:100px; }
.tsm-photogallery-container.engage .tsm-photogallery-header{display:block; }
.tsm-photogallery-container.engage .tsm-photogallery-header.on{opacity:1; filter:alhpa(opacity=100); }
.tsm-photogallery-container.engage .tsm-photogallery-ad{display:block; xbackground:#fff; opacity:1; filter:alpha(opacity=100); }
.tsm-photogallery-container.engage .tsm-photogallery-ad.off{display:none; }
.tsm-photogallery-container .tsm-photogallery-imagecount{float:left; -webkit-backface-visibility:hidden; }
.tsm-photogallery-container .tsm-photogallery-caption{float:right; color:#cacad8; -webkit-backface-visibility:hidden;  max-width:65%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.tsm-photogallery-container.hasThumbs .tsm-photogallery-imagedescription{height:125px; }
.tsm-photogallery-container .tsm-photogallery-imagedescription{font-size:12px; height:75px; overflow:hidden; overflow-y:auto; position:relative; }
.tsm-photogallery-container.no-styled-scrollbar .tsm-photogallery-imagedescription{xoverflow:hidden; }
.tsm-photogallery-container .under-description-content{display:none; padding:10px; }
.tsm-photogallery-container .tsm-photogallery-imagedescription::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(255,255,255,0.3); border-radius:5px; background-color:transparent; }
.tsm-photogallery-container .tsm-photogallery-imagedescription::-webkit-scrollbar{width:10px; background-color:transparent; }
.tsm-photogallery-container .tsm-photogallery-imagedescription::-webkit-scrollbar-thumb{border-radius: 10px; background-color:rgba(255,255,255,.3); -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3); }
.tsm-photogallery-container .tsm-photogallery-imagedescription::-webkit-scrollbar-thumb:hover{border-radius: 10px; background-color:rgba(255,255,255,.5); }
.tsm-photogallery-wrapper .tsm-photogallery-overlay{position:fixed; top:0px; left:0px; background-color:#fff; opacity:0; filter:alpha(opacity=0); width:0px; height:0px; z-index:50; }
.tsm-photogallery-wrapper.engage{z-index:4; }
.tsm-photogallery-wrapper.engage .tsm-photogallery-overlay{width:100%; height:100%; opacity:0.8; filter:alpha(opacity=80); }
.tsm-photogallery-wrapper.dark .tsm-photogallery-overlay{background-color:#000; }
.post .entry .tsm-photogallery-container .tsm-photogallery-thumbnails img{width:auto; margin:0px; }

/*desktop portrait mode*/
/*.tsm-photogallery-wrapper.desktop.portraitMode .tsm-photogallery-container footer{display:none; }
.tsm-photogallery-wrapper.desktop.portraitMode .tsm-photogallery-container .tsm-photogallery-item{background-attachment:scroll; background-position:center center; background-repeat:no-repeat; background-size:contain; }
.tsm-photogallery-wrapper.desktop.engage.portraitMode .tsm-photogallery-container .tsm-photogallery{height:100%; }
.tsm-photogallery-wrapper.desktop.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-imagedescription{height:205px; }
.tsm-photogallery-wrapper.desktop.engage.portraitMode .tsm-photogallery-container.hasThumbs .tsm-photogallery-imagedescription{height:255px; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage.portraitMode .tsm-photogallery-container.hasThumbs .tsm-photogallery-imagedescription{height:calc( 100% - 41px ); }
.tsm-photogallery-wrapper.desktop.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img,
.post .entry .tsm-photogallery-wrapper.desktop.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img{height:570px; opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage.portraitMode .tsm-photogallery-container .tsm-photogallery{height:100%; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-sidebar.on{height:calc(100% - 45px); }*/

/*mobile portrait mode*/
.tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img,
.post .entry .tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img{height:480px; opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item{background-repeat:no-repeat; background-position:center center; background-size:cover; }
@media only screen and (min-device-height: 660px) {
	.tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img,
	.post .entry .tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img{
		height:560px;
	}
}
@media only screen and (min-device-height: 730px) {
	.tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img,
	.post .entry .tsm-photogallery-wrapper.phone.engage.portraitMode .tsm-photogallery-container .tsm-photogallery-item img{
		height:620px;
	}
}
.tsm-photogallery-wrapper.engage .tsm-photogallery-container .tsm-photogallery-item.tsm-photogallery-card,
#tsLists .tsm-photogallery-wrapper.engage .tsm-photogallery-container .tsm-photogallery-item.tsm-photogallery-card{xpadding:60px 69px; xwidth:calc(50% - 138px); xheight:calc(100% - 120px); background-color:#3d3d3d; width:50%; height:420px; }
.tsm-photogallery-wrapper.engage .tsm-photogallery-container .tsm-photogallery-item .tsm-photogallery-card-taboola{width:100%; height:100%; border:none; }
.tsm-photogallery-wrapper.engage .tsm-photogallery-container .tsm-photogallery-item .tsm-photogallery-card-zergnet{width:100%; height:100%; border:none; }
.tsm-photogallery-wrapper.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item.tsm-photogallery-card,
#tsLists .tsm-photogallery-wrapper.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item.tsm-photogallery-card{xpadding:20px 64px 0px 64px; xwidth:calc(50% - 128px); xheight:calc(100% - 20px); background-color:#3d3d3d; width:50%; height:100%; }
.tsm-photogallery-wrapper.phone.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item.tsm-photogallery-card,
#tsLists .tsm-photogallery-wrapper.phone.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item.tsm-photogallery-card{height:326px; }
x.tsm-photogallery-wrapper.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item .tsm-photogallery-card-taboola{width:100%; height:100%; border:none; }
.tsm-photogallery-container .tsm-photogallery-caption .tsm-photogallery-caption-taboola{font-size:15px; text-transform:uppercase; font-weight:bold; }

.tsm-photogallery-wrapper.phone{width:100%; height:auto; }
.tsm-photogallery-wrapper.phone.engage, .tsm-photogallery-container.hasThumbs.engage.phone{width:100%; height:auto; }
.tsm-photogallery-wrapper.phone.engage{z-index:4; min-height:600px; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container .tsm-photogallery-mover-container{min-height:0px; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.hasThumbs.engage{width:100%; height:auto; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container .tsm-photogallery{width:100%; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container{width:100%; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-item{background-size:cover;}
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-item.contain{background-size:contain;}
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage{height:auto; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-sidebar{position:static; width:100%; opacity:1; filter:alpha(opacity=100); float:left; background:#111; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-sidebar .tsm-photogallery-copy{padding:0px 4%; margin-top:0px; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-sidebar .tsm-photogallery-copy .tsm-photogallery-imagetitle{margin-bottom:0px; font-size:18px; line-height:24px; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-sidebar .tsm-photogallery-copy .tsm-photogallery-imagedescription{margin-top:5px; height:auto; font-size:12px; overflow:none; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .under-description-content{display:block;}
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .under-description-content.off{display:none;}
.tsm-photogallery-wrapper.phone .tsm-photogallery-container footer{height:0px; position:relative; float:left; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container .tsm-photogallery-footer{font-size:10px; }
.tsm-photogallery-wrapper.phone.engage .tsm-photogallery-overlay{opacity:1; filter:alpha(opacity=100); background-color:#111; top:-100%; height:200%; left:-100%; width:200%; }
.tsm-photogallery-wrapper.phone.engage{}
.tsm-photogallery-wrapper.phone.engage .tsm-photogallery-container{left:0px; top:0px; }
.tsm-photogallery-wrapper.phone.engage .tsm-photogallery-container .tsm-photogallery-header{height:50px; width:100%; background:#111; margin-bottom:10px; top:0px; }
.tsm-photogallery-wrapper.phone.engage.noAds .tsm-photogallery-container .tsm-photogallery-header{display:none; }
.tsm-photogallery-wrapper.phone .tsm-photogallery-container.engage .tsm-photogallery-engagement-close{top:64px; }
.tsm-photogallery-wrapper.phone.noAds .tsm-photogallery-container.engage .tsm-photogallery-engagement-close{top:14px; }

.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container{width:100%; height:100%; position:fixed; top:0px; left:0px; min-width:960px; min-height:610px; backface-visibility:hidden; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container.hasThumbs{min-height:660px; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery{width:calc( 100% - 330px ); height:calc( 100% - 150px); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery{background-color:#111; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-mover-container{height:calc( 100% - 38px ); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container.hasThumbs .tsm-photogallery-mover-container{height:calc( 100% - 88px ); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-mover{height:100%; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item{background-attachment:scroll; background-position:center center; background-repeat:no-repeat; background-size:contain; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item.off{opacity:0; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-item img{height:calc( 100% - 38px ); width:auto; opacity:0; visibility:hidden; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container.hasThumbs .tsm-photogallery-item img{height:calc( 100% - 88px ); width:auto; opacity:0; }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-sidebar.on{height:calc(100% - 195px); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-copy{height:calc(100% - 279px); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-imagedescription{height:calc( 100% - 41px ); }
.tsm-photogallery-wrapper.desktop.canFullscreen.engage .tsm-photogallery-container .tsm-photogallery-engagement-close{position:fixed; }
.tsm-photogallery-container .tsm-photogallery-item,
.tsm-photogallery-container .tsm-photogallery-item img,
.tsm-photogallery-container .tsm-photogallery-thumbnail-mover{-webkit-transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s,left 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -moz-transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s,left 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -o-transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s,left 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s,left 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; }
.tsm-photogallery-container .tsm-photogallery-mover.animate,
.tsm-photogallery-nav,
.tsm-photogallery-container h2,
.tsm-photogallery-container .tsm-photogallery-thumbnails img,
.tsm-photogallery-container .tsm-photogallery-thumbnails .thumbnail-page.animate,
.tsm-photogallery-container .tsm-photogallery-sidebar,
.tsm-photogallery-container.engage footer,
.tsm-photogallery-container .tsm-photogallery-header,
.tsm-photogallery-container{-webkit-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -moz-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -o-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; }
.tsm-photogallery-container .tsm-photogallery-engagement-close,
.tsm-photogallery-wrapper .tsm-photogallery-overlay,
.tsm-photogallery-container .tsm-photogallery-ad,
.tsm-photogallery-container .tsm-photogallery-thumbnail-wrapper,
.tsm-photogallery-container .tsm-photogallery-footer{-webkit-transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -moz-transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -o-transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; transition:opacity 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; }

.tsm-photogallery-wrapper .loadinganim{text-align:center; background:none; position:absolute; top:50%; left:50%; margin-top:-10px; margin-left:-15px;}
.tsm-photogallery-wrapper .loadinganim span{display:inline-block; vertical-align:middle; width:10px; height:10px; margin:0px auto; background:#969696; border-radius:50px; -webkit-animation:loader 0.9s infinite alternate; -moz-animation: loader 0.9s infinite alternate; }
.tsm-photogallery-wrapper .loadinganim.off span{-webkit-animation:none; -moz-animation:none; opacity:0; filter:alpha(opacity=0); }
.tsm-photogallery-wrapper .loadinganim span:nth-of-type(2) {-webkit-animation-delay: 0.3s; -moz-animation-delay: 0.3s;}
.tsm-photogallery-wrapper .loadinganim span:nth-of-type(3) {-webkit-animation-delay: 0.6s; -moz-animation-delay: 0.6s;}
@-webkit-keyframes loader {
	0% {
		width: 5px;
		height: 5px;
		opacity: 0.9;
		-webkit-transform: translateY(0);
	}
	100% {
		width: 10px;
		height: 10px;
		opacity: 0.1;
		-webkit-transform: translateY(-21px);
	}
}
@-moz-keyframes loader {
	0% {
		width: 5px;
		height: 5px;
		opacity: 0.9;
		-moz-transform: translateY(0);
	}
	100% {
		width: 10px;
		height: 10px;
		opacity: 0.1;
		-moz-transform: translateY(-21px);
	}
}

/*xxl photogallery styles*/
.xxl-photogallery{margin-bottom:25px; }
.xxl-photogallery .off{display:none; }
.xxl-photogallery .invisible{opacity:0; }
.xxl-photogallery-image-container{position:relative; width:100%; xheight:420px; overflow:hidden; }
.xxl-photogallery-image-container .xxl-photogallery-placeholder-image,.post .entry .xxl-photogallery-image-container img.xxl-photogallery-placeholder-image{
	width:100%; height:auto; opacity:0; z-index:-1; margin:0px; display:block;
}
.xxl-photogallery-image-container .image-frame{opacity:0; }
.xxl-photogallery-meta,
#main_container #content .single article .the_content ul.xxl-photogallery-meta{display:none; visibility:hidden; }
.xxl-photogallery-image{
	position:absolute; top:0px; left:0px;
	width:100%; height:100%;
	background-attachment:scroll; background-size:cover; background-position: center center; background-repeat:no-repeat; background-color:transparent;
	-webkit-transition:transform 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	transition:transform 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.xxl-photogallery-image.new-item-right, .xxl-photogallery-image.out-item-left{
	-webkit-transform:translateX(100%);
	transform:translateX(100%);
}
.xxl-photogallery-image.out-item-right, .xxl-photogallery-image.new-item-left{
	-webkit-transform:translateX(-100%);
	transform:translateX(-100%);
}
.xxl-photogallery-description iframe{width:100%; }
.xxl-photogallery-description .xxl-photogallery-iframe-container{width:100%; height:0px; padding-top:66.66%; position:relative; }
.xxl-photogallery-description .xxl-photogallery-iframe-container iframe{height:100%; position:absolute; top:0px; }
.xxl-photogallery-footer{
	height:38px;
	padding:0px 20px;
	line-height:38px; color:#fff;
	background:#000;
	margin-bottom:15px;
}
.xxl-photogallery-counter{
	color:#fff; font-size:12px;
	float:left;
}
.xxl-photogallery-caption{
	float:right;
	color:#cacad8;
}
.xxl-photogallery-counter{-webkit-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -moz-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -o-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; }
.xxl-photogallery-title,
#main_container #content #content_main article .the_content h2.xxl-photogallery-title{
	margin-bottom:20px;
}
/*description scrollbar*/
.tsm-photogallery-container .tsm-photogallery-copy .description-scroll{
	position:absolute; right:2px; bottom:-15px; display:none; cursor:pointer; z-index:1;
	background:url("../assets/img/sprite.png") no-repeat scroll center -15px transparent;
	width:23px; height:23px; display:none; transform:rotateZ(90deg); -webkit-transform:rotateZ(90deg);
	-webkit-user-select:none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none;
}
.tsm-photogallery-container .tsm-photogallery-copy .description-up{
	top:10px; bottom:auto; background-position:center -14px;
	transform:rotateZ(-90deg); -webkit-transform:rotateZ(-90deg);
}
.tsm-photogallery-container .tsm-photogallery-copy.showControls .description-scroll{
	display:block;
}
.tsm-photogallery-container .tsm-photogallery-copy.showControls .tsm-photogallery-imagedescription{
	padding-right:10px;
}

/*css tweaks (moved from js to css file now). add photogallery-engage class to body when gallery goes in engage mode.*/
body.photogallery-engage-fullscreen{overflow:hidden;}
body.photogallery-engage-phone-fullscreen{overflow:visible;}
body.photogallery-engage #main_container{z-index:3; }
body.photogallery-engage .post .entry{padding:0px; }
body.photogallery-engage #main_container nav.main{z-index:3; }
body.photogallery-engage .tsm-photogallery-sibling, body.photogallery-engage #adblade, body.photogallery-engage #bottom_banner, body.photogallery-engage #wpadminbar, body.photogallery-engage .krg-hov-wrapper{display:none; }
body.photogallery-engage #top_banner, body.photogallery-engage #lazyboy-rising-star-outer{z-index:-1;}