.login-html .modal-wrapper {
	position: fixed;
}

.operator-home .modal-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.modal-wrapper {
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: grid;
	grid-template-rows: 1fr 4fr 1fr;
	grid-template-columns: 1fr 4fr 1fr;
}

.operator-home .modal-wrapper--hidden {
	display: none;
	position: static;
}

.login-html .modal,
#TACModalOperator.modal,
.end-shift .modal:not(#errorModal) {
	max-width: 600px;
	margin: 30px auto;
	box-shadow: 0 5px 15px rgba(0,0,0,.5);
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 6px;
	grid-row-start: 2;
	grid-row-end: 3;
	grid-column-start: 2;
	grid-column-end: 3;
}

#TACModalOperator.modal {
	position: relative;
}

.end-shift #TACModalOperator.modal,
.end-shift #TACModalUser.modal,
.end-shift .modal:not(#errorModal) {
	position: absolute;
	top: 50%;
	left: 50%;
	bottom: -30%;
	transform: translate(-50%, -50%);
	width: 100%;
	min-height: 74%;
}

.login-html .modal-wrapper--hidden,
.modal-wrapper--hidden .modal {
	display: none !important;
	position: static;
}

.modal__header {
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	justify-content: space-between;
}

.modal__header-title {
	font-weight: bold;
}

.modal__content {
	padding: 15px;
}

.modal__content-list {
	list-style: decimal;
	padding: 0 0 0 20px;
}

.modal__content-list-item {
	margin: 10px 0;
}

.modal__content-abstract {
	margin-bottom: 20px;
}

.modal__content-abstract--important {
	font-style: italic;
}

.modal__content-abstract-star {
	font-weight: bold;
}

.modal__button {
	color: #fff;
	border-radius: 4px;
	border: 0;
	cursor: pointer;
}

.modal__button--success {
	background-color: #5cb85c;
	border-color: #4cae4c;
	padding: 6px 12px;
	margin-left: 5px;
}

.modal__button--success:hover {
	background-color: #449d44;
	border-color: #398439;
}

.modal__button--cancel {
	padding: 6px 12px;
	background-color: #d9534f;
	border-color: #d43f3a;
	margin-left: 5px;
}

.modal__button--cancel:hover {
	background-color: #c9302c;
	border-color: #ac2925;
}

.modal__close {
	color: #000;
	border: 0;
	background-color: transparent;
	opacity: 0.5;
}

.modal__close:hover {
	opacity: 1;
}

.modal__footer {
	padding: 15px;
	display: flex;
	justify-content: flex-end;
	border-top: 1px solid #e5e5e5;
}
