/*
Theme Name: Movie Logic
Theme URI: https://www.movielogic.it
Author: WPinProgress
Author URI: https://www.wpinprogress.com
Description: Movie Logic.
Version: 1.0.0
Text Domain: movie-logic
*/

/* Elementi base (body, link) */

:root {
	--ml-page-width: 1215px;
	--ml-sticky-top: 0px;
	--ml-sticky-gap: 0px;
	--ml-header-height: 0px;
	--ml-submenu-gap-max: 20px;
	--ml-submenu-gap-normal: 0px;
	--ml-submenu-gap-sticky: 0px;
}

@media screen and (max-width: 1300px) {

	:root {
		--ml-page-width: 90%;
	}

}

body {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 20px;
}

a {
	color: inherit;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}

a,
p,
li {
	font-size: 20px;
	line-height: 24px;
}

a:hover,
a:active,
a:focus {
	color: #6E9FFF;
}

.ml-cta-button {
	text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 111px;
    height: 36px;
    line-height: 36px;
    border-radius: 5px;
    border: solid 1px #000;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
	-webkit-transition: color .3s ease, border-color .3s ease;
	-moz-transition: color .3s ease, border-color .3s ease;
	-o-transition: color .3s ease, border-color .3s ease;
	transition: color .3s ease, border-color .3s ease;
}

.ml-cta-button:hover,
.ml-cta-button:active,
.ml-cta-button:focus {
	border-color: #6E9FFF;
}

/* Hero wrapper */
.ml-header {
	width: 100%;
	height: 848px;
	background-image: url("assets/images/hero-homepage.png");
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	background-position: center center;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

/* Hero wrapper > About page */

body.page-template-template-about-php .ml-header {
	background-image: url("assets/images/white-pattern.jpg");
	-webkit-background-size: contain !important;
	-moz-background-size: contain !important;
	-o-background-size: contain !important;
	background-size: contain !important;
	background-position: contain center;
	background-repeat: repeat;
}

/* Hero wrapper > Contact page */

body.page-template-template-contatti-php .ml-header {
	background-image: url("assets/images/hero-contact-us.png");
}

/* Hero wrapper > Service page */

body.page-template-template-service-php .ml-header {
	height: 395px;
	background:none;
}

body.page-template-template-service-php .ml-header .ml-hero-content {
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	background-position: center center;
	background-repeat:no-repeat;
	height: 295px;
}

.ml-header.ml-page-header {
	height: auto;
	background: none;
}

.ml-header.ml-has-sticky-header {
	padding-top: calc(var(--ml-header-height, 0px) + var(--ml-sticky-gap, 0px));
}

.ml-header.ml-header-about {
	height:100%;
	min-height: 403px;
}

/* Header wrapper (sticky) */
.ml-header-section {
	position: sticky;
	top: var(--ml-sticky-top, 0px);
	z-index: 50;
}

.ml-header-section.ml-sticky-header {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--ml-sticky-top, 0px);
	background: #fff;
}

.ml-header-section.ml-light-header {
	background: #fff;
	border-bottom: solid 1px #ddd;
}

/* Header layout */
.ml-header-wrap {
	position: relative;
	width: 100%;
}

.ml-header-inner {
	max-width: var(--ml-page-width);
	margin: 0 auto;
	padding: 40px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

/* Brand */
div.ml-logo {
	font-weight: 800;
	letter-spacing: .4px;
	width: 177px;
	flex: 0 0 177px;
}

.ml-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

img.ml-logo {
	display: block;
	max-height: 48px;
	max-width: 177px;
	width: auto;
}

/* Navigazione principale */
.ml-menu {
	display: none;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.ml-menu ul {
	list-style: none;
	display: flex;
	gap: 18px;
	padding: 0;
	margin: 0;
}

.ml-menu ul li {
	position:relative;
	display:inline-block;
	text-align:left;
}

.ml-menu ul li a {
	text-decoration:none;
	display:inline-block;
	z-index:1;
	padding:0;
	margin:0;
	color: #000000;
	font-size:18px;
	font-weight:600;
	line-height: 1.2;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	transition: all .1s linear;
	position:relative;
}

.ml-menu li.ml-menu-icon-sviluppo-app > a::after {
	background-image: url("assets/images/servizi/sviluppo-app-icon.png");
}

.ml-menu li.ml-menu-icon-virtual-tour > a::after {
	background-image: url("assets/images/servizi/virtual-tour-icon.png");
}

.ml-menu li.ml-menu-icon-serious-game > a::after {
	background-image: url("assets/images/servizi/serious-game-icon.png");
}

.ml-menu li.ml-menu-icon-opere-tattili > a::after {
	background-image: url("assets/images/servizi/opere-tattili-icon.png");
}

.ml-sub-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 10px;
	height: 6px;
	margin-top: 3px;
	margin-left: 6px;
	background-image: url("assets/images/arrow-down.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	flex: 0 0 auto;
}

.ml-menu a:hover,
.ml-menu ul li a:hover,
.ml-menu li:hover > a,
.ml-menu a:focus,
.ml-menu ul li a:focus,
.ml-menu li:focus > a,
.ml-menu ul li.current-menu-item > a,
.ml-menu ul li.current_page_item > a,
.ml-menu ul li.current-menu-parent > a,
.ml-menu ul li.current_page_ancestor > a,
.ml-menu ul li.current-menu-ancestor > a {
	color:#6E9FFF;
}

.ml-menu ul.children ,
.ml-menu ul.sub-menu {
	gap: 0px;
	flex-direction: column;
	opacity:0;
	visibility: hidden;
	pointer-events: none;
	position: absolute;
	top: calc(100% + var(--ml-submenu-gap-normal, 0px));
	left: -9999em;
	background:#fff;
	-moz-box-shadow: 0px 7px 10px -10px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 7px 10px -10px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 7px 10px -10px rgba(0, 0, 0, 0.1);
	z-index:10001;
	width:100%;
	min-width:213px;
	padding: 15px 30px;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}

.ml-header-section.ml-sticky-header .ml-menu ul.children,
.ml-header-section.ml-sticky-header .ml-menu ul.sub-menu {
	top: calc(100% + var(--ml-submenu-gap-sticky, 0px));
}

.ml-menu > ul > li.menu-item-has-children::after {
	content: "";
	position: absolute;
	right: 0;
	left: auto;
	top: 100%;
	height: var(--ml-submenu-gap-normal, 0px);
	width: 100%;
	display: block;
	background: transparent;
}

.ml-header-section.ml-sticky-header .ml-menu > ul > li.menu-item-has-children::after {
	height: var(--ml-submenu-gap-sticky, 0px);
}

.ml-menu ul.children li ,
.ml-menu ul.sub-menu li {
	position:relative;
	margin:0;
	line-height:1.2em;
	text-transform:none;
	width:100%;
	min-width:211px;
	min-height: inherit;
	padding:0
}

.ml-menu ul.children li a ,
.ml-menu ul.sub-menu li a {
	text-decoration:none;
	text-align:left;
	display:inline-block;
	width: 100%;
	padding:15px 0;
	margin:0;
	border:none;
	line-height:inherit !important
}

.ml-menu li li:hover > ul,
.ml-menu li li:focus > ul,
.ml-menu li li.focus > ul {
	top:0px;
	left: 100%;
}

.ml-menu ul.children li ul:before ,
.ml-menu ul.sub-menu li ul:before {
	display:none;
}

.ml-menu li:hover > ul,
.ml-menu li:focus > ul,
.ml-menu li.focus > ul {
	opacity:1;
	visibility: visible;
	pointer-events: auto;
	right: 50%;
	transform: translatex(50%);
	left: inherit;
}

.ml-menu li:last-of-type:hover > ul,
.ml-menu li:last-of-type:focus > ul,
.ml-menu li:last-of-type.focus > ul {
	right: 0;
	transform: none;
}

.menu-toggle,
.dropdown-toggle {
	display: none;
}

/* Ml menu > Polylang */

.ml-menu li.pll-parent-menu-item {
	margin-top: -10px;
	padding: 10px;
	border: solid 1px #000;
	border-radius: 10px;
}

.ml-menu li.pll-parent-menu-item a {
	display: flex !important;
	align-items: center;
}

.ml-menu li.pll-parent-menu-item > a::before {
	margin-right: 10px;
}

.ml-menu li.pll-parent-menu-item .lang-item-it a::after,
.ml-menu li.pll-parent-menu-item .lang-item-en a::after {
	margin-left: 10px;
}

.ml-menu li.pll-parent-menu-item > a::before,
.ml-menu li.pll-parent-menu-item .lang-item-it a::after,
.ml-menu li.pll-parent-menu-item .lang-item-en a::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	vertical-align: middle;
}

.ml-menu li.pll-parent-menu-item .lang-item-it a::after,
html:lang(it-IT) .ml-menu li.pll-parent-menu-item > a::before {
	background-image: url("assets/images/icons/ita.png");
}

.ml-menu li.pll-parent-menu-item .lang-item-en a::after,
html:lang(en-GB) .ml-menu li.pll-parent-menu-item > a::before {
	background-image: url("assets/images/icons/eng.png");
}

/* Icona toggle menu */
.ml-toggle-icon {
	display: inline-block;
	transition: transform .25s ease, opacity .25s ease;
}


/* Hero content */
.ml-hero-content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 16px 60px;
}

.ml-hero-content-inner {
	width: 100%;
	max-width: var(--ml-page-width);
}

.ml-hero-content-grid {
	align-items: center;
}

.ml-hero-content-inner h1 {
	margin: 0 0 14px 0;
	color: #6E9FFF;
	font-size: 80px;
	font-weight: 600;
	font-family: "Inter", sans-serif;
}

.ml-hero-content-inner h2 {
	margin: 0;
	color: #000000;
	font-size: 32px;
	font-weight: 600;
	font-family: "Inter", sans-serif;
}

/* Hero content > About page */

.ml-header-about .ml-hero-content {
	padding: 70px 0;
}

.ml-hero-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.ml-hero-logo-link {
	display: inline-flex;
	align-items: center;
}

.ml-hero-logo-img {
	display: block;
	max-width: 530px;
	width: 100%;
	height: auto;
}

.ml-hero-content-inner .ml-hero-text h1 ,
.ml-hero-content-inner .ml-hero-text h2 ,
.ml-hero-content-inner .ml-hero-text p {
	text-align: left;
	color: #000;
}

.ml-hero-content-inner .ml-hero-text h1 {
	font-size: 16px;
	font-weight: 500;
	margin-top: 0;
	margin-bottom: 30px;
}

.ml-hero-content-inner .ml-hero-text h2 {
	font-size: 36px;
	font-weight: 500;
	margin-top: 0;
	margin-bottom: 30px;
	color: #181D27;
}

.ml-hero-content-inner .ml-hero-text p {
	font-size: 20px;
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 0;
}

.ml-header-about .ml-hero-content-inner .ml-hero-text p {
	line-height: 30px;
}

/* Hero content > Service page */

.ml-header-service .ml-hero-content {
	padding: 0;
}

.ml-service-logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 3D model container */

.ml-3d-model-container {
	padding:50px 0;
	background-image: url("assets/images/white-pattern.jpg");
}

.ml-3d-model-inner {
	border-radius: 10px;
	background:#000000;
}

/* Hero content > Contacts page */

.ml-hero-content.ml-contacts-content {
	padding-top: 100px;
	padding-bottom: 100px;
	text-align: left;
	justify-content: flex-start;
}

.ml-hero-content.ml-contacts-content h1 {
	font-size: 80px;
	font-weight: 600;
	color: #181D27;
	margin-bottom: 115px;
}

.ml-hero-content.ml-contacts-content .ml-contact-box {
	width: 400px;
	height: 86px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	border: solid 2px #000;
	border-radius: 10px;
	line-height: 1.2em;
}

.ml-hero-content.ml-contacts-content .ml-contact-box:last-of-type {
	margin-bottom:0px;
}

.ml-hero-content.ml-contacts-content .ml-contact-box {
	font-size: 20px;
	font-weight: 400;
	margin-bottom:25px;
}

.ml-hero-content.ml-contacts-content .ml-contact-box img {
	margin: 20px;
}

.ml-hero-content.ml-contacts-content .ml-contact-box a {
	text-decoration: none;
}

.ml-hero-content.ml-contacts-content .ml-contact-box span {
	display: block;
	font-weight: 700;
}

/* Main content */
.ml-main {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.ml-container {
    max-width: var(--ml-page-width);
	margin-left: auto;
	margin-right: auto;
}

/* Page container */

.ml-page-container {
	padding-top: 30px;
	padding-bottom: 30px;
}

.ml-page-container h2 {
	margin:0 0 20px 0;
	font-size: 16px;
	font-weight: 600;
	color: #6E9FFF;
}

.ml-page-container h3 {
	margin:0 0 20px 0;
	font-size: 28px;
	font-weight: 500;
	color: #181D27;
}

.ml-page-container p {
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
}

.ml-page-container p b {
	font-weight: 700;
}

/* Elementi non in header.php (variabili e utilities) */

.movie-logic-grid {
	display: grid;
	column-gap: 25px;
	row-gap: 25px;
}

.movie-logic-grid-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.movie-logic-grid-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.movie-logic-grid-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Servizi */

.ml-service-box {
	width: auto;
	height: auto;
	padding: 10px;
	background-position: bottom right;
	border-radius: 10px;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

.ml-service-box {
	width: auto;
	height: auto;
	padding: 10px;
	background-position: bottom right;
	border-radius: 10px;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

.ml-service-box img {
	width: 36px;
	height: 36px;
}

.ml-service-head {
	margin-bottom: 12px;
	min-height: 110px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ml-service-content {
	margin-top: 0;
	height: auto;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ml-service-box h4 {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 2.4em;
}

.ml-service-box p {
	margin-top: 0;
	font-size: 14px;
	font-weight: 400;
	text-align: left;
	line-height: 25px;
}

.ml-service-box.ml-sviluppo-app {
	background-color: #E3ECFB;
}

.ml-service-box.ml-virtual-tour {
	background-color: #DFF9F6;
}

.ml-service-box.ml-serious-game {
	background-color: #E9F2D6;
}

.ml-service-box.ml-opere-tattili {
	background-color: #FFFAE2;
}

/* Partners */

.ml-partner-container h3 {
	margin-bottom: 0;
}

.ml-partner-box {
	padding: 20px;
}

.ml-partner-box img {
	width: auto;
	height: auto;
	max-width: 100%;
}

/* Partners marquee */

@keyframes marquee--move__logos {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee-logos {
  width: 100%;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.marquee-logos__container {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: marquee--move__logos 35s linear infinite;
  padding:25px 0;
}

.marquee-logos__container .ml-partner-box {
  width: 14.625rem;
  height: 150px;
  min-width: 14.6253rem;
  min-height: 150px;
}

.marquee-logos__container .ml-partner-box-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.marquee-logos__container img {
  width: auto;
  height: auto;
  max-height: 150px;
}

.marquee-logos__fade {
  z-index: 1;
  width: 2rem;
  position: absolute;
}

/* Page About */

.ml-about-container.ml-page-container h3 {
	font-weight: 500;
	font-size: 36px;
	color: #181D27;
}

/* Page About > About grid */

.ml-about {
	padding: 0;
}

.ml-about .movie-logic-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
}

.ml-about-box {
	flex: 0 1 calc((100% - 75px) / 4);
	max-width: calc((100% - 75px) / 4);
	min-width: 240px;
	padding: 0;
	border-radius: 10px;
	text-align: left;
}

.ml-about-box h4 {
	font-size: 20px;
	font-weight: 600;
	margin-top:0;
	margin-bottom:10px;
}

.ml-about-box h5 {
	font-size: 16px;
	font-weight: 700;
	color: #6E9FFF;
	margin-top:0;
	margin-bottom:0;
}

.ml-about-box img {
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 10px;
}

/* Mission */

.ml-mission {
	background-color: #fafafa;
	padding: 50px 0;
}

.ml-mission-container.ml-page-container h3 {
	font-size: 36px;
	font-weight: 500;
	color: #181D27;
}

/* Mission grid */

.ml-mission-grid {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 16px;
	align-items: flex-start
}

.ml-mission-col {
	box-sizing: border-box;
}

.ml-mission-col p {
	font-size: 20px;
	font-weight: 400;
	color:#535862;
	max-width: 360px;
}

.ml-mission-inner-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 50px;
}

.ml-mission-cell {
	border-left:solid 2px #000;
	padding: 5px 10px;
	box-sizing: border-box;
}

.ml-mission-cell h4 {
	font-size: 18px;
	font-weight: 500;
	color:#181D27;
	margin-top: 0;
}

.ml-mission-cell p {
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	color:#535862;
	margin-bottom: 0;
}

/* Single service */

.ml-service-container.ml-page-container {
	padding-top: 40px;
	padding-bottom: 0;
}

.ml-service-container h1 {
	font-weight: 600;
	font-size: 36px;
	color: #181D27;
	margin: 0 0 50px 0;
}

.ml-service-container h2 {
	font-weight: 600;
	font-size: 16px;
	color: #6E9FFF;
	margin: 0 0 20px 0;
}

.ml-service-container li {
	margin: 0 0 10px 0;
	font-weight: 300;
	line-height: 30px;
}

.ml-service-container li strong {
	font-weight: 500;
}

.ml-service-details-container {
	padding: 50px 0;
}

.ml-service-details-container h2 {
	font-weight: 600;
	font-size: 16px;
	color: #6E9FFF;
	margin: 0 0 20px 0;
}

.ml-service-details-container h3 {
	font-weight: 600;
	font-size: 36px;
	color: #181D27;
	margin: 0 0 50px 0;
}

.ml-service-details-container p {
	font-weight: 300;
}

.ml-service-details-container p strong {
	font-weight: 500;
}

.ml-service-details-wrap {
	margin-top: 30px;
}

.ml-service-details-grid {
	display: grid;
	grid-template-columns: 1fr 500px;
	gap: 70px;
	align-items: center;
	padding:40px;
	border-radius: 10px;
	margin-bottom: 30px;
}

.ml-service-details-grid:last-of-type {
	margin-bottom: 0px;
}

.ml-service-details-wrap .ml-service-details-grid:nth-child(even) {
	grid-template-columns: 500px 1fr;
}

.ml-service-details-wrap .ml-service-details-grid:nth-child(even) img {
	order: 1;
}

.ml-service-details-wrap .ml-service-details-grid:nth-child(even) .ml-service-details-content {
	order: 2;
}

.ml-service-details-wrap .ml-service-details-grid h4 {
	font-size: 28px;
	font-weight: 500;
	margin: 0 0 30px 0;
	color: #181D27;
}

.ml-service-details-wrap .ml-service-details-grid p {
	font-size: 20px;
	font-weight: 300;
	margin: 0;
	color: #000;
}

.ml-service-details-wrap .ml-service-details-grid img {
	max-width: 100%;
	border-radius: 10px;
    border: solid 1px #f2f2f2;
}

/* Single service > 3D model container */

.ml-3d-model-container {
	padding:50px 0;
	background-image: url("assets/images/white-pattern.jpg");
}

.ml-3d-model-inner {
	border-radius: 10px;
	background:#000000;
	position: relative;
}

.ml-3d-model-container span.ml-3d-label {
	font-size: 36px;
	font-weight: 400;
	position: absolute;
	top: 20px;
	left: 20px;
	color: #fff;
}

.ml-3d-model-container span.ml-3d-details {
	font-size: 16px;
	font-weight: 700;
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	text-align: center;
}

/* Porfolio */

.ml-portfolio-filters-container {
	display: flex;
    justify-content: center;
	background-image: url("assets/images/white-pattern.jpg");
	padding: 50px 0;
}

.ml-portfolio-section-container {
	background-image: url("assets/images/white-pattern.jpg");
	padding: 40px 0;
	position: relative;
}

.ml-portfolio-page-container {
	background:none
}

.ml-portfolio-page-container h1 {
	margin: 0 0 30px 0;
	font-size: 16px;
	font-weight: 500;
	color: #6E9FFF;
}

.ml-portfolio-page-container h2 {
	margin: 0 0 30px 0;
	font-size: 36px;
	font-weight: 500;
	color: #181D27;
}

.ml-portfolio-section-box {
	position: relative;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
	border-radius: 10px;
}

.ml-portfolio-section-container h2 {
	font-size: 36px;
	font-weight: 500;
	color: #000;
}

.ml-portfolio-section-icon {
	display: flex;
    align-items: center;
    justify-content: center;
	width: 50px;
	height: 50px;
	line-height: 50px;
	border-radius: 50%;
	position:absolute;
	right:10px;
	top: 10px;
}

.ml-portfolio-section-icon img {
	width: 28px;
	height: 28px;
}

.ml-portfolio-section-container img.ml-portfolio-section-image {
	display: block;
	width: 100%;
	height: 230px;
	max-width: 100%;
	object-fit: cover;
	object-position: center center;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.ml-portfolio-section-data {
	display: flex;
	align-items: center;
	padding: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	min-height: 40px;
}

.ml-portfolio-section-data h4 {
	font-size: 16px;
	font-weight: 600;
	color: #181D27;
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 20px;
}

.ml-portfolio-section-data a,
.ml-portfolio-section-data .ml-portfolio-section-cta {
	font-size: 14px;
	font-weight: 700;
	color: #000;
	width: 113px;
	flex: 0 0 113px;
	height: 28px;
	line-height: 28px;
	border: solid 1px #000;
	border-radius: 5px;
	text-align: center;
	text-decoration: none;
	margin-left: auto;
	align-content: flex-end;
	white-space: nowrap;
	-webkit-transition: color .3s ease, border-color .3s ease;
	-moz-transition: color .3s ease, border-color .3s ease;
	-o-transition: color .3s ease, border-color .3s ease;
	transition: color .3s ease, border-color .3s ease;
	margin-top: auto;
}

.ml-portfolio-section-data a:hover,
.ml-portfolio-section-data a:active,
.ml-portfolio-section-data a:focus {
	color: #6E9FFF;
	border-color: #6E9FFF;
}

.ml-portfolio-section-cta--disabled {
	cursor: default;
}

.ml-portfolio-section-link .ml-portfolio-section-data {
	background-color:#E3ECFB;
}

.ml-portfolio-section-link .ml-portfolio-section-data a {
	width: 100%;
}

/* Contact form */

.ml-contact-form-container {
	padding-top: 70px;
	padding-bottom: 50px;
}

.ml-contact-form-container h2 {
	font-size: 36px;
	font-weight: 500;
	color: #181D27;
	margin-bottom: 30px;
}

.ml-contact-form-container p {
	font-size: 20px;
	font-weight: 300;
	color: #000000;
	margin: 0;
}

.ml-contact-form-container .ml-contact-form-inner {
	padding-right: 120px;
}

.ml-contact-form-container .ml-contact-form-inner + img {
	width: 100%;
    height: calc(100% - 29px);
    max-width: 592px;
    object-fit: cover;
    object-position: center center;
    margin: 0 auto;
    border-radius: 10px;
}

.ml-contact-form-container .wpcf7 {
	margin-top: 35px;
}

.ml-contact-form-container .wpcf7 label {
	font-size: 14px;
	font-weight: 500;
	color: #000000;
}

.ml-contact-form-container .wpcf7-form p {
	margin-top: 20px;
	margin-bottom: 20px;
}

.ml-contact-form-container .wpcf7-form p:last-of-type {
	margin-bottom: 0px;
}

.ml-contact-form-container .wpcf7 label span {
	display: block;
	margin-top: 10px;
}

.ml-contact-form-container .wpcf7 input,
.ml-contact-form-container .wpcf7 textarea {
    width: calc(100% - 30px);
	border: solid 1px #6E9FFF;
	padding: 10px 14px;
	border-radius: 10px;
}

.ml-contact-form-container .wpcf7 textarea {
	height:130px
}

.ml-contact-form-container .wpcf7 ::-webkit-input-placeholder {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight:400;
	color:#717680;
}

.ml-contact-form-container .wpcf7 ::-moz-placeholder {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight:400;
	color:#717680;
}

.ml-contact-form-container .wpcf7 :-ms-input-placeholder {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight:400;
	color:#717680;
}

.ml-contact-form-container .wpcf7 :-moz-placeholder {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight:400;
	color:#717680;
}

.ml-contact-form-container .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 30px 0;
}

.ml-contact-form-container .wpcf7 .wpcf7-acceptance label {
    display: flex;
    gap: 15px;
    flex-direction: row;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.ml-contact-form-container .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
	padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
	border-color: #D5D7DA !important;
	border-radius: 6px;
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	appearance:none;
}

.ml-contact-form-container .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked {
	-moz-appearance:auto;
	-webkit-appearance:auto;
	-o-appearance:auto;
	appearance:auto;
}

.ml-contact-form-container .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    margin: 0;
}

.ml-contact-form-container .wpcf7 .wpcf7-submit {
	width: 100%;
	height: 48px;
	line-height: 48px;
	padding: 0;
	border: none;
	background:#BAD1FF;
	font-size: 16px;
	font-weight: 600;
}

.ml-contact-form-container picture,
.ml-contact-form-container picture img {
	width: 100%;
	max-width: 100%;
    height: 790px;
    object-fit: cover;
    object-position: center center;
}

/* News */

.ml-news-container {
	padding: 10px 0;
}

/* Single posts */


.ml-single-page {
	padding: 60px 0;
}

.ml-single-page h2 {
	font-size: 16px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 30px;
}

.ml-single-page h1 {
	font-size: 35px;
	font-weight: 600;
	color: #000;
	margin-top: 0;
	margin-bottom: 30px;
}

.ml-single-page .ml-post-content h2 ,
.ml-single-page .ml-post-content h3 ,
.ml-single-page .ml-post-content h4 ,
.ml-single-page .ml-post-content h5 ,
.ml-single-page .ml-post-content h6 {
	font-size: 32px;
	font-weight: 400;
	color: #000;
}

.ml-featured-image-container {
	background-image: url("assets/images/white-pattern.jpg");
	padding: 0;
}

/* Single posts > certifications */

.ml-certifications {
	margin-top: 50px;
	padding: 0;
}

.ml-certifications .movie-logic-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
	margin-bottom: 25px;
}

.ml-certification-box {
    display: flex;
	align-items: center;
    justify-content: center;
	flex: 0 1 calc((100% - 75px) / 4);
	max-width: calc((100% - 75px) / 4);
	min-width: 240px;
	min-height: 150px;
	padding: 0;
	border-radius: 10px;
	text-align: left;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
}

.ml-certification-box img {
	width: auto;
	height: auto;
	max-width: 100%;
	border-radius: 10px;
}

.ml-certification-featured {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.ml-certification-cta {
	display: block;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	width: 160px;
	height: 28px;
	line-height: 28px;
	margin: 30px auto 0 auto;
	border: solid 1px #000;
	border-radius: 5px;
}

/* Single posts > attachments & call to action */

.ml-cta-wrap,
.ml-attachments {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap:30px;
	margin-top:40px;
}

.ml-cta-wrap a,
.ml-attachments a {
	font-size: 14px;
	font-weight: 700;
	min-width: 300px;
	height: 50px;
	line-height: 50px;
}

.ml-attachments + .ml-cta-wrap {
	margin-top:0px;
}

/* Mobile */

@media (max-width: 768px) {
	.ml-header { 
		background-image: url("assets/images/header-mobile.png");
		-webkit-background-size: cover !important;
		-moz-background-size: cover !important;
		-o-background-size: cover !important;
		background-size: cover !important;
		background-position: center;
	}
}

/**
 * Homepage carousel
 */

.ml-news-container .ml-page-container {
	position: relative;
	padding-bottom: 0;
}

.homepage-carousel {
	margin: 0;
	position: relative;
}

.homepage-carousel .owl-carousel {
	position: relative;
}

.homepage-carousel .owl-carousel .owl-stage,
.homepage-carousel .owl-carousel .owl-stage .owl-item {
	display: flex;
}

.homepage-carousel .owl-carousel .owl-stage .owl-item {
	flex: 0 0 auto;
}

.homepage-carousel .owl-carousel .owl-stage {
	align-items: stretch;
}

.homepage-carousel .owl-carousel .owl-stage .owl-item {
	align-self: stretch;
}

.homepage-carousel .owl-carousel .owl-stage-outer {
	padding: 0;
}

.homepage-carousel .owl-carousel .owl-stage .owl-inner-item {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: none;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
	height: 100%;
	flex: 1 1 auto;
}

.homepage-carousel .ml-carousel-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.homepage-carousel .ml-carousel-title {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	color: #000;
}

.homepage-carousel .ml-carousel-title a {
	text-decoration: none;
}

.homepage-carousel .ml-carousel-button {
	font-size: 14px;
	font-weight: 700;
	margin-top: auto;
	margin-bottom: 1px;
	display: inline-block;
	padding: 5px 15px;
	border: 1px solid #000;
	border-radius: 5px;
	text-decoration: none;
	width: fit-content;
}

.ml-news-container .ml-homepage-carousel-nav {
	position: absolute;
	top: 25px;
	right: 0;
	display: flex;
	gap: 8px;
	margin: 0;
	z-index: 2;
}

.ml-news-container .ml-homepage-carousel-nav button {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ml-news-container .ml-homepage-carousel-nav button:focus {
	box-shadow: 0 0 0 2px #000;
}

.ml-news-container .ml-homepage-carousel-nav button img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/**
 * Footer
 */

.ml-footer {
	background: #fff;
	color: #2b2f36;
}

.ml-footer-inner {
	max-width: var(--ml-page-width);
	margin: 0 auto;
	padding: 28px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ml-footer-top {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ml-footer-logo {
	font-weight: 800;
	letter-spacing: 0.4px;
}

.ml-footer-logo-link {
	display: inline-flex;
}

.ml-footer-logo-image {
	display: block;
	width: 165px;
	height: 33px;
	object-fit: contain;
}

.ml-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 22px;
	font-size: 14px;
}

.ml-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-footer-menu a {
	text-decoration: none;
}

.ml-footer-nav a {
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.ml-footer-info {
	font-size: 14px;
	font-weight: 600;
	color: #535862;
	line-height: 1.5;
}

.ml-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	border-top: 1px solid #e5e7eb;
}

.ml-footer-copy {
	font-size: 16px;
	font-weight: 400;
	color: #717680;
}

.ml-footer-social {
	display: flex;
	gap: 20px;
}

.ml-footer-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	color: #8b919a;
}

.ml-footer-icon svg {
	width: 100%;
	height: 100%;
	fill: #000;
}

.ml-footer-icon img {
	max-width: 24px;
	max-height: 24px;
	width: 100%;
	height: auto;
}

/* Header responsive */
@media (min-width: 992px) {
	.ml-menu { display: flex; }
	.ml-menu-toggle { display: none; }
	}

@media (max-width: 992px) {

	body.page-template-template-service-php .ml-header {
		height: 145px;
	}

	body.page-template-template-service-php .ml-header .ml-hero-content {
		height: 77px;
	}

	.ml-header-inner {
		padding:20px 16px
	}

	.movie-logic-grid.movie-logic-grid-cols-2,
	.movie-logic-grid.movie-logic-grid-cols-3,
	.movie-logic-grid.movie-logic-grid-cols-4,
	.ml-mission-grid,
	.ml-mission-inner-grid {
		grid-template-columns: 1fr;
	}

	.ml-contact-form-container .wpcf7-form .movie-logic-grid.movie-logic-grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ml-contact-form-container .ml-contact-form-inner + img {
		max-width: 100%;
	}

	.ml-mission-col p {
		max-width: 100%;
	}

	.ml-hero-content-inner h1 ,
	.ml-hero-content.ml-contacts-content h1 {
		font-size: 48px;
	}

	.ml-hero-content.ml-contacts-content h1 {
		margin-bottom: 50px;
	}

	.ml-hero-content.ml-contacts-content {
		padding-top: 50px;
		padding-bottom: 150px;
	}

	.ml-hero-content.ml-contacts-content .ml-contact-box {
		width: calc(100% - 2px);
	}

	.ml-contact-form-container .ml-contact-form-inner {
		padding-right: 0;
	}

	.ml-about .movie-logic-grid.movie-logic-grid-cols-4 {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap:40px
	}

	.ml-about .movie-logic-grid.movie-logic-grid-cols-4 .ml-about-box {
		width: 100%;
		min-width: 100%;
	}

	.ml-service-container.ml-page-container {
		padding-top: 70px;
	}

	.ml-service-box h4 {
		min-height:auto;
	}

	.ml-service-details-grid {
		gap: 30px;
	}

	.ml-service-details-grid,
	.ml-service-details-wrap .ml-service-details-grid:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.ml-service-details-wrap .ml-service-details-grid:nth-child(even) img {
		order: 2;
	}

	.ml-service-details-wrap .ml-service-details-grid:nth-child(even) .ml-service-details-content {
		order: 1;
	}

	.ml-portfolio-section-container img.ml-portfolio-section-image {
		height: auto;
	}

	.ml-contact-form-container picture,
	.ml-contact-form-container picture img {
		height: auto;
		object-fit: cover;
		object-position: center center;
	}

}

@media (max-width: 768px) {

	/* Hero wrapper */
	.ml-header {
		background-image: url("assets/images/hero-homepage-mobile.png");
	}

	/* Hero wrapper > Contact page */
	body.page-template-template-contatti-php .ml-header {
		background-image: url("assets/images/hero-contact-us-mobile.png");
	}

	.ml-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
	
}
