/*
|--------------------------------------------------------------------------
| Font
|--------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');


/*
|--------------------------------------------------------------------------
| Commons
|--------------------------------------------------------------------------
*/

body {
	background: #FFF;
	font-family: 'Open Sans', sans-serif;
	color: #003F23;
	font-size: 16px;
	line-height: 26px;
	-webkit-font-smoothing: antialiased;
}
.container {
	margin: 0 auto;
	max-width: 1100px;
	padding: 0px;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}
.center {
	text-align: center;
}
h1 {
	margin-top: 10px;
	font-size: 34px;
	line-height: 44px;
	font-weight: 600;
	color: #003F23;
	text-transform: uppercase;
}
h2 {
	margin-top: 10px;
	font-size: 28px;
	line-height: 38px;
	font-weight: 600;
	color: #003F23;
	text-transform: uppercase;
}
h3 {
	font-size: 22px;
	line-height: 32px;
	font-weight: 600;
	color: #003F23;
	text-transform: uppercase;
}
h4 {
	color: #003F23;
	text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

header {
	width: 100%;
}
.navbar {
	background: #FFF;
	margin: 0px;
	padding: 0px;
	border: none;
}
.logo {
	float: left;
	margin: 15px 0px;
}
.logo img {
	height: 80px;
}
header nav {
	float: right;
	margin-top: 44px;
	font-size: 16px;
	text-transform: uppercase;
}
header nav ul {
	padding: 0px;
}
header nav ul li {
	display: block;
	float: left;
	margin-left: 0px;
}
.navbar-toggle {
	margin-top: 25px;
	margin-right: 5px;
	padding: 5px;
	border-radius: 0px;
	border: none;
}
.navbar-default .navbar-toggle {
	background: none;
}
.navbar-default .navbar-toggle:hover {
	background: none;
}
.icon-bar {
	background: #003F23!important;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.flexslider, .flex-viewport {
	background: #EEE;
	width: 100%;
	height: 500px;
}
.flexslider .slides li {
	background-position: center center;
	width: 100%;
	height: 100%!important;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	-o-background-size: cover!important;
	background-size: cover!important;
}
.flex-caption {
	display: table;
	width: 100%;
}
.flex-text {
	display: table-cell;
	vertical-align: middle;
	height: 500px;
	font-size: 33px;
	line-height: 43px;
	font-weight: 600;
	color: #fff;
}
.flex-text h1, .flex-text h3 {
	color: #FFF;
	text-transform: none;
}
.flex-text-green h1, .flex-text-green h3 {
	color: #003F23;
}
.flex-text h3, .flex-text-green h3 {
	font-weight: 400;
}
.flex-divider {
	background: #FFF;
	width: 70px;
	height: 2px;
}
.flex-text-green .flex-divider {
	background: #003F23;
}
.flex-control-nav {
	bottom: 20px!important;
	z-index: 100!important;
}
.flex-control-paging li a, .flex-control-paging li a:hover {
	background-color: rgba(101,179,46,0.5)!important;
}
.flex-control-paging li a.flex-active {
	background-color: rgba(101,179,46,1)!important;
}

@media (min-width: 768px) and (max-width: 991px) {

	.flexslider, .flex-viewport {
		height: 350px;
	}
	.flex-text {
		height: 350px;
	}

}
@media (max-width: 767px) {

	.flexslider, .flex-viewport {
		height: 300px;
	}
	.flex-text {
		height: 300px;
		font-size: 23px;
		line-height: 33px;
	}
	.flex-logo img {
		height: 80px!important;
	}

}


/*
|--------------------------------------------------------------------------
| Pages
|--------------------------------------------------------------------------
*/

section {
	width: 100%;
	padding: 35px 0px 50px 0px;
}
section img {
	max-width: 100%;
}
section p {
	padding: 25px 0px;
}
.privacy-policy section p {
	padding: 0px;
}
section ul li {
	padding-top: 5px;
	padding-bottom: 5px;
}
.preheader-section {
	padding: 30px 0px;
}
.white-section h1, .white-section h2, .preheader-section h1, .contacts-footer h1, .contacts-footer h2 {
	display: inline-block;
	color: #65B32E;
}
.white-section h1:after, .white-section h2:after, .preheader-section h1:after, .contacts-footer h1:after, .contacts-footer h2:after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 40%;
	padding-top: 10px;
	border-bottom: 2px solid #65B32E;
}
.preheader-section h1:after, .contacts-footer h1:after, .contacts-footer h2:after {
	margin: 0;
}
.light-green-section h1, .light-green-section h2, .light-green-section h3, .green-section h1, .green-section h2, .green-section h3, .light-blue-section h1, .light-blue-section h2, .light-blue-section h3, .blue-section h1, .blue-section h2, .blue-section h3 {
	display: inline-block;
	color: #FFF;
}
.light-green-section h1:after, .light-green-section h2:after, .light-green-section h3:after, .green-section h1:after, .green-section h2:after, .green-section h3:after, .light-blue-section h1:after, .light-blue-section h2:after, .light-blue-section h3:after, .blue-section h1:after, .blue-section h2:after, .blue-section h3:after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 40%;
	padding-top: 10px;
	border-bottom: 2px solid #FFF;
}
.light-green-section {
	background: #65B32E;
	color: #FFF;
}
.green-section {
	background: #003F23;
	color: #FFF;
}
.light-blue-section {
	background: #00A3E2;
	color: #FFF;
}
.blue-section {
	background: #003A5D;
	color: #FFF;
}
.grey-section {
	background: #EEE;
}
.light-green-section .btn-default, .green-section .btn-default {
	border: 1px solid #FFF;
}
.home-quote-section {
	padding: 60px 0px;
}
.home-team-section {
	background: url('../images/home-team.jpg') top center no-repeat;
	background-size: cover;
	height: 650px;
}
.hero-section-light-green {
	background: #65B32E;
	padding: 0px;
}
.hero-section-light-blue {
	background: #00A3E2;
	padding: 0px;
}
.hero-section-content {
	padding: 30px 40px 30px 15px;
	height: 470px;
	font-size: 15px;
	line-height: 23px;
	color: #FFF;
	text-align: justify;
}
.hero-section-content h2 {
	margin-top: 0px;
	font-size: 34px;
	line-height: 44px;
	color: #FFF;
}
.hero-section-divider {
	background: #FFF;
	width: 100%;
	margin: 20px 0px;
	height: 2px;
}
.hero-section-img-chi-siamo {
	position: absolute;
	background: url('../images/hero-chi-siamo.jpg') center center no-repeat;
	background-size: cover;
	height: 470px;
}
.hero-section-img-servizi {
	position: absolute;
	background: url('../images/hero-servizi.jpg') center center no-repeat;
	background-size: cover;
	height: 470px;
}
.hero-section-img-confezionamento {
	position: absolute;
	background: url('../images/hero-confezionamento.jpg') center center no-repeat;
	background-size: cover;
	height: 470px;
}
.hero-section-img-attrezzature {
	position: absolute;
	background: url('../images/hero-attrezzature.jpg') center center no-repeat;
	background-size: cover;
	height: 470px;
}
.hero-section-img-prodotti-tfs {
	position: absolute;
	background: url('../images/hero-prodotti-tfs.jpg') center center no-repeat;
	background-size: cover;
	height: 470px;
}
.hero-section-img-news {
	position: absolute;
	background: url('../images/hero-news.jpg') center center no-repeat;
	background-size: cover;
	height: 470px;
}
#map-canvas {
	width: 100%;
	height: 470px;
}
.product-icon {
	margin-top: 40px;
	margin-bottom: 10px;
	max-width: 100%;
}
.service-icon {
	margin-top: 40px;
	margin-bottom: 10px;
	max-width: 100%;
}
.services-divider {
	position: absolute;
	margin-top: -165px;
	right: -5px;
}
.team-icon {
	margin-top: 30px;
	margin-bottom: 20px;
	max-width: 100%;
}
.team-role {
	margin-top: 5px;
	color: #003F23;
	font-style: italic;
}
.leaf-icon {
	margin-top: 30px;
	margin-bottom: 10px;
	height: 70px;
}
.tps-logo {
	margin-top: 130px;
}
.products-sidebar {
	min-height: 250px;
	padding-left: 20px;
}
.products-sidebar a {
	color: #003F23!important;
}
.product {
	background: #65B32E;
	margin-bottom: 15px;
	color: #FFF;
}
.product-image {
	padding: 30px;
	background: #FFF;
	text-align: center;
}
.product-image img {
	max-width: 80%;
	max-height: 240px;
}
.product p {
	margin-top: 20px;
}
.blog-article {
	padding-bottom: 50px;
	margin-bottom: 40px;
	border-bottom: 1px solid #EEE;
	text-align: center;
}
.blog-article:last-of-type {
	border-bottom: none;
}
.single-article {
	text-align: justify;
}
.single-article img {
	max-width: 100%;
}
.social-icon {
	margin-top: 15px;
	margin-bottom: 15px;
	height: 70px;
}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

footer {
	width: 100%;
	font-size: 14px;
}
.main-footer {
	background: #003F23;
	padding: 40px 0px;
	color: #65B32E;
}
.main-footer a {
	color: #FFF!important;
}
.contacts-footer {
	font-size: 18px;
	line-height: 30px;
}
.footer-logo {
	height: 120px;
	margin-top: 80px;
}
.contacts-footer h2 {
	margin-top: 0px;
	font-size: 34px;
	line-height: 44px;
	color: #65B32E;
}
.copy-footer {
	background: #65B32E;
	padding: 30px 0px;
	color: #003F23;
}


/*
|--------------------------------------------------------------------------
| Forms
|--------------------------------------------------------------------------
*/

label {
	font-weight: 400;
}
input[type="text"], input[type="email"] {
	height: auto!important;
	padding: 12px 16px!important;
	border: 1px solid #003F23!important;
	border-radius: 0px!important;
}
textarea {
	padding: 16px!important;
	border: 1px solid #003F23!important;
	border-radius: 0px!important;
	resize: vertical;
}
input:focus, textarea:focus {
    outline: none!important;
    border: 1px solid #003F23!important;
    box-shadow: 0 0 4px #BBB!important;
}
.btn-default, .btn-default:disabled {
	background: #003F23;
	padding: 10px 18px;
	height: auto!important;
	font-size: 18px;
	font-weight: 600;
	color: #FFF!important;
	text-transform: uppercase;
	border: 1px solid #003F23;
	border-radius: 0px;
	transition: color 0.3s linear, background 0.3s linear;
    -moz-transition: color 0.3s linear, background 0.3s linear;
    -webkit-transition: color 0.3s linear, background 0.3s linear;
}
.btn-default:hover, .btn-default:focus {
	background: #FFF;
	color: #003F23!important;
	border: 1px solid #003F23;
	outline: 0!important;
}
.btn-default.btn-lg, .btn-default.btn-lg:disabled {
	background: #003F23;
	padding: 12px 18px;
	font-size: 18px;
	font-weight: 700;
	color: #FFF!important;
	border: 1px solid #003F23;
	border-radius: 50px;
	transition: color 0.3s linear, background 0.3s linear;
    -moz-transition: color 0.3s linear, background 0.3s linear;
    -webkit-transition: color 0.3s linear, background 0.3s linear;
}
.btn-default.btn-lg:hover, .btn-default.btn-lg:focus {
	background: #FFF;
	color: #FFF!important;
	border: 1px solid #003F23;
	outline: 0!important;
}
.btn-light-green {
	background: #65B32E;
	border: 1px solid #65B32E;
}
.btn-light-green:hover {
	color: #65B32E!important;
	border: 1px solid #65B32E;
}
.form-control::-webkit-input-placeholder {
	color: #b1b1b1;
}
.form-control:-moz-placeholder {
	color: #b1b1b1;
}
.form-control::-moz-placeholder {
	color: #b1b1b1;
}
.form-control:-ms-input-placeholder {
	color: #b1b1b1;
}


/*
|--------------------------------------------------------------------------
| Links
|--------------------------------------------------------------------------
*/

a:link, a:visited, a:active {
	text-decoration: none;
	color: #65B32E;
	transition: color 0.3s linear, background 0.3s linear;
    -moz-transition: color 0.3s linear, background 0.3s linear;
    -webkit-transition: color 0.3s linear, background 0.3s linear;
}
a:hover {
	text-decoration: none;
	color: #8AB21C;
}
a.nav-link:link, a.nav-link:visited, a.nav-link:active {
	background: #FFF;
	padding: 42px 12px;
	text-decoration: none;
	color: #003F23;
}
a.nav-link:hover {
	background: #FFF;
	text-decoration: none;
	color: #65B32E;
}
a.nav-link-attivo:link, a.nav-link-attivo:visited, a.nav-link-attivo:active {
	background: #FFF;
	padding: 42px 12px;
	text-decoration: none;
	color: #65B32E;
}
a.nav-link-attivo:hover {
	background: #FFF;
	text-decoration: none;
	color: #003F23;
}
a.footer-link:link, a.footer-link:visited, a.footer-link:active {
	text-decoration: none;
	color: #003F23;
	border-bottom: none;
}
a.footer-link:hover {
	text-decoration: none;
	color: #0B5707;
}
a.light-green-section-link:link, a.light-green-section-link:visited, a.light-green-section-link:active {
	text-decoration: none;
	color: #FFF;
	border-bottom: none;
}
a.light-green-section-link:hover {
	text-decoration: none;
	color: #EFFFBC;
}


/*
|--------------------------------------------------------------------------
| Responsive: large desktop
|--------------------------------------------------------------------------
*/

@media (min-width: 1200px) {

}


/*
|--------------------------------------------------------------------------
| Responsive: desktop and tablet
|--------------------------------------------------------------------------
*/

@media (min-width: 992px) and (max-width: 1199px) {
	
	.logo img {
		height: 60px;
	}
	header nav {
		margin-top: 30px;
		font-size: 15px;
	}
	a.nav-link:link, a.nav-link:visited, a.nav-link:active {
		padding: 42px 10px;
	}
	a.nav-link-attivo:link, a.nav-link-attivo:visited, a.nav-link-attivo:active {
		padding: 42px 10px;
	}

}


/*
|--------------------------------------------------------------------------
| Responsive: tablet portrait
|--------------------------------------------------------------------------
*/

@media (min-width: 768px) and (max-width: 991px) {

	.container {
		padding: 0px 2%;	
	}
	header nav {
		margin-top: 20px;
		margin-bottom: 20px;
		font-size: 14px;
	}
	.navbar-toggle {
		margin-top: 40px;
	}
	a.nav-link:link, a.nav-link:visited, a.nav-link:active {
		background: none;
		padding: 0px 5px;
	}
	a.nav-link-attivo:link, a.nav-link-attivo:visited, a.nav-link-attivo:active {
		background: none;
		padding: 0px 5px;
	}

}


/*
|--------------------------------------------------------------------------
| Responsive: phone
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {
	
	.container {
		padding: 0px 5%;	
	}
	h1 {
		font-size: 28px;
		line-height: 38px;
	}
	h2 {
		font-size: 24px;
		line-height: 34px;
	}
	.navbar-header {
		width: 100%;
		margin: 0px!important;
	}
	.logo {
		width: 80%;
		margin: 10px 0px;
	}
	.logo img {
		height: 60px;
	}
	header nav {
		float: none;
		margin-top: 10px;
	}
	header nav ul li {
		display: block;
		float: none;
		padding: 5px 0px;
		margin: 0px;
		text-align: center;
	}
	.team-section {
		height: 300px;
	}
	.hero-section-content {
		padding: 25px 15px;
		height: auto;
	}
	.hero-section-content h2 {
		font-size: 28px;
		line-height: 38px;
	}
	.hero-section-divider {
		margin: 15px 0px;
	}
	.hero-section-img-chi-siamo, .hero-section-img-servizi, .hero-section-img-confezionamento, .hero-section-img-attrezzature, .hero-section-img-prodotti-tfs, .hero-section-img-news {
		position: relative;
		height: 250px;
	}
	#map-canvas {
		position: relative;
		height: 250px;
	}
	.product-icon {
		margin-top: 30px;
		margin-bottom: 10px;
		height: 120px;
	}
	.service-icon {
		margin-top: 30px;
		height: 70px;
	}
	.services-divider {
		position: absolute;
		margin-top: -125px;
		right: -5px;
	}
	.leaf-icon {
		margin-top: 10px;
		margin-bottom: 5px;
	}
	.tps-logo {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	.products-sidebar {
		min-height: auto;
		padding-left: 0px;
		padding-bottom: 20px;
		list-style: none;
		text-align: center;
	}
	.product {
		background: #65B32E;
		margin-bottom: 15px;
		color: #FFF;
	}
	.product-image {
		padding: 15px;
		margin: 0px 15px;
		background: #FFF;
		text-align: center;
	}
	.product p {
		padding: 0px 15px 20px 15px;
	}
	.social-icon {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.footer-logo {
		height: 90px;
		margin-top: 10px;
		margin-bottom: 30px;
	}
	.copy-footer {
		text-align: center;
	}
	a.nav-link:link, a.nav-link:visited, a.nav-link:active {
		background: none;
		padding: 0px;
	}
	a.nav-link-attivo:link, a.nav-link-attivo:visited, a.nav-link-attivo:active {
		background: none;
		padding: 0px;
	}
	
}


/*
|--------------------------------------------------------------------------
| Responsive: collapse sidebar on tablet portait
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {
    
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }

}