@media print
{
.noPrint {display:none;}
}

/* CUSTOM CSS */

table.formlayout td select.selectlist {
  margin: 0px 0 0px 0 !important;
}

table.formlayout tbody tr td {
  padding: 2px 4px !important;
}

table.lov {
  margin-top:-2px !important; 
  margin-left:-4px !important;
}

// OVERRIDE!

.no_opacity {
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
  filter: alpha(opacity=100) !important;
  opacity: 1 !important;
  cursor: default;
  pointer-events: none;
}

.crmTransparent {
  opacity:0.6;
  filter: alpha(opacity=60);
}

.crmMoreTransparent {
  opacity:0.3;
  filter: alpha(opacity=30);
}

.crmHidden
{
  display: none;
}

// height
.crmH1 { height: 1em; }
.crmH2 { height: 2em; }
.crmH3 { height: 3em; }
.crmH4 { height: 4em; }
.crmH5 { height: 5em; }
.crmH6 { height: 6em; }
.crmH7 { height: 7em; }
.crmH8 { height: 8em; }
.crmH9 { height: 9em; }
.crmH10 { height: 10em; }
.crmH11 { height: 11em; }
.crmH12 { height: 12em; }
.crmH13 { height: 13em; }
.crmH14 { height: 14em; }
.crmH15 { height: 15em; }
.crmH16 { height: 16em; }
.crmH17 { height: 17em; }
.crmH18 { height: 18em; }
.crmH19 { height: 19em; }
.crmH20 { height: 20em; }
.crmH21 { height: 21em; }
.crmH22 { height: 22em; }
.crmH23 { height: 23em; }
.crmH24 { height: 24em; }
.crmH25 { height: 25em; }
.crmH26 { height: 26em; }
.crmH27 { height: 27em; }
.crmH28 { height: 28em; }
.crmH29 { height: 29em; }
.crmH30 { height: 30em; }
.crmH31 { height: 31em; }
.crmH32 { height: 32em; }
.crmH33 { height: 33em; }
.crmH34 { height: 34em; }
.crmH35 { height: 35em; }
.crmH36 { height: 36em; }
.crmH37 { height: 37em; }
.crmH38 { height: 38em; }
.crmH39 { height: 39em; }
.crmH40 { height: 40em; }

// width (em)

.crmW1 { width: 1em; }
.crmW2 { width: 2em; }
.crmW3 { width: 3em; }
.crmW4 { width: 4em; }
.crmW5 { width: 5em; }
.crmW6 { width: 6em; }
.crmW7 { width: 7em; }
.crmW8 { width: 8em; }
.crmW9 { width: 9em; }
.crmW10 { width: 10em; }
.crmW11 { width: 11em; }
.crmW12 { width: 12em; }
.crmW13 { width: 13em; }
.crmW14 { width: 14em; }
.crmW15 { width: 15em; }
.crmW16 { width: 16em; }
.crmW17 { width: 17em; }
.crmW18 { width: 18em; }
.crmW19 { width: 19em; }
.crmW20 { width: 20em; }
.crmW21 { width: 21em; }
.crmW22 { width: 22em; }
.crmW23 { width: 23em; }
.crmW24 { width: 24em; }
.crmW25 { width: 25em; }
.crmW26 { width: 26em; }
.crmW27 { width: 27em; }
.crmW28 { width: 28em; }
.crmW29 { width: 29em; }
.crmW30 { width: 30em; }
.crmW31 { width: 31em; }
.crmW32 { width: 32em; }
.crmW33 { width: 33em; }
.crmW34 { width: 34em; }
.crmW35 { width: 35em; }
.crmW36 { width: 36em; }
.crmW37 { width: 37em; }
.crmW38 { width: 38em; }
.crmW39 { width: 39em; }
.crmW40 { width: 40em; }
.crmW41 { width: 41em; }
.crmW42 { width: 42em; }
.crmW43 { width: 43em; }
.crmW44 { width: 44em; }
.crmW45 { width: 45em; }
.crmW46 { width: 46em; }
.crmW47 { width: 47em; }
.crmW48 { width: 48em; }
.crmW49 { width: 49em; }
.crmW50 { width: 50em; }
.crmW51 { width: 51em; }
.crmW52 { width: 52em; }
.crmW53 { width: 53em; }
.crmW54 { width: 54em; }
.crmW55 { width: 55em; }
.crmW56 { width: 56em; }
.crmW57 { width: 57em; }
.crmW58 { width: 58em; }
.crmW59 { width: 59em; }
.crmW60 { width: 60em; }
.crmW61 { width: 61em; }
.crmW62 { width: 62em; }
.crmW63 { width: 63em; }
.crmW64 { width: 64em; }
.crmW65 { width: 65em; }
.crmW66 { width: 66em; }
.crmW67 { width: 67em; }
.crmW68 { width: 68em; }
.crmW69 { width: 69em; }
.crmW70 { width: 70em; }
.crmW71 { width: 71em; }
.crmW72 { width: 72em; }
.crmW73 { width: 73em; }
.crmW74 { width: 74em; }
.crmW75 { width: 75em; }
.crmW76 { width: 76em; }
.crmW77 { width: 77em; }
.crmW78 { width: 78em; }
.crmW79 { width: 79em; }
.crmW80 { width: 80em; }
.crmW81 { width: 81em; }
.crmW82 { width: 82em; }
.crmW83 { width: 83em; }
.crmW84 { width: 84em; }
.crmW85 { width: 85em; }
.crmW86 { width: 86em; }
.crmW87 { width: 87em; }
.crmW88 { width: 88em; }
.crmW89 { width: 89em; }
.crmW90 { width: 90em; }
.crmW91 { width: 91em; }
.crmW92 { width: 92em; }
.crmW93 { width: 93em; }
.crmW94 { width: 94em; }
.crmW95 { width: 95em; }
.crmW96 { width: 96em; }
.crmW97 { width: 97em; }
.crmW98 { width: 98em; }
.crmW99 { width: 99em; }

.crmW100 { width: 100%; }

// width (px)

.crmW10p { width: 10px; }
.crmW20p { width: 20px; }
.crmW30p { width: 30px; }
.crmW40p { width: 40px; }
.crmW50p { width: 50px; }
.crmW60p { width: 60px; }
.crmW70p { width: 70px; }
.crmW80p { width: 80px; }
.crmW90p { width: 90px; }
.crmW100p { width: 100px; }
.crmW110p { width: 110px; }
.crmW120p { width: 120px; }
.crmW130p { width: 130px; }
.crmW140p { width: 140px; }
.crmW150p { width: 150px; }
.crmW160p { width: 160px; }
.crmW170p { width: 170px; }
.crmW180p { width: 180px; }
.crmW190p { width: 190px; }
.crmW200p { width: 200px; }
.crmW210p { width: 210px; }
.crmW220p { width: 220px; }
.crmW230p { width: 230px; }
.crmW240p { width: 240px; }
.crmW250p { width: 250px; }
.crmW260p { width: 260px; }
.crmW270p { width: 270px; }
.crmW280p { width: 280px; }
.crmW290p { width: 290px; }
.crmW300p { width: 300px; }

// formattazione

.crmCentered { text-align:center !important; }

.crmNumber {
  text-align: right;
}

.crmBold {
  font-weight:bold !important;
}

.crmItalic {
  font-style: italic !important;
}

.crmXXL {
  font-size:30px !important;
}

.crmBig {
  font-size:2em !important;
}

.crmMedium {
  font-size:1.3em !important;
}

.crmMidMedium {
  font-size:1.2em !important;
}

.crmSmall {
  font-size:0.8em !important;
}

.crmCourier {
  font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace;
}

.crmWrap {
  white-space: pre-line;
}

.crmNoWrap {
  white-space: nowrap;
}

.crmStroked {
  text-decoration: line-through;
}

.crmVertCentered {
  line-height:1em;
}

.crmVertCentMedium {
  line-height:1.3em;
}

.crmLink {
  text-decoration:none !important;
}

.crmLink:hover {
  text-decoration:none;
  background-color: #BDD6E9;
  border-radius:2px;
  -webkit-border-radius:2px;
}

.crmLink2 {
  text-decoration:none !important;
}

.crmLink2:hover {
  text-decoration:none;
  border-radius:2px;
  -webkit-border-radius:2px;
}

.crmPointer {
  cursor: hand;
  cursor: pointer;
}

.crmSpaziato {
  padding: 2px;
  margin: 2px;
}

.crmRegion {
  padding: 4px;
  margin:4px;
  border-radius:2px;
  -webkit-border-radius:2px;
  border: 1px solid #888;
  box-shadow: 0 1px 1px rgba(0,0,0,0.15) inset;
}

.crmRegionNP {
  padding: 2px;
  margin: 0px;
  border-radius:2px;
  -webkit-border-radius:2px;
  border: 1px solid #888;
  box-shadow: 0 1px 1px rgba(0,0,0,0.15) inset;
}

.crmBordered {
  border: 1px solid #888;
}

.crmBorderedLight {
  border: 1px solid #ccc;
}

.crmBorderRed {
  border: 1px solid red;
}

.crmBorderBlue {
  border: 1px solid #336699 !important;
}

.crmBorderGreen {
  border: 1px solid  #40A359 !important;
}

.crmBorderOrange {
  border: 1px solid  #FF7F00 !important;
}

// oggetti

.crmBlueLine { 
  border-top:1px #336699; 
}

.crmBarraSottile {
  margin-bottom:-8px;
  margin-left:4px;
  margin-right:4px;
  border-radius:2px;
  -webkit-border-radius:2px;
  border: 1px solid #888;
  box-shadow: 0 1px 1px rgba(0,0,0,0.15) inset;
}

.crmCircle {
  text-align: center;
  vertical-align:middle;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.15) inset;
  margin:4px;
  padding:4px;
}

// background

.crmEvidenziato {
  background-color:#D4FFAA !important;
}

.crmBgVerde {
  background-color:#BFFB83 !important;
}

.crmBgVerdeChiaro {
  background-color:#D6EBCA !important;
}

.crmBgRosso {
  background-color:#F45252 !important;
}

.crmBgBlu {
  background-color:#327EC9 !important;
}

.crmBgBluScuro {
  background-color:#336699 !important;
}

.crmBgGrigio {
  background-color:#767678 !important;
}

.crmBgGrigioChiaro {
  background-color:#efefef !important;
}

.crmBgAvion {
  background-color:#BDD6E9 !important;
}

.crmBgGiallo {
  background-color:#EDF479 !important;
}

.crmBgGialloChiaro {
  background-color:#F4FCA2 !important;
}

.crmBgRossoChiaro {
  background-color:#fa8c50 !important;
}

.crmBgBianco {
  background-color:#fff !important;
}

.crmBgPetrolio {
  background-color:#70A2B8 !important;
}

.crmBgAzzurroChiaro {
  background-color:#6695FA !important;
}

.crmBgAvion {
  background-color:#6695FA !important;
}

.crmBgCelesteChiaro {
  background-color:#CFDDFC !important;
}

.crmBgRosaChiaro {
  background-color:#EBD7D7 !important;
}

.crmBgVerdoneChiaro {
  background-color:#E3E0C7 !important;
}

.crmBgGiallinoChiaro {
  background-color:#F1F1B9 !important;
}

.crmBgVerdinoChiaro {
  background-color:#C3E6AE !important;
}

.crmBgAzzurrinoChiaro {
  background-color:#D2E2EA !important;
}

.crmBgArancioChiaro {
  background-color:#F1DBBF !important;
}

.crmBgNero {
  background-color:#000000 !important;
}

.crmBgViola {
  background-color:#993366 !important;
}

.crmBgViolaChiaro {
  background-color:#e6b3cc !important;
}

.crmBgBeigeChiaro {
  background-color:#D5B467 !important;
}

.crmBgRossoPallido {
  background-color:#E38559 !important;
}

// colori

.crmRed2 {
  color: #E41818 !important;
}

.crmStrongRed {
  color: #E41818 !important;
}

.crmOrange {
  color: #FF7F00 !important;
}

.crmDarkBrick {
  color: #AC441A !important;
}

.crmBrick {
  color: #CC4F1E !important;
}

.crmWhite {
  color: #ffffff !important;
}

.crmBlue {
  color: #336699 !important;
}

.crmDarkBlue {
  color: #295179 !important;
}

.crmGreen {
  color: #0CC24F !important;
}

.crmDarkGreen {
  color: #40A359 !important;
}

.crmGray {
  color: #787878 !important;
}

.crmYellow {
  color: yellow !important;
}

.crmDarkGray {
  color: #5A5A5A !important;
}

.crmMaroon {
  color: #bb6857 !important;
}

.crmAvion {
  color: #6695FA !important;
}

.crmViola {
  color: #993366 !important;
}

.crmDisabled {
  background-color: #EFF1F1 !important;
  color: #809090 !important;
  font-weight:bold !important;
}


// Immagini

img {
  border:0;
  margin:0;
}


.crm_ui_img {
  margin: 0;
  padding: 0;
  vertical-align: top;
  display: inline-block;
  background-image: url(/c/crm_ui.png);
  background-repeat: no-repeat;
  background-color: transparent;
}

.crm_ui_img_small {
  width: 16px;
  height: 16px;
}


.crm_imgAdd {
  background-position: 0px 0px;
}

.crm_imgAdd:hover {
  background-position: 0px -16px;
}


.crm_imgRight {
  background-position: -16px 0px;
}

.crm_imgRight:hover {
  background-position: -16px -16px;
}


.crm_imgDown {
  background-position: -32px 0px;
}

.crm_imgDown:hover {
  background-position: -32px -16px;
}


.crm_imgUp {
  background-position: -48px 0px;
}

.crm_imgUp:hover {
  background-position: -48px -16px;
}


.crm_imgDel {
  background-position: -64px 0px;
}

.crm_imgDel:hover {
  background-position: -64px -16px;
}


.crm_imgEdit {
  background-position: -80px 0px;
}

.crm_imgEdit:hover {
  background-position: -80px -16px;
}


.crm_imgSettings {
  background-position: -96px 0px;
}

.crm_imgSettings:hover {
  background-position: -96px -16px;
}



.crm_imgNew {
  background-position: -112px 0px;
}

.crm_imgNew:hover {
  background-position: -112px -16px;
}


.crm_imgCopy {
  background-position: -128px 0px;
}

.crm_imgCopy:hover {
  background-position: -128px -16px;
}


.crm_imgLeft {
  background-position: -144px 0px;
}

.crm_imgLeft:hover {
  background-position: -144px -16px;
}


.crm_imgActive {
  background-position: -158px -16px;
}

.crm_imgInactive {
  background-position: -158px 0px;
}

.crm_imgRedDel {
  background-position: -286px -16px;
}

.crm_imgFavoriteOn {
  background-position: -175px -16px;
}

.crm_imgFavoriteOff {
  background-position: -175px 0px;
}


.crm_imgPrint {
  background-position: -193px 0px;
}


.crm_imgPDF {
  background-position: -213px -16px;
}

.crm_imgPDF:hover {
  background-position: -213px -1px;
}

.crm_imgChecked {
  background-position: -233px -16px;
}

.crm_imgChecked:hover {
  background-position: -233px -1px;
}

.crm_imgLocked {
  background-position: -233px -36px;
}

.crm_imgLocked:hover {
  background-position: -233px -54px;
}

.crm_imgAddDown {
  background-position: -251px 0px;
}

.crm_imgAddDown:hover {
  background-position: -251px -16px;
}

.crm_imgAddUp {
  background-position: -268px 0px;
}

.crm_imgAddUp:hover {
  background-position: -268px -16px;
}

.crm_imgWarningSmall {
  background-position: -194px -32px;
}

.crm_imgRedStar {
  background-position: -216px -32px;
}

.crm_imgUnchecked {
  background-position: -300px 0px;
}

.crm_ui_img_medium {
  width: 32px;
  height: 32px;
}

.crm_imgWarning {
  background-position: -32px -32px;
}

.crm_imgFrecciaGiu {
  background-position: -117px -117px;
}

.crm_imgFrecciaSu {
  background-position: -135px -117px;
}

.crm_imgFrecciaSinistra {
  background-position: -153px -117px;
}

.crm_imgFrecciaDestra {
  background-position: -100px -117px;
}


.crm_imgOk {
  background-position: 0px -32px;
}

.crm_imgEmpty {
  background-position: -300px 0px;
}

.crm_imgNone {
  background-position: -300px 0px;
}

.crm_ui_img_large {
  width: 24px;
  height: 24px;
}

.crm_ui_img_xlarge {
  width: 32px;
  height: 32px;
}

.crm_img_ALL_CSV {
  background-position: -5px -113px;
}

.crm_img_ALL_EXCEL {
  background-position: -5px -113px;
}

.crm_img_ALL_WORD {
  background-position: -61px -113px;
}

.crm_img_ALL_PDF {
  background-position: -33px -113px;
}

.crm_img_ALL_UNKNOWN {
  background-position: -200px -113px;
}

.crm_imgDownload {
  background-position: -237px -142px;
  // background-position: -269px -142px;
}

.crm_imgAttach {
  background-position: -228px -113px;
}

.crm_imgBusta {
  background-position: -260px -113px;
}

.crm_imgBustaNera {
  background-position: -123px -77px;
}

.crm_imgCell {
  background-position: -89px -77px;
}

/* crm_img_COM_com_mezzi_key */

.crm_img_COM_SMS {
  backgroun-position: -5px -77px;
}

.crm_img_COM_TEL {
  background-position: -69px -77px;
}

.crm_img_COM_TELEGRAMMA {
  background-position: -39px -77px;
}

.crm_img_COM_FAX {
  background-position: -230px -77px;
}

.crm_img_COM_RACCOMANDATA {
  background-position: -196px -77px;
}

.crm_img_COM_EMAIL {
  background-position: -161px -77px;
}

/* crm_img_COM_STATO_stati_key */

.crm_img_COM_STATO_CODA {
  background-position: -6px -142px;
}

.crm_img_COM_STATO_RICEVUTA {
  background-position: -40px -143px;
}

.crm_img_COM_STATO_INVIATA {
  background-position: -72px -143px;
}

.crm_img_COM_STATO_ERRORE {
  background-position: -105px -144px;
}

.crm_img_COM_STATO_NO_MAIL {
  background-position: -123px -77px;
}

.crm_img_COM_STATO_NO_SMS {
  background-position: -296px -77px;
}

.crm_img_COM_STATO_FAIL {
  background-position: -139px -144px;
}

.crm_img_COM_STATO_PREPARATA {
  background-position: -202px -139px;
}

/* crm_img_LEZ_STATO_key */

.crm_img_LEZ_STATO_A {
  background-position: -139px -144px;
}

.crm_img_LEZ_STATO_E {
  background-position: -202px -139px;
}

.crm_img_LEZ_STATO_D {
  background-position: -170px -143px;
}

/* crm_img_PN_INC_xxx */


.crm_img_PN_INC_DA_FATTURARE {
  background-position: -112px 0px;
}

.crm_img_PN_INC_DA_FATTURARE:hover {
  background-position: -112px -16px;
}


.crm_img_PN_INC_DA_NON_FATTURARE {
  background-position: -64px 0px;
}

.crm_img_PN_INC_DA_NON_FATTURARE:hover {
  background-position: -64px -16px;
}

.crm_img_PN_INC_FATTURATO {
  background-position: -233px -16px;
}

.crm_img_PN_INC_FATTURATO:hover {
  background-position: -233px -1px;
}

.crm_img_PN_INC_NON_FATTURATO {
  background-position: -286px -16px;
}

/* EVENTI CALENDARIO */

.crm_evt_LEZIONE {
  font-size:12px;
  font-family:Arial;
  padding-left:4px;
  height:100%;
}

/* shapes: https://css-tricks.com/examples/ShapesOfCSS/ */

/* Freccia curva */
.crmShape_CurvedArrow {
  position: relative;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-right: 9px solid #336699;
  -webkit-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  -ms-transform: rotate(10deg);
  -o-transform: rotate(10deg);
}
.crmShape_CurvedArrow:after {
  content: "";
  position: absolute;
  border: 0 solid transparent;
  border-top: 3px solid #336699;
  border-radius: 20px 0 0 0;
  top: -12px;
  left: -9px;
  width: 12px;
  height: 12px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

