body {
	background-color: var(--light-background-color);
	height: 100%;
	margin: 0;
	overflow: hidden; 
}

.container-fluid-custom {
    max-width: 1768px;  
    width: 100%;       
    margin: 0 auto;	
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

/** fix trumbowyg **/
.trumbowyg-editor {
	height: 60%!important;
}


/** fix send reset pass */
#dnn_ctr_SendPassword_liCancel {
	display:none;
}
	
#dnn_ctr_SendPassword_pnlRecover .dnnFormMessage.dnnFormInfo {
	border: none;
	color: var(--background-color);
	background-color: var(--main-white);
}
	
#dnn_ctr_SendPassword_plUsername_lblLabel{
	color: var(--background-color);
}
	
.dnnSendPasswordContent {
	padding-top:25px;
	width: 100%;
	color: var(--background-color);
	background-color: var(--main-white);
}

.xrbaseanimation {
  animation-name: xrbaseanimation;
  animation-duration: 1s;	
}
@keyframes xrbaseanimation {
  from {opacity: 0;}
  to {opacity: 1;}
}

.tilt-shaking {
    animation: tilt-shaking 0.25s linear infinite;
}
.tilt-shaking-soft {
    animation: tilt-shaking 0.50s linear infinite;
}

@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

/*** NUOVE ***/
.login-logo {
    max-height:150px;
	max-width:350px;
}

/** CLASSI **/
.transition-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transition-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.thumbnail {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
	transition: 0.3s;
}
.thumbnail:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 1);
}  

.hideOverflowNoMobile {
    overflow: hidden; 
}

.background-light {
	background-color: var(--light-background-color);
}

.background-default {
	background-color: var(--background-color);
}

.btn-green {
	background-color: var(--main-green);
	border-color: var(--main-green);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}	
.btn-green:hover {
	color: #ffffff;	
	text-decoration: underline;
}


.btn-orange {
	background-color: var(--main-orange);
	border-color: var(--main-orange);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}	
.btn-orange:hover {
	color: #ffffff;	
	text-decoration: none;
}

.btn-blue {
	background-color: var(--main-blue);
	border-color: var(--main-blue);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}	
.btn-blue:hover {
	color: #ffffff;	
	text-decoration: underline;
}
.btn-light-blue {
	background-color: var(--main-light-blue);
	border-color: var(--main-light-blue);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}	
a.btn.btn-light-blue:visited {
	color: #ffffff;
}
.btn-light-blue:hover {
	color: #ffffff;	
	/* text-decoration: underline; */
}
.btn-light-blue:disabled {
	color: #ffffff;	
	background-color: #72a1f6;
}

.btn-dark-blue {
	background-color: var(--main-dark-blue);
	border-color: var(--main-dark-blue);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}	
.btn-dark-blue:hover {
	color: #ffffff;	
	text-decoration: underline;
}

.btn-white {
	background-color: var(--main-white);
	border-color: var(--main-white);
	color: var(--main-blue);
	font-weight: 600;
	text-decoration: none;
}	
.btn-white:hover {
	color: var(--main-blue);	
	text-decoration: underline;
}

.btn-empty {
	color: #000000;
	font-weight: 800;
	text-decoration: none;	
}
.btn-empty:hover {
	color: #000000;	
	text-decoration: none;
}
.btn-empty-white {
	color: #FFFFFF;
	font-weight: 800;
	text-decoration: none;	
}
.btn-empty-white:hover {
	color: #FFFFFF;	
	text-decoration: none;
}

.btn-brown {
	background-color: var(--main-brown);
	border-color: var(--main-brown);
	color: var(--main-white);
	font-weight: 600;
	text-decoration: none;
}	
.btn-brown:hover {
	color: var(--main-white);
}

.btn-purple {
	background-color: var(--main-purple);
	border-color: var(--main-purple);
	color: var(--main-white);
	font-weight: 600;
	text-decoration: none;
}
.btn-purple:hover {
	color: var(--main-white);
}	

.btn-grey {
	background-color: var(--main-grey);
	border-color: var(--main-grey);
	color: var(--main-white);
	font-weight: 600;
	text-decoration: none;
}
.btn-grey:hover {
	color: var(--main-white);
}	

.btn-border-white {
	background-color: transparent;
	border-color: var(--main-white);
	color: var(--main-white);
	font-weight: 600;
	text-decoration: none;
}
.btn.btn-border-white.w-100 {
  margin-bottom: 10px;
  display: block; /* Importante per far funzionare w-100 e i margini verticali */
  padding: 10px; /* Esempio di padding */
  text-align: center;
}
.btn-border-white:hover {
	color: var(--main-white);
}


.btn-outline-blue {
	color: var(--main-blue);
	border-color: var(--main-blue);
	background-color: var(--main-white);
}
.btn-outline-blue:hover {
	color: #fff;	
	background-color: var(--main-blue);
}

.btn-outline-blue-search {
	color: var(--main-blue);
	border: 3px solid var(--main-blue);
	background-color: var(--main-white);
	border-radius: 20%;
}
.btn-outline-blue-search:hover {
	color: #fff;	
	background-color: var(--main-blue);
}

.btn-check:checked+.btn-outline-blue-search,
.btn-check:active+.btn-outline-blue-search,
.btn-check:checked+.btn-outline-blue,
.btn-check:active+.btn-outline-blue,
.btn-outline-blue:active,
.btn-outline-blue.active,
.btn-outline-blue.dropdown-toggle.show {
    color: #fff;
    background-color: var(--main-blue);
    border-color: var(--main-blue);
}

a.a-white {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.mtb-30 {
	margin-top: 30px;
	margin-bottom:30px;
}

.bord-b-white {
	border-bottom: 1px solid #ffffff
}
.bord-b-black {
	border-bottom: 1px solid #000000
}

.viper-capitalize {
	text-transform: capitalize;	
}

.bord-white {
	border: 1px solid #FFFFFF
}

.bg-primary {
	background-color: var(--background-color)!important;
}

.cl-blue {
	color: var(--main-blue);
	text-decoration: none;
}

.cl-light-blue {
	color: var(--main-light-blue);
}

.h250 {
	min-height:250px;
}

.h180 {
	min-height:180px;	
}

.btn-login {
	background-color: var(--main-color-login);
	border-color: var(--main-color-login);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}	
.btn-login:hover {
	color: #ffffff;	
	text-decoration: none;
}


/** MENU UTENTE PICCOLO **/
.user-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
	position:relative;
}

.user-menu-button,
.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem; /* Dimensione delle icone */
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0; 
    transform: translateY(5px); 
    z-index: 1000; 
}


.card-header.top-border-radius {
	border-top-left-radius: 15px !important;
	border-top-right-radius: 15px !important;
}
.offcanvas.offcanvas-end.show {
	width: 70%!important;
}

/* Contenitore del menu */
.viper-notif-dropdown {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  width: 400px;
  border-radius: 5px;
  z-index: 1000;
  left: -250px;
  top: 100%;
}

/* Stile delle tabs */
.viper-notif-tabs {
  display: flex;
  background: var(--main-light-blue); 
  color: #ffffff;
  padding-left: 25px;
  padding-right:25px;
}

.viper-notif-tab-button {
  flex: 1;
  color: white;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
}

.viper-notif-tab-button.active {
  background: #ffffff; 
  color: var(--main-light-blue);
  border-radius: 10px 10px 0 0;
}

/* Contenitore delle liste */
.viper-notif-tab-content {
  background: white;
  padding: 10px;
  border-radius: 0 0 5px 5px;
}

/* Liste dei contenuti */
.viper-notif-tab-list {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.viper-notif-tab-list.active {
  display: block;
}


.viper-notif-tab-list a {
  text-decoration: none;
  color: #333;
  display: block;
}

.viper-notif-tab-list a:hover {
  color: var(--main-light-blue);
}

.viper-notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--main-light-blue); 
  padding: 10px;
  border-radius: 5px 5px 0 0;
  color: white;
}

.viper-notif-title {
  font-size: 16px;
  font-weight: bold;
  margin-right: 10px;
}

.viper-notif-badge {
  background: #ffffff;
  color: var(--main-light-blue); 
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 12px;
  display: inline-block;
  min-width: 20px;
  text-align: center;
  font-weight: 800;
}

.viper-notif-link {
  color: white;
  font-size: 10px;
  text-decoration: underline;
  padding: 5px;
  border-radius: 5px;

}
.viper-notif-badge-revert {
  background: var(--main-light-blue);
  color: #ffffff; 
  border-radius: 50%;
  padding: 3px 6px;
  font-size: 8px;
  display: inline-block;
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  margin-top: -15px;
  margin-left: -7px;  
  z-index:0;
}

.viper-notif-item {
  text-align: left; 

  border-bottom: 1px solid #ddd;
}

.viper-notif-content {
  text-align: justify; 
  margin-bottom: 5px; 
}

.viper-notif-btn {
  cursor: pointer;
}

.viper-item-data-detail {
	color: var(--main-grey);
	margin-bottom:0;
}
	
	
/** NAVBAR DETTAGLIO **/
.bg-nav-viper {
	background-color: transparent;
}	
.bg-nav-viper-active {
	/*background-color: var(--main-white);
	color: var(--active-nav-color)!important;
	*/
	text-decoration: underline;
	
}	  
 #viperNavbarDetail .nav-link {
	 color: var(--main-white);
}
.bg-nav-viper a {
	font-weight: 700;
	font-size: 20px;
}
#viperNavbarDetail{ 
	padding: 0.1rem;
	margin-top:25px;
}	

.badge-navbar {
	min-width: 30px;
	margin-left: 10px;
	border-radius: 20px;
	background-color: var(--main-white);
	color: var(--main-blue);
	/*font-size: 17px;*/
}

.nav-clickarea {
  display: inline-block;
  padding: 8px 25px 8px 25px;
  margin: -8px;
  cursor: pointer;	
}
/*.nav-clickarea:hover {
  border: 1px inset white;
}*/

	
/** MENU DEFAULT DNN **/
#dnn_ViperMenu_menuRender {
	width:99%;
}

#viper-desktop-menu li.nav-item a {
	color: var(--background-font-color);
	font-size: 1.25rem;
	padding: 15px 0px 0px 20px;
	font-weight: 700;
}
#viper-desktop-menu li.nav-item.active a.active {
	text-decoration: underline;
	text-decoration-color: var(--background-font-color);
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;	
}

#viper-desktop-menu .nav-item-icon {
	margin-top: 20px;
	color: var(--background-font-color);

}

#dnn_ViperMenu_menuRender #viper-desktop-menu > li {
    border-bottom: 1px dotted var(--background-font-color);
	padding-bottom: 8px;
}


/** CLASSI **/

.LoginHeader {
	font-weight: 700;
	color: var(--background-font-color);
}

.LoginSubHeader {
	font-weight: 700;
	color: var(--background-font-color);	
}

.viper-menu-img {
	border-radius: 50%;
	max-width: 50px;
	border: 2px solid var(--background-color);
}

/** ID **/

#ViperNotificationCount {
	position: absolute;
	left: 100%;
	top: 0;
    transform: translate(-90%, -50%);	
}

  
#viper_wrapper {
	flex: 1 1 auto;
	display: flex;
	min-height: 0; 
	overflow: hidden;
}
  
#viper_left {
	padding-top: 5px;
	overflow: auto;
	flex-shrink: 0;
	height: 120vh;
}
  
#viper_right {
	padding-top: 5px;
	flex: 1;
	overflow-y: auto;
	min-height: 0;
	max-height: 100%;
}

#viper-top-header {
	flex: 0 0 auto;
	position: sticky;
	top: 0;
    z-index: 100;
	min-height: 75px;
}

#dnn_contentPane_left_bottom {
    position: absolute;
    bottom: 0;
	background-color: var(--background-color);
	height: 50px;
	width: 23%;
}

#viper_left::-webkit-scrollbar {
    display: none; 
}

#viper_right {
	height:100vh;
	overflow-x: auto;
}

#viper_right::-webkit-scrollbar {
    display: none; 
}

#btn_toggle_show {
	margin-bottom: -35px; 
	width: 50px;
}
#btn_toggle_hide {
	margin-top: 15px;
	width:50px;
}

/** effetto apertura chiusura per mobile **/
.hidden {
	opacity: 0;
	display:none!important;
	transform: translateY(-100%);
	z-index: -1;
}

#viper_right.hidden {
	display: none;
	overflow: hidden;
}
#viper_left.hidden {
	display: none;
	overflow: hidden;
}
#viper_right.full-width {
	width: 100%;
	flex: 0 0 100%;
	max-width: 100%;
}	

#viper_left.full-width {
	width: 100%;
	flex: 0 0 100%;
	max-width: 100%;
}
#viper_sidebar_toggle {
	display: none;
}

/*
#viper_sidebar_expand {
	display: none;
}
*/		
	

/*******************/	
/** MEDIA QUERY PER MOBILE **/

@media (max-width: 767px) {
	#viper_sidebar_expand {
		display: block;
	}

	#viper_wrapper {
		overflow: scroll;
	}

	.offcanvas.offcanvas-end.show {
		width: 90%!important;
	}	
}