.dialog,
.dialog__overlay {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.dialog {
	position: fixed;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	pointer-events: none;
	z-index: 99999 !important;
}

.dialog__overlay {
	position: absolute;
	z-index: 1;
	background: rgba(55, 58, 71, 0.9);
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-backface-visibility: hidden;
}

.dialog--open .dialog__overlay {
	opacity: 1;
	pointer-events: auto;
}

.dialog__content {
	width: 280px;
	max-height: 95%;
	max-width: 280px;
	min-width: 280px;
	background: #f7f7f7;
	padding: 15px;
	text-align: center;
	position: relative;
	z-index: 5;
	opacity: 0;
	border:2px solid #ff4d73;
}

.dialog--open .dialog__content {
	pointer-events: auto;
}

.dialog form {
	display: block;
	width: 100%;
}

.dialog--open .dialog__content {
	overflow-y: auto;
}

.modal-step-1 {
	display: block;
}
.modal-step-2 {
	display: none;
}

.dialog-container {
	position: relative;
	background: #cae4b6;
	-webkit-transition: -webkit-transform 0.3s 0.1s;
	transition: transform 0.3s 0.1s;
}

.dialog-container--move {
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform: scale3d(0.95, 0.95, 1);
	transform: scale3d(0.95, 0.95, 1);
}

.dialog.dialog--open .dialog__content,
.dialog.dialog--close .dialog__content {
	opacity: 1;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: cubic-bezier(0.7,0,0.3,1);
	animation-timing-function: cubic-bezier(0.7,0,0.3,1);
}

.dialog.dialog--open .dialog__content {
	-webkit-animation-duration: 0.3s;
	animation-duration: 0.3s;
	-webkit-animation-name: anim-open;
	animation-name: anim-open;
}

.dialog.dialog--close .dialog__content {
	-webkit-animation-duration: 0.3s;
	animation-duration: 0.3s;
	-webkit-animation-name: anim-close;
	animation-name: anim-close;
}

@-webkit-keyframes anim-open {
	0% { -webkit-transform: translate3d(0, calc(50vh + 50%), 0); }
	100% { -webkit-transform: translate3d(0, 0, 0); }
}

@keyframes anim-open {
	0% {  -webkit-transform: translate3d(0, calc(50vh + 50%), 0); transform: translate3d(0, calc(50vh + 50%), 0); }
	100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

@-webkit-keyframes anim-close {
	0% { -webkit-transform: translate3d(0, 0, 0); }
	100% { -webkit-transform: translate3d(0, calc(50vh + 50%), 0); }
}

@keyframes anim-close {
	0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
	100% { -webkit-transform: translate3d(0, calc(50vh + 50%), 0); transform: translate3d(0, calc(50vh + 50%), 0); }
}



* .dialog__content .forms_box {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background-color: transparent;
	padding: 0px 15px;
}

* .dialog__content .callback-header {
	text-align: center;
}

* .dialog__content .forms_box .claim_input , 
* .dialog__content .forms_box .claim_textarea ,
* .dialog__content input ,
* .dialog__content textarea {
	width: 100% !important;
	border: 1px solid #cecece;
}

* .dialog__content .forms_box .forms_item {
	color: #565656;	
}

* .dialog__content .forms_box input[type="submit"] {
	border: 1px solid #cecece;
	cursor: pointer;
}
* .dialog__content .forms_box input[type="submit"]:hover ,
* .dialog__content .forms_box input[type="submit"]:active {
	border: 1px solid #898989;
	color: #294f90;
	background-color: #dedede;
}