/*Sets the maximum height to the height of dialog*/
.modal-content 
{
	max-height: 90vh;
	border-radius: 0;
}

.modal-content-fullscreen
{
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100% !important;
	height: 100% !important;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	outline: 0;
}

.nm-modal-header-button-hide
{
    padding: 0 !important;
    margin: 0 !important;	
}

.modal-fullscreen
{
	max-height: none !important;
	max-width: none !important;
	width: 100vw !important;
	height: 100% !important;
}

.modal-dialog 
{
	margin: 2.5vh auto;
	max-height: calc(100% - 2.5rem);
}	

/*Sets the maximum height of the modal body to 100%*/
.modal-body 
{
	max-height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 0.2rem 1rem 0.2rem 1rem;
}

.modal-footer 
{
	padding: 0.5rem 1rem 0.5rem;
}

.nm-tabbed-modal-content .modal-body 
{
	padding: 1rem 1rem 0.2rem 1rem;
}

/*Modal body Responsive Scroll*/
.nm-modal-body
{
	overflow: auto;
}
/*Modal Loader style starts here*/

.modal-title
{
	font-weight: 300;
	color: var(--nm-modal-header-color);
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ----------------Mobiles-------------- */
@media only screen
and (max-width: 768px)
{
	/*Centers the modal*/
	.modal-dialog 
	{
		margin: 0;
		max-height: 100%;
	}	
}

/* ----------------Tablets-------------- */
@media only screen
and (max-width: 1024px)
{
	/*Centers the modal*/
	.modal-dialog 
	{
		margin: auto;
		max-height: 100%;
	}	
}

