
:focus { outline: none; }
:active { outline: none; }

BODY
{
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	margin: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
	border: none;
  text-rendering: optimizeLegibility;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#BckImgList, #ImgList { display: none; }

/* LOADING RD5
------------------------------------------------------------- */
#wait-box {
	position: absolute;
	margin: 160px auto;
	border: none;
	background-color: #F0F0F0;
	width: 300px;
  border-radius: 4px;
  padding: 10px;
  top: 40%;
  left: 50%;
  margin: 0;
  margin-left: -150px;
}

/* DIV del testo iniziale */
#wait-box-text {
  padding-left: 10px;
	display: inline-block;
	font-size: 1.1em;
}

#wait-box .progress {
  margin-bottom: 0;
}

#wait-box-progress {
	background-color: #FFF;
	margin-top: 10px;
	font-size: 0px;
}

.wait-box-error {
	font-size: 14pt !important;
	color: black !important;
	padding: 4px !important;
	text-shadow: none !important;
	text-align: center !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0px !important;
	position: absolute !important;
	border: none !important;
}

/* MENU
------------------------------------------------------------- */

.navbar-default {
  border: none;
  background: #444;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover {
  color: #999;
}

.navbar-brand,
.navbar-nav > li > a {
  text-shadow: none;
}

.main-app-image {
  float: left;
  padding: 0;
  margin: 0;
  height: auto;
}

.navbar-header input.form-control {
  border: none;
  background-color: #666 !important;
  color: #FFF;
}

.navbar-toggle {
  border: none;
  margin-left: 5px;
}

.navbar-toggle:hover {
  background-color: #666 !important;
  color: #FFF;
}

.navbar-btn {
  margin-left: 5px;
  background-color: #666;
  color: #FFF;
}

.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
  margin-left: -5px;
}

@media (min-width: 768px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: -5px;
  }
}

#navbar-collapse-menu {
  width: 100%;
}

.menu-command-disabled {
  pointer-events: none;
  color: gray !important;
  cursor: not-allowed;
}
.menu-command-disabled:hover {
  color: gray !important;
  text-decoration: none;
  cursor: not-allowed;
}

.popup-menu-container {
  display: block;
  cursor: pointer;
  z-index:1050;
}

.dropdown-backdrop, .dropdown-menu {
  z-index:1050;
}

.wep-cmd-box { margin-left: 0px; }

.has-pointer { cursor: pointer; }

.navbar-toolbar { margin-right: 5px; }

/* MAIN STRUCTURE
------------------------------------------------------------- */
#wep {position : relative; }

#wep-main-forms-container {
  padding-left: 0px;
  padding-right: 15px;
  position: relative;
}
#wep-main-forms-container.is-widget-mode { padding-left: 15px; }

#wep-main-row , #sidebar, #wep-main-container, #wep-left-docked-container, #wep-right-docked-container , #wep-main-forms-container {
  height: 100%;
}

 #sidebar {
  overflow-y: auto;
  padding-left: 30px;
  margin-top: 10px;
}

#sidebar a {
  color: #444;
}

.side_selected_command {
  font-weight: bold;
}

#sidebar .table > tbody > tr > td {
  border: none;
}

#sidebar .panel-body {
  padding-top: 0;
  padding-bottom: 0;
}

#sidebar .panel-heading {
  padding: 10px 10px;
}

#form-list-box-container {
  border: 1px solid #DDD;
}

#form-list-box-container .panel-title {
  color: #999;
  text-transform: uppercase;
  font-size: 1em;
}

#form-list-box-container .table {
  margin-bottom: 10px;
  font-size: 0.9em;
}

#form-list-box-container .table > tbody > tr > td {
  padding: 6px 8px;
}

@media (max-width: 767px) {
  .main-side-left, .main-side-right {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
@media (min-width: 768px) {
  
  #sidebar {
    width: 240px;
    position: fixed;
    padding-left: 15px;
    z-index: 1;
  }

  .main-side-left {
      padding-right: 15px;
      padding-left: 270px; /* 240 + 15 + 15 */
  }
  
  .main-side-right {
      padding-left: 15px;
      padding-right: 270px; /* 240 + 15 + 15 */
  }
}
  
#wep-top-docked-container {
  padding-bottom: 15px;
}

#wep-bottom-docked-container {
  padding-top: 15px;
}


#welcome-container
{
	width: 100%;
	height: 100%;
	background-color: white;
	border: 1px solid #E2E2E2;
  border-radius: 4px;
}

#wep-main-forms-container > .panel , #wep-top-docked-container > .panel, #wep-left-docked-container > .panel, #wep-right-docked-container > .panel, #wep-bottom-docked-container > .panel{
  height: 100%;
}

.popup-delay-modal-dialog { top: 100px; }

.modal-dna {
    -webkit-box-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    position: relative !important;
}

/* FRAME TOOLBAR
------------------------------------------------------------- */

.frame-toolbar-icon, .frame-toolbar-caption, .frame-toolbarsmall-caption { }

/* FORM + FRAMES GRID
------------------------------------------------------------- */
.form-main-box {
  transform: translate3d(0px, 0px, 0px);
  width: 100%;
  margin-bottom: 0px;
}

.form-body {
  height: 100%;
  padding: 5px;
  overflow: auto;
  clear: right;
}

.form-caption + .form-body {
  height: calc(100% - 38px);
}

.form-message-container {
  overflow: auto;
  max-height: 200px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  clear: right;
}


.form-message-container + .form-body {
  height: calc(100% - 38px);
}

.form-message-cnt {
  margin: 0px;
}

.form-message-text {
  padding-left: 5px;
}

.form-toolbar-group {
  margin-top: -8px;
}

.frame-column {
  padding-left: 1px;
  padding-right: 1px;
}

.frame-row {
  margin-left: -1px;
  margin-right: -1px;
}

.frame-box-fixed {
  display: -ms-flexbox;
  -ms-flex-direction: column;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.frame-vertical-row {
  padding-bottom: 2px;
}

.frame-box-fluid  > .panel-body, .frame-box-fixed  > .panel-body  { overflow: auto; }
.frame-box-fixed > .panel-body { height: 100%; }

.frame-box-fixed, .frame-box-fluid { 
  margin-bottom: 0px; 
  background-color: #f0f0f0;
} 
.tabbed-view-frame-box {
  background-color: #FFF;
}

.frame-toolbar-box { 
  -ms-flex: 0 0 auto;
  flex-grow: 0;
  flex-shrink: 0;
}

.frame-content-box { 
  -ms-flex: 1 1 auto;
  position: relative; 
}

.frame-toolbar-box .btn-group:empty, .hidden-toolbar-group { display: none; }

/* SUBFORM   
------------------------------------------------------------- */
.panel.subform-frame { border: none; }
.panel.subform-frame > .panel-body { padding: 0px; }

/* BUTTON BAR
------------------------------------------------------------- */
.button-bar-group {
  width: 100%
}

/* TABBED VIEW
--------------------------------------------------------------*/
.tabbed-view-header-box { padding-bottom: 0px; }
.tabbed-view-content-box { overflow: hidden !important; }

/* TREE 
------------------------------------------------------------- */

.tree-node-children {
  margin-left: 15px;
  padding-left: 15px;
  border-left-color: rgba(221, 221, 221, 1);
  border-left-style: dashed;
  border-left-width: 2px;
}

.tree-node-text, .tree-selected-node-text {
    vertical-align: middle;
    font-size: 10pt;
    font-weight: normal;
    line-height: 25px;
    color: #000000;
    cursor: pointer;
    padding-left: 3px;
}

.tree-selected-node-text {
    color: #242d33;
    font-weight: bold;
}

.tree-exp-button, .tree-exp-button:active, .tree-exp-button:focus {
  color: rgba(221, 221, 221, 1);
  outline: none;
}
.tree-exp-button:hover {
  color: #333;
  outline: none;
}

.tree-node-img {
  vertical-align: middle;
}

.tree-node-check {
  vertical-align: middle;
  border: none;
  padding: 0px;
  margin: 0px;
  margin-right: 2px;
  height: 13px;
  width: 13px;
}

/* BOOK
--------------------------------------------------------------*/
.book-frame-container { 
  position: relative; 
  background-color: #F0F0F0;
}
.book-page-container
{
	border: 1px solid black;
	background-color: white;
  position: absolute;
}
.book-toolbar-status, .book-toolbarsmall-status {
  font-weight: bold;
  margin-right: 20px;
}

.book-page-container {
  position: relative;
  margin: 0 auto 10px auto;
  border: 1px solid #DDD;
  border-radius: 3px;
  -webkit-box-shadow: 0 2px 3px rgba( 0, 0, 0, .5 );
  box-shadow: 0 2px 3px rgba( 0, 0, 0, .5 );
}

.book-page-container-fixed {
  position: absolute;
  left: 0px;
  top: 0px;
  overflow: hidden;
  margin: 0px;
  padding: 0px;
  z-index: 1;
}

.book-page-container-fixed-left {
  border-right: 1px dotted gray;
}

.book-page-container-fixed-top {
  border-bottom: 1px dotted gray;
}

.book-page-container-noborder {
	border: none;
	position: absolute;	
}

.book-box {
	border: 1px solid red;
	position: absolute;
  z-index: 0;
  box-sizing: content-box;
  line-height: normal;
}

.book-box-img
{
  z-index: -1;
  position: absolute;
  left: 0px;
  top: 0px;
  pointer-events: none;
}

.book-box-graph {
  border: 0px solid white;
}

.book-span {
  box-sizing: content-box;
  line-height: normal;
}

.book-span-input {
	position: absolute;
	left: 0px;
	background-color: transparent;	
	font-size: inherit;
	font-family: inherit;
}

.book-span-textarea {
	position: absolute;
	left: 0px;
	background-color: transparent;
	overflow: auto;
}

.book-span-calendar {
  border: none;
  cursor: pointer;
}

.book-box-calendar-open {
  z-index: 1;
  overflow: visible !important;
}

.book-span-check {
	background-color: transparent;
}

.book-span-file {
	color: blue !important;
	text-decoration: underline !important;
	cursor: pointer;
	background-color: transparent;
	border: none;
}

.book-span-combo {}

.book-span-radio {
	vertical-align: -4px;
	height: 19px;
	background-color: transparent;
	/* Chrome e Safari hanno i loro default */
  width: 19px;
  margin: 0px;
  padding: 0px;
}
.book-span-radio-text {}

.book-span-img {
  vertical-align: middle;
}

.book-span-button {}

.book-section {
	border: 1px solid green;
	position: absolute;
  overflow: hidden;
  box-sizing: content-box;
}

/* Elemento DIV utilizzato per effettuare resize degli oggetti */
#resize-object {
	position: absolute;
	background-color: transparent;
	border: 2px dotted blue;
	padding: 0px;
  margin: 0px;
  z-index: 1060;
}

/* Elemento DIV utilizzato per evidenziare l'oggetto drag */
#drag-object {
	position: absolute;
	background-color: gray;
	opacity: 0.3;
  filter: alpha(opacity = 30);
	border: 1px solid black;
	padding: 0px;
	margin: 0px;
	z-index: 1060;
}

/* Elemento DIV utilizzato per evidenziare un drop target */
#drop-target {
	position: absolute;
	background-color: transparent;
	border: 2px solid red;
	padding: 0px;
	margin: 0px;
	z-index: 1060;
}

/* PANEL
--------------------------------------------------------------*/
.panel-status-qbe {
  color: #777;
}

.panel-status-updated {
  background-color: #337AB7;
  color: #FFF;
  display: inline-block;
  padding: 0.3em 0.6em;
  margin: 0 5px;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: bold;
}

.panel-heading .btn-group {
  margin-right: 5px;
}

.panel-qbe-icon { 
  margin-left: 5px;
}

.qbe-tip-table {
  min-width: 200px;
}

.delete-row-outline {
  border: 2px solid red;
}

/* SUBFORM
--------------------------------------------------------------*/

.frame-content-box > .form-main-box {
	height: 100%;
}

.form-caption + .form-body.panel-body {
  height: calc(100% - 38px);
}

/* LIST LAYOUT
--------------------------------------------------------------*/
.panel-list-container { 
  height: 100%;
  display: -ms-flexbox;
  -ms-flex-direction: column; 
  display:flex; 
  flex-direction: column; 
 }
.panel-list-caption-box { 
  -ms-flex: 0 0 auto;
  flex-grow:0; 
  flex-shrink:0; 
  width: 100%;
  border-bottom-style: solid;
  border-bottom-color: #ddd;
  border-bottom-width: 1px;
  overflow: hidden;
}

.panel-list-body-box { 
  -ms-flex: 1 1 auto;
  overflow-y: auto; 
  overflow-x: auto; 
  margin-bottom: 10px; }
.panel-list-body-no-resize { max-height: 300px;}
.panel-list-header-table { table-layout: fixed; background-color: white; margin-bottom:0px; display: inline-table; }
.panel-list-rows-table { table-layout: fixed; margin-bottom:0px; display: inline-table; }
.panel-field-value-list { 
  overflow: hidden;
  text-overflow: ellipsis;
  /* word-break: break-all;*/ }
.panel-field-header-list { 
  position: relative; 
  overflow: hidden;
  text-overflow: ellipsis; }
.panel-field-header-list i { vertical-align: text-top; margin-left: 5px; }

.panel-field-value-list:empty::after { 
  content: ' ';
  min-height: 20px;
  display: block; 
}

.list-row-selector-caption { width: 30px; }
.panel-list-row-selector {	
  cursor: pointer; 
  width: 30px;
  max-width: 30px;
  min-width: 30px;
}
.panel-list-row-selector .checkbox { 
  height: 20px;
  margin-top : 0px;
  margin-bottom : 0px;
}
.multiple-sel-dropdown { width: 30px; height: 30px; cursor: pointer; }
.multiple-sel-drop { margin-left: 14px; }
.multisel-dropdown-back {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 990;
}

.panel-list-bordered { border-bottom: 1px solid #ddd; }

.list-row-out {
  -ms-flex: 0 0 auto;
  flex-grow:0; 
  flex-shrink:0; 
}

.list-field-activator-right { float: right; }
.list-field-activator-left { float: left; }

.form-list-cell-group { 
  position: absolute; 
}
.form-list-cell-group .input-group-btn { vertical-align: top; }
.form-list-cell-group .panel-field-value-form { white-space: normal; }
.form-list-cell-group.form-list-pad { padding: 5px; }

.panel-field-value-list > input[type=checkbox][disabled] { pointer-events: none; }
.panel-field-value-list input[type=radio][disabled] { pointer-events: none; }

/* FORM FIELDS
--------------------------------------------------------------*/
.form-field-no-activator { border-radius: 4px !important; }

.panel-field-value-form { /* Usato per i campi radio e check */
	border: none;
	overflow: hidden;
	white-space: nowrap;
	z-index: 0;
}

.panel-field-static { /* usato per i campi statici */
	border: none;
	overflow: hidden;
	padding: 2px;
	padding-top: 3px;
}

.form-group label {
  width: 100%;
}

.form-group.form-inline label {
  width: auto;
}


.blob-tool-img  {
  float: right;
  margin-left: 5px;
}
.form-group.form-inline > .control-label > .blob-tool-img { float: none; }
.panel-blob-span {
	color: blue;
	text-decoration: underline;
	cursor: pointer;
	padding: 2px;
}
.panel-blob-span IMG { display: none; }

.panel-blob-image {
  width: 100%;
  height: 100%;
}
.blob-repeat {
  background-repeat: repeat;
  background-size: auto;
}
.blob-center {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.blob-stretch {
  background-repeat: no-repeat;
  background-size: cover;
}

.panel-value-html {
	border: none;
	padding: 2px;
	overflow: hidden;
	background-color: transparent;
}

.panel-form-readonly { background-color: #eee; padding:6px 12px;}
.popup-preview-body { text-align: center; }
.popup-preview-iframe { border: none; }

.popup-error-modal-dialog b, .popup-error-modal-dialog h4 { color: #d9534f; }
.has-round-borders { border-radius: 4px; border: 1px solid #ccc; }

.radio-label { margin-right: 25px; }

.mup-row-button { width: 40px; }
.mup-row-filestatus-js { margin-bottom: 0px; }
.mup-table { width: 100%; }
.mup-table tr { height: 35px; }

/* RADIO
--------------------------------------------------------------*/
/* RADIO VERTICALI*/
.panel-field-value-form div.radio label.radio-label, .panel-field-value-list div.radio label.radio-label { display: block; }

/* COMBO
--------------------------------------------------------------*/
.combo-popup {
	border: 1px solid #ccc;
	position: absolute;
	overflow-x: hidden;
	overflow-y: auto;
  z-index: 100;
  border-radius: 4px;
  z-index: 1051;
}

.combo-input {
  background-color: white !important;
	border: none;
	padding: 2px;
	vertical-align: middle;
	position: absolute;
  z-index: 16;
  border-radius: 0px;
}

.combo-popup-table
{
  border-collapse: collapse;
  cell-spacing: 0px;
}

.combo-popup-table tr.combo-option-selected { background-color: #EEEEEE !important; }

.combo-header
{
  height: 20px;
  padding: 3px;
  background-color: #a3c0e6;
}

.combo-header-column
{
  font-weight: bold;
  padding-left: 11px;
  white-space: nowrap;
}

.combo-option {
  height: 30px;
  padding: 3px;
}

.combo-option-check {
  height: 12px;
  width: 12px;
  margin: 0px;
  padding: 0px;
}

.combo-option-img {
	vertical-align: middle;
}

.combo-option-name {
  padding-left: 12px;
  white-space: nowrap;
}

.combo-option-name-hl {
  color: #0000FF;
}

.combo-option-selected {
  background-color: #D2E0F1 !important;
}

.combo-option:hover, .combo-option-hiligth {
	background-color: #EEEEEE !important;
}

.combo-option-disabled {
  color: gray;
}

.combo-group-header {
  color: white;
  text-align: left;
	font-weight: bold;
  background-color: darkblue;
}

.input-group-addon .combo-img {
  width: 20px;
  height:20px;
}

.combo-val-dis:empty::after { 
  content: ' ';
  min-height: 15px;
  display: inline-block; 
}

@media (max-width: 767px) {
  .combo-popup {
    max-width: calc(100% - 50px);
  }
}

/* MEDIA QUERIES - OFFCANVAS MENU
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  .main-app-image { margin-left: 5px; }
}

/* TABLET 6'' */
@media screen and (min-width: 501px) and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50% !important; /* 6 columns */
  }
    
  #wep-main-forms-container { padding-left: 15px; }
  
  /* I form inline non sono piu' inline sotto i 768, quindi allarghiamo 
     l'input a tutta la riga
  */
  .form-inline .input-group {
    width: 100% !important;
  }

}

/* SMARTPHONE */
@media screen and (max-width: 500px) {
  .wep-cmd-box { display: none; }
  
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right  .sidebar-offcanvas {
    right: -88%; /* 6 columns */
  }

  .row-offcanvas-left  .sidebar-offcanvas {
    left: -88%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 90%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 90%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 90%; /* 6 columns */
  }
  
  #wep-main-forms-container { padding-left: 15px; }
  .main-grid-row { overflow: auto; }
  
  /* I form inline non sono piu' inline sotto i 768, quindi allarghiamo 
     l'input a tutta la riga
  */
  .form-inline .input-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .form-toolbar-group {
    margin-top: 5px;
  }
}

/* CLASSI DI UTILITY PER CAMPI LISTA, GESTIONE BREAKPOINT */
@media screen and (max-width: 768px) { 
  .panel-field-value-list.md-visible, .panel-field-header-list.md-visible { 
    display: none !important; 
  }
  .panel-field-value-list.lg-visible, .panel-field-header-list.lg-visible { 
    display: none !important; 
  }
}

@media (min-width: 769px) and (max-width: 1300px) { 
  .panel-field-value-list.lg-visible, .panel-field-header-list.lg-visible { 
    display: none !important; 
  }
}

/* PERSONALIZZAZIONE BOOTSTRAP
--------------------------------------------------------------*/
.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .checkbox.has-error label, .checkbox-inline.has-error label, .radio.has-error label, .radio-inline.has-error label {
    color: #a94442 !important;
}

.has-error .form-control {
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075);
}

.has-warning .checkbox, .has-warning .checkbox-inline, .has-warning .control-label, .has-warning .help-block, .has-warning .radio, .has-warning .radio-inline, .checkbox.has-warning label, .checkbox-inline.has-warning label, .radio.has-warning label, .radio-inline.has-warning label {
    color: #8a6d3b !important;
}

.has-warning .form-control {
    border-color: #8a6d3b !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

span.badge {
  margin-left: 5px;
}

/* ****************************************** */
/* ID Editor                                  */
/* ****************************************** */
.ideditor-main {
  width: 28px;
  margin-right: 0px;
  text-align: center;
  vertical-align: top;
}

.ideditor-chooser {
  position: relative;
}

.ideditor-applier {
  position: absolute;
  height: 2px;
  width: 20px;
  cursor: pointer;
  left: 8px;
}

.ideditor-body {
  overflow: auto;
  cursor: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  padding: 0px;
  border: 1px solid #8A9399 !important;
  width: 100%;
}

.form-group.ideditor-combo {
  margin-right: 5px;
}

.ideditor-toolbar *:focus, .ideditor-toolbar *:active { outline: none; }

.ideditor-color-row { margin-bottom: 10px; }
.ideditor-color-row div {
  height: 20px;
  text-align: center;
  margin-left: 5px;
  margin-right: 5px;
  box-sizing: border-box;
}
.ideditor-color-row:hover {
  background-color : black;
}
.ideditor-color-transparent {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAJ1JREFUOE+t0rERgzAMhWGNkDIl42QMNstIGYEx6FD0yBlsS0QydvGdbaH7K4iZu21EL7Eykb3QIo91B+uY3Be1FGXF5JzUYsRVDN/UsudfDIpljxeD4+KJxKB4XInGQA1qLTEwh0lrDMwh3ImBOZTxnEIQjYEedsSgHOjYR85nseM4H3bskS9H/C6DYjA0Bgjux4gY4H97j4oxM30BVJ4d/B6B9pcAAAAASUVORK5CYII=");
  background-color: white;
  background-repeat: no-repeat;
  background-position-x: 50%;
}

.panel-filter-image {
  cursor: pointer;
  width: 15px;
  height: 15px;
  visibility: hidden;
  position: absolute;
  top: 5px;
  right: 5px;
}
.panel-field-header-list:hover .panel-filter-image {
  visibility: visible;
}
.panel-filter-image[QBE=true] {
  opacity: 1;
  visibility: visible;
}

/* Gestione popup filtri avanzati */
.filter-popup {
  cursor: default;
}

.filter-popup .modal-content {
  color: #333;
  border-color: #ddd;
}

.filter-popup .modal-header {
  font-size: 1.5em;
}

.filter-popup .modal-header i {
  vertical-align: -1px;
  cursor: pointer;
  color: #adadad;
}

.filter-popup .modal-header i:hover {
  color: inherit;
}

.filter-popup .modal-header span {
  margin-left: 10px;
  font-weight: bold;
}

.filter-popup .modal-body {
  overflow: auto;
  background-color: #FFFFFF;
  border-radius: 4px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  width: 100% !important;
  padding: 15px;
  padding-top: 2px;
}

.filter-row-filter {
  padding: 5px;
  line-height: 28px;
  position: relative;
}

.filter-card {
  padding: 10px 0px;
  background-color: rgb(240, 240, 240);
  border-radius: 4px;
  width: 100%;
}

.filter-sort-area.filter-card, .filter-common-controls.filter-card {
  margin-bottom: 10px;
}

.filter-sort-area-caption {
  padding: 8px;
  padding-left: 12px;
  background-color: rgb(240, 240, 240);
}

.filter-sort-row {
  display: inline-block;
  background-color: #FFFFFF;
  line-height: 30px;
  padding: 0px 5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  min-width: 32px;
  text-align: center;
}

.filter-sort-row i.fa.fa-sort-desc, .filter-sort-row i.fa.fa-sort-asc {
  height: 8px;
  vertical-align: -3px;
}

.filter-sort-row i.fa.fa-sort-desc::before {
  vertical-align: 6px;
}

.filter-sort-row + .filter-sort-row {
  margin-left: 10px;
}

.filter-sort-row + .filter-sort-row + .filter-sort-row {
  min-width: 66px;
  text-align: center;
}

.filter-sort-buttons-container {
  height: 34px;
  text-align: right;
  margin-top: -34px;
  background-color: rgb(240, 240, 240);
  padding-right: 10px;
}

.filter-sort-row[disabled] {
  pointer-events: none;
}

.filter-sort-area + .filter-sort-area {
  margin-top: 11px;
}

.filter-row-filter.check-line {
  display: inline-block;
  min-width: 105px;
  padding: 10px;
}

.filter-row-filter.check-line:hover, .filter-row-filter.check-line > *:hover {
  cursor: pointer;
}

.filter-row-filter.check-line + .filter-row-filter.check-line {
  margin-left: 70px;
}

.filter-common-controls .filter-row-filter:not(.search-line) {
  line-height: 10px;
  cursor: pointer;
  width: auto;
  padding: 10px 0px 2px 10px;
}

.first-item-filter .input-group-addon {
  width: 34px !important;
}

.filter-popup-area {
  max-height: 220px;
  overflow: auto;
}

.filter-row-filter.row-line {
  line-height: 10px;
  padding: 8px 0px;
  padding-left: 11px;
}

.filter-popup-area .combo-option-check {
  height: 14px;
  width: 14px;
  margin: 0px;
  padding: 0px;
  margin-left: 8px;
  vertical-align: -2px;
}

.filter-popup-area .filter-row-filter select.date {
  margin-top: -1px;
}

.filter-row-filter input[type=search], .filter-row-filter input.filter-search-input {
  width: calc(100% - 10px);
  margin: 0px 5px;
  border: none;
  height: 30px;
  padding: 8px;
  border-radius: 4px;
  border-bottom: solid 1px #ffffff;
}

.filter-row-filter.search-line .filter-search-input:focus {
  border-bottom: solid 1px #e5e5e5;
}

.filter-row-filter.row-line input[type=radio] + label, .filter-row-filter.row-line input[type=checkbox] + label {
  vertical-align: 2px;
}

.filter-combo-selected-area {
  height: auto;
  border: none;
  margin: 2px;
  margin-left: -2px;
  max-height: 120px;
  overflow-y: auto;
}

.empty_lke_placeholder {
  color: #CCCCCC;
  margin-top: auto;
  text-align: center;
  margin-left: 0px;
  display: inline-block;
  width: 100%;
  padding: 7px;
  box-sizing: border-box;
}

.filter-row-or {
  text-align: center;
  position: relative;
  background-color: #FFFFFF;
  margin: initial;
  border: solid 1px #e5e5e5;
  text-transform: lowercase;
  margin-left: 66px;
  max-width: 26px;
  min-width: 26px;
  padding: 2px;
  border-radius: 3px;
  margin-top: -20px;
  margin-bottom: -4px;
  z-index: 1;
}

.filter-popup-area .combo-popup-table {
  width: 100%;
}

.filter-popup-area .combo-option-name {
  padding-left: 5px;
  white-space: nowrap;
  vertical-align: 0px;
}

.filter-row-filter.row-line:hover, .filter-popup-area tr.combo-option:hover {
  background-color: rgb(240, 240, 240) !important;
}

.filter-popup-area .combo-td-multi {
  padding: 8px;
  border-bottom: solid 1px #e5e5e5;
  text-align: left;
}

.filter-popup-area .combo-option.combo-option-disabled .combo-td-multi {
  color: #000000;
}

.filter-popup-area .combo-popup-table .combo-option {
  height: 36px;
  padding-left: 26px;
}

.filter-popup-area .combo-popup-table tr {
  border-bottom: solid 1px #e5e5e5;
}

.filter-lke-chip {
  display: inline-block;
  margin: 2px;
  height: auto;
  padding: 4px;
  background-color: #FFFFFF;
  border-radius: 3px;
  padding-left: 6px;
}

.filter-lke-chip .lke-remove-icon {
  margin-left: 5px;
  cursor: pointer;
  padding: 5px;
}

.filter-row-filter label {
  vertical-align: 5px;
  margin-left: 10px;
}

.filter-row-filter select {
  margin-left: 10px;
  padding: 4px 2px;
  box-shadow: none;
  border: solid 1px #dddddd;
}

.filter-row-filter input.form-control {
  border: solid 1px #dddddd;
}

.filter-row-filter .filter-mid-input {
  width: 155px;
  margin-left: 10px;
}

.filter-row-filter .first-item-filter {
  width: 320px;
  margin-left: 10px;
}

.filter-row-filter .first-item-filter span:hover {
  background-color: #dddddd;
  cursor: pointer;
}

.filter-row-filter img {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.filter-row-filter .filter-delete-img {
  right: 10px;
  margin-top: 1px;
  position: absolute;
  line-height: 30px;
  cursor: pointer;
  min-width: 32px;
  padding: 0px 5px;
}

.filter-row-filter .filter-common-ctrl {
  vertical-align: 5px;
}

.filter-common-controls .filter-row-filter {
  line-height: 15px;
  cursor: pointer;
}

.filter-footer-area {
  padding-top: 15px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.filter-footer-area button {
  width: 48%;
  cursor: pointer;
  height: 36px;
}

.filter-clear-button {
  float: right;
}

/* SMARTPHONE e TABLET 6'' */
@media screen and (max-width: 767px) {
  .filter-popup-area {
    max-height: 260px;
    overflow: auto;
  }
  .filter-row-filter.check-line + .filter-row-filter.check-line {
    margin-left: 0px;
  }
  .filter-row-filter .first-item-filter {
    width: calc(100% - 20px) !important;
    margin: 5px 10px;
    margin-bottom: 0px;
  }
  .filter-row-filter select {
    width: calc(100% - 20px) !important;
  }
  .filter-row-filter {
    width: 100% !important;
  }
  .filter-row-filter .filter-delete-img {
    float: right;
    position: relative;
    margin-top: -34px;
  }
  .filter-row-filter .filter-mid-input {
    width: calc(100% - 65px) !important;
    margin-top: 5px;
  }
  .filter-row-filter.form-inline .input-group {
    width: calc(100% - 65px) !important;
    max-width: 100% !important;
  }
}

/* PANELS
------------------------------------------------------------- */

.panel {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border: none;
}

.panel-default > .panel-heading {
  background: transparent;
  border: none;
}

.panel-title {
  font-size: 1.2em;
  font-weight: bold;
}

h3.panel-title {
  font-size: 2.5em;
}

.panel-caption-image {
  cursor: pointer;
  opacity: 0.5;
  margin: 2px 10px 0 0;
  font-size: 0.85em;
}

.panel-caption-image:hover {
  opacity: 0.75;
}

.panel-form-container .panel {
  background-color: transparent;
  border: 1px solid #CCC;
  margin-bottom: 0;
}

.panel-form-container .panel h3.panel-title {
  font-size: 1.5em;
}

/* BUTTONS
------------------------------------------------------------- */

.btn,
.btn-default,
.input-group-addon {
  border: none;
  background-image: none;
  text-shadow: none;
}

.input-group-addon {
  background: transparent;
  border: 1px solid #DDD;
}

.btn:focus,
.btn:active {
  outline: none !important;
}

.input-group-btn .btn {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.book-span-button {
  background-color: #DDD;
}

/* FORM ELEMENTS
------------------------------------------------------------- */

.form-control {
  height: 32px;
}

.panel-field-value-form,
input.form-control,
textarea.form-control {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #FFF !important;
}

.combo-popup-table tr {
  background-color: #FFF !important;
}

.book-span-input input,
.book-span-textarea {
  border: 1px solid #DDD !important;
}

/* ALERTS
------------------------------------------------------------- */

.alert {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-shadow: none;
  background-image: none;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 5px;
}

/* TABS
------------------------------------------------------------- */

.nav-tabs {
  font-size: 1.25em;
  font-weight: bold;
  padding-top: 10px;
  background-color: #FFF;
}

.nav-tabs > li > a {
  color: #999;
  padding: 15px;
  cursor: pointer;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  color: #444;
}

/* TABLES
------------------------------------------------------------- */

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border: none;
}

.panel-list-caption-box {
  border: none;
}

.panel-list-bordered {
  border-bottom: 2px solid #666;
}

.table-bordered {
  border: none;
}

thead td {
  color: #FFF !important;
}

.table-striped > tbody > tr:nth-child(2n) > td {
  background-color: #F9F9F9 !important;
}

.table-striped > tbody > tr:nth-child(2n+1) > td {
  background-color: #FFF !important;
}

.table-striped > tbody > tr:hover > td {
  background-color: #DDD !important;
}

.table-striped > tbody > tr.selected > td {
  background-color: #CCC !important;
}

.filler-list-col, .list-row-selector-caption {
  background-color: #666666;
}

/* MODALS
------------------------------------------------------------- */

.modal-content {
  -webkit-box-shadow: none;
  box-shadow: none;
}

h4.modal-title,
.modal-content h3.panel-title {
  font-size: 2em;
  font-weight: bold;
}

.modal-header {
  padding: 15px 25px;
  border: none;
}

.modal-body {
  padding: 10px 25px;
}

.modal-footer {
  padding: 10px 25px 25px 25px;
  border: none;
}

.modal-footer .btn-default {
  background-color: #EEE;
}

.modal-footer .btn-default:hover {
  background-color: #DDD;
}

.modal-footer .btn {
  font-size: 1.2em;
  font-weight: bold;
  padding: 0.75em 1em;
}

.modal-footer .btn + .btn {
  margin-left: 10px;
}

.modal-input-box {
  background-color: #F0F0F0;
}

@media (min-width: 768px) {
  .modal-dialog {
    margin: 60px auto;
  }
}

/* PROGRESS BAR
------------------------------------------------------------- */

.progress {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-image: none;
  background-color: #DDD;
}

.progress-bar {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #666;
}

/* RICERCA QBE in RIGA */
.list-qbe-filter-act {
  float: right;
}
.list-qbe-filter-act button {
  background-color: transparent;
}
.list-qbe-filter-act button:hover {
  background-color: #e0e0e0;
}

.list-qbe-cell-active-form-group {
  z-index: 2;
  transition-property: left, width;
  transition-duration: 500ms;
  transition-timing-function: ease;
}

.list-qbe-cell-active-form-group input, .list-qbe-cell-active-form-group button, .list-qbe-cell-active-form-group .panel-field-value-form{
  background-color: rgb(187, 224, 185) !important;
  box-shadow: none !important;
}
.list-qbe-cell-active-form-group .panel-field-value-form {
  padding-bottom: 6px;
  padding-top: 5px;
}
.list-qbe-cell-active-form-group button:hover {
  background-color: #666 !important;
}

.list-qbe-row { height: 32px; }

.table-condensed>thead>tr.list-qbe-row>td, tr.list-qbe-row td {
  padding: 0px;
  padding-left: 5px;
  padding-top: 5px; 
  padding-bottom: 6px;
  border-right: 1px solid gray;
  color: black !important;
  position: relative;
}

.table-condensed>thead>tr.list-qbe-row>td .list-qbe-filter-act, tr.list-qbe-row td .list-qbe-filter-act {
  position: absolute;
  top: 0px;
  right: 0px;
}

.table-condensed>thead>tr.list-qbe-row>td .combo-val-dis {
  padding-right: 30px;
}

.table-condensed>thead>tr.list-qbe-row>td:last-child, tr.list-qbe-row td:last-child {
  border-right: 0px solid gray;
}

tr.list-qbe-row td button {
  padding-right: 4px;
  padding-left: 4px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 6px;
  float: right;
}

.filter-clear-btn { cursor: pointer; }
.filter-clear-btn:hover i {
  opacity: 0.5;
}

table, tbody, tr, td, img, input, button, div {
-webkit-overflow-scrolling: touch;
}

.form-list-cell-group .panel-field-check {
  margin-top: 5px; }

/* TOOLTIP */
.tooltip {
  min-width: 100px;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: white;
  }
  .navbar-default .navbar-nav>li>a {
    color: white;
  }
}

.panel-list-rows-table td { white-space: pre-wrap; }

.list-configurator-backdrop {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  color: #808080;
  z-index: 1055;
}

.list-configurator-container {
  position: absolute;
  max-height: 500px;
  overflow: auto;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.list-configurator-field-line, .list-configurator-group-line {
  color: #242D33;
  border-bottom: 1px solid #F0F0F0;
  padding: 5px 20px;
  line-height: 16px;
  font-size: 14px;
}

.list-configurator-field-line.fixed::before {
  content: "\f023";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
}

.list-configurator-field-line.inlist {
  cursor: pointer;
}
.list-configurator-field-line.inlist::before {
  content: "\f14a";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
}

.list-configurator-field-line.notlist {
  cursor: pointer;
}
.list-configurator-field-line.notlist::before {
  content: "\f0c8";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
}

.list-configurator-group-line {
  cursor: pointer;
  font-weight: bold;
}

.list-configurator-field-line.filter {
  cursor: pointer;
  border-bottom: 1px solid darkgray;
}
.list-configurator-field-line.filter::before {
  content: "\f0b0";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
}

.list-configurator-field-line.sort_up,.list-configurator-field-line.group_up {
  cursor: pointer;
}
.list-configurator-field-line.sort_up::before, .list-configurator-field-line.group_up::before {
  content: "\f0de";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
  vertical-align: -4px;
}

.list-configurator-field-line.sort_down,.list-configurator-field-line.group_down {
  cursor: pointer;
}
.list-configurator-field-line.sort_down::before, .list-configurator-field-line.group_down::before {
  content: "\f0dd";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
  vertical-align: 2px;
}

.list-configurator-field-line.sort_clear,.list-configurator-field-line.group_clear {
  cursor: pointer;
  border-bottom: 1px solid darkgray;
}
.list-configurator-field-line.sort_clear::before, .list-configurator-field-line.group_clear::before {
  content: "\f0dc";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  padding-right: 10px;
}

.list-configurator-field-line:hover {
  background-color: #2477B3;
  color: #FFFFFF;
}

.list-configurator-container::-webkit-scrollbar {
    width: 14px;
}

.list-configurator-container::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}
.list-configurator-container::-webkit-scrollbar-corner {
    background-color: transparent;
}
.list-configurator-container::-webkit-scrollbar-thumb {
    height: 6px;
    border: 4px solid transparent;
    background-clip: padding-box;
    border-radius: 7px;
    background-color: rgba(0,0,0,.2);
}

input[type=checkbox] {
  width: 15px;
  height: 15px;
  background-size: auto;
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: 50% 50%;
  -webkit-appearance: none;
  border: 1px solid #afacac;
  border-radius: 4px;
  margin-bottom: 3px;
}
input[type=checkbox]:checked {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.07%2011.197l-4.246-4.31L1%209.76l5.654%205.747%201.416%201.436%2010.9-11.07L16.14%203%208.07%2011.197%22%20fill%3D%22%2339403A%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");
}
input[type=checkbox]:indeterminate {
  background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M20%207L20%2012L0%2012L0%207L20%207Z%22%20fill%3D%22%2339403A%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
}

.form-list-cell-group .radio-inline {
  margin-top: 5px;
  margin-left: 5px;
}

.checkbox-inline.disabled, .radio-inline.disabled, fieldset[disabled] .checkbox-inline, fieldset[disabled] .radio-inline {
  cursor: default;
}

.book-box .checkbox { 
  margin: 0px;
  text-align: center; 
}

@media (max-width: 768px)
{
  #wep {
     overflow-x: hidden;
  }
}

/* Classe specifica per il componente gmaps */
.gmaps-cnt .frame-content-box {
  padding: 0px;
}
.gmaps-cnt .form-group {
  margin: 0px;
}
