/* set this class to hide modals on pageload */
/* use your existing modifiers if you can */
.flex-modal-hide {
    display: none;
}

.flex-modal-item {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999999999;
    opacity: 0;
    display: none;
    /* make sure to use at least tiny transition-duration so a transitionend event can fire */
    transition: opacity .1s;
}
.flex-modal-item--ready {
    display: flex;
}
.flex-modal-item--visible {
    opacity: 1;
}


.flex-modal-item__content {
  position: -webkit-sticky;
  position: -miz-sticky;
  position: fixed;
  right: 0;
  left: 0;
  /*background-image: url(/images/alertmsg.jpg);*/
  background-color: #FFFFFF;
    background-size: contain;
    display: flex;
	justify-content: center;
	width: 100%;
    min-width: 200px;
    max-width: 500px;
    max-height: 90%;
    margin: 15px auto;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
	overflow: hidden;
}
.flex-modal-item__content:hover {
	overflow-x: hidden;
    overflow-y: auto;
}
.flex-modal-item__content-inner {
    padding: 0px 25px 25px 25px;
	width: 100%;
}
.flex-modal-item__content-inner .block-mainindex-user-right {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.flex-modal-item__close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 7px;
    border: 0;
    background-color: #e4eaef;
    color: #778591;
    display: flex;
    font: inherit;
    word-spacing: normal;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 27px;
    border-radius: 27px;
    justify-content: center;
    align-items: center;
}
.flex-modal-item__close:hover {
	/*color: #333;*/
	/*opacity: 1;*/
	/*background-color: #e1e1e1;*/
}
.flex-modal-item__close:before {
	font-family: "FontAwesome";
	content: "\f00d";
	font-size: 15px;
	font-weight: 100;
}
@media ( max-width: 768px ) {
	.flex-modal-item__content {
		width: 95% !important;
	}
    .flex-modal-item__content-inner {
        width: 95%;
        padding: 0px 40px 30px 30px;
		display1: flex;
    }
    .flex-modal-item__close {
        top1: 20px;
        right1: 20px;
    }
}