.modal.right .modal-dialog {
	position: fixed;
	margin: auto;
	width: 500px;
	max-width: 100%;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	-ms-transform: translate3d(0%, 0, 0);
	-o-transform: translate3d(0%, 0, 0);
	transform: translate3d(0%, 0, 0);
}

.modal.right .modal-content {
	height: 100%;
	overflow-y: auto;
}

.modal.right .modal-body {
	padding: 50px 15px 80px;
}
.mdl-cmt .modal-body {
	padding: 50px 15px 120px !important;
}

.modal.right.fade .modal-dialog {
	right: 0;
	-webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, right 0.3s ease-out;
	-o-transition: opacity 0.3s linear, right 0.3s ease-out;
	transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
	right: 0;
}

.modal.right .modal-content {
	border-radius: 5px 0px 0px 5px !important;
	border: none;
}

.right .modal-header {
	position: fixed;
	width: 100%;
	top: 0px;
	z-index: 99999999;
	border-radius: 5px 0px 0px 0px !important;
}

.right .modal-footer {
	padding: 10px;
	text-align: right;
	border-top: 1px solid #e5e5e5;
	position: fixed;
	bottom: 0px;
	right: 0px;
	width: 100%;
	background-color: #fff;
	z-index: 999;
	border-radius: 0px 0px 0px 5px !important;
}

.modal-header {
	background: #61af46;
	padding: 6px 15px !important;
	border-radius: 5px 5px 0px 0px;
}

.modal-header h4 {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.modal-content {
	
	border: 0px solid #bdbdbd;
}

.modal-header .close {
	font-size: 24px;
	line-height: 23px;
	opacity: 1;
	color: #fff;
	font-weight: 300;
	border: 0px;
	background-color: transparent;
}

.modal-content {
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #5cad3f #f1f1f1;
}

.modal-content::-webkit-scrollbar {
	width: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
	background: #59b84e;
	border-radius: 5px;
}

.modal-content::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px grey;
	border-radius: 5px;
	background: #555;
}

.c-header .close {
	font-size: 24px;
	line-height: 23px;
	opacity: 1;
	color: #000;
	font-weight: 300;
	border: 0px;
	background-color: transparent;
}

.modal.right .modal-dialog.modal-sm {
	width: 300px;
}

.modal.right .modal-dialog.modal-lg {
	width: 800px;
}

.modal.right .modal-dialog.modal-xl {
	width: 1140px;
}


.modal-center {
  
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0px auto;
}
