﻿/* DEFAULTS
----------------------------------------------------------*/

body {
  background: #FFFFFF;
  font-size: .80em;
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  margin: 0;
  padding: 0;
  color: #696969;
}

a:link, a:visited {
  color: #034af3;
}

a:hover {
  color: #1d60ff;
  text-decoration: none;
}

a:active {
  color: #034af3;
}

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: 0;
}

h1 {
  font-size: 1.6em;
  padding-bottom: 0;
  margin-bottom: 0;
}

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: 0;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
  border-style: none;
  border-width: inherit;
  width: 95%;
  margin: 20px auto 0 auto;
}

.header {
  position: relative;
  margin: 0;
  padding: 0;
  background: #4b6c9e;
  width: 100%;
  height: 180px;
}

  .header h1 {
    font-weight: 700;
    margin: 0;
    padding: 0 0 0 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 2em;
  }

.main {
  border-color: #465c71;
  border-style: solid;
  border-width: 1px;
  padding: 10px;
  margin: 0;
  min-height: 420px;
  background-color: #FFFFFF;
}

.leftCol {
  padding: 6px 0;
  margin: 12px 8px 8px 8px;
  width: 200px;
  min-height: 200px;
}

.footer {
  position: relative;
  margin: 0;
  padding: 0px;
  background: #4b6c9e;
  width:100%; 
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink {
  background-color: #3a4f63;
  width: 100%;
}

div.menu {
  padding: 4px 0 1px 8px;
  position: relative;
  z-index: 100000;
}

  div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
  }

    div.menu ul li a, div.menu ul li a:visited {
      background-color: #465c71;
      border: 1px #4e667d solid;
      color: #dde4ec;
      display: block;
      line-height: 1.35em;
      padding: 4px 20px;
      text-decoration: none;
      white-space: nowrap;
    }

      div.menu ul li a:hover {
        background-color: #bfcbd6;
        color: #465c71;
        text-decoration: none;
      }

      div.menu ul li a:active {
        background-color: #465c71;
        color: #cfdbe6;
        text-decoration: none;
      }

      div.menu ul li a.static.selected {
        /*background-color: #f5f5f5 !important;*/
        border-top: white 1px solid !important;
        border-bottom: white 1px solid !important;
        border-left: white 1px solid !important;
        border-right: white 1px solid !important;
      }  


/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #ccc;
}

  fieldset p {
    margin: 2px 12px 10px 10px;
  }

  fieldset.login label, fieldset.register label, fieldset.changePassword label {
    display: block;
  }

  fieldset label.inline {
    display: inline;
  }

legend {
  font-size: 1.1em;
  font-weight: 600;
  padding: 2px 4px 8px 4px;
}

input.textEntry {
  width: 320px;
  border: 1px solid #ccc;
}

input.passwordEntry {
  width: 320px;
  border: 1px solid #ccc;
}

div.accountInfo {
  width: 42%;
}

/* MISC  
----------------------------------------------------------*/

.clear {
  clear: both;
}

.title {
  display: block;
  float: left;
  text-align: left;
  width: auto;
}

.loginDisplay {
  font-size: 1.1em;
  display: block;
  text-align: right;
  padding: 10px;
  color: White;
}

  .loginDisplay a:link {
    color: white;
  }

  .loginDisplay a:visited {
    color: white;
  }

  .loginDisplay a:hover {
    color: white;
  }

.failureNotification {
  font-size: 1.2em;
  color: Red;
  padding:5px;
  margin:5px;  
  text-align :left; 
}

.messageNotification {
  font-size: 1.2em;
  color: green ;
  padding:5px;
  margin:5px;  
  text-align :left; 
}

.bold {
  font-weight: bold;
}

.submitButton {
  text-align:center;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  font-size:small;
  border-radius: 5px;
  -moz-border-radiux: 5px;
  -webkit-border-radiux: 5px;
  border: 1px solid #666666;
}

.submitButtonRep {
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  font-size: xx-small;
  border-radius: 5px;
  -moz-border-radiux: 5px;
  -webkit-border-radiux: 5px;
  border: 1px solid #666666;
}

.tdDefault {
    padding: 5px 15px 2px 15px;
}

.tdDefault.Center {
    text-align: center;
}

.tdDefault.Left {
    text-align: left;
}

.tdDefault.Right {
    text-align: right;
}


/*Nifty Corners Cube CSS by Alessandro Fulciniti
The following classes are added dinamically by javascript,
and their use should be avoided in the markup */

b.niftycorners, b.niftyfill {
  display: block;
}

  b.niftycorners * {
    display: block;
    height: 1px;
    line-height: 1px;
    font-size: 1px;
    overflow: hidden;
    border-style: solid;
    border-width: 0 1px;
  }

/*normal*/
b.r1 {
  margin: 0 3px;
  border-width: 0 2px;
}

b.r2 {
  margin: 0 2px;
}

b.r3 {
  margin: 0 1px;
}

b.r4 {
  height: 2px;
}

b.rb1 {
  margin: 0 8px;
  border-width: 0 2px;
}

b.rb2 {
  margin: 0 6px;
  border-width: 0 2px;
}

b.rb3 {
  margin: 0 5px;
}

b.rb4 {
  margin: 0 4px;
}

b.rb5 {
  margin: 0 3px;
}

b.rb6 {
  margin: 0 2px;
}

b.rb7 {
  margin: 0 1px;
  height: 2px;
}

b.rb8 {
  margin: 0;
  height: 2px;
}

b.rs1 {
  margin: 0 1px;
}

/*transparent inside*/
b.t1 {
  border-width: 0 5px;
}

b.t2 {
  border-width: 0 3px;
}

b.t3 {
  border-width: 0 2px;
}

b.t4 {
  height: 2px;
}

b.tb1 {
  border-width: 0 10px;
}

b.tb2 {
  border-width: 0 8px;
}

b.tb3 {
  border-width: 0 6px;
}

b.tb4 {
  border-width: 0 5px;
}

b.tb5 {
  border-width: 0 4px;
}

b.tb6 {
  border-width: 0 3px;
}

b.tb7 {
  border-width: 0 2px;
  height: 2px;
}

b.tb8 {
  border-width: 0 1px;
  height: 2px;
}

b.ts1 {
  border-width: 0 2px;
}


.LblApplication {
  color: #CCCCCC;
  font-variant: small-caps;
  text-transform: none;
  font-weight: 200;
  margin-bottom: 0;
  font-size: xx-large;
}

.LblIndicazioni {
  color: #CCCCCC;
  font-variant: small-caps;
  text-transform: none;
  font-weight: 200;
  margin-bottom: 0px;
  font-size: large;
}


.DropDownList {
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  border: 1px solid #ccc;
}

.TextBox {
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  border: 1px solid #ccc;
}

.TextBoxBold {
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  font-size: large;
  font-weight: 600;
  border: 1px solid #ccc;
}

.textBoxBig {
  font-size: 1.2em;
}

.labelBig {
  font-size: 1.2em;
}

.checkboxBig {
  font-size: 1.2em;
}

/* Overlay */
.overlay {
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* For IE 5.5 - 7 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80FFFFFF, endColorstr=#80FFFFFF);
  /* For IE8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#80FFFFFF, endColorstr=#80FFFFFF)";
  /* 50% opacity */
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.overlayContent {
  background-position: center bottom;
  border: medium solid #363670;
  z-index: 99;
  margin: 250px auto;
  width: 130px;
  height: 60px;
  background-color: #FFFFFF;
  opacity: 0.9;
  background-repeat: no-repeat;
  background-image: url('../Images/Wait.gif');
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  font-size: small;
  color: #000080;
  text-align: center;
  vertical-align: top;
}

/* Gridview */
.Grid {
  background-color: #fff;
  margin: 0px 0px 10px 0;
  border: solid 1px #525252;
  border-collapse: collapse;
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  color: #474747;
}

  .Grid td {
    padding: 2px;
    border: solid 1px #c1c1c1;
    font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
    font-size: 11px;
  }

  .Grid th {
    padding: 4px 2px;
    color: #fff;
    background: #2b3a48;
    border-left: solid 1px #525252;
    font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
    font-size: 12px;
  }

  .Grid tr th a, .GridStyle tr th a:visited {
    color: #f5e107;
  }

  .Grid .alt {
    background: #E3ECFD;
  }

  .Grid .ftr {
    background: #2b3a48;
  }

  .Grid .ftrWhite {
    background: #ffffff;
  }

  .Grid .pgr {
    background: #2b3a48;
  }

  .Grid .rsel {
    background: #f3eeae;
  }

  .Grid .pgr table {
    margin: 3px 0;
  }

  .Grid .pgr td {
    border-width: 0;
    padding: 0 6px;
    border-left: solid 1px #666;
    font-weight: bold;
    font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
    color: #fff;
    line-height: 12px;
  }

  .Grid .pgr a {
    color: Gray;
    text-decoration: none;
  }

    .Grid .pgr a:hover {
      color: #000;
      text-decoration: none;
    }

.ChildGrid td {
  background-color: #fff !important;
  color: black;
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  font-size: 10px;
  line-height: 12px;
}

.ChildGrid th {
  background-color: #28282a !important;
  color: White;
  font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
  font-size: 11pt;
  line-height: 12px;
}


/************ LinkButton as Button ora non usato ***********************/
.linkButtonClass {
    padding: 2px 20px;
    text-decoration: none;
    border: solid 1px black;
    background-color: #ababab;
}

.linkButtonClass:hover
{
    border: solid 1px Black;
    background-color: #ffffff;
}

.linkButtonClass:before
{
    content: '\a';
    white-space: pre; 
}


/************ LinkButton nei gridview ***********************/
.linkButton  {
    display: inline-block;
    Font-Size: small; 
    padding:  4px 4px 4px 4px; 
}

    .linkButton:hover {
        color: darkgreen; /*HighlightText;*/
    }

/************ MaskedEdit Related Styles ***********************/
.MaskedEditFocus {
  background-color: #ffffcc;
  color: #000000;
}

.MaskedEditMessage {
  color: #ff0000;
  font-weight: bold;
}

.MaskedEditError {
  background-color: #ffcccc;
}

.MaskedEditFocusNegative {
  background-color: #ffffcc;
  color: #ff0000;
}

.MaskedEditBlurNegative {
  color: #ff0000;
}

/*CollapsiblePanel*/
.collapsePanel
{
  padding:20px;
  background-color: white;
  overflow: hidden;
}

.collapsePanelHeader
{
  width: 100%;
  height: 30px;
  /*background-image: url('../Images/PnlCollapseBkg.png');*/
  background-repeat: repeat-x;
  color: #FFF;
  background-color: #3a4f63;
  font-weight: bold;
}

.LblDescrValori
{
  font-size: .90em;
  font-family: 'Calibri', 'Garamond', 'Helvetica',  'sans-serif';
  font-weight:lighter; 
}

.LblValori
{
  font-size: .80em;
  font-family: 'Calibri', 'Garamond', 'Helvetica',  'sans-serif';
  font-weight:bolder; 
}

.LblValoriReadOnly
{
  font-size: .80em;
  font-family: 'Calibri', 'Garamond', 'Helvetica',  'sans-serif';
  font-weight:bolder; 
  background-color:lightgray; 
}

.LblValoriBig
{
  font-size: 1em;
  font-family: 'Calibri', 'Garamond', 'Helvetica',  'sans-serif';
  font-weight:bold; 
}

/************ MaskedEdit Related Styles ***********************/
.MaskedEditFocus {
  background-color: #ffffcc;
  color: #000000;
}

.MaskedEditMessage {
  color: #ff0000;
  font-weight: bold;
}

.MaskedEditError {
  background-color: #ffcccc;
}

.MaskedEditFocusNegative {
  background-color: #ffffcc;
  color: #ff0000;
}

.MaskedEditBlurNegative {
  color: #ff0000;
}


/************ AutoComplete ***********************/

/*AutoComplete flyout */
.autocomplete_completionListElement 
{  
	margin : 0px!important;
	background-color : inherit;
	color : windowtext;
	border : buttonshadow;
	border-width : 1px;
	border-style : solid;
	cursor :  default;
	overflow : auto;
	height : 200px;
    text-align : left; 
    list-style-type : none;
}

/* AutoComplete highlighted item */

.autocomplete_highlightedListItem
{
	background-color: darkgrey;   /*#ffff99;*/
	color: black;
	padding: 1px;
}

/* AutoComplete item */

.autocomplete_listItem 
{
	background-color : window;
	color : windowtext;
	padding : 1px;
}

/* Keypad On screen*/
.Keypad {
    font-family: 'Helvetica', 'Calibri', 'Garamond', 'sans-serif';
    position: absolute;
    background-color: #D5D5D5;
    height: 350px;
    width: 200px;
    top: 3%;
    left: 50%;
    z-index: 3001;
    padding: 3px;
    overflow: no-display;
    -moz-box-shadow: 3.5px 4px 5px #000000;
    -webkit-box-shadow: 3.5px 4px 5px #000000;
    box-shadow: 3.5px 4px 5px #000000;
    border-radius: 5px;
    -moz-border-radiux: 5px;
    -webkit-border-radiux: 5px;
    border: 1px solid #CCCCCC;
}

.LargeKeypad {
    left: 20%;
    width: 380px;
}


/* ---------------------------------------------------------- USER CONTROL POPUP -------------------------------------------- */
.uscContainer-popup {
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,.5);
  z-index: 110000;
}

.uscPopup {
    width: 90%;
    height: 90%;
    background: #F1F1F1;
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 3.5px 4px 5px #000000;
    border-radius: 5px;
    border: thin;
}

    .uscPopup.small {
        width: 35%;
        height: 25%;
    }

    .uscPopup.medium {
        width: 45%;
        height: 50%;
    }

    .uscPopup.big {
        width: 90%;
        height: 90%;
    }


.uscPnlHeaderPopup {
  position: relative;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 30px;
  background-color: #3a4f63;
}

.uscTitlePopup {
    position: absolute;
    font-size: 1.2em;
    top: 5px;
    left: 5px;
    color: #FFFFFF
}

.uscBtnClosePopup {
    position: absolute;
    top: 5px;
    right: 5px;
}



