﻿/* DEFAULTS
----------------------------------------------------------*/
@page  
{ 
    /* this affects the margin in the printer settings */ 
  size: A4;
   margin: 5mm 5mm 5mm 5mm;  
}
@media print {
  html, body {
    width: 210mm;
    height: 297mm;
  }
 }
.page-noheader
{
    width: 96%;
    margin: 20px auto 0px auto;
}
body {
    background-color: white;
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: black;
}

a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

a img
{
border: none;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1
{
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2
{
    font-size: 1.5em;
    font-weight: 600;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    width: 100%;
    background-color: white;
    margin: 0px;
}
.page-noheader
{
    width: 100%;
    margin: 0px;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

.header h1
{
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: black;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.main
{
    padding: 0px 10px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer
{
    color: #909090;
    font-size:small;
    padding: 2px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.title
{
    display: block;
    float: left;
    text-align: left;
}

.loginDisplay { text-align: right; color: #EFEFEF; }
.loginDisplay a:link { color: #EFEFEF; }
.loginDisplay a:visited { color: #EFEFEF; }
.loginDisplay a:hover { color: #EFEFEF; }

a.tip 
{
    float: left;
    padding: 0px 10px 0px 0px;
    line-height:0px;
    text-decoration: none;
}
a.tip:hover {
    cursor: help;
    position: relative
}
a.tip span {
    display: none
}
a.tip:hover span {
    border: 1px solid black;
    background-color: #FFFFCC;
    color: Gray;   
    padding: 5px 5px 5px 5px;
    line-height:normal;
    display: block;
    z-index: 1000000;
    left: 0px;
    margin: 10px;
    width: 300px;
    position: absolute;
    top: 20px;
}

.hasTooltip span {
    display: none;
    text-decoration: none;
}
.hasTooltip:hover span {
    z-index: 1000000;
    border: 1px solid black;
    background-color: #FFFFCC;
    color: Gray;
    padding: 0px;
    line-height: normal;
    display: block;
    position: absolute;
    margin-left: 35px;
    margin-top: -30px;
}

/* fix for asp.net menu flickering http://stackoverflow.com/questions/3240873/how-to-get-rid-of-ugly-aspmenu-flickering */  
#menu ul li ul
{
    display: none;
}
#menu ul li 
{
    position: relative; 
    float: left;
    list-style: none;
}

/*****************************************************************************************************/
/* NEW
/*****************************************************************************************************/

.text-align-center  {text-align:center;}
.padding_5          {padding:5px;}
.border_radius_5    {border-radius: 5px;}
.wait {
    display:    block;
    position:   fixed;
    z-index:    10000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .4 ) 
                url('../img/Wait.gif') 
                50% 50% 
                no-repeat;
}
.bigmessage {
    display:    block;
    position:   fixed;
    z-index:    10000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 0, 0, .8 );
    color:      yellow;
    font-size:  xx-large;
    font-weight:bold;
    text-align: center;
    line-height:400px;
}

/*****************************************************************************************************/
/* Table
/*****************************************************************************************************/
table.Invisible { border: 0px; margin:0;}
table.Invisible { border-collapse: separate; border-spacing: 0px; } /* cellspacing */
.Invisible th { padding: 0px;vertical-align: top;overflow:hidden; margin:0; } /* cellpadding */ /* valign */
.Invisible td { padding: 0px;vertical-align: top;overflow:hidden; margin:0;}

table.PageHeader { border: 0px; margin: 0px; background: #6E9B33; }
table.PageHeader { width: 100%; }
table.PageHeader { border-collapse: separate; border-spacing: 0px; } /* cellspacing */
.PageHeader td { padding: 3px 10px 3px 6px; vertical-align:middle; overflow:hidden; color:#EFEFEF } /* cellpadding */ /* valign */

table.Header { border: 0px; }
table.Header { width: 100%; }
table.Header { color: #666666;}
table.Header { border-collapse: separate; border-spacing: 1px; } /* cellspacing */
.Header th { padding: 0px 5px 0px 5px;vertical-align: middle;overflow:hidden; } /* cellpadding */ /* valign */
.Header td { padding: 0px 5px 0px 5px;vertical-align: middle;overflow:hidden; }

table.ListView { border: 1px solid black; margin:0px; }
table.ListView { width: 100%; }
table.ListView { color: #666666; font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;}
table.ListView { border-collapse: separate; border-spacing: 1px; } /* cellspacing */
.ListView th, .ListView td  { padding: 2px 5px 2px 5px;vertical-align: middle;overflow:hidden;text-align:left; } /* cellpadding */ /* valign */
.ListView-td { padding: 2px 5px 2px 5px;vertical-align: middle;overflow:hidden;text-align:left; }

table.ListView-no100 { border: 1px solid black; margin:0px; }
table.ListView-no100 { color: #666666; font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;}
table.ListView-no100 { border-collapse: separate; border-spacing: 1px; } /* cellspacing */
.ListView-no100 th { padding: 2px 5px 2px 5px;vertical-align: middle;overflow:hidden;text-align:left; } /* cellpadding */ /* valign */
.ListView-no100 td { padding: 2px 5px 2px 5px;vertical-align: middle;overflow:hidden;text-align:left; }

table.FormView { border: 0px; }
table.FormView { margin:10px; }
table.FormView { border-collapse: collapse; border-spacing: 0px; } /* cellspacing */
.FormView th { padding: 5px;vertical-align: middle; text-align:left; height:20px; }

table.FormViewHeader { border: 0px; }
table.FormViewHeader { width: 100%; }
table.FormViewHeader { border-collapse: separate; border-spacing: 0px; } /* cellspacing */
table.FormViewHeader { font-weight:bold;font-size:medium;color:#FFFF66; }
.FormViewHeader th, .FormViewHeader td { padding: 5px;vertical-align: middle; }

.tr-ListHeader {background-color:#4B6C9E; color: #FFFF66; height:28px}
.tr-ListHeader2 {background-color:#4B6C9E; color: #FFFF66; height:20px; padding:0px;}
.tr-EmptyDataTemplate {background-color:#FFFFCC; height:28px}
.tr-ItemTemplate {background-color:#FFFFCC; height:28px}
.tr-AlternatingItemTemplate {background-color:#EFEFEF; height:28px}
.tr-EditItemTemplate {background-color:#EFEFEF; height:28px}
.tr-InsertItemTemplate {background-color:#EFEFEF; height:28px}


/*****************************************************************************************************/
/* Stile wow
/*****************************************************************************************************/
input.wow_in_header, select.wow_in_header
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-weight: bold;
    color: #FFFF66;
    border: 1px solid black;
    padding: 4px;
    background-color: #4B6C9E;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.wow_date_in_header
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-weight: bold;
    border: 1px solid black;
    padding: 1px;
    border-radius: 4px;
}
input.wow, select.wow, span.wow
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-weight: bold;
    background-color: #FFFFFF;
    border: 1px solid #ccc;
    padding: 1px;
    width:96%;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.wow:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.wow::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.wow:-ms-input-placeholder {
  color: #999;
}
.wow::-webkit-input-placeholder {
  color: #999;
}
.wow[disabled],
.wow[readonly],
fieldset[disabled] .wow {
  cursor: not-allowed;
  background-color: #eee;
  opacity: 1;
}
textarea.wow {
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-weight: bold;
    background-color: #FFFFFF;
    border: 1px solid #ccc;
    padding: 4px;
    width:96%;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  height: auto;
}
.wow_date
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-weight: bold;
    background-color: #FFFFFF;
    border: 1px solid #ccc;
    padding: 1px;
    border-radius: 4px;
}

.wow_label
{
    border-width: 1px;
    border-bottom-style: dotted;
    float: left;
    width: 200px;
}

/*****************************************************************************************************/
/* Messaggistica 
/*****************************************************************************************************/
.page-alert
{
    width: 96%;
    margin: 10px auto 0px auto;
}
.alert {
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.alert {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
}
.alert-success {
  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
  background-image:      -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
  background-image:         linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
  background-repeat: repeat-x;
  border-color: #b2dba1;
}
.alert-info {
  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
  background-image:      -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
  background-image:         linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
  background-repeat: repeat-x;
  border-color: #9acfea;
}
.alert-warning {
  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
  background-image:      -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
  background-image:         linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
  background-repeat: repeat-x;
  border-color: #f5e79e;
}
.alert-danger {
  background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
  background-image:      -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
  background-image:         linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
  background-repeat: repeat-x;
  border-color: #dca7a7;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .2;
  text-decoration:none;
  vertical-align:middle;
}

button.close {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.ASPxUploadControl-NoStyle {
    background:none !important;
    border:0 !important;
    color:black;
    padding:0 !important;
    margin:0;
}
.ASPxUploadControl-NoStyle a {
    border:0 !important;
}

.center {
    margin-left: auto;
    margin-right: auto;
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: center;
    display: flex;
    justify-content: center;
}

/*****************************************************************************************************/
/* Pager 
/*****************************************************************************************************/
.pager_numeric_button{color:#FFFF66;padding:2px;}
.pager_current_page{color:#FFFF66;font-weight:bold;padding:2px;}
.pager_next_button{color:#FFFF66;padding:5px;}
.pager_last_button{color:#FFFF66;padding:5px;}
.pager_numeric_button:hover, .pager_next_button:hover, .pager_last_button:hover {color:#FFFF66;font-weight:bold;}
.pager_numeric_button:link, .pager_next_button:link, .pager_last_button:link {color:#FFFF66;}

/*****************************************************************************************************/
/* Classi per comprimere html
/*****************************************************************************************************/
.line   {min-width:1px;width:1px;padding:0px !important;background-color:white;}
.nowrap {white-space:nowrap;}
.c      {text-align:center !important} 
.l      {text-align:left !important}
.r      {text-align:right !important} 
.top    {vertical-align:top !important}
.middle {vertical-align:middle !important}
.bottom {vertical-align:bottom !important}
.w30    {min-width:30px;width:30px;max-width:30px}
.w40    {min-width:40px;width:40px;max-width:40px}
.w50    {min-width:50px;width:50px;max-width:50px}
.w54    {min-width:54px;width:54px;max-width:54px}
.w60    {min-width:60px;width:60px;max-width:60px} 
.w70    {min-width:70px;width:70px;max-width:70px} 
.w80    {min-width:80px;width:80px;max-width:80px}
.w90    {min-width:90px;width:90px;max-width:90px} 
.w100   {min-width:100px;width:100px;max-width:100px} 
.w110   {min-width:110px;width:110px;max-width:110px}
.w120   {min-width:120px;width:120px;max-width:120px} 
.w130   {min-width:130px;width:130px;max-width:130px} 
.w140   {min-width:140px;width:140px;max-width:140px} 
.w150   {min-width:150px;width:150px;max-width:150px} 
.w160   {min-width:160px;width:160px;max-width:160px} 
.w170   {min-width:170px;width:170px;max-width:170px} 
.w180   {min-width:180px;width:180px;max-width:180px} 
.w190   {min-width:190px;width:190px;max-width:190px} 
.w200   {min-width:200px;width:200px;max-width:200px}
.w210   {min-width:210px;width:210px;max-width:210px}
.w220   {min-width:220px;width:220px;max-width:220px}
.w240   {min-width:240px;width:240px;max-width:240px}
.w250   {min-width:250px;width:250px;max-width:250px} 
.w260   {min-width:260px;width:260px;max-width:260px} 
.w280   {min-width:280px;width:280px;max-width:280px}
.w300   {min-width:300px;width:300px;max-width:300px}
.w340   {min-width:340px;width:340px;max-width:340px}
.w400   {min-width:400px;width:400px;max-width:400px}
.w500   {min-width:500px;width:500px;max-width:500px}
.w1000  {min-width:1000px;width:1000px;max-width:1000px}
.w20p   {width:20%}
.w30p   {width:30%}
.w40p   {width:40%}
.w50p   {width:50%}
.w70p   {width:70%}
.w100p  {width:100%}
.p0     {padding:0px !important}
.p2     {padding:2px !important}
.p3     {padding:3px !important}
.p5     {padding:5px !important}
.p10    {padding:10px !important}
.btnInline {display: inline-table;}
.bold   {font-weight: bold;}
.b1     {border:1px solid black;}
.display_none {display: none;}
.xsmall {font-size:x-small;}

.wmax40     {max-width:40px}
.wmax50     {max-width:50px}
.wmax80     {max-width:80px}
.wmax100    {max-width:100px}
.wmax200    {max-width:200px}
.hide       {display:none}
.inline     {display: inline-table;}

/*****************************************************************************************************/
/* Blink
/*****************************************************************************************************/
.blink_me {animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }
