/* Font family e colore di sfondo */

body {
 background-color: #fcfcfc;
 font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Classe per applicare un margine inferiore */

.margine-bottom {margin-bottom: 20px;}

/* Stili per sovrascrivere e modificare la Navbar di Bootstrap */
.navbar {
  border: none;
}

.navbar-nav {
  margin-top: 0;
}

.navbar-brand {
 display: inline-block;
 text-indent: -9999px;
 width: 190px;
 height: 50px;
 background: url(../img/logo.png) center center no-repeat;
}

.navbar-default {
 background-color: #ffffff;
}

.navbar-default .navbar-nav > li > a {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #333333;
  border-bottom: 1px solid #518d8a;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #518d8a;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #518d8a;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle {
 border: 1px solid #518d8a;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #518d8a;
}

.navbar-default .navbar-collapse {
  border-color: transparent;
}

.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
  border-top-color: #518d8a;
  border-bottom-color: #518d8a;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #518d8a;
}

.navbar-default .navbar-nav > .open > a .caret,
.navbar-default .navbar-nav > .open > a:hover .caret,
.navbar-default .navbar-nav > .open > a:focus .caret {
  border-top-color: #333;
  border-bottom-color: #333;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
  border-top-color: #333;
  border-bottom-color: #333;
}

@media screen and (min-width: 768px) {
 .navbar-default .navbar-nav > li > a {
  border-bottom: none;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  border-top: 2px solid #518d8a; /*#357ebd;*/
  padding-top: 13px;
}
}

/* Stili per sovrascrivere e modificare i menu dropdown di Bootstrap */

.dropdown-menu {
 padding: 0 0;
 border-radius: 0;
 -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.175);
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.175);
}
.dropdown-menu > li > a {
 padding: 7px 10px;
 border-bottom: 1px solid #ccc;
}


/* Testata */

.header-sezione {
  border-bottom: 2px solid #357ebd;
}
@media screen and (min-width: 768px) {
	.header-sezione {
		margin-left: 0;
		margin-right: 0; 
	}
}

/* header img */
#head-img {
	padding: 0;
	margin: 0;
}


/* box */
#ultime-news {
	padding: 10px 40px;
}


.box-articolo-evidenza {
	margin: 15px 10px;
}
.box-articolo-evidenza h3 { margin-top: 0 }
.box-articolo-evidenza p { font-size: 18px }
.box-articolo-evidenza p a { 
	font-size: 18px;
	color: #518d8a;
	text-decoration: none;
}
.box-articolo-evidenza p a:hover { 
	color: #9cc5c2;
}

.box-fb {
	margin: 15px 3px;
	background-color: #357ebd;
	color: #fff;
}
.box-fb h3 { padding: 10px; }

.box-video {
	margin: 15px 3px;
	background-color: #ccc;
	color: #fff;
}
.box-video h3 { padding: 10px; }

#postTit .box-ultimi-articoli {
	margin: 15px 3px;
	background-color: #e0e0e0;
	color: #232323;
	-moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
#postTit .box-ultimi-articoli h3 { 
	padding: 10px;
	border-bottom: 2px solid #fff;
	color: #518d8a;
}

#postTit .box-ultimi-articoli ul { 
	margin-bottom: 0;
	font-size: 1.2em;
}

#postTit .box-ultimi-articoli ul li { 
	list-style: none;
	padding: 0.9em 0 0.7em 0;
 	border-bottom: 1px solid #fff; 
}

#postTit .box-ultimi-articoli ul li:first-child { padding-top: 0; }
#postTit .box-ultimi-articoli ul li:last-child { border: 0; }

#postTit .box-ultimi-articoli ul li a { 
	text-decoration: none;
	color: #232323;
	padding: 0 0 0 30px;
}

#postTit .box-ultimi-articoli ul li a:hover { 
	text-decoration: none;
	color: #518d8a;
}


blockquote {
	border-left: 5px solid #518d8a; /*#357ebd;*/
	font-size: 16px;
}

.thumbnail,
.img-thumbnail {
	border-radius: 0;
	border: 1px solid #bbbbbb;
}



/* Gallery */

.product-background {
    margin-top: 80px;
    padding-bottom: 40px;
/*    background: #2d2d2d; /* browsers that don't support rgba */
/*    background: rgba(45,45,45,.7);*/
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    
    background: url(../img/pattern-2.png); /* browsers that don't support rgba */
   /* background: rgba(81,141,138,.8) url(../img/pattern-2.png);*/
}

.gallery_2 {
    margin-top: 40px;
}

.gallery_2 h3 {
    margin: 0 40px 30px 50px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
    font-size: 36px;
    font-weight: 400;
    color: #2d2d2d;
}

.gallery_2 h5 {
    margin-left: 50px;
    margin-right: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.gallery_2 p {
    margin-left: 50px;
    margin-right: 40px;
    margin-bottom: 20px;
    line-height: 30px;
}

.gallery_2 .gallery-images {
    margin: 15px 40px 25px 50px;
}

.gallery_2 .gallery-images .img-wrapper {
    position: relative;
    display: inline-block;
    margin: 13px 10px 0 0;
    cursor: pointer;
}

.gallery_2 .gallery-images .img-background {
    display: none;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100px;
    height: 100px;
    z-index: 100;
    background: #518d8a url(../img/pattern-2.png); /* browsers that don't support rgba */
    background: rgba(81,141,138,.8) url(../img/pattern-2.png);
    text-align: center;
}

.gallery_2 .gallery-images .img-background i {
    font-size: 40px;
    color: #fff;
    line-height: 100px;
    text-shadow: 1px 1px 1px rgba(0,0,0,.1);
}

.gallery_2 .gallery-images img {
    padding: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
}

/* page : articoli */

.header-box {
  border-bottom: 2px solid #518d8a; /*#357ebd;*/
}
@media screen and (min-width: 768px) {
	.header-box {
		margin-left: 0;
		margin-right: 0; 
	}
}

.header-box h2 a {
	text-decoration: none;
	color: #a4a4a4;
}
.header-box h2 a:hover {
	text-decoration: none;
	color: #467977;
}

.box-articolo-pubblicato {
	margin: 15px 10px;
	border-bottom: 1px solid #ccc;
	min-height: 200px;
}
.box-articolo-pubblicato h3 { margin-top: 0 }
.box-articolo-pubblicato p { font-size: 15px }
.box-articolo-pubblicato p a { 
	font-size: 14px;
	color: #518d8a;
	text-decoration: none;
}
.box-articolo-pubblicato p a:hover { 
	color: #9cc5c2;
}

#box-list {
	border-left: 5px solid #518d8a; /*#357ebd;*/
	font-size: 14px;
}

.lnk-art { 
	text-align: right;
	margin: 0;
	padding: 0;
}
.lnk-art a { 
	text-decoration: none;
	color: #467b79;
}

.lnk-art a:hover {
	color: #f78200 !important;
}


/* Footer */

footer {
	padding: 25px;
/*	background-color: #357ebd; */
	background: #2d2d2d;
    background: rgba(45,45,45,.7);
	color: #fff;
}
footer a, footer a:hover {color: #5cb85c;}
#footer-copy {
 padding: 10px 0 0 0;
 border-top: 1px solid #fff;
}










/* Stile per modificare e sovrascrivere l'aspetto degli input di Bootstrap */
/*
.form-control {
  height: 32px;
  padding: 6px 12px;
  color: #333333;
  border-radius: 0;
}
*/

/* Flexslider */
/*
.flexslider {
 margin: 0 0 30px; 
 background: #f8f8f8; 
 border: 0;
 border-top: 3px solid #357ebd; 
 position: relative; 
 -webkit-border-radius: 0; 
 -moz-border-radius: 0; 
 -o-border-radius: 0; 
 border-radius: 0; 
}
.flex-control-paging li a {
 width: 12px; 
 height: 12px;
 padding: 2px;
 background: #357ebd; 
 cursor: pointer; 
 text-indent: -9999px; 
 -webkit-border-radius: 20px; 
 -moz-border-radius: 20px; 
 -o-border-radius: 20px; 
 border-radius: 20px; 
 box-shadow: none;
}
.slides li {position: relative;}
.flex-caption {
 position: absolute;
 top: 35%;
 right: 8%;
}
.flex-caption-text span {
 display: inline-block;
 font-size: 34px;
 font-weight: bold;
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 margin: 2px 0;
 padding: 0 15px;
 background-color: rgba(53, 126, 189, 0.8);
}

@media screen and (max-width: 767px) {
 .flex-control-nav, .flex-control-pager, .flex-caption {display: none;}
}
*/

/* Sezione progetti in evidenza */
/*
.box-progetto {
 margin-bottom: 10px;
 padding: 15px;
 background-color: #86b6de;
 -webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
}
.box-progetto h3, .box-progetto h4 {margin-top: 0;}
*/





/* Stili per sovrascrivere e modificare i bottoni standard di Bootstrap */
/*
.btn {
  border: 0;
  border-radius: 0;
}
.btn:focus {
  outline: 0;
}
*/







/* Pannelli dell'accordion basati sui panel di Bootstrap */
/*
.panel-carousel {
  padding: 15px;
  margin-top: 15px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-carousel-heading {
  margin: -15px -15px 15px;
  padding: 10px 15px;
  font-size: 17.5px;
  font-weight: 500;
  background-color: #357ebd;
  color: #fff;
  border-bottom: 1px solid #dddddd;
}
.panel-carousel-footer {
  margin: 15px -15px -15px;
  padding: 10px 15px;
  background-color: #ecf7ff;
  border-top: 1px solid #dddddd;
}

.panel-carousel-control {
  font-size: 16px;
}
.panel-carousel-control:hover,
.panel-carousel-control:focus {
  text-decoration: none;
}
*/

/* Stili per modificare e sovrascrivere le nav-tab di Bootstrap */
/*
.nav-tabs {
  margin-top: 15px;
  border-bottom: 2px solid #357ebd;
}
.nav-tabs > li {
  float: left;
  margin-bottom: 0;
}
.nav-tabs > li > a {
  font-size: 14px;
  font-weight: bold;
  margin-right: 2px;
  line-height: 1.428571429;
  border: 0;
  border-radius: 0;
}
.nav-tabs > li > a:hover {
  border-color: none;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #fff;
  background-color: #357ebd;
  border: none;
  border-bottom-color: transparent;
  cursor: default;
}
.tab-content {padding: 15px 0;}
*/

/* Tabelle servizi */
/*
.servizi {
 margin-top: 15px;
 text-align: center;
}
.servizi-titolo {
 background-color: #5cb85c;
}
.servizi-prezzo {
 background-color: #5cb85c;
 color: #fff;
}
.servizi-opzione {
 background-color: #dff0d8;
}
.servizi-footer {
 background-color: #eeeeee;
}

.servizi-portfolio {
 margin-top: 15px;
 text-align: center;
}
.servizi-portfolio-titolo {
 background-color: #5bc0de;
}
.servizi-portfolio-prezzo {
 background-color: #5bc0de;
 color: #fff;
}
.servizi-portfolio-opzione {
 background-color: #a4eaff;
}
.servizi-portfolio-footer {
 background-color: #eeeeee;
}
*/

/* Pulsanti acquisto servizi */
/*
.btn-round-bottom {
 border-bottom-right-radius: 4px;
 border-bottom-left-radius: 4px;
}
*/




/* Testata portfolio */
/*
.header-portfolio {
 background-color: #5cb85c;
 padding: 10px 15px;
 border-bottom: 2px solid #357ebd;
}

.header-portfolio > h2 {
 margin-bottom: 0;
 margin-top: 0;
 color: #fff;
}
*/

/* Stile per modificare e sovrascrivere l'aspetto il componente Breadcrumb di Bootstrap */
/*
.breadcrumb {
  margin: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: 16px;
}

.breadcrumb > li + li:before {
  color: #fff;
}

.breadcrumb > .active {
  color: #fff;
}
*/


/* Modifica del componente thumbnails per il portfolio */
/*
.portfolio-filtro {margin-top: 15px;}

.portfolio-thumbnail {
  display: inline-block;
  display: block;
  height: auto;
  max-width: 100%;
  margin: 15px 0;
  padding: 4px;
  line-height: 1.428571429;
  background-color: #eeeeee;
  border: 1px solid #5cb85c;
  border-radius: 0;
  -webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
  -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}
.thumbnail {
  display: inline-block;
  display: block;
  height: auto;
  max-width: 100%;
  padding: 4px;
  line-height: 1.428571429;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

.portfolio-thumbnail > img,
.portfolio-thumbnail > a > img,
.portfolio-img-thumbnail {
  display: inline-block;
  height: auto;
  max-width: 100%;
}

.portfolio-thumbnail:hover,
.portfolio-thumbnail:focus {
  border-color: #357ebd;
}

.portfolio-thumbnail > img {
  margin-right: auto;
  margin-left: auto;
}

.portfolio-thumbnail .caption {
  padding: 9px;
  color: #333333;
}
*/

/* Stili per sovrascrivere e modificare il componente Pagination di Bootstrap */
/*
.pagination > li > a {
  background-color: #5cb85c;
}


.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
  color: #999999;
  background-color: #eeeeee;
  border-color: #dddddd;
}
*/

/* Titoli pagina contatti */
/*
.contatti-titoli {
 margin-bottom: 15px;
 border-bottom: 2px solid #357ebd;
 padding-bottom: 10px;
}
*/

/* Stili per sovrascrivere e modificare il componente Accordion/collapse di Bootstrap */
/*
.panel {
  border: 1px solid #dddddd;
  border-radius: 0;
}

.panel-heading {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.panel-title > a {
  color: #fff;
  text-decoration: none;
}

.panel-group .panel {
  border-radius: 0;
}

.panel-group .panel + .panel {
  margin-top: 0;
}

.panel-default > .panel-heading {
  background-color: #5cb85c;
  border-color: #dddddd;
}

.panel-default > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #dddddd;
}

.panel-default > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #dddddd;
}
*/

/***** Media Queries *****/

@media (min-width: 980px) and (max-width: 1200px) {
	
	.box-articolo-evidenza p { font-size: 15px }

    .gallery_2 .gallery-images .img-background { width: 90px; height: 90px; }

    .gallery_2 .gallery-images .img-background i { font-size: 38px; line-height: 90px; }

    .gallery_2 .gallery-images img { width: 90px; }

}

@media (min-width: 768px) and (max-width: 979px) {
	
	.box-articolo-evidenza p { font-size: 15px }

    .gallery_2 .gallery-images .img-background { width: 90px; height: 90px; }

    .gallery_2 .gallery-images .img-background i { font-size: 38px; line-height: 90px; }

    .gallery_2 .gallery-images img { width: 90px; }

}

@media (max-width: 767px) {

    .gallery_2 .gallery-images { margin-right: 50px; }

    .gallery_2 .gallery-images .img-background { width: 90px; height: 90px; }

    .gallery_2 .gallery-images .img-background i { font-size: 38px; line-height: 90px; }

    .gallery_2 .gallery-images img { width: 90px; }
	
	.gallery_2 {
		display: none;    	
	}

}

@media (max-width: 514px) {

    .gallery_2 {
		display: none;    	
	}

}

@media (max-width: 480px) {
	
	.gallery_2 {
		display: none;    	
	}
}