/* ------------------------- VARIABILI ------------------------- */
:root {
	
	/* ----- font ----- */
	--primary-font: "Raleway", sans-serif;
	--secondary-font: "Lato", sans-serif;
	
	--line-height: calc(1em + 8px);
	
	--h1-size: 82px;
	--h1-weight: 100;
	
	--h2-size: 82px;
	--h2-weight: 100;
	
	--h3-size: 30px;
	--h3-weight: 600;
	
	--h4-size: 24px;
	--h4-weight: 600;
	
	--h5-size: 18px;
	--h5-weight: 300;
	
	--h6-size: 13px;
	--h6-weight: 400;
	
	--text-size: 16px;
	--text-weight: 300;
	
	--text-small-size: 16px;
	--text-small-weight: 300;
	
	--text-btn-size: 16px;
	--text-btn-weight: 400;
	
	--text-header-size: 13px;
	--text-header-weight: 700;
	
	--text-footer-copyright-size: 12px;
	--text-footer-copyright-weight: 300;
	
	/* ----- colori ----- */
	--blu: #0e468f;
	--blu-scuro: #0b3a78;
	--grigio: #666666;
	--grigino-blu-chiaro: #f5f8fe;
	--grigino-blu-scuro: #dadfe6;
	
	
	/* ----- altre variabili ----- */
	--contenitore-w: 100vw;
	
	--sidebar-w: 300px;
	--sidebar-p-rl: 50px;
	
	--sidebar-menu-spacing-vert: 7.5px;
	--sidebar-sottomenu-pl: 20px;
	--sidebar-sottomenu-ml: 10px;
	
	--section-pt: 75px;
	--section-pb: 150px;
	
	--container-spacing-oriz: 90px;
	
}


/* ------------------------- TEXT ------------------------- */

/* ----- text - line-height ----- */
html, body, footer, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, span, li, a, [class*="btn"] {
  line-height: var(--line-height) !important;
}

/* ----- text - font-style ----- */
html, body, footer, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, span, li, a, [class*="btn"] {
	font-style: normal;
}

/* ----- text - font-family ----- */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: var(--primary-font) !important;
}
html, body, footer, p, span, li, a, [class*="btn"] {
	font-family: var(--secondary-font) !important;
}

/* ----- text - font-weight ----- */
.text-thin { font-weight: 100; }
.text-extralight { font-weight: 200; }
.text-light { font-weight: 300; }
.text-regular { font-weight: 400; }
.text-medium { font-weight: 500; }
.text-semibold { font-weight: 600; }
.text-bold { font-weight: 700; }
.text-extrabold { font-weight: 800; }
.text-black { font-weight: 900; }

/* ----- text - font-size ----- */
html {
	font-size: var(--text-size);
	font-weight: var(--text-weight);
}
h1, .h1 {
	font-size: var(--h1-size);
	font-weight: var(--h1-weight);
}
h2, .h2 {
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
}
h3, .h3 {
	font-size: var(--h3-size);
	font-weight: var(--h3-weight);
}
h4, .h4 {
	font-size: var(--h4-size);
	font-weight: var(--h4-weight);
}
h5, .h5 {
	font-size: var(--h5-size);
	font-weight: var(--h5-weight);
}
h6, .h6 {
	font-size: var(--h6-size);
	font-weight: var(--h6-weight);
}
p, span, li, a, #topbar p, #topbar a {
	font-size: var(--text-size);
	font-weight: var(--text-weight);
}
[class*="btn"] {
	font-size: var(--text-btn-size);
	font-weight: var(--text-btn-weight);
}
#mainMenu.menu-lines nav > ul > li > a,
nav a, nav a > p {
	font-size: var(--text-header-size);
	font-weight: var(--text-header-weight);
	text-transform: uppercase;
}
input, input.form-control, select, select.form-control, .small {
	font-size: var(--text-small-size) !important;
	font-weight: var(--text-small-weight);
}
footer .copyright span,
footer .copyright span a {
	font-size: var(--text-footer-copyright-size) !important;
	font-weight: var(--text-footer-copyright-weight) !important;
}

/* ----- text - color ----- */
h1, .h1, h2, .h2 {
  color: var(--blu-scuro);
}
h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: var(--blu);
}
html, body, footer, p, span, li, a, [class*="btn"] {
  color: black;
}
.text-blu { color: var(--blu) !important; }
.text-blu-scuro { color: var(--blu-scuro) !important; }
.text-grigio { color: var(--grigio) !important; }
.text-grigino-blu-chiaro { color: var(--grigino-blu-chiaro) !important; }
.text-grigino-blu-scuro { color: var(--grigino-blu-scuro) !important; }

/* ----- text - other ----- */
a {
	text-decoration: none;
}


/* ------------------------- BACKGROUND ------------------------- */
.bg-norepeat { background-repeat: no-repeat; }
.bg-contain { background-size: contain; }
.bg-cover { background-size: cover; }
.bg-10 { background-size: 10%; }
.bg-20 { background-size: 20%; }
.bg-30 { background-size: 30%; }
.bg-35 { background-size: 35%; }
.bg-40 { background-size: 40%; }
.bg-50 { background-size: 50%; }
.bg-60 { background-size: 60%; }
.bg-70 { background-size: 70%; }
.bg-80 { background-size: 80%; }
.bg-90 { background-size: 90%; }
.bg-center { background-position: center; }
.bg-center-top { background-position: center top; }
.bg-center-bottom { background-position: center bottom; }
.bg-left-center { background-position: left center; }
.bg-left-top { background-position: left top; }
.bg-left-bottom { background-position: left bottom; }
.bg-right-center { background-position: right center; }
.bg-right-top { background-position: right top; }
.bg-right-bottom { background-position: right bottom; }
[class*="bg-h-"] { transition: background-color .2s linear; }
.bg-blu { background-color: var(--blu) !important; }
.bg-blu-scuro { background-color: var(--blu-scuro) !important; }
.bg-h-blu-scuro:hover { background-color: var(--blu-scuro) !important; }
.bg-grigino-blu-chiaro { background-color: var(--grigino-blu-chiaro) !important; }
.bg-grigino-blu-scuro { background-color: var(--grigino-blu-scuro) !important; }


/* ------------------------- BTN ------------------------- */

/* ----- btn - general ----- */
[class*="btn"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 25px !important;
	border: 0;
	border-radius: 5px !important;
  margin-bottom: 0 !important;
  text-transform: none;
	text-decoration: none;
	transition: all .3s ease-in-out;
}
[class*="btn-big"] {
  padding: 25px 60px !important;
}
[class*="btn-large"] {
  padding-right: 50px !important;
  padding-left: 50px !important;
}

/* ----- btn - base ----- */

/* ----- btn - base - bg ----- */
[class*="btn"][class*="-bg-blu"] { background-color: var(--blu) !important; }
[class*="btn"][class*="-bg-blu-scuro"] { background-color: var(--blu-scuro) !important; }
[class*="btn"][class*="-bg-grigio"] { background-color: var(--grigio) !important; }
[class*="btn"][class*="-bg-grigino-blu-chiaro"] { background-color: var(--grigino-blu-chiaro) !important; }
[class*="btn"][class*="-bg-grigino-blu-scuro"] { background-color: var(--grigino-blu-scuro) !important; }
[class*="btn"][class*="-bg-white"] { background-color: white !important; }

/* ----- btn - base - color ----- */
[class*="btn"][class*="-cl-blu"] { color: var(--blu) !important; }
[class*="btn"][class*="-cl-blu-scuro"] { color: var(--blu-scuro) !important; }
[class*="btn"][class*="-cl-grigio"] { color: var(--grigio) !important; }
[class*="btn"][class*="-cl-grigino-blu-chiaro"] { color: var(--grigino-blu-chiaro) !important; }
[class*="btn"][class*="-cl-grigino-blu-scuro"] { color: var(--grigino-blu-scuro) !important; }
[class*="btn"][class*="-cl-white"] { color: white !important; }

/* ----- btn - hover ----- */

/* ----- btn - hover - bg ----- */
[class*="btn"][class*="-bg-h-blu"]:hover { background-color: var(--blu) !important; }
[class*="btn"][class*="-bg-h-blu-scuro"]:hover { background-color: var(--blu-scuro) !important; }
[class*="btn"][class*="-bg-h-grigio"]:hover { background-color: var(--grigio) !important; }
[class*="btn"][class*="-bg-h-grigino-blu-chiaro"]:hover { background-color: var(--grigino-blu-chiaro) !important; }
[class*="btn"][class*="-bg-h-grigino-blu-scuro"]:hover { background-color: var(--grigino-blu-scuro) !important; }
[class*="btn"][class*="-bg-h-white"]:hover { background-color: white !important; }

/* ----- btn - hover - color ----- */
[class*="btn"][class*="-cl-h-blu"]:hover { color: var(--blu) !important; }
[class*="btn"][class*="-cl-h-blu-scuro"]:hover { color: var(--blu-scuro) !important; }
[class*="btn"][class*="-cl-h-grigio"]:hover { color: var(--grigio) !important; }
[class*="btn"][class*="-cl-h-grigino-blu-chiaro"]:hover { color: var(--grigino-blu-chiaro) !important; }
[class*="btn"][class*="-cl-h-grigino-blu-scuro"]:hover { color: var(--grigino-blu-scuro) !important; }
[class*="btn"][class*="-cl-h-white"]:hover { color: white !important; }


/* ------------------------- OBJECT ------------------------- */

/* ----- general ----- */
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
}
.wrapper {
  display: flex;
}
.content-wrapper {
  flex: 1 1 auto;
	overflow: hidden;
}
section {
	position: relative;
	padding-top: var(--section-pt);
	padding-bottom: var(--section-pb);
}
.contenitore {
	width: 100%;
	max-width: calc(var(--contenitore-w) - (var(--sidebar-w) + var(--container-spacing-oriz)) * 2);
	margin: auto;
	margin-left: var(--container-spacing-oriz);
}

/* ----- recaptcha ----- */
/* .grecaptcha-badge { visibility: hidden; } */

/* ----- divider ----- */
.divider {
	display: block;
	width: 100px;
	height: 2px;
	background-color: var(--blu);
	margin-top: 50px;
	margin-bottom: 50px;
}

/* ----- other ----- */
.el-round-border {
	border-radius: 15px;
}


/* ------------------------- FORM ------------------------- */

/* ----- form - floating ----- */
#formSearchSidebar.form-floating {
	position: relative;
}
#formSearchSidebar.form-floating > input,
#formSearchSidebar.form-floating > label {
	font-size: 16px;
	font-weight: 300;
	font-style: italic;
	line-height: 1em;
	color: white;
}
#formSearchSidebar.form-floating > input {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  background: var(--blu);
	border: none;
	border-bottom: 1px solid white;
	border-radius: 0;
	padding: 0 40px 0 0;
}
#formSearchSidebar.form-floating > input::placeholder {
	color: transparent;
}
#formSearchSidebar.form-floating > input:focus {
	box-shadow: none;
}
#formSearchSidebar.form-floating > input:focus ~ label,
#formSearchSidebar.form-floating > input:not(:placeholder-shown) ~ label {
  transform: scale(0.75) translateY(-50%);
}
#formSearchSidebar.form-floating > label,
#formSearchSidebar.form-floating > i {
	position: absolute;
	top: 0;
	display: flex;
  justify-content: center;
	align-items: center;
	height: 100%;
	padding: 0;
	border: none;
	border-bottom: 1px solid transparent;
	margin: 0;
	z-index: 100;
	transition: all .3s linear;
}
#formSearchSidebar.form-floating > label {
	left: 0;
}
#formSearchSidebar.form-floating > i {
	right: 0;
	max-width: 40px;
}


/* ------------------------- HEADER ------------------------- */

.header { display: none; }


/* ------------------------- SIDEBAR ------------------------- */

.show-sidebar { display: none; }

.sidebar {
  display: flex;
  align-items: flex-start;
	flex: 0 0 var(--sidebar-w);
	width: var(--sidebar-w);
	max-width: var(--sidebar-w);
	min-height: 100vh;
	padding: 0;
}
.sidebar-container {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
	justify-content: space-between;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
}

/* ----- sidebar - body ----- */
.sidebar-body {
  width: 100%;
	padding: 35px var(--sidebar-p-rl) 0 var(--sidebar-p-rl);
  overflow-y: scroll;
}

/* ----- sidebar - body - card ----- */
.sidebar-card-container {
	display: flex;
	flex-direction: column;
	width: 100%;
}
a.sidebar-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	background-color: var(--blu-scuro);
	border-radius: 15px;
	padding: 25px 20px;
	/*padding: 50px 25px;*/
	text-decoration: none;
	transition: all .2s linear;
}
a.sidebar-card:hover {
	background-color: white;
}
a.sidebar-card i {
	font-size: 30px;
	/*font-size: 40px;*/
}
a.sidebar-card:hover i,
a.sidebar-card:hover p {
	color: var(--blu-scuro) !important;
}

/* ----- sidebar - body - menu ----- */
ul.sidebar-menu,
ul.sidebar-sottomenu {
	list-style: none;
}
ul.sidebar-menu a.menu-link,
ul.sidebar-menu a.sottomenu-link {
	text-decoration: none;
  display: block;
	color: white;
  padding-top: var(--sidebar-menu-spacing-vert);
  padding-bottom: var(--sidebar-menu-spacing-vert);
}

ul.sidebar-menu {
	padding-left: 0;
  margin-bottom: 0;
}
ul.sidebar-menu li.menu-voce {
	
}
ul.sidebar-menu li.menu-voce a.menu-link {
	position: relative;
}
ul.sidebar-menu li.menu-voce a.menu-link:before {
	content: '\f054';
	font-family: 'Font Awesome 7 Pro';
	position: absolute;
	top: 0;
	right: -10px;
	display: flex;
  justify-content: center;
  align-items: center;
	width: 10px;
	height: 100%;
	transition: transform .2s linear;
}
ul.sidebar-menu li.menu-voce ul.sidebar-sottomenu {
	width: calc(100% - var(--sidebar-sottomenu-ml));
  height: 100%;
  max-height: 0;
	padding-left: var(--sidebar-sottomenu-pl);
	border-left: 1px solid white;
	margin-left: var(--sidebar-sottomenu-ml);
	margin-bottom: 0;
	opacity: 0;
	visibility: hidden;
	transition: max-height .2s linear 1s, all .2s ease-in-out;
}
ul.sidebar-menu li.menu-voce.attivo a.menu-link:before {
	transform: rotate(90deg);
}
ul.sidebar-menu li.menu-voce.attivo ul.sidebar-sottomenu {
  max-height: 100%;
	margin-bottom: var(--sidebar-menu-spacing-vert);
	opacity: 1;
	visibility: visible;
}
ul.sidebar-menu li.menu-voce ul.sidebar-sottomenu li.sottomenu-voce {
	
}
ul.sidebar-menu li.menu-voce ul.sidebar-sottomenu li.sottomenu-voce a.sottomenu-link {
	font-weight: 400;
	text-transform: none;
}

/* ----- sidebar - extra ----- */
.sidebar-clearfix {
	flex: 1 1 auto;
}

/* ----- sidebar - extra ----- */
.sidebar-extra {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
  width: 100%;
	padding: 20px var(--sidebar-p-rl);
}

/* ----- sidebar - footer ----- */
.sidebar-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 50px;
  width: 100%;
}
.sidebar-footer ul.elenco-lingue {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}
.sidebar-footer ul.elenco-lingue li {
	margin: 0 10px;
}
.sidebar-footer ul.elenco-lingue li a {
	color: white;
	text-decoration: none;
}
.sidebar-footer ul.elenco-lingue li a:hover {
	text-decoration: underline;
}


/* ------------------------- FOOTER ------------------------- */
footer .copyright {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 10px 0;
}


/* ------------------------- SEZ. AZIENDA ------------------------- */

/* ----- sez. azienda - chi siamo ----- */
.grid-icon-chisiamo {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.grid-icon-chisiamo .divider-icon-chisiamo {
	display: block;
	width: 2px;
	height: 75px;
	background-color: var(--grigino-blu-scuro);
}
.grid-icon-chisiamo .icon-chisiamo {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 1 150px;
}
.grid-icon-chisiamo .icon-chisiamo i {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 50px;
}


/* ------------------------- SEZ. ETICA ------------------------- */

/* ----- sez. etica - i nostri valori ----- */
.grid-icon-valori {
	display: grid;
	grid-template-columns: repeat(6, 125px);
	grid-gap: 50px;
  justify-content: space-between;
	width: 100%;
}
.grid-icon-valori .icon-valore {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
.grid-icon-valori .icon-valore i {
	--icon-d: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: var(--icon-d);
	height: var(--icon-d);
	border-radius: 15px;
}
.grid-icon-valori .icon-valore p {
	min-height: calc(var(--line-height) * 2);
}


/* ------------------------- SEZ. LAVORO ------------------------- */

/* ----- sez. lavoro - ferie e permessi individuali ----- */
.grid-dati-ferie {
	display: grid;
	grid-template-columns: repeat(3, 350px);
	grid-gap: 50px;
  justify-content: space-between;
	width: 100%;
}
.grid-dati-ferie .dato-ferie {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	background-color: var(--blu);
	padding: 10px 50px;
	border-radius: 5px;
}
.grid-dati-ferie .dato-ferie .divider-dato-ferie {
	display: block;
	width: 1px;
	height: 100%;
	background-color: white;
	margin-right: 25px;
	margin-left: 25px;
}

/* ------------------------- ANIMAZIONI ------------------------- */

/* ----- animazioni - general ----- */
[data-animazione] {
	opacity: 0;
	animation-duration: 1s;
	animation-fill-mode: both;
}

/* ----- animazioni - keyframe ----- */
@keyframes fadeIn {
  0% {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
.fadeIn { animation-name: fadeIn }

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0,100%,0)
  }
  to {
    opacity: 1;
    transform: translateZ(0)
  }
}
.fadeInUp { animation-name: fadeInUp }

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(100%,0,0)
  }
  to {
    opacity: 1;
    transform: translateZ(0)
  }
}
.fadeInRight { animation-name: fadeInRight }

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0,-100%,0)
  }
  to {
    opacity: 1;
    transform: translateZ(0)
  }
}
.fadeInDown { animation-name: fadeInDown }

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-100%,0,0)
  }
  to {
    opacity: 1;
    transform: translateZ(0)
  }
}
.fadeInLeft { animation-name: fadeInLeft }

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale3d(.3,.3,.3)
  }
  50% {
    opacity: 1
  }
  to {
    opacity: 1
  }
}
.zoomIn { animation-name: zoomIn }

