:root{
	/*--red:#f39213;*/
	--grigio: #6f6f6e;
	--bianco: #ffffff;
	--red: #b40018;
}


body
{
	background: var(--bianco);
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	position: relative;
}

/* start templatemo page container */
@media (min-width: 768px) {
	.container { width: 700px; }
}
@media (min-width: 992px) {
	.container { width: 900px; }
}
@media (min-width: 1200px) {
	.container { width: 1000px;	}
}
.row-checkbox{
	display: flex;
	align-items: center;
}
/* end page container */
.d-none{
	display: none;
}
.blue {
	color: #06C;
}
/* Side popup*/
.alert{
	position: relative;
}
.x-button{
	font-size: 23px;
	background-color: unset;
	position: absolute;
	border:unset;
	top:0;
	right:0;
}
#firstPopup {
    top: 40%;
}
.visiblePopupPart,
.hiddenPopupPart {
    display: inline-flex;
}

.visiblePopupPart {
    width: 100px;
    background-color: var(--bianco);
    border: 3px solid var(--red);
}

.hiddenPopupPart {
    width: 300px;
    background: var(--red);
    border: 1px solid var(--red);
}

.hiddenPopupPart {
    cursor: pointer;
}

.sidePopup {
    height: 90px;
    width: 300px;
    position: fixed;
    right: -200px;
    top: 50%;
    margin-top: -2.5em;
    background-color: var(--bianco);
    z-index: 999;
    transition: right 1s;
    display: flex;
}

.sidePopup div {
    height: 90px;
}

.sidePopup:hover {
    right: 0;
}

.sidePopup p {
    padding: 10px;
    color: var(--bianco);
    font-weight: 800;
    font-size: 20px;
    line-height: 20px;
}

video{
	width:500px;
}




/* Side popup*/
.green {
	color: #090;
}

h1, h2, h3, h4 {
	font-family: 'Fugaz One', cursive;
}

.title {
	font-size:34px;
	font-weight:600;
	color:var(--red);
	padding-bottom:20px;
	text-transform:uppercase;
	letter-spacing:1px;
	margin:0;
}

/* start navigation */
.navbar-default
{
	background: var(--red);
	border: none;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.3);
	margin: 0;
}
.navbar-default .navbar-brand
{
	font-family: 'Fugaz One', cursive;
	font-weight: 600;
	font-size: 30px;
	height: 65px;
	line-height: 40px;
	color:var(--bianco);
}

.navbar-brand h2 {
	margin:0;
}

.navbar-default .navbar-brand:hover { color: #eee; }
.navbar-default .nav li a
{
	color: #eee;
	font-size: 23px;
	height: 65px;
	line-height: 38px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	text-transform:uppercase;
	font-family: 'Fugaz One', cursive;
}
.navbar-default .nav li a:hover
{
	background-color: var(--red);
	color: var(--bianco);
}
.navbar-default .nav li a:focus { color: var(--grigio); }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	color: var(--bianco);
	background-color: var(--red);
}
.navbar-default .navbar-toggle
{
	border: none;
	background:var(--bianco);
	margin-top:15px;
}
.navbar-default .navbar-toggle .icon-bar
{
	background: var(--red);
	border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: #eee }
/* end navigation */




/* ===========================
--- Dropdown
============================ */


.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
	background-color:rgba(0,0,0,0.10);
	color:var(--bianco);
}

.navbar-default .dropdown-menu {
	background-color:var(--red);
	border:none;
	left:0;
	width:280px;
	padding:0;
}

.navbar-default .nav .dropdown li a {
	height:auto;
	padding:10px;
	font-size:20px;
}

.navbar-default .navbar-nav li.dropdown .dropdown-menu>li a:hover,
.navbar-default .navbar-nav li.dropdown .dropdown-menu>li a:focus {
	background-color:rgba(0,0,0,0.10);
}

@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: var(--bianco);
		padding:10px;
	}
}



/* ===========================
--- Intro
============================ */

.intro {
	width:100%;
	position:relative;
	padding:0;
}
.intro-inner {
	width:100%;
	position:relative;
	padding:120px 0 20px;
}

.brand-heading {
    font-size: 40px;
}

.intro-text {
    font-size: 18px;
}


/* ====  slider ==== */
.sy-caption-wrap {
  position: absolute;
  bottom: 2em;
  top: 35%;
  z-index: 12;
  left: 50%;
}


.sy-caption-wrap .sy-caption {
  position: relative;
  left: -50%;
  background-color: transparent;
  color: var(--bianco);
  text-shadow: -1px 0 1px #111;
  font-size: 46px;
  text-transform: uppercase;
  line-height: 1.1em;
  text-align: center;
  font-weight: 900;
  padding: 0;
  -webkit-border-radius: 1.2em;
  -moz-border-radius: 1.2em;
  -ms-border-radius: 1.2em;
  -o-border-radius: 1.2em;
  border-radius: 1.2em;
}
.sy-caption-wrap .sy-caption a {
	margin-top: 30px;
}
.sy-slide div a.slide-btn {

	margin-top: 30px;
}


/* start header background slideshow */
#home {
	padding-top: 65px;
	border-bottom:20px solid var(--red);
	background-image:url(../images/slider/1.jpg);
	background-size:cover;
	padding:100px 0;
}

#divisore hr {
	border-top:0;
	border-bottom:10px dashed var(--red);
	margin:0;
}

.flexslider {
	margin: 0 0 60px;
	background: var(--bianco);
	padding: 0;
	position: relative;
	zoom: 1;
	background-color: #371604;
	overflow: hidden;
	margin: 0;
}
.flexslider .slides {
	padding: 0;
	zoom: 1;
}
.flexslider .slides img {
	width: 100%;
	display: block;
}

.flexslider .slides .logosmall img {
    width: 70%;
    display: block;
}
.flexslider .slides > li {
	display: none;
	padding: 0;
	position: relative;
	-webkit-backface-visibility: hidden;
}
.flexslider img {
	position: relative;
	width: 100%;
}
.slider-caption {
	color:white;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 7;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}
.slider-caption h1 {
	font-family: 'Open Sans', sans-serif;
	font-size:65px;
	text-shadow: 2px 2px 3px #000;
	color:var(--red);
	font-weight:700;
	margin-top:10px;
}
.slider-caption h2 {
	font-size:40px;
	margin-top:10px;
	text-shadow: 2px 2px 3px #000;
	letter-spacing:2px;
}
.slider-caption h3 {
	font-size:25px;
	margin-top:10px;
	text-shadow: 2px 2px 3px #000;
	letter-spacing:2px;
}
.demsca-slider-btn
{
	background: var(--red);
	border-radius: 0;
	border: 2px solid transparent;
	color: var(--bianco)FFF;
	font-weight: bold;
	margin: 40px 0 0 0;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	height: 50px;
	width: 250px;
	padding: 12px 10px 10px 10px;
}
.demsca-slider-btn:hover,
.demsca-slider-btn:focus {
	background: var(--bianco);
	color: var(--red);
	border: 2px solid transparent;
}





/* start features */
#features .col-md-12 {
	padding-bottom:20px;
}

#features h3 {
	color:var(--red);
	text-transform:uppercase;
	font-size:18px;
	font-weight:600;
}

.features
{
	background: var(--bianco);
	border-bottom: 1px solid #f0f0f0;
	padding: 60px 0 60px 0;
}
.features h3
{
	font-weight: 400;
	padding-bottom: 6px;
}
.features img {
	width:200px;
	margin-top:15px;
}
/* end features */



#parallax {
background:url(../images/parallax.jpg) center center/cover no-repeat rgba(6,32,51,.8);
background-attachment:fixed!important;
padding:0
}


.parallax-overlay {
background-color:rgba(0,0,0,0.00);
padding:10px 0;
}




/* start about */
#about
{
	color: #333;
	padding: 80px 0 80px;
}
#about .col-md-12 {	padding-top: 20px 0 0 0; }

#about h3,
#about h2
{
	color:#666;
	font-size:25px;
	font-weight: 500;
	text-align:center;
	text-transform:uppercase;
}
#about img {
	width:100%;
}
#about .skills { padding-top: 30px; }
#about .progress
{
	background: #999;
	height: 6px;
	margin: 10px 0 16px 0;
}
#about .progress .progress-bar-success { background: var(--red); }
.intro-text {
	line-height:38px;
}
.slogan h1 {
	text-align:center;
	color:var(--red);
	font-size:40px;
	text-transform:uppercase;
	font-weight:700;
}
#about p {
	text-align:justify;
}
/* end about */



/* start lavori */
#lavori, #gallery
{
	background: #eee;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	padding: 60px 0 60px 0;
}
#lavori .col-md-12 { margin-bottom: 20px; }
#lavori .col-md-4 { margin-bottom: 30px; }
#gallery {
	background:var(--bianco);
}
/* end lavori */



/* start team */
#team
{
	background: var(--bianco);
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	padding: 60px 0 60px 0;
}
#team .col-md-12 { margin-bottom: 20px; }
#team h3
{
	background: var(--bianco);
	color: var(--red);
	font-weight: 600;
	padding: 10px;
}


.grid figure {
	margin: 0;
	position: relative;
	border: 1px solid #eee;
}
.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}
.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: var(--bianco);
	background-color: rgba(225, 225, 225, 0.8);
}
.grid figcaption h5 {
	margin: 0;
	padding-top: 0px;
	padding-left: 20px;
	padding-bottom: 5px;
	color: var(--bianco);
	font-weight: 700;
	text-align: left;
	letter-spacing: 1px;
	font-size:24px;
}
.grid figcaption a {
	text-align: left;
	padding: 5px 10px;
	margin-left: 20px;
	display: inline-block;
	background: #2f2f2f;
	color: #F27E00;
	font-size: 13px;
	background: var(--bianco);
}

.overlay figure {
	overflow: hidden;
}
.overlay figcaption {
	height: 100%;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -webkit-transition: opacity .2s ease-in-out;
}
.overlay figure:hover figcaption, .overlay figure.cs-hover figcaption {
	opacity: 1;
	transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
}
.overlay figcaption a {
position: absolute;
/* top: 10px; */
bottom: 10px;
right: 30px;
background: #000;
color: var(--bianco);
border-radius: 0px;
padding: 6px 15px;
}
/* end team */








/* portfolio */
#portfolio {
	padding:80px 0 80px;
	border-top:3px #eee solid;
	background:var(--grigio);
}

#portfolio a:hover {
	text-decoration:none;
}

.box {
	background-color:var(--red);
	padding:30px 20px;
	margin-top:30px;
	color:var(--bianco);
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.3);
	text-align:center;
}

.box h2 {
	font-size:21px;
	margin:0;
	padding:0;
	border-bottom:3px dashed var(--bianco);
	padding-bottom:20px;
	margin-bottom:20px;
	color:var(--bianco);
}

.box p {
	color:var(--bianco);
}

.box a {
	font-size:18px;
	color:var(--bianco);
}

.box .button {
	width:100%;
	margin:0;
	padding:0;
}

.box:hover .button {
	margin-left:10px;
}

.box .fa {
	display:block;
	margin:0 auto;
	font-size:45px;
	line-height:80px;
	margin-bottom:20px;
	text-align:center;
	width:80px;
	height:80px;
	border-radius:100%;
	background-color:var(--bianco);
	color:var(--red);
}
/* end portfolio */





/* start approfondimenti */
#approfondimenti {
	padding:0px;
	border-bottom:10px solid var(--red);
	background-size:cover;
}

#approfondimenti .container {
	padding-bottom:30px;
}

#approfondimenti img {
	width:350px;
}

#approfondimenti .container-fluid {
	padding-top:115px;
	padding-bottom:50px;
}

.blackened {
	background-color:rgba(0,0,0,.30);
}

.call-to {
	margin-top:35px;
	padding-top:25px;
	margin-bottom:35px;
	padding-bottom:25px;
	border-top:5px dashed var(--red);
	border-bottom:5px dashed var(--red);
}

.call-to h4 {
	text-transform:uppercase;
	font-size:23px;
	color:var(--red);
}

.call-to a h4 {
	color:var(--grigio);
}

.call-to a:hover,
.call-to a h4:hover {
	color:var(--red);
	text-decoration:none;
}

.grid figure {
	margin: 0;
	position: relative;
	border: 1px solid #eee;
}
.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}
.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: var(--bianco);
	background-color: rgba(255, 255, 255, 0.8);
}
.grid figcaption h5 {
	margin: 0;
	padding-top: 0px;
	padding-left: 20px;
	padding-bottom: 5px;
	color: var(--bianco);
	font-weight: 700;
	text-align: left;
	letter-spacing: 1px;
	font-size:24px;
}
.grid figcaption a {
	text-align: left;
	padding: 5px 10px;
	margin-left: 20px;
	display: inline-block;
	background: #2f2f2f;
	color: #F27E00;
	font-size: 13px;
	background: var(--bianco);
}

.overlay figure {
	overflow: hidden;
	margin-bottom:30px;
}
.overlay figcaption {
	height: 100%;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -webkit-transition: opacity .2s ease-in-out;
}
.overlay figure:hover figcaption, .overlay figure.cs-hover figcaption {
	opacity: 1;
	transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
}
.overlay figcaption a {
position: absolute;
/* top: 10px; */
bottom: 10px;
right: 30px;
background: #000;
color: var(--bianco);
border-radius: 0px;
padding: 6px 15px;
}



.motivi {
	background-color:var(--red);
	padding:30px 20px;
	text-align:center;
	box-shadow:3px 3px 10px rgba(0,0,0,.30);
	max-width:420px;
	float:right;
	border:10px solid rgba(0,0,0,0.10);
}

#about .motivi h3,
.motivi h4 {
	color:var(--bianco);
	text-transform:uppercase;
}

#about .motivi h3 {
	font-size:30px;
	margin:0;
	padding:0;
	padding-bottom:15px;
	margin-bottom:15px;
	border-bottom:5px dashed var(--bianco);
}

.motivi h4 {
	font-size:20px;
	line-height:30px;
	margin:0;
	padding:0;
}

.motivi .fa {
	display:block;
	margin:0 auto;
	width:60px;
	height:60px;
	line-height:60px;
	border-radius:100%;
	background-color:var(--bianco);
	color:var(--red);
	font-size:30px;
	margin-top:20px;
	margin-bottom:10px;
}

@media (max-width:992px) {
	.motivi {
		max-width:none;
		float:none;
		margin-top:50px;
	}
}
/* end approfondimenti */











/* start mappa */

.mappa {
padding:0;
}

.gmap3 {
width:100%;
height:250px
}

#map {
width:100%;
height:250px
}





/* start contact */
#contact
{
	background-color: #303030;
	background-image:url(../images/contact.jpg);
	background-size:cover;
	background-position:center center;
	color: #EEE;
	padding: 80px 0 80px 0;
}
#contact .text-center p { padding: 0 0 60px 0; }
#contact h2, #contact h3 { padding: 0 0 20px 0; color:var(--bianco); }
#contact .form-control
{
	background: transparent;
	border: 1px solid #444;
	border-radius: 0px;
	color: var(--bianco);
	margin: 10px 0 10px 0;
}
#contact input { height: 60px; }
#contact .form-control:focus
{
	background: #444444;
	border-color: transparent;
	box-shadow: none;
}
#contact input[type="submit"]
{
	color: var(--bianco);
	font-weight: 600;
	letter-spacing: 1px;
	width: 220px;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#contact input[type="submit"]:hover
{
	background: var(--red);
	border-color: transparent;
	color: var(--bianco);
}
#contact .address
{
	padding: 20px;
	padding-top: 0;
	margin: 0;
}
#contact .fa
{
	color: var(--bianco);
	font-size: 20px;
	padding: 6px 10px 6px 0;
}

#contact a {	color: var(--bianco); }
#contact a:hover, #contact a:active
{
	color: var(--red);
	text-decoration: none;
}

#contact .social_icon a
{
	border: 1px solid var(--bianco);
	border-radius: 50%;
	color: var(--bianco);
	font-size: 16px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	margin: 0 4px 24px 6px;
}
#contact .social_icon a:hover
{
	border-color: transparent;
	background: var(--red);
}

#contact .btn-default {
    color: var(--bianco);
    background-color: var(--red);
    border-color: var(--red);
}

#contact .btn-default:hover {
    color: var(--red);
    background-color: var(--bianco);
    border-color: var(--red);
}

#contact .btn-default:hover .fa {
    color: var(--red);
}



/* end contact */

/* start footer */
footer
{
	border-top: 1px solid #404040;
	background: #202020;
	color: var(--bianco);
	padding: 20px 0 10px 0;
}

footer a {	color: var(--bianco); }
footer a:hover, footer a:active
{
	color: var(--red);
	text-decoration: none;
}

/* end footer */

/* starttemplatemo  go top */
.go-top
{
	background-color: var(--red);
	border-radius: 50%;
	bottom: 2em;
	right: 2em;
	color: var(--bianco);
	display: none;
	position: fixed;
	text-decoration: none;
	width: 60px;
	height: 60px;
	line-height: 54px;
	text-align: center;
	z-index:999;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.3);
	border:3px solid var(--bianco);
}
.go-top:hover {	color: #F9F9F9; }
/* end go top */

.main-button{
	color:#000;
}
.img-gallery{
	padding:4px;
	
}

/*=================================================================
	Banner
==================================================================*/

.popup {
    max-width: 320px;
    height: auto;
    position: fixed;
    z-index: 1000;
    right: -578px;
    bottom: 0;
	box-shadow:0px 0px 20px rgba(0,0,0,0.50);
	background:var(--bianco);
}

.banner-content {
	background-color:var(--bianco);
	padding:15px;
	text-align:center;
}

.banner-content h3 {
	letter-spacing:2px;
	font-size:18px;
	text-transform:uppercase;
	line-height:30px;
	margin:5px 0;
	color:#f9850e;
}

.divisore {
	border-bottom:dashed 10px #009ED6;
}

.banner-content a {
	color:#444;
	border-bottom:1px dashed #444;
}

.banner-content a:hover {
	color:rgba(144,8,46,1.00);
	border:none;
}

.popup i {
    font-size: 1.5em;
    position: absolute;
    padding: 0px;
	color:#000;
	z-index:999;
}

.popup i:hover {
    cursor: pointer;
	color:rgba(238,123,0,1);
}


@media only screen and (max-width: 1199px) {
	.flexslider h1 { font-size: 80px; }
}

/* start 768 media quires */
@media only screen and ( max-width: 768px ) {
	.navbar-default .navbar-nav	{ margin: 0; }
	.navbar-default .navbar-collapse
	{
		padding-left: 20px;
		padding-right: 20px;
	}
	.flexslider h1 { font-size: 60px; }
	.demsca-slider-btn {
		margin-top: 10px;
		width: 180px;
		height: 40px;
		padding-top: 8px;
	}
}
/* end 768 media quires */

/* start 680 media quires */
@media only screen and ( max-width: 680px ) {
	.navbar-default .navbar-nav li a { border-bottom: 1px solid #f6f6f6; line-height: normal; height: 50px; }
/* end 680 media quires */

/* start 600 media quires */
@media only screen and ( max-width: 640px ) {
	video{
		width:250px;
	}
	.flexslider h1 { font-size: 35px; }
	.flexslider h2 { font-size: 20px; }
	.flexslider h3 { font-size: 17px; }
	.title { font-size: 26px; }
	.demsca-slider-btn {
		width: auto;
		height: auto;
		padding: 10px 20px;
		margin-top: 10px;
	}
}
/* end 600 media quires */