* { box-sizing: border-box; }
/*
@media screen and (min-width: 1600px) and (min-height: 800px)
{
    body
    {
        zoom: 1.28;
    }
}
*/
@supports(-moz-appearance:none)
{
    *
    {
        scrollbar-width: thin;
    }
/*
    body
    {
        zoom: 1.28;
    }
*/
}

@font-face
{
    font-family: "Futura";
    src: url("futura.eot") format('embedded-opentype'); /* EOT file for IE */
}

@font-face {
    font-family: "Futura";
    src: url("futura.ttf") format('truetype'); /* TTF file for CSS3 browsers */
}

html, body
{
	margin: 0px 0px 0px 0px;
	overflow: hidden;
			
	width: 100%;
	height: 100%;
			
    font-family: 'Futura';
    font-size: 14px;

	display: flex;
	justify-content: center;
	align-items: center;
}

form
{
    position: relative;
}

iframe
{
    display: block;
}

a
{
    color: inherit;
    text-decoration: none;
}

select option
{
    background-color: #EDEDED;
}

textarea
{
    height: 35px;

    padding-left: 8px;
    padding-right: 8px;

    font-family: 'Futura';
    font-size: 1em;

    color: #4C4C4C;

    border: 1px solid #989898;
    border-radius: 8px;

    background-color: #EDEDED;
    background: linear-gradient(#EDEDED, #FFFFFF);

    overflow-y: auto;

    resize: none;
}

input:focus, select:focus, textarea:focus, button:focus, textarea:focus
{
    outline: none;
}

input[type=image], input[type=checkbox]:hover, label:hover
{
    cursor: pointer;
}

input[type=submit]:disabled, input[type=image]:disabled, img[class="aspNetDisabled"], a[class="aspNetDisabled"]
{
    cursor: default;

    opacity: 0.4;
    filter: grayscale(1);
}

input[type=text], input[type=password], input[type=date], input[type=time], input[type=number], select {
    height: 35px;
    padding: 0px 8px;
    font-family: 'Futura';
    font-size: 1em;
    color: #4C4C4C;
    border: 1px solid #989898;
    border-radius: 8px;
    background-color: #EDEDED;
    background: linear-gradient(#EDEDED, #FFFFFF);
}

input[type=text][disabled], textarea[disabled]
{
    color: #B1B1B1;
    -webkit-text-fill-color: #B1B1B1;
}

input[type=text]::-webkit-input-placeholder
{
    font-style: italic;
}

input[type=submit]
{
    width: 200px;
    height: 35px;

    color: var(--mainColor);
    font-weight: bold;

    font-family: 'Futura';
    font-size: 1em;

    border: 1px solid #989898;
    border-radius: 8px;

    background-color: #EDEDED;
    background: linear-gradient(#EDEDED, #FFFFFF);
}

input[type=text]:not([readonly]):hover, input[type=password]:not([readonly]):hover, input[type=submit]:not([disabled]):hover, textarea:not([readonly]):hover, select:not([readonly]):hover
{
    background-color: #F3EBB6;
    background: linear-gradient(#F3EBB6, #FFFFFF);
}

input[type=submit]:hover
{
    cursor: pointer;
}

input[type=text]:not([readonly]):focus, input[type=password]:not([readonly]):focus, input[type=submit]:focus, textarea:not([readonly]):focus, select:not([readonly]):focus
{
    background-color: #FAE97F;
    background: linear-gradient(#FAE97F, #FFFFFF);
}

*[error]
{
    border-color: #FF0000 !important;
}

*[hide]
{
    visibility: hidden;
}

*::-webkit-scrollbar
{
	width: 10px;

	border-left: 1px solid #989898;

    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;

    background-color: #F9F9F9;
}

*::-webkit-scrollbar-thumb
{
    min-height: 25%;

    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;

	background-color: #989898;
}

div::-webkit-scrollbar
{
	border: 1px solid #989898;
}

div::-webkit-scrollbar-thumb
{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

div[id*='divdg']::-webkit-scrollbar
{
    border-top: none;

    border-top-right-radius: 0px;
}

div[id*='divdg']::-webkit-scrollbar-thumb
{
    border-top-right-radius: 0px;
    border-bottom-right-radius: 8px;
}

.pleaseWait
{
	width: 100%;
	height: 100%;
	
	position: absolute;
	
	background-color: #FAFAFA;

	filter: alpha(opacity=70);
	opacity: 0.7;

	z-index: 1000;
}

.pleaseWaitOver
{
	width: 100%;
	height: 100%;
	
	position: absolute;
	
	background-image: url(../images/PleaseWait.gif);
	background-position: center center;
	background-repeat: no-repeat;
	
	z-index: 1001;
}

.pleaseWaitText
{
    width: 100%;
    height: 100%;

    position: absolute;

    z-index: 1002;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pleaseWaitText > span
{
    margin-left: 88px;
    width: 209px;
    max-height: 65px;

    font-family: arial;
    font-size: 26px;
    font-weight: bold;

    color: #EB0000;
    text-shadow: 0px 2px 5px #7F7F7F;

    background-color: #FAFAFA;

    overflow: hidden;
}

.pleaseWaitOverProgress
{
    width: 100%;
    height: 100%;

    position: absolute;

    z-index: 1001;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pleaseWaitOverProgress > img 
{
    width: 440px;
    height: 336px;
}

.pleaseWaitTextProgress 
{
    width: 100%;
    height: 100%;

    position: absolute;

    z-index: 1002;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pleaseWaitTextProgress > span 
{
    margin-top: 215px;
    max-height: 65px;
    
    font-family: arial;
    font-size: 26px;
    font-weight: bold;
    color: #3D85F1;
    
    text-shadow: 0px 2px 5px #7F7F7F;
    
    overflow: hidden;
}

/* COMMON */
.menu
{
    width: 100%;
}

.menu tr:nth-child(n+2)
{
    border-top: 2px solid #989898;
}

.menu td
{
    padding-left: 4px;
    padding-right: 4px;
}

.menu a
{
    display: flex;
    flex-flow: row;
    align-items: center;
}

.menu span
{
    width: 100%;
    height: 38px;

    margin-right: 3px;

    font-weight: bold;

    display: flex;
    align-items: center;
}
/*
.menu tr:hover span
{
    background: linear-gradient(to right, rgba(243, 235, 182, 0.25) 0%, rgba(243, 235, 182, 1) 5%, rgba(243, 235, 182, 1) 95%, rgba(243, 235, 182, 0.25) 100%);
}
*/
.menu tr:not([class='sel']):hover
{
    background-color: #F3EBB6;
}

.elenco[id$='H']
{
    position: absolute;

    height: 30px;

    color: #FFFFFF;
    font-weight: bold;

    background-color: #989898;

    border-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.elenco tr
{
    border-top: 1px solid #989898;
    border-bottom: 1px solid #989898;
}

.elenco:not([id$='H']) tr:not([class$='sel']):hover
{
    background-color: #F3EBB6;
}

.elenco td
{
    height: 30px;
}

.elenco td div:first-of-type
{
    width: 100%;
    height: 100%;
    align-items: center;

    display: flex;
    flex-flow: row;
}

/*
.sel span
{
    background: linear-gradient(to right, rgba(250, 233, 127, 0.25) 0%, rgba(250, 233, 127, 1) 5%, rgba(250, 233, 127, 1) 95%, rgba(250, 233, 127, 0.25) 100%);
}
*/
.sel
{
    background-color: #FAE97F !important;
}

.saved
{
    opacity: 0;

    color: var(--mainColor) !important;

    animation: saved 2s;
}

.warning
{
    color: #FF0000 !important;
    -webkit-text-fill-color: #FF0000 !important;
    font-weight: bold;
}

.warningBox
{
    border: 1px dashed #FF0000 !important;
}

.highlight
{
	color: var(--mainColor) !important;
	font-weight: bold;
}

.woutofrange:not([class*='evoPanel']), .woutofrange[class*='evoPanel'] > div > div > span
{
    color: #FF0000 !important;
    -webkit-text-fill-color: #FF0000 !important;
}

.blurry
{
    filter: blur(4px);
}

@keyframes saved
{
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

input[type=image]:active, .menu a:active img
{
    transform: scale(0.95);
}

input[type=submit]:active
{
    transform: scale(0.99);
}

.noactive
{
    padding: 4px;
    border: 4px solid #989898;
    border-radius: 8px;
}

.active
{
    padding: 4px;
    border: 4px solid var(--mainColor);
    border-radius: 8px;
}

.cellHide 
{
    display: none;
    width: 0px;
}

.linkCON, .linkMI4, .linkRIA
{
    background-color: #d1fad1;
}

.linkDOM, .linkPSO
{
    background-color: #fad1d1;
}

.linkPDO
{
    background-color: #d1fafa;
}

.linkCUS
{
    background-color: #d1d1fa;
}

#pnlRuolo
{
    position: absolute;

    width: 100%;
    height: 90px;
/*
    display: flex;
    align-items: center;
    justify-content: right;
    padding-top: 148px;
    padding-right: 25px;
*/
}

#pnlRuolo > img
{
/*
    max-width: 425px;
*/
}

.RuoloAMM
{
    background-color: #FFEFEF;
    background: linear-gradient(#8CD58F 35%, rgba(255, 255, 255, 0));
}

.RuoloATS
{
    background-color: #EFFFEF;
    background: linear-gradient(#EFFFEF 35%, rgba(255, 255, 255, 0));
}

.RuoloCRG
{
    background-color: #EFEFFF;
    background: linear-gradient(#7CBEE5 35%, rgba(255, 255, 255, 0));
}

.RuoloCRM
{
    background-color: #FFFFEF;
    background: linear-gradient(#FFFFEF 35%, rgba(255, 255, 255, 0));
}

.RuoloEXT
{
    background-color: #FFEFFF;
    background: linear-gradient(#E7DBDB 35%, rgba(255, 255, 255, 0));
}

.RuoloMAM
{
    background-color: #EFFFFF;
    background: linear-gradient(#EFFFFF 35%, rgba(255, 255, 255, 0));
}

.RuoloMCG
{
    background-color: #EFEFEF;
    background: linear-gradient(#EFEFEF 35%, rgba(255, 255, 255, 0));
}

.RuoloMED
{
    background-color: #EFEFEF;
    background: linear-gradient(#FFFFFF 35%, rgba(255, 255, 255, 0));
}

.RuoloPAI
{
    background-color: #FFFFFF;
    background: linear-gradient(#E1AFB4 35%, rgba(255, 255, 255, 0));
}

/* VirtualBox Override */
.vb_box
{
    border-color: #989898;
}

.vb_box > div:first-of-type
{
    color: #000000;

    background-color: var(--mainColor);

    border-color: var(--mainColor);

    height: 30px;
}

.vb_box > div:first-of-type span
{
    left: 5px;
    top: 6px;

    font-family: 'Futura';
    font-size: 14px;
}

.vb_box > div:first-of-type input[type=image]
{
    width: 24px;
    height: 24px;

    padding-top: 24px;
    background-image: url(../images/VBClose.png);
    background-repeat: no-repeat;
}

.vb_box > iframe
{
    border-top-color: #989898;
}

.vb_box > div:nth-of-type(2)
{
    border-top-color: #989898;
}