/* .tc will be the root for TimeCapsule elements */

*
{
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box; /* Firefox, other Gecko */
	box-sizing: border-box; /* Opera/IE 8+ */
}

.body
{
	background-color: #f0f0f3;
}

.nextPsContent
{
	text-align: center;
    width: 100%;
	font-size: 2em;
	margin-bottom: 10px;
}
.nextPsContent.done .loader{
	display:none; 
}
.nextPsContent.done .doneMsg{
	display: inline-block !important;
}
.loader svg{
	width: 30px;
	height: 30px;
}
.loader svg circle{
	stroke: #777777;
}
#tt_page_PhotoStream .loader svg circle{
	stroke: #ff0094;
}
#tt_page_MyStream .loader svg circle{
	stroke: #007aff;
	stroke: #ff0094;
}

.tc .loader {	
	position: absolute;
	right: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.loadingStream
{
	float: left;
	/* padding: 5px; */
	/* background: #d9d9d9; */
	/* margin: 10px; */
	/* border-radius: 5px; */
	width: 100%;
	text-align: center;
	vertical-align: middle;
	/* height: 3em; */
	margin: auto;
	padding-bottom: 40px;
}
.loadingStream i{
	font-size: 2em;
}

.tc *
{
	margin: 0;
	padding: 0;
}

.tc
{
	/* width: 100%; */
	/* padding: 8px; */
	border-radius: 6px;
	border: 1px solid #ccc;
	border-bottom: 1px solid #bbb;
	background-color: rgba(255,255,255,0.6);
	/*float: left;*/
	overflow: hidden;
	vertical-align: bottom;
	box-shadow: 0px 1px 2px 1px rgba(150,150,150,0.2);
	/* -webkit-transform: translateZ(0); */
	/* transform: translateZ(0); */
}

.tc .loader svg circle{
	stroke: #777;
}
.desktop #tt_page_PhotoStream .tc{
    margin-bottom: 25px;
    position: relative;
    /* height: 270px; */
}
#tt_page_PhotoStream .tc{
	background-color: #fff;
}
#tt_page_MyStream .tc{
	background-color: rgba(255,255,255,0.9);
	margin: 6px 6px;
	/* display: flex; */
	/* flex: 1 1 auto; */
	width: 49%;
	/* margin-bottom: 10px; */
	border-radius: 6px;
}

/*.tc .lazy{
	background-image: url();
	background-position: center;
	background-repeat: no-repeat;
	background-color: #ee0;
}*/
/*.tc:hover .external-scroll_x{
	visibility: visible;
}*/

.noImgsScroll .tc_thScroll{
	display: none !important;
}
.desktop .tc:hover .tc_thScroll{
	display: block;
}
.desktop .hoverShow{
	display: none;
}
.desktop .tc:hover .hoverShow{
	display: inline-block;
}

.tc_thScroll{
	display: none;
	position: absolute;
	margin: auto;
	margin: 0;
	top: 50%;
	margin-top: -31px;
	line-height: 50px;
	width: 10px;
	z-index: 1;
	color: #000;
	cursor: pointer;
}
	.desktop .tc:hover .tc_thScroll
	{
		text-align: center;
		background-color: rgba(0,0,0,1);
		color: white;
		font-weight: bold;
		/* -webkit-transition: background-color 1s; */
		-moz-transition: background-color 1s;
		/* transition: background-color 1s; */
		-moz-transition: width .2s;
		-webkit-transition: width .2s;
		transition-duration: 0.2s;
	}
	.desktop .tc .tc_thScroll:hover
	{
      background-color: rgba(0,0,0,1);
      width: 30px;
      -moz-transition: width .2s; /* Safari */
      /* -webkit-transition: width .2s; */ /* Safari */
      /* transition-duration: 0.2s; */
      font-size: 29px;
 }
.scroll_l{
	left: -10px;
}
.scroll_r{
	right: -10px;
	text-align: right;
}
.tc_titleBar
{
	margin: 1%;
	width: 98%;
	box-sizing: border-box;
}

.tc_titleInfo .tc_title_line2 *
{font-size: 0.95em;}

.tc_titleBarTable
{
	width: 100%;
}

	.tc_titleBarTable td
	{
		vertical-align: middle;
	}

		.tc_titleBarTable td > div
		{
			margin-right: 2px;
		}

.tc_titleBar_userProfilePicture
{
	width: 42px;
}

.tc_title_line1 .sep{
	padding: 0 3px;
}
	.tc_titleBar_userProfilePicture .profileImg
	{
		/*border: 2px solid #ec008c;*/
		border-radius: 50%;
		height: 36px;
		width: 36px;
		overflow: hidden;
		background-color: #aaa;
		margin-top: 2px;
	}

	.tc_titleBar_userProfilePicture .profileLabel
	{
		border-radius: 50%;
		height: 36px;
		width: 36px;
		line-height: 37px;
		text-align: center;
		overflow: hidden;
		background-color: #444;
		color: white;
		margin-top: 2px;
	}

	.tc_titleBar_userProfilePicture .alb
	{
		font-size: 20px;
		background-color: #444;
		color: #aaf;
	}

	.tc_titleBar_userProfilePicture .profileImg img
	{
		width: 100%;
		height: 100%;
	}


.tc a.tc_owner
{
	font-weight: 600;
	color:#2e9fff;/* #4242f6;*/
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

	.tc a.tc_owner:hover, .tc a.tc_albumLink:hover
	{
		text-decoration: none;
	}

.tc a.tc_albumLink
{
	font-weight: bold;
	color: #ec008c;
	color: rgba(0,122,255,1);
	color: #007aff;
}

.tc_extendedInfo
{
	visibility: hidden;
	color: #aaa;
}

.tc_visible
{
	visibility: visible;
}

.tc_extendedInfo.line1
{
	font-size: 0.75em;
	position: relative;
	top: 3px;
}

.tc_extendedInfo.tc_np
{
	margin-right: 5px;
}

.tc_extendedInfo.line2
{
	float: left;
	position: relative;
	top: -10px;
}
.tc_titleBar .like-div {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    /* line-height: 20px; */
    font-size: 18px;
    margin-right: 10px;
    margin-top: 0px;
    text-align: center;
    color: #007aff;
}
.tc_inline{
	display: inline !important;
}

	.tc_extendedInfo.line2 *
	{
		font-size: 0.75em;
	}

.tc_images
{
	margin-left: 10px;
	position: relative;
	margin-right: 10px;
}

.tc_body
{
	height: 216px;
	height: 316px;
	margin-top:10px;
	/* position: absolute; */
	/* top: 44px; */
	/* width: 100%; */
}

.tc1 .tc_body {
	height: 113px;
	height: 163px;
}

.pAlbumMedia {
    height: 213px;
    height: 313px;
    /*width: 98%;*/
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

   .pAlbumMedia img {
      margin-right: 2px;
   }
	.pAlbumMedia img:last-child {
      margin-right: 0px;
    }

.tc1 .pAlbumMedia{
	height: 111px;
	height: 161px;
}

.tc1 .pAlbumMedia .stream
{
	/*width:1500%;*/
	height: 110px;
	height: 160px;
}

.tc3 .tc_body {
  height: 317px;
}
.tc3 .pAlbumMedia
{
  height: 319px;
}
.tc3 .pAlbumMedia .stream {
  height: 322px;
}

.pAlbumMedia .stream
{
	/*width:1500%;*/
	height: 210px;
	height: 310px;
	-webkit-box-align: inline-block;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: flex-start;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	margin-left: -1px;
}
.pAlbumMedia.stream{
	height: 207px;
}
	.pAlbumMedia .stream .pic
	{
		transition: visibility 1s;
		position: absolute;
		top: -50px;
		bottom: -50px;
		left: -50px;
		right: -50px;
		margin: auto;
		height: 100px;
		height: 150px;
		/*margin: 5px;*/
		/*box-shadow: 0 0px 3px 1px #bbb;*/
	}
	.pAlbumMedia .stream .i-p .pic
	{
		/*width: 100px;*/
		/*width: 150px;*/
		height:auto;
	}
	/*.pAlbumMedia .lazy{
		background-color: #bbb;
	}*/

.stream .vico, .mf .vico, #lightbox .vico {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    font-size: 24pt;
    color: #fff;
    border: 3px solid #fff;
    padding: 0;
    /* padding: 4.5pt; */
    padding-left: 4px;
    border-radius: 30px;
    width: 48px;
    height: 48px;
    /* line-height: 30px; */
    text-align: center;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    /* background-color: rgba(0,0,0,0.2); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.vid-duration {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-style: normal;
    margin: 6px 6px;
    padding: 1px 4px;
    border-radius: 28px;
    font-size: 12px;
    /* text-shadow: 0px 0px 5px #000; */
    /* background-color: rgba(255,255,255,0.5); */
    background-color: rgba(0,0,0,1);
    z-index: 99;
    width: auto !important;
    height: auto !important;
}
.AlbumGal .vid-duration {
	font-size: 14px;
    padding: 2px 6px;
    top: 2px;
}
/* clear fix */
.isotope:after
{
	content: '';
	display: block;
	clear: both;
}

/* ---- .item ---- */

.stream .item
{
	/* 	float: left;
	height: 100px; */
	position: relative;
	background-color: #bbb;
	width: 100px;
	height: 100px;
	width: 150px;
	width: 200px;
	height: 150px;
	margin: 1px;
	overflow: hidden;
	}

.tc_titleBar
{
	display: inline-block;
	vertical-align: text-top;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	position: relative;
}

.tc_titleInfo {
	display: inline-block;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.tc_titleInfo *{
	display: inline-block;
}

.tc_titleInfo .tc_title_line1 *{
	display: inline;
}

.tc_titleInfo .hide
{
	display: none;
}
 .tc_titleInfo .tc_title_line1
{
	display: block;
	margin: 3px 0;
}


@media (max-width: 800px)
{
	.tc
	{
		width: 100%;
		min-width: 300px;
		margin: 10px 0;
		border-radius: 0;
		/*background: none;
		border: none;*/
	}
	
	.tc_images {
		margin-left:0;
	}
	.pAlbumMedia {
		width:100%;
	}
}

@media (max-width: 500px)
{
	.longDate
	{
		display: none !important;
	}

	.tc_titleInfo .shortDate
	{
		display: inline-block;
	}

	.tc_images {
		margin-left:0;
	}

	.pAlbumMedia .stream .pic
	{
		margin-left: 0px;
	}
}

