.ri-modal-content.ri-modal-iframe {
    max-height:97% !important;
}
.ri-modal-dialog {
    max-height: 890px !important;
}
.ri-modal-cover {
	background-color: rgba(185, 185, 185, 0.9);
	top:0px !important;
}
.ri-modal-dialog {
	padding: 0px;
	border-radius: 8px;
	background: #ffffff none repeat scroll 0 0;
    border: medium none #eb7b00;
	overflow: hidden;
	box-sizing: content-box;
	border:3px solid #eb7b00 !important;
}
.ri-modal-dialog * {
	box-sizing: content-box;
}

.ri-modal-inner {
    border-radius: 4px;
	overflow: hidden;
	bottom: 0px;
	position: absolute;
	top: 0px;
	right: 0px;
	left: 0px;
}
.ri-modal-header {
	height: 34px;
	background-color: #ffffff;
	position: relative;
	border-radius: 3px 3px 0 0;
}
.ri-modal-draggable .ri-modal-header {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	/* Rules below not implemented in browsers yet */
	-o-user-select: none;
	user-select: none;
}
.ri-modal-dialog h1.ri-modal-title {
	color: #eee;
	padding: 0 0 0 20px;
	margin: 0;
	font: 15px/35px Helvetica,Arial,sans-serif;
	position: absolute;
	height: 34px;
	overflow: hidden;
	top: 0;
	left: 0;
	right: 34px;
}
.ri-modal-draggable h1.ri-modal-title {
	cursor: move;
}
.ri-modal-close {
	display: block;
	position: absolute;
	top: 0px;
	right: 0px;
	width: 26px;
	height: 26px;
	text-decoration: none;
	cursor: pointer;
	color: #ffffff;
	border-radius: 0px;
	font: 24px/26px "Times New Roman", Times, serif;
	text-align: center;
	background-color: #eb7b00;
}
.ri-modal-close:hover {
    background-color: #eb7b00;
    opacity: 1;
    text-decoration: none;
}
.ri-modal-dialog .ri-modal-content {
	background-color: #fff;
	border: none;
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.ri-modal-content.ri-modal-element,
.ri-modal-content.ri-modal-text,
.ri-modal-content.ri-modal-ajax {
	padding: 20px;
	overflow: auto;
}
.ri-modal-loading .ri-modal-content {
	background-image: url(/assets/img/loader-responsive-dark.gif);
	background-position: 50% 50%;
	background-size: 64px;
	background-repeat: no-repeat;
}
.ri-modal-message {
	background-color: #333;
	border-radius: 8px;
	background-image: url(/assets/img/loader-responsive-light.gif);
	background-position: 20px 20px;
	background-size: 32px;
	background-repeat: no-repeat;
	padding: 20px 20px 20px 72px;
	min-height: 32px;
	font: 15px/32px Helvetica,Arial,sans-serif;
	color: #eee;
}
.ri-modal-message .ri-modal-content {
    padding: 0;
	display: inline-block;
	line-height: 115%;
	overflow: visible;
}
html{
	overflow:unset !important;
}
@media screen and (min-width : 320px) and (max-width : 480px){
	.ri-modal-dialog
	{position: absolute;
    top: 432px;
    left: 20px !important;
    width: 432px;
    height: 272px;
    opacity: 1;
    z-index: 1004;
}

@media screen and (min-width : 533px){
	.ri-modal-dialog
	{    position: absolute;
    top: 472px;
    left: 53px !important;
    width: 450px;
    height: 272px;
    opacity: 1;
    z-index: 1004;
}


@media screen and (min-width : 640px){
	.ri-modal-dialog
	{ 
position: absolute;
    top: 91px;
    left: 88px !important;
    width: 450px;
    height: 336px;
    opacity: 1;
    z-index: 1002;
}