/*
*
* 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: relative;
	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_titlebar_close_btn{
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.ems_titlebar_close_btn:before,
.ems_titlebar_close_btn:after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 10;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 1px;
  height: 62%;
  border: 0;
  background: #666;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.ems_titlebar_close_btn:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.ems_dlg_ele{
	position: relative;
	margin-top: 3px;
	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;
	display: inline-grid;
}
.ems_dlg_ele:has(.own_dlg){
	font: 13px "ãƒ’ãƒ©ã‚®ãƒŽè§’ã‚´ Pro W3" , "Hiragino Kaku Gothic Pro", "Meiryo UI", sans-serif;
	line-height: 1.8em;
}

.none_foot .ems_dlg_ele{
	max-height: -webkit-calc(100vh - 100px);
    max-height: calc(100vh - 100px);
}

#item_load_dlg.ems_dlg_foot .ems_dlg_ele{
	max-height: 100%;
}

.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;
	min-width:290px;
}

.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;
}
