/*****************************************************************************/
/** Generali */

html, body, div {
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-family: Verdana, Tahoma, sans-serif;
  font-weight: normal;
  font-size: 12px;
}

html, body {
  height: 100%;
}

body {
  background-position: top center;
  background-repeat: repeat-y;
}

div {
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5 {
  font-family: Verdana, Tahoma, sans-serif;
  margin: 3px;
  padding: 0px;
  color: #000000;
  font-weight: bold;
}
h1 { font-size: 18px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
h4 { font-size: 12px; }
h5 { font-size: 10px; }

.hNomAzi {}
.hInfUte {}

form {
  margin: 0px;
  padding: 0px;
  display: inline;
}

table {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  padding: 0px;
  border: none;
}
table tr {
  margin: 0px;
  padding: 0px;
  border: none;
}
table tr th, table tr td {
  margin: 0px;
  padding: 0px;
  border: none;
  vertical-align: middle;
}
table tr td {
  text-align: left;
  font-size: 12px;
}
table tr th {
  font-weight: bold;
  text-align: center;
  font-size: 12px;
}

.wd-200 { width:200px; }

/*****************************************************************************/
/** Layout fisso */

div.dMainContainer, div.dCommonFooter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
div.dMainContainer {}

div.dCommonHeader, div.dCommonFooter {
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 11px;
  font-weight: normal;
  color: #000000;
}

div.dCommonHeader {
  width: 100%;
  margin-bottom: 5px;
  padding-bottom: 2px;
}

div.dCommonBody {
  width: 100%;
  min-height: 500px;
}

div.dCommonPush {
  margin: 0px;
  padding: 0px;
  height: 70px;
  background-color: #FFFFFF;
}

div.dCommonFooter {
  margin: 0px;
  padding: 5px;
  margin-top: 10px;
  border-top: 2px solid #1D436D;
  background-color: #FFFFFF;
  color: #1D436D;
  font-size: 10px;
}
div.dCommonFooter span.small {
  font-size: 8px;
}
div.dCommonFooter a { background-color: #FFFFFF; color: #1D436D; }
div.dCommonFooter a:hover { background-color: #FFFFFF; color: #1D436D; }


/*****************************************************************************/
/** Utilita' */

.taL { text-align: left; }
.taC { text-align: center; }
.taR, .iTgl, .iImp { text-align: right; }

.tB { font-weight: bold; }
.tI { font-style: italic; }
.tU { text-decoration: underline; }

.tVS { font-size: 10px!important; }

.mB10 { margin-bottom: 10px; }
.mT10 { margin-top: 10px; }

.m0 { margin:0; }
.mR0 { margin-left:0; }
.mL0 { margin-right:0; }

p.pErrMsg, p.pSucMsg, p.pMsg {
  font-size: 12px;
  font-weight: bold;
}
p.pErrMsg { color: #FF0000; }
p.pSucMsg { color: #009000; }

.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }

.clErr { color: #FF0000; font-weight: bold; }
.clSuc { color: #009000; font-weight: bold; }

.clErr a:visited { color: #FF0000; }

img.iBN {
  border: none;
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  vertical-align: text-bottom!important;
}

.tBR {
  color: #FF0000!important;
  font-weight: bold!important;
}

img.iCL { cursor: pointer; }

select.sSelZoo {
  width: 100%;
}

.bB, select.bB option { border-width: 1px; border-style: solid; border-color: #666666; background-color: #FFFFFF; }
.bR, select.bR option { border-width: 1px; border-style: solid; border-color: #666666; background-color: #FFFFFF; }

.bNone {
  border: none!important;
}

.dNone {
  display: none!important;
}

.valign-middle, .valign-middle input, .valign-middle label { vertical-align:middle; }

/******************************* MESSAGGIO ************************************/

div.dPopUpMsgBlur {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100% !important;
  /*height: 100% !important;*/
  height: 1705px;
  z-index: 2;
  display: block;
  text-align: center;
  background-color: #000000;
  filter: alpha(opacity=25);
  -moz-opacity: .25;
  opacity: .25;
}
div.dPopUpMsg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100% !important;
  height: 100% !important;
  z-index: 3;
  display: block;
  text-align: center;
}

table.tPopUpMsg {
  border-collapse: collapse;
  text-align: center;
  border: 2px solid #888888;
  background-color: #DDDDDD;
}
table.tPopUpMsg tr {}
table.tPopUpMsg th, table.tPopUpMsg td {
  padding: 2px;
  vertical-align: middle;
  font-family: Verdana, Tahoma, sans-serif;
  text-align: left;
}
table.tPopUpMsg th {
  background-color: #0051EB;
  border: 1px solid #AAAAAA;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
}
table.tPopUpMsg td {
  font-size: 12px;
}
img.iPopUpClose {
  padding: 0px; margin: 0px; border: none; display: block; float: right;
}
input.bPopUpMsg {
  border: 1px solid #0011BB;
  background-color: #CCFFFF;
  color: #0000FF;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 10px;
  text-decoration: none;
  margin: 2px;
}


/*****************************************************************************/
/** Input vari */

input.iPul,
input.iPulSmall, input.iCmd,
input.iCmdSmall,
input.iPulSpecial {
  margin: 2px;
  padding: 2px;
  border: 1px solid #000000;
  background-color: #4f585c;
  color: #FFFFFF;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 12px;
  font-weight: normal;
}
input.iPulSmall, input.iCmd {
  margin: 1px;
  padding: 1px;
  font-size: 10px;
}
input.iCmdSmall {
  background-color: #BBBBBB;
  color: #000000;
  border: 1px solid #000000;
  font-size: 10px!important;
}

input.iPulSpecial {
  font-weight: bold;
  background-color: #BBBBBB;
  color: #000000;
  border: 1px solid #000000;
}

input.iTex,
input.iImp {
  border: 1px solid #000000;
  background-color: #FFFFFF;
  color: #000000;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 12px;
  font-weight: normal;
  height: 18px;
}
input.iImp { text-align: right; }

input.iReadonly, input.iDisabled {
  background-color: #CCCCCC;
}

input.iImg {
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: block;
  text-align: center;
}

select.sSel {
  border: 1px solid #000000;
  background-color: #FFFFFF;
  color: #000000;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 12px;
  font-weight: normal;
}
select.sSel option {}


/*****************************************************************************/
/** Tabella di login */

table.tLogin {
  border: 2px solid #000000;
}
table.tLogin tr {}
table.tLogin tr th, table.tLogin tr td {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  text-align: center;
  font-size: 12px;
  vertical-align: middle;
  padding: 4px;
}
table.tLogin tr th {
  background-color: #AAAAAA;
  color: #FFFFFF;
  height: 18px;
}
table.tLogin tr th.thTit {
  height: 28px;
  font-style: normal;
  font-size: 16px;
  background-color: transparent;
  background-image: url('/servizi/images/thTitBig_bg.png');
  background-repeat: repeat-x;
  background-position: left top;
  color: #000000;
}
table.tLogin tr td {
  background-color: #EEEEEE;
}


/*****************************************************************************/
/** Tabella del menu' */

table.tMainMenu {
  border: 2px solid #000000;
}
table.tMainMenu tr {}
table.tMainMenu tr th, table.tMainMenu tr td {
  font-size: 12px;
  vertical-align: middle;
  text-align: center;
}
table.tMainMenu tr th {
  background-color: #666666;
  color: #FFFFFF;
  height: 18px;
  border: 1px solid #000000;
}
table.tMainMenu tr th.thTit {
  height: 28px;
  font-style: normal;
  font-size: 20px;
  background-color: transparent;
  background-image: url('/servizi/images/thTitBig_bg.png');
  background-repeat: repeat-x;
  background-position: left top;
  color: #000000;
}
table.tMainMenu tr td {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  background-color: transparent;
  background-image: url('/servizi/images/tdGradientMM_bg.png');
  background-repeat: no-repeat;
  width: 270px;
}
table.tMainMenu tr td.c1 { background-position: 0 0; }
table.tMainMenu tr td.c2 { background-position: -270 0; }
table.tMainMenu tr td.c3 { background-position: -540 0; }
table.tMainMenu tr td form { display: inline; margin: 0px; padding: 0px; }
table.tMainMenu tr td form input.iPul {
  margin: 10px;
/*  padding: 5px; */
  width: 250px;
  height: 30px;
  background-color: transparent;
  background-image: url('/servizi/images/bPulMM_bg.png');
  background-repeat: no-repeat;
  background-position: 0 0;
  border: none;
  cursor: pointer;
}


/*****************************************************************************/
/** Tabelle di visualizzazione/ricerca */

table.tFind {
  border: 1px solid #000000;
  margin-left: auto;
  margin-right: auto;
}
table.tFind tr.r1 { background-color: #EEEEEE; }
table.tFind tr.r2 { background-color: #DDDDDD; }
table.tFind tr th, table.tFind tr td {
  font-size: 10px;
  font-family: Verdana, Tahoma, sans-serif;
  text-align: center;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 3px;
  padding-right: 3px;
  border: 1px solid #BBBBBB;
  vertical-align: middle;
}
table.tFind tr th {
  color: #FFFFFF;
  font-weight: bold;
  font-size: 12px;
  background-color: #666666;
  text-align: center;
  border: 1px solid #BBBBBB;
}
table.tFind tr th.thTit {
  font-size: 14px;
  color: #000000;
  text-align: center;
  border: 1px solid #BBBBBB;
  background-color: transparent;
  background-image: url('/servizi/images/thTit_bg.png');
  background-repeat: repeat-x;
  background-position: left top;
}
table.tFind tr th.thTitInf {
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
  border: 1px solid #BBBBBB;
  background-color: #222222;
}
table.tFind tr td { font-size: 12px; }
table.tFind tr td.l { text-align: left; }
table.tFind tr td.r { text-align: right; }

table.tEdit {
  border: 1px solid #000000;
  margin-left: auto;
  margin-right: auto;
}
table.tEdit tr.r1 { background-color: #EEEEEE; }
table.tEdit tr.r2 { background-color: #DDDDDD; }
table.tEdit tr th, table.tEdit tr td {
  font-size: 10px;
  font-family: Verdana, Tahoma, sans-serif;
  text-align: center;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 3px;
  padding-right: 3px;
  border: 1px solid #BBBBBB;
  vertical-align: middle;
}
table.tEdit tr th {
  color: #FFFFFF;
  font-weight: bold;
  font-size: 12px;
  background-color: #666666;
  text-align: center;
  border: 1px solid #BBBBBB;
}
table.tEdit tr th.thTit {
  font-size: 14px;
  color: #000000;
  text-align: center;
  border: 1px solid #BBBBBB;
  background-color: transparent;
  background-image: url('/servizi/images/thTit_bg.png');
  background-repeat: repeat-x;
  background-position: left top;
}
table.tEdit tr th.thTitInf {
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
  border: 1px solid #BBBBBB;
  background-color: #222222;
}
table.tEdit tr td {
  font-size: 12px;
  text-align: left;
}
table.tEdit tr td.l { text-align: left; }
table.tEdit tr td.c { text-align: center; }
table.tEdit tr td.r { text-align: right; }
table.tEdit tr th.l { text-align: left; }
table.tEdit tr th.c { text-align: center; }
table.tEdit tr th.r { text-align: right; }
table.tEdit tr td textarea {
  font-size: 12px;
  font-family: Verdana, Tahoma, sans-serif;
}

table.tShow {
  border: 1px solid #000000;
  margin-left: auto;
  margin-right: auto;
}
table.tShow tr.trTot { background-color: #D9D9D9; font-weight: bold; }
table.tShow tr.trTotRot { background-color: #D0D0D0; font-weight: bold; }
table.tShow tr.r1 { background-color: #FEFEFE; }
table.tShow tr.r2 { background-color: #EDEDED; }
table.tShow tr th, table.tShow tr td {
  font-size: 10px;
  font-family: Verdana, Tahoma, sans-serif;
  text-align: center;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-right: 2px;
  border-top: none;
  border-bottom: none;
  border-left: 1px solid #BBBBBB;
  border-right: 1px solid #BBBBBB;
  vertical-align: middle;
}
table.tShow tr th {
  color: #FFFFFF;
  font-weight: bold;
  font-size: 12px;
  background-color: #666666;
  text-align: center;
  border: 1px solid #BBBBBB;
}
table.tShow tr th.thTit {
  font-size: 14px;
  color: #000000;
  text-align: center;
  border: 1px solid #BBBBBB;
  background-color: transparent;
  background-image: url('/servizi/images/thTit_bg.png');
  background-repeat: repeat-x;
  background-position: left top;
}
table.tShow tr th.thTitInf {
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
  border: 1px solid #BBBBBB;
  background-color: #222222;
}
table.tShow tr td {
  font-size: 10px;
  text-align: left;
}
table.tShow tr td.l { text-align: left; }
table.tShow tr td.c { text-align: center; }
table.tShow tr td.r { text-align: right; }
table.tShow tr th.l { text-align: left; }
table.tShow tr th.c { text-align: center; }
table.tShow tr th.r { text-align: right; }
table.tShow tr td.bTBN { background-color: #666666; }
table.tShow tr td input.iImgS { margin: 1px; padding: 0px; }

table.tShow tr td.stato_cred_warn { background-color: #ffee84; }
table.tShow tr td.stato_cred_erro { background-color: #ff785c; }

table.tShowVAT tr td { vertical-align: top; }

table.tShow td.cmd input[type=image] { width: 19px; }
table.tShow tr td input[type=image] { margin: 1px; padding: 0px; }

/*****************************************************************************/
/** Gestione PopUp */

div.dPopUp {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 2;
  text-align: center;
  background-color: #FFFFFF;
}


/*****************************************************************************/
/** DatePicker */

input.eDatePicker {
  margin: 0px;
}
a.aDatePicker {
  margin: 0px;
  margin-left: 2px;
  padding: 0px;
  text-decoration: none;
  border: none;
}
img.imgDatePicker {
  height: 22px;
  margin: 0px;
  padding: 0px;
  border: none;
  vertical-align: top;
}


/*****************************************************************************/
/** Registro log */

div.RegLog {
  width: 850px;
  border: 1px solid grey;
  text-align: left;
  padding: 5px;
  height: 145px;
  overflow-y: auto;
  font-family: monospace;
}


/*****************************************************************************/
/** DataTables */
.dataTables_wrapper .dataTables_info {  clear:none !important; }
div.dataTables_info { margin-left: 5px; padding-top: 0.5em !important; }


/*****************************************************************************/
/** Specifiche */

img.iLogo {
  width: 100%;
  max-width: 300px;
}

img.iHeaderLogo {
  display: inline-block;
  max-height: 104px;
}

div.dRepPerCor { text-align: center; }
div.dRepPerCor table.tDetUff { margin-left: auto; margin-right: auto; }

.ui-draggable, .ui-droppable {
  background-position: top;
}

.eFilSel { width: 5em; }
.sFilSel { width: 40em; }

.InGestione { font-weight: bold; color: #FF0000; }

/* Blocco comandi gestione ditta */
#panana_gestioni { 
  background-color: #e1f5ff;
  width: 60%;
  min-height: 100px;
  box-shadow: 0px 0px 5px 0px #bfbfbf;
  margin-top: 50px;
  margin-bottom: 50px;
}
#panana_gestioni input { width: 250px; padding:10px; margin:10px; }
#panana_gestioni td { text-align:center; }

#panana_gestioni.panana_gestioni_small { 
  width: 40%;
  min-height: auto;
  margin-top: 10px;
  margin-bottom: 15px;
}
#panana_gestioni.panana_gestioni_small input { padding:2px;}
