@media only screen and (min-width:0px) and (max-width:767px) {
#ControlMenu{cursor:pointer; position: relative; float: right; padding: 0px; display:flex; justify-content:center; align-items:center; flex-direction: column; width: auto; height: 100%; margin: 0px 50px 0px 0px; font-size: 2em; color: #fff;}
#divmenu{position:fixed;z-index:900;top:0;right:-100%;width:100%;height:100%}
.menuwithscroll{position:fixed;height:calc(100% - 70px);overflow-y:scroll;background-color: rgba(6,50,82,0.9);width:100%}
#closemenu{height:70px;background-color: rgba(6,50,82,0.9);width:calc(100% - 100px); text-align: right; padding: 0px 50px; position: relative; margin: 0px 50px 0px 0px; line-height: 70px; font-size: 2em; color: #fff }
#JQMenu{width: 80%; margin: 0 auto;}
#JQMenu > li{position:relative;clear:both;list-style:none;text-align:left; overflow:hidden;margin: 40px 0px; width:100%; cursor:pointer; -webkit-transition: all 0.5s linear;-moz-transition: all 0.5s linear;-ms-transition: all 0.5s linear;-o-transition: all 0.5s linear;transition: all 0.5s linear}
#JQMenu > li > a{display:block;text-decoration:none;font-size:1.4em; color: #fff;padding:0px; font-weight: 300; overflow: hidden; width: 100%; text-transform: uppercase; line-height: 50px}
#JQMenu > li > ul{margin:0px;display:none;padding:0px;width:100%;left:0px; clear: both;}
#JQMenu > li > ul > li{ position:relative;clear:both; text-align: left !important; justify-content: flex-start !important;cursor:pointer; height:auto;background-image:none!important;margin:0 auto;overflow:hidden; width: 100% !important; box-shadow: rgba(255,255,255,0.2) 0px -1px 0px 0px inset; padding: 10px 0px !important; -webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}
#JQMenu > li > ul > li > a{color:#fff !important; text-decoration:none; font-size:1em !important; line-height:18px; height:auto; width: 100%; font-weight: 400}
#JQMenu > li > ul > li:hover > a{color: #fff !important}
#JQMenu > li > ul > li span{text-transform: uppercase; font-weight: 600}
#JQMenu > li > ul > li > ul{margin:0px;position:inherit;display: none;padding: 0px;width:100%; top:0 !important; left: 0 !important; clear: both; }
#JQMenu > li > ul > li:after{display: none; }
#JQMenu > li > ul > li > ul > li a{color: #fff !important;}

.clkmen{position: absolute; font-size: 1em; top: 10px; right: 0px; color: #fff}

h1, .titolo{text-align:center; font-size:2em; line-height:35px;margin:0px 0px 20px 0px; font-family: 'Montserrat', sans-serif;clear:both;float:left;width:100%; font-weight: 700; color: #464646; position: relative;}
h2{text-align:center;font-size:1.3em;margin:0px 0px 20px 0px;line-height:29PX; color: #346ab4; width: 100%; clear: both; font-family: 'Montserrat', sans-serif; font-weight: 300}
hr{margin:30px auto !important}

.StyleIntestazione{width: 100%; position: fixed; z-index: 5; top:0px; height: 80px; background-color: rgba(0,0,0,0.2); } 
.StyleIntestazione .logo{height: 100%;  width: 100px; margin-left: 30px; cursor: pointer; display:flex; justify-content:flex-start; align-items:center; float:left; overflow: hidden;} 
.StyleIntestazioneScroll .logo{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; width: 100px; margin-left: 30px}
.StyleIntestazione:after{width: 450px; background-color: red; content: ""; height: 1px; bottom: 0px; left: 0px; position: absolute; background: rgb(75,151,255);background: linear-gradient(9deg, rgba(75,151,255,0) 0%, rgba(75,151,255,1) 50%, rgba(75,151,255,0) 100%);  -webkit-animation-name: move; -webkit-animation-duration: 3500ms;-webkit-animation-delay: 0ms;-webkit-animation-fill-mode: forwards;-webkit-animation-timing-function: linear;-webkit-animation-iteration-count: infinite;-webkit-transform-origin: 0 0;} 

.contiene{width: 90%  margin: 0 auto; height: 100%; padding: 0px;} 

#sei{width: calc(100% - 100px); margin: 0; height: auto; padding: 100px 50px 70px 50px; color: #fff; clear:both; position: relative; text-align: center;  list-style: none; font-size: 0.85em; line-height: 20px; background-image: url(/template/bg-contattaci.jpg); background-repeat: no-repeat; background-size: cover; background-position: center center; }

.ContentSlider{width: 100%; height: 500px;position: relative;  clear: both; margin: 0px auto; padding: 0px}
.BGSlider{width: 100%;  background-repeat: no-repeat; background-size: cover; background-position: center top; min-height: 500px !important; position: relative;}
.TXSlider{width: 80%;margin: 100px auto 0px auto; text-align: left;}
.TXSlider h1{color: #fff; text-align: left; text-transform: uppercase; font-weight: 300; font-size: 1em; line-height: 25px; margin-bottom: 20px}
.TXSlider h2{color: #fff; text-align: left; font-weight: 700; font-size: 1.6em; line-height: 30px; margin-bottom: 30px}
.TXSlider button{margin: 10px 10px 0px 0px; font-size: 0.8em}

.home{width: 80%; clear: both; margin: 0 auto; padding: 40px 0px; text-align: center;}
.home h2{font-weight: 700; font-size: 2em; color: #464646;}
.fasciahome{width: 100%; background-color: #396bb0;  color: #fff; background-image: url(/template/outline.svg); background-repeat: no-repeat; background-size: 600px auto; background-position: right -20px bottom -20px; overflow: hidden;}
.diqua{width: 100%; padding: 0px;}
.dila{width: calc(100% - 60px); padding: 40px 30px; font-size: 1.2em; line-height: 30px; display: flex; justify-content: center; align-items: center; }
.dila h3{text-align: left; color: #fff; font-weight: 700; font-size: 1.2em; margin: 0px 0px 40px 0px;}

.seipunti{display: flex; justify-content: space-between; flex-wrap: wrap; width: 90%;  margin: 40px auto; height: 100%; padding: 0px;}
.seipunti p{width: 100%; margin-bottom: 30px; cursor: pointer; text-align: center;}
.seipunti i{font-size: 3.7em; color: #346ab4; margin-bottom: 20px; transition: transform .5s ease-in-out;}
.seipunti p:hover i{transform: rotateY(180deg);}

.ContentPage{width: 80%; margin: 0 auto; height: 100%; padding: 40px 0px; clear: both; overflow: hidden; position: relative; }
.ContentNews{width:80%; margin: 0 auto; height: 100%; padding: 40px 0px; clear: both; overflow: hidden; position: relative; }
.fotonellanews{height: 400px; width: 100%; overflow: hidden; margin-bottom: 50px}

.paginacontatti{ display:flex;flex-wrap:wrap;justify-content:space-between; clear: both; width:90%; margin: 0 auto; padding: 50px 0px;}
.giustifica{ clear: both; width: 100%; margin: 0 auto; padding: 0px;}
.news{width: calc(100% - 2px); clear: both; margin: 0px auto; padding: 0px 1px;}

.TDCorpoNews{width: 100%; cursor: pointer; margin: 0px 0px 50px 0px;  text-align: left; padding: 0px; height: auto; background-color: #fff; overflow: hidden; box-shadow:#ebebeb 0px 0px 0px 1px}
.TDCorpoNews p{width: calc(100% - 130px); padding: 50px 80px 50px 50px; position: relative;}
.TDCorpoNews p:after{position: absolute; content: "\f054"; font-size: 3em; right: 30px; top: 65px; font-family:"Font Awesome 5 Pro"; color:#ccc; text-align: left; font-weight: 300; -webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
.TDCorpoNews:hover p:after{color:#346ab4}
.TDCorpoNews strong a{color: #454444; text-transform: uppercase; font-size: 1.3em;}
.fotonews{height: 250px; overflow: hidden;}

.sinistra{width: 100%;}
.destra{width: 100%; margin-top: 30px }

.paginacontatti .sinistra{order:2; margin-top: 30px}
.paginacontatti .destra{order: 1;}


.colonnasx{float: left; width: 100%}
.colonnadx{width: 100%; float: left; clear: both; }

.trearee{width: 100%; margin-top: 50px;}
.trearee div{width: calc(100% - 100px); padding:50px; overflow: hidden;}
.trearee p{font-size: 1.7em; font-weight: 700; color: #464646; margin-bottom: 40px}
.trearee i{font-size: 2em; margin-bottom: 20px; color: #346ab4}


.footer1{width:100%;height:auto;padding:40px 0% 20px 0px; overflow:hidden;  margin: 0 auto; clear: both; float: left;background-color: #ffff; text-align: left; line-height: 27px; position: relative; font-weight: 400; font-size: 0.9em; border-top: 5px solid #ebebeb;}
.footer1 .contiene{display: flex; justify-content: space-between; width: 80%; margin: 0 auto; flex-wrap: wrap;} 
.footer1 .contiene div{width: 100%; text-align: left; margin-bottom: 20px} 


.embed-container{height: 400px}
.formpagine{padding: 50px 40px !important; width: calc(100% - 80px) !important}
.formpagine form{width: 100%;margin: 0 auto; height: 100%; padding: 0px; clear: both;}
.formtasto{float: left; margin-top: 20px; clear: both;}


.pagegallery{overflow:hidden; margin: 0 auto 80px auto; clear: both; width: 90%}
.pagegallery div{width:100%; height:250px; float:left; margin:20px 0px 0px 0px; background-color: #3c3a37;  display:flex; justify-content:center; align-items:center; overflow: hidden; cursor: pointer; position: relative;}
.switch + span{clear: both; margin: 5px 0px 15px 0px;}

.footer2{padding: 10px 15px 45px 15px !important; width: calc(100% - 30px) !important; margin: 0px !important}

.caroselloenvelop{background-image: url(/template/bg-rosso.jpg); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; padding: 40px 0px}
.carosellocontainer{width: 90%; margin: 0 auto;padding-top: 50px;padding-bottom: 50px}
.carosellocontainer h1, .carosellocontainer h2, .formnwsl h1, .formnwsl h2{color: #fff; width: 90%; padding: 0px 5%;float: none;}
.carosellodiv{cursor: pointer; font-size: 1.2em; float: left !important; color: #fff; line-height: 30px; text-align: center;}

.divInternoCSS{width: calc(80% - 40px); background-color: #fff; padding: 20px; -moz-border-radius: 20px;-webkit-border-radius: 20px;border-radius: 20px; text-align: center; box-shadow: rgba(0,0,0,0.1) 0px 0px 20px 0px; font-size: 1em; line-height: 20px}
.divInternoCSS h1{font-size: 1.4em}
}

@media only screen and (min-width:768px) and (max-width:1024px) {

#ControlMenu{cursor:pointer; position: relative; float: right; padding: 0px; display:flex; justify-content:center; align-items:center; flex-direction: column; width: auto; height: 100%; margin: 0px 50px 0px 0px; font-size: 2em; color: #fff;}
#divmenu{position:fixed;z-index:900;top:0;right:-100%;width:100%;height:100%}
.menuwithscroll{position:fixed;height:calc(100% - 70px);overflow-y:scroll;background-color: rgba(6,50,82,0.9);width:100%}
#closemenu{height:70px;background-color: rgba(6,50,82,0.9);width:calc(100% - 100px); text-align: right; padding: 0px 50px; position: relative; margin: 0px 50px 0px 0px; line-height: 70px; font-size: 2em; color: #fff }
#JQMenu{width: 300px; margin: 0 auto;}
#JQMenu > li{position:relative;clear:both;list-style:none;text-align:left; overflow:hidden;margin: 40px 0px; width:100%; cursor:pointer; -webkit-transition: all 0.5s linear;-moz-transition: all 0.5s linear;-ms-transition: all 0.5s linear;-o-transition: all 0.5s linear;transition: all 0.5s linear}
#JQMenu > li > a{display:block;text-decoration:none;font-size:1.4em; color: #fff;padding:0px; font-weight: 300; overflow: hidden; width: 100%; text-transform: uppercase; line-height: 50px}
#JQMenu > li > ul{margin:0px;display:none;padding:0px;width:100%;left:0px; clear: both;}
#JQMenu > li > ul > li{ position:relative;clear:both; text-align: left !important; justify-content: flex-start !important;cursor:pointer; height:auto;background-image:none!important;margin:0 auto;overflow:hidden; width: 100% !important; box-shadow: rgba(255,255,255,0.2) 0px -1px 0px 0px inset; padding: 10px 0px !important; -webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}
#JQMenu > li > ul > li > a{color:#fff !important; text-decoration:none; font-size:1em !important; line-height:18px; height:auto; width: 100%; font-weight: 400}
#JQMenu > li > ul > li:hover > a{color: #fff !important}
#JQMenu > li > ul > li span{text-transform: uppercase; font-weight: 600}
#JQMenu > li > ul > li > ul{margin:0px;position:inherit;display: none;padding: 0px;width:100%; top:0 !important; left: 0 !important; clear: both; }
#JQMenu > li > ul > li:after{display: none; }
#JQMenu > li > ul > li > ul > li a{color: #fff !important;}

.clkmen{position: absolute; font-size: 1em; top: 10px; right: 0px; color: #fff}

h1, .titolo{text-align:center; font-size:2.5em; line-height:43px;margin:0px 0px 20px 0px; font-family: 'Montserrat', sans-serif;clear:both;float:left;width:100%; font-weight: 700; color: #464646; position: relative;}
h2{text-align:center;font-size:1.3em;margin:0px 0px 20px 0px;line-height:29PX; color: #346ab4; width: 100%; clear: both; font-family: 'Montserrat', sans-serif; font-weight: 300}

.StyleIntestazione{width: 100%; position: fixed; z-index: 5; top:0px; height: 80px; background-color: rgba(0,0,0,0.2); } 
.StyleIntestazione .logo{height: 100%;  width: 100px; margin-left: 50px; cursor: pointer; display:flex; justify-content:flex-start; align-items:center; float:left; overflow: hidden;} 
.StyleIntestazioneScroll .logo{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; width: 100px; margin-left: 30px}
.StyleIntestazione:after{width: 450px; background-color: red; content: ""; height: 1px; bottom: 0px; left: 0px; position: absolute; background: rgb(75,151,255);background: linear-gradient(9deg, rgba(75,151,255,0) 0%, rgba(75,151,255,1) 50%, rgba(75,151,255,0) 100%);  -webkit-animation-name: move; -webkit-animation-duration: 3500ms;-webkit-animation-delay: 0ms;-webkit-animation-fill-mode: forwards;-webkit-animation-timing-function: linear;-webkit-animation-iteration-count: infinite;-webkit-transform-origin: 0 0;} 

.contiene{width: 90%  margin: 0 auto; height: 100%; padding: 0px;} 

#sei{width: calc(100% - 100px); margin: 0; height: auto; padding: 145px 50px 40px 50px; color: #fff; clear:both; position: relative; text-align: center;  list-style: none; font-size: 0.85em; background-image: url(/template/bg-contattaci.jpg); background-repeat: no-repeat; background-size: cover; background-position: center center; }

.ContentSlider{width: 100%; height: 500px;position: relative;  clear: both; margin: 0px auto; padding: 0px}
.BGSlider{width: 100%;  background-repeat: no-repeat; background-size: cover; background-position: center top; min-height: 500px !important; position: relative;}
.TXSlider{width: 450px;margin: 100px 0px 0px 50px; text-align: left;}
.TXSlider h1{color: #fff; text-align: left; text-transform: uppercase; font-weight: 300; font-size: 1.2em; line-height: 25px; margin-bottom: 20px}
.TXSlider h2{color: #fff; text-align: left; font-weight: 700; font-size: 2.3em; line-height: 40px; margin-bottom: 50px}
.TXSlider button{margin: 0px 10px;}

.home{width: 90%; clear: both; margin: 0 auto; padding: 70px 0px; text-align: center;}
.home h2{font-weight: 700; font-size: 2.5em; color: #464646;}
.fasciahome{width: 100%; display: flex; justify-content: space-between; background-color: #396bb0;  color: #fff; background-image: url(/template/outline.svg); background-repeat: no-repeat; background-size: 600px auto; background-position: right -20px bottom -20px; overflow: hidden;}
.diqua{width: 50%; padding: 0px;}
.dila{width: calc(50% - 100px); padding: 50px; font-size: 1.2em; line-height: 30px; display: flex; justify-content: center; align-items: center; }
.dila h3{text-align: left; color: #fff; font-weight: 700; font-size: 1.2em; margin: 0px 0px 40px 0px;}

.seipunti{display: flex; justify-content: space-between; flex-wrap: wrap; width: 90%;  margin: 50px auto; height: 100%; padding: 0px;}
.seipunti p{width: 45%; margin-bottom: 50px; cursor: pointer;}
.seipunti i{font-size: 3.7em; color: #346ab4; margin-bottom: 20px; transition: transform .5s ease-in-out;}
.seipunti p:hover i{transform: rotateY(180deg);}

.ContentPage{width: 90%; margin: 0 auto; height: 100%; padding: 70px 0px; clear: both; overflow: hidden; position: relative; }
.ContentNews{width:90%; margin: 0 auto; height: 100%; padding: 70px 0px; clear: both; overflow: hidden; position: relative; }
.fotonellanews{height: 400px; width: 100%; overflow: hidden; margin-bottom: 50px}

.paginacontatti{ display:flex;flex-wrap:wrap;justify-content:space-between; clear: both; width:90%; margin: 0 auto; padding: 50px 0px;}
.giustifica{ clear: both; width: 100%; margin: 0 auto; padding: 0px;}
.news{width: calc(100% - 2px); clear: both; margin: 0px auto; display: flex; justify-content: space-between; padding: 0px 1px;}

.TDCorpoNews{width: 47%; cursor: pointer; margin: 0px 0px 50px 0px;  text-align: left; padding: 0px; height: auto; background-color: #fff; overflow: hidden; box-shadow:#ebebeb 0px 0px 0px 1px}
.TDCorpoNews p{width: calc(100% - 130px); padding: 50px 80px 50px 50px; position: relative;}
.TDCorpoNews p:after{position: absolute; content: "\f054"; font-size: 3em; right: 30px; top: 65px; font-family:"Font Awesome 5 Pro"; color:#ccc; text-align: left; font-weight: 300; -webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
.TDCorpoNews:hover p:after{color:#346ab4}
.TDCorpoNews strong a{color: #454444; text-transform: uppercase; font-size: 1.3em;}
.fotonews{height: 250px; overflow: hidden;}

.sinistra{width: 100%;}
.destra{width: 100%; margin-top: 30px }

.paginacontatti .sinistra{order:2; margin-top: 30px}
.paginacontatti .destra{order: 1;}


.colonnasx{float: left; width: 49%}
.colonnadx{width: 49%; float: right; }

.trearee{width: 100%; margin-top: 50px;}
.trearee div{width: calc(100% - 100px); padding:50px; overflow: hidden;}
.trearee p{font-size: 1.7em; font-weight: 700; color: #464646; margin-bottom: 40px}
.trearee i{font-size: 2em; margin-bottom: 20px; color: #346ab4}


.footer1{width:100%;height:auto;padding:70px 0%; overflow:hidden;  margin: 0 auto; clear: both; float: left;background-color: #ffff; text-align: left; line-height: 27px; position: relative; font-weight: 400; font-size: 0.9em; border-top: 5px solid #ebebeb;}
.footer1 .contiene{display: flex; justify-content: space-between; width: 90%; margin: 0 auto; flex-wrap: wrap;} 
.footer1 .contiene div:first-child{width: 100%; text-align: center; margin-bottom: 40px} 
.footer1 .contiene div{width: 45%} 

.embed-container{height: 500px}
.formpagine form{width: calc(100% - 100px);margin: 0 auto; height: 100%; padding: 0px;}
.formtasto{float: right; margin-top: 40px}

.pagegallery{overflow:hidden; margin: 0 auto 80px auto; clear: both; width: 90%}
.pagegallery div{width:32%; height:300px; float:left; margin:0px 2% 40px 0px;  display:flex; justify-content:center; align-items:center; overflow: hidden; cursor: pointer; position: relative;}
.pagegallery div:nth-child(3n+3){margin-right: 0px}
#div_check_ricerca{width: 280px !important;}

.caroselloenvelop{background-image: url(/template/bg-rosso.jpg); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; padding: 60px 0px}
.carosellocontainer{width: 90%; margin: 0 auto;padding-top: 50px;padding-bottom: 50px}
.carosellocontainer h1, .carosellocontainer h2, .formnwsl h1, .formnwsl h2{color: #fff; width: 90%; padding: 0px 5%;float: none;}
.carosellodiv{cursor: pointer; font-size: 1em; float: left !important; color: #fff; line-height: 20px; text-align: center;}

.divInternoCSS{max-width: 500px; width: calc(80% - 100px); background-color: #fff; padding: 50px; -moz-border-radius: 20px;-webkit-border-radius: 20px;border-radius: 20px; text-align: center; box-shadow: rgba(0,0,0,0.1) 0px 0px 20px 0px; font-size: 1em; line-height: 20px}
}

@media only screen and (min-width:1025px) {
h1, .titolo{text-align:center; font-size:2.5em; line-height:43px;margin:0px 0px 20px 0px; font-family: 'Montserrat', sans-serif;clear:both;float:left;width:100%; font-weight: 700; color: #464646; position: relative;}
h2{text-align:center;font-size:1.3em;margin:0px 0px 20px 0px;line-height:29PX; color: #346ab4; width: 100%; clear: both; font-family: 'Montserrat', sans-serif; font-weight: 300}

.StyleIntestazione{width: 100%; position: fixed; z-index: 5; top:0px; height: 100px; background-color: rgba(0,0,0,0.2); } 
.StyleIntestazione .logo{height: 100%;  width: 125px; margin-left: 50px; cursor: pointer; display:flex; justify-content:flex-start; align-items:center; float:left; overflow: hidden;} 
.StyleIntestazioneScroll .logo{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; width: 100px; margin-left: 30px}
.StyleIntestazione:after{width: 450px; background-color: red; content: ""; height: 1px; bottom: 0px; left: 0px; position: absolute; background: rgb(75,151,255);background: linear-gradient(9deg, rgba(75,151,255,0) 0%, rgba(75,151,255,1) 50%, rgba(75,151,255,0) 100%);  -webkit-animation-name: move; -webkit-animation-duration: 3500ms;-webkit-animation-delay: 0ms;-webkit-animation-fill-mode: forwards;-webkit-animation-timing-function: linear;-webkit-animation-iteration-count: infinite;-webkit-transform-origin: 0 0;} 

.contiene{width: calc(100% - 120px); max-width: 1200px; margin: 0 auto; height: 100%; padding: 0px;} 

#sei{width: calc(100% - 100px); margin: 0; height: auto; padding: 145px 50px 40px 50px; color: #fff; clear:both; position: relative; text-align: center;  list-style: none; font-size: 0.85em; background-image: url(/template/bg-contattaci.jpg); background-repeat: no-repeat; background-size: cover; background-position: center center; }

#JQMenu{width: auto; float: right;  padding:0px; margin: 0px 50px 0px 0px; height: 100px; position: relative;}
#JQMenu > li{position:relative;list-style:none;text-align:center; height: 100%; width: auto;  display:flex; justify-content:center; align-items:center; margin:0px; padding: 0px 25px; cursor:pointer; float: left; }
#JQMenu > li:after{position: absolute; bottom: 0px; left: 0px; background-color: #3d83e3; content: ""; width: 100%; height: 0px;-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; }
#JQMenu > li:hover:after{height: 3px}
#JQMenu > li > a{display:block;text-decoration:none;font-size:1em; color: #fff;padding:0px; font-weight: 300; overflow: hidden; width: 100%; text-transform: uppercase;}
#JQMenu > li:hover a{color: #fff;}
#JQMenu > li > ul{margin:0px;position:absolute;visibility:hidden;padding: 0px;width:250px;top:100px;left:0px;z-index:90; background-color: rgba(26,50,82,0.8);  box-shadow: rgba(200,200,200,0.2) 0px 0px 0px 1px inset;  }
#JQMenu > li > ul > li{ position:relative;clear:both; text-align: left !important; justify-content: flex-start !important;cursor:pointer; height:auto;background-image:none!important;margin:0 auto;overflow:hidden; width: calc(100% - 30px) !important; box-shadow: rgba(200,200,200,0.2) 0px 1px 0px 0px inset; padding: 10px 15px !important; -webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}
#JQMenu > li > ul > li > a{color:#fff !important; text-decoration:none; font-size:0.9em !important; line-height:18px; height:auto; width: calc(100% - 40px); float: left; font-weight: 300}
#JQMenu > li > ul > li > ul{margin:0px;position:inherit;display: none;padding: 0px;width:100%; top:0 !important; left: 0 !important; clear: both; }
#JQMenu > li > ul > li > ul > li a{color: #346ab4 !important;}

#ControlMenu, #closemenu {display: none !important;}
.clkmen{float: right; font-size: 0.8em; margin-top: -3px; color: #284671}

.ContentSlider{width: 100%; height: 650px;position: relative;  clear: both; margin: 0px auto; padding: 0px}
.BGSlider{width: 100%;  background-repeat: no-repeat; background-size: cover; background-position: center top; min-height: 650px !important; position: relative;}
.TXSlider{width: 500px;margin: 0px 0px 0px 17%; text-align: left;}
.TXSlider h1{color: #fff; text-align: left; text-transform: uppercase; font-weight: 300; font-size: 1.2em; line-height: 25px; margin-bottom: 20px}
.TXSlider h2{color: #fff; text-align: left; font-weight: 700; font-size: 2.3em; line-height: 40px; margin-bottom: 50px}
.TXSlider button{margin: 0px 10px;}

.home{width: calc(100% - 120px); max-width: 900px; clear: both; margin: 0 auto; padding: 100px 0px; text-align: center;}
.home h2{font-weight: 700; font-size: 2.5em; color: #464646;}
.fasciahome{width: 100%; display: flex; justify-content: space-between; background-color: #396bb0;  color: #fff; background-image: url(/template/outline.svg); background-repeat: no-repeat; background-size: 600px auto; background-position: right -20px bottom -20px; overflow: hidden;}
.diqua{width: 50%; padding: 0px;}
.dila{width: calc(50% - 200px); padding: 50px 100px; font-size: 1.2em; line-height: 30px; display: flex; justify-content: center; align-items: center; }
.dila h3{text-align: left; color: #fff; font-weight: 700; font-size: 1.2em; margin: 0px 0px 40px 0px;}

.seipunti{display: flex; justify-content: space-between; flex-wrap: wrap; width: 100%; max-width: 1200px; margin: 50px auto; height: 100%; padding: 0px;}
.seipunti p{width: 30%; margin-bottom: 50px; cursor: pointer;}
.seipunti i{font-size: 3.7em; color: #346ab4; margin-bottom: 20px; transition: transform .5s ease-in-out;}
.seipunti p:hover i{transform: rotateY(180deg);}

.ContentPage{width: calc(100% - 120px); max-width: 1200px; margin: 0 auto; height: 100%; padding: 100px 0px; clear: both; overflow: hidden; position: relative; }
.ContentNews{width:800px; margin: 0 auto; height: 100%; padding: 100px 0px; clear: both; overflow: hidden; position: relative; }
.fotonellanews{height: 400px; width: 100%; overflow: hidden; margin-bottom: 50px}

.paginacontatti{ display:flex;flex-wrap:wrap;justify-content:space-between; clear: both; width: calc(100% - 200px); margin: 0 auto; padding: 100px;}
.giustifica{ display:flex;flex-wrap:wrap;justify-content:space-between; clear: both; width: 100%; margin: 0 auto; padding: 0px;}
.news{width: calc(100% - 2px); clear: both; margin: 0px auto; display: flex; justify-content: space-between; padding: 0px 1px;}

.TDCorpoNews{width: 47%; cursor: pointer; margin: 0px 0px 50px 0px;  text-align: left; padding: 0px; height: auto; background-color: #fff; overflow: hidden; box-shadow:#ebebeb 0px 0px 0px 1px}
.TDCorpoNews p{width: calc(100% - 130px); padding: 50px 80px 50px 50px; position: relative;}
.TDCorpoNews p:after{position: absolute; content: "\f054"; font-size: 3em; right: 30px; top: 65px; font-family:"Font Awesome 5 Pro"; color:#ccc; text-align: left; font-weight: 300; -webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
.TDCorpoNews:hover p:after{color:#346ab4}
.TDCorpoNews strong a{color: #454444; text-transform: uppercase; font-size: 1.3em;}
.fotonews{height: 250px; overflow: hidden;}

.sinistra{width: 46%;}
.destra{width: 46% }

.inverti .sinistra{order: 2;}
.inverti  .destra{order: 1;}

.colonnasx{float: left; width: 49%}
.colonnadx{width: 49%; float: right; }

.trearee{width: 100%; margin-top: 50px; display: flex; justify-content: space-between;}
.trearee div{width: calc(33.33% - 100px); padding:50px;}
.trearee p{font-size: 1.7em; font-weight: 700; color: #464646; margin-bottom: 40px}
.trearee i{font-size: 2em; margin-bottom: 20px; color: #346ab4}


.footer1{width:100%;height:auto;padding:100px 0%; overflow:hidden;  margin: 0 auto; clear: both; float: left;background-color: #ffff; text-align: left; line-height: 27px; position: relative; font-weight: 400; font-size: 0.9em; border-top: 5px solid #ebebeb;}
.footer1 .contiene{display: flex; justify-content: space-between;} 
.footer1 .contiene div{width: 28%} 

.formpagine form{width: calc(100% - 100px); max-width: 1200px; margin: 0 auto; height: 100%; padding: 0px;}
#securityCode {-webkit-transform: scale(0.85);-moz-transform: scale(0.85);-o-transform: scale(0.85);width: 100px; display:flex; justify-content:flex-start; align-items:center; clear: both; float: left; margin: -15px 0px 0px -8px}
.formtasto{float: right;}

.pagegallery{overflow:hidden; margin: 0 auto 80px auto; clear: both; width: 95%}
.pagegallery div{width:32%; height:300px; float:left; margin:0px 2% 40px 0px;  display:flex; justify-content:center; align-items:center; overflow: hidden; cursor: pointer; position: relative;}
.pagegallery div:nth-child(3n+3){margin-right: 0px}
#esito{position:absolute;z-index:1010;width:400px;overflow:hidden;background-color:#FFF;padding:15px;left:50%;margin-left:-215px;top:50%;margin-top:-50px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}

.caroselloenvelop{background-repeat: no-repeat; background-size: cover; background-attachment: fixed; padding: 60px 0px}
.carosellocontainer{width: 90%; margin: 0 auto;padding-top: 50px;padding-bottom: 50px}
.carosellocontainer h1, .carosellocontainer h2, .formnwsl h1, .formnwsl h2{color: #fff; width: 90%; padding: 0px 5%;float: none;}
.carosellodiv{cursor: pointer; font-size: 1.2em; float: left !important; color: #fff; line-height: 30px; text-align: center;}

.divInternoCSS{max-width: 500px; width: calc(80% - 100px); background-color: #fff; padding: 50px; -moz-border-radius: 20px;-webkit-border-radius: 20px;border-radius: 20px; text-align: center; box-shadow: rgba(0,0,0,0.1) 0px 0px 20px 0px; font-size: 1em; line-height: 20px}
}
.trearee div:first-child{background-color: #f4f4f4;}
.trearee div:nth-child(2){background-color: #e9e9e9;}
.trearee div:last-child{background-color: #dfdfdf;}

.titoletto{text-align: center; text-transform: uppercase; font-weight: 300; font-size: 1.2em; line-height: 25px; margin-bottom: 20px}
.diqua img, .destra img{width: 100%; height: 100%; object-fit: cover }

.pic{ box-shadow: rgba(0,0,0,0.1) 20px 20px 0px 0px; width: 100%; height: 100%; object-fit: cover;}
.embed-container{ overflow: hidden;}
.lingue{float: right; width: 60px; height: 100%; display: flex; justify-content: space-between; align-items: center; margin-right: 10px}
.lingue p{width: 25px; overflow: hidden;}
.lingue p img{width:100%; height: 100%; object-fit: cover}
.lingue a{width:100%; height: 100%}


.logo img{height: 100%; width: 100%; object-fit: contain; } 

.titolonews{text-align: center; color: #346ab4;font-size:2.8em; line-height:45px;margin:0px 0px 70px 0px; clear:both;width:100%; font-weight: 700; text-transform: uppercase;}
.tuttenews{background-color: transparent !important; color: #fff; text-transform: uppercase; margin: 0 auto; font-weight: 300; font-size: 1.2em }
.tuttenews:hover{box-shadow: rgba(0,0,0,0.65) 0px 0px 0px 50px inset !important; background-color:transparent !important}
.tuttenews i{font-size: 0.8em; margin-left: 15px}
.fotonellanews img{height: 100%; width: 100%; object-fit: cover}

.butnellanews{text-align: center; background-color: #ebebeb; padding: 15px 0px;}
.butnellanews button{margin: 0px;  font-weight: 300; font-size: 1.2em}
.butnellanews button i{font-size: 0.8em; margin-left: 15px}

.nellanews h1{font-size: 1.8em; text-align: left; line-height: 30px;  margin-bottom: 10px;}
.nellanews h2{text-align: left;}
.nellanews .fa-newspaper{font-size: 5em; margin-bottom: 20px; color: #cdcdcd;}


.footer1 img{width: 140px; height: auto; margin-bottom: 20px} 
.footer1 ul{margin: 0px; width: 100%; clear: both; text-transform: uppercase;}
.footer1 ul li{padding: 5px 0px 5px 15px; position: relative; box-shadow: #d9d9d9 0px -1px 0px 0px inset;}
.footer1 ul li:before{position: absolute; content: "\f054"; font-size: 0.7em; left: 0px; top: 5px; font-family:"Font Awesome 5 Pro"; color:#3d83e3; text-align: left; font-weight: 400}
.footer1 ul li a{color: #5c5c5c}

.dueditre p{font-size: 1.3em; margin-top: 30px; line-height: 35px}

/*DOM*/
	body{position:relative;text-align:left;color:#5c5c5c;font-family: 'Montserrat', sans-serif;font-weight:300;font-size:16px;line-height:25px;background-color:#fff;}
	html,body{margin:0;padding:0;height:100%;border:none}
	p {margin:0px;padding:0px}
	ul {margin:0px;padding:0px;list-style:none}
	strong {font-weight:700;}
	hr{background-color:#e1e1e1;height:1px;width:100%;border:none;margin:50px auto;position:relative;clear:both; float:left}
	a{color:#346ab4;border:none;text-decoration:none;}
	a:hover{text-decoration:none;border:none; color:#3d83e3}

	.miniriga{float: none; width: 60px; background-color: #c8c8c8}


	input {-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; font-size:0.9em; font-family: 'Montserrat', sans-serif;margin:0px 0px 8px 0px;width:calc(100% - 30px); height:55px; line-height:55px;border:none;background-color: rgba(240,240,240,0.85); box-shadow: #f3f3f3 0px 0px 0px 1px inset; padding:0px 15px; color:#666;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	input [type="text"]{-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; font-family: 'Montserrat', sans-serif; margin:0px 0px 8px 0px;font-size:0.9em;width:calc(100% - 30px);height:55px;line-height:55px;border:none;background-color: rgba(240,240,240,0.85);padding:0px 15px ;color:#666}
	input:focus{ outline:none;box-shadow: #bea5a5 0px 0px 0px 1px inset}
	input[type="checkbox"]{ height:auto;background-color: #fff;margin:11px 5px 0px 0px;padding:0px !important;border:1px solid #d4d4d4;width:auto;box-shadow:none;width:15px !important;height:15px;float:left}
	input[type="radio"]{box-shadow:none}
	textarea{-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; margin-bottom: 20px;font-size:0.9em; font-family: 'Montserrat', sans-serif;float:left; width:calc(100% - 30px);height:200px;border:none;background-color: rgba(240,240,240,0.85); box-shadow: #f3f3f3 0px 0px 0px 1px inset; padding:10px 15px;color:#666;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	textarea:focus{ outline:none;box-shadow: #bea5a5 0px 0px 0px 1px inset}
	select{-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; font-family: 'Montserrat', sans-serif;margin:0px 0px 8px 0px;font-size:0.9em;width:100%;border:none;background-color: rgba(240,240,240,0.85); box-shadow: #f3f3f3 0px 0px 0px 1px inset; height:55px; line-height:55px; padding:0px 13px; color:#666;  background-image: url(/template/freccina.png); background-repeat: no-repeat; background-position: right 9px top 10px;  -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none;  appearance: none; -webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	select:focus{ outline:none;box-shadow: #bea5a5 0px 0px 0px 1px inset}
	input[type="submit"]{ border: none; box-shadow: none; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; font-family: 'Montserrat', sans-serif;background-color:#346ab4 !important;margin:0px;width:auto;font-weight:600;height:auto;line-height:inherit;padding: 12px 22px; text-transform:uppercase;font-size:0.85em;color:#fff;cursor:pointer;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	input[type="submit"]:hover{background-color:#3d83e3 !important;}
	input[type="button"],  button, .bottone{position: relative; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border:none; box-shadow: none; font-family: 'Montserrat', sans-serif;background-color:#346ab4;margin: 30px 0px 0px 0px;width:auto;font-weight:600;height:auto;line-height:inherit;padding: 12px 22px; text-transform:uppercase;font-size:0.85em;color:#fff;cursor:pointer;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	input[type="button"]:hover, button:hover, .bottone:hover{background-color:#3d83e3 !important;}
	input[type="button"] a,  button a {color: #fff;}
	input[type="button"]:hover a,  button:hover a {color: #fff;}
	.outline{background-color:#fff !important; color: #346ab4 !important; margin: 30px 0px 0px 0px;}
	.outline:hover{background-color:#fff !important; color: #3d83e3 !important;}

	/*trattamento speciale per le input type date (da testare)*/
	input[type="date"]{-moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; cursor: pointer; font-family: 'Montserrat', sans-serif;margin:0px 0px 8px 0px;font-size:0.85em;width:100%;border:none;background-color: #fff; box-shadow: #dedede 0px 0px 0px 1px inset; height:48px; line-height:48px; padding:0px 13px; color:#666; background-image: url(/template/freccina.png); background-repeat: no-repeat; background-position: right 9px top 9px;  -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none;  appearance: none; -webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-calendar-picker-indicator {opacity: 0;cursor: pointer;}

	input::placeholder, textarea::placeholder {color: #909090;}

	blockquote{margin: 0px; padding: 0px; font-size: 1.2em; text-align: center;}

	h3{text-align:left;font-size:1.2em;font-weight:700;margin:0px 0px 20px 0px;line-height:30px; width: 100%; color: #346ab4; font-family: 'Montserrat', sans-serif; width: 100%; clear: both; float: left;}

	h4, h5{text-align:left; font-size:2em; line-height:30px;margin:0px 0px 30px 0px; font-family: 'Montserrat', sans-serif;clear:both;float:left;width:100%; font-weight: 300; color: #346ab4; position: relative; text-transform: uppercase;}
	h5 i{color: #c7c7c7; font-size: 1.3em; margin-right: 15px; float: left;}


	table{width:100%;box-shadow:#e6e6e6 0px 0px 0px 1px;border-spacing:0px;font-size:0.9em;line-height:23px;border-collapse:separate; margin-top: 40px}
	table tr{box-shadow:#e6e6e6 0px -1px 0px 0px inset}
	table td{padding:10px}
	table tr:nth-child(even) {background: transparent;}
	table tr:nth-child(odd) {background:#f6f6f6;}
	.StylePagina{width:100%;padding:0px; height:auto; overflow: hidden; height: auto; }
/*BREADCRUMB*/
	#sei li{float: left;}
	#sei a{color: #fff}
	#sei em{font-size:0.6em; margin-right: 5px}
	#sei strong{font-weight: 400; color: #fff;}


/*STILE ELENCHI NELLE PAGINE*/
	.ContentPage ul, .elenco{margin: 15px 0px; width: 100%; clear: both; float: left;}
	.ContentPage ul li, .elenco li{padding: 5px 0px 5px 15px; position: relative; box-shadow: #d9d9d9 0px -1px 0px 0px inset;}
	.ContentPage ul li:before, .elenco li:before{position: absolute; content: "\f054"; font-size: 0.7em; left: 0px; top: 5px; font-family:"Font Awesome 5 Pro"; color:#3d83e3; text-align: left; font-weight: 400}

	.trearee div:last-child li{box-shadow: #c4c4c4 0px -1px 0px 0px inset;}


/*GALLERY*/
	.TDCorpoNews .fotonews img, .pagegallery div img, .sottocategoria .fotoprodotto img{height: 100%; width: 100%; object-fit: cover; -webkit-transform:scale(1.0) !important;-moz-transform:scale(1.0) !important;-o-transform:scale(1.0) !important;-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s; -o-transition-duration:0.5s;}
	.TDCorpoNews:hover .fotonews img, .pagegallery div:hover img, .sottocategoria:hover .fotoprodotto img{-webkit-transform:scale(1.1) !important;-moz-transform:scale(1.1) !important;-o-transform:scale(1.1) !important;-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s; -o-transition-duration:0.5s}
	.pagegallery div a {width: 100%; height: 100%;  display:flex; justify-content:center; align-items:center;}

	.fotopro img{height: 100%; width: 100%; object-fit: cover; }
	.elencopro .fotoprodotto img, .elencopromaster .fotoprodotto img{height: 100%; width: 100%; object-fit: contain; -webkit-transform:scale(1.0) !important;-moz-transform:scale(1.0) !important;-o-transform:scale(1.0) !important;-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s; -o-transition-duration:0.5s;}
	.elencopro:hover .fotoprodotto img, .elencopromaster:hover .fotoprodotto img{-webkit-transform:scale(1.1) !important;-moz-transform:scale(1.1) !important;-o-transform:scale(1.1) !important;-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s; -o-transition-duration:0.5s}

	.fotologo img{height: 100%; width: 100%; object-fit: cover; -webkit-transform:scale(1.0) !important;-moz-transform:scale(1.0) !important;-o-transform:scale(1.0) !important;-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s; -o-transition-duration:0.5s;}
	.logohome:hover .fotologo img{-webkit-transform:scale(0.9) !important;-moz-transform:scale(0.9) !important;-o-transform:scale(0.9) !important;-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s; -o-transition-duration:0.5s;}


/*FORM*/
	#FormSendMailToSite2{width:100%}
	#FormSendMailToSite2 span{color:#fff;}
	.formcontatti select{width:100%;height:37px;padding:5px}
	.formpagine{width:100%; position: relative;padding: 100px 0%;background-image: url(/template/bg-form.jpg); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover; overflow: hidden; }
	.formpagine .titolo{text-align: center; color: #fff; margin-bottom: 50px;  width: 100%; clear: both; }

	#div_check_email, #div_check_email2 {float:right}
	#securityCode{float:left;}

	#div_check_ricerca{display: none;position: absolute;top: 68px;z-index: 100; font-size: 1em;  width: 290px;height: 180px;overflow-y: auto; color: #666; background-color: #fff; padding: 10px 20px; box-shadow: #dedede 0px 0px 0px 1px inset;text-align: left;}
	#div_check_ricerca a{color: #4b4b4b;}
	.elencosearch a {color: #4b4b4b; text-transform: uppercase; font-weight: 700}
	#div_check_ricerca em {color: #73a65c; margin-right: 5px;}
	.elencosearch a i{color: #73a65c; margin: 7px 5px 0px 0px; float: left;}
/*FOOTER*/
	.footer2{width:100%;height:auto; margin:00px; clear:both; float:left; padding:15px 0px;background-color:#346bae; overflow:hidden; text-align: center; font-size: 0.8em; line-height: 22px; color: #fff}
	.footer2 a{text-decoration: none;  color: #fff;}

/*PAGINATORE*/
	#Paginatore{width: 100%; margin: 40px auto 0px auto; display: flex; justify-content: center; align-items: flex-start; clear: both; float: left;}
	.PaginatoreNext{-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color:#fff; height:60px;width:60px;cursor:pointer;padding:0px;font-size:1.3em;float:left; margin:0px 5px 0px 0px;display:flex;align-items:center;justify-content:center;box-shadow:#e6e6e6 0px 0px 0px 2px inset;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	.PaginatoreNext:hover{box-shadow:#e6e6e6 0px 0px 0px 60px inset}
	.PaginatoreNext a{color:#346ab4; text-decoration: none;}
	.PaginatoreNext a:hover, .PaginatoreNext:hover a{color:#3d83e3}
	/*selezionato*/
	.PaginatoreSel{-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; height:60px;width:60px;cursor:pointer;padding:0px;float:left;display:flex;align-items:center;justify-content:center;background-color:#346ab4; margin:0px 5px 0px 0px;}
	.PaginatoreSel span{color:#fff;font-weight:400;font-size:1.3em}
	/*link pagine*/
	.PaginatoreLink{-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color:#fff;  height:60px;width:60px;cursor:pointer;padding:0px;float:left;margin:0px 5px 0px 0px;display:flex;align-items:center;justify-content:center;box-shadow:#e6e6e6 0px 0px 0px 2px inset;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	.PaginatoreLink:hover{box-shadow:#e6e6e6 0px 0px 0px 60px inset}
	.PaginatoreLink a{color:#346ab4; font-size:1.3em; text-decoration: none;}
	.PaginatoreLink a:hover, .PaginatoreLink:hover a{color:#3d83e3}

/*STILE SLIDE*/
	.slick-slide{ display: initial !important}
	.slick-slide{ display:flex !important;align-items:flex-start;justify-content:center; flex-direction: column;}
	.slick-prev{left: -40px !important; display: none !important}
	.slick-next{right: -40px !important; display: none !important}
	.slick-prev, .slick-next{line-height: 50px !important; height: 50px !important; margin-top: -25px !important}
	.slick-prev:before{color:#cacaca !important; content:"\f053" !important;font-family:"Font Awesome 5 Pro" !important; line-height: 46px !important; height: 50px !important; font-size: 50px !important}
	.slick-next:before{color:#cacaca !important; content:"\f054" !important;font-family:"Font Awesome 5 Pro" !important; line-height: 46px !important; height: 50px !important; font-size: 50px !important}

/*MESSAGGI ERRORE*/
	.errMsg{position:absolute;cursor:pointer;height:40px;line-height:40px;padding:0px 10px 0px 10px;z-index:10;color:#444; text-align: center; left:0px;top:-55px;background-color:#fff;box-shadow:#d80033 0px 0px 0px 1px inset; font-size: 0.8em; min-width: 140px}
	.errMsg:after{position:absolute;left:10px;bottom:-7px;content:"";border-top:7px solid #d80033;border-left:10px solid transparent;border-right:10px solid transparent}
	.errInput{box-shadow:#9d9fa0 0px 0px 0px 2px inset}
	.is-focused{position:relative}
	#div_status_captcha{float:right !important;width:10px !important;margin:0px !important}

/*RICERCA POPUP*/
	#PopRicerca{display:none;position:fixed;z-index:700;left:0;top:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5)} 
	#PopRicerca >form{position:absolute;margin:0 auto;top:50%;margin-top:-40px;left:50%;margin-left:-150px;z-index:1;color:#0063ac; width:300px} 
	#hidericerca{height:50px;width:50px;position:relative;z-index:20;color:#FFF;font-size:4em;float:right;margin:20px;cursor:pointer}   
	.elencosearch{border-bottom: 1px solid #e9e9e9; padding-bottom: 10px; margin-bottom: 10px; width: 100%}

/*BOTTONE TORNA SU*/
	.scroll_top{width:50px;height:50px;position:fixed;bottom:-25px;left:50%; margin-left: -25px; background: rgba(0,0,0,.3); z-index:2; -moz-border-radius: 35px; -webkit-border-radius: 35px; border-radius: 35px; -webkit-transition:all 0.3s linear;-moz-transition:all 0.3s linear;-ms-transition:all 0.3s linear;-o-transition:all 0.3s linear;transition:all 0.3s linear}
	.scroll_top:before{position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; line-height: 25px; text-align: center; color: #fff; content: "\f077"; font-family:"Font Awesome 5 Pro";font-size:1em; -webkit-transition:all 0.3s linear;-moz-transition:all 0.3s linear;-ms-transition:all 0.3s linear;-o-transition:all 0.3s linear;transition:all 0.3s linear}  
	.scroll_top:hover{bottom:5px; background: rgba(0,0,0,0.4);}
	.scroll_top:hover:before{line-height: 48px; }

/*STILI FOTORAMA*/
	.fotorama__arr {width: 55px !important; height: 55px !important; margin: 0px !important; -moz-border-radius: 5px !important; -webkit-border-radius: 5px !important; border-radius: 5px !important; position: relative; background-image: none !important; background-color: rgba(50,50,50,0.6) !important;}
	.fotorama__arr--prev{left: 20px !important;}
	.fotorama__arr--next{right: 20px !important}
	.fotorama__arr--prev:before {position: absolute; content: "\f053"; width: 55px !important; height: 55px !important; line-height: 55px; font-size: 1.7em; left: 0px; top: 0px; font-family:"Font Awesome 5 Pro"; color: #fff; text-align: center; }
	.fotorama__arr--next:before {position: absolute; content: "\f054"; width: 55px !important; height: 55px !important; line-height: 55px; font-size: 1.7em; left: 0px; top: 0px; font-family:"Font Awesome 5 Pro"; color: #fff; text-align: center; }
	.fotorama__thumb{box-shadow: #ededed 0px 0px 0px 1px}
	.fotorama__nav__shaft {margin: 10px 0px 0px 0px;}
	.fotorama__fullscreen-icon {width: 55px !important;height: 55px !important;top: 5% !important;right: 5% !important;background-color: rgba(50,50,50,0.6) !important; -moz-border-radius: 55px; -webkit-border-radius: 55px; border-radius: 55px; background-image: none !important}
	.fotorama__fullscreen-icon:before{position: absolute; content: "\f065"; width: 55px !important; height: 55px !important; line-height: 55px; font-size: 1.4em; left: 0px; top: 0px; font-family:"Font Awesome 5 Pro"; color: #fff; text-align: center; }
	.fotorama__dot {width: 18px !important; height: 18px !important; border-radius: 15px !important; border:none !important; background-color: #4a4844}
	.fotorama__nav--dots .fotorama__nav__frame {width: 36px !important}
	.fotorama__nav__frame.fotorama__active .fotorama__dot {background: #5f1b0b !important;}


/*TRASFORMA CHECKBOX IN SWITCH*/


	.switch {position: relative;display: inline-block;width: 28px;height: 14px;float: left; margin: 4px 8px 0px 0px}
	.switch input {display:none;}
	.slider {position: absolute;cursor: pointer;top: 0;left: 0;right: 0;bottom: 0;background-color: #f4f4f4; -webkit-transition: .4s;transition: .4s;border-radius: 28px;}
	.slider:before {position: absolute; content: ""; height: 9px; width: 9px; left: 2px; bottom: 2px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 50%;box-shadow: 1px 1px 10px rgba(0,0,0,.3); background-color: #454444}
	input:checked + .slider {background-color: #f0f0f0}
	input:checked + .slider:before {-webkit-transform: translateX(14px); -ms-transform: translateX(14px); transform: translateX(14px); background-color: #346ab4}
	.switch + span{float: left; font-size: 0.8em; line-height: 20px}

	.formpagine .switch + span, .nwsl .switch + span{color: #fff}
	.formpagine a, .nwsl a{color: #fff}


/*MENU*/
	#hamburger{display: none}

/*SLIDER*/

/*WIDGET*/
	/*Blocco principale + in ogni ciclo viene aggiunta dinamicamente altra classe per la posizione*/
	/*ES: WidgetBlock_0 : per la Header (1 midddle, 2 footer)*/


/*ALERT POPUP*/
	.popupbg{position:fixed;z-index:700;left:0;top:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5)} 
	.popupmessage{position:relative;width: 50%;padding: 15px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; overflow: hidden !important; margin: 50px auto; background-color: #fff;box-shadow: rgba(0,0,0,0.2) 0px 0px 40px 0px;text-align: center;}
	.popupclosemessage{position:absolute;top: 10px;right: 10px;font-size: 20px;color: #dbdbdb; cursor: pointer;}

#collapseCatalogo{display: none !important}

/*CARRELLO*/
	.ofuscamentomenu{position:fixed;z-index:1;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,0.7);} 

	#ofuscamento{position:absolute;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=70);-moz-opacity:.70;opacity:.70}
	.continua{-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;; cursor:pointer;width:38%;font-size:1.2em;display:flex ;align-items:center;justify-content:center;background-color:#9c9e9f;float:left;padding:20px 5%;color:#fff;text-align:center;height:30px;text-transform:uppercase;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	.vai{-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; cursor:pointer;width:38%;font-size:1.2em;font-weight:700;display:flex ;align-items:center;justify-content:center;background-color:#346ab4;float:right;padding:20px 5%;text-align:center; height:30px;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear}
	.continua:hover{background-color: #b6b6b6}
	.vai:hover{background-color: #3d83e3;}
	.vai a{color: #fff;}
	
	#imgcarrello{text-align: center;}
	.fotoanteprimacart{width: 240px;height: auto; margin-bottom: 30px}

	.carrellobox{width: 100%;margin-top: 15px;box-shadow: #dedede 0px 0px 0px 1px inset;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;padding: 0px;overflow: hidden; display:flex;flex-wrap:wrap;justify-content:space-between;}

	.carrellodx a{-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; position:relative;font-family: 'Montserrat', sans-serif;background-color:#346ab4;margin:30px 0px 0px 0px;width:auto;font-weight:400;padding:10px 15px;border:none;box-shadow:none;text-transform:uppercase;font-size:1.15em;color:#fff;cursor:pointer;-webkit-transition:background-color 0.5s linear;-moz-transition:background-color 0.5s linear;-ms-transition:background-color 0.5s linear;-o-transition:background-color 0.5s linear;transition:background-color 0.5s linear}
	.carrellodx a:hover{background-color:#3d83e3}
	.carrellodx hr{margin: 0px;}




	#totaleparziale, #confermatotale{font-weight: 700; font-size: 1.5em; margin: 10px 0px;}
	.fatturazione{margin-top: 15px;box-shadow: #dedede 0px 0px 0px 1px inset;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;padding: 20px 5%;overflow: hidden; width: 90%}

	/*lo metto in relative per appendere il badge delle quantita presenti nel carrello*/
	#badge{    background: #77c8a2;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 25px;
    height: 25px; line-height: 25px; text-align: center; color: #fff;
    position: absolute;
    font-size: 0.7em;
    font-weight: bold;
	margin-top: -15px;
    margin-left: 15px;}

	#headerprice{position: absolute; right: 90px; font-size: 1.5em; font-weight: 700; color: #fff}
	#headerprice button{height: 40px; line-height: 40px; margin: 15px 0px 0px 5px; font-size: 0.8em; padding: 0px 10px;}
	


	.cartuno img{width: 70%; height: 70%; object-fit: contain;}

#slidebuoni{ text-align: center; overflow: hidden; width: calc(100% - 60px); position: relative;margin-bottom: 25px;box-shadow: #dedede 0px 0px 0px 1px inset;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;padding: 30px;}
#slidebuoni p{font-size: 1.3em; text-align: center; width: 100%;  margin: 0 auto 20px auto;  font-weight: 700; text-transform: uppercase; }

.testina, .StyleIntestazione, .StyleIntestazione #ControlMenu, .StyleIntestazione p:first-child, .StyleIntestazione .inizia, .StyleIntestazione #JQMenu, .StyleIntestazione #JQMenu > li > ul{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear;}

.StyleIntestazioneScroll{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear;  height: 70px; top: 0px; background-color: rgba(26,50,82,0.8); box-shadow: rgba(0,0,0,0.2) 0px 0px 10px 0px ;}
.StyleIntestazioneScroll #JQMenu{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear;  height: 70px;}
.StyleIntestazioneScroll #ControlMenu{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; height: 70px}
.StyleIntestazioneScroll #JQMenu li ul{-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; top: 70px; background-color: rgba(26,50,82,0.8);}



.tastocarrello #badge{cursor: pointer;}

.dashboard div{width: 100px; background-color: #ececec; padding: 10px; float: left; text-align: center; margin: 0px 2px 0px 0px; cursor: pointer; -webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear; }
.dashboard div:hover{background-color: #f2f2f2}
.dashboard div i{color: #b3b3b3;}

.formreg{clear: both;width: 100%; margin: 0 auto; max-width: 650px}
.riquadropsw{clear: both;width: 100%; margin: 0 auto; max-width: 400px}

.vuoto .ContentPage {padding: 40px 0px; min-height:  550px}

.slick-dots{width: 100%; position: absolute; bottom: 20px; margin: 0px !important; padding: 0px !important; display: none !important}
.slick-dots li{margin: 0px 5px !important; padding: 0px !important}
.slick-dots button{width: 50px; height: 4px; background-color: #898888 !important; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; padding: 0px !important; margin: 0px !important;}
.slick-dots li.slick-active button{background-color: #346ab4 !important}
.slick-dots button:after, .slick-dots button:before{display: none;}

.clienti .slick-dots{display: none !important}

.descpro b, .descpro b span{color: #346ab4 !important;}
.descpro p span{font-weight:400 !important;font-size:18px !important;line-height:22px !important;}


/*CLASSI COOKIE*/
.divEsternoCSS{width: 100%; height: 100%; background-color: rgba(100,100,100,0.5); position: fixed; left: 0px; top: 0px; z-index: 999999; display: flex; align-items: center; justify-content: center;}
.divInternoCSS{max-width: 500px; width: calc(80% - 100px); background-color: #fff; padding: 50px; -moz-border-radius: 20px;-webkit-border-radius: 20px;border-radius: 20px; text-align: center; box-shadow: rgba(0,0,0,0.1) 0px 0px 20px 0px; font-size: 1em; line-height: 20px}
.divInternoCSS h1{text-align: center; margin-bottom: 30px}
.infoLinkCSS{text-decoration: underline;}
.divButtonsCSS{-moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; position:relative; background-color:#162a9e;margin:20px auto 0px auto;width:150px;height:60px;line-height:60px;padding:0px 30px;border:none;text-transform:uppercase;font-size:1.3em;color:#fff;cursor:pointer;-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-ms-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear}
.divButtonsCSS:hover{background-color:#2a42cd}
.divButtonsCSS a{color: #fff}

@-webkit-keyframes bgPos {
	25% {
		-webkit-transform: translate3d(-60px, -60px, 0) rotate(0.001deg);
		transform: translate3d(-60px, -60px, 0) rotate(0.001deg);
	}
	75% {
		-webkit-transform: translate3d(0, 0, 0) rotate(0.001deg);
		transform: translate3d(0, 0, 0) rotate(0.001deg);
	}
}

@keyframes bgPos {
	25% {
		-webkit-transform: translate3d(-60px, -60px, 0) rotate(0.001deg);
		transform: translate3d(-60px, -60px, 0) rotate(0.001deg);
	}
	75% {
		-webkit-transform: translate3d(0, 0, 0) rotate(0.001deg);
		transform: translate3d(0, 0, 0) rotate(0.001deg);
	}
}

@-webkit-keyframes leaves {
        0% {
            transform: scale(1.0);
            -webkit-transform: scale(1.0);
        }
        100% {
            transform: scale(1.5);
            -webkit-transform: scale(1.5);
        }
    }

#hamburgerclose{cursor: pointer;}

/*Gallery*/
.GalleryProduct .contGallery, .GalleryPage .contGallery, .GalleryNews .contGallery{margin: 0px;height: 400px;width: auto;}
.GalleryProduct .contGallery img, .GalleryPage .contGallery img, .GalleryNews .contGallery img{min-height: 400px;width: auto;}
.testogal{position: absolute; bottom: 0px; left: 0px; width: 100%; padding: 10px 0px; background-color: rgba(0,0,0,0.4); color: #fff; z-index: 1; text-align: center; display: none;}
.contGallery{position: relative;}

@keyframes move {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(3500px); 
    }
}