﻿/*
	Global classes
*/

.align-right
{
	text-align: right;
}

.ellipsis
{
	display: block;
	overflow: hidden;
	-moz-text-overflow: ellipsis;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.required
{
	font-weight: bold;
}

.key
{
    font-weight: bold;
}

.margin-top
{
	margin-top: 8px;
}

.margin-top-double
{
	margin-top: 16px;
}

.nowrap
{
	white-space: nowrap;
}

.width-max
{
	width: 100%;
}

.compact *
{
	margin: 0;
}

.numeric
{
	text-align: right;
}



/*
	FERRI SYSTEM
*/

input:enabled.editable
{
	background-color: yellow;
}

input:read-write.editable
{
	background-color: yellow;
}

input.checked-always
{
	background-color: inherit;	
}

input.readonly
{
	background-color: white;
}

input.imported
{
	background-color: green;
	color: white;
}

textarea:disabled.editable
{
	background-color: #eee !important;
}

textarea:read-only.editable
{
	background-color: #eee !important;
}

textarea:enabled.editable
{
	background-color: yellow;
}

textarea:read-write.editable
{
	background-color: yellow;
}

select:disabled.editable
{
	background-color: #eee !important;
}

select:read-only.editable
{
	background-color: #eee !important;
}

select:enabled.editable
{
	background-color: yellow;
}

select:read-write.editable
{
	background-color: yellow;
}

.btn-duplicate 
{
    background: linear-gradient(#e6f9ff, #b3ecff);
    float: right;
}

.btn-duplicate:hover 
{
    background: #b3ecff
}

.morecontent span {
    display: none;
}

.morelink {
    display: block;
}



/*
	ASP.NET MVC
*/

.validation-summary-errors
{
    color: red;
}

.input-validation-error
{
	border: solid 1px red !important;
    color: red;
}

.field-validation-error
{
    color: red !important;
	font-size: x-large;
	font-weight: bold;
}
