@charset "UTF-8";@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,300;0,400;0,600;1,100;1,300;1,400;1,600&display=swap');
#controller_content.moma-popup.edititem.edititem_new.edit_lightbox_metadata #droppable2 > div li,
#controller_content.moma-popup.edititem.edit_lightbox_metadata #droppable0_content li,
#controller_content.moma-popup.edititem.edit_lightbox_metadata .droppable_content li,
.edititem_new #form_lightbox_details #droppable2 > div li,
.edititem_old #form_lightbox_details #droppable2_content li,
#form_lightbox_details #droppable0_content li,
#form_lightbox_details .droppable_content li {
/* TEMPORANEAMENTE DISABILITATO - regole .short
#controller_content.moma-popup.edititem.edititem_old.short #droppable2_content li,
#controller_content.moma-popup.edititem.edititem_new.short #droppable2 > div li,
#controller_content.moma-popup.edititem.short #droppable0_content li,
#controller_content.moma-popup.edititem.short .droppable_content li {
*/
  width: 100% !important;
  margin-right: 0 !important;
  float: none !important;
  display: block !important;
  list-style: none !important;
  padding-left: 0 !important;
}
#controller_content.moma-popup.edit_lightbox_metadata {
  display: table;
  width: auto;
  min-width: 960px;
}
#controller_content.moma-popup.edit_lightbox_metadata td.left-side {
  padding-right: 10px;
}
#controller_content.moma-popup.edit_lightbox_metadata td.right-side {
  width: 350px !important;
  padding-left: 10px !important;
  vertical-align: top;
}
#controller_content.moma-popup.edit_lightbox_metadata td.right-side > table {
  width: 100%;
}
#controller_content.moma-popup.edit_lightbox_metadata #sampleimage_frame {
  background: #f5f5f5;
  border: 1px solid #dcdcdc;
  border-radius: var(--moma-popup-radius);
  padding: 10px;
}
#controller_content.moma-popup.edit_lightbox_metadata #sampleimage {
  max-width: 100%;
  height: auto;
}
#controller_content.moma-popup.edit_lightbox_metadata #image-other-info {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  text-align: left;
}
#controller_content.moma-popup.edit_lightbox_metadata #image-other-info .field-name {
  font-weight: 600;
}



  
  :root {
  	
    /** Colors */
    --moma-red: #FF0C0A;
    --moma-orange: #FFB429;
    --moma-light-orange: #F6DFBB;
    --moma-blue: #4477AA;
    --moma-dark-gray: #555555;
    --moma-gray: #BCBCBC;
    --moma-light-gray: #E4E5E5;
    --moma-lighter-gray: #EEEEEE;
    --moma-green: #D3F2D3;
    --moma-dark-green: #168E1E;
    --moma-text-color: #333333;
    --moma-white: #ffffff;
    --moma-magenta: #ffccff;
    
    
    /** Typography */
    --moma-font: 'Work Sans';
    --moma-thin: 100;
    --moma-light: 300;
    --moma-regular: 400;
    --moma-bold: 600;
    
    --moma-fontsize-xs: 10px;
    --moma-fontsize-s: 12px;
    --moma-fontsize-m: 14px;
    --moma-fontsize-mm: 15px;
    --moma-fontsize-l: 16px;
    --moma-fontsize-xl: 20px;
    
    /** Paddings & Margins */
    --moma-popup-padding-v: 10px;
    --moma-popup-padding-h: 10px;
    
    --moma-form-elm-padding-v: 10px;
    --moma-form-elm-padding-h: 15px;
    --moma-form-elm-margin-v: 10px;
    --moma-form-elm-margin-h: 0px;
    
    --moma-search-padding: 16px;
    
    /** Shadows */
    --moma-popup-shadow: 0px 15px 55px rgba(0, 0, 0, 0.2);
    --moma-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    
    /** Radius */
    --moma-radius: 4px;
    --moma-popup-radius: 10px;
    --moma-search-radius: 25px;
    
  }
  
  @media ( max-width: 510px ) {

	:root {
	
		--moma-fontsize-xs: 12px;
    	--moma-fontsize-s: 14px;
    	--moma-fontsize-m: 16px;
    	--moma-fontsize-mm: 17px;
    	--moma-fontsize-l: 18px;
	
	}
	  
  }
  
  .moma-regular { font-weight: var(--moma-regular); }
	
  .moma-thin { font-weight: var(--moma-thin); }
  
  .moma-light { font-weight: var(--moma-light); }
  
  .moma-bold { font-weight: var(--moma-bold) !important; }
	
  .moma-red { background-color: var(--moma-red); }
  
  .moma-orange { background-color: var(--moma-orange); } 
  
  .moma-blue { background-color: var(--moma-blue); }
  
  .moma-dark-gray { background-color: var(--moma-dark-gray) !important; }
  
  .moma-gray { background-color: var(--moma-gray); }
  
  .moma-light-gray { background-color: var(--moma-light-gray); }
  
  .moma-lighter-gray { background-color: var(--moma-lighter-gray); }

  .moma-green { background-color: var(--moma-green); }
  
  .moma-dark-green { background-color: var(--moma-dark-green); }
  
  .moma-link {
  
  	color: var(--moma-blue);
  	cursor: pointer;
  	font-size: var(--moma-fontsize-s);
    text-transform: capitalize;
    font-weight: var(--moma-regular);
  
  }
  
  .moma-box {
  
  	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
    min-width: 170px !important;
    background: var(--moma-lighter-gray) !important;
    border-radius: var(--moma-radius) !important;
    box-sizing: border-box !important;
  
  }
  
  .moma-button {
  	
   	border: 0;
    outline: 0;
    
    position: relative;
    margin-left: 5px;
    min-width: 140px;
    
    border-radius: var(--moma-radius);
    box-sizing: border-box;
    padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) var(--moma-form-elm-padding-v) calc(var(--moma-form-elm-padding-h) * 2);
    text-align: center;
    font-size: var(--moma-fontsize-s);
    font-weight: var(--moma-regular);
    font-family: var(--moma-font);
    background-color: var(--moma-gray);
    color: white;
    
    cursor: pointer;
    text-transform: none;
    box-shadow: none;
    
  }
  
  .moma-button::first-letter { text-transform: uppercase; }

  .moma-button:after {
  	
    content: "\f00d";
    font-family: fontawesome;
    font-size: var(--moma-fontsize-l);
    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    
  }
  
  .moma-button:hover {
  	
    background-color: var(--moma-dark-gray);
    
  }
  
  .moma-button[disabled] {
  	
	background-color: var(--moma-light-gray);
	color: var(--moma-gray);
    cursor: not-allowed;
    
  }
  
  .moma-button[id^='page_cart_']:hover,
  .moma-button[id^='myconfirm']:hover,
  .moma-button[id='controller_content_confirm']:hover,
  .moma-button[id^='mywindow_button_confirm_']:hover,
  .moma-button[id^='mywindow_button_submit_']:hover,
  .moma-button[id$="_billing_submit"]:hover,
  .moma-button[id^='mywindow_button_send_']:hover,
  .moma-button[id^='kupload_send']:hover,
  .moma-button[id*='embed_next']:hover,
  .moma-button[id*='accept']:hover,
  .moma-button[id*='shareobj_next']:hover,
  .moma-button[id='save_and_exit']:hover,
  .moma-button[id='save_and_next']:not([disabled]):hover,
  .moma-button[id='save_and_previus']:not([disabled]):hover,
  .moma-button[id='syndication_confirm']:hover {
  
  	background-color: var(--moma-green);
  	color: var(--moma-dark-green);
  	
  }
  
  .moma-button.remove:hover,
  .moma-button[id='button-emptyCart']:hover,
  .moma-button[id='controller_content_close']:hover,
  .moma-button[id^='mywindow_button_close_']:hover {
  
  	background-color: var(--moma-red);
  
  }
  
  .moma-button[id='mycancel']:hover,
  .moma-button[id='controller_content_cancel']:hover,
  .moma-button[id^='mywindow_button_cancel_']:hover,
  .moma-button[id$='_billing_cancel']:hover {
  
  	background-color: var(--moma-orange);
  
  }
  
  .moma-button[id*='embed_next']:after {
  
  	content: '\f121';
  
  }
  
  .moma-button[id*='shareobj_next']:after {
  
  	content: '\f0c1';
  
  }
  
  .moma-button[id*='embed_prev']:after,
  .moma-button[id*='shareobj_prev']:after {
  
  	content: '\f053';
  
  }
  
  .moma-button[id^='mywindow_button_submit_']:after,
  .moma-button[id^='mywindow_button_send_']:after,
  .moma-button[id^='kupload_send']:after {
  
  	content: '\f1d9';
  
  }
  
  .moma-button[id^='kupload_userfile']:after {
  
  	content: '\f0c5';
  
  }
  
  .moma-button[id^='kupload_empty_list']:after {
  
  	content: '\f014';
  
  }
  
  .moma-button.small {
 		padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/2) !important;
  }
  
  .moma-button.no-icon:after { content: ""; }
  
  
    /* HELPERS */
 
  .moma-icons:before { font-family: moma-icons; }
    
  .moma-icon-x:after { content: "\f00d"; }
  .moma-icon-check:after  { content: "\f00c"; }
  .moma-icon-copy:after  { content: "\f0c5"; }
  .moma-icon-warning:after { content: "\f071"; }
  .moma-icon-bulb:after { content: "\f0eb"; }
  .moma-icon-pencil:after { content: "\f040"; }
  .moma-icon-trash:after { content: "\f014"; }
  .moma-icon-download:after { content: "\f0ed"; }
  .moma-icon-add:before { content: "\f067"; }
  .moma-icon-previous:after { content: "\f053"; }
  .moma-icon-next:after { content: "\f054"; }
  .moma-icon-refresh:after { content: "\f021"; }
  .moma-icon-arrows-h:after { content: "\f07e"; }
  .moma-icon-exchange:after { content: "\f0ec"; }
  .moma-icon-save:after { content: "\f0c7"; }
  
  
  .moma-button-right { padding: var(--moma-form-elm-padding-v) calc(var(--moma-form-elm-padding-h) * 2) var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h); }
  .moma-button-right:after {
  
  	left: auto;
  	right: 10px;
  
  }
  
  
  .moma-text-left { text-align: left !important; }
  .moma-text-right { text-align: right !important; }
  .moma-text-center { text-align: center !important; }
  
  .moma-text-bold { font-weight: var(--moma-bold); }
  
  .moma-label { font-weight: var(--moma-regular); font-size: var(--moma-fontsize-m); }
  .moma-label:first-letter { text-transform: uppercase; }
  
  .moma-button.mb { margin-bottom: calc(var(--moma-form-elm-margin-v) + 1px) !important; } 
  
  .moma-p0 { padding: 0 !important; }
  .moma-pt0 { padding-top: 0 !important; }
  .moma-pb0 { padding-bottom: 0 !important; }
  .moma-pr0 { padding-right: 0 !important; }
  
  .moma-ml5 { margin-left: 5px !important; }
  .moma-ml10 { margin-left: 10px !important; }
  
  .moma-mr5 { margin-right: 5px !important; }
  .moma-mr10 { margin-right: 10px !important; }
  
  .moma-mb10 { margin-bottom: 10px !important; }
  .moma-mb15 { margin-bottom: 15px !important; }

  .moma-mt10 { margin-top: 10px !important; }
  .moma-mt15 { margin-top: 15px !important; }

  .before-mr10:before { margin-right: 10px !important; }
  
  .moma-w15 { width: 15% !important; }
  .moma-w25 { width: 25% !important; }
  .moma-w35 { width: 35% !important; }
  .moma-w50 { width: 50% !important; }

  .moma-fs-xl { font-size: var(--moma-fontsize-xl) !important; }

  .moma-no-border-bottom { border-bottom: none !important; }
  
  .moma-title {
  
  	font-size: var(--moma-fontsize-m);
  	font-weight: var(--moma-bold);
  
  }
  
@media ( max-width: 600px ) {

  	.moma-hide-onSmall { display: none !important; }
	
}
  
  
  /** MOMA TEXTAREA **/
  div.fake-moma-textarea,
  textarea.moma-textarea {
  	
  	background: white !important;
    border: 1px solid var(--moma-gray) !important;
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--moma-dark-gray) !important;
    font-size: var(--moma-fontsize-m) !important;
    font-weight: var(--moma-regular) !important;
    font-family: var(--moma-font) !important;
    margin: 0 var(--moma-form-elm-margin-h) var(--moma-form-elm-margin-v) 0 !important;
    min-height: 150px;
    padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h)  !important;
    width: 100%  !important;
    
  }
  
  div.fake-moma-textarea {
  
  	margin-top: 6px !important;
  
  }
  
  div.fake-moma-textarea::placeholder,
  textarea.moma-textarea::placeholder { color:var(--moma-gray); }
  
  div.fake-moma-textarea:focus-visible,
  div.fake-moma-textarea:focus,
  textarea.moma-textarea:focus-visible,
  textarea.moma-textarea:focus {
    	
  	box-shadow: var(--moma-shadow);
    outline: 2px solid var(--moma-orange);
    outline-offset: -2px;
      
  }
  
  div.fake-moma-textarea[readonly],
  div.fake-moma-textarea[disabled],
  textarea.moma-textarea[readonly],
  textarea.moma-textarea[disabled] {
  	
	background-color: var(--moma-light-gray);
	color: var(--moma-gray);
    cursor: not-allowed;
    
  }
  
  textarea.moma-textarea[data-resize='none'] 		{ resize: none; }
  textarea.moma-textarea[data-resize='both'] 		{ resize: both; }
  textarea.moma-textarea[data-resize='horizontal'] 	{ resize: horizontal; }
  textarea.moma-textarea[data-resize='vertical'] 	{ resize: vertical; }
  

/* MOMA FORMGROUP */
.moma-formGroup {
	
	width: 100%;
	margin: 20px auto 10px;
	display: inline-block;
	
}

.moma-formGroup.col-2:nth-child(even) { 
	
	width: 49%;
	margin-right: 1%;
	
}

.moma-formGroup.col-2:nth-child(odd) { width: 50%; }

@media ( max-width: 600px ) {

	.moma-formGroup.col-2:nth-child(even) { 
	
		width: 100%;
		margin-right: 0;
	
	}

	.moma-formGroup.col-2:nth-child(odd) { width: 100%; }
	
}


/** MOMA INPUT TEXT **/
 input[type='password'].moma-input,
 input[type='text'].moma-input {
 	
	background-color: white !important;
	border: 1px solid var(--moma-gray) !important;
	border-radius: var(--moma-radius) !important;
	box-sizing: border-box !important;
	color: var(--moma-dark-gray) !important;
	font-size: var(--moma-fontsize-m) !important;
	font-weight: var(--moma-regular) !important;
	font-family: var(--moma-font) !important;
	margin: 0 var(--moma-form-elm-margin-h) var(--moma-form-elm-margin-v) 0 !important;
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
	width: 100% !important;
   
 }
 
 
 
 input[type='password'].moma-input::placeholder,
 input[type='text'].moma-input::placeholder { color:var(--moma-gray); }
 
 input[type='password'].moma-input:focus-visible,
 input[type='password'].moma-input:focus,
 input[type='text'].moma-input:focus-visible,
 input[type='text'].moma-input:focus {
   	
 	box-shadow: var(--moma-shadow);
    outline: 2px solid var(--moma-orange) !important;
    outline-offset: -2px;
     
 }
 
 input[type='password'].moma-input:invalid,
 input[type='text'].moma-input:invalid 					{ border: 1px solid var(--moma-red) !important; }
 
 input[type='password'].moma-input:invalid::placeholder,
 input[type='text'].moma-input:invalid::placeholder 	{ color: var(--moma-red); }
 
 input[type='password'].moma-input[readonly],
 input[type='password'].moma-input[disabled],
 input[type='text'].moma-input[readonly],
 input[type='text'].moma-input[disabled] {
 	
	background-color: var(--moma-light-gray) !important;
	color: var(--moma-gray) !important;
   cursor: not-allowed !important;
   
 }
 
 input[type='text'].moma-input.data[readonly] { 
 
 	background-color: white !important;
 	color: var(--moma-dark-gray) !important;
 	cursor: pointer !important;
 	
}

 input[type='text'].moma-input.data:focus-visible,
 input[type='text'].moma-input.data:focus {
   	
 	box-shadow: var(--moma-shadow);
   	outline: 0;
     
 }
  
input[type='password'].moma-input.small,
input[type='text'].moma-input.small { 
 
 	font-size: var(--moma-fontsize-s) !important;
 	padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/2) !important;
 
}
  
  
  /** MOMA SELECT **/
  div.moma-select {
  	
  	background-color: white !important;
  	border-radius: var(--moma-radius) !important;
    display: inline-block;
    margin: 0 var(--moma-form-elm-margin-h) var(--moma-form-elm-margin-v) 0 !important;
    position: relative;
    width: 100%;
    
  }
  
  #controller_content.moma-popup.edititem div.moma-select { margin-bottom: 0px !important; }
  
  div.moma-select i:before {
  	
    content: '\f107';
    font-style: normal;
    font-family: fontawesome;
    position: absolute;
    right: var(--moma-form-elm-padding-h);
    top: 25%;
    z-index: 3;
    
  }
 
  div.moma-select select {
  	
    border: 0px none !important;
    
    background-color: transparent !important;
	border: 1px solid var(--moma-gray) !important;
    border-radius: var(--moma-radius) !important;
    box-sizing: border-box !important;
    color: var(--moma-dark-gray) !important;
    display: inline-block !important;
    font-size: var(--moma-fontsize-m) !important;
    font-weight: var(--moma-regular) !important;
    font-family: var(--moma-font) !important;
    line-height: inherit !important;
    padding: var(--moma-form-elm-padding-v) calc(var(--moma-form-elm-padding-h) * 2) var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
    
    -webkit-appearance: none !important;
    -moz-appearance:    none !important;
    appearance:         none !important;
    
    width: 100% !important;
    z-index: 3 !important;
    
    position: relative;
    
  }
  
  div.moma-select select:focus,
  div.moma-select select:focus-visible {
  	
    box-shadow: var(--moma-shadow) !important;
    outline: 2px solid var(--moma-orange) !important;
    outline-offset: -2px;
    
  }
  
  div.moma-select select[readonly],
  div.moma-select select[disabled] {
  	
    background-color: var(--moma-light-gray) !important;
	  color: var(--moma-gray) !important;
    cursor: not-allowed !important;
    
  }
  
  div.moma-select select[readonly] + i,
  div.moma-select select[disabled] + i {
    	
    color: var(--moma-gray) !important;
    z-index: 2 !important;
      
  }
  
  div.moma-select.small select {
  
   	font-size: var(--moma-fontsize-s) !important;
 	padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/2) !important;
 	
  }
  
  div.moma-select.small i:before { right: 10px; top: 18%; }
  
  div.moma-select select[multiple] { padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important; }
  
  div.moma-select select[multiple] option,
  div.moma-select select[multiple] option:checked { 
  
  	color: var(--moma-dark-gray) !important;
  	
  }
  
  div.moma-select select[multiple] option:checked { background-color: var(--moma-lighter-gray) !important; }
  
  
  
  /** MOMA CHECKBOX **/
  input[type='checkbox'].moma-checkbox { display: none; }
  
  input[type='checkbox'].moma-checkbox + label { cursor: pointer; }
  
  input[type='checkbox'][readonly].moma-checkbox + label,
  input[type='checkbox'][disabled].moma-checkbox + label { cursor: not-allowed; }
  
  input[type='checkbox'].moma-checkbox + label:before { 
    
    color: var(--moma-gray);
    content: '\f0c8';
    font-family: fontawesome;
    margin-right: 0px;
  
  }
  
  input[type='checkbox'].moma-checkbox:checked + label:before {
  	
    color: var(--moma-blue);
    content: '\f14a';
    
  }
  
  input[type='checkbox'][readonly].moma-checkbox + label:before,
  input[type='checkbox'][disabled].moma-checkbox + label:before,
  input[type='checkbox'][readonly].moma-checkbox:checked + label:before,
  input[type='checkbox'][disabled].moma-checkbox:checked + label:before {
  	
    color: var(--moma-gray);
    
  }
  
  
  
  
  /** MOMA RADIO **/
  input[type='radio'].moma-radio { display: none; }
  
  input[type='radio'].moma-radio + label { cursor: pointer; }
  input[type='radio'][disabled].moma-radio + label { cursor: not-allowed; }
  
  input[type='radio'].moma-radio + label:before { 
    
    color: var(--moma-gray);
    content: '\f10c';
    font-family: fontawesome;
    margin-right: 5px;
  
  }
  
  input[type='radio'].moma-radio:checked + label:before {
  	
    color: var(--moma-blue);
    content: '\f192';
    
  }

  input[type='radio'][readonly].moma-radio + label:before,
  input[type='radio'][disabled].moma-radio + label:before,
  input[type='radio'][readonly].moma-radio:checked + label:before,
  input[type='radio'][disabled].moma-radio:checked + label:before {
  	
    color: var(--moma-gray);
    
  }
  
  
  
  
  /** RADIO ICONS **/
  input[type='radio'].moma-radio-icon { display: none; }
  
  input[type='radio'].moma-radio-icon + label { cursor: pointer; font-weight: var(--moma-regular); font-size: 12px !important; }
  input[type='radio'][disabled].moma-radio-icon + label { cursor: not-allowed; }
  
  input[type='radio'].moma-radio-icon[class*='moma-icon'] + label:before {
  
  	color: var(--moma-dark-gray);
    display: block;
    font-family: fontawesome;
    font-size: 50px;
    margin-bottom: 20px;
  	
  }
  
  input[type='radio'].moma-radio-icon + label:before {
  
  	font-family: moma-icons;
  
  }
  
  input[type='radio'].moma-radio-icon.moma-icon-check + label:before { 
    
    content: '\f058';
  
  }
  
  input[type='radio'].moma-radio-icon.moma-icon-grid + label:before {
  
  	content: '\f00a';
  	
  }

  input[type='radio'].moma-radio-icon.moma-icon-tags + label:before {
  
    font-size: 50px;
    content: '\f02c';
    margin-left: 5px;
    margin-bottom: 20px;
    font-family: fontawesome;
  	
  }

  input[type='radio'].moma-radio-icon.moma-icon-video-camera + label:before {
  
    content: '\f03d';

  }

  input[type='radio'].moma-radio-icon.moma-icon-user-secret + label:before {
  
    content: '\f21b';
    font-family: fontawesome;
    font-size: 50px;
    margin-bottom: 20px;

  }

  input[type='radio'].moma-radio-icon.moma-icon-file-text + label:before {
  
    content: '\f15c';
    font-family: fontawesome;
    font-size: 50px;
    margin-bottom: 20px;

  }

  input[type='radio'].moma-radio-icon.moma-icon-map-marker + label:before {

    content: '\f041';
    font-family: fontawesome;
    font-size: 50px;
    margin-bottom: 20px;

  }

  input[type='radio'].moma-radio-icon.moma-icon-language + label:before {

    content: '\f1ab';
    font-family: fontawesome;
    font-size: 50px;
    margin-bottom: 20px;

  }

  input[type='radio'].moma-radio-icon.moma-icon-search + label:before {
  
    content: '\f002';
    font-family: fontawesome;
    font-size: 50px;
    margin-bottom: 20px;

  }
  
  input[type='radio'].moma-radio-icon.moma-icon-resolution + label:before {
  
  	background-color: var(--moma-dark-gray);
  	border-radius: var(--moma-radius);
  	box-sizing: border-box;
  	color: white;
  	content: attr(data-icon-inner-text);
  	font-family: var(--moma-font);
  	font-size: 12px;
  	height: 50px;
  	margin: auto auto 20px;
  	padding: 17.5px 5px 0px;
  	width: 50px;
  	
  }
  
  input[type='radio'].moma-radio-icon:checked + label:before {	color: var(--moma-blue);		}
  input[type='radio'].moma-radio-icon.moma-icon-resolution:checked + label:before { background-color: var(--moma-blue); color: white !important; }

  input[type='radio'][readonly].moma-radio-icon + label:before,
  input[type='radio'][disabled].moma-radio-icon + label:before,
  input[type='radio'][readonly].moma-radio-icon:checked + label:before,
  input[type='radio'][disabled].moma-radio-icon:checked + label:before {
  	
    color: var(--moma-gray);
    
  }
  
  input[type='radio'].moma-radio-icon.moma-icon-pdf-table-layout + label:before {
  
  	  content: "\e904";
  	font-family: 'moma-icons' !important;
  	
  }
  
  input[type='radio'].moma-radio-icon.moma-icon-pdf-cols-layout + label:before {
  
	content: "\e900";
  	font-family: 'moma-icons' !important;
  	
  }
  
  input[type='radio'].moma-radio-icon.moma-icon-pdf-couple-layout + label:before {
  	content: "\e901";
  	font-family: 'moma-icons' !important;
	}
	
  input[type='radio'].moma-radio-icon.moma-icon-pdf-list-layout + label:before {
  	content: "\e902";
  	font-family: 'moma-icons' !important;
  }
  
  input[type='radio'].moma-radio-icon.moma-icon-pdf-horiz-layout + label:before {
  	content: "\e903";
  	font-family: 'moma-icons' !important;
  }

  input[type='radio'].moma-radio-icon.moma-icon-pdf-zoom-layout + label:before {
  	content: "\e905";
  	font-family: 'moma-icons' !important;
  }
  
  
  
  
  
  /** MOMA SLIDER **/
  input[type=range].moma-slider {
	
	border: 1px solid white; 
    -webkit-appearance: none;
    border: 1px solid white;
    width: 300px;
    background-color: transparent !important;
    border: 0px none;
    margin-left: 0px;
    padding-left: 0px !important;
    
  }

  input[type=range].moma-slider::-webkit-slider-runnable-track {
  
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
    
  }

  input[type=range].moma-slider::-webkit-slider-thumb {
  
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--moma-blue);
    margin-top: -4px;
    cursor: pointer;

  }
  
  input[type=range].moma-slider:focus {
  
    outline: none;
    border: 0px none;
    
  }
  
input[type=range].moma-slider:focus::-webkit-slider-runnable-track {
	
    background: #ccc;
    border: 0px none;
    
}

input[type=range].moma-slider::-moz-range-track {
	
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
    
}
input[type=range].moma-slider::-moz-range-thumb {
	
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ff0c0a;
    cursor: pointer;
    
}

input[type=range].moma-slider:-moz-focusring {
	
    outline: 1px solid white;
    outline-offset: -1px;
    
}

input[type=range].moma-slider::-ms-track {
	
    width: 300px;
    height: 5px;
    background: transparent;
    border-color: transparent;
    border-width: 6px 0;
    
    
}

input[type=range].moma-slider::-ms-fill-lower {
	
    background: #777;
    border-radius: 10px;
    
}

input[type=range].moma-slider::-ms-fill-upper {
	
    background: #ddd;
    border-radius: 10px;
    
}

input[type=range].moma-slider::-ms-thumb {
	
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ff0c0a;
    
}

input[type=range].moma-slider:focus::-ms-fill-lower {
	
    background: #888;
    border: 0px none;
    
}

input[type=range].moma-slider:focus::-ms-fill-upper {
	
    background: #ccc;
    border: 0px none;
    
}
  
  
  
  
  
  /** MOMA TABLE **/
  table.moma-table {
  	
    border-spacing: 0px !important;
    color: var(--moma-dark-gray) !important;
    width: 100% !important;
    
  }
  
  table.moma-table th {
  	
  	background-color: transparent !important;
  	border: 0px none !important;
    font-weight: var(--moma-bold) !important;
    font-size: var(--moma-fontsize-m) !important;
    
  }
  
  table.moma-table thead tr,
  table.moma-table tr {
  	
    background-color: #ffffff !important;
  
  }
  
  table.moma-table tr:nth-child(odd) {
  	
    background-color: #ffffff !important;
    
  }
  
  table.moma-table tr:nth-child(even) {
  	
    background-color: var(--moma-lighter-gray) !important;
    
  }
  
  table.moma-table tbody tr:hover {
  	
    color: #ffffff !important;
    background-color: var(--moma-gray) !important;
    
  }
  
  table.moma-table th,
  table.moma-table td,
  table.moma-table tr.tr1 td.header, 
  table.moma-table tr.tr0 td.header, 
  table.moma-table tr.tr1 th.header, 
  table.moma-table tr.tr0 th.header {
  	
  	background-color: transparent !important;
  	border: 0px none !important;
    border-bottom: 1px solid var(--moma-light-gray) !important;
    font-size: var(--moma-fontsize-m) !important;
    font-weight: normal !important;
    padding: 10px 15px !important;
    text-align: left !important;
    
  }
  
  table.moma-table td:first-child {
  	
    font-weight: var(--moma-bold) !important;
    
  }
  
  
  input[type='checkbox'].moma-switch { display: none; }
  input[type='checkbox'].moma-switch + label { cursor: pointer; }
  
  input[type='checkbox'].moma-switch + label:after {
  
    /*color: var(--moma-blue);
  	content: '\f204';
  	transition: all 0.3s ease;*/
  	
  	color: var(--moma-darkgray);
  	content: '\f205' !important;
  	font-family: fontawesome !important;
  	
  	-webkit-transform: rotate(-180deg) !important;
    -moz-transform: rotate(-180deg) !important;
    transform: rotate(-180deg) !important;
    transition: none !important;
    display: inline-block;
  	
  }
  
  input[type='checkbox']:checked.moma-switch + label:after {
  
  	color: var(--moma-blue) !important;
  	content: '\f205' !important;
  	transform: rotate(0) !important;
    display: inline-block;
  
  }

  input[type='checkbox'].moma-switch + label span { color: var(--moma-red); }
  
  
  
  /**	MOMA NUMBER **/
  input[type='number'].moma-number {
  
    background-color: white !important;
  	border: 1px solid var(--moma-gray) !important;
    border-radius: var(--moma-radius) !important;
    box-sizing: border-box !important;
    color: var(--moma-dark-gray) !important;
    font-size: var(--moma-fontsize-m) !important;
    font-weight: var(--moma-regular) !important;
    font-family: var(--moma-font) !important;
    margin: 0 var(--moma-form-elm-margin-h) var(--moma-form-elm-margin-v) 0 !important;
    padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
  
  }
  
  input[type='number'][disabled].moma-number {
  
  	background-color: var(--moma-light-gray) !important;
    color: var(--moma-gray) !important;
    cursor: not-allowed !important;
    
  }
  
  input[type='number'].moma-number:focus,
  input[type='number'].moma-number:focus-visible {
  
  	box-shadow: var(--moma-shadow) !important;
    outline: 2px solid var(--moma-orange);
    outline-offset: -2px;
  
  }
  
  
  /** WARNING MESSAGES Start **/
  .moma-popup div[class$=-info-container] {
  
    border: 2px solid var(--moma-light-gray);
    border-radius: var(--moma-radius);
    box-sizing: border-box;
    box-shadow: none;
    color: var(--moma-dark-gray);
    font-size: var(--moma-fontsize-m);
    margin: 0 0 25px;
    padding: 25px 75px;
    position: relative;
  	width: 100%;
  
  }
  
  .moma-popup div[class$=-info-container][data-info='info'] {

	background-color: white;
	border: 2px dashed var(--moma-gray);
  	
  }
  
  .moma-popup div[class$=-info-container][data-info='warning'] {
  
  	color: var(--moma-red);
  	border: 2px solid var(--moma-red);
  	
  }
  
  .moma-popup div[class$=-info-container] h2 {
  
  	border: 0px none;
  	color: inherit;
  	font-size: var(--moma-fontsize-m);
  	font-weight: var(--moma-bold);
  	font-variant: normal;
  	padding: 0px;
  	text-transform: uppercase;
  	text-align: left;
  
  }
  
  .moma-popup div[class$=-info-container] h3 {
  
  	font-size: var(--moma-fontsize-mm);
  	font-weight: var(--moma-bold);
  
  }
  
  .moma-popup div[class$=-info-container] ol,
  .moma-popup div[class$=-info-container] p {
  
  	color: var(--moma-dark-gray);
  	font-size: var(--moma-fontsize-s);
  	font-weight: var(--moma-regular);
  	text-align: left;
  
  }
  
  .moma-popup div[class$=-info-container]:after {

  	font-family: fontawesome;
    font-size: var(--moma-fontsize-m);
    left: 45px;
    position: absolute;
    top: 26px;
  
  }
  /** WARNING MESSAGES End **/
  
  
  
  
  
  
  /** General pop-up layout */
  
  .mywindow.moma-popup {

	align-items: center;
  	display: inline-flex;
  	flex-flow: column;
  	justify-content: center;
  	overflow: hidden;
  	width: 100%;
  	
  }
  
  .mywindow.moma-popup,
  #controller_content.moma-popup #table_content_message, 
  #upload_content.moma-popup center,
  #upload_content.moma-popup #kupload { 
  
  	height: 100%;
  	display: inline-flex !important;
    width: 100%;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;
  	
  }
  
  #controller_content.moma-popup,
  #upload_content.moma-popup,
  .mywindow.moma-popup {
  
  	border: 0px solid var(--moma-light-gray) !important;
  	border-radius: var(--moma-popup-radius) !important; 
  	box-shadow: var(--moma-popup-shadow) !important;
  	color: var(--moma-dark-gray) !important;
  	font-family: var(--moma-font) !important;
  	max-height: 530px !important;
  	max-width: 600px !important;
  	min-width: 310px !important;
  	padding-bottom: 0px !important;
  	width: auto !important;
  	
  }
  
  @media ( max-width: 510px ) {
  
  	#controller_content.moma-popup,
  	#upload_content.moma-popup,
  	.mywindow.moma-popup {
  	
  		max-height: 650px !important;
  	
  	}
  
  }
  
  .mywindow.moma-popup.support_wizard { max-height: 650px !important; }
  
  #controller_content.moma-popup,
  #upload_content.moma-popup {
  
  	background-color: white !important;
	bottom: 10% !important;  
	color: var(--moma-black) !important;  	
  	font-weight: normal !important;
  	left: 1% !important;
  	letter-spacing: 0px !important;
  	margin: auto !important;
  	overflow: hidden !important;
  	position: fixed !important;
  	right: 1% !important;
  	top: 10% !important;
	z-index: 4000 !important;
  
  }
  
  @media ( max-width: 510px ) {
  
  	#controller_content.moma-popup,
  	#upload_content.moma-popup,
  	.mywindow.moma-popup {
  		
  		max-width: none !important;
  		max-height: none !important;
  		left: 0 !important;
  		right: 0 !important;
  		top: 0 !important;
  		bottom: 0 !important;
  		border-radius: 0 !important;
  	
  	}
  
  }
  
  #upload_content.moma-popup #kupload {
  
    max-width: none !important;
    
  }
  
  #upload_content.moma-popup.uploader {
  
  	max-width: 1000px !important;
  
  }
  
  @media ( max-width: 510px ) {
  
  	#upload_content.moma-popup.uploader {
  
  		max-width: none !important;
  
  	}
  
  }
  
  #upload_content.moma-popup #kupload_div_containter {
  
  	border: 0px none;
  	background: white;
  
  }
  
  #upload_content.moma-popup #kupload_footer {

	background-color: white;
	border: 0px none;
  	height: auto;
  
  }
  
  #upload_content.moma-popup #kupload_footer #kupload_button_area {
  
  	display: inline-block;
  	height: auto;
  	width: auto;
  
  }
  
  #upload_content.moma-popup #kupload_footer #kupload_upload_progress {
  
  	display: inline-block;
  	flex-grow: 1;
    margin-top: 0px;
    text-align: left;
  
  }
  
  #controller_content.moma-popup #upload_title_bar,
  #upload_content.moma-popup #upload_title_bar,
  .mywindow.moma-popup .mywindow_title_bar {
  
  	background: white;
  	border-radius: 0px;
  	box-sizing: border-box;
  	font-family: var(--moma-font);
  	padding: var(--moma-popup-padding-v) var(--moma-popup-padding-h);
  	position: static;
  	
  	justify-self: flex-start;
  
  }
  
  #upload_content.moma-popup.single-edit-metadata {
  
  	max-height: 300px !important;
  	top: -5% !important;
  
  }
  
  @media ( max-width: 510px ) {
  
  	#upload_content.moma-popup.single-edit-metadata {
  
  		max-height: none !important;
  		top: 0 !important;
  
  	}
  
  }
  
  #upload_content.moma-popup.single-edit-metadata.reserved_to {
  
  	height: 100%;
  	max-height: 600px !important;
  
  }
  
  #controller_content.moma-popup #upload_title_bar,
  #upload_content.moma-popup #upload_title_bar {
  
  	border-style: solid solid none;
    border: 0;
    height: auto !important;
    max-width: none;
    text-align: left;
    width: 100%;
    
  }
  
  #controller_content.moma-popup #upload_title_bar span.header,
  #upload_content.moma-popup #upload_title_bar span.header,
  .mywindow.moma-popup .mywindow_title_bar span.header {
  
  	color: var(--moma-dark-gray);
  	font-variant: normal;
  	font-size: var(--moma-font-size-s);
  	font-weight: var(--moma-regular);
  	margin: 1px auto auto;
  	padding: 0px;
  
  }
  
  #controller_content.moma-popup #upload_title_bar span.header,
  #upload_content.moma-popup #upload_title_bar span.header {
  
  	font-size: var(--moma-font-size-s);
  	margin-top: 1px;
  
  }
  
  #controller_content.moma-popup #table_content_message #mc {
  
  	height: calc(100% - 35px);
  	width: 100%;
  	
  }
  
  #controller_content.moma-popup #upload_title_bar span.header:first-letter,
  #upload_content.moma-popup #upload_title_bar span.header:first-letter,
  .mywindow.moma-popup .mywindow_title_bar span.header:first-letter { text-transform: uppercase; }
  
  #controller_content.moma-popup #upload_title_bar i#content_close_window,
  #upload_content.moma-popup #upload_title_bar i#upload_close_window { margin-top: auto !important; }
  
  #controller_content.moma-popup #upload_title_bar i,
  #upload_content.moma-popup #upload_title_bar i,
  .mywindow.moma-popup .mywindow_title_bar i { background: none; float: left; font-style: normal; margin-left: auto; margin-right: 10px !important; }
  
  #controller_content.moma-popup #upload_title_bar i,
  #upload_content.moma-popup #upload_title_bar i,
  .mywindow.moma-popup .mywindow_title_bar i.mywindow_close,
  .mywindow.moma-popup .mywindow_title_bar i.mywindow_minimize { width: auto; height: auto; }
  
  #controller_content.moma-popup #upload_title_bar > i:before,
  #upload_content.moma-popup #upload_title_bar > i:before,
  .mywindow.moma-popup .mywindow_title_bar > i:before { font-family: fontawesome; font-size: var(--moma-fontsize-l); padding: 0 8px 0 0; }
  
  #controller_content.moma-popup #upload_title_bar i#content_close_window:before,
  #upload_content.moma-popup #upload_title_bar i#upload_close_window:before,
  .mywindow.moma-popup .mywindow_title_bar i.mywindow_close:before { color: var(--moma-red); content: '\f111'; }
  
  #controller_content.moma-popup #upload_title_bar:hover i#content_close_window:before,
  #upload_content.moma-popup #upload_title_bar:hover i#upload_close_window:before,
  .mywindow.moma-popup .mywindow_title_bar:hover i.mywindow_close:before { content: '\f057'; }
  
  .mywindow.moma-popup .mywindow_title_bar i.mywindow_minimize:before { color: var(--moma-orange); content: '\f111'; }
  .mywindow.moma-popup .mywindow_title_bar:hover i.mywindow_minimize:before { content: '\f056'; }
  
  #controller_content.moma-popup #controller_content_message,
  #upload_content.moma-popup #upload_content_body,
  .mywindow.moma-popup .mywindow_content,
  #upload_content.moma-popup #kupload_div_containter { 
  
  	border-radius: 0px;
  	box-sizing: border-box;
  	font-size: inherit;
  	font-variant: normal;
  	max-height: 100% !important;
  	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h);
  	
  	height: auto;
  	flex-grow: 1;
  	width: 100%;
  	
  }
  
  #controller_content.moma-popup #controller_content_message,
  #upload_content.moma-popup #upload_content_body {
  
  	border-width: 0px;
  	border-style: none;
  	box-shadow: none;
  	color: var(--moma-dark-gray);
  	display: block;
  	margin: 0;
  	max-width: none;
  	top: 0px;
  	width: 100%;
  
  }
  
  #controller_content.moma-popup #controller_content_message { position: static; }
  
  .moma-popup #overflower { padding: 0 var(--moma-form-elm-padding-h); }
  .moma-popup #overflower #pwrecovery_form { width: 100%; }
  
  .moma-popup.ipsrcver_wizard { max-height: 500px !important; }
  .moma-popup.ipsrcver_wizard #overflower { top: 95px !important; bottom: 55px; }
  
  .moma-popup.ipsrcver_wizard #pwrecovery_form .digit-container { width:40%; margin: auto; }
  @media ( max-width: 510px ) { .moma-popup.ipsrcver_wizard #pwrecovery_form .digit-container { width: auto; } }
  
  .moma-popup.ipsrcver_wizard #error_space { margin-top: 30px; text-align: center; }
  
  .moma-popup.ipsrcver_wizard #setupwizar_body {
  
  	align-content: center;
  	display: flex;
	flex-flow: column;
	justify-content: flex-start;
  
  }
  
  .moma-popup.ipsrcver_wizard #setupwizar_body h1,
  .moma-popup.ipsrcver_wizard #setupwizar_body div,
  .moma-popup.ipsrcver_wizard #setupwizar_body form {
  
  	order: 10;
  
  }
  
  @media (max-width: 510px) {
  
  	.moma-popup.ipsrcver_wizard #setupwizar_body h1 				{ order: 1; }
  	.moma-popup.ipsrcver_wizard #setupwizar_body form				{ order: 2; }
  	.moma-popup.ipsrcver_wizard #setupwizar_body div#error_space 	{ order: 3; }
  	.moma-popup.ipsrcver_wizard #setupwizar_body div				{ order: 4; }
  
  }
  
  #controller_content.moma-popup #table_content_message #controller_botton,
  #upload_content.moma-popup center #upload_content_button,
  #upload_content.moma-popup #kupload_footer,
  .mywindow.moma-popup .mywindow_button {
  
    box-sizing: border-box;
    display: inline-flex;
    justify-content: flex-end;
    justify-self: flex-end;
    min-height: 55px;
  	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h);
  	position: static;
  	width: 100%;
  
  }
  
  #controller_content.moma-popup #table_content_message #controller_botton:empty,
  #upload_content.moma-popup center #upload_content_button:empty,
  .mywindow.moma-popup .mywindow_button:empty {
  
  	display: none;
  
  }
  
  #controller_content.moma-popup #controller_content_message label {
  
  	float: none;
  	font-size: inherit;
  	line-height: inherit;
  	padding-top: 0px;
  
  }
  
  .moma-popup #syndicate_to_frame {
  
    background-color: transparent;
    border: 0px none;
    border-radius: 0px;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
  	position: static;
  	width: 100%;
  
  }
  
  .moma-popup.widgeteditor[window_type="popup"] {
  
  	font-style: normal;
  	height: 100%;
  	max-height: 600px !important;
  	max-width: 635px !important;
  	overflow-y: hidden;
  	width: auto;
  	
  }
  
  @media ( max-width: 510px ) {

	.moma-popup.widgeteditor[window_type="popup"] {
  
  		max-height: none !important;
  		max-width: none !important;
  
  	}	
  
  }
  
  .moma-popup.widgeteditor.WidgetV2Image[window_type="popup"] {
  
  	max-width: 655px !important;
  
  }
  
  .moma-popup.widgeteditor[window_type="popup"] #widget_editor,
  .moma-popup.widgeteditor[window_type="popup"] #widget_editor table {
  
  	height: 100%;
  
  }
  
  .moma-popup.widgeteditor[window_type="popup"] #widgetlist {
  
  	align-items: flex-start;
  	display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    max-height: 280px;
    overflow-x: hidden;
  
  }
  
  .moma-popup.widgeteditor[window_type="popup"] #widgetlist p { width: 100%; }
  
  .moma-popup.widgeteditor[window_type="popup"] .widgetlist { border: 1px solid black; }
  
  .moma-popup.widgeteditor[window_type="popup"] tr.wtrcontent td {
  
  	box-shadow: none;
  	height: auto;
  
  }

  #controller_content.moma-popup.edititem textarea[id^=item_details_][id$=_ai_tag_detected] {
    min-height: 100px !important;
  }
  #controller_content.moma-popup.edititem textarea[id^=item_details_][id$=_ai_video_summary] {
    min-height: 150px !important;
  }
  #controller_content.moma-popup.edititem li#labelfield_face_tagging,
  #ai_face_tagging_recognized_faces_tool{
    display: none;
  }
  
  a#assign_ai_face_tagging_names {
    position: relative;     
    text-transform: uppercase;         
    display: inline-block;
    background: linear-gradient(45deg, #D2042D, #FF6F61, #D2042D);
    background-size: 200% 200%;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    animation: bgShift 6s ease infinite;
  }
  a#assign_ai_face_tagging_names::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: inherit; 
    background: linear-gradient(45deg, #FFD700, #FF4500, #FFD700);
    background-size: 300% 300%;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.8;
    animation: borderSparkle 4s linear infinite;
  }
   @keyframes borderSparkle {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  @keyframes bgShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  
  

  .moma-popup.widgeteditor[window_type="popup"] tr.wtrcontent td div.iconlist { margin-top: 40px; }
  .moma-popup.widgeteditor[window_type="popup"] div.rule-option { top: 154px !important; }
  
  .moma-popup.widgeteditor[window_type="popup"] .tabrow { font-family: inherit; }
  
  .moma-popup.widgeteditor[window_type="popup"] .tabrow li { box-shadow: none; text-shadow: none; }
  
  .moma-popup.widgeteditor[window_type="popup"] .tabrow li:first-letter { text-transform: uppercase; }
  
  .moma-popup.widgeteditor[window_type="popup"] .widget_option_medium input,
  .moma-popup.widgeteditor[window_type="popup"] .widget_option_medium select { font-family: var(--moma-font); }
  
  #controller_content.moma-popup.toggleReserved #reserved_to_frame {
  
    height: auto;
    margin: 0;
    min-height: 100%;
    padding: 0;
  	position: static;
  	width: 100%;
  
  }
  
  .moma-flex-container				{	display: flex;	}
  .flex--row		{	flex-flow: row wrap;	}
  .flex--column	{	flex-flow: column;	}
  
  .moma-flex-container.align-end { align-items: flex-end; }
  .moma-flex-container.justify-center { justify-content: center; }
  .moma-flex-container.justify-between { justify-content: space-between; }
 
 /* 
@media screen and (max-width: 600px) {
	
	.moma-flex-container {
	
		flex-direction: column;
    	align-items: flex-start !important;
	
	}
	
	.moma-flex-container div { width: 100% !important; }
	
}
*/

  .moma-flex-container .moma-flex-row {
  
    box-sizing: border-box;
  	display: inline-flex;
  	font-size: var(--moma-fontsize-m);
  	justify-content: space-around;
  	padding: var(--moma-form-elm-padding-v) 0;
  	width: 100%;	
  	
  }
  
  .moma-flex-container .moma-flex-row:first-child { padding-top: 0px; }
  .moma-flex-container .moma-flex-row:last-child { padding-bottom: 0px; }
  
  .moma-flex-container .moma-flex-row:nth-of-type(even) {
  
  	padding: calc( var(--moma-form-elm-padding-v) * 3 ) 0;
  
  }
  
  .moma-flex-container .moma-flex-cell {
  
  	box-sizing: border-box;
  	display: inline-block;
  	margin-bottom: 10px;
  	padding: 0 var(--moma-form-elm-padding-h) var(--moma-form-elm-padding-v);
  	text-align: center;
  	
  }
  
  .moma-flex-container .moma-flex-cell.moma-width-100	{ width: 100%; }
  .moma-flex-container .moma-flex-cell.moma-width-80		{ width: 80%;  }
  .moma-flex-container .moma-flex-cell.moma-width-70		{ width: 70%;  }
  .moma-flex-container .moma-flex-cell.moma-width-60		{ width: 60%;  }
  .moma-flex-container .moma-flex-cell.moma-width-50		{ width: 50%;  }
  .moma-flex-container .moma-flex-cell.moma-width-40		{ width: 40%;  }
  .moma-flex-container .moma-flex-cell.moma-width-33		{ width: 33%;  }
  .moma-flex-container .moma-flex-cell.moma-width-30		{ width: 30%;  }
  .moma-flex-container .moma-flex-cell.moma-width-20		{ width: 20%;  }
 
 
/* MomaGrid */
.moma-grid-container { display: grid !important; }
.moma-grid-container.col2 { grid-template-columns: repeat(2, 1fr); }
.moma-grid-container.col3 { grid-template-columns: repeat(3, 1fr); }
.moma-grid-container.col4 { grid-template-columns: repeat(4, 1fr); }

.moma-grid-container.auto-rows { grid-auto-rows: minmax(min-content, max-content); }

.gap10 { gap: 10px; }
 
.mywindow.profile #setupwizard_main ul.moma-grid-container.col2 li input { width: auto; }
 
@media screen and (max-width: 600px) {

	.moma-grid-container.col2,
	.moma-grid-container.col3,
	.moma-grid-container.col4 { grid-template-columns: repeat(1, 1fr); }
	
}
 
 
  /** Stepper start */
  .moma-popup h3.checkout_title,
  .moma-popup h3.setupwizard_title,
  .moma-popup h3.pwrecoverywizard_title {
  
    color: var(--moma-dark-gray);
  	font-size: var(--moma-fontsize-m);
  	font-style: normal;
  	font-weight: var(--moma-regular);
  	margin: 10px 0 50px;
  	text-align: left;
  
  }
  
  .moma-popup .moma-steps-container {
  
  	align-items: flex-end;
  	display: flex;
  	font-size: var(--moma-fontsize-mm) !important;
  	font-variant: normal !important;
  	justify-content: space-between;
  	width: 100%;
  
  	counter-reset: currentStep 0;
  }
  
  .moma-popup .moma-steps-container .moma-step {
  
    box-sizing: border-box;
    color: var(--moma-gray);
  	flex-grow: 0;
  	font-weight: var(--moma-regular);
  	padding: 0 var(--moma-form-elm-padding-h) var(--moma-form-elm-padding-v);
  	border-bottom: 4px solid var(--moma-gray);
  	
  	
  	
  }
  .moma-popup .moma-steps-container .moma-step:first-letter { text-transform: uppercase; }
  .moma-popup .moma-steps-container .moma-step:first-child { padding-left: 0px; }
  .moma-popup .moma-steps-container .moma-step:last-child { padding-right: 0px; text-align: right; }
  .moma-popup .moma-steps-container[data-steps-number='1'] .moma-step:last-child { padding-left: 0px; text-align: left; }
  
  .moma-popup .moma-steps-container .moma-step.current-step {
  
    color: var(--moma-blue);
  	border-color: var(--moma-blue);
  	font-weight: var(--moma-bold);
  	flex-grow: 1;
  	
  }
  
  .moma-popup .moma-steps-container .moma-step:before { 
  
  	content: "";
  	counter-increment: currentStep; 
  	
  	}
  
  @media screen and (max-width: 600px) {
  
  		.moma-popup .moma-steps-container .moma-step { 
  			
  			padding-left: calc(var(--moma-form-elm-padding-h)/3);
  			
  		}
  		
  		
  
  		.moma-popup .moma-steps-container:not([data-steps-number="1"]) .moma-step.current-step:before { /* content: attr(data-stepIndex) '. '; */ content: counter(currentStep) '. '; }
  		
	  	.moma-popup .moma-steps-container:not([data-steps-number="1"])  .moma-step:not(.current-step) { font-size: 0; }
	  	.moma-popup .moma-steps-container:not([data-steps-number="1"])  .moma-step:not(.current-step):after {
	  
	  			font-size: var(--moma-fontsize-mm);
	  			/*content: attr(data-stepIndex);*/
	  			content: counter(currentStep);
	  
	  	}
	  
	  	.moma-popup #pwrecovery_message { 
	  
	  			text-align: center !important;
	  			margin-top: 40px !important;
	  	
	  	}
  
  }
  
  /** Stepper end */
  
  
  
  
  
/** MOMA TABS START **/
 .moma-popup.edititem_new .moma-tabs {
 
		display: flex;
        flex-direction: column;
        font-weight: normal;
        
 }
 
 .moma-popup.edititem_old .moma-tabs,
 .moma-popup.profile .moma-tabs {
 
		display: flex;
    flex-wrap: wrap;
    font-weight: normal;
        
 }

 /* Wrapper per i label con scroll orizzontale */
 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--moma-gray) transparent;
        order: 0;
 }

 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper::-webkit-scrollbar {
        height: 6px;
 }

 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper::-webkit-scrollbar-track {
        background: transparent;
 }

 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper::-webkit-scrollbar-thumb {
        background-color: var(--moma-gray);
        border-radius: 3px;
 }
 
 .moma-popup.edititem_new .moma-tabs.hierarchicthesaurus.loading:before {
 
 	top: -2px;
 	z-index: 3;
 	left: -15px;
 	right: -2px;
 	bottom: -10px;
 	position: absolute;
 	border-radius: 10px;
 	backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.25);
 
 }

 .moma-popup.edititem_new .moma-tabs.hierarchicthesaurus.loading:after {
 
 	inset: 0;
 	z-index: 3;
 	display: flex;
 	font-size: 50px;
 	content: '\f110';
 	flex-flow: column;
 	position: absolute;
 	align-items: center;
 	justify-content: center;
 	font-family: fontawesome;
 	
 	animation-duration: 2s;
 	animation-name: fa-spin;
 	animation-timing-function: linear;
    animation-iteration-count: infinite;
 
 }
 
.moma-popup .moma-tabs > label,
.moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label {
		display: flex;
        justify-content: center;
        align-items: center;
        padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
        margin-left: 1px;
        cursor: pointer;
        background-color: var(--moma-gray);
        border-radius: var(--moma-radius) var(--moma-radius) 0 0;
        transition: all 0.1s ease-in-out;
        
        transform: scale(0.99, 0.9);
    	transform-origin: right bottom;
        
        font-weight: var(--moma-bold);
        
        color: var(--moma-dark-gray);
        text-transform: capitalize;
 
 }
 
.moma-popup.edititem_new .moma-tabs > label,
.moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label {
  
  font-size: var(--moma-fontsize-s) !important;
	white-space: nowrap; 
	  flex-shrink: 0;
}
 
 
.moma-popup.edititem_old .moma-tabs > label,
.moma-popup.edititem_old .moma-tabs > nav.moma-tabs-labels-wrapper > label {
	font-size: var(--moma-fontsize-s) !important;
	order: 1;
	
}
 
 .moma-popup .moma-tabs > label i,
 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label i {
 
        margin-right: 10px;
        font-weight: var(--moma-thin);
        font-size: var(--moma-fontsize-xl);
        
 }
 
 .moma-popup .moma-tabs > label i.tabs_counter,
 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label i.tabs_counter { 
 
		font-weight: var(--moma-bold) !important;
		font-size: var(--moma-fontsize-m) !important;
		font-style: normal;
	
 }
 
 .moma-popup .moma-tabs > label i.tabs_counter::after,
 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label i.tabs_counter::after {
 
  display: inline-block;
  content: ".";
  
}
 
 .moma-popup .moma-tabs > label span,
 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label span { 
 
	display: inline; 
	text-transform: initial;
	
 }
 .moma-popup .moma-tabs > label span:first-letter,
 .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label span:first-letter { text-transform: uppercase; }
 
  .moma-popup .moma-tabs > label:first-of-type,
  .moma-popup.edititem_new .moma-tabs > nav.moma-tabs-labels-wrapper > label:first-of-type { margin-left: calc(var(--moma-form-elm-padding-h) + 8px); }
 
 .moma-popup .moma-tabs .moma-tab {
 
		order: 2;
        flex-grow: 1;
        width: 100%;
        height: 100%;
        min-height: 430px;
        display: none;
        background: var(--moma-lighter-gray) !important;
        border-radius: var(--moma-radius) !important;
        padding: calc(var(--moma-form-elm-padding-v)*3) var(--moma-form-elm-padding-h);
        box-sizing: border-box;
 
 }
 
 @media screen and (max-width: 600px) {
 
  	.moma-popup .moma-tabs .moma-tab { min-height: 554px; }
  	
 }
 
 .moma-popup .moma-tabs .moma-tab > h3 {
 
        margin: 0;
        margin-bottom: 20px;
        display: none;
 
 }
  
 .moma-popup .moma-tabs input[type="radio"] {
        display: none;
 }

 .moma-popup .moma-tabs > label.selected,
 .moma-popup .moma-tabs > nav.moma-tabs-labels-wrapper > label.selected,
 .moma-popup .moma-tabs input[type="radio"]:checked + label {
 
        background: var(--moma-lighter-gray);
        border-radius: var(--moma-radius) var(--moma-radius) 0 0; 
        transform: scale(1,1);
    	
 }

 .moma-popup .moma-tabs .moma-tab.selected,
 .moma-popup .moma-tabs input[type="radio"]:checked + label + .moma-tab {
        display: block;
 }
 
  .moma-popup .moma-tabs .moma-tab.selected {
	  
        border: none !important;
        outline: none !important;
  }
  
 .moma-popup .moma-tab > p {
 
        display: inline-block;
        width: 50%;
        margin: var(--moma-form-elm-padding-v) 0 calc(var(--moma-form-elm-padding-h) * 2) 0;
    
}

.moma-popup.shortcut_popup {
	
	max-width: 1200px !important;
	max-height: 560px !important;
	top: 0% !important;
	
}

@media ( max-width: 510px ) {
	
	.moma-popup.shortcut_popup {
	
		max-width: none !important;
		top: 0 !important;
	
	}
	
}


 .moma-popup .moma-tab span.shortcut_keys {
 
        background-color: #FFF;
        color: #000;
        border-radius: var(--moma-radius);
        padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h);
        margin-right: var(--moma-form-elm-margin-v);
        font-style: italic;
        text-align: center;
        box-shadow: none;
        border-top: 0;
    	border-left: 0;
    	border-color: var(--moma-gray);
    
}

@media screen and (max-width: 600px) {
	
	.moma-popup .moma-tab > p { width: 100%; }
	
	.moma-popup .moma-tabs > label i,
	.moma-popup .moma-tabs > nav.moma-tabs-labels-wrapper > label i { margin-right: 0; }
	.moma-popup .moma-tabs input[type="radio"]:checked + label i  { margin-right: 15px; }
	
	 .moma-popup .moma-tabs > label i.tabs_counter::after,
	 .moma-popup .moma-tabs > nav.moma-tabs-labels-wrapper > label i.tabs_counter::after,
	.moma-popup .moma-tabs > label span,
	.moma-popup .moma-tabs > nav.moma-tabs-labels-wrapper > label span { display: none; }
	.moma-popup .moma-tabs > label:first-of-type,
	.moma-popup .moma-tabs > nav.moma-tabs-labels-wrapper > label:first-of-type { margin-left: 15px; }
	.moma-popup .moma-tab span.shortcut_keys { 
	
		margin-left: 0;
		padding: var(--moma-form-elm-padding-v) 8px;
		
	}
	
	 .moma-popup .moma-tabs .moma-tab > h3 { display: block; }
	
}
  
/** MOMA TABS END **/ 

 .moma-popup .moma-input.lo_field { background-color: transparent !important; }
 .moma-popup .moma-input.lo_field.digit_for_ip_verification:focus { background-color: transparent !important; }
 
/* Changes for inputs */

/* End of Changes for inputs */

  
  /** Super specific changes **/
  
  .mywindow.moma-popup.responsive { max-width: 600px !important; }
  
  #controller_content.moma-popup.downloadPdf { height: auto !important; max-height: 625px !important; }
  
  #controller_content.moma-popup.syndicaterequest,#controller_content.moma-popup.freeze { max-width: 1100px !important; }
  @media (max-width: 510px ) { #controller_content.moma-popup.syndicaterequest { max-width: none !important; } }
  
  .moma-popup.syndicaterequest #controller_content_message { overflow-y: hidden; }
  
  .moma-popup.syndicaterequest #syndication-list-container { overflow-y: auto; max-height: 293px; }
  
  @media ( max-width: 510px ) { 
  	
  	.moma-popup.syndicaterequest #syndication-list-container {
  		max-height: 400px;
  	} 
  }

  @media ( max-width: 768px ) { 
  	
    .moma-popup.syndicaterequest #syndication_form { 
      min-width: unset!important; 
    }
    .moma-popup #syndication-list-container .syndication-table-header div:nth-child(3),
    .moma-popup #syndication-list-container .syndication-table-header div:nth-child(4), 
    .moma-popup .syndication_table tr.moma-flex-row td:nth-child(3), 
    .moma-popup .syndication_table tr.moma-flex-row td:nth-child(4){
      width: 25%!important;
    }
    .moma-popup .syndication_table tr.moma-flex-row td:first-child{
      width: 40%;
    }
  		
  }
  
  .moma-popup.syndicaterequest #syndication_form { min-width: 812px; }
  
  .moma-popup #syndicate_to_frame { font-size: var(--moma-fontsize-m); }
  
  .moma-popup #controller_content_message #account_filter_container { position: relative; }
  
  #controller_content.moma-popup.syndicaterequest #account_filter_container input[type='text'] {

	border: 0px none;
	border-radius: var(--moma-search-radius) !important;
  	font-family: var(--moma-font);
    font-size: var(--moma-fontsize-m) !important;
    margin: 0;
  	max-width: none;
    padding: var(--moma-search-padding) !important;
  	width: 100%;
  
  }
  
  .moma-popup.syndicaterequest input[type='checkbox'].moma-checkbox + label { display: block; }
  
  .moma-popup.syndicaterequest input[type='checkbox'].moma-checkbox + label:first-letter { text-transform: uppercase; }
  
  .moma-popup.syndicaterequest input[type='checkbox'].moma-checkbox + label:before { color: white; font-size: 26px; }
  .moma-popup.syndicaterequest input[type='checkbox'].moma-checkbox:checked + label:before { color: var(--moma-blue); }

  .moma-popup.syndicaterequest input[type='checkbox'].moma-checkbox.syndication-tools + label:before { display: none; }
  
  .moma-popup.syndicaterequest input[type='checkbox'].moma-checkbox + label[for^='syndysel_all_'] { color: var(--moma-blue); cursor: pointer; font-weight: var(--moma-regular); font-size: var(--moma-fontsize-s) !important; }
  
  .moma-popup.syndicaterequest #account_filter_container { margin-bottom: 20px; }
  
  .moma-popup #controller_content_message #account_filter_container input[type='text']:focus { background-color: transparent; }
  
  .moma-popup #controller_content_message #account_filter_container:after {
  
  	content: '\f002';
    font-family: fontawesome;
    font-size: 20px;
    inset: 7.5px 10px auto auto;
    position: absolute;
    right: 15px !important;
    top: 13px !important;
  
  }
  
  .moma-popup #syndication-list-container .syndication-table-header {

	font-size: var(--moma-fontsize-m);
  	font-weight: var(--moma-bold);
  	padding-bottom: 20px;
  
  }
  
  .moma-popup #syndication-list-container .syndication-table-header:first-letter { text-transform: uppercase; }
  
  .moma-popup #syndication-list-container .syndication-table-header div:not(.username) {
  
  	box-sizing: border-box;
  	padding: 0px 10px;
  	text-align: center;
  
  }
  
  .moma-popup #syndication-list-container .syndication-table-header div:not(.username) span {
  
  	display: inline-block;
  	margin-bottom: 5px;
  	  	
  }
  
  .moma-popup #syndication-list-container .syndication-table-header div.username:first-letter,
  .moma-popup #syndication-list-container .syndication-table-header div:not(.username) span:first-letter { text-transform: uppercase; }
  
  .moma-popup .syndication_table tr.moma-flex-row {
  
  	padding-top: 0px !important;
  	padding-bottom: 10px !important;
  
  }
  
  .moma-popup .syndication_table tr.moma-flex-row td:first-child {
  
  	flex-grow: 1;
  
  }
  
  .moma-popup .syndication_table tr.moma-flex-row td:not(.username) {
  
  	box-sizing: border-box;
    padding: 0px 10px;
    text-align: center;
    
  }
  
  .moma-popup .syndication_table tr.moma-flex-row td[align='center'] {
  
  	text-align: center !important;
  
  }
  
  .moma-popup #syndication-list-container .syndication-table-header div:nth-child(3),
  .moma-popup #syndication-list-container .syndication-table-header div:nth-child(4),
  .moma-popup .syndication_table tr.moma-flex-row td:nth-child(3),
  .moma-popup .syndication_table tr.moma-flex-row td:nth-child(4) {
  
  	width: 20%;
  
  }
  
  .moma-popup table.syndication_table td div.moma-select {

	margin-right: 5px;
	min-width: 120px;
  	width: auto;
  
  }
  
  .moma-popup table.syndication_table td div.moma-select select { margin-bottom: 0px !important; }
  
  .moma-popup table.syndication_table td input.moma-checkbox { margin: auto; }
  
  .moma-popup table.syndication_table td {
  
  	padding: 0 0 var(--moma-form-elm-padding-v) 0;
  
  }
  
  .moma-popup #syndication-list-container span.syndication-tools {
  
  	cursor: pointer;
  	display: block;
  	font-size: 10px;
  	font-weight: var(--moma-regular);
  
  }
  
  .moma-popup #syndication-list-container .syndication-table-row {
  
  	padding: 5px 0px;
  	margin: 0px;
  
  }
  
  .moma-popup.freeze table#quick_card_table.moma-table tr:first-child td { font-weight: var(--moma-bold) !important; }
  
  .moma-popup.freeze table#quick_card_table.moma-table tr td:first-child { font-weight: var(--moma-bold) !important; }
  
  .moma-popup #quick_card_table td input,
  .moma-popup #quick_card_table td select {
  
  	color: var(--moma-dark-gray) !important;
  
  }
  
  .moma-popup.freeze #quick_card_table td img {
  
  	object-fit: contain;
    object-position: center;
    height: 80px;
    width: 80px;
  
  }
  
  .moma-popup #controller_content_message table.withselectable tr input:enabled,
  .moma-popup #controller_content_message table.withselectable tr select:enabled {
  
  	background-color: white !important;
  
  }
  
  .download_popup.moma-popup .mywindow_title_bar i { display: none; }
  
  .moma-popup #upload {

	box-sizing: border-box;
	display: flex;
	flex-flow: column;
	height: 100%;
	justify-content: stretch;
	margin: 0;
  	width: 100%;
  	
  }
  
  .moma-popup #kupload_header {
  
  	background: white;
    border-bottom: 0;
    box-sizing: border-box;
    display: inline-block;
    font-size: 14px;
    font-weight: var(--moma-bold);
    height: auto;
    text-transform: uppercase;
    padding: 10px;
    width: 100%;
  
  }
  
  .moma-popup #kupload_header .kupload_file_size {
  
  	width: 95px !important;
  
  }
  
  #kupload_header .kupload_file_action { width: auto !important; }
  
  #kupload_filelist .kupload_file_action {
  
  	box-sizing: border-box;
  	color: var(--moma-gray);
  	height: auto !important;
  	margin: 0px !important;
  	padding: 0px 10px !important;
  	text-align: center !important;
  	width: 30px !important;
  
  }
  
  #kupload_filelist .kupload_file_action .kupload_icon:after { font-family: fontawesome; font-style: normal; font-size: var(--moma-fontsize-l); }
  
  #kupload_filelist .kupload_file_action .kupload_icon.kupload_delete:after {
  
  	content: '\f056';
  	
  }
  
  #kupload_filelist .kupload_file_action .kupload_icon.kupload_delete:hover:after {
  
  	color: var(--moma-red);
  	cursor: pointer;
  	
  }
  
  #kupload_filelist .kupload_file_action .kupload_icon.kupload_error:after {
  
  	content: '\f071';
  	color: var(--moma-red);
  
  }
 
  #kupload_filelist .kupload_file_action .kupload_icon.kupload_uploading:after {
  
  	content: '\f110';
  	color: #000;
  
  }
  
  #kupload_filelist .kupload_file_action .kupload_icon.kupload_success:after {
  
  	content: '\f111';
  	color: var(--moma-dark-green);
  	
  }
  
  .moma-popup #kupload_filelist {
  
    background-color: white;
    height: auto;
    flex-grow: 1;
    
    border-top: 2px solid var(--moma-light-gray);
  
  }
  
  .moma-popup #kupload_filelist.empty {
  
  	border: 3px dashed var(--moma-gray);
  	display: flex !important;
  	flex-flow: column;
  	align-items: center;
  	justify-content: center;
  
  }
  
  .moma-popup #kupload_filelist.empty:before {
  
  	content: '\f0ee';
  	color: var(--moma-gray);
  	font-family: fontawesome;
  	font-size: 55px;
  
  }
  
  .moma-popup #kupload_filelist.empty:after {
  
  	content: attr(data-dndtext);
  	color: var(--moma-gray);
  	font-size: 18px;
  
  }
  
  .moma-popup #kupload_filelist li {
  
  	background-color: white;
  	border-bottom: 1px solid var(--moma-light-gray);
    display: inline-block;
  	height: auto;
    padding: 10px 0;
    width: 100%;
  
  }
  
  #upload_content.moma-popup #todataid.foreground,
  #upload_content.moma-popup #toid.foreground {
  
    border: 0px none;
    font-size: var(--moma-fontsize-m);
    font-variant: normal;
    font-weight: var(--moma-regular);
  	margin: 0 0 20px;
  	padding: 0px;
  
  }
  
  #upload_content.moma-popup #todataid.foreground:first-letter,
  #upload_content.moma-popup #toid.foreground:first-letter {
  
  	text-transform: uppercase;
  
  }
  
  .mywindow.moma-popup.support_wizard { max-height: 650px !important; }
  
  .mywindow.moma-popup.support_wizard #support_request_form select { margin-top: 0px !important; }
  
  .moma-popup.support_wizard #support_request_form {
  
  	left: var(--moma-form-elm-padding-h) !important;
  	right: var(--moma-form-elm-padding-h) !important;
  	top: 165px;
  
  }
  
  @media ( max-width: 510px ) {
  
    .mywindow.moma-popup.support_wizard {
    
    	max-height: none !important;
    	
    }
  
  	.moma-popup.support_wizard #support_request_form {
  	
  		top: 250px;
  	
  	}
  
  }
  /* div.mywindow.coockie_wizard #setupwizard_procedure + div.kickoff */
  div.mywindow.coockie_wizard #setupwizard_main + div.kickoff {
  
    border: 0px none;
    left: var(--moma-form-elm-padding-h) !important;
    margin: 0;
    padding: 0;
    right: var(--moma-form-elm-padding-h) !important;
  	top: 100px !important;
  	
  }
  
  #controller_content.moma-popup.localization {
  
  	height: auto;
  
  }
  
  div.moma-popup.embed_popup {
  
  	max-height: 700px !important;
  	max-width: 1000px !important;
  
  }
  
  @media ( max-width: 510px ) {
  
  	div.moma-popup.embed_popup {
  
  		max-height: none !important;
  		max-width: none !important;
  
  	}
  
  }
  
  div.moma-popup.embed_popup #overflower {
  
    box-sizing: border-box;
	left: 0px !important;
	right: 0px !important;
	padding: calc(var(--moma-form-elm-padding-v) * 2) var(--moma-form-elm-padding-h);
  
  }
  
  .moma-popup.embed_popup .embed-options-container ul li {
  
    margin: 0px 0px 10px !important;
  	padding: 0px !important;
  
  }
  
  .moma-popup.embed_popup .embed-options-container ul li:last-child {
  
  	margin-bottom: 0 !important;
  
  }
  
  .moma-popup.embed_popup h1.preview-desc {
  
	background-color: transparent;
    padding-left: 0px;
    font-weight: var(--moma-regular);
    text-decoration: none;
  
  }
  
  .moma-popup.embed_popup #embed-preview {
  
  	background-color: var(--moma-lighter-gray) !important;
  	border: 1px solid var(--moma-light-gray) !important;
  	max-height: none !important;
  	padding: 20px !important;
  
  }
  
  #embed-form li input[type='checkbox'] + label:after {
  
  	font-size: 50px !important;
  
  }
  
  div.moma-popup.shareobj_popup #overflower {
  
  	bottom: 55px;
  	top: 80px;
  
  }
  
  div.moma-popup.shareobj_popup i.fa-thumbs-up:before,
  div.moma-popup.embed_popup i.fa-thumbs-up:before {
  
  	width: auto;
	margin: auto;
    height: auto;
    width: 100px;
    color: var(--moma-dark-gray);
    height: 100px;
    padding: 20px;
    display: block;
    font-size: 70px;
    line-height: 150%;
    margin-bottom: 20px;
    font-family: fontawesome;
  
  }
  
  div.moma-popup.shareobj_popup i.fa-thumbs-up:before { margin-bottom: 0px; }
  
  div.moma-popup.shareobj_popup div.embed-message,
  div.moma-popup.embed_popup div.embed-message {
  
  	color: var(--moma-dark-gray);
  	font-weight: var(--moma-bold);
  	margin: calc( var(--moma-form-elm-padding-v) * 5 ) 0 !important;
  
  }
  
  div.moma-popup.shareobj_popup div.embed-message {
  
  	margin: calc( var(--moma-form-elm-padding-v) * 3 ) auto !important;
  	max-width: 70%;
  
  }
  
  @media ( max-width: 510px ) { div.moma-popup.shareobj_popup div.embed-message { max-width: none;} }
  
  div.moma-popup.shareobj_popup div.embed-message:before,
  div.moma-popup.embed_popup div.embed-message:before {

  	display: none;
  
  }
  
  div.moma-popup.shareobj_popup div.embed-content,
  div.moma-popup.embed_popup div.embed-content {
  
  	background-color: var(--moma-lighter-gray);
  	box-sizing: border-box;
  	margin: auto 0 0;
  	padding: 40px 20px;
  
  }
  
  div.moma-popup.shareobj_popup #shareobj-link-area { text-align: center; font-weight: bold !important; padding-top: 6.5% !important; }
  
  div.moma-popup.shareobj_popup div[class$=-info-container] p { padding-left: 0px; }

  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt {

    display: flex;
    width: 100%;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;

  }

  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt p { width: 73.5%; }

  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt div input#embed-size-slider { width: 100%; }

  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt div input#embed-size-slider:focus { box-shadow: none;}

  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt div { flex-grow: 1; }

  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt div.other-image-size-opt { width: 100%; }
  
  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt div input { height: 50px; }
  
  .mywindow[window_type=big_popup].embed_popup .embed-options-container ul li.image-size-opt div output { display: none !important; }
  
  .moma-popup #upload_content_body div.modified_value {
  
  	background-color: transparent;
    box-shadow: none;
    font-family: var(--moma-font);
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
  
  }
  
  .moma-popup.single-edit-metadata.reserved_to #upload_content_body {
  
    align-content: flex-start;
  	display: flex !important;
  	flex-flow: row wrap;
  	justify-content: flex-start;
  
  }
  
  .moma-popup.single-edit-metadata.reserved_to #upload_content_body p#toid.foreground {
  
  	width: 100%;
  
  }
  
  .moma-popup.single-edit-metadata.reserved_to #upload_content_body #myprompt_form {
  
  	width: 48%;
  
  }
  
  .moma-popup.single-edit-metadata.reserved_to #upload_content_body #reserved_to_frame {
  
  	height: 100% !important;
  	margin: 0px;
  	padding: 0px 0px 0px 25px;
  	width: 48%;
  
  }

  #controller_content.moma-popup.confirm_empty_trash_title {
  
  	max-height: 350px !important;
  	max-width: 650px !important;
  	top: -5% !important;
  
  }
  
  @media ( max-width: 510px ) {
  
  	#controller_content.moma-popup.confirm_empty_trash_title {
  	
  		max-height: none !important;
  		max-width: none !important;
  		top: 0 !important;
  	
  	}
  
  } 

  #controller_content.moma-popup.confirm_empty_trash_title #controller_content_message {

	align-items: center !important;
  	display: flex !important;
  	flex-flow: column;
  	justify-content: center !important;
  	text-align: center;
    width: 100% !important;
  
  }
  
  #controller_content.moma-popup.confirm_empty_trash_title #controller_content_message:before {
  
  	content: '\f1f8';
  	display: block;
  	font-family: fontawesome;
  	font-size: 70px;
  	margin-bottom: 20px;
  
  }
  
  div.moma-popup.requestitem label.moma-label {
  
  	display: block;
  	margin-bottom: 20px;
  	text-align: left;
  
  }
  
  div.moma-popup.requestitem .email-content > div { width: 100% !important; }
  
  div.moma-popup.requestitem .email-content > div:first-child { border-radius: var(--moma-radius) var(--moma-radius) 0 0; }
  div.moma-popup.requestitem .email-content > div:last-of-type { overflow:visible !important; border-radius: 0 0 var(--moma-radius) var(--moma-radius); } 
  
  div.moma-popup.requestitem .email-content .nicEdit-panelContain {
  
  	background-color: var(--moma-lighter-gray) !important;	
  	border: 1px solid var(--moma-gray) !important;
  	border-radius: var(--moma-radius) var(--moma-radius) 0 0;
  
  }
  
  div.moma-popup.requestitem .confirmation-message { line-height: 1 !important; }
  
  div.moma-popup.requestitem .confirmation-message:before {
  
  	content: '\f164';
  	display: block;
  	font-family: fontawesome;
  	font-size: 70px;
  	margin-bottom: 20px;
  
  }
  
  .moma-popup div#duplicate_policy {
  
    box-sizing: border-box;
    color: white;
    font-size: 12px;
  	height: auto !important;
  	margin: 0 auto;
  	padding: 2px 10px;
  	width: auto;
  
  }
  
  .moma-popup div#duplicate_policy:hover {
  
  	box-shadow: none;
  	text-decoration: underline;
  
  }
  
  .moma-popup div#duplicate_policy:after {
  
  	content: attr(title);
  
  }
  
  .moma-popup div#duplicate_policy.reject {
  
  	background-color: var(--moma-red);
  
  }
  
  .moma-popup div#duplicate_policy.replace_image {
  
  	background-color: var(--moma-orange);
  
  }
  
  .moma-popup div#duplicate_policy.replace_image_and_metadata {
  
  	background-color: var(--moma-dark-green);
  
  }
  
  
/* visualizza come */

#controller_content.moma-popup.toggleReserved { max-height: 570px !important; }

.moma-popup .moma-tabs .moma-tab#reserved_account_list_view,
.moma-popup .moma-tabs .moma-tab#reserved_tag_list_view { min-height: 400px !important; }

#controller_content.moma-popup.toggleReserved #table_content_message #controller_botton { display: none; }

#controller_content.moma-popup.toggleReserved {
	
	max-height: 570px !important;
	max-width: 1000px !important;
	top: 0% !important;
	
}

@media ( max-width: 510px ) {
	
	#controller_content.moma-popup.toggleReserved {
	
		max-height: none !important;
		max-width: none !important;
		top: 0 !important;
	
	}
	
}

.moma-popup .moma-tabs .moma-tab#reserved_account_list_view,
.moma-popup .moma-tabs .moma-tab#reserved_tag_list_view { min-height: 400px !important; }

#controller_content.moma-popup.toggleReserved #table_content_message #controller_botton { display: none; }

#controller_content.moma-popup.toggleReserved #reserved_to_frame div#reserved_account_list_view, 
#controller_content.moma-popup.toggleReserved #reserved_to_frame div#reserved_tag_list_view {
	
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
	
}

#controller_content.moma-popup.toggleReserved #resetreserved_to_user { 

	position: absolute;
    right: 0;
    top: 6px;
    font-size: var(--moma-fontsize-s);
    text-transform: capitalize;
    color: var(--moma-blue);
    z-index: 1;

}

#controller_content.moma-popup.toggleReserved #account_filter_container,
#controller_content.moma-popup.toggleReserved #tag_filter_container { margin: 10px 0 0 !important; }

#controller_content.moma-popup.toggleReserved #account_filter_container input[type="text"], #controller_content.toggleReserved #tag_filter_container input[type="text"] {
	
	border-radius: var(--moma-search-radius) !important;
	padding: var(--moma-search-padding) !important;
	
}

#controller_content.toggleReserved #account_filter_container input[type="text"]:focus, 
#controller_content.toggleReserved #tag_filter_container input[type="text"]:focus {
	
	box-shadow: var(--moma-shadow);
    outline: 2px solid var(--moma-orange);
    outline-offset: -2px;
	
}

#controller_content.moma-popup.toggleReserved #reserved_to_frame h4.title_momatabs,
.moma-popup.lightboxesOwnerSelection h4.title_momatabs { 
	
	margin: 4px 0 20px 0 !important;
    font-size: 14px;
    max-height: none;
	
}

#controller_content.moma-popup.toggleReserved div.moma-tab #account_filter_container:after, 
#controller_content.moma-popup.toggleReserved div.moma-tab #tag_filter_container:after { 
	
	top: 13px !important;
	color: var(--moma-dark-gray);
	
}

#controller_content.moma-popup.toggleReserved #account_filter_container input[type="text"], 
#controller_content.moma-popup.toggleReserved #tag_filter_container input[type="text"] {
	
	font-family: var(--moma-font);
	font-size: var(--moma-fontsize-m) !important;
	
}

#controller_content.moma-popup.toggleReserved #reserved_to_frame p:hover {
	
	background-color: var(--moma-gray) !important;
	color: white;
	
}

#controller_content.moma-popup.toggleReserved #reserved_tag_list_view.moma-tab, 
#controller_content.moma-popup.toggleReserved #reserved_account_list_view.moma-tab, 
#controller_content.moma-popup.toggleReserved #reference_tag_list_view.moma-tab, 
#controller_content.moma-popup.toggleReserved #reference_account_list_view.moma-tab
#controller_content.moma-popup.toggleReserved #locked_tag_list_view.moma-tab, 
#controller_content.moma-popup.toggleReserved #locked_account_list_view.moma-tab { background: var(--moma-lighter-gray); }


 #controller_content.moma-popup.toggleReserved #reserved_to_frame div.tags-list-container {
 
 	margin-top: 0;
 	max-height: 300px !important;
 	
 }
 
 #controller_content.moma-popup.toggleReserved #reserved_to_frame p {
 
 	align-items: center;
 	display: flex;
    height: 50px;
    flex-flow: column;
    justify-content: center;
    
 	text-align: center !important;
 
 }
 
 #controller_content.moma-popup.toggleReserved #reserved_to_frame p span,
 #controller_content.moma-popup.toggleReserved #reserved_to_frame p em {
 
 	width: 100%;
 	text-align: center;
 
 }
 
 #controller_content.moma-popup.toggleReserved #reserved_to_frame p span { font-weight: var(--moma-regular) !important; }
 #controller_content.moma-popup.toggleReserved #reserved_to_frame p em   { font-weight: var(--moma-bold) !important; }
 
 #controller_content.moma-popup.toggleReserved #reserved_to_frame p span.setreservedto.tag_momatabs {
 
    font-weight: inherit;
    font-size: var(--moma-fontsize-m);
 
}
 
@media ( max-width: 510px ) {
 
 	#controller_content.moma-popup.toggleReserved #reserved_to_frame h4.title_momatabs { max-height: 160px !important; }
 	
 	#controller_content.moma-popup.toggleReserved #reserved_to_frame p { 
 	
 		width: 30% !important;
    	margin-right: 2.9% !important;
 	
 	}
 	
 	.moma-popup .moma-tabs input[type=radio]:checked + label span { 
 	
 		display: block !important;
 		font-size: 13px;
 		
 	}
 	
}
 
/* My profile */

.mywindow.moma-popup.profile ul { margin: 0 0 20px !important; }

.mywindow.moma-popup.profile ul.gray {
	
	background-color: white !important;
    border: 0 !important;
    padding-bottom: 16px;
	
}
 
.mywindow.moma-popup.profile ul > li.header {
	
	background: transparent !important;
    color: var(--moma-blue) !important;
    font-weight: var(--moma-bold) !important;
    text-transform: capitalize !important;
    font-size: 1.17em;
    padding: 20px 15px !important;
    text-shadow: none !important;
	
}

.mywindow.moma-popup.profile ul.gray > li { border-bottom: 0 !important; }

.mywindow.moma-popup.profile #setupwizard_main input { 
	
	float: none !important;
	margin-top: 0 !important;
	
}

.mywindow.moma-popup.profile ul > li label { padding-top: 8px !important; }

.mywindow.moma-popup.profile ul.gray li.momaassistant-permissions-row {
	
	display: flex;
	align-items: flex-start;
	gap: 10px;
	
}

.mywindow.moma-popup.profile ul.gray li.momaassistant-permissions-row .momaassistant-permissions-label {
	
	flex: 1 1 auto;
	margin-right: 10px;
	
}

.mywindow.moma-popup.profile ul.gray li.momaassistant-permissions-row .momaassistant-permissions-select-wrapper {
	
	flex: 0 0 auto;
	min-width: 80px;
	max-width: 100px;
	
}

.mywindow.moma-popup.profile #setupwizard_main .containerBox {
	
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h);
    background: white;
    border-radius: var(--moma-radius);
	
}

.mywindow.moma-popup.profile #setupwizard_main h3 {
	
	color: var(--moma-blue);
    font-weight: var(--moma-bold);
    text-transform: capitalize;
	
}


@media ( max-width: 600px ) {

	.mywindow.moma-popup.profile #setupwizard_main ul li span,
	.mywindow.moma-popup.profile #setupwizard_main ul li input { width: 240px !important; }

}

/* My activities */

.mywindow.moma-popup.profile { max-width: 60% !important; }

@media ( max-width: 510px ) { .mywindow.moma-popup.profile { max-width: none !important; } }

.mywindow.moma-popup.profile #report_form {
	
	background-color: transparent !important;
    border: 0;
    border-bottom: 1px solid var(--moma-gray);
    padding-bottom: var(--moma-form-elm-padding-v);
	
}

.wizard-activity-download-history-popup .moma-grid-container{
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.wizard-activity-download-history-popup button{
  min-width: unset;
  width: 100px;
}

.mywindow.moma-popup.profile table.fe_download_report {
	
	border: 0 !important;
	margin: auto !important;
	
}

.mywindow.moma-popup.profile #quick_card_table td { font-weight: normal !important; }

.mywindow.moma-popup.profile table.fe_download_report tr th { font-weight: var( --moma-bold) !important; }

.moma-popup #setupwizard_main #overflower { 
	
	padding: 0;
	left: calc(var(--moma-form-elm-padding-h)*2);
    overflow: auto;
    right: calc(var(--moma-form-elm-padding-h)*2);
	
}

.moma-popup #setupwizard_main div.argomento,
.moma-popup #setupwizard_main div.file_name { flex-grow: 1; }
.moma-popup #setupwizard_main div.idfoto { width: 90px; }
.moma-popup #setupwizard_main div.ipv4 { width: 140px; flex-grow: 1; } 
.moma-popup #setupwizard_main div.orderid { width: 106px; }
.moma-popup #setupwizard_main div.status { 
	
	width: 140px;
	background: transparent;
    border: 0;
    border-radius: 0;
    height: auto;
    margin: 0;
	
} 


table.moma-table > tbody > tr:hover table.order-inner-table { color: var(--moma-dark-gray) !important; }


.apriFiltri { 
	
	border: 0;
	outline: none;
	margin-bottom: 20px;
	
	display: none;
	
}

@media ( max-width: 600px ) {
	
	.apriFiltri { display: block; }
	
	.mywindow.moma-popup.profile #overflower { 
	
		top: 144px !important;
		z-index: -1;
		
	}
	
	.report_form_class {
	
		height: 100% !important;
		border-bottom: 0 !important; 
	
	}
	
	.report_form_class.closed { 
	
		
		height: 0 !important;
		padding: 0 !important;
	
	}
	
	.mywindow.moma-popup.profile #overflower.visible { z-index: 1; }

}

/* Password Recovery */
.mywindow.moma-popup.pwrecovery_wizard { 
	
	max-height: 450px !important;
	max-width: 750px;
	top: 0% !important;
	
}

@media ( max-width: 510px ) {
	
	.mywindow.moma-popup.pwrecovery_wizard {
	
		max-height: none !important;
		max-width: none !important;
		top: 0 !important;
	
	}
	
}

.moma-popup #pwrecovery_message {
	
	margin: 30px auto 10px;
    text-align: left;
    font-size: 16px;
    color: var(--moma-dark-gray);
    max-width: 100%;
	
}

.moma-popup #pwrecovery_message center { 
	
	width: 75%;
	margin: auto;
	
}

.moma-popup #pwrecovery_submit,
.moma-popup #pwrecoveryver_submit { display: none !important; }

.moma-popup [id^=mywindow_button_ipsrcver_submit_]:hover,
.moma-popup [id^=mywindow_button_pwrecovery_submit_]:hover {
	
	background-color: var(--moma-green);
 	color: var(--moma-dark-green);
	
}

.moma-popup [id^=mywindow_button_pwrecovery_submit_]:after,
.moma-popup [id^=mywindow_button_ipsrcver_submit_1]:after { content: "\f054"; }

.moma-popup.report_preview #vdownload_toolbar {

	align-items: center;
	background-color: var(--moma-lighter-gray);
	border: 0px none;
	border-radius: var(--moma-radius);
	box-sizing: border-box;
	display: flex;
    flex-flow: row wrap;
    height: auto;
    justify-content: flex-start;
    left: 5px;
    padding: 10px 15px;
    position: sticky;
    z-index: 1;
	
}

.moma-popup.report_preview #vdownload_toolbar span.vdownload_tool {
	
	background-color: var(--moma-dark-gray);
	border-radius: var(--moma-radius);
	box-sizing: border-box;
	color: white;
	cursor: pointer;
	margin-right: 15px;
	padding: 10px 15px;
	
}

.moma-popup.report_preview #vdownload_toolbar span.vdownload_tool:hover {
	
	background-color: var(--moma-blue);
	
}

.moma-popup.report_preview #vdownload_toolbar span.vdownload_tool:before {
	
	font-family: fontawesome;
	font-size: 18px;
	
}

.moma-popup.report_preview #vdownload_toolbar span.vdownload_tool.vdownload_new:before { content: '\f067'; }
.moma-popup.report_preview #vdownload_toolbar span.vdownload_tool.vdownload_edit:before { content: '\f040'; }
.moma-popup.report_preview #vdownload_toolbar span.vdownload_tool.vdownload_save:before { content: '\f0c7'; }

.moma-popup.report_preview table.withselectable {
	
	width: 100%;
	
}

.moma-popup.report_preview #quick_card_table tr td:first-child { width: auto; }

.moma-popup.report_preview tr.tr1:hover,
.moma-popup.report_preview tr.tr0:hover {
	
	outline: 0px none;
	
}

.moma-popup.report_preview #quick_card_table td.header { font-weight: var(--moma-bold) !important; }

div.pwrecovery_wizard.moma-popup  input.lo_field.digit_for_ip_verification {
	
	width: 42px !important;
    height: 48px !important;
    border: 1px solid var(--moma-gray) !important;
    border-radius: var(--moma-radius) !important;
	
}

div.pwrecovery_wizard.moma-popup .pwrecovery_digit_table {
	border: 0;
	width: auto;
	margin: 16px auto;
	border-collapse: separate;
	border-spacing: 8px 0;
}
div.pwrecovery_wizard.moma-popup .pwrecovery_digit_cell {
	padding: 0;
	vertical-align: middle;
	width: 44px;
	max-width: 44px;
}
div.pwrecovery_wizard.moma-popup input.lo_field.pwrecovery_digit_input,
div.pwrecovery_wizard.moma-popup input.moma-input.pwrecovery_digit_input {
	box-sizing: border-box;
	width: 44px !important;
	height: 48px !important;
	min-width: 44px;
	min-height: 48px;
	max-width: 44px;
	max-height: 48px;
	padding: 0 !important;
	margin: 0;
	float: none !important;
	text-align: center;
	font-size: 1.25rem;
	font-variant-numeric: tabular-nums;
	border: 1px solid var(--moma-gray) !important;
	border-radius: var(--moma-radius) !important;
}
div.pwrecovery_wizard.moma-popup input.lo_field.pwrecovery_digit_input:focus {
	border-color: var(--moma-primary, #0a7ea4) !important;
	box-shadow: 0 0 0 2px rgba(10, 126, 164, 0.25);
	background-color: transparent !important;
}

/** Lightbox owner selection */
.mywindow.moma-popup.lightboxesOwnerSelection .mywindow_content { padding-top: var(--moma-form-elm-padding-v); }

.mywindow.moma-popup.lightboxesOwnerSelection #mywindow_title_bar_1 span.header { display: block !important; }

.mywindow.moma-popup.lightboxesOwnerSelection { 
	
	max-height: 624px !important;
	max-width: 800px !important;
	
}

@media ( max-width: 510px ) {
	
	.mywindow.moma-popup.lightboxesOwnerSelection {
	
		max-height: none !important;
		max-width: none !important;
	
	}	
	
}

 .mywindow.moma-popup.lightboxesOwnerSelection .lightboxes-owner-tabs label.selected,
 .mywindow.moma-popup.lightboxesOwnerSelection .lightboxes-owner-tabs input[type='radio']:checked + label { position: static !important; top: auto !important; }

.mywindow.moma-popup.lightboxesOwnerSelection .lightboxes-owner-tabs div div.owner-searchbox input[type="text"] {
	
	font-family: var(--moma-font);
    font-size: var(--moma-fontsize-m) !important;
    border-radius: var(--moma-search-radius) !important;
    padding: var(--moma-search-padding) !important;
    
}

.mywindow.moma-popup.lightboxesOwnerSelection .lightboxes-owner-tabs div div.owner-searchbox input[type="text"]:focus {
	
	box-shadow: var(--moma-shadow);
    outline: 2px solid var(--moma-orange);
    outline-offset: -2px;
	
}

.mywindow.moma-popup.lightboxesOwnerSelection .lightboxes-owner-tabs input[type='radio'] + label + div div.owner-searchbox:after {
	
	    top: 13px !important;
    	color: var(--moma-dark-gray);
	
}

.mywindow.moma-popup.lightboxesOwnerSelection .lightboxes-owner-tabs div div.owner-searchbox input[type="text"]::placeholder { 
	
	color:var(--moma-dark-gray);
	font-style: italic;
	
}
.lightboxes-owner-tabs label.selected,
.lightboxes-owner-tabs input[type='radio']:checked + label { position: static !important; top: auto !important; }

.mywindow.moma-popup.lightboxesOwnerSelection #resetlightbox_to_personal {

	color: var(--moma-blue);
	font-size: var(--moma-fontsize-s);
	position: absolute;
    right: 0;
    text-transform: capitalize;
    top: 6px;
    z-index: 1;
    
}

.moma-popup .lightboxes-owner-tabs input[type='radio']:checked + label + div ul li {
	
	display: flex;
	height: 50px;
	flex-flow: column;
    justify-content: center;
    align-items: center;
	
}

.moma-popup .lightboxes-owner-tabs input[type='radio']:checked + label + div ul li span {
	
    text-align: center;
    width: 100%;
	
}

.moma-popup .lightboxes-owner-tabs input[type='radio']:checked + label + div ul li span.login {
	
	font-weight: var(--moma-regular);
	
}

.moma-popup .lightboxes-owner-tabs input[type='radio']:checked + label + div ul li span.nome {
	
	font-weight: var(--moma-bold);
	
}

@media only screen and (max-width: 750px) {
	
	.lightboxes-owner-tabs input[type='radio'] + label {
	
		display: inherit !important;
		width: auto !important;
    	text-align: left !important;
    	white-space: normal !important;
    	text-overflow: clip !important;
    	overflow: hidden !important;
	
	}
	
	
}


.moma-popup.lightboxesOwnerSelection .lightboxes-owner-container h3.maintitle_momatabs { 
	
	margin: 4px 0px 20px 0px !important;
    font-size: 16px !important;
    max-height: none;
    font-variant: normal !important;
	
}

/* Aggiungi al Lightbox API */

#mywindow_advanced-lightboxes-add.mywindow.moma-popup {

    width: auto !important;
    min-width: 490px !important;
    max-width: 1000px !important;
    max-height: 595px !important;
    
}

@media ( max-width: 510px) {
	
	#mywindow_advanced-lightboxes-add.mywindow.moma-popup {
	
		min-width: auto !important;
    	max-width: none !important;
    	max-height: none !important;
	
	}
	
}
 

/** Lightbox owner selection */

/* Carrello */

.mywindow.moma-popup.checkout_popup { 
	
	max-height: 84% !important;
	max-width: 84% !important;
	
}

@media ( max-width: 510px ) {
	
	.mywindow.moma-popup.checkout_popup { 
		
		max-height: none !important;
		max-width: none !important;
		
	}

}

.mywindow.moma-popup.checkout_popup #setupwizard_main h3 { white-space: normal !important; }

.mywindow.moma-popup.checkout_popup.moma-popup #overflower { 
	
	top: 150px !important;
	bottom: 0 !important;
	
}

.mywindow.moma-popup.checkout_popup.moma-popup #form_account_details_cart .formelm { 
	
	margin: 0 !important;
	position: relative;
	
}

.mywindow.moma-popup.checkout_popup #overflower #form_account_details_cart .registration_form_error {
	
	font-size: var(--moma-fontsize-xs);
    font-weight: inherit;
    width: 66%;
    height: 28px;
    position: absolute;
    top: -6px;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
	
}

@media ( max-width: 600px ) {
	
	.mywindow.moma-popup.checkout_popup #overflower #form_account_details_cart .registration_form_error {
	
		position: static;
    	width: 95%;
    	text-align: left;
    	padding: 0;
    	margin: 4px 0 12px;
    	justify-content: flex-start;
    	
	}
	
}

.mywindow.moma-popup.checkout_popup.moma-popup i {
	
    color: var(--moma-dark-gray);
    font-size: var(--moma-fontsize-m);
    
}

.mywindow.moma-popup.checkout_popup.moma-popup i.fa-credit-card {
	
	font-size: 190px;
	
}

.mywindow.moma-popup.checkout_popup i:hover {
    color: var(--moma-blue) !important;
}

.mywindow.moma-popup.checkout_popup #form_account_details_cart.col3  ul { grid-column: span 2; }

@media ( max-width: 600px ) {
	
	.mywindow.moma-popup.checkout_popup #form_account_details_cart.col3 ul { grid-column: span 1; }

}

p.registration_form_error { color: var(--moma-red) !important; }

.mywindow.moma-popup.checkout_popup table, .checkout_popup div.table { padding: 0 !important; }

.mywindow.moma-popup.checkout_popup #box-cart-total, 
.mywindow.moma-popup.checkout_popup .box-cart-total { 
	
	max-width: none !important;
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
	border-top: 0 !important;
    background-color: var(--moma-lighter-gray) !important;
    border-radius: var(--moma-radius) !important;
	
}

.mywindow.moma-popup.checkout_popup .pricingTabBox table caption { margin: 0 !important; }

.mywindow.moma-popup.checkout_popup #cart-item-info div[id^='print_rate_quantity_'] { margin: auto 0 auto auto !important; }

.mywindow.moma-popup.checkout_popup .cart-item-id {
	
	background-color: transparent !important;
	font-weight: var(--moma-regular);
	font-size: var(--moma-fontsize-m);
	border-top: 0;
	
}

#shippingDetails.invisible { padding: 0 !important; }


.mywindow.moma-popup.checkout_popup #button_area {
	
    position: sticky;
    top: 0;
    
}

.mywindow.moma-popup.checkout_popup #downloadany {
	
	display: flex;
    width: 70%;
    height: 70%;
    margin: auto;
    justify-content: space-evenly;
    align-items: center;
	
}

.mywindow.moma-popup.checkout_popup #downloadany #downloadanyProgressStat, 
.mywindow.moma-popup.checkout_popup #downloadany #downloadanyProgressCont {
	
	font-size: var(--moma-fontsize-m) !important;
    font-weight: var(--moma-regular) !important;
	
}

.mywindow.moma-popup.checkout_popup #download_frame { width: 250px; }

.mywindow.moma-popup.checkout_popup #downloadany_action_button:hover { background-color: var(--moma-blue); }

.mywindow.moma-popup.checkout_popup #downloadany #svg circle { stroke: var(--moma-light-gray); }
.mywindow.moma-popup.checkout_popup #downloadany #svg #downloadanyProgressBar { stroke: var(--moma-blue); }

.mywindow.moma-popup.checkout_popup #downloadany #downloadanyProgressCont:after { box-shadow: none; }

.mywindow.moma-popup.checkout_popup #downloadany #downloadanyProgressCont.blue:after { color: var(--moma-blue); }

.mywindow.moma-popup.checkout_popup #thanks_buying { padding-bottom: 40px; }


@media ( max-width: 600px ) {
	
	.mywindow.moma-popup.checkout_popup #downloadany {
	
			height: 100%;
			flex-direction: column;
	
	}
	
}

.mywindow.moma-popup.checkout_popup #downloadany a.link {
	
	text-decoration: none;
    color: var(--moma-blue);
    font-weight: var(--moma-bold);
	
}



/* FINE CART */


/* UNSUBSCRIBE */

#body.unsubscribe .mywindow.moma-popup.checkout_popup {
	
	max-height: 50% !important;
    max-width: 50% !important;
	
}

#body.unsubscribe .mywindow.moma-popup.checkout_popup.moma-popup #overflower {
	
	top: 110px !important;
	display: flex;
    justify-content: center;
    align-items: center;
	
}

@media ( max-width: 600px ) {
	
	#body.unsubscribe .mywindow.moma-popup.checkout_popup {
	
	max-height: 94% !important;
    max-width: 94% !important;
	
}
	
}

.mywindow.moma-popup.checkout_popup .unsubscribediv {
	
    text-align: center;
    margin: 1% auto;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    
}

.mywindow.moma-popup.checkout_popup.moma-popup i.unsubscribe {
    font-size: 120px;
}

.mywindow.moma-popup.checkout_popup.moma-popup #unsub_confirm {
	
    cursor: pointer;
    text-decoration: none;
    color: var(--moma-blue);
    font-weight: var(--moma-bold);
    
}

@media ( max-width: 600px ) {
	
	.mywindow.moma-popup.checkout_popup .unsubscribediv {
	
			height: 100%;
			flex-direction: column;
	
	}
	
}

/* DISTRIBUISCI 2 */
#controller_content.moma-popup.syndicate2request #controller_content_message { 
	
	padding-bottom: 0;
	/*overflow:hidden;*/
	
}

#controller_content.moma-popup.syndicate2request #controller_content_message #thumbContainer {
	
	overflow-y: scroll;
	height: 322px;
	
}

#controller_content.moma-popup.syndicate2request { 
	
	max-height: 700px !important;
	max-width: 1100px !important;
	
}

@media screen and (max-width: 510px) {
	
	#controller_content.moma-popup.syndicate2request { 
	
		max-height: none !important;
		max-width: none !important;
		left: 0 !important;
	    right: 0 !important;
	    top: 0 !important;
	    bottom: 0 !important;
	    border-radius: 0 !important;
	
	}
	
}

#controller_content.moma-popup.syndicate2request table.moma-table tr td:first-child { width: 30%; }

.moma-popup.syndicate2request .moma-tabs .moma-tab { 
	
	min-height: 450px;
	max-height: 450px;
	height: 450px;
	
}

.moma-popup.syndicate2request .flex--column {
	
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
  
}

@media screen and (max-width: 880px) {
	
	.moma-popup.syndicate2request  .moma-tabs > label span { display: none; }
	.moma-popup.syndicate2request .moma-tabs input[type=radio]:checked + label span {
	
	    display: inline-block !important;
	    font-size: 13px;
    
	}

}


@media screen and (max-width: 760px) {
  
  	.moma-popup.syndicate2request .moma-flex-container:not(.elencoHover) { flex-direction: column; }
    .moma-popup.syndicate2request .moma-flex-container .moma-flex-cell.moma-width-50		{ width: 100%;  }
  
}


.moma-popup.edititem .moma-tabs .moma-tab#hierarchicthesaurus_list,
.moma-popup.edititem .moma-tabs .moma-tab#reserved_tag_list,
.moma-popup.edititem .moma-tabs .moma-tab#reserved_account_list,
.moma-popup.edititem .moma-tabs .moma-tab#reference_tag_list,
.moma-popup.edititem .moma-tabs .moma-tab#reference_account_list,
.moma-popup.edititem .moma-tabs .moma-tab#locked_tag_list,
.moma-popup.edititem .moma-tabs .moma-tab#locked_account_list,
.moma-popup.edititem .moma-tabs .moma-tab#copyfrom_current_fields,
.moma-popup.edititem .moma-tabs .moma-tab#copyfrom_templates,
.moma-popup.edititem .moma-tabs .moma-tab#pasteto_tab_preview,
.moma-popup.edititem .moma-tabs .moma-tab#pasteto_tab_template,
.moma-popup.edititem .moma-tabs .moma-tab#clipboard_tab_copy,
.moma-popup.edititem .moma-tabs .moma-tab#clipboard_tab_paste,
.moma-popup.edititem .moma-tabs .moma-tab#clipboard_tab_templates,
.moma-popup.syndicate2request .moma-tabs .moma-tab#reserved_tag_list,
.moma-popup.syndicate2request .moma-tabs .moma-tab#reserved_account_list {
	
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
	min-width: 170px !important;
	
}

.moma-popup.edititem #locked_to_frame input[type="text"],
.moma-popup.edititem #reference_to_frame input[type="text"],
.moma-popup.edititem #reserved_to_frame input[type="text"],
.moma-popup.edititem #splcategories_frame input[type="text"],
.moma-popup.edititem #hierarchicthesaurus_frame input[type="text"],
.moma-popup.edititem #clipboard_frame input[type="text"],
.moma-popup.syndicate2request #controller_content_message input[type="text"] {
	
	border: 0;
    border-radius: var(--moma-search-radius) !important;
    padding: var(--moma-search-padding) !important;
    font-family: var(--moma-font);
    font-size: var(--moma-fontsize-m) !important;
	
}

#controller_content_message input:focus {

	background-color: white !important;
    box-shadow: var(--moma-shadow);
    outline: 2px solid var(--moma-orange);
    outline-offset: -2px;
	
}

#controller_content.edititem #tag_filter_container,
#controller_content.edititem #account_filter_container,
#controller_content.syndicate2request #tag_filter_container,
#controller_content.edititem #splcategories_filter_container,
#controller_content.edititem #clipboard_field_filter_container,
#controller_content.edititem #clipboard_template_filter_container,
#controller_content.edititem #clipboard_save_template_container,
#controller_content.syndicate2request #account_filter_container { position: relative; margin: 10px 0; }

#controller_content.edititem #tag_filter_container:after,
#controller_content.edititem #account_filter_container:after,
#controller_content.syndicate2request #tag_filter_container:after,
#controller_content.edititem #splcategories_filter_container:after,
#controller_content.edititem #clipboard_field_filter_container:after,
#controller_content.edititem #clipboard_template_filter_container:after,
#controller_content.syndicate2request #account_filter_container:after {
	
	content: '\f002';
    font-family: fontawesome;
    font-size: 20px;
    inset: 7.5px 10px auto auto;
    position: absolute;
    right: 15px !important;
    top: 13px !important;
    color: var(--moma-dark-gray);
	
}

#controller_content.edititem.edititem_new #tag_filter_container:after,
#controller_content.edititem.edititem_new #account_filter_container:after,
#controller_content.edititem.edititem_new #splcategories_filter_container:after,
#controller_content.edititem.edititem_new #clipboard_field_filter_container:after,
#controller_content.edititem.edititem_new #clipboard_template_filter_container:after {
	
    top: 22px !important;
	
}


#controller_content.edititem #clipboard_field_filter_container input[type="text"],
#controller_content.edititem #clipboard_template_filter_container input[type="text"],
#controller_content.edititem #clipboard_save_template_container input[type="text"] {
	
	border: 0px none;
	border-radius: var(--moma-search-radius) !important;
	font-family: var(--moma-font);
	font-size: var(--moma-fontsize-m) !important;
	margin: 0;
	max-width: none;
	padding: var(--moma-search-padding) !important;
	width: 100%;
	box-sizing: border-box;
	
}

#controller_content.edititem #clipboard_save_template_container input[type="text"] {
	border-radius: var(--moma-radius) !important;
}

#controller_content.edititem #clipboard_field_filter_container input[type="text"]:focus,
#controller_content.edititem #clipboard_template_filter_container input[type="text"]:focus,
#controller_content.edititem #clipboard_save_template_container input[type="text"]:focus {
	
	box-shadow: var(--moma-shadow);
	outline: 2px solid var(--moma-orange);
	outline-offset: -2px;
	background-color: white;
	
}

.moma-popup.edititem #locked_tag_list_view span.ellipsis,
.moma-popup.edititem #reference_account_list_view span.ellipsis,
.moma-popup.edititem #reserved_tag_list_view span.ellipsis,
.moma-popup.edititem #reserved_account_list_view span.ellipsis,
.moma-popup.syndicate2request #reserved_tag_list_view span.ellipsis,
.moma-popup.syndicate2request #reserved_account_list_view span.ellipsis { max-width: 75%; } /* era none */

.moma-popup.edititem #locked_account_list_view span.ellipsis,
.moma-popup.edititem #reference_account_list_view span.ellipsis,
.moma-popup.edititem #reserved_account_list_view span.ellipsis { 
	
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	
}

.moma-popup.syndicate2request div.dotm-recipients {
	
	background-color: var(--moma-lighter-gray);
	border-radius: var(--moma-radius);
	box-sizing: border-box;
	flex-grow: 1;
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
	
}

.moma-popup.edititem #reserved_to_frame p, 
.moma-popup.edititem #locked_to_frame p,
.moma-popup.edititem #reference_to_frame p,
.moma-popup.syndicate2request div.dotm-recipients div.elencoHover,
.moma-popup.syndicate2request #reserved_to_frame p, 
.moma-popup.syndicate2request #locked_to_frame p,
.moma-popup.syndicate2request #reference_to_frame p {
	
    flex-grow: 1;
    display: flex;
    justify-content: space-between; /* era flex-start */
    align-items: center;
	
}

.moma-popup.syndicate2request div.dotm-recipients div.elencoHover {
	
	padding: 10px;
	
}

.moma-popup.syndicate2request div.dotm-recipients div.elencoHover div.moma-select {
	
	margin-top: auto !important;
	margin-bottom: auto !important;
	
}

.moma-popup.edititem #reserved_to_frame p:hover, 
.moma-popup.edititem #locked_to_frame p:hover,
.moma-popup.edititem #reference_to_frame p:hover,
.moma-popup.syndicate2request div.dotm-recipients div.elencoHover:hover,
.moma-popup.syndicate2request #reserved_to_frame p:hover, 
.moma-popup.syndicate2request #locked_to_frame p:hover,
.moma-popup.syndicate2request #reference_to_frame p:hover { 
	
	text-shadow: none;
	background-color: transparent;

}

.moma-popup.edititem #reserved_to_frame p span.ellipsis,
.moma-popup.syndicate2request #reserved_to_frame p span.ellipsis { 
	
	flex-grow: 1;
	text-align: left;
	
}

.moma-popup.edititem #reserved_to_frame .elencoHover:hover,
.moma-popup.edititem #locked_to_frame .elencoHover:hover,
.moma-popup.edititem #reference_to_frame .elencoHover:hover,
.moma-popup.syndicate2request div.dotm-recipients .elencoHover:hover,
.moma-popup.syndicate2request #reserved_to_frame .elencoHover:hover { 
	
	background-color: #ddd !important;
	border-radius: 6px !important;
	
}

.moma-popup.edititem #syndicate_option #item_details_reserved_to,
.moma-popup.syndicate2request #syndicate_option #item_details_reserved_to {
	
	width: 100%;
    box-sizing: border-box;
    background: var(--moma-lighter-gray);
    border-radius: var(--moma-radius);
    border: 0;
    padding: 10px;
    margin: 10px 0 0;
	
}

.moma-popup.edititem #reserved_to_frame,
.moma-popup.edititem #locked_to_frame,
.moma-popup.edititem #reference_to_frame,
.moma-popup.edititem #splcategories_frame,
.moma-popup.edititem #hierarchicthesaurus_frame,
.moma-popup.edititem #clipboard_frame,
.moma-popup.syndicate2request #reserved_to_frame {
	
	height: auto !important;
	position: initial !important;
	width: auto !important;
	font-size: var(--moma-fontsize-m) !important;
	border-radius: var(--moma-radius) !important;
	padding: 0 !important;
	margin: 0
	
}

.moma-popup.syndicate2request #reserved_to_frame { flex-grow: 1; }

.moma-popup.edititem.edititem_new #sampleimage,
.moma-popup.edititem.edititem_new #sampleimage_frame,
.moma-popup.edititem.edititem_new #sampleimage_frame_table,
.moma-popup.edititem.edititem_new #locked_to_frame,
.moma-popup.edititem.edititem_new #reference_to_frame,
.moma-popup.edititem.edititem_new #splcategories_frame,
.moma-popup.edititem.edititem_new #hierarchicthesaurus_frame,
.moma-popup.edititem.edititem_new #reserved_to_frame,
.moma-popup.edititem.edititem_new #clipboard_frame { 
	
	position: static !important;
	width: 100% !important;

}

.moma-popup.edititem.edititem_new #clipboard_frame {
	overflow-y: auto;
	padding: 10px;
}

.moma-popup.edititem.edititem_old #locked_to_frame,
.moma-popup.edititem.edititem_old #reference_to_frame,
.moma-popup.edititem.edititem_old #splcategories_frame,
.moma-popup.edititem.edititem_old #hierarchicthesaurus_frame,
.moma-popup.edititem.edititem_old #reserved_to_frame { 
	
	position: absolute !important;
	width: 350px !important;

}

.moma-popup.edititem.edititem_new #sampleimage_frame_table {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.moma-popup.edititem #reserved_tag_list_view,
.moma-popup.edititem #reserved_account_list_view,
.moma-popup.edititem #locked_tag_list_view,
.moma-popup.edititem #locked_account_list_view,
.moma-popup.edititem #reference_tag_list_view,
.moma-popup.edititem #reference_account_list_view,
.moma-popup.syndicate2request #reserved_tag_list_view,
.moma-popup.syndicate2request #reserved_account_list_view {
	
	background-color: transparent !important;
    border-color: transparent !important;
    border-width: 0 !important;
    color: var(--moma-dark-gray) !important;
	
}

.moma-popup.edititem #reserved_to_resetall,
.moma-popup.edititem #locked_to_resetall,
.moma-popup.edititem #reference_to_resetall,
.moma-popup.edititem .setreservedto,
.moma-popup.edititem #hierarchicthesaurus_resetall,
.moma-popup.edititem #splcategories_resetall,
.moma-popup.syndicate2request .setreservedto {
	
	position: absolute;
    right: 4px;
    top: 10px;
    cursor: pointer;
    z-index: 1;
    font-size: var(--moma-fontsize-s);
    text-transform: capitalize;
    color: var(--moma-blue);
	
}

.moma-popup.edititem #hierarchicthesaurus_resetall {
	
	top: 77px;
 	right: 33px;
 	font-size: 20px;
 	opacity: 0;
 	
 	transition: all 0.25s ease-in-out;
	
}

.moma-popup.edititem #hierarchicthesaurus_resetall.visible { opacity: 1; }

.moma-popup.edititem #locked_to_resetall { top: -173px; }
.moma-popup.edititem #reference_to_resetall { top: -173px; }
.moma-popup.edititem .setreservedto { top: -143px; }

.setreservedto_container { position: relative; }

#controller_content.moma-popup.syndicate2request .setreservedto_container { position: relative; }

#controller_content.moma-popup.syndicate2request .setreservedto_container .setreservedto {
	
	right: var(--moma-form-elm-padding-h);
	top: 14px;

}

.moma-popup.edititem .right-side .moma-box { border-radius: var(--moma-popup-radius) !important; }

.moma-popup.edititem #controller_content_message label#staff_only_label, 
.moma-popup.edititem #controller_content_message label#noneofdefined_label {
	
	color: var(--moma-dark-gray);
	font-size: 12px !important;
    text-align: center;
    padding: 0;
	
}

.moma-popup.edititem.edititem_new div.restrictions-instructions { padding: 0px 0 10px 0; }
.moma-popup.edititem.edititem_old div.restrictions-instructions { padding: 10px 0 20px 0; }
#clipboard_frame div.restrictions-instructions { padding: 0px 0 10px 0; }

.moma-popup.edititem #locked_to_frame label.as-icons,
.moma-popup.edititem #reference_to_frame label.as-icons,
.moma-popup.edititem #reserved_to_frame label.as-icons,
.moma-popup.syndicate2request #reserved_to_frame label.as-icons {
	
	cursor: pointer;
    background: var(--moma-gray);
    color: white;
    padding: 6px !important; 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 4px;
    border-radius: var(--moma-radius);
	
}

.moma-popup.edititem #locked_to_frame label.as-icons:hover,
.moma-popup.edititem #reference_to_frame label.as-icons:hover,
.moma-popup.edititem #reserved_to_frame label.as-icons:hover,
.moma-popup.syndicate2request #reserved_to_frame label.as-icons:hover { background-color: var(--moma-dark-gray); }

.moma-popup.edititem #locked_to_frame input[type="checkbox"][id^=locked_to_include_] + label.as-icons:before,
.moma-popup.edititem #reference_to_frame input[type="checkbox"][id^=reference_to_include_] + label.as-icons:before,
.moma-popup.edititem #reserved_to_frame input[type="checkbox"][id^=reserved_to_include_] + label.as-icons:before,
.moma-popup.syndicate2request #reserved_to_frame input[type="checkbox"][id^=reserved_to_include_] + label.as-icons:before { content: '\f067'; }

.moma-popup.edititem #locked_to_frame input[type="checkbox"][id^=locked_to_exclude_] + label.as-icons:before,
.moma-popup.edititem #reference_to_frame input[type="checkbox"][id^=reference_to_exclude_] + label.as-icons:before,
.moma-popup.edititem #reserved_to_frame input[type="checkbox"][id^=reserved_to_exclude_] + label.as-icons:before,
.moma-popup.syndicate2request #reserved_to_frame input[type="checkbox"][id^=reserved_to_exclude_] + label.as-icons:before { content: '\f068'; }

.moma-popup.edititem #locked_to_frame input[type="checkbox"][id^=locked_to_exclude_]:checked + label.as-icons,
.moma-popup.edititem #reference_to_frame input[type="checkbox"][id^=reference_to_exclude_]:checked + label.as-icons,
.moma-popup.edititem #locked_to_frame input[type="checkbox"][id^=locked_to_include_]:checked + label.as-icons,
.moma-popup.edititem #reference_to_frame input[type="checkbox"][id^=reference_to_exclude_]:checked + label.as-icons,
.moma-popup.edititem #reserved_to_frame input[type="checkbox"][id^=reserved_to_include_]:checked + label.as-icons,
.moma-popup.edititem #reserved_to_frame input[type="checkbox"][id^=reserved_to_exclude_]:checked + label.as-icons,
.moma-popup.syndicate2request #reserved_to_frame input[type="checkbox"][id^=reserved_to_include_]:checked + label.as-icons,
.moma-popup.syndicate2request #reserved_to_frame input[type="checkbox"][id^=reserved_to_exclude_]:checked + label.as-icons { background: var(--moma-blue); }

.moma-popup.edititem input[type='checkbox'].moma-switch + label:after,
.moma-popup.syndicate2request input[type='checkbox'].moma-switch + label:after { font-size: 50px !important; }

.moma-popup.edititem .label-check,
.moma-popup.syndicate2request .label-check {
	
	display: block;
	font-weight: 500;
	
}

.moma-popup.edititem .label-check:first-letter,
.moma-popup.syndicate2request .label-check:first-letter { text-transform: uppercase; }

.moma-popup.edititem #staff_only_label,
.moma-popup.edititem #noneofdefined_label {
	
	background-color: transparent !important;
	font-size: 12px !important;
	
}











#controller_content.moma-popup.edititem.edititem_old.compressed div.edititem_frame fieldset.droppable.moma-box {

	padding: calc( var(--moma-form-elm-padding-v) / 2 ) calc( var(--moma-form-elm-padding-h) / 2 ) !important;

}

#controller_content.moma-popup.edititem.edititem_old.compressed div.edititem_frame table { margin: 0px; }

#controller_content.moma-popup.edititem.edititem_old.compressed div.edititem_frame table { border-spacing: 0px; }

#controller_content.moma-popup.edititem.edititem_old.compressed div.edititem_frame table td { padding-bottom: 0px; }

#controller_content.moma-popup.edititem.edititem_old.compressed #droppable2_content li,
#controller_content.moma-popup.edititem.edititem_old.compressed .droppable_content li { width: 49%; margin-right: 1%; }

#controller_content.moma-popup.edititem.edititem_old.compressed div.edititem_frame fieldset.droppable.moma-box {
     
	padding: calc(var(--moma-form-elm-padding-v) / 2) calc( var(--moma-form-elm-padding-h) / 2) !important

}

#controller_content.moma-popup.edititem.edititem_old.compressed textarea.moma-textarea,
#controller_content.moma-popup.edititem.edititem_old.compressed input[type='text'].moma-input {

	padding: calc( var(--moma-form-elm-padding-v) / 2 ) calc( var(--moma-form-elm-padding-h) / 2 ) !important;
	
}

#controller_content.moma-popup.edititem.edititem_old.compressed div.moma-select select {

	padding: calc(var(--moma-form-elm-padding-v) / 2) calc(var(--moma-form-elm-padding-h)) calc(var(--moma-form-elm-padding-v) / 2) var(--moma-form-elm-padding-h) !important

}

.edititem_old li.moma_ai_field {
  width: 100%!important;
}
.edititem_old td.ai_title{
  width: 140px!important;
}
 

#toggle-edititem-style,
#toggle-edititem-fullscreen,
#toggle-edititem-show-right {
	
	float: right;
 
	
}

.edititem_old #toggle-edititem-fullscreen { margin-left: 6px; }

.edititem_new #toggle-edititem-fullscreen,
.edititem_new #toggle-edititem-show-right {
	
	text-align: center;
	display: inline-block;
	
}


.edititem_new #toggle-edititem-show-right { 
	display: none; /* Nascosta di default, mostrata via JavaScript quando edititem_table_right è nascosto */
}


/* Icone per editor vecchio (senza tooltip, usa ::before) */
.metadata-clipboard.compress:not([data-tooltip]):before {
	content: '\f066';
	font-family: fontawesome;
}

.metadata-clipboard.expand:not([data-tooltip]):before {
	content: '\f065';
	font-family: fontawesome;
}

.metadata-clipboard.notFullscreen:not([data-tooltip]):before {
	content: '\f0b2';
	font-family: fontawesome;
}

.metadata-clipboard.fullscreen:not([data-tooltip]):before {
	content: '\e906'; 
	font-family: moma-icons;
}

.metadata-clipboard.sticked:not([data-tooltip]):before {
	content: '\f08d';
	font-family: fontawesome;
}

.metadata-clipboard.show-right-icon:before {
	
	/* Rimuovi l'icona FontAwesome per mostrare l'immagine di background */
	content: '';
	display: none;
	
}

.metadata-clipboard.show-right-icon {
	
	/* Stili per mostrare l'immagine di anteprima al posto dell'icona */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 4px;
	overflow: hidden;
	height: 27px !important;
	border: 0px none !important;
	
}

/* f2d0   */

/* Fullscreen toggle icon - cicla tra popup/fullscreen/sticky al click */
#toggle-edititem-fullscreen {
	cursor: pointer;
}

.moma-popup img.moma-thumb {
	
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: var(--moma-radius);
	
}

.b-syndicatelazy {
	
        -webkit-transition: opacity 1200ms ease-in-out;
           -moz-transition: opacity 1200ms ease-in-out;
             -o-transition: opacity 1200ms ease-in-out;
                transition: opacity 1200ms ease-in-out;
                 max-width: 100%;
                   opacity: 0;
                   
}

.b-syndicatelazy.b-loaded { opacity: 1; }

.moma-popup.syndicate2request table.moma-table th { font-weight: var(--moma-bold) !important; }
  
  
/* Editor Metadati */

#controller_content.moma-popup.edititem { 
	
	max-width: 90% !important;
	max-height: 90% !important;
	bottom: 4% !important;
	top: 4% !important;
	left: 4% !important;
	right: 4% !important;
	
	transition: all 0.25s cubic-bezier(0.215, 0.610, 0.355, 1.000);
	
}

#controller_content.moma-popup.edititem.fullscreen {
	
	max-width: 100% !important;
	max-height: 100% !important;
	bottom: 0% !important;
	top: 0% !important;
	left: 0% !important;
	right: 0% !important;
	
	border-radius: 0 !important;
	
}

/* TEMPORANEAMENTE DISABILITATO - regole .short
#controller_content.moma-popup.edititem.short {
	
	max-width: 1100px !important;
	
}
*/

@media ( max-width: 1200px ) {
  #controller_content.moma-popup.edititem.edititem_old  #edititem_frame .buttons_container{
    width: unset!important;
    margin-bottom: 60px!important;
  }
}
@media ( max-width: 768px ) {
	
	#controller_content.moma-popup.edititem.edititem_old  {
	
		max-width: none !important;
		max-height: none !important;
		bottom: 0 !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		
		border-radius: 0 !important;
	
	}
	
}


#controller_content.moma-popup.edititem td.left-side { padding-right: 10px; }

#controller_content.moma-popup.edititem #table_content_message #controller_botton {

   width: calc(100% - 360px);
   margin-left: 0;
   margin-right: auto;
  
}


@media ( max-width: 768px ) {
	
	#controller_content.moma-popup.edititem.edititem_old #table_content_message #controller_botton {
	
		width: 100%;
		z-index: 9999;
	
	}
	
	.moma-popup.edititem #controller_content_message td.sampleimage_content #image-other-info { display: none; }
	
}

#controller_content.moma-popup.edititem #table_content_message {  
	
    position: static;
	
}

#controller_content.moma-popup.edititem h2 {
	
	color: var(--moma-dark-gray);
	font-size: var(--moma-fontsize-l);
	
}

#controller_content.moma-popup.edititem h2:first-letter { text-transform: uppercase; }

#controller_content.moma-popup.edititem td.right-side > div,
#controller_content.moma-popup.edititem div.edititem_frame {

	display: inline-block;
	position: static;
	width: 100%;
	
}

#controller_content.moma-popup.edititem.edititem_new  td.right-side > div,
#controller_content.moma-popup.edititem.edititem_new  div.edititem_frame {
	
	height: calc(90vh - 95px) !important;
}

#controller_content.moma-popup.edititem.edititem_old td.right-side > div,
#controller_content.moma-popup.edititem.edititem_old div.edititem_frame {
	height: 78vh !important;
}
#controller_content.moma-popup.edititem.fullscreen div.edititem_frame { height: 86vh !important; }

#controller_content.moma-popup.edititem.sticked {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	max-width: 100% !important;
	max-height: 100% !important;
	border-radius: 0 !important;
	z-index: 10000 !important;
}

#controller_content.moma-popup.edititem.sticked #table_content_message { overflow: hidden; }

/* Sticky resize handle - bordo sinistro per ridimensionare in modalità sticky */
#controller_content.moma-popup.edititem.sticked > .sticky-resize-handle {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	cursor: ew-resize;
	background: transparent;
	z-index: 10001;
	transition: background 0.2s ease;
}
#controller_content.moma-popup.edititem.sticked > .sticky-resize-handle:hover {
	background: rgba(33, 150, 243, 0.3);
}

#controller_content.moma-popup.edititem.sticked td.tfoot { margin-bottom: 10px; }

#controller_content.moma-popup.edititem td.right-side { width: 350px !important; padding-left: 10px !important; }

#controller_content.moma-popup.edititem td.right-side > table {
	
	width: 100%;
	
}

.moma-popup.edititem #reserved_to_frame, 
.moma-popup.edititem #sampleimage_frame, 
.moma-popup.edititem #locked_to_frame, 
.moma-popup.edititem #reference_to_frame, 
.moma-popup.edititem #syndicate_to_frame, 
.moma-popup.edititem #splcategories_frame, 
.moma-popup.edititem #hierarchicthesaurus_frame,
.moma-popup.edititem #keyword_frame,
.moma-popup.edititem #clipboard_frame {
	
	height: 95%;
	width: 350px;
	border: 0;
	
}

.moma-popup.edititem.edititem_old #splcategories_frame { width: 352px !important; }


.moma-popup.edititem #sampleimage_frame {
	
	height: 93%;
	
}

.moma-popup.edititem #sampleimage, .moma-popup.edititem #facedetectionimage { 
	
	margin: 0px;
	width: 350px;
	height: 376px;
	
}

.moma-popup.edititem #facedetectionimage {
  height: unset;
}

.moma-popup.edititem #locked_to_frame,
.moma-popup.edititem #reference_to_frame, 
.moma-popup.edititem #reserved_to_frame { width: 320px; }

#controller_content.moma-popup.edititem #controller_content_message fieldset legend {
	
	font-size: 14px;
	font-weight: var(--moma-bold);
	
}

#controller_content.moma-popup.edititem div.edititem_frame fieldset.droppable.moma-box {
	
	padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important;
    border: 0;
	
}

#controller_content.moma-popup.edititem div.edititem_frame table {
	
	background-color: transparent;
	padding: 0;
	margin: 16px 0;
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td {
	
	width: auto;
	height: 20px;
	position: relative;
	
}

.provider_label{
  display: none;
}

#controller_content.moma-popup.edititem #form_item_details table table td.lang_tool {

	font-size: var(--moma-fontsize-s);
	width: 20px;
	vertical-align: middle;
	
}

#controller_content.moma-popup.edititem.edititem_old #form_item_details table table td.lang_tool {
	padding-right: 10px;
}

#controller_content.moma-popup.edititem #form_item_details table table td.lang_tool:empty { width: auto; padding: 0; }

#controller_content.moma-popup.edititem div.edititem_frame table td span { 
	
	font-size: var(--moma-fontsize-m); 
	color: var(--moma-dark-gray);
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td span:not(.small)::first-letter { text-transform: capitalize; }

#controller_content.moma-popup.edititem div.edititem_frame table td span:not(.small) span { position: static; }

#controller_content.moma-popup.edititem  textarea.text {

	height: 60px !important;
    max-height: 100px !important;
    min-height: 60px !important;
    
    margin-top: 6px !important;
	
}



#controller_content_message.moma-popup select, #controller_content.moma-popup.edititem #controller_content_message select:not(.target_selection)  { margin-top: 0px !important; }
#controller_content.moma-popup.edititem #controller_content_message input[type="text"] { margin-top: 6px !important; }

#controller_content.moma-popup.edititem #controller_content_message div.moma-select { margin-top: 6px !important; }

#controller_content.moma-popup.edititem div.edititem_frame table td.td_label > span {
	
	display: inline-block;
	margin: 10px 6px 0 0;
	position: static;
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td.td_label > span:not(.small) {
	
	font-weight: var(--moma-bold);
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td.td_label > span:not(.small) i:before {
	
	margin-left: 5px;
	margin-right: 5px;
	
}

#controller_content.moma-popup.edititem #reserved_to_frame,
#controller_content.moma-popup.edititem #sampleimage_frame,
#controller_content.moma-popup.edititem #facedetectionimage_frame,
#controller_content.moma-popup.edititem #locked_to_frame,
#controller_content.moma-popup.edititem #reference_to_frame,
#controller_content.moma-popup.edititem #syndicate_to_frame,
#controller_content.moma-popup.edititem #splcategories_frame,
#controller_content.moma-popup.edititem #hierarchicthesaurus_frame,
#controller_content.moma-popup.edititem #keyword_frame,
#controller_content.moma-popup.edititem #clipboard_frame {
	
	top: 43px; /* era 45 */
	
}

#controller_content.moma-popup.edititem #sampleimage_frame,
#controller_content.moma-popup.edititem #facedetectionimage_frame {
	
	border-radius: 0px;
	margin: 0px;
	padding: 0px;
	
}

#controller_content.moma-popup.edititem.edititem_new #sampleimage_frame {
	height: auto;
}


#controller_content.moma-popup.edititem.edititem_old #sampleimage_frame,
#controller_content.moma-popup.edititem.edititem_old #facedetectionimage_frame {
	
	top: 55px;
	
}

#controller_content.moma-popup.edititem #facedetectionimage_frame {
  position: sticky;
  top: 0;
}

div#facedetection_faces_to_tag {
    display: grid;
    gap: 5px;
    max-height: 400px;
    overflow-y: scroll;
}

#controller_content.moma-popup.edititem #controller_content_message td.sampleimage_content div:focus { background-color: transparent; }

#controller_content.moma-popup.edititem .buttons_container {
	
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: flex-end;
	position: static;
    width: 100%;
    height: auto;
    gap: 10px;
    margin-bottom: 10px;
	
}


#controller_content.moma-popup.edititem .buttons_container h2 { flex-grow: 1; margin: auto; }

#controller_content.moma-popup.edititem.edititem_old #listOfHiddenField,
#controller_content.moma-popup.edititem .metadata-clipboard {
	
    cursor: pointer;
    position: relative; /* ERA STATIC */
    text-transform: none;
    
    border: 0;
    outline: 0;

    min-width: auto;
    border-radius: var(--moma-radius);
    box-sizing: border-box;
    padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/2 - 1px) !important;
    text-align: center;
    font-size: var(--moma-fontsize-s);
    font-weight: var(--moma-regular);
    font-family: var(--moma-font);
    background-color: var(--moma-gray);
    color: white;
    
    top: 0;
    right: 0;
    z-index: 9;
    
}

#controller_content.moma-popup.edititem .metadata-clipboard.disabled { opacity: 0.3; }

#controller_content.moma-popup.edititem .hidden-field-controls-wrapper {
	order: 10;
	height: auto;
	position: relative;
	width: 100%;
    padding: 3px 0;
}

#controller_content.moma-popup.edititem .hidden-field-controls {
	position: absolute;
	right: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#controller_content.moma-popup.edititem.edititem_old #listOfHiddenField {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: nowrap;
	width: auto;
}

#controller_content.moma-popup.edititem.edititem_old #listOfHiddenField span.title {
    color: white !important;
    display: inline-flex;
    align-items: center;
    font-size: var(--moma-fontsize-s) !important;
    font-weight: var(--moma-regular) !important;
    padding: 0 !important;
    float: none !important;
    text-transform: capitalize;
    white-space: nowrap;
}

#controller_content.moma-popup.edititem.edititem_old #listOfHiddenField .moma-button {
    float: none;
    white-space: nowrap;
    line-height: 1.2;
}

#controller_content.moma-popup.edititem .hidden-field-controls .moma-button {
    margin: 0;
    background-color: var(--moma-gray);
    color: white;
    border: 0;
    border-radius: var(--moma-radius);
    font-size: var(--moma-fontsize-s);
    padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/2);
    line-height: 1.2;
    cursor: pointer;
}

#controller_content.moma-popup.edititem .hidden-field-controls .moma-button,
#controller_content.moma-popup.edititem .hidden-field-controls #listOfHiddenField span.title {
    text-transform: lowercase !important;
}

#controller_content.moma-popup.edititem .hidden-field-controls .moma-button::first-letter,
#controller_content.moma-popup.edititem .hidden-field-controls #listOfHiddenField span.title::first-letter {
    text-transform: uppercase !important;
}

.edititem-controls-wrapper {
    margin-top: 6px;
}

#controller_content.moma-popup.edititem.edititem_old #listOfHiddenField:hover span.title { text-decoration: none; }

#controller_content.moma-popup.edititem.edititem_old #listOfHiddenField:hover,
#controller_content.moma-popup.edititem .metadata-clipboard:hover {
	
    text-decoration: none;
    background-color: var(--moma-dark-gray) !important;
    
}

#controller_content.moma-popup.edititem .metadata-clipboard.copy { left: auto; /* ERA 240 */ }
#controller_content.moma-popup.edititem .metadata-clipboard.paste { left: auto; /* ERA 240 */ }

#controller_content.moma-popup.edititem div.edititem_frame table td span.edititem_cfg  {
	
	background-color: white !important;
	border-radius: var(--moma-radius);
	box-sizing: border-box;
	height: auto;
	line-height: 1;
	margin: 0 0 0 5px;
	padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/3) !important;
	position: static;
	width: auto;
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td span.edititem_cfg.hide:after {

	background-color: transparent;
	content: '\f08d';
	font-family: fontawesome;
	position: static;
	width: auto;
	height: auto;
	border-radius: 0px;
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td span.edititem_cfg.move { background: none; }

#controller_content.moma-popup.edititem div.edititem_frame table td span.edititem_cfg.move:after {

	background: none;
	content: '\f047';
	font-family: fontawesome;
	
}

#controller_content.moma-popup.edititem div.edititem_frame table td span.edititem_cfg.hide.visible,
#controller_content.moma-popup.edititem div.edititem_frame table td span.edititem_cfg:hover {
	
	background-color: var(--moma-blue) !important;
	border-color: var(--moma-blue) !important;
	color: white !important;
	
}

/* Wrapper per pulsante + preview */
.button-with-preview {
	position: relative;
	display: inline-block;
}

/* Preview popup - nascosta di default */
.preview-popup {
	display: none;
	position: absolute;
	bottom: 100%;
	margin-bottom: 10px;
	width: 200px;
	height: 200px;
	border-radius: var(--moma-radius);
	box-shadow: var(--moma-popup-shadow);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: white;
	z-index: 9999999;
	pointer-events: none;
}

/* Posizionamento preview precedente: allineata a sinistra del pulsante */
.preview-previous {
	left: 0;
}

/* Posizionamento preview successiva: allineata a destra del pulsante */
.preview-next {
	right: 0;
}

/* Mostra preview al hover del pulsante - CSS PURO */
.button-with-preview:hover .preview-popup {
	display: block;
} 


#controller_content.moma-popup.edititem select.target_selection {
	
	font-variant: normal;
	margin-bottom: 0 !important;
	text-transform: capitalize;
	
}

#controller_content.moma-popup.edititem div.moma-select.small { float: right; }

#controller_content.moma-popup.edititem div.moma-select.small i:before { 
	
	top: 2px;
    right: 2px;
    padding: 5px;
    background: white;
    box-sizing: border-box;
    border-radius: var(--moma-radius);
    bottom: 2px;
    z-index: 0;
	
}

#controller_content.moma-popup.edititem div.moma-select i:before { top: 33%; }

#controller_content.moma-popup.edititem span.span_select {
	
    margin: 4px 6px 0 0;
    
    font-size: var(--moma-fontsize-m);
    text-transform: capitalize !important;
    color: var(--moma-dark-gray);
	
}

#controller_content.moma-popup.edititem span.span_select.small { font-size: var(--moma-fontsize-s); }


#controller_content.moma-popup.edititem #item_details_caption,
#controller_content.moma-popup.edititem #item_details_keyword {
	
	height: 120px !important;
    max-height: 120px !important;
    min-height: 120px !important;
	
}

.edititem_old #mobileImgContainer,
.edititem_old #item_details_locked_to_mobile,
.edititem_old #item_details_reference_to_mobile,
.edititem_old #item_details_hierarchical_mobile { display: none; }


#controller_content.moma-popup.edititem .generalApplyTo {

	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-grow: 1;

} 



/* EDITOR METADATI, Regole varie Tabs */

#labelfield_reference_to { 

	width:100%;
	margin-right: 0;
	
}

li[id^="labelfield_referenceFields_"] { 
	
	width:100% !important;
	position: relative;
	margin-bottom: 18px;
	margin-right: 2px !important;
	padding-bottom: 18px;
	
}

li[id^="labelfield_referenceFields_"]:not(:last-child) { border-bottom:1px solid #BCBCBC; }

li[id^="labelfield_referenceFields_"] p {
	
	margin-top: 0;
	width: 96%;
	
}

li[id^="labelfield_referenceFields_"] p span { 
	
	display: none;
	margin-bottom: 16px;
	
} 

li[id^="labelfield_referenceFields_"] button {
	
	position: absolute;
    
    cursor: pointer;
    text-transform: none;
    border: 0;
    outline: 0;
    min-width: auto;
    border-radius: var(--moma-radius);
    box-sizing: border-box;
    padding: calc(var(--moma-form-elm-padding-v) / 2) calc(var(--moma-form-elm-padding-h) / 2) !important;
    text-align: center;
    font-size: var(--moma-fontsize-s);
    font-weight: var(--moma-regular);
    font-family: var(--moma-font);
    background-color: var(--moma-gray);
    color: white;
	opacity: 1 !important;
	
}

li[id^="labelfield_referenceFields_"] button.removeReference { 
	
	top: 0;
    right: 0;
	
}
	
li[id^="labelfield_referenceFields_"] button.editReference {
	
	top: 0;
    right: 30px;
    
}

#item_details_reference_to { display: none; }

.checkPrincipale + label::before {
	
    font-family: "fontawesome"; 
    content: "\f111"; 
    display: inline-block;
    margin-right: 8px;
    color: white;
    font-size: 18px;
    
}

.checkPrincipale:checked + label::before { 
	
	content: "\f058";
	color: var(--moma-blue);
	
}

.checkPrincipale + label { 
	
	cursor: pointer;
	font-size: var(--moma-fontsize-s) !important;
	color: var(--moma-dark-gray) !important;
	font-weight: var(--moma-bold) !important;
	
}

#labelfield_particolare { display: none; }

/* Editor metadati tabs e altro per IA */
.edititem_frame .moma-tab  { padding: 0 !important; }

/*.moma-popup .moma-tabs.opzioni-tabs-edititem > label i { margin-right: 0 !important; }*/


.moma-popup .moma-tab#html_tab_for_ai_fields li{
  list-style: none;
}

.moma-popup .moma-tab#html_tab_for_ai_fields td.ai_input{
  padding-top: 10px;
}
#controller_content_message label#label_html_tab_for_common_fields { display: none; }
#label_html_tab_for_common_fields { display: none; } /* La nascondo con css, la mostro con prototype se esiste la seconda label */

/*
EDITOR METADATI, CAMPI READONLY PER IL FIXED TESAURUS CON SFONDO BIANCO
*/

#controller_content.moma-popup.edititem input[type='text'].moma-input[readonly],
#controller_content.moma-popup.edititem textarea.moma-textarea[readonly] {

	background-color: white !important;
    	cursor: pointer !important;
    	color: var(--moma-dark-gray) !important;
    	
}

/* 
 EDITOR METADATI, CAMPI RIPETIBILI JSON
*/

.edititem_new #droppable2 > div  > div, 
.edititem_old #droppable2_content  > div, 
#droppable0_content  > div, 
.droppable_content > div {
	
    display: inline-block;
    float: left;
    list-style: none outside none;
    margin-right: 2%;
    width: 48%;
    
}

.edititem_new #droppable2 > div  > li div,
.edititem_old #droppable2_content  > li div,  
#droppable0_content  > li div, 
.droppable_content > li div { float: left; }

td.td_label div { float: right !important; }

.repeatableField {
	
	display: block !important;
    width: 100% !important;
    margin-bottom: 30px;
   
}

.repeatableField.invisible { display:none !important; }

.repeatableField.closed { 

	height: 90px;
    overflow: hidden;
	
}

.closeRepeatableField { cursor: pointer; }

#labelfield_fotografo li.separatoreRigaCampiMultipliDotted { margin: 60px 0; }

#controller_content.editing.edititem_new #droppable2 > div li.repeatableField.invisible, 
#controller_content.editing.edititem_old #droppable2_content li.repeatableField.invisible, 
#controller_content.editing .droppable_content li.repeatableField.invisible {
    display: block !important;
    opacity: 0.3;
}


div[id^="repeatablefield_"],
li[id^="repeatablefield_"] {
  
	width: 45%  !important;
    margin-right: 0  !important;
    position: relative;
  
}

div[id^="repeatablefield_"].distanced,
li[id^="repeatablefield_"].distanced {

	margin-left: 6%;
    margin-right: 2% !important;
    
}

li.repeatableField div.notDistanced { float: right !important; }

.selectRowToCancel {
	
	position: absolute;
    top: 30px;
    left: -54px;
    
}

.selectRowToCancel label { font-size: 20px  !important; }

.repeatableLabel {
	
	font-size: 12px !important;
	font-weight: normal !important;
	
}

.separatoreRigaCampiMultipli {
	
	position: absolute;
    width: 100%;
    border-top: 1px solid var(--moma-gray);
    bottom: -18px;
    
}
 
.moma-popup.edititem.edititem_old compressed .separatoreRigaCampiMultipli { display: none;  }

.separatoreRigaCampiMultipliDotted { 
	
	width: 100% !important;
	border-top: 2px dotted var(--moma-gray);
	margin: 20px 0;
	
}
	
.contenitorePulsantiCampiMultipli {
	
	width: 100% !important;
    text-align: right;
    margin: 10px 0 30px 0;
	
}

.contenitorePulsantiCampiMultipli > div {
	
	width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.contenitorePulsantiCampiMultipli > div > div { 
	
    flex-grow: 1;
    border-bottom: 1px solid var(--moma-gray);
    height: 1px;
	
}

@media ( max-width: 600px ) {
	
	div[id^="repeatablefield_"], 
	li[id^="repeatablefield_"] {
	
		width: 100% !important;
		margin: 0 !important;
	
	}
	
	.selectRowToCancel {
	
	    top: 16px;
	    left: auto;
	    right: 2px;
	    z-index: 9;
	    
	}
	
	.repeatableField.closed { height: 74px; }

}

/* Fine editor metadati */

/* Aggiungi ad un lightbox (API) */

.mywindow.moma-popup.advanced-lightboxes-popup { 
	
	height: auto;
	max-height: 700px !important;
	
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container { margin-top: 0; }

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container div.right-side,
.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container div.left-side {  
	
		padding: 0;
	    border-right: 0;
	    
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container > div { vertical-align: middle; }

.mywindow.moma-popup.advanced-lightboxes-popup img.to-be-in-lightbox { background-position: center; }

.mywindow.moma-popup.advanced-lightboxes-popup #lightbox-search-container input[type="text"] {
	
	border: 0;
    border-radius: var(--moma-search-radius) !important;
    padding: var(--moma-search-padding) !important;
    font-family: var(--moma-font);
    font-size: var(--moma-fontsize-m) !important;
    margin: 6px 0 0;
	
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightbox-search-container input[type="text"]:focus {
	
    background-color: white !important;
    box-shadow: var(--moma-shadow);
    outline: 2px solid var(--moma-orange);
    outline-offset: -2px;
    
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightbox-search-container:after {
	
	content: '\f002';
    font-family: fontawesome;
    font-size: 20px;
    inset: 7.5px 10px auto auto;
    position: absolute;
    right: 15px !important;
    top: 20px !important;
    color: var(--moma-dark-gray);
	
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list li { padding: 10px var(--moma-search-padding) !important; }

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list li:first-child {
	
    color: inherit;
    cursor: inherit;
    height: inherit;
    transition: inherit;
    background-color: inherit;
    
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list li:first-child:hover { background-color: whitesmoke; }

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list li:first-child p:after { 
	
	content: '';
	display: none;
	
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list li div.action-buttons-container {
	
	background-color: rgba(217,217,217,0.70);
	border-radius: var(--moma-radius);
	
}

.mywindow.moma-popup.advanced-lightboxes-popup div.action-buttons-container span.action-buttons {
	
	border: 0;
    background-color: var(--moma-gray);
    color: white;
	border-radius: var(--moma-radius);
	
}

.mywindow.moma-popup.advanced-lightboxes-popup div.action-buttons-container span.action-buttons:hover { background-color: var(--moma-blue); }

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list { 
	
	max-height: 300px;
	min-height: 300px;
	margin-top: 14px;
	scroll-behavior: smooth;
	
}

.mywindow.moma-popup.advanced-lightboxes-popup #adv-lightbox-title-form { 
	
	height: 0;
	overflow: hidden;
    transition: all 0.2s ease-in-out;
    
}

.mywindow.moma-popup.advanced-lightboxes-popup #adv-lightbox-title-form.opened { height: 30px; }

.mywindow.moma-popup.advanced-lightboxes-popup #lightbox-description { width: 90% !important; }

.mywindow.moma-popup.advanced-lightboxes-popup .addto-lightbox-new {
	
	background: var(--moma-gray);
    color: white;
    padding: 6px;
    border-radius: var(--moma-radius);
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
	
}

.mywindow.moma-popup.advanced-lightboxes-popup .addto-lightbox-new:hover { 
	
	background-color: var(--moma-green);
    color: var(--moma-dark-green);
	
}

.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-list li.active:before {  
	
	background-color: var(--moma-blue);
    opacity: 0.8;
	
}

@media ( max-width: 600px ) {
	
	.mywindow.moma-popup #mywindow_content_advanced-lightboxes-add { padding: var(--moma-form-elm-padding-v) 6px; }
	
	.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container {
	
		display: flex;
    	flex-direction: column;
	
	}
	
	.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container div.right-side,
	.mywindow.moma-popup.advanced-lightboxes-popup #lightboxes-popup-container div.left-side { width: 100%; }
	
	.mywindow.moma-popup.advanced-lightboxes-popup img.to-be-in-lightbox { width: 100%; }
	
	.mywindow.moma-popup.advanced-lightboxes-popup #lightbox-description { width: 87% !important; }

	
}

/* METADATA EDIT LIGHTBOX */
#body.lightboxes #controller_content.moma-popup.edititem.edititem_old,
#body.lightboxes #controller_content.moma-popup.edititem.edititem_old.edit_lightbox_metadata {
  display: table !important;
  position: fixed !important;
  top: 4% !important;
  bottom: 4% !important;
  left: 4% !important;
  right: 4% !important;
  margin: auto !important;
  width: auto !important;
  min-width: 960px !important;
  max-width: 90% !important;
  max-height: 90% !important;
  padding-bottom: 0 !important;
  box-shadow: var(--moma-popup-shadow) !important;
  border-radius: var(--moma-popup-radius) !important;
  border: 0 !important;
  background-color: #fff !important;
}

#body.lightboxes #controller_content.moma-popup.edititem.edititem_old,
#body.lightboxes #controller_content.moma-popup.edititem.edititem_old.edit_lightbox_metadata {
  display: table !important;
  position: fixed !important;
  top: 4% !important;
  bottom: 4% !important;
  left: 4% !important;
  right: 4% !important;
  margin: auto !important;
  width: auto !important;
  min-width: 960px !important;
  max-width: 90% !important;
  max-height: 90% !important;
  padding-bottom: 0 !important;
  box-shadow: var(--moma-popup-shadow) !important;
  border-radius: var(--moma-popup-radius) !important;
  border: 0 !important;
  background-color: #fff !important;
  transition: all 0.25s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}


/* AUTOSUGGERITORE */

#controller_content.moma-popup.edititem div.autocomplete {
	
	background-color: var(--moma-orange);
    border: 0;
    border-bottom: var(--moma-form-elm-padding-v) solid var(--moma-orange);
    border-radius: 0 0 var(--moma-radius) var(--moma-radius);
    box-shadow: var(--moma-shadow);
    margin: 0;
    padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h);
    position: absolute;
    width: 100%;
    z-index: 2000;
    height: 120px;
    margin-top: -11px;
    color: white;
    box-sizing: border-box;
	
}

#controller_content.moma-popup.edititem.edititem_new #droppable2 > div .autocomplete li,
#controller_content.moma-popup.edititem.edititem_old #droppable2_content .autocomplete li,
#controller_content.moma-popup.edititem .droppable_content .autocomplete li {
	
    width: 100%;
    font-size: var(--moma-fontsize-m);
    padding: var(--moma-popup-padding-h);
    box-sizing: border-box;
    
}

#controller_content.moma-popup.edititem div.autocomplete ul li.selected {
	
    background-color: var(--moma-dark-gray);
    border-radius: var(--moma-radius);
    
}

/* ICONA SUONI */

.mute-icon {
	
  position: relative;
  display: inline-block;
  color: #a7b1bb;
  
}

.mute-icon::after {
	
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 20px;
  background-color: #4477AA;
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
  
}

/* FIX SHIFT+i */
#controller_content.moma-popup.report_preview { 
	
	max-width: 1900px !important;
	max-height: 600px !important;
	
}

/* Calendar */

div#tcal {
	
	    width: auto !important;
	    box-shadow: var(--moma-shadow) !important;
	
}
div#tcal table.ctrl th { 
	
	color: var(--moma-dark-gray) !important; 
	background-color: white !important;
	
}

div#tcal th { 
	
	font-size: var(--moma-fontsize-xs) !important;
	background-color: var(--moma-dark-gray) !important;
	
}

div#tcal td {
	
	padding: var(--moma-form-elm-padding-v) !important;
	
}

div#tcal td.weekend { background-color: var(--moma-lighter-gray) !important; }

div#tcal.glued {
	
	    width: calc(100% - 40px) !important;
	    max-width: 570px !important;
    	min-width: 310px !important;
	    
	    top: 43% !important;
	    left: 50% !important;
	    transform: translate(-50%, -60%);
	    
	    box-shadow: none !important;
	
}

@media ( max-width: 600px ) {

	div#tcal.glued {
	
	    width: 300px !important;
	    
	}
	
}

#upload_content.moma-popup.single-edit-metadata.subject_date {
	
    max-height: 380px !important;
    
}

#upload_content.moma-popup.single-edit-metadata.subject_date #myconfirm { display: none !important; }
#upload_content.moma-popup.single-edit-metadata.no-calendar.subject_date #myconfirm { display: block; }

/* ANIMAZIONE E POSIZIONAMENTO */



/*
.mywindow.moma-popup {
	
	top: 6% !important;
	bottom: auto !important;
	
	-webkit-animation: popupAppear 0.45s ease;
	
}

@-webkit-keyframes popupAppear {
	
    0%{top: 4%;}
    100%{top: 6%;}
    
}
*/


/* MySuccess etc */

#success2 {
	
    width: 250px;
    height: 100px;
    background: var(--moma-dark-green);
    opacity: 0.9;
    position: fixed;
    top: 40px;
    right: 20px;
    border-radius: 12px;
    box-shadow: var(--moma-shadow);
    z-index: 9999999999999999;
	
}

#success2 div {
	
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    font-size: 50px;
	
}

#failed2 {
	
	width: auto;
    min-width: 250px;
    max-width: 450px;
    min-height: 100px;
    background: var(--moma-red);
    opacity: 0.9;
    position: fixed;
    top: 40px;
    right: 20px;
    border-radius: 12px;
    box-shadow: var(--moma-shadow);
    z-index: 9999999999999999;
    
    padding: 10px;
    
    justify-content: center;
    align-items: center;
	
}

#failed2 div {
	
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100px;
    color: white;
    font-size: 50px;
	
}


#failed2 div span.failed_messages { display: block; }

#failed2 div span.failed_messages:not(:last-of-type) { margin-bottom: 10px; }

#failed2 div span.failed_messages.close { 
	
	cursor: pointer;
	text-align: right;
    font-weight: var(--moma-bold);
	
}

.mywindow.moma-popup.shareobj_popup {
	
	max-height: 580px !important;
	transition: max-height 0.3s ease;
	
}

@media (max-width: 510px) { .mywindow.moma-popup.shareobj_popup { max-height: none !important; } }

.mywindow.moma-popup.shareobj_popup.expanded {
	
	max-height: 85vh !important;
	
}

@media (max-width: 510px) { .mywindow.moma-popup.shareobj_popup.expanded { max-height: none !important; } }
 
.mywindow.moma-popup.shareobj_popup .mywindow_content {
	
	height: 100%;
	
}

.shareobj_popup .moma-flex-cell ul {
	
	padding-left: 0px;
	margin: 0px;
	
}

.shareobj_popup .moma-flex-cell ul li {
	
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
	max-height: 100px;
	transition: all 0.3s ease;
	
}

.shareobj_popup .moma-flex-cell ul li * { opacity: 1; transition: all 0.3s ease; }

.shareobj_popup .moma-flex-cell ul li.closed { max-height: 0px; }
.shareobj_popup .moma-flex-cell ul li.closed * { opacity: 0; }

.shareobj_popup .moma-flex-cell { width: 50%; padding: var(--moma-form-elm-padding-v) 0 !important; }

.shareobj_popup .moma-flex-container .moma-flex-row:nth-of-type(even) { padding: var(--moma-form-elm-padding-v) 0; }

.shareobj_popup .moma-flex-container .moma-flex-row:nth-of-type(even) .moma-flex-cell {
	
	padding: calc( var(--moma-form-elm-padding-v) ) calc( var(--moma-form-elm-padding-h) );
	
}

@media (max-width: 510px) { .shareobj_popup .moma-flex-container .moma-flex-row:nth-of-type(even) .moma-flex-cell { border-left: 0px none !important; padding: 0px !important; } }

.shareobj_popup .moma-flex-cell ul li label { flex-grow: 1; text-align: left; }

.shareobj_popup .moma-switch + .moma-label { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.shareobj_popup .moma-switch + .moma-label:after { font-size: 50px; float: right; }
.shareobj_popup #request_array_download_option.moma-switch + .moma-label { font-weight: var(--moma-bold) !important; }

.shareobj_popup .shareobj-download-options {
	
	display: none;
	
	padding: 10px;
    background-color: var(--moma-light-gray);
    border-radius: var(--moma-popup-radius);
	
}

.shareobj_popup .shareobj-download-options * { opacity: 0; transition: all 0.3s ease; }
.shareobj_popup .shareobj-download-options.opened * { opacity: 1; }

.shareobj_popup .shareobj-download-options.opened {
	
	display: inline-flex;
	
}

.shareobj_popup .shareobj-download-options label[for='request_array_dwtype'] + .moma-select {
	
	margin-top: 10px;
	
}

.shareobj_popup #shareobj-type-container div[class$='-info-container'] { display: none; }

.shareobj_popup #shareobj-type-container ul li.type_attributes { display: none; }

.shareobj_popup #shareobj-type-container[data-selected='available'] div[class$='available-info-container'] { display: block; }
.shareobj_popup #shareobj-type-container[data-selected='reserved'] div[class$='reserved-info-container'] { display: block; }
.shareobj_popup #shareobj-type-container[data-selected='protected'] div[class$='protected-info-container'] { display: block; }
.shareobj_popup #shareobj-type-container[data-selected='tobepaid'] div[class$='tobepaid-info-container'] { display: block; }
.shareobj_popup #shareobj-type-container[data-selected='boundtosession'] div[class$='boundtosession-info-container'] { display: block; }

.shareobj_popup #shareobj-type-container[data-selected='protected'] ul li.type_attributes { display: flex; }

.shareobj_popup #shareobj-type-container  ul li input#request_array_type_attributes { letter-spacing: 1vw; text-align: center; width: 100% !important; }

.shareobj_popup .moma-label[for='request_array_type'],
.shareobj_popup .moma-label[for='request_array_download_resolution'] {
	
	display: block;
	margin-bottom: 10px;
	
}

.shareobj_popup .shareobj_share_container ul {
	
	align-items: center;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	list-style: none;
	padding-left: 0px;
	
}

.shareobj_popup .shareobj_share_container ul li {
	
	display: inline-block;
	margin-right: 5px;
	
}

.shareobj_popup .shareobj_share_container ul li a,
.shareobj_popup .shareobj_share_container ul li a:visited {
	
	background-color: var(--moma-dark-gray);
	border-radius: 50%;
	box-sizing: border-box;
	color: white;
	cursor: pointer;
	display: block;
	height: 65px;
	line-height: 1;
	margin: 10px;
	padding: 15px;
	text-decoration: none;
	width: 65px;
	
}

.shareobj_popup .shareobj_share_container ul li:hover a {
	
	background-color: var(--moma-blue);
	
}

.shareobj_popup .shareobj_share_container ul li span {
	
	cursor: pointer;
	font-weight: var(--moma-regular);
	
}

.shareobj_popup .shareobj_share_container ul li:hover span {
	
	color: var(--moma-blue);
	
}

.shareobj_popup .shareobj_share_container ul li a:before { font-family: fontawesome; font-size: 35px; }

.shareobj_popup .shareobj_share_container ul li a.copylink:before 	{ content: '\f0c1'; }
.shareobj_popup .shareobj_share_container ul li a.email:before 		{ content: '\f0e0'; }
.shareobj_popup .shareobj_share_container ul li a.whatsapp:before 	{ content: '\f232'; }
.shareobj_popup .shareobj_share_container ul li a.telegram:before 	{ content: '\f1d8'; }


.mywindow.moma-popup.photoflow_popup .mywindow_content { padding: 0; }

.mywindow.moma-popup.photoflow_popup {

    max-width: 1000px !important;
    max-height: 700px !important;

}

.mywindow.photoflow_popup #photoflow-container {
	
	align-items: center !important;
	
}

.mywindow.moma-popup.photoflow_popup.fullscreen {
	
	border: 0px none !important;
    border-radius: 0 !important;
    max-height: none !important;
    max-width: none !important;
    width: auto !important;
    height: auto;
    top: 0 !important;
    bottom: 0 !important;
	
}

.photoflow-toolbar span.photoflow-button:hover:before { color: white; }

.mywindow.moma-popup.photoflow_popup .mywindow_title_bar { display: block; }
.mywindow.moma-popup.photoflow_popup #photoflow-container .photoflow-toolbar { padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h) !important; }
.mywindow.moma-popup.photoflow_popup #photoflow-container .photoflow-list-container { border: 0 !important; }

.mywindow.moma-popup.photoflow_popup #photoflow-container .photoflow-list-container ul { max-width: none; }

.mywindow.moma-popup.photoflow_popup #photoflow-fullscreen {
	
    position: absolute;
    top: var(--moma-popup-padding-v);
    right: var(--moma-popup-padding-h);
    
    cursor: pointer;
    text-transform: none;
    border: 0;
    outline: 0;
    min-width: auto;
    border-radius: var(--moma-radius);
    box-sizing: border-box;
    padding: calc(var(--moma-form-elm-padding-v)/2) calc(var(--moma-form-elm-padding-h)/2) !important;
    text-align: center;
    font-size: var(--moma-fontsize-s);
    font-weight: var(--moma-regular);
    font-family: var(--moma-font);
    background-color: var(--moma-gray);
    color: white;
    
}

.mywindow.moma-popup.photoflow_popup #photoflow-fullscreen:hover {
	
    text-decoration: none;
    background-color: var(--moma-dark-gray) !important;
    color: white;
    
}

.mywindow.moma-popup.photoflow_popup span.photoflow-button.fullscreen:before {
	
	font-family: 'FontAwesome';
    content: "\f0b2";
    margin-right: 0;
    
}

.mywindow.moma-popup.photoflow_popup #photoflow-fullscreen:hover:before { color: white; }

.mywindow.moma-popup.photoflow_popup #photoflow-container .photoflow-toolbar {

	position: absolute;
    bottom: 40px;
    justify-content: center;
    
    background-color: rgba(217,217,217,0.70);
    border-radius: var(--moma-radius);
    width: auto;
    margin: 0 auto;
    gap: 10px;
	
	opacity: 0;
    display: none;
	
}

.mywindow.moma-popup.photoflow_popup #photoflow-container .photoflow-toolbar:hover, 
.mywindow.moma-popup.photoflow_popup #photoflow-container .photoflow-list-container:hover + .photoflow-toolbar {
	
	display: flex;
	opacity: 1;
	
}

.photoflow-toolbar span.photoflow-button:before { margin-right: 0 !important; }

.mywindow.moma-popup.photoflow_popup .photoflow-toolbar span.photoflow-button { 
	
	margin-right: 0 !important;
	border: 0;
    background-color: var(--moma-gray);
    color: white;
    border-radius: var(--moma-radius);
    width: 30px;
    height: 30px;
    cursor: pointer;
    line-height: 10px;
    margin-right: 10px;
    border-radius: 3px;
    text-align: center;
    position: relative;

    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
	
}

.mywindow.moma-popup.photoflow_popup .photoflow-toolbar span.photoflow-button:hover { background-color: var(--moma-blue); }
.mywindow.moma-popup.photoflow_popup .photoflow-toolbar span.photoflow-button:before:hover { color: white !important; }

.mywindow.moma-popup.setup_wizar {
	
	max-width: 1000px !important;
	
}

/** Adatto l'overlayBox alla dark-mode **/
#body[data-dark-mode="off"] #overlayBox:after { background-color: transparent !important; }
#body #donotclickanymore, #body[data-dark-mode="off"] #overlayBox { background: #000 !important; opacity: 0.4 !important; }





#kupload_div_containter #parentprogressbar { height: 4px !important; }

.mywindow.moma-popup.homepage_wizard { max-width: 1000px !important; }

.mywindow.moma-popup .widget_option_medium {
	
	display: flex !important;
	flex-flow: row wrap;
	height: auto !important;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
	padding: 5px !important;
	margin: 0px !important;
	width: 100% !important;
	
}

.mywindow.moma-popup .widget_option_medium label {
	
	width: 40%;
	margin: auto 10px auto 0 !important;
	float: none !important;
	
}

.mywindow.moma-popup .widget_option_medium input,
.mywindow.moma-popup .widget_option_medium select {
	
	border-radius: var(--moma-radius);
	box-sizing: border-box;
	float: none;
	max-width: 56.5% !important;
	margin: auto 0 auto 10px !important;
	flex-grow: 1;
	padding: 5px !important;
	width: auto !important;
	
}

.mywindow.moma-popup .widget_option_medium input { margin-bottom: 3px !important; }

.mywindow.moma-popup .widget_option_medium input#request_array_onclicklink { width: auto !important; max-width: none !important; margin-left: auto !important; margin-top: 5px !important; margin-right: 0 !important; }

.mywindow.moma-popup .widget_option_medium select {
	
	text-align: right !important;
	flex-grow: 0;
	margin-right: 0;
	margin-left: auto;
	max-width: 350px;
	min-width: 35%;
	
}

.newsletter-wizard {
  height: 325px!important;
}
.newsletter-wizard .newsletter-popup-content h2{
font-size: 24px;
  color: black;
}
.newsletter-wizard .newsletter-popup-content p{
font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
}
.newsletter-wizard .newsletter-popup-content #error_text{
  color: red;
}
.newsletter-wizard .newsletter-popup-content input[type="email"]{
padding: 10px 20px;
  font-size: 16px;
  width: 90%;
margin-top: 10px;
}
.newsletter-wizard #mywindow_button_accept_1::after{
  content: "\f00c";
}
.newsletter-wizard .moma-button[id^='mywindow_button_notnow'] {
  margin-right: auto;
}
.newsletter-wizard .moma-button[id^='mywindow_button_notnow']:after {
  content: '\f017'!important;
}
.newsletter-wizard .moma-button[id^='mywindow_button_accept']:after {
  content: '\f00c'!important;
}
.newsletter-wizard .moma-button[id^='mywindow_button_noaccept']:hover {
  background-color: var(--moma-red);
  color: #ffffff!important;
}

/* TOOLTIP */
[data-tooltip]::before {
	
		font-family: var(--moma-font) !important;
		font-weight: normal;
		font-size: var(--moma-fontsize-s);
  		content: attr(data-tooltip) !important;
  		margin-right: 0 !important;
  		display: none;
  		position: absolute;
		background-color: var(--moma-orange);
		box-shadow: var(--moma-shadow);
		color: #fff;
		padding: 5px 15px;
		border-radius: var(--moma-radius);
		z-index: 9;
		top: -28px;
		right: 0;
    	transform: translateX(4px);
		width: auto;
    	min-width: 80px;
    	text-align: center;
    	white-space: nowrap;

}

.tooltip-right[data-tooltip]::before {
	right: auto;
	left: 0;
	transform: translateX(2px);
}

/* Tooltip che si espande verso sinistra (per elementi sulla destra dello schermo) */
.tooltip-left[data-tooltip]::before {
	left: auto;
	right: 0;
	transform: translateX(-2px);
}

.tooltip-left[data-tooltip]::after {
	left: auto;
	right: 10px;
	transform: none;
}

/* Triangolo in basso */
[data-tooltip]::after {
	
	  content: "";
	  position: absolute;
	  display: none;
	  border-style: solid;
	  border-width: 8px;
	  border-color: var(--moma-orange) transparent transparent transparent;
	  top: -5px; 
	  left: 50%;
	  transform: translateX(-50%);
	  z-index: 10;
  
}

/* Mostra il tooltip e il triangolo al passaggio del mouse */
[data-tooltip]:not(.disabled):hover::before, [data-tooltip]:not(.disabled):hover::after { display: block; }

.tooltip { position: relative; }

.tooltip .tooltiptext {
	
	  display: none;
	  min-width: 140px;
	  width: auto;
	  background-color: var(--moma-orange);
	  box-shadow: var(--moma-popup-shadow);
	  color: #fff;
	  text-align: center;
	  border-radius: var(--moma-radius);
	  padding: 5px 0;
	  position: absolute;
	  z-index: 1;
	  top: -26px;
	  left: 50%;
	  transform: translateX(-50%);

}

.tooltip .tooltiptext::after {
	
	  content: "";
	  position: absolute;
	  top: 100%;
	  left: 50%;
	  transform: translateX(-50%);
	  border-width: 6px;
	  border-style: solid;
	  border-color: var(--moma-orange) transparent transparent transparent;
  
}

.tooltip:hover .tooltiptext { display: block; }

#listOfHiddenField span.title:before { 
	
	content: '' !important;
	margin-right: 0 !important;

}

/* Scrollbar */

/* Personalizzazione della scrollbar per tutti i div con overflow-y scroll */
div#edititem_frame2::-webkit-scrollbar {
    width: 8px; /* Larghezza della scrollbar */
}

div#edititem_frame2::-webkit-scrollbar-track {
    background: transparent; /* Colore dello sfondo della traccia della scrollbar */
}

div#edititem_frame2::-webkit-scrollbar-thumb {
    background: var(--moma-blue); /* Colore della scrollbar stessa */
    border-radius: 8px;
}

div#edititem_frame2::-webkit-scrollbar-thumb:hover {
    background: var(--moma-red); /* Colore della scrollbar quando il mouse è sopra */
}

/* Per Firefox */
div#edititem_frame2 {
    scrollbar-width: thin;
    scrollbar-color: var(--moma-blue) transparent;
}

/*MomaBOT*/
#chatbot-container {
  position: relative;
  color: #707070;
}

#chatbot {
  position: fixed; 
  bottom: 100px; 
  left: 50px;
  width: 300px; 
  height: 420px;
  background: white;
  border-radius: 15px; 
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); 
  display: none;
  z-index: 10; 
}

#chatbot .chatbot-body {
  padding: 20px;
  height: 240px;
  position: relative;
}

.chatbot-body a {
  text-align: left;
  width: calc(100% - 20px);
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 6px;
  font-weight: 400;
  color: #00000091;
  text-decoration: unset;
  text-transform: capitalize;
  display: block;
  margin-bottom: 10px;
}

a#record-audio-nlp {
  position: relative;
    margin: 20px auto 0 auto;
    bottom: 5px;
    text-align: center;
    width: 34px;
    height: 33px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
a#record-audio-nlp i{
  font-size: 23px;
  color: #fff;
}
a#record-audio-nlp{
	background: linear-gradient(90deg, #a21918 0%, #a11715 33%, #ff0c0a 100%);
}

a#record-audio-nlp.Rec{
	animation-name: pulse;
	animation-duration: 1.2s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes pulse{
	0%{
		box-shadow: 0px 0px 5px 0px rgba(183, 3, 3, 0.3);
	}
	65%{
		box-shadow: 0px 0px 13px 5px rgba(173, 0, 0, 0.578);
	}
	90%{
		box-shadow: 0px 0px 13px 5px rgba(238, 15, 15, 0.523);
	}
}
.nlp-audio-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nlp-audio-bar .recorded-progress{
  width: 150px;
  background-color: #f2f2f2;
  border-radius: 11px;
  border: solid #dddddd 1px;
  height: 13px;
}

div#nlp-progressbar {
  height: 100%;
  border-radius: 11px;
  width: 0;
  background: linear-gradient(90deg, #a21918 0%, #a11715 33%, #ff0c0a 70%, rgb(225 2 26) 100%);
}

.chatbot-header {
  height: 55px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: #bb1413;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

#chatbot p { 
  margin-top: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0;
}

#chatbot .separator-row {
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, #a21918 0%, #a11715 33%, #b01e1d 70%, rgb(135 12 25) 100%);
}

#close-chatbot {
  position: absolute;
  top: 16px;
  right: 20px;
  cursor: pointer;
  border: 0;
  border-radius: 100%;
  background: transparent;
  width: 26px;
  height: 26px;
  font-size: 14px;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

#close-chatbot:hover { background-color: #c02121; }

#chatbot-message {
  width: calc(100% - 70px);
  height: 50px;
  background: transparent;
  font-family: initial;
  font-size: 16px;
  border: none;
  outline: none;
  resize: none;
  padding: 20px 50px 10px 20px;
}

#send-message {
  position: absolute;
  bottom: 30px;
  right: 15px;
  border: none;
  outline: none;
  border-radius: 50%;
  height: 30px;
  width: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: #bb1413;
  cursor: pointer;
}

#send-message:hover { background-color: #525252; }

#chatbot-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: #E1031A;
  border-radius: 50%;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); 
  cursor: pointer;
  z-index: 100;
}

#chatbot-trigger > i {
  color: white;
  font-size: 26px;
  align-self: flex-start;
  margin-top: 10px;
  pointer-events: none;
}

#chatbot i{
  pointer-events: none;
}

#chatbot-container .tooltip {
  position: absolute;

  width: auto;
  min-width: 130px;

  bottom: 45px;
  left: 15px;

  background-color: white;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); 

  font-size: 14px;
  text-align: center;
  padding: 6px;
  
  border-radius: 8px;
}

#chatbot-container .tooltip-hidden {
  display: none;
}

#chatbot-container .tooltip::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 8px;
  border-color: white transparent transparent transparent;
  bottom: -12px;
  left: 12px;
}

span#isChatbotMessage-facet{
  display:none;
}

.mywindow.moma-style.moma-popup.predownload_popup.predownload_popup {
	
	height: 450px;	
	
}

.moma-popup.predownload_popup label {
	
	display: inline-block;
	width: 100%;	
	
}

#controller_content.moma-popup.edititem.edititem_old textarea.text[name$="tag_detected"] {
  min-height: 100px ! Important;
  max-height: unset !important;
  height: 100px ! Important;
}




/* momabar */
div#momabar {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: fixed;
  bottom: 40px;
  display: flex;
  width: 100%;
  margin: 0 auto;
  z-index: 99;
  align-items: center;
  justify-content: center;
}

div#momabar .momabar-inner {
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b2b2b2b8;
  backdrop-filter: blur(3px);
  padding: 10px 20px 9px 20px;
    border-radius: 50px;
  box-shadow: #00000017 0px 3px 2px 2px;
  gap: 15px;
}

div#momabar .momabar-item{
  position: relative;
  transform: scale(0.5);
  transition: 0.3s;
  opacity: 0;
}
div#momabar .momabar-inner .momabar-item img{
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: #0000005e 0px 2px 4px 1px;
}
div#momabar .momabar-inner .momabar-item img:hover{
  transform: scale(1.1);
  transition: 0.3s;
}
div#momabar .momabar-inner .momabar-item .delete-icon{
  position: absolute;
  top: -3px;
  z-index: 1;
  right: -6px;
  font-size: 11px;
  background: red;
  color: #fff;
  transition: 0.5s;
  padding: 3px 4px;
  border-radius: 50%;
  cursor: pointer;
}
div#momabar .momabar-inner .momabar-item .delete-icon:hover{
  transform: rotate(35deg);
  transition: 0.2s;
}
div#momabar #momabar-to-icon{
  margin-left: -55px;
  width: 35px;
  height: 35px;
  z-index: 2;
  display: flex;
  align-items: center;
  border-radius: 50%;
  background-color: #faebd769;
  justify-content: center;
  cursor: pointer;
}
div#momabar #momabar-to-icon i{
  color: #c80122;
  transition: 0.3s;
  pointer-events: none;
}
div#momabar #momabar-to-icon:hover i{
  transform: scale(1.1);
  transition: 0.3s;
}

#momabar.reduced-to-icon {
  justify-content: right;
  padding-right: 10px;
  transition: 0.6s;
}

#momabar.reduced-to-icon .momabar-inner {
  width: 60px !important;
  transition: 0.5s;
  min-width: 60px !important;
  opacity: 0;
  padding: unset;
}
#momabar.reduced-to-icon .momabar-inner .momabar-item{
  display: none;
}

/* end momabar*/

/* AI */
@keyframes highlight {
  0% {
    filter: blur(0) brightness(1);
    background: rgba(255, 255, 255, 0);
  }
  50% {
    filter: blur(8px) brightness(1.2);
    background: rgba(255, 255, 255, 0.5);
  }
  100% {
    filter: blur(0) brightness(1);
    background: rgba(255, 255, 255, 0);
  }
}

.ai-face-rect {
  border-radius: 50%;
  position: relative;
  display: inline-block;
  cursor: default;
  animation: highlight 0.8s ease-in 3;
  transition: transform 0.3s ease;
}
.ai-face-rect[data-face-navigable="1"] {
  cursor: pointer;
}
.ai-face-rect[data-face-navigable="0"]:hover .ai-face-tooltip {
  display: none !important;
  opacity: 0 !important;
}
.ai-face-tooltip {
  background: #868686a3;
  padding: 5px 30px;
  white-space: nowrap;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  backdrop-filter: blur(1px);
  box-shadow: 1px 1px 3px 2px #00000017;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ai-face-rect:hover .ai-face-tooltip, .ai-face-tooltip::before {
  display: block!important;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#labelfield_facedetection_banner {
  border-radius: 5px !important;
  margin-bottom: 10px;
  margin-top: 10px;
}
#labelfield_facedetection_banner .moma-box {
  background: #ffca2a7a !important;
  border-radius: 4px !important;
}

#labelfield_facedetection_banner .moma-box p{
  margin: 0 !important;
}

#controller_content.moma-popup.edititem.edititem_old textarea.text[name$="tag_detected"] {
  
  height: 125px !important;

}

span#contextmenu_momaai:before {

  content: "\e907";
  margin-right: 5px;
  font-family: 'moma-icons' !important;

}

#contextmenu {

  border: 1px solid var(--moma-gray) !important;
  background-color: #fff !important;
  border-radius: var(--moma-radius) !important;
  box-shadow:var(--moma-shadow) !important;
  opacity: 1 !important;

}

#secondaryContextmenu {

  margin-left: -10px !important;
  margin-top: -5px !important;

  opacity: 1 !important;
}

#contextmenu ul,
#secondaryContextmenu ul {

  display: flex;
  flex-flow: column;

}

#contextmenu ul li, 
#secondaryContextmenu ul li {

  position: relative !important;
  border-radius: 5px !important;
  font-family: var(--moma-font) !important;
  font-weight: var(--moma-regular) !important;
  color: var(--moma-text-color) !important;

  letter-spacing: -0.25px;

  padding: 5px 15px;
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  

}

#contextmenu ul li:hover,
#contextmenu ul li.selected,
#secondaryContextmenu ul li:hover {

  color: #fff !important;
  background-color: var(--moma-blue) !important;

}

#contextmenu ul li:hover em { color: #fff !important; }

#contextmenu ul li.break,
#secondaryContextmenu ul li.break {
  
  margin: 2px 0 !important;
  border-top: 1px solid var(--moma-light-gray) !important;
  
}

#contextmenu ul li:first-letter, 
#secondaryContextmenu ul li:first-letter,
#contextmenu ul li span:first-letter, 
#secondaryContextmenu ul li span:first-letter {

  text-transform: uppercase !important;

}

#contextmenu ul li span#contextmenu_momaai {

  background: linear-gradient(135deg, #ff2ea1, #7f39fb, #2ec5ff);
  display: inline-block;
  position: relative;
  border-radius: 5px;
  padding: 5px 15px;
  box-sizing: border-box;
  color: #fff;
  font-weight: var(--moma-bold);
  background-size: 200% 200%;                 /* più grande del box */
  animation: gradientShift 2.5s ease-in-out infinite alternate;

}

@keyframes gradientShift{
  0%   { background-position: 0%   0%;   }
  50%  { background-position: 100% 50%;  }
  100% { background-position: 0%   100%; }
}

#contextmenu_ul span.urgency {

  margin: auto !important;
  width: 12px !important;
  height: 12px !important;
  max-width: 12px !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;


}
#contextmenu_ul span.urgency0 { background-color: #fff !important; border: 1px solid var(--moma-gray) !important; }

em.accesskey {

  margin: 0 !important;
  right: 5px !important;
  padding: 0px !important;

}

.moma-popup.momaai-summary {

  max-width: 600px !important;
  max-height: 305px !important;

}

.moma-popup.momaai-summary .momaai-summary-title {

  font-size: 20px;
	text-align: center;
  margin-bottom: 35px;

}

.moma-popup.momaai-summary .momaai-summary-title:before {

	font-family: moma-icons;
	margin-right: 10px;
	content: '\e907';
	font-size: 40px;

  background: linear-gradient(135deg, #ff2ea1, #7f39fb, #2ec5ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.moma-popup.momaai-summary .mywindow_content div.momaai-summary-info {

  font-weight: var(--moma-regular);
  padding: 0px 50px;

  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;

}

.moma-popup.momaai-summary .mywindow_content div.momaai-summary-info a {

  color: var(--moma-blue);
  text-decoration: none;
  font-weight: var(--moma-bold);
  font-size: var(--moma-fontsize-s);

}

.moma-popup.momaai-summary .mywindow_content div.momaai-summary-info-images {
  
  gap: 5px;
  display: flex;
  flex-wrap: nowrap;
  padding: 10px;
  box-sizing: border-box;
  max-width: calc(100% - 30px);
  overflow-x: auto;
  margin: 0 50px;
  background-color: var(--moma-lighter-gray);
  border-radius: var(--moma-radius);
  

}

.moma-popup.momaai-summary .mywindow_content div.momaai-summary-info-image-container img {

  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  
}

.moma-popup.momaai-summary .mywindow_content div.momaai-summary-info-image-container .momaai-summary-info-image-title {

  font-size: 14px;
  font-weight: var(--moma-regular);
  color: var(--moma-text-color);
  margin-bottom: 5px;

}

/* MomaAssistant */

.mywindow.moma-popup.momaAssistant_popup {

  top: 10px;
  bottom: 10px;
  max-height: calc(100vh - 20px) !important;
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0 !important;
  right: 10px;
  left: auto;
  width: 380px !important;
  max-width: none !important;

  overflow: hidden;
  display: flex;
  flex-direction: column;

  z-index: 99999999999999 !important;

  transition: width 0.2s ease-in-out;

}

.mywindow.moma-popup.momaAssistant_popup .moma-icon-ai_icon { font-size: 24px !important; }

.mywindow.moma-popup.momaAssistant_popup .mywindow_content {

  overflow: hidden;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  display: flex;
  flex-direction: column;

}

.mywindow.moma-popup.momaAssistant_popup.expanded {

  width: 80vw !important;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-expand {

  position: absolute;
  top: 10px;
  right: 10px;

  cursor: pointer;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-expand:hover::before { color: var(--moma-dark-gray) !important; }

.mywindow.moma-popup.momaAssistant_popup .momaassistant-expand.notExpanded:before {

  content: '\f0b2';
  font-family: fontawesome;
  color: var(--moma-gray);

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-expand.expanded:before {

  content: '\e906';
  font-family: moma-icons;
  color: var(--moma-gray);

}

.mywindow.moma-popup.momaAssistant_popup h2,
.mywindow.moma-popup.searchByCharacter_popup h2 {

  border-bottom: 1px solid var(--moma-light-gray);
  padding: var(--moma-form-elm-padding-v) 0;

  font-size: var(--moma-fontsize-xl);
  font-weight: var(--moma-bold);
  text-align: center;

  color: var(--moma-dark-gray);

}

.mywindow.moma-popup.momaAssistant_popup p.moma-text-center {

  margin: 10px 0;
  padding: 0 12px;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box {

  width: 100%;
  max-width: none !important;

  flex: 1 1 auto;
  min-height: 0;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}

/* MOMAASSISTANT LAYOUT */
.mywindow.moma-popup.momaAssistant_popup .momaassistant-layout {

  display: flex;
  flex-direction: row;
  gap: 0;
  height: 100%;
  min-height: 0;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-sidebar {

  width: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border-right: 1px solid transparent;
  background: #fff;
  transition: width .2s ease-in-out, border-color .2s ease-in-out;

}

.mywindow.moma-popup.momaAssistant_popup.expanded .momaassistant-sidebar {

  width: 280px;
  box-sizing: border-box;
  margin-right: 10px;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-sidebar-inner {

  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;

}

.mywindow.moma-popup.momaAssistant_popup .moma-box {

  margin-top: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;

}

.mywindow.moma-popup.momaAssistant_popup .moma-box .thread-item {

  padding: 10px 12px;
  border-radius: 8px;
  margin: 4px 0;
  cursor: pointer;
  background: var(--moma-lighter-gray);
  color: var(--moma-dark-gray);

}

.mywindow.moma-popup.momaAssistant_popup .moma-box .thread-item.active {

  background: var(--moma-green);
  color: var(--moma-dark-green);

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-content {

  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box::before {

  content: '';
  display: block;
  margin-top: auto;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box:after {

  content: '';
  display: block;
  clear: both;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box p { 
  
  font-size: var(--moma-fontsize-m);
  font-weight: normal; 
  margin: 2px 0;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box p.example { 
  
  font-size: var(--moma-fontsize-s);
  font-weight: var(--moma-bold);
  color: var(--moma-blue);
  cursor: pointer;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box .momaassistant-thinking {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 0;
  height: 60px;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box .momaassistant-thinking .dot {

  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moma-blue);
  opacity: 0.4;
  animation: moma-thinking-bounce 1.2s infinite ease-in-out;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-box .momaassistant-thinking .dot:nth-child(1) { animation-delay: 0s; }
.mywindow.moma-popup.momaAssistant_popup .momaassistant-box .momaassistant-thinking .dot:nth-child(2) { animation-delay: 0.15s; }
.mywindow.moma-popup.momaAssistant_popup .momaassistant-box .momaassistant-thinking .dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes moma-thinking-bounce {

  0%, 80%, 100%{ transform: translateY(0); opacity: 0.4; }
  40%{ transform: translateY(-4px); opacity: 1; }

}

.mywindow.moma-popup.momaAssistant_popup input.moma-input,
.mywindow.moma-popup.searchByCharacter_popup input.moma-input {
  
  border-radius: var(--moma-search-radius) !important;

  padding: var(--moma-search-padding) !important;
  padding-right: 66px !important;
  
  font-family: var(--moma-font);
  font-size: var(--moma-fontsize-m) !important;

  margin-top: 20px !important;

  /* box-shadow: var(--moma-shadow); */

}

.mywindow.moma-popup.momaAssistant_popup button {
  
  position: absolute;
  right: 8px;
  top: 26px;
  border: 0;
  outline: none;
  background: var(--moma-light-gray);
  border-radius: 100%;

  width: 40px;
  height: 40px;

}

.mywindow.moma-popup.momaAssistant_popup .moma-input:focus ~ button {

  background-color: var(--moma-green);
  color: var(--moma-dark-green);

}

.mywindow.moma-popup.momaAssistant_popup button:after {
  
  content: "\f062";
  font-family: fontawesome;
  font-size: var(--moma-fontsize-xl);
  color: white;
  
}

.mywindow.moma-popup.momaAssistant_popup .moma-input:focus ~ button:after { color: var(--moma-dark-green); }

.momaassistant-box p.momaassistant-question,
.momaassistant-box p.momaassistant-answer {

  display: inline-block;
  max-width: 80%;
  
  padding: 10px 14px;
  
  text-align: left;
  word-wrap: break-word;
  white-space: pre-wrap;
  margin: 10px 0 10px auto !important;

}
  
.momaassistant-box p.momaassistant-question {

  background-color: var(--moma-blue);
  color: white;
  border-radius: 18px 18px 0 18px;

}

.momaassistant-box p.momaassistant-answer {

  margin: 20px 0 20px 0 !important;
  background-color: var(--moma-lighter-gray);
  border-radius: 18px 18px 18px 0;

}

.mywindow.moma-popup.momaAssistant_popup .momaassistant-sidebar-inner .moma-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.momaassistant-search-box {

  padding: 0 0 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--moma-lighter-gray);
  position: relative;
  flex-shrink: 0;

}

.momaassistant-search-box::after {

  content: '\f002';
  font-family: fontawesome;
  font-size: 20px;
  top: 33px;
  right: 17px;
  position: absolute;
  color: var(--moma-dark-gray);

}

.momaassistant-conversations-scrollable {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.momaassistant-input-container {

  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

}

.momaassistant-user-icon {
  
  background-color: var(--moma-light-gray);
  border-radius: 100%;
  font-size: var(--moma-fontsize-xl);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  opacity: unset;
  cursor: pointer;

}

.momaassistant-user-icon:hover { background-color: var(--moma-gray); }

.conversation-title { 
  font-weight: normal;
  margin: 0 !important;
}

.conversation-item { 
  position: relative;
  padding: 10px;
  border-radius: 4px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.conversation-item p.conversation-title {
  cursor: pointer;
  flex: 1;
  margin: 0 !important;
}

.conversation-item p::first-letter { text-transform: uppercase; }

.conversation-item:hover {
  background-color: rgba(0,0,0,0.05);
}

.conversation-item.active {
  background-color: var(--moma-light-blue);
}

.conversation-item.active p.conversation-title { 
  font-weight: var(--moma-bold); 
}

.conversation-menu-icon {
  opacity: 0;
  cursor: pointer;
  font-size: 20px;
  padding: 5px 8px;
  border-radius: 4px;
  transition: opacity 0.2s, background-color 0.2s;
  line-height: 1;
  color: var(--moma-dark-gray);
  flex-shrink: 0;
}

.conversation-item:hover .conversation-menu-icon {
  opacity: 1;
}

.conversation-menu-icon:hover {
  background-color: rgba(0,0,0,0.1);
}

/* Dropdown menu per conversazioni */
.conversation-dropdown-menu {
  position: absolute;
  top: 70%;
  right: 14px;
  margin-top: 5px;
  background: white;
  border-radius: var(--moma-radius);
  box-shadow: var(--moma-shadow);
  padding: var(--moma-form-elm-padding-h) 0;
  min-width: 200px;
  z-index: 9999;
  width: 200px;
}

.conversation-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  gap: 12px;
}

.conversation-dropdown-menu .dropdown-item:hover {
  background-color: var(--moma-lighter-gray);
}

.conversation-dropdown-menu .dropdown-icon {
  font-family: fontawesome;
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.conversation-dropdown-menu .dropdown-icon-copy::before {
  content: '\f0c5';
}

.conversation-dropdown-menu .dropdown-icon-rename::before {
  content: '\f044';
}

.conversation-dropdown-menu .dropdown-icon-delete::before {
  content: '\f1f8';
}

.conversation-dropdown-menu .dropdown-label {
  font-size: var(--moma-fontsize-m);
  color: var(--moma-dark-gray);
  text-transform: capitalize;
}

.conversation-dropdown-menu .dropdown-divider {
  margin: 8px 0;
  border: none;
  border-top: 1px solid var(--moma-lighter-gray);
}

.conversation-dropdown-menu .dropdown-item-danger {
  color: var(--moma-red);
}

.conversation-dropdown-menu .dropdown-item-danger .dropdown-label {
  color: var(--moma-red);
}

/* Input per rinominare conversazione */
.conversation-rename-input {
  width: 100%;
  padding: 8px;
  border: 2px solid #007bff;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  background-color: white;
  outline: none;
}

.conversation-rename-input:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}


/* FINE MOMAASSISTANT */

/* AI SEARCH BY CHARACTER */

.moma-faces-container {

  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

}

.moma-face {

  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 100%;
  background-color: var(--moma-red);
  flex-shrink: 0;
  
}

/** MomaAI Pop-up Wizard */

.mywindow.moma-popup.momaai_popup.step_0 {

  max-height: 580px !important;
  max-width: 680px !important;

}

.mywindow.moma-popup.momaai_popup {

  max-width: 650px !important;
  max-height: 500px !important;

  font-weight: var(--moma-regular);

}

.mywindow.moma-popup.momaai_popup.step_1 .mywindow_content { font-weight: var(--moma-regular); max-height: none !important; }

.mywindow.moma-popup.momaai_popup .moma-flex-container { height: 100%; }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-row { height: 50%; align-items: center; }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell { width: 25%; }

/* Wizard step 0: percentuali, anelli e icone allineati al centro (evita moma-text-left sull’intera riga) */
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row {
  text-align: center;
}
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell {
  text-align: center;
}
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell > input.moma-radio-icon + label {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell > input.moma-radio-icon[class*='moma-icon'] + label:before {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Wizard MomaAI step 0: label evidente servizio in stato DEMO (mix licenza / prova per servizio) */
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell .momaai-wizard-demo-label {
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: var(--moma-bold);
  line-height: 1.25;
  color: var(--moma-dark-gray);
  background: var(--moma-light-orange);
  border-radius: 6px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Wizard: demo esaurita — messaggio + CTA (stesso pattern editor: span.ai-demo-exhausted-cta) */
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell .momaai-wizard-demo-exhausted {
  margin-top: 6px;
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--moma-dark-gray);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell .momaai-wizard-demo-exhausted .momaai-wizard-demo-exhausted-line {
  white-space: nowrap;
}
.mywindow.moma-popup.momaai_popup .momaai-wizard-ai-row > .moma-flex-cell .momaai-wizard-demo-exhausted-msg {
  color: var(--moma-red);
}

.mywindow.moma-popup.momaai_popup .moma-steps-container[data-steps-number="2"].moma-flex-container .moma-flex-cell { width: 42.5%; }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell a { color: var(--moma-blue); text-decoration: none; font-weight: var(--moma-bold); }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell.momaai-summary-number { font-weight: var(--moma-regular); background-color: var(--moma-light-gray); border-radius: 25px; padding: 25px 50px; width: auto; box-sizing: border-box; }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell.momaai-summary-number[onclick]:hover { background-color: var(--moma-blue); color: #fff; cursor: pointer; }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell.momaai-summary-number div:nth-child(2) { margin-top: 10px; }

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell em { font-size: 60px; font-style: normal; font-weight: var(--moma-bold); }

.mywindow.moma-popup.momaai_popup .moma-flex-container #momaai_logo.moma-flex-row {
  
  margin-top: 20px; 
  font-weight: var(--moma-bold);
  justify-content: center;
  font-size: 40px;

}

.moma-icon-ai_icon {
  
  font-size: 40px;
  display: inline-block;
  background: linear-gradient(135deg, rgb(255, 46, 161), rgb(127, 57, 251), rgb(46, 197, 255)) 0% 0% / 200% 200% text;
  animation: 2.5s ease-in-out 0s infinite alternate none running gradientShift;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

/* MomaAI License Status Colors */
.license-status-exhausted {
  color: var(--moma-red) !important; /* Rosso */
  font-weight: bold;
}

.license-status-warning {
  color: var(--moma-orange);
  font-weight: bold;
}

.license-status-ok {
  color: inherit; /* Colore normale */
}

.progress-circle.tooltip:before {
  
  content: "";
  position: absolute;
  display: none;
  border-style: solid;
  border-color: var(--moma-blue) transparent transparent transparent;
  top: -5px;
  right: 50%;
  transform: translateX(50%);
  z-index: 10;

  height: 10px;
  width: 30px;

}

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell > b {

  position: absolute;
  top: 0;
  font-size: 12px;
  right: 10px;
  top: -30px;
  background-color: var(--moma-blue);
  color: white;
  padding: 3px 6px;
  border-radius: var(--moma-radius);

  display: none;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
  box-sizing: border-box;

}

.mywindow.moma-popup.momaai_popup .moma-flex-container .moma-flex-cell:hover > b { display: block; }

/** MomaAI Summary Pop-up (wizard layout) */
.mywindow.moma-popup.momaai-summary {

  max-width: 650px !important;
  max-height: 450px !important;

  font-weight: var(--moma-regular);

}

.mywindow.moma-popup.momaai-summary .mywindow_content { font-weight: var(--moma-regular); max-height: none !important; }

.mywindow.moma-popup.momaai-summary .moma-flex-container { height: 100%; }

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-row { height: 50%; align-items: center; }

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell { width: 25%; }

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell.momaai-summary-number { font-weight: var(--moma-regular); background-color: var(--moma-light-gray); border-radius: 25px; padding: 20px; box-sizing: border-box; }

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell.momaai-summary-number[onclick]:hover { background-color: var(--moma-blue); color: #fff; cursor: pointer; }

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell.momaai-summary-number div:nth-child(2) { margin-top: 10px; }

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell em { font-size: 45px; font-style: normal; font-weight: var(--moma-bold); }

.mywindow.moma-popup.momaai-summary .moma-flex-container #momaai_logo.moma-flex-row {
  
  margin-top: 20px; 
  font-weight: var(--moma-bold);
  justify-content: center;
  font-size: 40px;

}

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell b {

  position: absolute;
  top: 0;
  font-size: 12px;
  right: 10px;
  top: -30px;
  background-color: var(--moma-blue);
  color: white;
  padding: 3px;
  border-radius: var(--moma-radius);

  display: none;

}

.mywindow.moma-popup.momaai-summary .moma-flex-container .moma-flex-cell:hover b { display: block; }

.progress-circle {
  position: absolute; /* so that children can be absolutely positioned */
  padding: 0;
  width: 5em;
  height: 5em;
  background-color: #F2E9E1; 
  border-radius: 50%;
  line-height: 5em;

  font-size: 17px;
  z-index: -1;
  top: -17.5px;  

  left: 50%;
  transform: translateX(-50%);

}

/* Wizard MomaAI: servizio non disponibile / crediti esauriti — stesso azzurro brand, reso opaco (FD e FR uguali) */
.mywindow.moma-popup.momaai_popup .moma-flex-cell.assistant-service-disabled .progress-circle .value-bar {
  border-color: rgba(68, 119, 170, 0.45);
}
.mywindow.moma-popup.momaai_popup .moma-flex-cell.assistant-service-disabled .progress-circle.over50 .first50-bar {
  background-color: rgba(68, 119, 170, 0.45);
}

.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual .progress-circle-fr-quota-muted .value-bar {
  border-color: rgba(68, 119, 170, 0.45);
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual .progress-circle-fr-quota-muted.over50 .first50-bar {
  background-color: rgba(68, 119, 170, 0.45);
}

.progress-circle:after {
   border: none;
   position: absolute;
   top: 0.35em;
   left: 0.35em;
   text-align: center;
   display: block;
   border-radius: 50%;
   width: 4.3em;
   height: 4.3em;
   background-color: white;
   content: " ";
   transform: none;
}
/* Text inside the control */
.progress-circle span {
   position: absolute;
   line-height: 5em;
   width: 5em;
   text-align: center;
   display: block;
   color: #53777A;
   z-index: 2;
}
.left-half-clipper { 
  /* a round circle */
  border-radius: 50%;
  width: 5em;
  height: 5em;
  position: absolute; /* needed for clipping */
  clip: rect(0, 5em, 5em, 2.5em); /* clips the whole left half*/ 
}
/* when p>50, don't clip left half*/
.progress-circle.over50 .left-half-clipper {
  clip: rect(auto,auto,auto,auto);
}
.value-bar {
  /*This is an overlayed square, that is made round with the border radius,
  then it is cut to display only the left half, then rotated clockwise
  to escape the outer clipping path.*/ 
  position: absolute; /*needed for clipping*/
  clip: rect(0, 2.5em, 5em, 0);
  width: 5em;
  height: 5em;
  border-radius: 50%;
  border: 0.45em solid var(--moma-blue); /*The border is 0.35 but making it larger removes visual artifacts */
  /*background-color: #4D642D;*/ /* for debug */
  box-sizing: border-box;
 
}
/* Progress bar filling the whole right half for values above 50% */
.progress-circle.over50 .first50-bar {
  /*Progress bar for the first 50%, filling the whole right half*/
  position: absolute; /*needed for clipping*/
  clip: rect(0, 5em, 5em, 2.5em);
  background-color: var(--moma-blue);
  border-radius: 50%;
  width: 5em;
  height: 5em;
}
.progress-circle:not(.over50) .first50-bar{ display: none; }


/* Progress bar rotation position */
.progress-circle.p0 .value-bar { display: none; }
.progress-circle.p1 .value-bar { transform: rotate(4deg); }
.progress-circle.p2 .value-bar { transform: rotate(7deg); }
.progress-circle.p3 .value-bar { transform: rotate(11deg); }
.progress-circle.p4 .value-bar { transform: rotate(14deg); }
.progress-circle.p5 .value-bar { transform: rotate(18deg); }
.progress-circle.p6 .value-bar { transform: rotate(22deg); }
.progress-circle.p7 .value-bar { transform: rotate(25deg); }
.progress-circle.p8 .value-bar { transform: rotate(29deg); }
.progress-circle.p9 .value-bar { transform: rotate(32deg); }
.progress-circle.p10 .value-bar { transform: rotate(36deg); }
.progress-circle.p11 .value-bar { transform: rotate(40deg); }
.progress-circle.p12 .value-bar { transform: rotate(43deg); }
.progress-circle.p13 .value-bar { transform: rotate(47deg); }
.progress-circle.p14 .value-bar { transform: rotate(50deg); }
.progress-circle.p15 .value-bar { transform: rotate(54deg); }
.progress-circle.p16 .value-bar { transform: rotate(58deg); }
.progress-circle.p17 .value-bar { transform: rotate(61deg); }
.progress-circle.p18 .value-bar { transform: rotate(65deg); }
.progress-circle.p19 .value-bar { transform: rotate(68deg); }
.progress-circle.p20 .value-bar { transform: rotate(72deg); }
.progress-circle.p21 .value-bar { transform: rotate(76deg); }
.progress-circle.p22 .value-bar { transform: rotate(79deg); }
.progress-circle.p23 .value-bar { transform: rotate(83deg); }
.progress-circle.p24 .value-bar { transform: rotate(86deg); }
.progress-circle.p25 .value-bar { transform: rotate(90deg); }
.progress-circle.p26 .value-bar { transform: rotate(94deg); }
.progress-circle.p27 .value-bar { transform: rotate(97deg); }
.progress-circle.p28 .value-bar { transform: rotate(101deg); }
.progress-circle.p29 .value-bar { transform: rotate(104deg); }
.progress-circle.p30 .value-bar { transform: rotate(108deg); }
.progress-circle.p31 .value-bar { transform: rotate(112deg); }
.progress-circle.p32 .value-bar { transform: rotate(115deg); }
.progress-circle.p33 .value-bar { transform: rotate(119deg); }
.progress-circle.p34 .value-bar { transform: rotate(122deg); }
.progress-circle.p35 .value-bar { transform: rotate(126deg); }
.progress-circle.p36 .value-bar { transform: rotate(130deg); }
.progress-circle.p37 .value-bar { transform: rotate(133deg); }
.progress-circle.p38 .value-bar { transform: rotate(137deg); }
.progress-circle.p39 .value-bar { transform: rotate(140deg); }
.progress-circle.p40 .value-bar { transform: rotate(144deg); }
.progress-circle.p41 .value-bar { transform: rotate(148deg); }
.progress-circle.p42 .value-bar { transform: rotate(151deg); }
.progress-circle.p43 .value-bar { transform: rotate(155deg); }
.progress-circle.p44 .value-bar { transform: rotate(158deg); }
.progress-circle.p45 .value-bar { transform: rotate(162deg); }
.progress-circle.p46 .value-bar { transform: rotate(166deg); }
.progress-circle.p47 .value-bar { transform: rotate(169deg); }
.progress-circle.p48 .value-bar { transform: rotate(173deg); }
.progress-circle.p49 .value-bar { transform: rotate(176deg); }
.progress-circle.p50 .value-bar { transform: rotate(180deg); }
.progress-circle.p51 .value-bar { transform: rotate(184deg); }
.progress-circle.p52 .value-bar { transform: rotate(187deg); }
.progress-circle.p53 .value-bar { transform: rotate(191deg); }
.progress-circle.p54 .value-bar { transform: rotate(194deg); }
.progress-circle.p55 .value-bar { transform: rotate(198deg); }
.progress-circle.p56 .value-bar { transform: rotate(202deg); }
.progress-circle.p57 .value-bar { transform: rotate(205deg); }
.progress-circle.p58 .value-bar { transform: rotate(209deg); }
.progress-circle.p59 .value-bar { transform: rotate(212deg); }
.progress-circle.p60 .value-bar { transform: rotate(216deg); }
.progress-circle.p61 .value-bar { transform: rotate(220deg); }
.progress-circle.p62 .value-bar { transform: rotate(223deg); }
.progress-circle.p63 .value-bar { transform: rotate(227deg); }
.progress-circle.p64 .value-bar { transform: rotate(230deg); }
.progress-circle.p65 .value-bar { transform: rotate(234deg); }
.progress-circle.p66 .value-bar { transform: rotate(238deg); }
.progress-circle.p67 .value-bar { transform: rotate(241deg); }
.progress-circle.p68 .value-bar { transform: rotate(245deg); }
.progress-circle.p69 .value-bar { transform: rotate(248deg); }
.progress-circle.p70 .value-bar { transform: rotate(252deg); }
.progress-circle.p71 .value-bar { transform: rotate(256deg); }
.progress-circle.p72 .value-bar { transform: rotate(259deg); }
.progress-circle.p73 .value-bar { transform: rotate(263deg); }
.progress-circle.p74 .value-bar { transform: rotate(266deg); }
.progress-circle.p75 .value-bar { transform: rotate(270deg); }
.progress-circle.p76 .value-bar { transform: rotate(274deg); }
.progress-circle.p77 .value-bar { transform: rotate(277deg); }
.progress-circle.p78 .value-bar { transform: rotate(281deg); }
.progress-circle.p79 .value-bar { transform: rotate(284deg); }
.progress-circle.p80 .value-bar { transform: rotate(288deg); }
.progress-circle.p81 .value-bar { transform: rotate(292deg); }
.progress-circle.p82 .value-bar { transform: rotate(295deg); }
.progress-circle.p83 .value-bar { transform: rotate(299deg); }
.progress-circle.p84 .value-bar { transform: rotate(302deg); }
.progress-circle.p85 .value-bar { transform: rotate(306deg); }
.progress-circle.p86 .value-bar { transform: rotate(310deg); }
.progress-circle.p87 .value-bar { transform: rotate(313deg); }
.progress-circle.p88 .value-bar { transform: rotate(317deg); }
.progress-circle.p89 .value-bar { transform: rotate(320deg); }
.progress-circle.p90 .value-bar { transform: rotate(324deg); }
.progress-circle.p91 .value-bar { transform: rotate(328deg); }
.progress-circle.p92 .value-bar { transform: rotate(331deg); }
.progress-circle.p93 .value-bar { transform: rotate(335deg); }
.progress-circle.p94 .value-bar { transform: rotate(338deg); }
.progress-circle.p95 .value-bar { transform: rotate(342deg); }
.progress-circle.p96 .value-bar { transform: rotate(346deg); }
.progress-circle.p97 .value-bar { transform: rotate(349deg); }
.progress-circle.p98 .value-bar { transform: rotate(353deg); }
.progress-circle.p99 .value-bar { transform: rotate(356deg); }
.progress-circle.p100 .value-bar { transform: rotate(360deg); }

/*
 * Wizard MomaAI: FD+FR — due anelli sottili nello stesso ingombro.
 * Questo blocco è dopo .progress-circle e .progress-circle:after così stile e buco centrale non vengono persi in cascata.
 */
.momaai-face-gauges.momaai-face-dual {
  position: absolute;
  width: 5em;
  height: 5em;
  font-size: 17px;
  top: -17.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual > .progress-circle.progress-circle-face-dual-outer {
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  z-index: 1 !important;
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual > .progress-circle.progress-circle-face-dual-inner {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2 !important;
  /* Stesso track degli altri anelli: con transparent si vedeva il bianco del ::after esterno nella parte “ancora da consumare”. */
  background-color: #F2E9E1 !important;
  font-size: 0.935em !important;
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual > .progress-circle.progress-circle-face-dual-outer .value-bar {
  border-width: 0.11em;
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual > .progress-circle.progress-circle-face-dual-outer:after {
  width: 4.74em;
  height: 4.74em;
  top: 0.13em;
  left: 0.13em;
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual > .progress-circle.progress-circle-face-dual-inner .value-bar {
  border-width: 0.11em;
}
.mywindow.moma-popup.momaai_popup .momaai-face-gauges.momaai-face-dual > .progress-circle.progress-circle-face-dual-inner:after {
  width: 4.78em;
  height: 4.78em;
  top: 0.11em;
  left: 0.11em;
}

/** End MomaAI Pop-up Wizard */
#controller_content.moma-popup.edititem.edititem_new #controller_content_message {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 10px;
}


#controller_content.moma-popup.edititem.sticked {
	height: 100vh !important;
	
}

#controller_content.moma-popup.edititem.sticked {
  height: calc(100vh - 25px) !important;
  margin: 0;
  box-shadow: none !important;
  left: auto !important;
  border-left: 1px solid gray !important;
  top:25px !important;
  width: 40vw !important;
  max-width: 1050px !important;
}

/* Handle per il resize in modalità sticky - visibile solo in sticky mode */
.sticky-resize-handle {
  display: none;
}

#controller_content.moma-popup.edititem.sticked .sticky-resize-handle {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
  background: transparent;
  z-index: 10001;
  transition: background 0.2s ease;
}

#controller_content.moma-popup.edititem.sticked .sticky-resize-handle:hover {
  background: rgba(33, 150, 243, 0.3);
}

#controller_content.moma-popup.edititem.sticked td.right-side > div,
#controller_content.moma-popup.edititem.sticked  div.edititem_frame {
	height: calc(100vh - 120px) !important;
}

#controller_content.moma-popup.edititem.edititem_new.fullscreen td.right-side > div,
#controller_content.moma-popup.edititem.edititem_new.fullscreen  div.edititem_frame {
  height: calc(100vh - 95px) !important;
}

#controller_content.moma-popup.edititem.edititem_new #edititem_frame {
  container-type: inline-size;
  container-name: edititemframe;
}

#controller_content.moma-popup.edititem #tfoot {
	margin: 10px 0;
}

#edititem_foot_botton {
  container-type: inline-size;
  container-name: edititembotton;
  display: flex;
  margin-left: 0;
  box-sizing: revert-layer;
  text-align: center;
  background: white;
  margin-top: 0;
  justify-content: flex-end;
}

.edititem_new #table_content_message {
  container-type: inline-size;
  container-name: tablecontentmessage;
}

.edititem_new #droppable2 > div li {
  container-type: inline-size;
  container-name: droppable2content;
}

.edititem_new #edititem_frame {
  container-type: inline-size;
  container-name: edititemframe;
}

@container edititemframe (max-width: 470px) {
	
	#droppable2 > div {
  		grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
  		gap: 0px;          
	}

  	
}

@container droppable2content (max-width: 400px) {
	.td_label > span.span_select {
	  display: none !important;
  	}
  	
  	
}

@container tablecontentmessage (max-width: 725px) {
	
	
	
	#controller_content_message_table:not(.show-left) > * > tr > td:nth-child(3), 
    #controller_content_message_table:not(.show-left) > * > tr > th:nth-child(2),
    #controller_content_message_table:not(.show-left) > * > tr > td:nth-child(2) {
			display: none;
	}
	
	#controller_content.moma-popup.edititem td.left-side {
		padding-right:0 !important;
		min-width: 100% !important;
	}
	
	#controller_content.moma-popup.edititem #edititem_foot_botton {
		margin-right: 0;
	}
	
	#controller_content.moma-popup.edititem td.right-side {
		padding-left:0 !important;
		min-width: 100% !important;
	}
	
	/* Mostra l'icona per mostrare la parte destra quando è nascosta */
	#toggle-edititem-show-right {
		display: inline-block !important;
	}
	
	#controller_content_message_table.show-left > * > tr > th:nth-child(1),
    #controller_content_message_table.show-left > * > tr > td:nth-child(1) {
			display: none;
	}
	
	#controller_content_message_table.show-left > * > tr > td.tfoot:nth-child(1) {
			display: block;
		    position: absolute;
		    right: 15px;
		    left: 15px;
		    bottom: 10px;
		    z-index:100;
		    padding: var(--moma-form-elm-padding-v) var(--moma-form-elm-padding-h);
	}
}



