
 body, p, ul, li{
	font-family:'Raleway', sans-serif;
 }
 
 
 #mainNav {
  min-height: 56px;
  background-color: #fff;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.75rem;
  color: #7d3437;
  border: 1px solid #7d3437;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

#mainNav .navbar-brand {
  color: #161616;
  font-weight: 700;
  padding: .9rem 0;
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: none;
  background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}

#mainNav .nav-link{
	font-family: 'Playfair Display', serif;
	text-transform:uppercase;
	color:#7d3437;
}
.collapse.navbar-collapse{
	background:#fff;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: transparent;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
  }
  #mainNav .navbar-brand {
    padding: .5rem 0;
    color: rgba(255, 255, 255, 0.5);
  }
  #mainNav .nav-link {
    -webkit-transition: none;
    transition: none;
    padding: 1rem 2rem;
    /*color: rgba(255, 255, 255, 0.5);*/
  }
  #mainNav .nav-link:hover {
    color: #4f837f;
  }
  #mainNav .nav-link:active {
    color: #4f837f;
  }
  
  #mainNav .nav-link.social {
	font-size:24px;
  }
  
  
  #mainNav.navbar-shrink {
    background-color: #7d3437;
  }
  
  #mainNav.navbar-shrink .collapse.navbar-collapse{
    background-color: #7d3437;
  }  
  
  #mainNav.navbar-shrink .navbar-brand {
    color: #ffffff;
  }
  #mainNav.navbar-shrink .nav-link {
    color: #ffffff;
    padding:1rem 2rem;
    border-bottom: 0.25rem solid transparent;
  }
  #mainNav.navbar-shrink .nav-link:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink .nav-link:active {
    color: #fff;
  }
  #mainNav.navbar-shrink .nav-link.active {
    color: #ffffff;
    outline: none;
    border-bottom: 0.25rem solid #ffffff;
  }
}

#mainNav .nav-link.social:hover{
	color:#0e76a8;
}

#mainNav.navbar-shrink .nav-link.social:hover{
	color:#ffffff;
}

#contact .row.social a:hover{
	background:#0e76a8;
}


.masthead {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 35rem;
  padding: 15rem 0;
  
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(22, 22, 22, 0.3)), color-stop(75%, rgba(22, 22, 22, 0.5)), to(#161616)), url("../img/bg-masthead.jpg");
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.3) 0%, rgba(22, 22, 22, 0.5) 75%, #161616 100%), url("../img/bg-masthead.jpg");
  
  /*background: url("../img/bg-masthead.jpg");*/
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.masthead:after{
	content: '';
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: 99vw;
    border-right: 99vw solid transparent;
    border-bottom: 100px solid #ffffff;	
}

.masthead h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  letter-spacing: 0.8rem;
  color:#fff;  
}

.masthead h1 small{
	font-size:65%;
}

.masthead h2 {
  max-width: 34rem;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
}

@media (min-width: 768px) {
  .masthead h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
  .masthead h1 small{
	font-size:65%;
	}
}

@media (min-width: 992px) {
  .masthead {
    height: 100vh;
    padding: 0;
  }
  .masthead h1 {
    font-size: 5rem;
    letter-spacing: 0.8rem;
  }
  .masthead h1 small{
	font-size:65%;
	}
  .masthead h2 {
    max-width: 34rem;
    font-size: 1.25rem;
  }
}



.btn {
  -webkit-box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1rem 2rem;
  font-family: 'Raleway', sans-serif;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: .15rem;
  border: 0;
  border-radius:50px;
}

.btn-primary {
  background-color: #7d3437;
}

.btn-primary:hover {
  background-color: #4f837f;
}

.btn-primary:focus {
  background-color: #4f837f;
  color: white;
}

.btn-primary:active {
  background-color: #467370 !important;
}

.about-section {
  padding-top: 10rem;
  background: -webkit-gradient(linear, left top, left bottom, from(#161616), color-stop(75%, rgba(22, 22, 22, 0.9)), to(rgba(22, 22, 22, 0.8)));
  background: linear-gradient(to bottom, #161616 0%, rgba(22, 22, 22, 0.9) 75%, rgba(22, 22, 22, 0.8) 100%);
}

.about-section p {
  margin-bottom: 5rem;
}

.projects-section.with-bkg{
	position:relative;
	background:url("../img/bg-project.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
}
.projects-section.with-bkg:after{
	content: '';
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: 99vw;
    border-right: 99vw solid transparent;
    border-bottom: 100px solid #f8f9fa;
	
}

.projects-section.with-bkg:before{
	content: '';
    position: absolute;
    top: 0;
    z-index: 0;
    width: 99vw;
    border-left: 99vw solid transparent;
    border-top: 100px solid #fff;
	
}

.projects-section {
	position:relative;
	padding: 5rem 0 8rem;
}

.projects-section .featured-text {
  padding: 2rem;
}

.projects-section .featured-text h3,
.projects-section .featured-text h4{
  color:#7d3437;
}

.project{
	border:1px solid #cccccc;
}

.project ul{
	
}


#consulenza ul li{
    text-transform: uppercase;
    margin-bottom: 20px;
    list-style: square;
	font-weight:700;
}

#consulenza ul li:before{
	color: red;
	
}

#consulenza ul li b{
	color: #7d3437;
	
}


#consulenza h3{
	text-transform: uppercase;
    margin-bottom: 20px;
    list-style: square;
    font-weight: 700;
    
    font-size: 20px;
}

#consulenza h3.servizi{
	color: #7d3437;;
}

#professionisti h5{
	color: #7d3437
}


@media (min-width: 992px) {
  .projects-section .featured-text {
    padding: 0 2rem 0 0;
    border-right: 0.5rem solid #7d3437;
	text-align: justify;
  }
}

.projects-section .project-text {
  padding: 3rem;
  font-size: 90%;
}

@media (min-width: 992px) {
	.masthead h1 small{
		font-size: 65%;
	}
	
	/*.projects-section .project-text {
		padding: 5rem;
	}*/
  
  .projects-section .project-text hr {
    border-color: #7d3437;
    border-width: .25rem;
    width: 30%;
  }
}

.signup-section {
  padding: 10rem 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(22, 22, 22, 0.1)), color-stop(75%, rgba(22, 22, 22, 0.5)), to(#161616)), url("../img/bg-signup.jpg");
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.1) 0%, rgba(22, 22, 22, 0.5) 75%, #161616 100%), url("../img/bg-signup.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.signup-section .form-inline input {
  -webkit-box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  height: auto;
  font-family: 'Raleway', sans-serif;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.contact-section {
  padding: 5rem 0 0;
}

.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #7d3437;
}

.contact-section .card h4 {
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.contact-section .card hr {
  border-color: #7d3437;
  border-width: 0.25rem;
  width: 3rem;
}

/*
.contact-section .social {
  margin-bottom: 5rem;
}
*/

.contact-section .social a {
  text-align: center;
  height: 4rem;
  width: 4rem;
  background: #7d3437;
  border-radius: 100%;
  line-height: 4rem;
  color: #fff;
  font-size:30px;
}

.contact-section .social a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.contact-section .social a:active {
  color: #fff;
}

body {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.0625em;
}

a {
  color: #7d3437;
}

a:focus, a:hover {
  text-decoration: none;
  color: #3c6360;
}

.bg-black {
  background-color: #161616 !important;
}

.bg-primary {
  background-color: #7d3437 !important;
}

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

footer {
	font-family: 'Raleway', sans-serif;
  padding: 5rem 0;
}

.mobile-y{
	display: none;
}

.desktop-y{
	display: block;
}


@media (max-width: 800px) {
	#consulenza ul li{
		text-align:left;
	}
	
	#consulenza h3.servizi{
		text-align:left;
	}
	
	.mobile-y{
		display: block;
	}
	
	.desktop-y{
		display: none;
	}
}


@media (max-width: 414px) {
	.small{ font-size: 90%;	}
	
	.logo{ display:none; }	
	
	.masthead h1 small{	font-size: 100%; }
	
	.projects-section{ padding: 5rem 0 5rem; }
	
	.projects-section .featured-text{ padding:0 0; }
	
	.masthead h1{
		letter-spacing: 0.4rem;
		font-size: 2rem;
		text-align: center;}
	}
		
	#consulenza ul li{
		/*list-style:none;*/
	}
	
	#consulenza ul {
		padding: 0 0;
	}	
	
	.projects-section .featured-text {    
		text-align: left;
	}
	
	#prova{
		margin-top: 2em;
	}
	
	.mobile-y{
		display: block;
	}
	
	.desktop-y{
		display: none;
	}
	
}


