.modal button.close:hover span {
	transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
}

.modal-title {
	font-size: 16px;
}

.modal-backdrop {
	background-color: rgba(41, 53, 64, 0.35);
}

.modal-dialog {
	min-width: 600px;
	max-width: calc(100vw - 200px);
}

.modal-body {
	padding: 20px 9px;
	min-height: 110px;
}

.modal-body .form-group {
	margin: 0 !important;
	padding: 10px 0;
}

.modal-body > .form-group:last-of-type,
.modal-body #modemAttribute .form-group:last-of-type,
.modal-body #monitorUnitAttribute .form-group:last-of-type,
.modal-body .form-group .form-group:last-of-type {
	padding-bottom: 0;
}

.modal-body > .form-group:only-of-type {
	padding: 0;
}

.modal-body .form-group {
	margin: 0 !important;
	padding: 10px 0;
}

.modal-body > .form-group:last-of-type,
.modal-body #modemAttribute .form-group:last-of-type,
.modal-body #monitorUnitAttribute .form-group:last-of-type,
.modal-body .form-group .form-group:last-of-type {
	padding-bottom: 0;
}

.modal:not(.modal-layer).fade.in > form {
    width: 100%;
    height: 100%;
}

.modal:has(.modal-layer.fade.in) {
	overflow: hidden;
}

.modal-content {
	min-width: 600px;
	min-height: 200px;
	border-radius: 6px;
	-ms-box-shadow: 1px 1px 12px 0px rgba(35, 44, 58, 0.25);
	-o-box-shadow: 1px 1px 12px 0px rgba(35, 44, 58, 0.25);
	-webkit-box-shadow: 1px 1px 12px 0px rgba(35, 44, 58, 0.25);
	box-shadow: 1px 1px 12px 0px rgba(35, 44, 58, 0.25);
	border: 1px solid #cccccc;
	background-color: #f9f9fa;
}

header.modal-header {
	height: 40px;
}

header .modal-title {
	line-height: 1.2;
}

.modal__header .close {
	position: absolute;
	top: 9px;
	right: 9px;
	margin-top: 2px;
	font-size: 0;
	opacity: 1 !important;
}

.modal button.close span {
	display: inline-block;
	height: 20px;
	width: 20px;
	background: url(/images/interface_icons/cross1.svg) no-repeat;
	background-size: cover;
}

.bootbox .modal-footer .button {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.5;
}

.bootbox .modal-footer:before,
.bootbox .modal-footer:after {
	content: none;
}

.modal-dialog_center {
	position: absolute;
    left: 50%;
	top: 50%;
	transform: translate(-50%,-50%) !important;
	margin: 0 !important;
}

.modal-dialog.modal-lg {
	width: 88%;
	min-width: 1010px;
}

.modal__overflow {
    min-width: auto !important;
    overflow-x: auto !important;
    overflow: hidden;
}

#changeValueModal .modal__body {
	min-height: 100px;
	z-index: 1;
}

.modal-content__tabs {
	position: relative;
	display: flex;
	justify-content: flex-end;
	height: 40px;
	background-color: var(--high-color);
	border-bottom: 1px solid var(--black20per-color);
}

.modal-content__tabs .dash-tabs {
	margin-top: 0;
	right: 0;
}