/**
 * Mastodon User Timeline Widget
 * Copyright (c) 2017 有限会社アゼット
 * ライセンスに関して、LICENSEファイルを参照下さい。
 * see license file for details.
 *
 * @author Azet <http://www.azet.jp>
 * @version 1.05
 */

/* main container >>> */
#mastoStack_stacks_in_2 {
	max-width: 500px;
	margin: 0 auto;
}

#mastoStack_stacks_in_2 .mastodon-timeline a:link,
#mastoStack_stacks_in_2 .mastodon-timeline a:active,
#mastoStack_stacks_in_2 .mastodon-timeline a {
	text-decoration: none;
	font-weight: normal;
}

#mastoStack_stacks_in_2 .mt-body {
	max-height: 2000px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;

	/* force wrap */
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

#mastoStack_stacks_in_2 .mt-body .invisible {
	display: none;
}

#mastoStack_stacks_in_2 .mt-loading {
	padding: 10px;
	text-align: center;
}

/* toots -messages */
#mastoStack_stacks_in_2 .mt-toot {
	margin: 5px;
	padding: 5px 5px 5px 65px;
	position: relative;
	min-height: 60px;
}

#mastoStack_stacks_in_2 .mt-toot:nth-child(n+2) {
	border-top: 1px solid purple;
}

#mastoStack_stacks_in_2 .mt-toot p:last-child {
	margin-bottom: 0;
}

#mastoStack_stacks_in_2 .mt-date {
	text-align: left;
}

#mastoStack_stacks_in_2 .mt-date .nsfw {
	background: purple;
	color: white;
	margin-right: 1em;
	padding: 0 3px;
	border-radius: 2px;
}

#mastoStack_stacks_in_2 .mt-avatar {
	position: absolute;
	top: 10px;
	left: 5px;
	width: 50px;
	height: 50px;
	border-radius: 5px;
}

#mastoStack_stacks_in_2 .mt-avatar-boosted {
	width: 40px;
	height: 40px;
}

#mastoStack_stacks_in_2 .mt-avatar-booster {
	width: 25px;
	height: 25px;
	top: 25px;
	left: 25px;
}

#mastoStack_stacks_in_2 .mt-error {
	color: darkred;
	background: lightpink;
	margin: 5px;
	padding: 10px;
}

/* spoiler */
#mastoStack_stacks_in_2 a.btn-spoiler {
	margin-left: 5px;
	padding: 3px;
	background: purple;
	color: white;
	border-radius: 3px;
	font-size: 80%;
}

#mastoStack_stacks_in_2 .spoiler-body {
	display: none;
}

/* medias */
#mastoStack_stacks_in_2 .toot-media-preview {
	position: relative;
	margin-top: 5px;
	height: 100px;
	background-size: cover;
	background-position: center center;
	box-sizing: border-box;
	color: white;
	text-align: center;
	padding-top: 40px;
}

#mastoStack_stacks_in_2 .toot-media-preview a {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#mastoStack_stacks_in_2 .toot-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 5px;
}

/* toots status */
#mastoStack_stacks_in_2 .toot-status {
	font-weight: bold;
	margin-top: 5px;
}

#mastoStack_stacks_in_2 .toot-status .toot-status-boosts,
#mastoStack_stacks_in_2 .toot-status .toot-status-favourites {
	display: inline-block;
	white-space: nowrap;
	margin-right: 10px;
}

/* medias display */
#mastoStack_stacks_in_2 .toot-media-filter {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.9);
}

#mastoStack_stacks_in_2 .toot-media-zoom {
	position: fixed;
	top: 5%;
	right: 5%;
	bottom: 5%;
	left: 5%;
}

/* Theme */
#mastoStack_stacks_in_2 {
	background: rgba(57, 63, 79, 1.00);
	color: rgba(255, 255, 255, 1.00);
}

#mastoStack_stacks_in_2 a,
#mastoStack_stacks_in_2 a:link {
	color: rgba(43, 144, 217, 1.00);
}

#mastoStack_stacks_in_2 a:visited {
	color: rgba(43, 144, 217, 1.00);
}

#mastoStack_stacks_in_2 a:hover {
	color: rgba(43, 144, 217, 1.00);
}

#mastoStack_stacks_in_2 a:active {
	color: rgba(43, 144, 217, 1.00);
}

#mastoStack_stacks_in_2 .mt-toot:nth-child(n+2) {
	border-top-color: rgba(96, 105, 132, 1.00);
}

#mastoStack_stacks_in_2 .toot-status,
#mastoStack_stacks_in_2 .mt-date a {
	color: rgba(96, 105, 132, 1.00);
}

/* spoiler === */
#mastoStack_stacks_in_2 a.btn-spoiler {
	background: rgba(104, 115, 144, 1.00);
	color: rgba(57, 63, 79, 1.00);
}



