:root{--bs-link-color: #2D5CFB;}
:root{--bs-link-hover-color: #254BCC;}
:root{--bs-body-color: #25377A}
:root{--bs-border-color: #25377A}
:root{--bs-body-font-weight: 400}
:root{--as-font-weight-bold: 700}
:root{--half-rounded: 0 0 30px 30px}
:root{--half-top-rounded: 30px 30px 0 0}
:root{--bs-border-radius: 30px}

a, .btn, a i, .slide_icon .icon-wrapper::after {-webkit-transition: all 0.25s ease-in-out;-moz-transition: all 0.25s ease-in-out;-ms-transition: all 0.25s ease-in-out;-o-transition: all 0.25s ease-in-out;transition: all 0.25s ease-in-out;}

body {-webkit-backface-visibility:hidden;backface-visibility: hidden;background-color:#ffffff;font-size:1rem;line-height:1.5rem;color:var(--bs-body-color);font-weight:var(--bs-body-font-weight);font-family: "Poppins", sans-serif;}
.mono {font-family: "DM Mono", monospace;}
.sans {font-family: "Poppins", sans-serif;}
.p {font-size:1rem;line-height:1.5rem;color:var(--bs-body-color);font-weight:var(--bs-body-font-weight);}
b, strong {font-weight: var(--as-font-weight-bold)}
small, .small {font-size:70%}
a {color: var(--bs-link-color);font-family: "DM Mono", monospace;text-decoration:none;}
label {color:#4D6CA7;font-family: "DM Mono", monospace;font-weight:var(--bs-body-font-weight);font-size:.75rem;line-height:1rem;text-transform:uppercase}
.form-control, .form-select {border-radius:var(--bs-border-radius);border:none;color:#426BB9;padding-left:1.3rem;padding-right:1.3rem;}
.badge_full {font-family: "DM Mono", monospace;padding:.3rem 1.3rem;border-radius:var(--bs-border-radius);background-color:#426bb9;color:#ffffff;font-size:.9rem;text-transform:uppercase;text-align:center;}
.badge_empty {font-family: "DM Mono", monospace;padding:.3rem 1.3rem;border-radius:var(--bs-border-radius);border:1px solid #426bb9;font-size:.9rem;text-transform:uppercase;display:inline-block;margin-right:.5rem;margin-bottom:.5rem;text-align:center}
.form-control::placeholder {color:#426BB9;}
hr {opacity:.9}
a:hover, a:focus {color: var(--bs-link-hover-color)}
h1, .h1, h2, .h2, h3, .h3 {font-weight:var(--as-font-weight-bold)}
h1.light, .h1.light, h2.light, .h2.light, h3.light, .h3.light {font-weight: var(--bs-body-font-weight)}
h1, .h1 {font-size:2.5rem;line-height:3rem;letter-spacing:0.25em;margin-bottom:1.5rem;text-transform:uppercase}
h2, .h2 {font-size:2rem;line-height:2.5rem;letter-spacing:0em;margin-bottom:.5rem;text-transform:none}
h3, .h3 {font-size:1.5rem;line-height:2rem;}
h4, .h4 {font-size:1.2rem;line-height:1.5rem;margin-top:1rem}
.btn-link {color: var(--as-link);padding:0}
.btn-link:hover, .btn-link:focus {color: var(--bs-link-hover-color)}
small {font-size:.75rem;line-height:1.2rem;}
#breadcrumb {font-size:.75rem;line-height:1rem;margin-bottom:1rem;font-family: "DM Mono", monospace;}
.bg_white {background-color:#ffffff;}
.bg_light_blue {background-color:#E5F2FA}
.bg_light_blue hr {border-color:#a9cce2}
.bg_medium_blue {background-color:#C9E4F4}
.bg_medium_blue_2 {background-color:#A9CCE2}
.bg_blue {background-color:var(--bs-link-color);color:#ffffff;}
.bg_blue .bordered {border-color:#ffffff}
.bg_blue a {color:#ffffff;}
.bg_dark_blue {background-color:var(--bs-body-color);color:#ffffff}
.light_blue {color:#426BB9}
.btn {border-radius:var(--bs-border-radius);font-family: "DM Mono", monospace;padding-left:1.3rem;padding-right:1.3rem;}
.btn-primary:focus {color:#ffffff;}
.rounded {overflow:hidden;}
.rounded.half {border-radius:var(--half-rounded) !important}
.rounded.half_top {border-radius:var(--half-top-rounded) !important}
.m_t-30 {margin-top:-30px;}
.m_b-30 {margin-bottom:-30px;}
.bordered {border:1px solid #4D6CA7}
.bordered_junior {border-color:#FCB932}
.junior {color:#FCB932}
.bg_junior {background-color:#FCB932}
.junior .active {background-color:#FCB932;border-color:#FCB932}
.bordered_senior {border-color:#72CCC6}
.senior {color:#72CCC6}
.bg_senior {background-color:#72CCC6}
.senior .active {background-color:#72CCC6;border-color:#72CCC6}
.bordered_inclusion {border-color:#E35B68}
.inclusion {color:#E35B68}
.bg_inclusion {background-color:#E35B68}
.inclusion .active {background-color:#E35B68;border-color:#E35B68}
.bordered_foodservice {border-color:#C4957C}
.foodservice {color:#C4957C}
.bg_foodservice {background-color:#C4957C}
.foodservice .active {background-color:#C4957C;border-color:#C4957C}
.bg_office {background-color:#85A7E5;color:#ffffff;}
.bordered_office {border-color:#85A7E5}
.office {color:#85A7E5}
a .border {border-color:var(--bs-link-color) !important}
.slide_icon .icon-wrapper {display:inline-block;position:relative;width:.8em;margin-left:.5em;overflow: hidden;height: 1.1em;}
.slide_icon .icon-wrapper::after {content: '>>'; position: absolute;left: -.5em;white-space: nowrap;}
.slide_icon:hover .icon-wrapper::after {transform: translateX(.75em);}
.title_wrapper {color:#ffffff;top: var(--header-height, 0px);left:0}
.title_wrapper a {color:#ffffff;text-decoration:underline;}
.img_wrapper {aspect-ratio: 3/1;overflow:hidden}
.img_wrapper::after {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background: linear-gradient(to right,  rgba(37,55,122,0.95) 0%,rgba(37,55,122,0) 100%);}
.img_wrapper img {object-fit:cover;width:100%;height:100%;}
table {--bs-border-color: #D8DEF3;}

@media screen and (max-width:768px) {
	.img_wrapper {aspect-ratio: 3/1.75;}
	.title_wrapper {top:15px;}
}

#home_car .img_wrapper {aspect-ratio: 2100/700}
#home_car .title_wrapper a {text-decoration:none}
#home_car .car_ind_wrapper {bottom:20px;left:0;width:100%;z-index:1;position:absolute;}
#home_car .carousel-indicators {position:static;margin:0;justify-content:start;}

@media screen and (max-width:1399px) {
	#home_car h2.h1 {font-size:1.5rem;line-height:2rem;}
	#home_car .title_wrapper {top:calc(var(--header-height) - 30px)}
}

@media screen and (max-width:991px) {
	#home_car .car_ind_wrapper {display:none;}
}

@media screen and (max-width:767px) {
	#home_car .img_wrapper {aspect-ratio: 1100/700}
	#home_car h2.h1 {font-size:1rem;line-height:1.2rem;}
}

/*--- NAVIGATION ---*/
header {background-color:#E5F2FA;}
header ul#menu_list {background-color:#E5F2FA;list-style-type:none;padding-left:0;padding-right:0;display:flex;align-items:start;flex-wrap: wrap;}
header ul#menu_list li {vertical-align:top}
header ul#menu_list li a, header ul#menu_list li a:hover, header ul#menu_list li a:focus {text-decoration:none;}
header ul#menu_list li .submenuCollapse ul {padding-left:0px;}
header ul#menu_list li.active > a {color: var(--bs-link-hover-color)}

@media screen and (max-width:991px) {
	#menu_wrapper.mobile_menu_active {position:fixed;z-index:999;width:100vw;height:100vh;top:0;bottom:0;left:0;right:0;}
	header {margin:0px;padding:10px 0;}
	header #menu_open {font-size:20px;line-height:40px;display:inline-block;cursor:pointer;}
	header a#logo {max-height:40px;display:inline-block;}
	header a#logo img {height:40px;width:auto;}
	header ul#menu_list {display:flex;flex-direction:column;justify-content:flex-start;overflow-y:auto !important;position:fixed;top:0;z-index:1000;left:-240px;height:100%;width:230px;box-shadow:0px 0px 8px 8px rgba(0,0,0,0.2)}
	header ul#menu_list li {display:block;width:100%;}
	header ul#menu_list li a {font-size:.9rem;text-decoration:none;display:block;padding:.8rem 1rem;border-bottom:1px solid #C9E4F4}
	header ul#menu_list li .submenuCollapse ul {background-color:#F5F7FF}
	header ul#menu_list li .submenuCollapse ul li a {padding:15px 15px 15px 30px;font-size:0.9rem;line-height:normal;border-color:#D8DEF3}
    header ul#menu_list > li {order: 4;}
    header ul#menu_list > li:nth-child(1) {order: 1;}
    header ul#menu_list > li:nth-child(2) {order: 2;}
    header ul#menu_list > li.secRow {order: 3;}
	main {padding-top:0}
}

@media screen and (min-width:992px) {
	:root {--header-height: 80px;}
	header {position:absolute;top:0;left:0;width:100%;z-index:2;transition:min-height 0.35s ease;border-radius:var(--half-rounded);}
	header .logo_wrapper {position: absolute;left: 0;top: 0;padding-top: 10px;}
	header a#logo {padding:0;display:inline-block;}
	header ul#menu_list {justify-content:flex-end;row-gap:15px;column-gap:0px;padding:15px 0;display:flex;justify-content:space-between;align-items:start;margin:0px;flex-wrap:wrap;width:100%;position:static !important; left:auto !important;transform:none !important;}
	header ul#menu_list li:first-child {margin-left: 25%}
    header ul#menu_list li {position: relative;list-style: none;}
	header ul#menu_list > li:nth-child(2) {min-width: 170px;text-align: center;}
	header ul#menu_list li {margin:0;position:relative}
	header ul#menu_list li a {font-size:.8rem;position:relative;z-index:10;}
	header ul#menu_list li.secRow {flex: 0 1 auto;margin-left:0 !important;border:1px solid var(--bs-link-color);border-radius:var(--bs-border-radius);max-width:225px;width:100%;overflow:hidden;}
	header ul#menu_list li.secRow a {font-size:1rem;display:flex;align-items:center;justify-content:center;width:100%;padding:.4rem 1.2rem;}
	header ul#menu_list li .submenuCollapse {white-space:nowrap;position: static !important;width:100%;}
	header ul#menu_list li .submenuCollapse ul {display:flex;flex-direction:column;align-items:center;padding:0 1rem 0 0;margin:0;list-style-type:none}
	header ul#menu_list li .submenuCollapse ul li {margin:0;padding:0;text-align:center;}
	header ul#menu_list li .submenuCollapse ul li a {display: inline-block;font-size:.8rem;}
	main {padding-top:calc(var(--header-height) - 30px)}
}

@media screen and (min-width:1200px) {
	header ul#menu_list {column-gap:10px;}
	header ul#menu_list li.secRow {max-width:270px;}
	header ul#menu_list li.secRow a {padding: .4rem 1.2rem;justify-content:space-between;}
}

@media screen and (min-width:1400px) {
	header ul#menu_list {column-gap:30px;}
	header ul#menu_list li.secRow {max-width:290px;}
}

/*--- CAROUSEL ---*/
.carousel-indicators [data-bs-target] {background-color:var(--bs-link-color);width:10px;height:10px;border-radius:100%;opacity:1}
.carousel-indicators .active {background-color:#ffffff;}

/*--- FEEDBACK ---*/
.feedback {position: relative;overflow: hidden;transform-style: preserve-3d;}
.feedback::before {content: "";position: absolute;bottom: 0; left: 0;width: 100%; height: 90%;background-image: url('../img/pittogramma_w.svg');background-size: contain;background-position: right bottom;background-repeat:no-repeat;opacity: 0.5;z-index:-1}

/*--- DETAIL ---*/
#content_det .designation {margin-bottom:40px;}
#content_det .designation h3, #content_det h3.download {font-weight:var(--bs-body-font-weight)}
.nav-tabs {border:none;font-family: "DM mono", monospace;}
.nav-tabs .nav-link {margin:0; border-radius:var(--bs-border-radius);width: calc(50% - 5px);transition: none;border:1px solid var(--bs-body-color);padding:0px 10px;margin-bottom:10px;font-size:.8rem;line-height:1rem;}
.nav-tabs .nav-link:hover {border-color:var(--bs-link-hover-color)}
.nav-tabs .nav-link.active {margin-bottom:0;padding:10px 10px 20px 10px;border-radius:var(--half-top-rounded);border-color:var(--bs-body-color);background-color:var(--bs-body-color);color:#ffffff;}

.tab-content {background-color:var(--bs-body-color);color:#ffffff;border-radius:var(--bs-border-radius)}
.tab-content .active {background-color:var(--bs-body-color);color:#ffffff;padding:1.5rem;}
.tab-content .active .light_blue {color:#85A7E5}
.tab-content .active .badge_empty {border-color:#85A7E5;color:#85A7E5}
.tab-content .active#premises {border-radius:0px 30px 30px 30px}
.tab-content .active#educational-project, .tab-content .active#key-features {border-radius:30px 0px 30px 30px}
.tab-content h2, .tab-content h3 {font-weight:var(--bs-body-font-weight)}

/*--- NEWS/EVENTS ---*/
@media screen and (max-width:991px) {
	.widget_news .abs_pos_xs {bottom:-60px;}
	.widget_news h3 {font-size:1rem;line-height:1.2rem;;margin:10px 0}
	.widget_news .p_30 {padding:20px;}
}

/*--- CULTURA AZIENDALE ---*/
.ca_bg_1 {background-image:url('../img/cultura_aziendale/01.webp');background-position:right 40px;background-repeat:no-repeat;background-size: 20%}
.ca_bg_2 {background-image:url('../img/cultura_aziendale/03.svg');background-position:left 40px;background-repeat:no-repeat;}

@media screen and (max-width:767px) {
	.ca_bg_1 {background-image:none}
}

/*--- STORIA ---*/
.st_bg_1 {background-image:url('../img/storia/01.svg');background-position:center center;background-repeat:no-repeat;}
#history_car .carousel-indicators {position:static;display:block;margin:0}
#history_car .carousel-indicators [data-bs-target] {background:none}
#evo_car .carousel-indicators {position:static;margin:0;display:block;}
#evo_car .carousel-indicators .active {background-color:#85A7E5}

/*--- WELFARE AZIENDALE ---*/
.wa_bg_1 {background-image:url('../img/welfare_aziendale/01.svg');background-position:center center;background-repeat:no-repeat;background-size:contain}

/*--- LAVORA CON NOI ---*/
.la_bg_1 {background-image:url('../img/lavora_con_noi/01.svg');background-position:30% center;background-repeat:no-repeat;background-size:contain}

/*--- FOOTER ---*/
footer {background-color:var(--bs-body-color);color:#ffffff;border-radius:var(--half-top-rounded)}
footer a {color:#ffffff;text-decoration:none;}
footer a:hover, footer a:focus {color:#ffffff;text-decoration:underline}
footer form a {text-decoration:underline}
footer hr {border-color:#85A7E5}
footer .light_blue {color:#85A7E5}
footer .border.rounded-circle {border-color:#85A7E5 !important}
footer a.border.rounded-circle {border-color:#ffffff !important}
footer a.border.rounded-circle:hover, footer a.border.rounded-circle:focus {text-decoration:none;border-color:#85A7E5 !important}
footer a.border.rounded-circle:hover i, footer a.border.rounded-circle:focus i {color:#85A7E5}
footer .border.rounded-circle:not(a) i {color:#85A7E5}