/* animation show from */
#layer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 9;
	opacity: 0.9;
	background: #fff;
}

.ui-dialog {
	height: 100vh;
	display: block;
	position: absolute;
	background: #fff;
	box-shadow: 5px 0 15px 0 rgba(0, 0, 0, .25),
				-5px 0 15px 0 rgba(0, 0, 0, .25);
	transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
	overflow-y: auto;
	overflow-x: hidden;
	border: none;
	padding: 0;
	border-radius: 9px;
	animation: ui-animation-dialog-show .3s;
	margin: 0;
	opacity: 1;
	z-index: 9999;
	overflow: hidden;
}

.ui-dialog .ui-dialog-body header {
	margin-bottom: 10px;
}

.ui-dialog .ui-dialog-body {
	display: inline-block;
	height: calc(100% - 50px);
	width: 100%;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto;
}

.no-scroll {
    overflow-y: hidden;
}

.ui-dialog .ui-dialog-title {
	line-height: 40px;
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 100px);
}

.ui-dialog-header {
	line-height: 35px;
    background-color: var(--dark);
    display: inline-block;
    color: #000;
    position: relative;
    width: 100%;
    padding: 3px 10px;
    vertical-align: middle;
	background-color: #f5f5f5;
}

.ui-dialog-header h6 {
    font-weight: bold;
    /* line-height: 40px; */
}

.ui-dialog-title {
    font-weight: bold;
    padding: 0px 10px;
}

.ui-button-dialog-close img {
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	margin-top: -1px;
	margin-left: -1px;
}

.ui-dialog-header .close {
	float: right;
}

#ui-dialog-toolbar {
	width: 100%;
}

.header-position-absolue {
	position: absolute;
	top: 0;
	left: 0;
}

.bg-transparent {
	background: transparent!important;
}

#dialogInfo {
	font-size: 20px;
}

.ui-dialog-header h6, .h6 {
    margin-top: 0px;
    margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
    font-size: 1rem;
}

.ui-dialog-body .scroll {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 200px!important;
    max-height: calc(100vh - 100px);
    margin-bottom: 250px;
}

.ui-dialog-body .scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 200px!important;
    max-height: calc(100vh - 100px);
    margin-bottom: 250px;
}

.ui-dialog-body .scroll-x {
    overflow-x: auto;
}

.btn-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
	border: none;
}

/* media query */

/* #region  2560 */

@media all and (max-width: 2560px) {
	ui-dialog-body {
			padding: 10px;
	}
	#ui-dialog-title {
			font-size: 16px;
			float: left;
			width: 90%;
	}
	#ui-dialog-toolbar {
			float: right;
			width: 50%;
			text-align: right;
	}
}

@media all and (max-width: 1366px) {}

@media all and (max-width: 800px) {
	ui-dialog-body {
			padding: 12px;
	}
	#ui-dialog-title {
			font-size: 14px;
			float: none;
			clear: both;
			width: 100%;
	}
	#ui-dialog-toolbar {
			float: none;
			clear: both;
			width: 100%;
	}
}

@media all and (max-width: 575px) {
	.ui-dialog .ui-dialog-body {
		padding: 5px;
	}
}


@keyframes ui-animation-dialog-show {
	0% {
		transform: scale(.7);
	}

	45% {
		transform: scale(1.05);
	}

	80% {
		transform: scale(.95);
	}

	100% {
		transform: scale(1);
	}
}
