@import "mcx-colors.less";
@import "mcx-elementcontent.less";
@import "mcx-instancebrowser.less";

html
{
	margin: 0px;
}
body
{
	/*
	background-color: #f3f3f4;
	color: #676a6c;
	*/
	
	//font-family: "Source Sans 3";
	margin: 0px;
	/* overflow: hidden; */
}

body.mcx-loginpage
{
	justify-content: center;
	form
	{
		margin-top: 64px;
		align-items: flex-start;
	
		width: 640px;
		margin-left: auto;
		margin-right: auto;
		
		background-color: #ffffff;
		padding: 15px 20px 20px 20px;
		border: 1px solid #e7eaec;
		
		&> table.uwt-formview
		{
			margin-top: 32px;
		}
	}
}

img.header-image
{
	width: 128px;
}

@media (min-width: 1000px)
{
	div.login-container
	{
		width: 800px;
		margin-left: auto;
		margin-right: auto;
		padding-top: 100px;
	}
}

h1, h2, h3, h4, h5, h6
{
	font-weight: 100;
}
button:focus, input:focus, select:focus
{
    outline-style:solid;
    outline-color: #1ab394;
}

.uwt-expand
{
	flex-grow: 1;
}

div.mocha-ams-spot-popup
{
	margin-left: auto;
	margin-right: auto;
	position: absolute;
	opacity: 0.5;
	right: 25%;
	width: 120px;
	text-align: center;
	z-index: 5000;

	position: fixed;
	top: 0px;

	&> h1
	{
		font-weight: 600;
		background-color: #fff;
		margin: 0px;
		padding: 8px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	&> h3
	{
		font-weight: 600;
		margin: 0px;
		padding: 4px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}

a
{
	color: #007bff;
	text-underline-offset: 4px;
	text-decoration: none;
	
	&:hover
	{
		color: #0056b3;
		text-decoration: underline;
	}
}

a.uwt-user-menu-button
{
	margin-left: auto;
}
div.login-container input[type="submit"]
{
	margin-top: 32px;
}

.mcx-editable.mcx-required > div.uwt-formview-item-content::before // label::after
{
	content: '*';
	
	// float: right;
	float: left; margin-left: -20px;

	color: #f00;
	font-size: 24pt;
	font-weight: normal;
}

div.mcx-instancebrowser.mcx-editable > ul.mcx-selected-items > li > div.mcx-moniker
{
	padding: 4px 8px;
}
div.mcx-moniker
{
	&> span.apb-text:empty::after, &> a.apb-text:not(.apb-empty):empty::after
	{
		display: inline-block;
		font-weight: bold;
		content: "\f002";
		font-family: var(--fa-style-family,"Font Awesome 6 Pro");
	}
}
span.mcx-empty-text
{
	display: none;
	color: var(--uwt-color-gray);
}
div.mcx-elementcontent.mcx-empty:not(.mcx-editable) > div > span.mcx-empty-text
{
	display: inline;
}

div.mcx-element
{
	&> div.uwt-formview-item-label
	{
		display: none;
	}
}
div.mcx-element > table.mcx-element + div.mcx-empty-text
{
	border: solid 1px var(--uwt-color-gray-500);
	border-top: none;
	padding: 32px;
	text-align: center;
	margin-top: -1px;
	font-size: 1.5em;
	color: var(--uwt-color-gray);	
}
div.mcx-element:not(.mcx-empty) > table.mcx-element + div.mcx-empty-text
{
	display: none;
}

/*
div.mcx-instancebrowser
{
	&> span.mcx-empty-text
	{
		display: none;
		color: var(--uwt-color-gray);
	}
	&:not(.mcx-editable).mcx-empty > span.mcx-empty-text
	{
		display: inline;
	}
}
*/

// hide the mcx-empty-text for binary switch
div.uwt-binaryswitch + span.mcx-empty-text
{
	display: none !important;
}

.mcx-validation-message.uwt-color-danger
{
	color: var(--uwt-color-danger);
}
.mcx-validation-message.uwt-color-warning
{
	color: var(--uwt-color-warning);
}

@import "mobile/uwt.less";
