h4, h5, h6,
h1, h2, h3 {margin-top: 0;}
ul, ol {margin: 0;}
p {margin: 0;}

html, body{
  	font-family: 'Lato', sans-serif;
    font-size: 100%;
  	overflow-x: hidden;
	/*height:100%;*/
	margin:0;
	letter-spacing:1px;
	color:#444;
}
a{
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-moz-transition:0.5s all;
	-o-transition:0.5s all;
	-ms-transition:0.5s all;
	text-decoration:none;
}
a:focus, a:active, a:hover {
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	text-decoration:none;
}

.colsoc1{color:#242677;}
/*.colsoc1{color:#4f96b1;}*/
.colsoc2{color:#6dab7a;}
.colsoc3{color:#E5A700;}

.fontA{font-family: 'Roboto', sans-serif;font-weight:300;}
.fontA1{font-family: 'Roboto', sans-serif;font-weight:100;}
.fontA4{font-family: 'Roboto', sans-serif;font-weight:400;}
.fontA5{font-family: 'Roboto', sans-serif;font-weight:500;}
.fontA7{font-family: 'Roboto', sans-serif;font-weight:700;}
.fontA9{font-family: 'Roboto', sans-serif;font-weight:900;}
.fontB{font-family: 'Anton', sans-serif;}
.fontC{font-family: 'Cairo', sans-serif;}

.lhcustom{line-height:24px;}

.lnrdx{padding-right:20px;}
.lnrsx{padding-left:20px;}

.os-animation{opacity: 0;}  
.os-animation.animated{opacity: 1;}

.x101{color:#fff;}
.x101:hover{color:#4f96b1;}
.x102{color:#666;}
.x102:hover{color:#4f96b1;}
.x103{background:#ccc;color:#f3f3f3;padding:7px;}
.x103:hover{background:#444;color:#fff;}
.x104{color:#666;border-bottom:1px dotted #666;}
.x104:hover{color:#4f96b1;border-bottom:1px solid #4f96b1;}
.x105{color:#4f96b1;}
.x105:hover{color:#E5A700;}

.verde{background:#4AAA27;padding:10px 20px;color:#fff;text-decoration:none;border:1px solid #4AAA27;}
.verde:hover{background:#006000;color:#fff;border:1px solid #006000;}
.azz{background:#55a4c2;padding:10px 20px;color:#fff;text-decoration:none;border-bottom:1px solid #407d93;}
.azz:hover{background:#407d93;color:#fff;border-bottom:1px solid #407d93;}
.azz:focus{background:#407d93;color:#fff;border-bottom:1px solid #407d93;}
.red{background:#cc0000;padding:10px 20px;color:#fff;text-decoration:none;border:1px solid #4AAA27;}
.red:hover{background:#b30000;color:#fff;border:1px solid #006000;}

/*slide*/
.slide{width:100%;height:700px;}
.slideA{background:url(../img/bkg2.jpg) no-repeat center top #f3f3f3;}
.slideB{background:url(../img/bkg1.jpg) no-repeat center top #f3f3f3;}
.slideD{background:url(../img/bkg3.jpg) no-repeat center top #f3f3f3;}
.slideE{background:url(../img/bkg4.jpg) no-repeat left top #f3f3f3;}
.slideC{background:url(../img/bkg5.jpg) no-repeat center top #f3f3f3;}
.log{position:absolute;top:0px;left:0;width:100%;}
.log1{width:78%;max-width:700px;}
.log2{width:78%;max-width:700px;padding:10px;background:#4f96b1;color:#fff;letter-spacing:10px;margin-top:20px;}
#klop{max-width:700px;width:100%;padding:20px 20px 40px 20px;background:rgba(255,255,255,0.6);position:absolute;right:30px;top:170px;}
#video{width:100%!important;}
.slidetxt{width:50%;height:100%;max-width:550px;padding:10% 30px 40px 30px;background:rgba(255,255,255,0.7);color:#000;margin-top:170px;}

/*menu testata*/
.testata{background:transparent;width:100%;height:161px;position:fixed;top:0px;left:0px;z-index:999;border-bottom:5px solid #f3f3f3;padding:7px 40px}
.menu-border{position:absolute; bottom: 0; left: 0; width: 0px; height: 5px; background-color: #1c77bc; transition: 0.4s;}
.menulink:hover  .menu-border{width: 100%; transition: 0.4s;}
.menubott{margin:20px 25px 0 0;}
.logo{width:200px;}
#logo3{margin-bottom:3px;}
.sectcontainer{margin-top:40px;}

.sect{
font-size: 15px;
color: #fff;
font-family: 'Lato', sans-serif;
font-weight: bold;
text-align: center;
padding: 23px 10px;
position: relative;
text-shadow: 1px 1px rgba(0,0,0,0.6);
}

.sect:hover  .menu-border{width: 100%; transition: 0.4s;}
.assist{background:#f3f3f3;padding:3px 15px;vertical-align:top;margin-top:5px;margin-right:25px;text-align:center;}
.assist:hover{color:#fff!important;background:#1c77bc;}
.menuff{position:absolute;top:58px;left:0px;background:#fff;padding:0px;opacity:0;margin-top:50px;border-bottom:5px solid #1c77bc}
.menufflink{color:#4f96b1;border-top:1px solid #ccc;padding:10px 20px;display:block;}
.menufflink:hover{color:#6dab7a;}
.brumbrum:hover .menuff{opacity:1;margin-top:0px;}

/* menusub */
.menusub{position:fixed;top:0px;left:0px;background:rgba(255,255,255,0.9);width:100%;height:100%;z-index:998;padding:180px 25px 25px 25px;text-align:left;}
.menusub1{width:70%;background:#fff;padding:20px;border:5px solid #ebebeb;}
.menulinksub{display:block;padding:10px 5px;font-size:20px;color:#666;border-bottom:1px dotted #cc0000;margin-top:3px;}
.menulinksub:hover{padding:10px 10px; border-radius: 30px;-moz-border-radius: 30px;-webkit-border-radius: 30px;border-bottom:1px solid #666;font-size:20px;color:#ff9900;font-style:italic;}

/* home */
.allincl{border-right:0px solid #6dab7a;}
.icodef{display:inline-block;width:48%;max-width:33%; text-align:center;margin-bottom:20px;padding:20px;vertical-align:top;}
#bkg1{background-image:url(../img/n1.jpg); background-repeat:no-repeat; background-position: -170px 50%;}
#bkg2{background-image:url(../img/h3.png); background-repeat:no-repeat; background-position:right -30px top 60%; background-color:#f3f3f3; padding:50px 0px 40px 0px}
#bkg3{background-image:url(../img/h6.png); background-repeat:no-repeat; background-position:right -30px top 60%; background-color:#fff;padding:60px 0px 50px 0px}
#imgcat{padding:15px;background:#fff;right:0px; top:80px;z-index:99;transform: rotate(-7deg);}
#imgcat:hover{top:400px;}
#imgcat:focus{top:400px;}
#imgcat2{left:100px; bottom:-30px;z-index:99;}
.corpoSx{width:70%;padding-right:20px;}
.corpoDx{width:30%;padding-left:20px;}

.bric{background:#f3f3f3;padding:7px 0;font-size:12px;text-align:left;}

.imgsquare{position:absolute;top:65%;left:-35px;width:300px;height:300px;background:#f3f3f3;background-color:#f3f3f3;background-position:center center;background-size:cover;z-index:10;}

/* footer */
.footerbox{background:url(../img/logo5.png)no-repeat right -100px top 0px #444;padding:45px 25px;border-top:5px solid #ccc;}
.foot1{width:32%;vertical-align:top;padding:0 20px;}
.footlink{display:block; color:#666; padding:10px; border-bottom:1px dotted #666;position:relative;}
.foot-border{position:absolute; bottom: 0; left: 0; width: 0px; height: 2px; background-color: #555; transition: 0.4s;}
.footlink:hover {color:#ccc;}
.footlink:hover  .foot-border{width: 100%; transition: 0.4s;}

/* interno */
.testint{background-size:cover;width:100%;height:500px;}
.titleint{margin:-40px 10px 30px 10px!important;background:#fff;animation: 1s ease-out 0s 1 slideInUp;}
.boximg1{width:30%;margin:15px;cursor:pointer;}
.boximg1:hover{box-shadow:0px 0px 9px  rgba(0,0,0,.15);transform:scale(1.3);}
.tarif{width:31%;margin:10px;color:#fff;background:#f3f3f3;border:1px solid #ebebeb;vertical-align:top;}
.tarifbox1{padding:20px;}
.tarifbox2{padding:20px;color:#6dab7a;}
.tarifbox3{padding:10px;color:#4f96b1;border-top:1px solid #ebebeb;text-align:left;}
.tarbkg1{background:linear-gradient(#2A52BE, #003399);}
.num1{border:5px solid #009900;}
.num2{background:#009900;color:#fff;padding:8px 12px;}
.num3{color:#009900;padding:5px 12px;}
.num4{background:#4f96b1;padding:12px 14px;color:#fff;}
.imgingrimg2{cursor:pointer;width:40%;}
.imgingrimg2:hover{box-shadow:0px 0px 9px rgba(0,0,0,.15);transform:scale(1.5);}
.icoinfo{padding:4px 4px;border:0px solid #666;width:30px;height:30px;text-align:center;background:#4169E1;}
.bbord{border:1px solid #666;padding:10px;background:#f3f3f3;}
.ruolo{padding:10px 30px 10px 0px;color:#6dab7a;border-bottom:1px solid #6dab7a;max-width:90%;}
.ruolo:hover{color:#E5A700;border-bottom:1px solid #E5A700;padding:10px 30px 10px 10px;}

/* paginazione */
.pag1{width:37px; height:37px; text-align:center; padding:7px; float:left;line-height:20px;margin-right:10px;color:#fff;background:#cc0000;border:2px solid #cc0000;font-size:20px;text-decoration:none;}
a.pag{width:37px;height:37px;text-align:center;padding:7px;float:left;line-height:20px;margin-right:10px;color:#666666;
background:#ffffff;border:2px solid #666666;font-size:20px;text-decoration:none;}
a.pag:hover{background:#cccccc;}
.pagr{width:34px;height:34px;text-align:left;float:left;line-height:54px;}

/*popup*/
.popalert{position:fixed;right:0px;bottom:10%;background:#fff;padding:20px;z-index:999;max-width:300px;border:3px solid #ccc;display:none;}
.popalert1{top:-30px;left:-30px;background:#4f96b1;color:#fff;padding:4px 7px;position:absolute;}
.popalertimg{border:1px dotted #ccc;padding:6px;margin-top:7px;}
.popalertimg:hover{background:#f3f3f3;}
.closepop{position:absolute;top:-10px;left:-10px;background:#fff;padding:5px;}
.input-group-over:hover{background:#C51015;color:#fff;}
@keyframes popup {
  0% {transform: translateX(100%);}
  100% {transform: translateX(0%);}
}
.popalert{animation: 0.5s ease-out 0s 1 popup;}

.service{background:#ccc;padding:0px;}
.servicebox{padding:20px;background:#f3f3f3;}
.servicetxt{width:100%;color:#666;border-bottom:1px dotted #cc0000;padding:7px 0px;}

/* bottoni */
.button2 {
	display:block;
	padding:3px 7px;
	background:#6dab7a;
	border:#a80000 1px solid;
	color:#ffffff !important;
	text-align:center;
	font-size:20px;
	font-family: 'Oswald', sans-serif;
	border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
	box-shadow:0 0 2px #000, inset 0 1px 1px #66FFFF; 
	-webkit-box-shadow:0 0 2px #000, inset 0 1px 1px #900000; 
	-moz-box-shadow:0 0 2px #000, inset 0 1px 1px #900000;
	cursor:pointer;
	text-decoration:none;
}
.button2:hover {
	background:#4f96b1;
	border-color:#900000;
	text-decoration:none !important;
	cursor:pointer
}

.briciole{padding:10px 20px;font-size:14px;color:#ff6600;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin-bottom:20px;text-align:left;}
.briciole a{color:#666;}
.briciole a:hover{color:#ff9900;}

/* search */
.search0{border-top-left-radius:4px;border-bottom-left-radius:4px;background:#ccc;width:5%;color:#fff;}
.search1{border:2px solid #ccc;width:75%;}
.search2{border-top-right-radius:4px;border-bottom-right-radius:4px;width:30%;background:#ccc;}
.search3{width:100%;heigth:100%;display:block;}	
.search2:hover{color:#fff;}

.catgo{border:1px solid #ccc;padding:7px;color:#666;margin-right:20px;margin-bottom:10px;display:inline-block;}
.catgo:hover{border:1px solid #cc0000;background:#cc0000;color:#fff;}

/*admin */
.admboxcont{position:relative;border:2px solid #fff;margin:5px;}
.admboxcont:hover{border:2px solid #ebebeb;}	
.admboxico{position:absolute;top:0;right:0px;padding:5px;background:#000;display:none;z-index:9999;}	
.admico1{background:#f3f3f3;border:1px solid #ccc;text-align:center;padding:7px;cursor:pointer;}
.admboxcont:hover .admboxico{display:block;}
.edit:hover{border:2px dotted red;position:relative;}
.edit2:hover{border:2px dotted red;position:relative;}
.fatto{position:fixed;top:0;width:100%;padding:10px;background:#ff0000;color:#fff;margin-left:auto;margin-right:auto;text-align:center;display:none;z-index:999999;}
#perc{position:fixed;bottom:0;left:0;padding:7px;background:#ff0000;color:#fff;text-align:left;width:0px;z-index:999999;}
input[type="file"] {display: none;}	

/* cookie */
#cookiebox{position:fixed;bottom:0px;left:0px;width:100%;padding:20px 20px 30px 20px;font-size:14px;color:#fff;font-weight:normal;line-height:20px;background:rgba(0,0,0,0.7);z-index:99999999999;}
a.cookie{color:#ff9900;}
a.cookie:hover{#ff6600;}
#cookiebott {background-color: #009900;color: #FFF;text-decoration: none;font-weight: 600;font-size: 16px;padding: 10px 20px;border-radius:3px;cursor:pointer;}
#cookiebott:hover {background-color:#006000; }
#cookiebott2 {background-color:#0099ff;color: #FFF;text-decoration: none;font-weight: 600;font-size: 16px;padding: 10px 20px;border-radius:3px;cursor:pointer;}
#cookiebott2:hover {background-color:  #3366ff;}
#cookiebox{animation: 1s ease-out 0s 1 slideInFromLeft;}

@media screen and (max-width:1280px)
{ 
.sectxx{font-size:15px!important;padding: 23px 8px;}
}

@media screen and (max-width:1150px)
{ 
.sectcontainer{display:none;}
.menusubico{display:block;}
.textlrg{width:100%!important;}
.rus{width:100%;}
#imgcat{top:300px;}
#imgcat2{left:0px;width:33%!important; bottom:-30px;z-index:99;}
}

@media screen and (max-width:950px)
{ 
#video{height:100vh!important;}
#klop{right:20px;left:20px;max-width:80%;}
#imgcat{top:200px;}
.boximg1{width:45%;}
.tarif{width:95%!important;}
.icodef{width:100%;max-width:48%!important;}
}

@media screen and (max-width:850px)
{
.rsz{width:100%!important;margin:0!important;padding:0!important;}
.rsz-no{width:100%!important;}
.foot1{padding-bottom:50px!important;text-align:left;}
.title1{font-size:40px;}
.rus1{width:70%;}
.allincl{border-bottom:5px solid #6dab7a;border-right:0px solid #6dab7a;width:100%;text-align:left; padding-bottom:30px;margin-bottom:20px;}
.icodef{width:100%;max-width:48%!important;}
#imgcat{top:100px;}
#imgcat2{left:20px;width:45%!important; top:13%;z-index:99;border:5px solid #fff;}
#bkg1{background-position:-370px -50px;}
#bkg2{background-position:right -100px top 80%;}
#bkg3{background-position:right -300px top 10%;}
}

@media screen and (max-width:600px)
{
.slidetxt{width:100%;max-width:450px;}
.testintover{width:25%;}
.testinttit{font-size:30px;top:46%;margin-left:-90px;}
.rszmin{width:100%;margin:0!important;}
.rszmin-no{width:100%!important;}
.menusub1{width:95%;}
.rus1{width:80%;}
.boximg1{width:95%;}
}

@media screen and (max-width:450px)
{
.menusubico{margin-right:0px!important;}
.titslid {font-size:38px!important;}
.icodef{width:100%;max-width:100%!important;}
.log2{font-size:18px!important;line-height:18px!important;}
#imgcat{border:3px solid #fff;}
#imgcat2{right:20px; bottom:-100px;z-index:99;}
.lhcustom{padding-right:25px;}
#bkg3{padding-top:0px;margin-top:-18px;}
.slideA{background-size:170%;}
.slideB{background-size:170%;}
.slideC{background-size:170%;}
.slideD{background-size:170%;}
.slide{width:100%;height:550px;}
#logo3{width:150px;margin-top:8px;}
.rus1{padding:15px;}
}




