/*
*
* EmsDialog プラグインCSS
*Requred:
*        jquery-1.9.x + 
*
*Author: SR) Ayumi.Kogiso
*
*Version: 0.0.9		2016/03/04
*/
.ems_modal_overlay{
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:120%;
	background-color:rgba(0,0,0,0.30);
}
.ems_front{
	z-index:99999;
}
.ems_dlg{
	background: #fdfdfe;
	border-radius: 3px;
	max-width:100%;
	min-width: 300px;
	text-align: left;
}
.ems_title_bar{
	position: absolute;
	line-height: 27px;
	width: 100%;
	border-radius:3px 3px 0 0;
	background: transparent;
	display:table;
}
.ems_titlebar_text{
	background: transparent;
	color: #34495E;
	font-weight: bold;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-radius:3px 0 0 0;
	padding-left: 1em;
}
.ems_titlebar_close{
	background: transparent;
	border-radius:0 3px 0 0;
	cursor: pointer;
	vertical-align: middle;
	text-align: center;
	width:30px;
	right: 0;
}
.ems_titlebar_close:hover{
	background: #D2D2D2;
}
.ems_titlebar_close, 
.ems_titlebar_text {
	display:table-cell;
}
.ems_dlg_ele{
	position: relative;
	margin-top: 30px;
	overflow: auto;
	width: 100%;
	max-height: -webkit-calc(100vh - 180px);
    max-height: calc(100vh - 180px);
	font: 14px Meiryo UI,Myriad,Helvetica,Tahoma,Arial,clean,sans-serif;
	color: #34495E;
	line-height: 1.8em;
	background: #fdfdfe;
	border-radius: 0 0 3px 3px;
	-webkit-overflow-scrolling: touch;
}

.none_foot .ems_dlg_ele{
	max-height: -webkit-calc(100vh - 100px);
    max-height: calc(100vh - 100px);
}

.ems_dlg_foot{
	max-height:80px;
	text-align: center;
}

.ems_dlg_ele .bottom_buttons{
	margin: 40px auto 15px;
}

.ems_dlg_con{
	margin: .5em 1em;
	display:inline-block;
}

.ems_dlg_fix{
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 99999;
}

.ems_dlg.dlg_continued:not(.fix_dlg) .ems_dlg_ele{
	-webkit-box-shadow: rgba(0,0,0,0.35) 0px -10px 10px -10px inset;
	box-shadow: rgba(0,0,0,0.35) 0px -10px 10px -10px inset;
}