/* [Модальное окно] */

.janela-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .6);
	overflow: auto;
	z-index: 90;
	transition: .4s all;
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.janela-overlay *,
.janela-overlay *:before,
.janela-overlay *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

.janela-overlay_visible {
	opacity: 1;
	visibility: visible;
}

.janela-table {
	display: table;
	width: 100%;
	height: 100%;
}

.janela-table-cell {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0 15px;
}

.janela {
	transition: .4s all;
	display: inline-block;
	padding: 35px 45px 20px 30px;
	max-width: 400px;
	width: 100%;
	background: #fff;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, .25);
	color: #333;
	text-align: left;
	font-family: Arial;
	margin: 30px 0;
	transform: translate(0, 20%);
	position: relative;
	border-radius: 4px 6px 4px 4px;
	cursor: auto;
	font-size: 16px;
	overflow-y: auto;
}

.janela-overlay_visible .janela {
	transform: translate(0);
}

.janela__header {
	font-size: 22px;
	font-weight: 400;
	padding: 0 0 30px 0;
}

.janela__content p {
	padding: 0 0 10px 0;
	margin: 0;
}

.janela__close {
	position: absolute;
	right: 10px;
	top: 0;
	background: #da4d43;
	width: 25px;
	height: 25px;
	border-radius: 0 0 4px 4px;
	transition: .4s all;
	padding: 0;
	border: none;
	cursor: pointer;
}

.janela__close:hover {
	background: #ed5f55;
}

.janela__close:before,
.janela__close:after {
	content: "";
	display: block;
	height: 16px;
	width: 1px;
	transform: rotate(45deg);
	background: #fff;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	top: 0;
	bottom: 0;
}

.janela__close:after {
	transform: rotate(-45deg);
}

.alert {
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	border-radius: 0.375rem;
  }
  
  .alert-danger {
	background-color: #fee2e2;
	color: #b91c1c;
  }
  
  .alert-success {
	background-color: #dcfce7;
	color: #166534;
  }
