﻿/*
	For all pages.
	CSS  Level 3 Optimized.
	2017-04-29 by Keshikan
*/

@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,700');


table {
	margin: 0px 0px 30px 10px;
	padding: 0px;
	border-collapse: collapse;
}

td {
	padding: 2px;
	background-color: #fafaf7;
	border: 1px solid #555;
}

th {
	padding: 5px;
	text-align: center;
	vertical-align: top;
	color: #333;
	background-color: #eee;
	border: 1px solid #555;
}

a{
	color:#adbaff;
}

a:hover{
	color:#f8f9ff;
}

a:visited{
	color:#adbaff;
}

.bordernone {
	border:none;
}

table[class="bordernone"] th, table[class="bordernone"] td {
	border:none;
	background-color:#fbfbfb;
}

.displaySample {
	font-family:D7MR;
	position:relative;
}


td.displaySample span:nth-of-type(1) {
	z-index:100;
	position:absolute;
	top:10px;
	white-space: nowrap;

}

td.displaySample span:nth-of-type(2) {
	z-index:50;
	position:absolute;
	top:10px;
	color:rgba(0,0,0,0.1);
	white-space: nowrap;
}


.nomark {
	list-style-type:none;
	margin-left:-10px;
}

hr{
	border-width:1px 0 0 0;
}

.download{
	text-align:center;
	background-color:#333388;
	color:#fff;
	padding:5px;
	font-size:150%;

	border-radius:7px;

	font-weight:bold;

	box-shadow:4px 4px 5px #888

}
.download:hover{
	text-align:center;
	background-color:#fff;
	color:#333388;
	padding:5px;
	font-size:150%;
	border:3px solid #333388;

	border-radius:7px;

	font-weight:bold;
}

.btc{
	text-align:center;
	background-color:#aa513f;
	color:#fff;
	padding:5px;
	font-size:150%;

	border-radius:7px;

	font-weight:bold;

	box-shadow:4px 4px 5px #888;

}
.btc:hover{
	text-align:center;
	background-color:#fff;
	color:#aa513f;
	padding:5px;
	font-size:150%;
	border:3px solid #aa513f;

	border-radius:7px;

	font-weight:bold;
}

.center{
	text-align:center;
}

img{
	max-width:100%;
	margin-top:10px;
	margin-bottom:30px;
}

.mathjax {
	font-size:100%;
}


.footnote{
	font-size:80%;
}

/*CureSynth Mod*/

body {
	background-color:#382828;
	font-size:20px;
	line-height:160%;
	color:#ddd;
	font-family:
	'Ubuntu', "Helvetica Neue", "Helvetica",
	 "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial",
	 "メイリオ", "Meiryo", 'Hiragino Sans', sans-serif;
	margin:0px;
	margin-right: auto;
	margin-left : auto;
	padding-bottom:20px;
	max-width: 800px;
}

.top-header{
	font-size:100%;
	background-color:#17223b;
	color:white;
	padding-top:5px;
	padding-bottom:5px;
	width: 100%;
}

.top-header h1{
	font-weight:300;
	font-size:180%;
	clear:both;
	padding-left:10px;
	margin:10px;
}

.top-header p{
	font-weight:500;
	clear:both;
	padding-left:10px;
	margin:10px;
}

.top-navi{
	font-size:100%;
	background-color:#17223b;
	color:white;
}

.top-navi ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0;
	padding: 0px;
	list-style-type: none;
}

.top-navi a{
	display: block;
	text-decoration: none;
	color:white;
}

.top-navi li {
	display: block;
	padding: 4px 10px;
	text-align:center;
	width:110px;
	text-decoration: none;
	border-style:none solid none none;
	border-width:1px;
	border-color:#aaaaaa;
}

.top-navi li:first-child {
	font-weight: 300;
	font-size:140%;
	margin-right: auto;
	border-style:none none;
}

.top-navi li:last-child {
	border-style:none;
	border-width:0px;
	border-color:#aaaaaa;

}

.top-navi li a:hover {
	background-color:transparent;
	color:#F2DFA7;
	background-color:#bd472f;
}

.top-navi .is-active{
	background-color:#45587F;
}


.is-under-construction{
	color: #555555;
}

/*
@media screen and (max-width: 900px) {
	.top-navi li {
		font-size:60%;
		width:60px;
	}
	.top-navi li:first-child {
		font-weight: 300;
		font-size:80%;
		margin-right: auto;
		border-style:none none;
	}
}
*/

.top-image{
	background-image: url("../img/cs_back_blk2.png");
	background-repeat:no-repeat;
	background-size: cover;
	background-position:center center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height:280px;
}

.top-txt-sub{
	color: white;
	font-size: 150%;
	font-weight: 700;
	text-align: center;
	vertical-align: middle;
	line-height: 1.2em;
	text-shadow: 
	2px  2px 2px #17223b,
   -2px  2px 2px #17223b,
	2px -2px 2px #17223b,
   -2px -2px 2px #17223b,
	2px  0px 2px #17223b,
	0px  2px 2px #17223b,
   -2px  0px 2px #17223b,
	0px -2px 2px #17223b;
}

.top-txt-main{
	color: white;
	font-size: 320%;
	font-weight: 700;
	text-align: center;
	vertical-align: middle;
	margin-top:10px;
	margin-bottom: 25px;
	line-height: 1.2em;
	text-shadow: 
	2px  2px 2px #17223b,
   -2px  2px 2px #17223b,
	2px -2px 2px #17223b,
   -2px -2px 2px #17223b,
	2px  0px 2px #17223b,
	0px  2px 2px #17223b,
   -2px  0px 2px #17223b,
	0px -2px 2px #17223b;
}

.top-txt-purchase{
	background-color:#17223b;
	color:white;
	font-size: 120%;
	font-weight: 700;
	padding:10px 20px;
	margin-top:10px;
	margin-bottom:20px;
	border-radius:6px;
	border-width:1px;
	border-color:white;
	border-style:solid;
}

.top-txt-purchase-is-under{
	background-color:#17223b;
	color:#555;
	font-size: 120%;
	font-weight: 700;
	padding:10px 20px;
	margin-top:10px;
	margin-bottom:20px;
	border-radius:6px;
	border-width:1px;
	border-color:white;
	border-style:solid;
}

.top-image a{
	display: block;
	text-decoration: none;
	text-align: center;
}

.top-image a:hover{
	display: block;
	background-color:#bd472f;
	text-decoration: none;
	text-align: center;
}

h1 {
	color:#fff;
	padding:20px;
}

h2 {
	margin-top:30px;
}

.main-txt{
	background-color:transparent;
}

.main-txt h1{
	font-weight:700;
	height:1.0em;
	padding:8px 5px;
	margin:18px 0 8px 5px;

}

.main-txt h2{
	margin:40px 0 8px 5px;

}

.main-txt p{
	font-weight:300;
	margin:0;
	padding:0px 5px;
	line-height: 1.5em;
}


.top-description-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin-top:20px;
}

.top-description-content {
	margin:15px 15px 0px 15px;
	 width:350px;
}

.top-description-content img{
	display: block;
	width: 350px;
	height: 200px;
	object-fit: cover;
	border: 3px solid #888;
	border-radius:10px;
	margin:0 auto;
	padding:0;
}

.top-description-content h2{
	margin:20px 0 0 0;
	text-align:center;
	font-weight:300;
	color:#ff7155;
	text-shadow:2px 2px 1px #111;
}

.top-description-content p{
	margin-top:10px;
	padding:0;
	text-shadow:2px 2px 3px #111;
}

.main-image{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 20px 20px;
}

.main-image img{
	border-width:3px;
	border-color:#ddd;
	border-style:solid;
	border-radius:30px;
	max-width:800px;
}



footer {
	margin:20px 0 0 0;
	padding-left:10px;
	font-size: 100%;
	border-top:1px solid #555;
}

footer a{
	color:#F2DFA7;
	text-decoration: underline;
}

footer a:hover {
	color:#F2DFA7;
	background-color:#bd472f;
}

footer .validator{
	font-weight:bold;
	float:left;
}

footer .validator A:hover{
	background-color:#fbfbfb;
}

.center-wrapper{
	display:flex;
	flex-wrap: wrap;
	margin: 0 auto;
	max-width:1000px;
}

.top-movie-wrapper{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top:20px;

}

.css_connect_button{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 0;
	background:#17223b;
	color:white;
	font-size: 250%;
	font-weight: 700;
	padding:10px 20px;
	margin-bottom:0px;
	margin-left:10px;
	border-radius:6px;
	border-width:3px;
	border-color:white;
	border-style:solid;
		 
}

.css_connect_button:hover {
	background: #3d5ea0;
  }
  
.css_connect_button:focus {
	outline: none;
	box-shadow: 0 0 0 5px #eee;
}

.css_connect_button[disabled] {
	color: #747475;
	background: #142444;
    cursor: not-allowed;
}

.css_button_wrap{
	text-align: center;
	margin-top: 10px;
	padding-bottom:5px;
	display:flex;
	justify-content: center;
	align-items: center;
}

.css_button_wrap label{
	font-size: 110%;
}

.option_development{
	border-style:dashed;
	border-width: 1px 0 0 0 ;
	border-color:white;
}

.css_releasenote_wrap{
	text-align: center;
	margin-bottom: 15px;
	font-size:110%;
}

select {
	font-size: 110%;
	padding: 3px 5px;
	margin: 10px;
	background-color: #182631;
	color:white;
	border-radius: 4px;
	border-color:white;
  }

  select option:checked {
	background-color: #447293;
	color:white;
  }

.css_releasenote_string{
	font-size: 110%;
}

fieldset{
	border-radius: 6px;
	border-width:2px;
	background-color: #182631;
}

#progressbararea{
	text-align: center;
}

#progressbar_main{
width:500px;
}

#message{
	min-height:100px;
}

#log_and_progress{
	font-size: 120%;
	font-weight: bolder;
	min-height: 80px;
	color: #ffa08d;
}
#logarea{
	min-height: 40px;
}

dl{
	display:flex;
	flex-wrap: wrap;
	border: 1px solid #ccc;
	border-width:0 0 1px 0;
	margin-left:20px;
	margin-right:20px;
	max-width:1000px;
  }
dt{
	width: 30%;
	padding: 10px;
	box-sizing: border-box;
	border-top: 1px solid #ccc;
  }
dd{
	width: 70%;
	padding: 10px 10px 10px 20px;
	margin: 0;
	border-top: 1px solid #ccc; 
	box-sizing: border-box;
	font-size:90%;
  }
@media screen and (max-width: 350px) {
	dl{
		flex-flow: column nowrap;
		}
	dt,
	dd{
		width: 100%;
		}
	dd{
		border-left: none;
		}
  }

.top-fixed{
	position: sticky;
	top:0px;
	background-color: #382828;
	border-bottom: white;
	border-bottom-width: 3px;
	border-bottom-style: dashed;
	padding-bottom:20px;
}

#sample div {background-color:#ccccff; margin:4px;}
.rei {font-size:60px;}
.oya {font-size:30px; background-color:#ccffcc;}
.sample3 {font-size:12px; background-color:#ffccff; vertical-align:middle;}
