﻿/*-------- FONTS --------*/
.font-1 {
  font-size: 8px;
}

.font-2 {
  font-size: 10px;
}

.font-3 {
  font-size: 12px;
}

.font-4 {
  font-size: 14px;
}

.font-5 {
  font-size: 16px;
}

.font-6 {
  font-size: 18px;
}

.font-7 {
  font-size: 20px;
}

.font-8 {
  font-size: 22px;
}

.font-9 {
  font-size: 24px;
}

.font-10 {
  font-size: 28px;
}

.font-11 {
  font-size: 32px;
}

.font-12 {
  font-size: 36px;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "RalewayItalic";
  src: url("../fonts/Raleway-Italic-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "MontserratItalic";
  src: url("../fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
}
.raleway {
  font-weight: 300;
  font-family: Raleway;
}

.raleway-thin {
  font-weight: 100;
  font-family: Raleway;
}

.raleway-bold {
  font-weight: 600;
  font-family: Raleway;
}

.raleway-italic {
  font-weight: 300;
  font-family: RalewayItalic;
  font-style: italic;
}

.montserrat {
  font-weight: 300;
  font-family: Montserrat;
}

.montserrat-thin {
  font-weight: 100;
  font-family: Montserrat;
}

.montserrat-bold {
  font-weight: 600;
  font-family: Montserrat;
}

.montserrat-italic {
  font-weight: 300;
  font-family: MontserratItalic;
  font-style: italic;
}

.font-extra {
  font-family: "Montserrat";
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.font-thin {
  font-family: "Montserrat";
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.font-bold {
  font-family: "Montserrat";
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.font-std {
  font-family: "Montserrat";
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-brand {
  font-family: "Montserrat", system-ui;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 16px;
}

.font-italic {
  font-family: "MontserratItalic";
  font-optical-sizing: auto;
  font-style: italic;
}

.font-footer {
  font-family: "Montserrat", system-ui;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  color: #808080;
}

.font-side {
  font-family: "Montserrat", system-ui;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/*-------- TOGGLER --------*/
.navbar-toggler {
  width: 24px;
  height: 24px;
  position: relative;
  transition: 0.5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0px;
}

.navbar-toggler span {
  margin: 0px;
  padding: 0px;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #808080;
  border-radius: 0px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.middle-bar {
  margin-top: 0px;
  height: 1px;
}

.navbar-toggler .top-bar {
  margin-top: 0px;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  margin-top: 0px;
  transform: rotate(-135deg);
}

.navbar-toggler.collapsed .top-bar {
  margin-top: -20px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  margin-top: 20px;
  transform: rotate(0deg);
}

/*-------- MENU --------*/
.dropdown-menu {
  border-radius: 0 !important;
  background-color: #343a40;
  color: white;
}

.dropdown-item {
  color: white;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 8px;
  padding-right: 8px;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.dropdown-item {
  border-radius: 0 !important;
}

.dropdown-divider {
  background-color: white;
}

.dropdown-menu .dropdown-toggle::after {
  transform: rotate(-90deg);
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -5px;
}

.dropdown-menu.custom-width {
  width: 320px;
  padding-right: 8px;
}

/*-------- SIDE --------*/
.thumbnail {
  display: flex;
  border: 1px solid lightgray;
  justify-content: center;
  align-items: center;
  width: 256px;
  height: 336px;
  padding: 4px;
  margin: 8px;
  box-shadow: 0px 0px 0px 2px rgba(128, 128, 128, 0.15);
}

.sideBanner {
  height: 100vh;
  width: 240px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0px;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
}

.sideRotate {
  transform: rotate(45deg) translateX(80px) translateY(96px);
  width: 240px;
}

.sideTitle {
  font-family: Montserrat;
  font-size: 32px;
  font-weight: 900;
  margin: 4px;
  padding: 4px;
  z-index: 4;
  line-height: 40px;
  text-shadow: 0px 0px 8px lightgray;
  width: 200px;
  line-height: 1;
}

.sideSubtitle {
  font-family: Montserrat;
  font-weight: 200;
  font-size: 20px;
  margin: 12px;
  padding: 4px;
  z-index: 4;
  line-height: 24px;
  text-shadow: 0px 0px 8px lightgray;
  border-top: 1px solid lightgray;
  width: 200px;
  line-height: 1;
}

.sideImage {
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 360px;
  z-index: -10;
  height: 490px;
}

.sideForm {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

@media (min-width: 961px) {
  .sideBanner {
    display: normal;
  }
  .sideCommand {
    display: normal;
  }
  .sideForm {
    width: calc(100vw - 300px);
    transform: translateX(280px);
  }
  .sideHide {
    display: none;
  }
  .sideBlank > .sideTitle {
    display: none;
  }
  .sideBlank {
    background-color: white;
  }
}
@media (max-width: 960px) {
  .sideBanner {
    display: none;
  }
  .sideCommand {
    display: none;
  }
  .sideForm {
    width: calc(100vw - 2px);
    transform: translateX(0pX);
  }
  .sideHide {
    display: normal;
  }
  .sideBlank > .sideTitle {
    display: normal;
  }
  .sideBlank {
    background-color: white;
  }
}
.sideRotateImage {
  transform: rotate(-45deg) translateX(28px) translateY(90px);
  transform-origin: 120px 320px;
}

.dataSpace {
  height: 32px;
}

.btn-other {
  background-color: white;
}

.section-container {
  display: flex;
  width: calc(100vw - 320px);
}

.section-fixed {
  width: 320px;
  padding: 10px;
}

.section-flexible {
  flex-grow: 1;
  padding: 10px;
}

@media (min-width: 961px) {
  .section-container {
    width: calc(100vw - 320px);
  }
}
@media (max-width: 960px) {
  .section-container {
    width: calc(100vw - 8px);
  }
}
.left-border-banner {
  border-left: 1px solid darkgray;
}

/*-------- SIDE TEXT --------*/
.sideTextBanner {
  height: 100vh;
  width: 240px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0px;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
}

.sideTextRotate {
  transform: translateX(0px) translateY(64px);
  width: 240px;
}

.sideTextTitle {
  font-family: Montserrat;
  font-weight: 900;
  margin: 12px auto;
  padding: 4px;
  z-index: 4;
  text-shadow: 0px 0px 8px lightgray;
  width: 200px;
  line-height: 1;
}

.sideTextSubtitle {
  font-family: Montserrat;
  font-weight: 200;
  margin: 12px auto;
  padding: 4px;
  z-index: 4;
  text-shadow: 0px 0px 8px lightgray;
  border-top: 1px solid lightgray;
  width: 200px;
  line-height: 1;
}

@media (min-width: 961px) {
  .sideTextBanner {
    display: normal;
  }
}
@media (max-width: 960px) {
  .sideTextBanner {
    display: none;
  }
}
/*-------- SECTION --------*/
.m-container {
  margin: 0;
  padding: 0;
}

.m-left-section {
  width: 240px;
  margin: 0;
  padding: 0;
}

.m-right-section {
  width: calc(100vw - 240px);
  margin: 0;
  padding-left: 16px;
}

@media (max-width: 1000px) {
  .m-left-section {
    display: none; /* Nascondi la sezione di sinistra */
  }
  .m-right-section {
    flex: 1; /* Assicurati che la sezione di destra occupi tutto lo spazio */
  }
}
/*-------- GRID --------*/
.gridSpace {
  border: 24px;
}

.alt-item > td {
  background-color: rgba(0, 0, 0, 0.02);
}

.header-bold span {
  font-weight: 700;
}

.gridItem {
  background-color: cornflowerblue;
}

.hgrid {
  height: calc(100vh - 256px);
  overflow-y: auto;
}

.hgrid256 {
  height: calc(100vh - 256px);
  overflow-y: auto;
}

.hgrid384 {
  height: calc(100vh - 384px);
  overflow-y: auto;
}

.hgrid512 {
  height: calc(100vh - 512px);
  overflow-y: auto;
}

.dxbs-grid {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important; /* opzionale, se vedi ombre */
}

.hoverable-row:hover {
  background-color: #e0e0e0 !important;
  cursor: pointer;
}

/*-------- GLOBAL --------*/
body, html {
  font-family: "Raleway";
  padding: 0px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 14px;
  border-radius: 0 !important;
}

/*-------- MIXINS --------*/
/*-------- NO ROUND --------*/
.btn {
  border-radius: 0 !important;
}

input,
select,
textarea {
  border-radius: 0 !important;
}

.no-radius {
  border-radius: 0 !important;
}

/*-------- SPACE --------*/
.icon-space {
  padding-right: 8px;
}

/*-------- NO DECORATION PER LINK --------*/
.noDecoration {
  text-decoration: none;
  color: #000000;
}

.noDecoration:hover {
  text-decoration: none;
  font-weight: bold;
  color: #000000;
}

/*-------- HOME --------*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  animation: fadeIn 1.2s forwards;
}

.right-space {
  border-right: 16px solid white;
}

.left-border {
  border-left: 1px solid lightgray;
}

.pointer {
  cursor: pointer;
}

.white {
  color: white;
}

.gray {
  color: #FAFAFA;
}

.dark {
  color: darkgray;
}

.black {
  color: black;
}

.square-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
  border-radius: 0px;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 4px;
}

.uppercase {
  text-transform: uppercase;
}

.form-hint {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.25rem;
}
