/*   
Template Name: Metronic - Responsive Website Template build with Twitter Bootstrap 3.1.1
*/

/* General body settings */
body { 
	color: black; 
	direction: ltr;
	font-family: 'Raleway', sans-serif;
	background: white;
}



/***
General typography 
***/
h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	margin: 0 0 0px;
}
h1 {
	margin-bottom: 15px;
}
.main h1 {
	margin-top: -6px;
}

.link_doc {
	color: black;
	text-decoration: none;	
	font-size:14px;
}
.link_doc:hover {
	color: #B90833;	
}





/***
Pre-Header and pre-header elements
***/
.pre-header {
	color:white;
	border-bottom: 1px solid #eee;
	padding-top: 10px;
	line-height: 1.2;
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	background: #B90833;
}
.pre-header a {
	color: white;
	text-decoration: none;	
	font-size:11px;
}
.pre-header a:hover {
	color: white;	
}
.pre-header a:focus {
	text-decoration: none;
}
.pre-header li {
	padding-left: 4px;
	padding-right: 1px;
	font-size:11px;
		
}
.pre-header li:last-child {
	border: none;
}








/***
Header and header elements
***/
.header {
	box-shadow: 0 1px 3px #ddd;		
	background: #fff;	
	z-index: 999;
	position: relative;
}

/* FIX styles BEGIN */
.page-header-fixed .header {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
}
body.page-header-fixed {
	padding-top: 88px !important; /* height of the header */
}
/* FIX styles END */



.header .container {
  position: relative;
}
.ie8 .header {
	border-bottom: 1px solid #eee;
}

.site-logo {
  float: left;
  font-size: 23px;
  font-weight: 400;
  
  padding-top: 22px;
  padding-bottom: 15px;
}

.header .mobi-toggler {   
  width: 36px;
  height: 36px;
  display: none;
  margin: 10px 0 0 0px;
  position: relative;
  float: right;
  color: white;
  border: 6px solid white;
  border-radius: 10% !important;
  background: grey url(../img/toggler.png) no-repeat 9px 10px;
}
.header .mobi-toggler i {
  display: none;
}
.header .mobi-toggler:hover {
  background: #B90833 url(../img/toggler.png) no-repeat 9px -26px;
  border: 6px solid white;
  border-radius: 10% !important;
  color: white;
}




/* Navigation */
.header-navigation {
	font-family: 'Raleway', sans-serif;
	margin: 0 10px 0 0;
	padding: 0;
	float: right;
	text-transform: uppercase;
}
.header-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.header-navigation > ul > li {
	float: left;
}
/* testo titoli menu */
.header-navigation > ul > li > a {
	color: black;
	display: block;	
	padding: 39px 11px 20px;
	font-size:12px;
}
.header-navigation ul > li.active > a,
.header-navigation ul > li > a:hover,
.header-navigation ul > li > a:focus,
.header-navigation ul > li.open > a,
.header-navigation ul > li.open > a:hover,
.header-navigation ul > li.open > a:focus {
	color: #B90833;
	background: white;
	text-decoration: none;
}
.header-navigation ul > li.active > a {
	border-bottom: 2px solid #e64f00;
}




/* dropdown menu */
@media (min-width: 1025px) {
	.header-navigation > ul > li:hover > .dropdown-menu {
	  display: block;
	}
}

.header-navigation,
.header-navigation .dropdown {
  position: static;
}

.header-navigation .dropdown-fix-left,
.header-navigation .dropdown-fix-right {
	position: relative;
}

.header-navigation .dropdown-menu {
  left: auto;
  top: 100%;  
  padding: 5px;
  background: white;
  position: absolute;
  border: none;
  border-bottom: 7px solid #B90833;
  box-shadow: 5px 5px rgba(91, 91, 91, 0.2);
  text-transform: none;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0;
  border-radius: 0;
  z-index: 9999;
}

.header-navigation .dropdown-menu:before,
.header-navigation .dropdown-menu:after {
	display: none !important; 
}

.dropdown-fix-left .dropdown-menu {
	left: 0;
	width: 700px;
}

.dropdown-fix-right .dropdown-menu {
	right: 0;
	width: 700px;
}

.header-navigation > ul > li > .dropdown-menu {
	margin-top: -20px;
	border-top: solid 3px transparent;
	z-index: 1001;
}
.header-navigation .dropdown100 > .dropdown-menu {
  left: 15px;
  right: 15px;
}
.header-navigation > ul > li.dropdown:hover > a:after { 
  bottom: 0;
  width: 0; 
  height: 0;
  z-index: 1002; 
  content: " "; 
  display: block !important; 
  position: absolute;
  
}
.ie8 .header-navigation > ul > li.dropdown:hover > a:after {
	display: none !important;
}
.header-navigation li.dropdown100 > .dropdown-menu:after {
	display: none !important;
}

.header-navigation .dropdown-menu li {
  padding: 0;
  margin: 0;
  border-bottom: solid 1px #efefef;
  position: relative;
  float: none;
}
.header-navigation .dropdown-menu li:last-child {
  border: none;
}
.header-navigation .dropdown-menu li > a {
  padding-left: 0px;
  padding-top: 2px;
  font-weight: 400;
  color: #767f88;
}


.dropdown-submenu > a:after {
  display: none;
}


.header-navigation .dropdown-menu > li > a:hover,
.header-navigation .dropdown-menu > li.active > a,
.header-navigation .header-navigation-content .header-navigation-col li > a:hover,
.header-navigation .header-navigation-content .header-navigation-col li.active > a {
  background: white;
  color: #B90833;
}


/* navigation content */
.header-navigation-content {
  padding: 20px 30px;
  min-width: 600px;
}
.header-navigation-content .header-navigation-col {
	padding: 0;
}
.header-navigation-content h4,
.header-navigation-content h4 {
  font-family: 'Raleway', sans-serif;
  margin: 0 0 6px;
  padding: 10px 0px 3px;
  border-bottom: solid 1px #B90833;
}
.header-navigation-content ul {
  padding: 0;
  margin: 0 0 10px;
  list-style: none;
}
.header-navigation-content li {
  padding: 0;
  border: none !important;
}
.header-navigation-content li > a {
  display: block;
}


/* header navigation description */
.header-navigation-content-ext {
  padding: 20px 30px 2px;
  background: #fff;
}
.header-navigation-description {
  background: #fcfafb; 
  margin: -20px 0 -2px -30px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(91, 91, 91, 0.2) inset;
}
.header-navigation-content-ext h4,
.ecommerce .header-navigation-content-ext h4 {
  border: none;
  padding: 10px 0 0;
}
.header-navigation .dropdown-menu .header-navigation-content-ext li {
  border: none;
}
.header-navigation .dropdown-menu .header-navigation-content-ext li > a {
  padding: 0 0 10px;
  color: #767f88;
  display: inline-block;
}
.header-navigation .dropdown-menu .header-navigation-content-ext li > a:hover,
.header-navigation .dropdown-menu .header-navigation-content-ext li.active > a {
  background: white;
  color: #B90833;
}

/* n-level submenu */
.header-navigation .dropdown-menu .dropdown-menu {
  left: 100%;
  right: auto;
  top: 6px;
}
.header-navigation .dropdown-menu a {
  position: relative;
}
.header-navigation .dropdown-menu .fa {
  position: absolute;
  top: 13px;
  right: 15px;
}





@media (min-width: 1025px) {
	.reduce-header .header-navigation > ul > li > a {
		padding: 16px 12px 17px;
	}
	
	.reduce-header .header-navigation li {
		top: 14px;
	}

}

.reduce-header .mobi-toggler {
	margin-top: 12px;
}
.page-header-fixed .header .mobi-toggler {
 	transition: margin 0.3s ease;
	-o-transition: margin 0.3s ease;
	-ms-transition: margin 0.3s ease;
	-moz-transition: margin 0.3s ease;
	-webkit-transition: margin 0.3s ease;
}








/*////////////////////////////////////////////////////////////////////////
//  immagine grande fissa
///////////////////////////////////////////////////////////////////////*/


.bg {
  text-align:center;
  position: fixed;
  width: 100%;
  height: 550px; /*same height as jumbotron */
  top:0;
  left:0;
  z-index: -1;
}

.jumbotron {
  height: 550px;
  text-align:center;
  color: white;
  text-shadow: #444 0 1px 1px;
  background:transparent;
}




.slogan{
  font-size: 3em;
  margin-top: 120px;
  line-height: 1em;
  color: white;
  font-weight: bold;
  text-shadow:0px 2px 3px #111;
}

.secondary-slogan{
  font-size: 2.6em;
  color: white;
  line-height: 1em;
  text-shadow:0px 2px 3px #111;
}









/*////////////////////////////////////////////////////////////////////////
//  MENU SETTORI
///////////////////////////////////////////////////////////////////////*/


.recent-work {
    width: 98%;
    padding-bottom: 36%;
    display: table;
    text-align: center;
    vertical-align: middle;	
    padding-top: 36%;
    background-size: 129%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
	text-decoration:none;
}

.recent-work span{
  opacity: 1;
  position: relative;
  z-index: 1;
  font-size:38px;
  color:white;
  text-shadow:3px 3px 3px #111;
  text-decoration:none;
  line-height:35px;
}

.recent-work:before {
    background: rgba(0, 0,0, 0.8);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    opacity: 0.6;
    -o-transition: all .92s;
  -ms-transition: all .92s;
  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work:hover {
    background-size: 150%;
    background-position: center;
	 -o-transition: all .92s;
  -ms-transition: all .92s;
   -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;

}

.recent-work:hover:before, .recent-work:hover span {
    opacity: 1;
	 -o-transition: all .92s;
	-ms-transition: all .92s;
	  -moz-transition: all .92s;
	-webkit-transition: all .92s;
	transition: all .92s;
	 text-decoration:none;
}



.recent-work2 {
    width: 100%;
    padding-bottom: 3%;
    background:#17659D;
    display: table;
    text-align: center;
    vertical-align: middle;
    padding-top: 3%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    
}

.recent-work2 span{
  opacity: 1;
  position: relative;
  z-index: 1;
  font-size:26px;
  color:white;
  text-shadow:3px 3px 3px #111;
  line-height:20px;
}

.recent-work2:before {
    background: rgba(0, 0,0, 0.8);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    opacity: 0.4;
    -o-transition: all .92s;
  -ms-transition: all .92s;
  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work2:hover {
    background-size: 110%;
    background-position: center;
	 -o-transition: all .92s;
  -ms-transition: all .92s;
   -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work2:hover:before, .recent-work2:hover span {
    opacity: 0.6;
	 -o-transition: all .92s;
	-ms-transition: all .92s;
	  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
  
}


.recent-work3 {
    width: 100%;
    padding-bottom: 36%;
    background:#17659D;
    display: table;
    text-align: center;
    vertical-align: middle;
    padding-top: 34%;	
    background-size: 123%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;   
}

.recent-work3 span{
  opacity: 1;
  position: relative;
  z-index: 1;
  font-size:26px;
  color:white;
  text-shadow:3px 3px 3px #111;
  line-height:20px;
}

.recent-work3:before {
    background: rgba(0,0,0, 0.8);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    opacity: 0.6;
    -o-transition: all .92s;
  -ms-transition: all .92s;
  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work3:hover {
    background-size: 140%;
    background-position: center;
	 -o-transition: all .92s;
  -ms-transition: all .92s;
   -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work3:hover:before, .recent-work2:hover span {
    opacity: 0.7;
	 -o-transition: all .92s;
	-ms-transition: all .92s;
	  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
  
}


.recent-work4 {
    width: 99.85%;
    padding-bottom: 0%;
    background:#17659D;
    display: table;
    text-align: center;
    vertical-align: middle;
    padding-top: 0%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
   
}

.recent-work4 span{
  opacity: 1;
  position: relative;
  z-index: 1;
  font-size:26px;
  color:white;
  text-shadow:3px 3px 3px #111;
  line-height:20px;
}

.recent-work4:before {
    background: rgba(0, 0,0, 0.8);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    opacity: 0.6;
    -o-transition: all .92s;
  -ms-transition: all .92s;
  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work4:hover {
    background-size: 110%;
    background-position: center;
	 -o-transition: all .92s;
  -ms-transition: all .92s;
   -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
}

.recent-work4:hover:before, .recent-work2:hover span {
    opacity: 9;
	 -o-transition: all .92s;
	-ms-transition: all .92s;
	  -moz-transition: all .92s;
  -webkit-transition: all .92s;
  transition: all .92s;
 
}




/***
Pre-Footer and pre-footer elements
***/
.pre-footer {
	background:#B90833;
	color: #D8D8D8;
}
.pre-footer .container {
	padding-top: 45px;
}
.pre-footer a {
	font-size:12px;
	text-decoration: none;
	color: white;
}
.pre-footer a:hover {
	text-decoration: none;
	color:#D8D8D8;
}
.pre-footer h2 {
	font-size: 16px;
	color: white;
}
.pre-footer p {
	margin-bottom: 20px;
}
.pre-footer li {
	margin-bottom: 5px;
}






.breve a{
	color:#808080;
	text-decoration: none;
}
.breve a:hover {
	text-decoration: none;
	color:#B90833;
}


.link_button a{
	background: red;
	text-decoration: none;
	padding:10px;
	text-decoration:none;
	color:black;
}
.link_button a:hover {
	background: #B90833;
	color:#B90833;
}



/* email */	
.mail { 
	outline:none;
	border:none;
	line-height:34px;
	text-decoration:none;	
	color:black;
	font-size:14px;
	font-weight:normal;	
	margin-left:0px;
	margin-top:10px;
}

.mail:hover { 
	outline:none;
	border:none;
	line-height:34px;
	text-decoration:none;	
	color:#B90833;
	font-size:14px;
	font-weight:normal;	
	margin-left:0px;
	margin-top:10px;
}



#cookie-law { 
    width:100%;
    background:black;
	opacity:.8;
	filter:alpha(opacity=80);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    margin:0px; 
	position:fixed;
	bottom:0px;
	z-index:999;
	
}
 
#cookie-law p { 
    padding:20px; 
    font-size:0.9em; 
    text-align:center; 
    color:white; 
    margin:0;
}