/* --------------------------------------------------- */
/* ------------- LAPTOP BIG -------------------------- */
/* ------------- USARE XXL- PER LE CLASSI ------------ */
/* --------------------------------------------------- */

@media (max-width: 1680px) {

}

/* -------------------------------------------------- */
/* ------------- LAPTOP E TABLET GRANDI ------------- */
/* ------------- USARE XL- PER LE CLASSI ------------ */
/* -------------------------------------------------- */

@media (max-width: 1440px) {

}

/* -------------------------------------------------- */
/* ------------- TABLET E LAPTOP PICCOLI ------------ */
/* ------------- USARE LG- PER LE CLASSI ------------ */
/* -------------------------------------------------- */

@media (max-width: 1200px) {

	/* ------------------------- VARIABLES ------------------------- */
	:root {

		--h1-size: 40px;

		--h2-size: 50px;

		--h3-size: 21px;

		--text-btn-size: 16px;

		--text-header-size: 13px;

	}

	/* ------------------------- HEADER ------------------------- */
	#header .header-inner .container #logo {
		display: flex;
		align-items: center;
		padding: 10px 40px;
	}

	/* ------------------------- FOOTER ------------------------- */
	#footer {
		--footer-p: 40px;
	}

	/* ------------------------- SLIDER ------------------------- */
	#slider {
		min-height: 750px;
	}
	
}

/* -------------------------------------------------- */
/* ------------- TABLET ORIZZONTALI ----------------- */
/* ------------- USARE MD- PER LE CLASSI ------------ */
/* -------------------------------------------------- */

@media (max-width: 1024px) {

	/* ------------------------- VARIABLES ------------------------- */
	:root {

		--display2-size: 28px;

		--display3-size: 58px;

	}


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

	/* ----- header - logo ----- */
	#header .header-inner .container #logo {
		position: relative !important;
		width: auto;
		padding: 0 40px !important;
	}
	.mainMenu-open #header .header-inner .container #logo svg g.label-logo path {
		fill: var(--nero);
	}
	
	/* ----- header - menu trigger ----- */
	#header .header-inner .container #mainMenu-trigger {
		height: 100%;
		padding: 0 40px;
		order: 10;
	}
	#header .header-inner .container #mainMenu-trigger .lines-button .lines {
		top: unset !important;
	}
	#header .header-inner .container #mainMenu-trigger .lines-button .lines,
	#header .header-inner .container #mainMenu-trigger .lines-button .lines:before,
	#header .header-inner .container #mainMenu-trigger .lines-button .lines:after {
		background-color: white;
	}
	#header .header-inner .container #mainMenu-trigger .lines-button.toggle-active .lines,
	#header .header-inner .container #mainMenu-trigger .lines-button.toggle-active .lines:before,
	#header .header-inner .container #mainMenu-trigger .lines-button.toggle-active .lines:after {
		background-color: var(--primario);
	}

	/* ----- header - menu ----- */
	.mainMenu-open #header .header-inner {
    box-shadow: none;
    background-color: transparent !important;
  }
	.mainMenu-open #header .header-inner .container:before {
    box-shadow: none;
    background-color: white !important;
  }
	.mainMenu-open #header .header-inner .container #mainMenu {
		position: absolute;
		top: 10px;
		left: 10px;
    display: block;
		width: calc(100% - 20px);
		max-height: calc(100% - 20px);
		min-height: unset !important;
    height: auto;
    overflow: visible;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav {
		height: calc(100vh - 20px);
		background-color: white;
		padding-top: calc(var(--header-h));
		padding-bottom: 20px;
		padding-right: 20px;
		padding-left: 20px;
		border-radius: var(--border-radius);
	}
	#header .header-inner .container #mainMenu:hover nav:before {
		background-color: white;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul {
		flex-direction: column;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul > li {
		height: auto;
		margin-bottom: 10px;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul > li.dropdown {
		flex-direction: column;
		align-items: flex-start;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul > li.dropdown:before {
		content: "\f078";
		font-family: "Font Awesome 7 Pro";
		color: var(--nero);
		opacity: 1;
		transform: rotate(0deg);
		transition: .3s all ease-in-out;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul > li:not(.hover-active):hover.dropdown:before {
		transform: rotate(180deg);
	}
	#header .header-inner .container #mainMenu nav > ul > li > a {
		height: auto !important;
		color: var(--nero);
	}
	#header .header-inner .container #mainMenu nav > ul > li > a > i {
		display: none;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul > li ul.dropdown-menu {
		justify-content: center;
		align-items: flex-start;
		height: 0 !important;
		max-height: unset !important;
		padding: 0 40px;
		border-radius: 0;
		box-shadow: none;
		transition: .3s all ease-in-out;
	}
	.mainMenu-open #header .header-inner .container #mainMenu nav > ul > li:not(.hover-active):hover ul.dropdown-menu {
		width: 100%;
		height: auto !important;
		padding-top: 10px;
		opacity: 1;
		z-index: 100;
	}
	#header .header-inner .container #mainMenu nav > ul > li ul.dropdown-menu:before,
	#header .header-inner .container #mainMenu nav > ul > li ul.dropdown-menu:after {
		content: none;
	}
	#header .header-inner .container #mainMenu nav > ul > li ul.dropdown-menu > li > a {
		color: var(--nero);
	}

	/* ------------------------- FOOTER ------------------------- */
	#footer:before {
		left: 0;
		width: 100%;
	}
	#footer .footer-content .grid-link-footer {
		justify-content: flex-start;
	}

	/* ------------------------- SLIDER ------------------------- */
	#slider .container {
		max-width: unset;
		padding-right: var(--section-p) !important;
		padding-left: var(--section-p) !important;
	}

	/* ------------------------- MAJOR NEEDS ------------------------- */

	/* ----- major needs - sezMondo ----- */
	#sezMondo .row-valori {
		--divider-w: 50px;
	}

	/* ------------------------- SCIENCE - TECHNOLOGY ------------------------- */
	#techWork {
		padding-top: 320px;
	}
	#techWork .row-valori {
		--divider-w: 50px;
	}
	
}

/* -------------------------------------------------- */
/* ------------- TABLET VERTICALI ------------------- */
/* ------------- USARE SM- PER LE CLASSI ------------ */
/* -------------------------------------------------- */

@media (max-width: 768px) {

	/* ------------------------- VARIABLES ------------------------- */
	:root {

		--h1-size: 36px;

		--h2-size: 38px;

		--h4-size: 22px;

		--display2-size: 26px;

	}

	/* ------------------------- OBJECT ------------------------- */
	.flex-sm-col-reverse {
		flex-direction: column-reverse;
	}

	/* ----- banner-intro ----- */
	.banner-intro .banner-container.background-mobile {
		display: flex;
		align-items: flex-end;
		height: 75vh;
		background-position: center top;
	}
	#bannerMajorneeds.banner-intro .banner-container.background-mobile {
		align-items: flex-start;
		height: 65vh;
	}

	/* ------------------------- INCLUDE ------------------------- */

	/* ----- cta ----- */
	#ctaFooter.background-mobile {
		min-height: 30vh;
		display: flex;
		align-items: center;
	}

	/* ------------------------- MAJOR NEEDS ------------------------- */

	/* ----- major needs - sezMondo ----- */
	#sezMondo {
		width: calc(100% - 40px * 2);
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.row-valori {
		flex-direction: column;
		align-items: center;
	}
	.row-valori .col-divider-valore {
		max-width: 100%;
		min-height: 1px !important;
	}
	.row-valori .col-divider-valore:before {
		--d: 150px;
		height: 1px;
	}

	/* ----- major needs - sezType2 ----- */
	.grid-loghi {
		grid-column-gap: 40px;
	}

	/* ------------------------- SCIENCE - TECHNOLOGY ------------------------- */
	#techWork {
		padding-top: 250px;
	}
	
	/* ------------------------- CONTATTI ------------------------- */
	form > .modulo-contatti-grid {
		padding: 30px;
	}

}

/* -------------------------------------------------- */
/* ------------- SMARTPHONE ------------------------- */
/* ------------- USARE XS- PER LE CLASSI ------------ */
/* -------------------------------------------------- */

@media (max-width: 576px) {

	/* ------------------------- VARIABLES ------------------------- */
	:root {

		--h1-size: 24px;

		--h2-size: 26px;

		--h3-size: 19px;

		--h4-size: 20px;

		--h5-size: 18px;

		--display2-size: 20px;

	}
	
	/* ------------------------- OBJECT ------------------------- */
	.flex-xs-col {
		flex-direction: column;
	}
	.flex-xs-col-reverse {
		flex-direction: column-reverse;
	}
	.w-xs-100 {
		width: 100% !important;
	}

	/* ----- banner-intro ----- */
	.banner-intro {
		--banner-p: 20px;
	}

	/* ------------------------- SUBHEADER ------------------------- */
	#subheader .breadcrumb ul {
		flex-wrap: wrap;
	}
	#subheader .breadcrumb ul li {
		flex-grow: 0 !important;
	}

	/* ------------------------- FOOTER ------------------------- */
	#footer {
		--footer-p: 0;
	}
	#footer .footer-content {
		padding-top: 40px;
	}
	#footer .footer-content img {
		max-width: 190px;
	}
	#footer .footer-content .grid-link-footer {
		flex-wrap: wrap;
		grid-gap: 30px;
	}
	#footer .footer-content .grid-link-footer > div {
		width: calc(50% - 30px);
	}

	/* ------------------------- INCLUDE ------------------------- */

	/* ----- cta ----- */
	#ctaFooter.background-mobile {
		min-height: 50vh;
	}

	/* ------------------------- INDEX ------------------------- */
	#sezPlenity img {
		max-width: 75%;
	}

	/* ------------------------- MAJOR NEEDS ------------------------- */
	.banner-intro .banner-container .banner-text-extra {
		bottom: 20px;
	}

	/* ----- major needs - sezMondo ----- */
	#sezMondo {
		width: calc(100% - 20px * 2);
	}

	/* ----- major needs - loghi ----- */
	.grid-loghi {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}

	/* ------------------------- SCIENCE - TECHNOLOGY ------------------------- */
	#techWork {
		padding-top: 120px;
	}

	/* ------------------------- PRODOTTI - PLENITY ------------------------- */

	/* ----- banner ----- */
	#bannerPlenity.banner-intro .banner-container.background-mobile {
		height: 65vh;
	}

	/* ----- intro ----- */
	#introPlenity img {
		max-width: 75%;
	}

	/* ------------------------- BLOG ------------------------- */
	.grid-blog .card-blog {
		padding: 20px;
	}
	.grid-blog .card-blog .card-blog-testi {
		grid-template-columns: auto;grid-gap: 10px;
	}
	.grid-blog .card-blog .card-blog-testi i {
		justify-content: flex-end;
	}

	/* ------------------------- CONTATTI ------------------------- */
	form > .modulo-contatti-grid {
		display: flex !important;
		flex-direction: column;
		padding: 20px;
	}

}