/*-------------------------------------------------------------------------*/
/* Copyright (c) DELTA X MULTIMEDIA                                        */
/* Tutti i diritti sono riservati - All rights reserved                    */
/* https://www.deltacms.eu - info@deltaxmultimedia.it                      */
/* CSS Document - DELTA CMS 3.1                                            */
/*-------------------------------------------------------------------------*/
/* Main Style - v.3.02 September 2023                                      */
/*-------------------------------------------------------------------------*/

@charset "utf-8";

@import 'reset.css';
@import 'fonts.css';
@import 'spacing.css';
@import 'fx.css';
@import 'appearance.css';

/*@import 'flex-box.css';
@import 'font-awesome.css';
@import 'fx.css';
@import 'complianceCookie.css';*/


body
{
    background-color: transparent;
    font-family: "Noto Sans", Arial, Verdana, Helvetica, sans-serif;

    
}

body, html {
    margin: 0;
    padding: 0;
    /*height: 100%;*/
}

html
{
    /*scroll-behavior:smooth;*/
    min-width: auto;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;   
    -webkit-tap-highlight-color: transparent; /* for removing the highlight */
}


*:focus {
    outline: none;
}


img {border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; display: inline-block; box-sizing:content-box;}


/* Preload */
.img-preload {
	opacity: 1;
	transition: opacity 0.3s;
}

img[data-src] {
	opacity: 0;
}


/* Full screen page preload */
.preloader {position: fixed; left: 0; top: 0; width:100%; height:100%; overflow: hidden; background-color: #000; z-index:999999;}
.preloading { position: relative; width:auto; height:auto; left:50%; top:50%;  animation: scanim 2500ms ease infinite alternate;}

/* STYLES */

h1
{
    font-weight: normal;
    
}

strong
{
    font-weight: normal;
}

.flex {width:100%; max-width: 100%;}	
.img-flex {display: block;}

.clearfix::after
{
    content: "";
    clear: both;
    display: table;
}

/* links */

.link {text-decoration:none; -webkit-transition: color 0.2s ease; transition: color 0.2s ease;}
.link:hover {text-decoration:underline;}
.link_footer,.link_footer_credits {text-decoration:none; font-family: Arial, Verdana, Helvetica,Arial, sans-serif;-webkit-transition: color 0.2s ease;transition: color 0.2s ease;}


.ta-justify
{
    text-align: justify;  
}

/*.paragraph
{
    font-family: "Public Sans", Times, Arial, Verdana, Helvetica, sans-serif;
}*/




/*  LOGO   */

/*.logo-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px; /* menu height 
    overflow: hidden;
}*/

.logo-container
{  

    display: flex;
    position: relative;  

   /* max-width: 268px;
    max-height: 42px;    */

    width: 268px; 
    height: 42px;
    
    /*overflow: hidden;*/
}

.crossfade-image {
    flex:1;
   /* display: flex;*/
    position: absolute;

    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.crossfade-image.active {
    opacity: 1;
}

.logo-container:hover .crossfade-image:not(.active) {
    opacity: 1;
}

.logo-container:hover .crossfade-image.active {
    opacity: 0; /* Sfuma l'immagine sempre visibile al passaggio del mouse */
    transition: opacity 0.3s ease-in-out;
}

/* contents */



#container
{ 
	width: 100%;
}

#wrapper, #wrapper-max
{
	margin: 0 auto;	
	margin-right: auto;
  	margin-left: auto;
	display: block;

   /* background: rgba(256, 256, 256, 1);*/
}

/*.menu-container
{

}


.languages
{
    border-top:1px solid;
    border-bottom:1px solid;
}

.menu
{
    width:100%;
    display: flex;
}*/


/* grids 

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-gap: 40px;
}

.grid-item {
    
    color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
}


.grid-item-title
{
    margin-top: 14px;
    margin-bottom: 14px;    
}*/



/* CMS Panel */

.flex-left
{
    flex:1;
    text-align: left;
    justify-content: left; /* Allinea orizzontalmente al centro (se necessario) */
}

.flex-right
{
    flex:1;
    text-align: right; 
    justify-content: right; /* Allinea orizzontalmente al centro (se necessario) */
}

.flex-center
{
    text-align: center; 
    margin: 0 auto;
    justify-content: center;
}     

.main-container {
    display: flex;
    height: 100vh;
}


.content {
    flex-grow: 1;

    background-color: #f2f2f2;
}

/* Sidebar styles */
.sidebar {

    width: 220px;
    background-color: #313135;
    color: #fff;

    transition: width 0.3s ease;

    display: flex;
    flex-direction: column;
    height: 100vh !important;            
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-menu-item-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.sidebar-menu-item
{
    background-color: #313135;  
    font-family: "Noto Sans", Arial, Verdana, Helvetica, sans-serif;
    font-size: 14px;
    padding:8px 16px 8px 16px;
    cursor: pointer;

    display: flex; /* Imposta il contenitore come flexbox */
    align-items: center;

    border-bottom: 1px solid #3f3f3f;
}

.sidebar-menu-item:hover
{
    background-color: #959595;
}
  
.sidebar-customer-logo {

    line-height:30px !important;
    box-sizing: border-box;
}

/* Parte centrale con overflow-y:auto */
.sidebar-menu {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

/* Parte inferiore */
.version
{
    box-sizing: border-box;
    font-size: 11px;
}

.collapsible, .not-collapsible
{
    
    background-color: #8d8c96;
    color: white;
    cursor: pointer;
    padding: 10px 16px 10px 16px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;

    display: flex; /* Imposta il contenitore come flexbox */
    align-items: center;

    border-bottom: 1px solid #3f3f3f;

}

.not-collapsible
{
    background-color: #333;

}


  .active, .collapsible:hover, .not-collapsible:hover {
    background-color: #444444;
  }
  
  .collapsible:after {
      font-family: "dxm-icons";  
      content: "\e94c";
      color: white;
      float: right;
      margin-left: 5px;
      font-size: 14px;
      line-height: 18px;
  }
  
  .active:after {
    
    content: '\e953';
  }

/* Vertical Divider */
.vertical-divider {

    
    background-color: #ccc;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center; /* Allinea verticalmente al centro */
    justify-content: center; /* Allinea orizzontalmente al centro */
    box-sizing: content-box;
}

.divider-arrow
{
    color:#313135;
    transition: all 0.3s ease;
    font-size:18px;
}

/* Titolo orizzontale */
.top-bar {
    font-size: 24px;
    /*font-weight: bold;*/
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
    
    line-height:30px !important;
}

.top-bar-logo
{
    margin-left:10px;
    margin-top:4px;
    line-height:30px !important;
}

.top-bar-left, .top-bar-user, top-bar-options
{
    font-size:13px;
}

/*.top-bar-left i.dxmi, .top-bar-user i.dxmi
{
    font-size: 16px; 
}

.top-bar-options i.dxmi
{
    font-size: 18px; 
}*/


.app-page {
    font-size: 14px;
}

.toggle-button
{
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
}


/* Classe per ruotare l'icona quando necessario */
.rotated {
    transform: rotate(180deg);
}        

.float-left {
    float: left;
}

.float-right {
    float: right;
}


.btn-top-bar {
    display: inline-block;

    padding-left: 8px;
    padding-right: 8px;
    background-color: transparent; /* Colore di sfondo del pulsante */
    color: #666; /* Colore del testo */
    border: none; /* Rimuovi il bordo predefinito */
   
    cursor: pointer; /* Cambia il cursore al passaggio del mouse */
    text-align: center;
    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-top-bar:hover {
    color: #000; /* Colore del testo */
    background-color: #eeeeee; 
}

.btn-icon
{
    display:flex !important;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
}


/* tooltip */
.sidebar-menu-item-container {
    position: relative !important;
}

.sidebar-tooltip {
    display: none;
    position: fixed;
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.sidebar-menu-item-container:hover .sidebar-tooltip {
    opacity: 0;
}


/* Cookie Law banner */

.complianceCookie 
{
	position:fixed;
	width:100%;
	bottom:0;
    /*-webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;   */ 
	z-index:999999;
}

.complianceCookie-form-box
{
    padding-top:20px;
	display:inline-block;
	margin: 0px auto;
	text-align:center;	
}
