:root {
    /*--main: #1aace9;*/
	--main: #0162cd;
	
    --xl-padding: 200px;
    --m-padding: 50px;
    --s-padding: 30px;
    --box-w: 1080px;
}

* { box-sizing: border-box; }

body {
    margin: 0px;
    font-family: "Inter", sans-serif;
    color: #111111;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.noscroll {
    overflow-y: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }


@media all {
    /* SLIDE */
    .slideimg {
        position: absolute;
        z-index: 1;
        background:center;
        -webkit-background-size: cover; 
        -moz-background-size: cover; 
        -o-background-size: cover;
        background-size: cover;
        margin: 0;
    }
	#sfondo{
		width:100%;
		position: absolute;
		z-index: 1;
	}
    .slide {
      border: none; 
      opacity: 0; 
      filter:alpha(opacity=0);
      position: absolute; 
      top: 0; 
      left: 0;
    }
    .showMe {
      opacity: 1;
      filter:alpha(opacity=100);
    }
	.logogrande{
		position:absolute;
		z-index: 90;
		top: calc(50% - 150px);
		left: 0;
		width: 100%;
		text-align: center;
		opacity: 0;
		-webkit-animation-name: logograndemove;
		-webkit-animation-duration: 4s;
		/*-webkit-animation-iteration-count: infinite;*/
		-webkit-animation-iteration-count: 1;
	}
	@-webkit-keyframes 'logograndemove' {
		0% { opacity: 1; }
		75% { opacity: 1; }
		100%   { opacity: 0; }
	}
    /* FINE SLIDE */

    header > .box {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header {
        position: sticky;
        top: 0px;
        display: flex;
        align-items: center;
        flex-direction: column;
        z-index: 99999;
        padding: 0px 20px;
        background-color: white;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

    .main-wrapper {
        flex: 1;
    }

    .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px 20px;
    }

    .content > .box {
        max-width: 900px;
        padding: 30px 0px;
    }

	
	
    .content .text-block {
        margin-bottom: 60px;
    }

	.text-block {color:#111111;}
	.text-block a, .text-block a:link{
        /*text-decoration: underline;*/
        color:#0162cd;
    }
	.text-block a:hover, .text-block a:focus, .text-block a:active{
        -webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease; 
		transition: all 0.3s ease;
        color: #2cb5e9;
    }
    

	.puls{
        display: block;
        max-width: 460px;
        padding: 14px 20px;
        border-radius: 5px;
        border: 0;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
		text-align: center;
    }
    .puls:hover{opacity: 0.8;}
    
	.pulsblu{background-color: #0162cd;}

	.colorbianco{
		color:#fff;
		}
	.colorbianco a, .colorbianco a:link{ color:#fff; text-decoration:none;}
	.colorbianco a:hover, .colorbianco a:focus, .colorbianco a:active{
        -webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease; 
		transition: all 0.3s ease;
        color: #fff;
    }
	
	
    .content .text-block img {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-right: 15px;
        margin-bottom: 15px;
        border-radius: 3px;
    }

    .top-info {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--main);
        color: white;
        height: 40px;
        padding: 0px 20px;
    }

    .box {
        width: 100%;
        max-width: var(--box-w);
    }

    .top-info a {
        margin-right: 50px;
        font-size: 14px;
    }

    .top-info i {
        margin-right: 8px;
    }

    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: var(--box-w);
        height: 100px;
        transition: .2s ease height;
    }

    .navbar.small {
        height: 80px;
    }

    .navbar.small .logo {
        height: 40px;
    }

    .logo {
        height: 55px;
        transition: .2s ease height;
    }

    .menu {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .menu > .menu-item {
        position: relative;
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: 500;
        height: 100%;
        margin-left: 20px;
        cursor: pointer;
        text-decoration: none;
    }

    .menu > .menu-item > span {
        transition: .1s ease opacity;
        z-index: -1;
    }

    .menu > .menu-item:hover > span {
        opacity: 0.5;
    }
    
    .submenu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0px;
    }

    .submenu > .menu-item {
        display: flex;
        align-items: center;
        min-height: 60px;
        min-width: 280px;
        background-color: white;
        text-decoration: none;
        padding: 0px 20px;
        border-top: 1px solid #ececec;
    }

    .submenu > .menu-item:hover {
        background-color: var(--main);
        color: white;
    }

    .ham {
        display: none;
        visibility: hidden;
    }

    .slider-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -2;
    }

    #slideHome {
        width: 100%;
        height: 100%;
    }

    .slideimg {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .hero {
        position: relative;
        height: 700px;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 50px 0px;
    }

    .hero > .box {
        position: relative;
        display: flex;
        align-items: flex-end;
    }

    .hero.small {
        display: flex;
        justify-content: center;
        padding: 30px 20px;
        height: 200px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .hero.small > .box {
        max-width: 900px;
        padding: 0px;
    }

    .hero.small .title {
        margin: 0px;
        font-size: 50px;
        color: white;
        font-weight: 500;
    }

    .call-box {
        display: flex;
        flex-direction: column;
        background-color: white;
        max-width: 400px;
        border-radius: 15px;
        padding: 30px;
        color: var(--main);
    }

    .call-box > .top {
        font-size: 22px;
        font-weight: 300;
        margin-bottom: 8px;
    }

    .call-box > .middle {
        font-weight: 800;
        font-size: 45px;
        margin-bottom: 12px;
    }

    .call-box > .bottom {
        font-size: 14px;
        font-weight: 300;
        line-height: 20px;
    }

    .call-box > .bottom > b {
        font-weight: 600;
    }

    .intro {
        padding: 0px 20px;
        display: flex;
        justify-content: center;
        background-color: white;
    }

    .intro > .box {
        padding: 80px 0px;
    }

    .intro .b1 {
        padding-right: 50px;
    }

    .text-block ul {
        font-size: 18px;
        line-height: 30px;
        padding: 0px;
    }

    .text-block ul {
        list-style: none;
    }

    .text-block ul li {
        padding: 5px 0 5px 40px;
        background-image: url(/res/img/bullet.png);
        background-repeat: no-repeat;
        background-position: 0 9px;
    }

    .intro .b2 {
        padding-left: 50px;
    }

    .intro .testocentrato {
        float: left;
        margin-bottom: 50px;
    }

    .intro .testocentrato img {
        width: 100%;
        margin-top: 25px;
    }

    .testocentrato {
        width: 100%;
        text-align: center;
    }

    .testocentrato > div {
        /*max-width: 750px;
        margin: 0px auto;*/
    }

    h1 {
        line-height: 38px;
    }
    .icoimpianti{
        background-image: url(/res/img/lightning-charge-fill.svg);
        background-repeat: no-repeat;
        background-position: 0 7px;
    }
    .icoqualita{
        background-image: url(/res/img/lock-fill.svg);
        background-repeat: no-repeat;
        background-position: 0 7px;
    }
    .icopartner{
        background-image: url(/res/img/patch-check-fill.svg);
        background-repeat: no-repeat;
        background-position: 0 7px;
    }

    .text-block h2 {
        font-size: 24px;
        padding: 0 0 0 30px;
    }
    

    /*.text-block h2 > img {
        height: 20px;
        width: 20px;
        margin-right: 3px;
    }*/

    .text-block p {
        font-size: 18px;
        line-height: 30px;
    }

    .text-block.w-100 {
        width: 100%;
    }

    .text-block.w-50 {
        width: 50%;
    }
	
	
	.container{
		max-width:1100px;
		width:100%;
		margin:0 auto;
		/*background-color: #0ff;*/
	}
	.boxhomecontainer{
		float: left;
		width: 29%;
		height: 300px;
		margin: 0 2%;
		/*background-color: #00f;*/
		text-align: center;
        font-size: 26px;
        font-weight: 600;
		padding: 0 0 20px 0;
	}
	.boxhomecontainer img{
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
		margin: 0 0 20px 0;
		
	}
	.clear_left{
		clear: left;
	}
	

    .servizi {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #f8f8f8;
    }

    .servizi > .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: var(--box-w);
    }

    .servizi > .title {
        width: 100%;
        text-align: center;
        padding: 40px 0px;
        background-color: var(--main);
        color: white;
        font-size: 40px;
        font-weight: 500;
    }

    .servizi .list {
        padding: 30px 0px;
        display: flex;
        flex-wrap: wrap;
    }

    .servizio {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: calc((100% / 3) - 30px);
        margin: 15px;
        border-radius: 3px;
        background-color: white;
        height: 280px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

    .servizio > img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    .servizio > .title {
        font-size: 22px;
        font-weight: 500;
        text-align: center;
        margin-top: 20px;
        text-decoration: none;
    }

    .servizio > .link {
        padding: 10px 20px;
        text-transform: uppercase;
        color: var(--main);
        border: 1px solid var(--main);
        margin-top: auto;
        margin-bottom: 30px;
        text-decoration: none;
        transition: .1s ease background-color, .1s ease color;
    }

    .servizio > .link:hover {
        color: white;
        background-color: var(--main);
    }

    .contatti {
        display: flex;
        width: 100%;
        background-color: var(--main);
        height: 500px;
    }

    .contatti > .col-1 > .boxed {
        padding: 40px 20px;
        width: 100%;
        max-width: calc(var(--box-w) / 2);
    }

    .contatti > .col-1,
    .contatti > .col-2 {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        width: 50%;
    }

    .contatti > .col-2 > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .contatti .title {
        display: block;
        margin-top: auto;
        color: white;
        font-size: 40px;
        font-weight: 600;
        line-height: 45px;
        margin-bottom: 26px;
        max-width: 350px;
        text-decoration: none;
    }

    .contatti .link {
        display: block;
        border: 1px solid white;
        color: white;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding: 10px 20px;
        font-size: 14px;
        max-width: fit-content;
        text-decoration: none;
        transition: .2s ease background-color, .2s ease color;
    }

    .contatti .link:hover {
        color: var(--main);
        background-color: white;
    }

    .footer {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
        padding: 45px 20px;
    }

    .footer > .box {
        display: flex;
        width: 100%;
        max-width: var(--box-w);
    }

    .footer .col-1 {
        margin-right: auto;
    }

    .footer .col-2 {
        margin-right: 60px;
    }

    .footer ul {
        list-style: none;
        padding: 0px;
    }

    .footer ul > li {
        margin-bottom: 8px;
    }

    .footer .title {
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer .sep {
        width: 40px;
        height: 2px;
        background-color: var(--main);
        margin-bottom: 12px;
    }

    .footer li {
        font-size: 14px;
        margin-top: 0px;
        margin-bottom: 10px;
        text-decoration: none;
        transition: .2s opacity ease;
    }

    .footer a:hover {
        opacity: 0.5;
    }

    .footer a > span {
        color: var(--main);
        background: none;
    }

    .footer-logo {
        height: 60px;
    }

    .copy {
        display: flex;
        justify-content: center;
        padding: 15px 20px;
        background-color: #111111;
    }

    .copy > .box {
        display: flex;
        justify-content: space-between;
    }

    .copy .text,
    .copy a {
        font-size: 12px;
        letter-spacing: 1px;
        font-weight: 300;
        color: white;
    }

    .popup {
        position: fixed;
        bottom: 30px;
        right: 30px;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 310px;
        background-color: #111111;
        color: white;
        font-size: 14px;
        line-height: 22px;
        padding: 30px;
        border-radius: 20px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

    .popup > button {
        position: absolute;
        top: 10px;
        right: 10px;
        border: 0px;
        background: none;
        padding: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30px;
        width: 30px;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

    .popup > .photos {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .popup img {
        height: 50px;
        width: 50px;
        object-fit: cover;
        border-radius: 999px;
        border: 3px solid var(--main);
        margin: 5px;
    }

    .popup > .descr {
        margin-bottom: 20px;
    }

    .popup > .links {
        display: flex;
        flex-direction: column;
    }

    .popup a {
        width: 100%;
        height: 50px;
        background-color: var(--main);
        display: flex;
        align-items: center;
        padding: 0px 20px;
        margin-bottom: 10px;
        border-radius: 999px;
        text-decoration: none;
        transition: .2s ease opacity;
        font-weight: 600;
    }

    .popup a:hover {
        opacity: 0.8;
    }

    .popup a > i {
        margin-right: 15px;
    }

    .corpo {
        margin: 40px var(--xl-padding);
        line-height: 24px;
        max-width: 800px;
    }

    .corpo a {
        color: var(--main);
    }

    .images {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .images > img {
        width: 100%;
        max-width: 285px;
        height: 200px;
        object-fit: cover;
        margin-right: 15px;
        margin-bottom: 15px;
        border-radius: 3px;
    }

    .form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
        width: 100%;
        max-width: 550px;
    }

    .form-descr {
        max-width: 550px;
    }

    .form > div {
        font-size: 12px;
        margin-top: 10px;
    }

    .field {
        font-family: "Inter", sans-serif;
        padding: 10px 15px;
        margin-bottom: 8px;
        border: 1px solid #a5a5a5;
        background-color: white;
        resize: vertical;
        min-height: 40px;
        width: 100%;
        outline: none;
    }

    .field::placeholder {
        color: #a5a5a5;
    }

    .form > button {
        height: 40px;
        width: 160px;
        color: var(--main);
        border: 1px solid var(--main);
        background: none;
        margin-top: 20px;
        cursor: pointer;
        transition: .2s ease color, .2s ease background-color;
        font-family: "Inter", sans-serif;
    }

    .form > button:hover {
        background-color: var(--main);
        color: white;
    }

    .form-hidden {
        display: none;
    }

    .map {
        padding: 40px var(--xl-padding);
        border-bottom: 1px solid #e6e6e6;
    }

    .submenu {
        display: none;
    }

    .submenu.open {
        display: flex;
    }

    #menu-desktop {
        display: flex;
    }

    #menu-mobile {
        display: none;
    }
}














@media screen and (max-width: 1600px) {
    .logo {
        height: 50px;
    }

    .menu > .menu-item {
        margin-left: 15px;
    }

    .servizio {
        max-width: calc((100% / 3) - 30px);
    }
}















@media screen and (max-width: 1200px) {
    .navbar {
        height: 100px;
    }

    .logo {
        height: 50px !important;
    }

    .menu > .menu-item {
        font-size: 12px;
        margin-left: 10px;
    }

    .submenu > .menu-item {
        min-height: 45px;
        min-width: 220px;
    }

    .top-info > a {
        font-size: 12px;
    }

    .hero {
        height: 500px;
    }

    .hero > .box {
        padding: 0px 50px;
    }

    .servizi > .title {
        font-size: 30px;
    }

    .servizi .list {
        padding: 10px;
    }

    .servizio {
        /*height: 320px;*/
    }

    .servizio > img {
        height: 150px;
    }

    .servizio > .title {
        font-size: 20px;
    }

    .contatti .title {
        font-size: 34px;
    }
}














@media screen and (max-width: 930px) {
    h1 {
        font-size: 28px;
    }

    .content .text-block {
        margin-bottom: 40px;
    }

    .text-block p,
    .text-block ul {
        font-size: 16px;
        line-height: 26px;
    }

    .ham {
        background: none;
        border: 0px;
        padding: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50px;
        width: 50px;
        font-size: 40px;
        cursor: pointer;
        visibility: visible;
        transition: .2s ease opacity;
    }

    .ham:hover {
        opacity: 0.4;
    }

    .logo {
        height: 40px;
    }

    .top-info {
        justify-content: space-between;
    }

    .top-info a {
        margin-right: 16px;
        font-size: 10px;
    }

    .navbar {
        height: 80px;
    }

    .menu {
        position: fixed;
        flex-direction: column;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100% - 80px);
        background-color: white;
        transition: .2s ease left;
    }

    .menu.small {
        top: 80px;
    }

    .menu.open {
        left: 0px;
    }

    .hero.small > .box {
        padding: 0px;
    }

    .hero.small .title {
        text-align: center;
        font-size: 30px;
    }

    .menu > .menu-item {
        display: flex;
        flex-direction: column;
        margin: 0px;
        width: 100%;
        height: fit-content;
        font-size: 14px;
    }

    .menu > .menu-item > span {
        display: flex;
        align-items: center;
        background-color: white;
        border-top: 1px solid #ececec;
        height: 60px;
        width: 100%;
        padding: 0px var(--s-padding);
    }

    .menu-item > .submenu {
        position: relative;
        top: 0px;
        width: 100%;
    }

    .submenu > .menu-item {
        height: 60px;
        padding-left: 60px;
        background-color: #f4f4f4;
        border-color: #dbdbdb;
    }

    .menu > a:hover > span {
        background-color: var(--main);
        color: white;
    }

    .menu > .menu-item:hover > span {
        opacity: 1;
    }

    .hero {
        height: 400px;
    }

    .hero > .box {
        justify-content: center;
    }

    .intro .w-50 {
        width: 100%;
        padding: 0px;
    }

    .intro .b1 {
        margin-bottom: 20px;
    }

    .intro .b2 {
        clear: left;
    }

    .call-box {
        max-width: 320px;
    }

    .call-box > .top {
        font-size: 20px;
    }

    .call-box > .middle {
        font-size: 35px;
    }

    .intro > .box {
        flex-direction: column-reverse;
        padding: 40px 30px;
    }

    .servizi > .title {
        padding: 30px 0px;
    }

    .servizi .list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 40px 30px;
    }

    .servizio {
        margin: 0px;
        margin-bottom: 30px;
        width: 100%;
        max-width: 400px;
    }

    .servizio > .title {
        font-size: 24px;
    }

    .servizio > a {
        margin-top: 25px;
    }

    .contatti .title {
        font-size: 28px;
        line-height: 36px;
        text-align: center;
    }

    .footer > .box {
        flex-direction: column;
    }

    .footer > .col-2 {
        margin: 0px;
        margin-bottom: 40px;
    }

    .footer .col-1 {
        margin-bottom: 30px;
    }

    .copy > .box {
        flex-direction: column;
        align-items: center;
    }

    .copy a {
        margin-top: 20px;
    }

    .copy .text {
        line-height: 22px;
        text-align: center;
    }

    .hero.small > .title {
        text-align: center;
    }

    .contatti {
        height: fit-content;
        justify-content: center;
    }

    .contatti > .col-1 {
        width: 100%;
    }

    .contatti > .col-1 > .boxed {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contatti > .col-2 {
        display: none;
    }

    .contatti .title {
        max-width: 100%;
    }

    #menu-desktop {
        display: none;
    }

    #menu-mobile {
        display: flex;
    }
	
	.container{
		/*max-width:1100px;
		width:100%;
		margin:0 auto;*/
	}
	.boxhomecontainer{
		/*float: left;*/
		width: 48%;
		/*height: 300px;*/
		margin: 0 1%;
		/*background-color: #00f;
		text-align: center;
        font-size: 26px;
        font-weight: 600;
		padding: 0 0 20px 0;*/
	}
	/*.boxhomecontainer img{
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
		margin: 0 0 20px 0;
		
	}*/
	
}



@media screen and (max-width: 600px) {
	/*.container{
		max-width:1100px;
		width:100%;
		margin:0 auto;
		background-color: #0ff;
	}*/
	.boxhomecontainer{
		/*float: left;*/
		width: 96%;
		/*height: 300px;*/
		margin: 0 2%;
		/*background-color: #00f;
		text-align: center;
        font-size: 26px;
        font-weight: 600;
		padding: 0 0 20px 0;*/
	}
	/*.boxhomecontainer img{
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
		margin: 0 0 20px 0;
		
	}*/
	
}