body
{
	font-family: sans-serif;
	color: #fff;
	font-weight: normal;
	font-size: 12px;
	padding: 0px;
	margin: 0px;
	background: #c3c0c0 url("../img/bg.png") no-repeat fixed left top;
	cursor: url('/img/cursor.svg'), auto;
}

.Wt-domRoot
{
	position: relative;
	height: 100vh !important;
}

@keyframes gear-animation
{
	0%
	{
		-ms-transform: rotate(0deg); /* IE 9 */
		-webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
		transform: rotate(0deg);
		transform-origin: 50% 50% 0;
	}
	100%
	{
		-ms-transform: rotate(360deg); /* IE 9 */
		-webkit-transform: rotate(360deg); /* Chrome, Safari, Opera */
		transform: rotate(360deg);
		transform-origin: 50% 50% 0;
	}
}
@keyframes gear-animation-reverse
{
	0%
	{
		-ms-transform: rotate(0deg); /* IE 9 */
		-webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
		transform: rotate(0deg);
		transform-origin: 50% 50% 0;
	}
	100%
	{
		-ms-transform: rotate(-360deg); /* IE 9 */
		-webkit-transform: rotate(-360deg); /* Chrome, Safari, Opera */
		transform: rotate(-360deg);
		transform-origin: 50% 50% 0;
	}
}

.opacity-half { opacity: 0.5; }
.opacity-3 { opacity: 0.3; }

.gear
{
	position: absolute;
	background-image: url("../img/gear.png");
	background-repeat: no-repeat;
	background-position: center center;
	border-radius: 50%;
	opacity: 0.4;
}
.gear-normal
{
	animation-name: gear-animation;
	animation-duration: 22s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.gear-reverse
{
	animation-name: gear-animation-reverse;
	animation-duration: 22s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.gear-center
{
	background-image: url("../img/gear-center.png");
}


.gear-text
{
	position: absolute;
	font-size: 32px;
	color: #fff;
	font-weight: bold;
	padding: 6px 8px 6px 8px;
	border-radius: 24px;
}

.gear-text-0 { background-color: #2F5792; } /* blue */
.gear-text-1 { background-color: #962929; } /* red */
.gear-text-2 { background-color: #5b8027; } /* green */
.gear-text-3 { background-color: #276a80; } /* green-2 */
.gear-text-4 { background-color: #4588c3; } /* green-2 */
.gear-text-5 { background-color: #515e68; } /* gray */
.gear-text-6 { background-color: #db560e; } /* orange */
.gear-text-7 { background-color: #5a366f; } /* purple */

.main-background
{
	height: 100vh;
}
.stack-background
{
	min-height: calc(100% - 110px);
	height: calc(100% - 110px);
}

textarea
{
	background: #FFF;
	color: #333;
	border: solid 1px #555;
}

input { outline-style: none; }
input[type=text]:not(.spinbox):not(.spinbox-mobile):not(.mobile-lineedit):not(.Wt-timeedit)
{
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background: #FFF;
	color: #333;
	border: solid 1px #555;
	/* width: 100%; */
	height: 26px;
	vertical-align: middle;
	padding: 0px;
	text-indent: 4px;
	cursor: url('/img/cursor.svg'), auto;
}

input[type=password]
{
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background: #FFF;
	color: #333;
	border: solid 1px #555;
	width: 100%;
	height: 26px;
	padding: 0px;
	vertical-align: middle;
}

input[type=text]:disabled
{
	/* background: #BBB !important; */
	/* color: #EEE !important; */
	background-image: url('../img/lock.svg') !important;
	background-position: center left 5px !important;
	background-repeat: no-repeat !important;
	text-indent: 22px !important;
	opacity: 1 !important;
}
input[type=text]:read-only
{
	background-image: url('../img/lock.svg') !important;
	background-position: center left 5px !important;
	background-repeat: no-repeat !important;
	text-indent: 22px !important;
	opacity: 1 !important;
}

input[type=text]::-webkit-input-placeholder { color: #666; }
::placeholder
{
	color: #666 !important;
	opacity: 0.8 !important;
}

select
{
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	border: solid 1px #555;
	padding: 0px;
	box-shadow: none;
	color: #333;
	cursor: inherit;
	font-family: inherit;
	width: inherit;
	height: 26px;
	overflow: hidden;
	text-overflow: ellipsis;
	overflow-y: auto; /* chrome workaround */
	vertical-align: middle;
	display: inline;
	background: url('../img/arrow-select.svg') no-repeat;
	background-position: center right 6px;
	background-color: #fff;
	text-indent: 4px;
}
select:disabled
{
	background-image: url('../img/arrow-select.svg'), url('../img/lock.svg') !important;
	background-position: center right 6px, center left 5px !important;
	background-repeat: no-repeat, no-repeat !important;
	text-indent: 10px !important;
	opacity: 1 !important;
}

input[type=file]
{
	color: #333;
}

.Wt-spinbox
{
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.2em' height='1.2em' viewBox='-5 0 30 16'%3E%3Cpath stroke='%236c757d' stroke-width='2' fill-rule='evenodd' d='M7.646-5.354a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8-4.293 2.354 1.354a.5.5 0 0 1-.708-.708l6-6zM1.646 14.646a.5.5 0 0 1 .708 0L8 20.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
	background-position: right center !important;
	background-repeat: no-repeat !important;
	background-size: 19px !important;
	cursor: url('/img/cursor.svg'), auto !important;
}
.Wt-outset
{
	border: none !important;
	box-shadow: none !important;
}
.Wt-outset .Wt-spinbox
{
	border: solid 1px #888 !important;
}

.calendar
{
	background: url('../img/calendar.svg') no-repeat !important;
	background-position: center right 6px !important;
	background-color: #fff !important;
	font-family: 'Monospace';
}

.title { color: #d41010; font-size: 38px; }
.title-mobile { color: #333; font-size: 30px; }
.title-red { color: #d20e0e; font-size: 20px; font-weight: bold; }
.subtitle-red { color: #d20e0e; font-size: 16px; font-weight: bold; }
.avancement-red
{
	color: #d20e0e;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

.avancement
{
	font-size: 15px;
	font-weight: bold;
	background: #aabcbc;
	border-radius: 12px;
}

.error { color: #dc0800; font-size: 16px; }
.text { color: #F0F0F0; }
.text-dark { color: #333; font-size: 13px; }
.text-red { color: #d20e0e; }
.input-text-dark { color: #333; font-size: 13px; text-align: right; }
.grayscale { filter: grayscale(1); }

.required {}
.required:after
{
	color: #e32;
	content: ' *';
	display:inline;
}

.spinbox
{
	color: #333;
	border: solid 1px #555;
	width: 200px;
	height: 26px;
	max-height: 26px;
}

.line
{
	border-top: solid 2px #333;
}

.footer
{
	font-size: 15px;
	color: #333;
}

.soma-box
{
	border-left: 4px solid #bc2b2b;
	border-top: 4px solid #bc2b2b;
	border-bottom: 2px solid #aaa;
	border-right: 2px solid #aaa;
	background: #ddd;
	color: #333;
	font-size: 13px;
	border-top-left-radius:16px;
	border-bottom-right-radius:16px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.soma-box-title
{
	font-size: 15px;
	color: #bc2b2b;
	font-weight: bold;
	padding-bottom: 4px;
}

.Wt-msgbox-text
{
	overflow: auto;
	color: #333;
	font-size: 20px;
	line-height: 40px;
	margin-left: 16px;
}
.Wt-msgbox-body
{
	flex: 1 1 auto;
	overflow: hidden;
	background: #ddd;
}
.fa-question::before
{
	content: "\f128";
	color: #dc0800;
}

.fa-info::before
{
	content: "\f129";
	color: #dc0800;
}

.Wt-dialog .closeicon
{
	position: absolute;
	top: 4px;
	right: 4px;
	background: url('../img/close.svg') center center no-repeat;
	width: 24px;
	height: 24px;
	z-index: 6;
	cursor: url('/img/cursor-hover.svg'), auto;
}

.Wt-dialog .Wt-msgbox-icon
{
	display: block;
	float: left;
	margin: 0px 15px -15px;
	width: 25px;
	height: 35px;
	color: #f00;
}

.Wt-dialog .closeicon:hover
{
	background-position: right 0px;
}

.Wt-panel
{
	border: 0px solid #888;
	background: transparent;
}

.Wt-panel .titlebar
{
	color: #FFFFFF;
	padding: 8px 6px 8px;
	font-size: 14px;
	font-weight: bold;
	background: #156984;
	text-align: center;
	height: 17px;
	max-height: 17px;
	border-radius: 16px;
}

.Wt-panel .body {
	background: transparent;
	padding: 0px 6px 8px;
	-webkit-backface-visibility: hidden;
	clear: left;
	margin-top: 5px;
	border-bottom-left-radius: 8px;
	border-left: solid 2px #156984;
	border-bottom: solid 2px #156984;
}

.Wt-dialog .titlebar {
	background: #333;
	color: #FFFFFF;
	padding: 2px 6px 3px;
}

.Wt-dialog
{
	background: #ddd;
	padding: 0px;
}
.Wt-dialog .titlebar h4
{
	font-size: 20px;
}
.Wt-dialog .Wt-msgbox-text
{
	font-size: 20px;
	line-height: 40px;
	margin-left: 16px;
}
.Wt-btn
{
	background: #333;
	border: solid 0px;
	font-size: 25px;
	color: #e0e0e0;
}
.Wt-btn-default
{
	font-weight: bold;
	color: #85d77d;
}
.Wt-dialog .Wt-msgbox-icon
{
	font-size: 40px !important;
}
.Wt-dialog .footer
{
	display: flex;
	justify-content: center;
}

.Wt-dialog .footer .Wt-btn
{
	cursor: url('/img/cursor-hover.svg'), auto;
	width: 100px;
	height: 36px;
}

.Wt-dialog .footer .button
{
	cursor: url('/img/cursor-hover.svg'), auto;
	background-color: #484848;
	color: #e0e0e0;
	text-align: center;
	padding: 0px;
	line-height: 28px;
	width: 100%;
	transition: background-color 0.3s;
}
.Wt-dialog .footer .button:hover
{
	background-color: #666;
}

.Wt-dialog .footer button
{
	padding: 1px 4px 1px;
	margin: 10px;
}
.Wt-dialog .footer button:hover
{
	color: #e0e0e0;
	background: #333;
}

.Wt-progressbar .Wt-pgb-label
{
	position: absolute;
	left: 0px;
	width: 100%;
	text-align: center;
	font-size: 10px;
	top: 0;
}

.Wt-progressbar .Wt-pgb-bar
{
	position: absolute;
	left: 0px;
	top: 0px;
	height: 100%;
}

.Wt-progressbar
{
	background: #555;
	position: relative;
	border: solid 0px #555;
	overflow: hidden;
	color: #FFF;
	font-weight: bold;
}

@keyframes widget-save-icon-animation
{
	0%   { opacity: 0; }
	50%  { opacity: 1; }
	100%	{ opacity: 0; }
}
.widget-save-icon
{
	position: absolute;
	right: 30px;
	top: 120px;
	width: 62px;
	height: 62px;
	border-radius: 16px;
	background-color: #54A42B;
	background-image: url("../img/save.png");
	animation-name: widget-save-icon-animation;
	animation-duration: 2s;
	animation-iteration-count: 1;
}

.widget-save-icon-hidden
{
	opacity: 0;
	position: absolute;
	right: 30px;
	top: 140px;
	width: 62px;
	height: 62px;
	z-index: -1;
}

/****		Calendar    ****/

.Wt-cal {
	padding: 0px;
}

.Wt-cal table {
	border-left: 1px solid #555;
	font: normal 18px/29px Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	background-color: #ddd;
	border-collapse: separate;
}

.Wt-cal table td {
	text-align: center;
	color: #333;
}

.Wt-cal table.d1 {
	width: 155px;
}

.Wt-cal table.d1 td {
	width: 20px;
}

.Wt-cal table.d3 {
	width: 300px;
}

.Wt-cal table.d3 td {
	width: 30px;
}

.Wt-cal table.dlong {
	width: 490px;
}

.Wt-cal table.dlong td {
	width: 70px;
}

.Wt-cal th.caption {
	margin: 0;
	padding: 0;
	border: 0;
	background: #555;
	color: #fff;
	font: bold 13px Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
}

.Wt-cal select
{
	width: 120px;
}

.Wt-cal-navbutton {
	background: transparent;
	cursor: url('/img/cursor-hover.svg'), auto;
	font: bold 20px Verdana, Arial, Helvetica, sans-serif;
	vertical-align: middle;
	display: block;
}

.Wt-cal caption select {
	cursor: url('/img/cursor-hover.svg'), auto;
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	margin: 2px 0px;
	vertical-align: middle;
}

.Wt-cal-year {
	vertical-align: middle;
}

.Wt-cal-year span {
	padding: 1px 2px;
}

.Wt-cal-year span:hover {
	color: #6880A0;
	background-color: #F0F0F0;
}

.Wt-cal th {
	font: bold 12px/22px Verdana, Arial, Helvetica, sans-serif;
	color: #515B66;
	background: #D9E2E1;
	border-right: 1px solid #555;
	border-bottom: 1px solid #555;
	border-top: 1px solid #555;
	cursor: url('/img/cursor.svg'), auto;
}

.Wt-cal td {
	border-right: 1px solid #555;
	border-bottom: 1px solid #555;
	text-align: center;
	cursor: url('/img/cursor.svg'), auto;
}

.Wt-cal-oom {
	color: #CCCCCC;
}

.Wt-cal-oor {
	color: #CCCCCC;
}

.Wt-cal-sel {
	background-color: #D13737;
	color: #FFF;
	font-weight: bold;
}
.Wt-cal-now {
	color: #E9E9E9;
	font-weight: bold;
	background: #B9B9B9;
}

/****    widget_fuzzy    ****/

.widget_fuzzy
{
	position: relative;
}

.widget_fuzzy .edit
{
	background: url('../img/arrow-select.svg') no-repeat !important;
	background-position: center right 6px !important;
	background-color: #fff !important;
	width: 100%;
}

.widget_fuzzy .suggestions
{
	/* min-width: calc(100% + 8px); */
	min-width: 280px;
	max-width: 200%;
	background: #2a2a2a;
	color: #f0f0f0;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 1000;
	/* position: absolute; */
	position: fixed;
	max-height: 280px; /* 28px * 10 */
}

.widget_fuzzy .suggestions .line.line
{
	position: relative;
	border: solid 0px;
	width: 100%;
	height: 22px;
	line-height: 22px;
	padding: 3px 12px;
	cursor: url('/img/cursor.svg'), auto;
	display: block;
	font-size: 15px;
}

.widget_fuzzy .suggestions .line:hover,
.widget_fuzzy .suggestions .selected
{
	color: #f0f0f0;
	background: #383838;
}

.widget_fuzzy .suggestions .match
{
	color: #ff8d1e;
}

.widget_fuzzy_multi .suggestions .line.line
{
	display: flex;
}
.widget_fuzzy_multi .checkbox
{
	height: 18px;
	margin-right: 8px;
}
.widget_fuzzy_multi .text.text
{
	display: block;
}

