
/*デバッグ用：各要素が必ず線で囲まれて、背景を白で塗りつぶされる*/
/*
*	{
	border: solid 1px;
	background-color: #ffffff; 
}
body	{
	padding:auto;
	margin:auto;
}
*/
h1{
	background-color: #333; 
	color:#ddd;
	font-size:15px;
	margin:auto;
	text-align: center;
}
h2{
	font-size:20px;
	margin:15px 0 0;
	color:#ccc;
	background-color: #666; 
}
h2:first-child{
	font-size:20px;
	margin:0;
}
h2::before{
	content:"＊";
}
#MainTable{
	background-color: #f3f3f3;
	margin:auto;
	width:340px;
}
p{
	margin:0;
	padding:0 5px 20px 50px;
}
p:before{
	content:"･";
}
form.smallImageInputs {
	display: block;
}
#TweetLoginButton{
	display:none;
}
#MainTable button, #MainTable input[type='button'], #SettingScreen input[type='button']{
	border: solid 1px #000;
	background-color: #fff;
	text-decoration: none;
	font-size:90%;
	color:#555;
	border-radius: 4px;/*角の丸み*/
}
#MainTable button:hover, #MainForm input:hover{
	color:#36f;
	text-shadow: 0 0 0.2em #69f;
}
#MainTable button:active, #MainForm input:active{
	color:#36f;
	background-color: #ccc;
	border: solid 1px #fff;
	text-shadow: 0 0 0.2em #69f;
}
#MainTable button:disabled, #MainForm input:disabled{
	border: solid 1px #666;
	color:#666;
	background-color: #999;
	text-shadow: none;
}

table td{
	border: solid 1px #888;
}
.centerize {
	text-align: center;
}
td.imageContainer	{
	text-align: center;
	height:170px;
	width:50%;
	font-size:10px;
}
.smallImageHelps{
	color : #AAA;
	vertical-align:middle;
	text-align: left;
	display: block; 
	height:52px;
	padding:0 2px 0;
}
.smallImageHelpsIMG{
	float:right;
	position:relative;
	top:-5px;
}
input#WeightInput{
	border: solid 1px #fff;
	width:60%;
	height:1em;
	vertical-align:baseline;
	padding:0px;
	margin:0px;
}
div.imageContainer	{
	display: table-cell; 
	vertical-align:middle;
	text-align: center;
	width:169px;
	height:150px;
	margin: 0;
	padding: 0;
	border: solid 1px;
	background-color: #666; 

}
.smallImages {
	vertical-align:middle;
	margin:0;
	max-width:100%;
    max-height:100%;
}
input.smallImageInputs{
	display:inline;
	width:100%;
    height:25px;
}
td.previewContainer{
	font-size:10px;
	vertical-align:middle;
	text-align: center;
	height:300px;
}
div#previewContainer ,div#progressContainer,div#noPreviewContainer{
	display: table-cell; 
	vertical-align:middle;
	text-align: center;
	margin: 0;
	padding:0;
	vertical-align:middle;
	text-align: center;
	width:340px;
	height:290px;
}
div#previewContainer{
	background-color: #fff; 
}
div#previewContainer:hover{
	background-color: #000; 
}

#MainCalcProgress{
	width:60%;
}
#progressPerStr{
	text-align: right;
	display:inline-block;
	width:4em;
}
#previewImage{
	vertical-align:middle;
	margin:0;
	max-width:100%;
    max-height:100%;
}




div.footer	{
	width:100%;
	height:auto;
	margin-bottom:0px;
	text-align: right;
	background-color: #ddd; 
}
div.footer > p{
	height:100%;
}


#TweetScreen{
	font-size:15px;
	height : 250px;
	width : 350px;
	margin:auto;
	background-color: #69C;
	color:#fff;
	border-radius:10px;
	opacity: 1.0;
	z-index: 270;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 20%;
	
	padding:10px 5px;
}
#tweetBodyTop{
	width : 90%;
	text-align:left;
	margin:auto;
}
#tweetBodyBottom{
	width : 90%;
	margin:auto;
	display:table;
}
#tweetText{
	width : 98%;
	height : 100px;
	resize: none;
	padding:5px;
	border-radius: 10px;/*角の丸み*/
	font-size:110%;
}
#tweetBodyImage{
	display:table-cell;
	height : 100px;
	width : 50%;
	text-align:center;
	vertical-align:middle;
}
#tweetImage{
	max-width : 100%;
	max-height : 100%;
	background-color: #FFF;
}
#tweetImage:Hover{
	background-color: #000;
}
#tweetFromIDContainer{
	float: right;
	width: 50%;
	overflow-x: hidden;
	overflow-y: hidden;
	height: 1.5em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	word-break: break-all;
}
.TwittercreenName{
	font-size: 70%;
	opacity: 0.6;
}
img.userIcon{
	height: 1.5em;
	width: 1.5em;
	vertical-align: middle;
}
#tweetControllButtons{
	display:table-cell;
	height : 100px;
	width : 50%;
	text-align:right;
}
input#tweetSend, input#tweetCancel{
	background-color: #369;
	text-decoration: none;
	padding: 1px 20px;
	font-size:110%;
	border: none;
	color:#fff;
	border-radius: 20px;
}
input#tweetSend:active,input#tweetCancel:active{
	color:#69C;
	background-color: #fff;
}
input#tweetSend:disabled, input#tweetCancel:disabled{
	color:#369;
	background-color: #888;
}

input#tweetCancel{
	color:#369;
	background-color: #9dF;
}

#tweetControllButtonsTOP{
	height : 50%;
}
#tweetControllButtonsBOTTOM{
	height : 50%;
}

.tweet_CountOver{
	color:red;
}


#MainForm{
	position:relative;
	color:#444
}
#SettingScreen{
	display: flex;
	flex-direction: column;
	font-size:80%;
	height : 260px;
	width : 200px;
	background-color: #f3f3f3;
	z-index: 150;
	top: 288px;
	left: 40px;
	position:absolute;
	padding:10px;
	border: solid 1px #888;
	color:#444
}
#SettingScreen label{
	display : block;
	color:#444
}
#SettingScreen label:disabled{
	color:#fff
}
#SettingScreen fieldset{
	border: solid 1px #ccc;
}
#SettingScreen legend{
	color:#888;
}

#SettingScreen input{
	vertical-align:middle;
}

#FormOverlay{
	height : 100%;
	width : 100%;
	opacity: 0.6;
	background-color: #888;
	z-index: 100;
	position:absolute;
	top:0;
}
#LoadingScreen{
}
#TweetMenuButton:before {
	content: '';
	display: inline-block;
	height:1.5em;
	width:1.5em;
	background-size: contain;
	vertical-align: middle;
	border-radius: 20px;
}
#BottomButtonContainerLeft{
	width:25%;
}
#BottomButtonContainerMid{
	width:40%;
}
#BottomButtonContainerRight{
	width:35%;
}

body{
	padding:0;
	margin:0;
}

@media screen and (max-width: 649px) {
	#SettingScreen{
		width : 300px;
		font-size:120%;
		height : 500px;
		left: 40px;
		top: 108px;
	}
	#BottomButtonContainerLeft{
		width:10%
	}
	#BottomButtonContainerMid{
		width:40%
	}
	#BottomButtonContainerRight{
		width:55%
	}
	#MainForm{
		margin: auto;
		width:100%;
		background-color: #aaa;
	}
	#SettingScreen label{
		margin-bottom: 10px;
	}
	#SettingScreen input{
		min-width:30px;
		min-height:30px;
	}
	.middleInputContainer input{
		padding:10px 5px;
		margin:5px;
	}
	#WeightInput{
		display:inline-block;
		padding:0 5px;
		margin:5px;
		width:50%;
		height:20px;
	}
	.bottomButtons{
		padding:10px;
		margin:5px;
	}
	#IntroductionImage{
		width:100%;
	}
}
@media screen and (min-width: 650px) {
	html {
	  height: 100%;
	}
	body {
		min-height: 100%;
		display: flex;
		flex-direction: column;
	}
	#settingButton{
		margin-left:10px;
	}
	#MainDiv{
		flex: 1;
	}
	h1{
		font-size:25px;
		width:100%;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	#MainDiv{
		display:table;
		margin:0 auto auto;
		max-width:1200px;
	}
	#MainForm{
		position:relative;
		margin: auto;
		display:table-cell;
		width:380px;
	}
	#otherinformation {
		vertical-align:top;
		margin: auto;
		height:607px;
		display:table-cell;
	}
}