/**
 * Dialoggo modal
 */

 .dialog-overlay {
	display: none;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.5);
	width: 100%;
	height: 100%;
	text-align: center;
	overflow-y: auto;
	padding: 20px 0;
	box-sizing: border-box;
	z-index: 100;
	transition: all 100ms ease-out;
}

.modal-closing .dialog-overlay_active {
	animation: dialog_overlay_close 200ms ease-out;
	opacity: 0;
}

.dialog-overlay_open {
	display: block;
	opacity: 1;
	animation: dialog_overlay_animate 200ms ease-out;
}

.dialog-overlay_active {
	z-index: 1000;
}

@keyframes dialog_overlay_close {
	from { opacity: 1; }
	to { opacity: 0;}
}

@keyframes dialog_overlay_animate {
	from { opacity: 0;}
	to { opacity: 1; }
}

@-webkit-keyframes dialog_overlay_animate {
	from { opacity: 0;}
	to { opacity: 1; }
}
@-moz-keyframes dialog_overlay_animate {
	from { opacity: 0;}
	to { opacity: 1; }
}

@-o-keyframes dialog_overlay_animate {
	from { opacity: 0;}
	to { opacity: 1; }
}

.dialog-overlay:before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

.dialog-modal {
	display: inline-block;
	vertical-align: middle;
	width: 480px;
	max-width: 100%;
	opacity: 0;
	top: -30%;
	background-color: #fff;
	min-height: 100px;
	cursor: default;
	box-sizing: border-box;
	position: relative;
	box-shadow: 0 0 110px rgba(0, 0, 0, 0.43);
	font-size: 14px;
	border-radius: 8px;
}

.modal-closing .dialog-modal_active {
	animation: dialog_modal_close 200ms ease-out;
}

.dialog-content {
	position: relative;
	padding: 16px 16px;
	overflow: auto;
    height: 100%;
    text-align: left;
}

.dialog-modal_open {
	animation: dialog_modal_animate 200ms ease-out;
	animation-delay: 200ms;
	animation-fill-mode: forwards;
}

.dialog-modal-right.dialog-modal_open {
	animation: dialog_modal_right_animate 100ms ease-out;
	animation-delay: 200ms;
	animation-fill-mode: forwards;
}

@keyframes dialog_modal_right_animate {
	from {right: -30%; opacity: 0;}
	to {right: 0%; opacity: 1;}
}


@keyframes dialog_modal_animate {
	from {top: -30%; opacity: 0;}
	to {top: 0%; opacity: 1;}
}



@keyframes dialog_modal_close {
	from {top: 0%; opacity: 1;}
	to {top: -30%; opacity: 0;}
}

.dialog-open {
	overflow: hidden;
	height: 100%;
	padding-right: 17px;
}

.dialog-target-about {
	width: 960px;
}

.dialog-header {
	height: 64px;
	background-color: #00AEEF;
	width: 100%;
}

.dialog-title {
	font-size: 24px;
    font-weight: bold;
    margin-bottom: 32px;
	color: #111;
	text-align: left;
	margin-top: 16px;
}

.dialog-content p {
	margin-bottom: 16px;
	line-height: 149%;
}

.dialog-close {
	position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    z-index: 1;
}

.dialog-modal-right .dialog-close {
    position: absolute;
    top: 14px;
    left: -48px;
    right: auto;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1;
}

.dialog-close:after, .dialog-close:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 1px;
    border-radius: 2px;
    background-color: #111;
}

.dialog-modal-right .dialog-close:after, .dialog-modal-right .dialog-close:before {
	width: 32px;
	height: 2px;
}

.dialog-close:after {
	transform: rotate(45deg);
}

.dialog-close:before {
	transform: rotate(-45deg);
}

.dialog-modal-right {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 480px;
	border-radius: 0;
	text-align: left;
}

.dialog-modal-lg {
	width: 900px;
}

.dialog-modal-md {
	width: 800px;
}

.dialog-modal-st {
	width: 700px;
}

.dialog-modal-lgb {
	width: 1000px;
}

.js__dialog-link {
	cursor: pointer;
}

.dialog-content .form__input {
	width: 100%;
}