/*!
 * Start Bootstrap - Agency v5.2.2 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */
body {
	overflow-x: hidden;
	font-family: 'Roboto Slab', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
}

p {
	line-height: 1.75;
}

a {
	color: rgba(4, 154, 58, 0.85); /* verde */
}

a:hover {
	color: rgba(77, 38, 23, 0.85); /* marrone */
}

.fa-file-pdf:hover {
	color: rgba(77, 38, 23, 0.85);
}

.text-primary {
	color: #fed136 !important;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.page-section {
	padding: 100px 0;
}

.page-section h2.section-heading {
	margin-top: 0;
	margin-bottom: 15px;
}

.page-section h3.section-subheading {
	font-weight: 400;
	font-style: italic;
	margin-bottom: 75px;
	text-transform: none;
	font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
}

@media ( min-width : 768px) {
	section {
		padding: 150px 0;
	}
}

::-moz-selection {
	background: #fed136;
	text-shadow: none;
}

::selection {
	background: #fed136;
	text-shadow: none;
}

img::-moz-selection {
	background: transparent;
}

img::selection {
	background: transparent;
}

img::-moz-selection {
	background: transparent;
}

.btn {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	font-weight: 700;
}

.btn-xl {
	font-size: 18px;
	padding: 20px 40px;
}

.btn-primary {
	background-color: rgba(4, 154, 58, 0.85);
	border-color: rgba(77, 38, 23, 0.85);
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
	background-color: rgba(77, 38, 23, 0.85) !important;
	border-color: rgba(255, 255, 255, 0.85) !important;
	color: white;
}

.btn-primary:active, .btn-primary:focus {
	box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

#mainNav {
	background-color: rgba(255, 255, 255, 1) !important;
}

#mainNav .navbar-toggler {
	font-size: 12px;
	right: 0;
	padding: 13px;
	text-transform: uppercase;
	color: white;
	border: 0;
	background-color: rgba(4, 154, 58, 0.85) !important;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand {
	color: rgba(4, 154, 58, 0.85);
	font-family: 'Kaushan Script', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus,
	#mainNav .navbar-brand:hover {
	color: rgba(4, 154, 58, 0.85);
}

#mainNav .navbar-nav .nav-item .nav-link {
	font-size: 80%;
	font-weight: bold;
	padding: 0.75em 0;
	/* letter-spacing: 1px; */
	color: rgba(0, 0, 0, 0.85);
	font-family: Roboto, 'Montserrat', -apple-system, BlinkMacSystemFont,
		'Segoe UI', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover
	{
	color: rgba(4, 154, 58, 0.85);
}

@media ( min-width : 992px) {
	#mainNav {
		padding-top: 5px;
		padding-bottom: 5px;
		transition: padding-top 0.3s, padding-bottom 0.3s;
		border: none;
		background-color: rgba(255, 255, 255, 1) !important;
	}
	#mainNav .navbar-brand {
		font-size: 1.75em;
		transition: all 0.3s;
	}
	#mainNav .navbar-nav .nav-item .nav-link {
		padding: 1.1em 1em !important;
	}
	#mainNav.navbar-shrink {
		padding-top: 0;
		padding-bottom: 0;
		background-color: rgba(255, 255, 255, 1) !important;
	}
	#mainNav.navbar-shrink .navbar-brand {
		font-size: 1.25em;
		/* padding: 12px 0; */
	}
}

header.masthead {
	text-align: center;
	color: white;
	background-image: url("../img/sfondo.png");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	background-size: cover;
}

header.masthead .container {
	background: rgba(0, 0, 0, 0.50);
	overflow: hidden;
	height: 100%;
	width: 100%;
	z-index: 2;
}

header.masthead .intro-text {
	padding-top: 150px;
	padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
	font-size: 22px;
	font-style: italic;
	line-height: 22px;
	margin-bottom: 25px;
	font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
}

header.masthead .intro-text .intro-heading {
	font-size: 40px;
	font-weight: 700;
	line-height: 50px;
	margin-bottom: 25px;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@media ( min-width : 768px) {
	header.masthead .intro-text {
		padding-top: 300px;
		padding-bottom: 200px;
	}
	header.masthead .intro-text .intro-lead-in {
		font-size: 40px;
		font-style: italic;
		line-height: 40px;
		margin-bottom: 25px;
		font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont,
			'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
			'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
			'Noto Color Emoji';
	}
	header.masthead .intro-text .intro-heading {
		font-size: 52px;
		font-weight: 700;
		line-height: 75px;
		margin-bottom: 50px;
		font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
			Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
			'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	}
}

.service-heading {
	margin: 15px 0;
	text-transform: none;
}

#portfolio .portfolio-item {
	right: 0;
	margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
	position: relative;
	display: block;
	max-width: 400px;
	margin: 0 auto;
	cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
	position: absolute;
	width: 100%;
	height: 100%;
	transition: all ease 0.5s;
	opacity: 0;
	background: rgba(254, 209, 54, 0.9);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
	opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content
	{
	font-size: 20px;
	position: absolute;
	top: 50%;
	width: 100%;
	height: 20px;
	margin-top: -12px;
	text-align: center;
	color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i
	{
	margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
	#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4
	{
	margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
	max-width: 400px;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
	margin: 0;
	text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
	font-size: 16px;
	font-style: italic;
	margin: 0;
	font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
}

#portfolio * {
	z-index: 2;
}

#services .services-item {
	right: 0;
	margin: 0 0 15px;
}

#services .services-item .services-link {
	position: relative;
	display: block;
	max-width: 400px;
	margin: 0 auto;
	cursor: pointer;
}

#services .services-item .services-link .services-hover {
	position: absolute;
	width: 100%;
	height: 100%;
	transition: all ease 0.5s;
	opacity: 0;
	background: rgba(4, 154, 58, 0.85);
}

#services .services-item .services-link .services-hover:hover {
	opacity: 1;
}

#services .services-item .services-link .services-hover .services-hover-content
	{
	font-size: 20px;
	position: absolute;
	top: 50%;
	width: 100%;
	height: 20px;
	margin-top: -12px;
	text-align: center;
	color: white;
}

#services .services-item .services-link .services-hover .services-hover-content i
	{
	margin-top: -12px;
}

#services .services-item .services-link .services-hover .services-hover-content h3,
	#services .services-item .services-link .services-hover .services-hover-content h4
	{
	margin: 0;
}

#services .services-item .services-caption {
	max-width: 400px;
	margin: 0 auto;
	padding: 25px;
	text-align: center;
	color: rgba(77, 38, 23, 0.85);
}

#services .services-item h4 {
	margin: 0;
	text-transform: none;
}

#services .services-item p {
	font-style: italic;
	margin: 0;
	font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
	line-height: 1.3;
}

#services * {
	z-index: 2;
}
/*
@media (min-width: 767px) {
  #services .services-item {
    margin: 0 0 30px;
  }
}
*/
.modal-dialog {
	margin: 1rem;
	max-width: 100vw;
}

.modal-content {
	text-align: center;
}

.close-modal {
	z-index: 1052;
	position: absolute;
	cursor: pointer;
	background-color: transparent;
}

.modal-content p {
	margin-bottom: 30px;
}

.modal-content p.item-intro {
	color: rgba(255, 255, 255, 0.85);
	font-style: italic;
	margin: 20px 0 30px;
	font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji';
}

.modal-content ul.list-inline {
	margin-top: 0;
	margin-bottom: 30px;
}

.modal-content ul {
	margin-top: 0;
	margin-bottom: 30px;
}

.modal-content img {
	margin-bottom: 30px;
}

.modal-content button {
	cursor: pointer;
}

.close-modal:hover {
	color: rgba(4, 154, 58, 0.85);
}

.close-modal .lr {
	/* Safari and Chrome */
	z-index: 1051;
	width: 1px;
	height: 75px;
	margin-left: 35px;
	/* IE 9 */
	transform: rotate(45deg);
	background-color: #212529;
}

.close-modal .lr .rl {
	/* Safari and Chrome */
	z-index: 1052;
	width: 1px;
	height: 75px;
	/* IE 9 */
	transform: rotate(90deg);
	background-color: #212529;
}

.timeline {
	position: relative;
	padding: 0;
	list-style: none;
}

.timeline:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 40px;
	width: 2px;
	margin-left: -1.5px;
	content: '';
	background-color: #e9ecef;
}

.timeline>li {
	position: relative;
	min-height: 50px;
	margin-bottom: 50px;
}

.timeline>li:after, .timeline>li:before {
	display: table;
	content: ' ';
}

.timeline>li:after {
	clear: both;
}

.timeline>li .timeline-panel {
	position: relative;
	float: right;
	width: 100%;
	padding: 0 20px 0 100px;
	text-align: left;
}

.timeline>li .timeline-panel:before {
	right: auto;
	left: -15px;
	border-right-width: 15px;
	border-left-width: 0;
}

.timeline>li .timeline-panel:after {
	right: auto;
	left: -14px;
	border-right-width: 14px;
	border-left-width: 0;
}

.timeline>li .timeline-image {
	position: absolute;
	z-index: 100;
	left: 0;
	width: 80px;
	height: 80px;
	margin-left: 0;
	text-align: center;
	color: white;
	border: 7px solid #e9ecef;
	border-radius: 100%;
	background-color: #fed136;
}

.timeline>li .timeline-icon {
	position: absolute;
	z-index: 100;
	left: 0;
	width: 80px;
	height: 80px;
	margin-left: 0;
	text-align: center;
	color: rgba(4, 154, 58, 0.85);
	/*border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #fed136;*/
}

.timeline>li .timeline-image h4 {
	font-size: 10px;
	line-height: 14px;
	margin-top: 12px;
}

.timeline>li.timeline-inverted>.timeline-panel {
	float: right;
	padding: 0 20px 0 100px;
	text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
	right: auto;
	left: -15px;
	border-right-width: 15px;
	border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
	right: auto;
	left: -14px;
	border-right-width: 14px;
	border-left-width: 0;
}

.timeline>li:last-child {
	margin-bottom: 0;
}

.timeline .timeline-heading h4 {
	margin-top: 0;
	color: inherit;
}

.timeline .timeline-heading h4.subheading {
	text-transform: none;
	font-style: italic;
	font-size: 120%;
}

.timeline .timeline-body>ul, .timeline .timeline-body>p {
	margin-bottom: 0;
}

@media ( min-width : 768px) {
	.timeline:before {
		left: 50%;
	}
	.timeline>li {
		min-height: 100px;
		margin-bottom: 100px;
	}
	.timeline>li .timeline-panel {
		float: left;
		width: 41%;
		padding: 0 20px 20px 30px;
		text-align: right;
	}
	.timeline>li .timeline-image {
		left: 50%;
		width: 100px;
		height: 100px;
		margin-left: -50px;
	}
	.timeline>li .timeline-icon {
		left: 50%;
		width: 100px;
		height: 100px;
		margin-left: -50px;
	}
	.timeline>li .icon-left {
		left: 122%;
	}
	.timeline>li .icon-right {
		left: -22%;
	}
	.timeline>li .timeline-image h4 {
		font-size: 13px;
		line-height: 18px;
		margin-top: 16px;
	}
	.timeline>li.timeline-inverted>.timeline-panel {
		float: right;
		padding: 0 30px 20px 20px;
		text-align: left;
	}
}

@media ( min-width : 992px) {
	.timeline>li {
		min-height: 150px;
	}
	.timeline>li .timeline-panel {
		padding: 0 20px 20px;
	}
	.timeline>li .timeline-image {
		width: 150px;
		height: 150px;
		margin-left: -75px;
	}
	.timeline>li .timeline-icon {
		width: 150px;
		height: 150px;
		margin-left: -75px;
	}
	.timeline>li .timeline-image h4 {
		font-size: 18px;
		line-height: 26px;
		margin-top: 30px;
	}
	.timeline>li.timeline-inverted>.timeline-panel {
		padding: 0 20px 20px;
	}
}

@media ( min-width : 1200px) {
	.timeline>li {
		min-height: 170px;
	}
	.timeline>li .timeline-panel {
		padding: 0 20px 20px 100px;
	}
	.timeline>li .timeline-image {
		width: 170px;
		height: 170px;
		margin-left: -85px;
	}
	.timeline>li .timeline-image h4 {
		margin-top: 40px;
	}
	.timeline>li.timeline-inverted>.timeline-panel {
		padding: 0 100px 20px 20px;
	}
}

.team-member {
	margin-bottom: 50px;
	text-align: center;
}

.team-member img {
	width: 225px;
	/*height: 225px;*/
	border: 7px solid rgba(0, 0, 0, 0.1);
	max-width: 100%;
}

.team-member h4 {
	margin-top: 25px;
	margin-bottom: 0;
	text-transform: none;
}

.team-member p {
	margin-top: 0;
}

section#contact {
	background-color: #212529;
	background-image: url("../img/map-image.png");
	background-repeat: no-repeat;
	background-position: center;
}

section#contact .section-heading {
	color: #fff;
}

section#contact .form-group {
	margin-bottom: 25px;
}

section#contact .form-group input, section#contact .form-group textarea
	{
	padding: 20px;
}

section#contact .form-group input.form-control {
	height: auto;
}

section#contact .form-group textarea.form-control {
	height: 248px;
}

section#contact .form-control:focus {
	border-color: #fed136;
	box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
	font-weight: 700;
	color: #ced4da;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

section#contact :-moz-placeholder {
	font-weight: 700;
	color: #ced4da;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

section#contact ::-moz-placeholder {
	font-weight: 700;
	color: #ced4da;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

section#contact :-ms-input-placeholder {
	font-weight: 700;
	color: #ced4da;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.footer {
	padding: 25px 0;
	text-align: center;
}

.footer span.copyright {
	font-size: 90%;
	line-height: 40px;
	text-transform: none;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.footer ul.quicklinks {
	font-size: 90%;
	line-height: 40px;
	font-weight: bold;
	margin-bottom: 0;
	text-transform: none;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

ul.social-buttons {
	margin-bottom: 0;
}

ul.social-buttons li a {
	font-size: 20px;
	line-height: 50px;
	display: block;
	width: 50px;
	height: 50px;
	transition: all 0.3s;
	color: white;
	border-radius: 100%;
	outline: none;
	background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover
	{
	background-color: #fed136;
}

.container {
	max-width: unset !important;
}

header.masthead .intro-text {
	padding-top: 100px;
}

.intro {
	text-align: justify;
}

section#intro.page-section {
	background-color: rgba(240, 255, 250, 0.5);
	padding-bottom: 0px;
	padding-top: 50px;
}

section#services.page-section {
	background-color: rgba(255, 225, 170, 0.5);
	/* padding-top: 50px; */
}

div.modal-dialog {
	text-align: center;
	color: white;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	background-size: cover;
}

div.modal-content {
	background: rgba(0, 0, 0, 0.50);
	overflow: hidden;
	height: 100%;
	width: 100%;
	z-index: 2;
	padding-bottom: 25px;
	min-block-size: -webkit-fill-available;
	border-radius: unset;
}

/* Schermi extra-piccoli (meno di 360px) boostrap (xs) */
@media ( max-width : 360px) {
	.navbar-brand {
    	max-width: 60%;
	}
	.logo {
		width: 80%;
		height: 80%;
	}
	header.masthead .intro-text .intro-heading {
		font-size: 25px;
		font-weight: 700;
		line-height: 25px;
		margin-bottom: 25px;
	}
	header.masthead .intro-text {
		padding-bottom: 100px;
	}
	.page-section h3.section-subheading {
		font-size: 12px;
	}
	.page-section h2.section-heading {
		font-size: 30px;
	}
	#services .fa-stack {
		height: 100px;
		line-height: 2em;
		position: initial;
		width: 100px;
	}
	#services .fa-circle {
		font-size: 100px;
	}
	#services .fa-inverse {
		font-size: 60px;
		position: absolute;
		left: 0;
		width: 100%;
		line-height: 1.6;
	}
	#services .services-item h4 {
		font-size: 14px;
	}
	#services .services-item p {
		font-size: 10px;
	}
	#portfolio .portfolio-item .portfolio-caption h4 {
		font-size: 16px;
	}
	#portfolio .portfolio-item .portfolio-caption p {
		font-size: 14px;
	}
	.service1 {
		background-image: url("../img/servizi/service1-xs.png");
	}
	.service2 {
		background-image: url("../img/servizi/service2-xs.png");
	}
	.service3 {
		background-image: url("../img/servizi/service3-xs.png");
	}
	.service4 {
		background-image: url("../img/servizi/service4-xs.png");
	}
	.close-modal {
		top: 5px;
		right: 5px;
		width: 30px;
		height: 30px;
	}
	.fa-3x {
		font-size: 26px;
	}
	.modal-content h2 {
		font-size: 18px;
		margin-bottom: 15px;
	}
	.modal-content p.item-intro {
		font-size: 12px;
	}
	.modal-content div {
		font-size: 10px;
		margin-bottom: 15px;
	}
	.portfolio-modal img.img-fluid {
		max-height: 130px;
		/*max-width: 500px;*/
	}
}
/* Schermi piccoli (meno di 576px) boostrap (xs) */
@media ( min-width : 361px) and (max-width: 576px) {
	header.masthead .intro-text .intro-heading {
		font-size: 35px;
		font-weight: 700;
		line-height: 40px;
		margin-bottom: 25px;
	}
	.page-section h3.section-subheading {
		font-size: 14px;
	}
	.page-section h2.section-heading {
		font-size: 34px;
	}
	#services .fa-stack {
		height: 100px;
	}
	#services .fa-circle {
		font-size: 100px;
	}
	#services .fa-inverse {
		font-size: 60px;
		position: absolute;
		left: 0;
		width: 100%;
		line-height: 1.6;
	}
	#services .services-item h4 {
		font-size: 18px;
	}
	#services .services-item p {
		font-size: 16px;
	}
	#portfolio .portfolio-item .portfolio-caption h4 {
		font-size: 18px;
	}
	#portfolio .portfolio-item .portfolio-caption p {
		font-size: 16px;
	}
	.service1 {
		background-image: url("../img/servizi/service1-xs.png");
	}
	.service2 {
		background-image: url("../img/servizi/service2-xs.png");
	}
	.service3 {
		background-image: url("../img/servizi/service3-xs.png");
	}
	.service4 {
		background-image: url("../img/servizi/service4-xs.png");
	}
	.close-modal {
		top: 5px;
		right: 5px;
		width: 30px;
		height: 30px;
	}
	.fa-3x {
		font-size: 30px;
	}
	.modal-content h2 {
		font-size: 20px;
		margin-bottom: 15px;
	}
	.modal-content p.item-intro {
		font-size: 14px;
	}
	.modal-content div {
		font-size: 12px;
		margin-bottom: 15px;
	}
	.portfolio-modal img.img-fluid {
		max-height: 180px;
		/* max-width: 500px; */
	}
}
/* Schermi medio-piccoli (da 576px a meno di 768px) boostrap (sm) */
@media ( min-width : 577px) and (max-width: 768px) {
	.page-section h3.section-subheading {
		font-size: 16px;
	}
	.page-section h2.section-heading {
		font-size: 38px;
	}
	#services .fa-circle {
		font-size: 120px;
	}
	#services .fa-inverse {
		font-size: 70px;
		position: absolute;
		left: 0;
		width: 100%;
		line-height: 1.6;
	}
	#services .services-item h4 {
		font-size: 16px;
	}
	#services .services-item p {
		font-size: 14px;
	}
	.service1 {
		background-image: url("../img/servizi/service1-sm.png");
	}
	.service2 {
		background-image: url("../img/servizi/service2-sm.png");
	}
	.service3 {
		background-image: url("../img/servizi/service3-sm.png");
	}
	.service4 {
		background-image: url("../img/servizi/service4-sm.png");
	}
	.close-modal {
		top: 5px;
		right: 5px;
		width: 30px;
		height: 30px;
	}
	.fa-3x {
		font-size: 30px;
	}
	.modal-content h2 {
		font-size: 30px;
		margin-bottom: 15px;
	}
	.modal-content p.item-intro {
		font-size: 18px;
	}
	.modal-content div {
		font-size: 14px;
		margin-bottom: 15px;
	}
	.portfolio-modal img.img-fluid {
		max-height: 300px;
		max-width: 500px;
	}
}
/* Schermi medi (da 768px a meno di 992px)boostrap (md) */
@media ( min-width : 769px) and (max-width: 992px) {
	header.masthead .intro-text .intro-heading {
		font-size: 45px;
		font-weight: 700;
		line-height: 50px;
		margin-bottom: 25px;
	}
	.page-section h3.section-subheading {
		font-size: 18px;
	}
	.page-section h2.section-heading {
		font-size: 42px;
	}
	#services .fa-circle {
		font-size: 120px;
	}
	#services .fa-inverse {
		font-size: 70px;
		position: absolute;
		left: 0;
		width: 100%;
		line-height: 1.6;
	}
	#services .services-item h4 {
		font-size: 20px;
	}
	#services .services-item p {
		font-size: 16px;
	}
	.service1 {
		background-image: url("../img/servizi/service1-md.png");
	}
	.service2 {
		background-image: url("../img/servizi/service2-md.png");
	}
	.service3 {
		background-image: url("../img/servizi/service3-md.png");
	}
	.service4 {
		background-image: url("../img/servizi/service4-md.png");
	}
	.close-modal {
		top: 10px;
		right: 5px;
		width: 40px;
		height: 40px;
	}
	.fa-3x {
		font-size: 35px;
	}
	.modal-content h2 {
		font-size: 34px;
		margin-bottom: 15px;
	}
	.modal-content p.item-intro {
		font-size: 20px;
	}
	.modal-content div {
		font-size: 16px;
		margin-bottom: 15px;
	}
	.portfolio-modal img.img-fluid {
		max-height: 300px;
		max-width: 500px;
	}
}
/* Schermi grandi (da 992px a meno di 1200px) boostrap (lg) */
@media ( min-width : 992px) and (max-width: 1200px) {
	#mainNav .navbar-nav .nav-item .nav-link {
		font-size: 90%;
	}
	.page-section h3.section-subheading {
		font-size: 20px;
	}
	.page-section h2.section-heading {
		font-size: 46px;
	}
	#services .fa-circle {
		font-size: 120px;
	}
	#services .fa-inverse {
		font-size: 70px;
		position: absolute;
		left: 0;
		width: 100%;
		line-height: 1.6;
	}
	#services .services-item h4 {
		font-size: 24px;
	}
	#services .services-item p {
		font-size: 18px;
	}
	.service1 {
		background-image: url("../img/servizi/service1-lg.png");
	}
	.service2 {
		background-image: url("../img/servizi/service2-lg.png");
	}
	.service3 {
		background-image: url("../img/servizi/service3-lg.png");
	}
	.service4 {
		background-image: url("../img/servizi/service4-lg.png");
	}
	.close-modal {
		top: 10px;
		right: 10px;
		width: 50px;
		height: 50px;
	}
	.fa-3x {
		font-size: 40px;
	}
	.modal-content h2 {
		font-size: 3em;
		margin-bottom: 15px;
	}
	.portfolio-modal img.img-fluid {
		max-height: 400px;
		/* max-width: 500px; */
	}
}
/* Schermi molto grandi (da 1200px in su) boostrap (xl) */
@media ( min-width : 1201px) {
	header.masthead .intro-text .intro-heading {
		font-size: 50px;
		font-weight: 700;
		line-height: 80px;
		margin-bottom: 25px;
	}
	#mainNav .navbar-nav .nav-item .nav-link {
		font-size: 120%;
	}
	.page-section h3.section-subheading {
		font-size: 22px;
	}
	.page-section h2.section-heading {
		font-size: 50px;
	}
	#services .fa-stack {
		height: 140px;
	}
	#services .fa-circle {
		font-size: 140px;
	}
	#services .fa-inverse {
		font-size: 80px;
		position: absolute;
		left: 0;
		width: 100%;
		line-height: 1.6;
	}
	#services .services-item h4 {
		font-size: 28px;
	}
	#services .services-item p {
		font-size: 20px;
	}
	.service1 {
		background-image: url("../img/servizi/service1-xl.png");
	}
	.service2 {
		background-image: url("../img/servizi/service2-xl.png");
	}
	.service3 {
		background-image: url("../img/servizi/service3-xl.png");
	}
	.service4 {
		background-image: url("../img/servizi/service4-xl.png");
	}
	.close-modal {
		top: 10px;
		right: 10px;
		width: 50px;
		height: 50px;
	}
	.fa-3x {
		font-size: 50px;
	}
	.modal-content h2 {
		font-size: 3em;
		margin-bottom: 15px;
	}
	.portfolio-modal img.img-fluid {
		max-height: 600px;
		/* max-width: 500px; */
	}
}