/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;

}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
	
}

.container {
	background: #e74c3c;
	min-height: 100%;
	
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 650px;/* modalのボックスの幅 元650px */
	min-width: 650px;/* modalのボックスの幅 最小　元320px */
	height: 100%;/* modalのボックスの高さ */
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	overflow-x: scroll;　/* 高さを指定しているので中身が超えた分はスクロールできるように */
	
	
}

.md-show {
	visibility: visible;
	
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(0, 0, 0,0.3);/* 全体バックカラー */
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	
	
	
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
	
}

/* Content styles */
.md-content {
	color: #444343;/* モダール内の文字色*/
	background: #fff;/* モダール内の色 */
	/*background-image:url("http://mizyzy.com/koizumi/back_washi03.jpg"); モダール内の背景画像 */
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	font-weight:300;
	line-height:1.2rem;/* モダール内の行間 */
	font-size:1.0rem;/* フォントサイズ */
	
	
	
}




.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
	
}

.md-content > div {
	padding: 0px 80px 0px 80px ;/* 白窓内の上右下左のアキ　元0px 57px 0px 57px */
	margin: 0;
	font-weight: ;
	
	

}

.md-content > div p {
	margin: 0;
	padding: 0;/* 窓内の上のアキ */
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	
	font-size: 1.2em;/*CLOSEの文字サイズ */



	
}






/* Individual modal styles with animations/transitions */



/* Effect 7:  slide and stick to top */
.md-effect-7{
	top: 0;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	
	
}

.md-effect-7 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	-webkit-transition: all 1.0s;/* スピード */
	-moz-transition: all 1.0s;/* スピード */
	transition: all 1.0s;/* スピード */
	opacity: 0;
	
	
}

.md-show.md-effect-7 .md-content {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	border-radius: 0 0 120px 15px;/* モダールウィンドウの角丸 */
	opacity: 1;
	
	
}







