#ModalOverlay {
	background-color:#000;
}
.modalData{
        position: relative;
        width: auto;
        margin: 10px;
        /*left: 35%;
	top: 15%;
    width: 60% !important;
    */
        /* border-radius: 15px; */
}

#ModalContainer {
    /*width: 60% !important;
    margin-left: 20% !important;
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;*/

    position: fixed!important;
    width: 95% !important;
    margin-left: 0 !important;
    /*position: fixed!important;*/
    top: 0%!Important;
    left: 0%!Important;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    
    height: 100vh;
    max-width: 360px;
    animation: appear 500ms ease-in 1;
}

@keyframes appear {
  0%{
    opacity: 0;
    transform: translateX(-20px);
    }
}

.modalClose {
    /*display:none;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;*/

    display: block;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    float: right;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 1;
    position: absolute;
    top: 24px;
    right: 16px;
}

#ModalLoadingOverlay {
	background: #000;
	cursor: pointer;
}

#ModalLoadingIndicator {
	width: 100px;
	height: 100px;
	margin-left: -50px;
	margin-top: -50px;
	background: url(loading.gif) no-repeat;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 30001;
}

#ModalContentContainer {
	/* padding: 20px; */
	position: relative;
	width: auto;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 0px;
	outline: 0;
	-webkit-box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
	box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
	/* overflow:hidden; */
	height: 100vh;
	max-width: 370px;
}
#ModalTitle, .ModalTitle {
    font-weight: bold;
	padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

#ModalContent, .ModalContent {
	position: relative;
    padding: 4px;
}

.ModalContentWithButtons .ModalContent, .ModalContentWithButtons #ModalContent {
	/* border-bottom: 1px solid #757575; */
	margin-bottom: 0;
}

#ModalButtonRow, .ModalButtonRow {
	    padding: 20px;
	    text-align: right;
	    /* border-top: 1px solid #e5e5e5; */
	    background: hsl(0,0%,97%);
        border-radius: 15px;
	    border-top-left-radius: 0px;
	    border-top-right-radius: 0px;
}

#ModalButtonRow input, .ModalButtonRow input {
	text-align: center;
}

#ModalButtonRow input.Submit, .ModalButtonRow input.Submit {
	font-weight: bold;
}

#ModalTopBorder {
	position: absolute;
	height: 11px;
	/* background: url('border-topbottom.png') repeat-x  0 0; */
	top: -9px;
	left: 12px;
	right: 26px;
}

#ModalBottomBorder {
	position: absolute;
	height: 15px;
	/* background: url('border-topbottom.png') repeat-x 0 -11px; */
	bottom: -14px;
	left: 12px;
	right: 26px;
}

#ModalRightBorder {
	position: absolute;
	/* background: url('border-sides.png') repeat-y 0 scroll; */
	right: -20px;
	width: 20px;
	top: 34px;
	bottom: 25px;
}

#ModalLeftBorder {
	position: absolute;
	/* background: url('border-sides.png') repeat-y -37px scroll; */
	left: -20px;
	width: 20px;
	top: 34px;
	bottom: 24px;
}

#ModalBottomLeftCorner {
	position: absolute;
	/* background: url('border-corners.png') no-repeat 0 -24px; */
	bottom:-16px;
	height:40px;
	left:-8px;
	width:20px;
}

#ModalTopRightCorner {
	position: absolute;
	/* background: url('border-corners.png') no-repeat -22px 0; */
	top:-6px;
	height:40px;
	right:-14px;
	width:40px;
}

#ModalTopLeftCorner {
	position: absolute;
	/* background: url('border-corners.png') no-repeat 0 0; */
	top:-6px;
	height:40px;
	left:-8px;
	width:20px;
}

#ModalBottomRightCorner {
	position: absolute;
	/* background: url('border-corners.png') no-repeat -22px -23px; */
	bottom:-15px;
	height:40px;
	right:-14px;
	width:40px;
}

.ModalContentWithButtons #ModalLeftBorder {
	bottom: 30px;
}

.ModalContentWithButtons #ModalBottomLeftCorner {
	bottom: -10px;
}

.ModalContentWithButtons #ModalBottomBorder {
	bottom: -8px;
}

.ModalContentWithButtons #ModalBottomRightCorner {
	bottom: -9px;
}

.ModalContentWithButtons #ModalRightBorder {
	bottom: 31px;
}