@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: #fbf7f4;
    color: #6c6c6c;
}

.grey {
	background: #fbf7f4;
}
.white {
	background: white;
}
h2 {
	font-size: 2.5rem;
	margin-top: 2.5rem;
}
p {
	font-size: 1.3rem;
}

.mappa {
    padding-bottom: 80px;
}
.tz-gallery p {
    font-size: 1.3rem;
    line-height: 1.4rem; 
    margin-top: 20px;
}
.bold{
	font-weight: 700;
}
a.btn-brown {
    display: inline-block;
    background: #bb8c5e;
    color: white;
    padding: 8px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 4rem;
}
.caratteristiche h2{
	margin-top: 4rem;
	margin-bottom: 3rem;
}
.caratteristiche p {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.finiture {
	padding-top: 2rem;
}

.commerciali {
	margin-top: 2rem;
    padding-top: 2rem;
}

.commerciali img {
    margin-top: 20px;
    margin-bottom: 20px;
}


.video {
	margin-top: 2rem;
	margin-bottom: 4rem;
}
.contatti h2 {
	margin-top: 4rem;
}
.contatti h3 {
	margin-top: 2rem;
}
.modulo{
	margin-bottom: 10px;
	padding: 1.5rem;
}
.modulo h3 {
	margin: 0;
	padding: 0;
	margin-bottom: 1rem;
}
.btn-brown.tel {
	margin: 0;
	//padding: 0;
	width: 80%;
}
.contatti p.bold {
	font-size: 1.5em;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.modulo input {
	width: 100%;
	height: 40px;
	border: none;
	background: #f3f0e9;
	margin-bottom: 10px;
	padding: 5px;
}
.modulo fieldset > input {
	width: 10%;
	height: 10px;
	border: none;
	background: #f3f0e9;
	margin-bottom: 10px;
	padding: 5px;
	float: left;
}
.modulo fieldset > p {
	float: left;
}
.modulo textarea {
	width: 100%;
	border: none;
	background: #f3f0e9;
	margin-bottom: 10px;
	padding: 5px;
}
.modulo p {
	font-size: 0.8rem;
}
#saveForm {
    display: inline-block;
    background: #bb8c5e;
    color: white;
    padding: 8px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    //margin-bottom: 4rem;
}
.prefooter {
	margin-top: 3rem;
}
.footer {
	background: #4a4a4a;
	color: white;
	padding: 1rem;
	font-size: 0.9rem;
}

.logo-footer {padding-bottom:30px;}

.navbar {
    padding: 0;
}

.navbar-toggler {
    font-size: 2rem;
}

.navbar-nav {
    background: #bb8c5e;
    padding: 10px 20px;
    color: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #fff;
}

.photogallery {
    background-color: #bb8c5e;
    z-index: 9;
    position: relative;
}

.navbar-dark .navbar-toggler {
    border: none;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #bb8c5e;
    overflow-x: hidden;
    transition: 0.8s;
    padding-top: 60px;
    max-width: 400px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #000;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


.d-block {
    float: left;
}


/* show 2 items */
/*.carousel-inner .active,
.carousel-inner .active + .carousel-item {
    display: block;
}*/

.carousel-control-prev {
    left: 4px;
}

.carousel-control-next {
    right: 4px;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 5px;
}

.d-block {
    padding: 20px;
}

.carousel-inner {
    position: relative;
    /*width: 9999px;*/
    overflow: hidden;
    max-height: 470px;
}
.carousel-item {
    border: 2px solid #ba8b5d;
   /* width: 280px;
    float: left;
    margin-left: 10px;*/
}

.carousel-control-next, .carousel-control-prev {
    opacity: 1;
}

.carousel-caption {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding-top: 0px;
    padding-bottom: 0px;
    color: #6f6f6e;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 125px;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    max-height: 470px;
    float: left;
}

.carousel-indicators {
    bottom: -20px;
}

.carousel-indicators li {
    background-color: #f9f7f5;
}

.carousel-indicators .active {
    background-color: #ba8b5d;
}

.footer-link {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 50px;
    left: 0;
    right: 0;
    z-index: 100;
    font-size: 16px;
    text-transform: uppercase;
}

.bg-chiama {
    background-color: #bb8c5e;
    padding: 6px;
    height: 50px;
}

.footer-link img {
    margin-right: 10px;
    margin-bottom: 5px;
}

/*.carousel-inner .carousel-item-left.active {
  transform: translateX(-50%);
}
.carousel-inner .carousel-item-right.active {
  transform: translateX(50%);
}

.carousel-inner .carousel-item-next {
  transform: translateX(50%)
}
.carousel-inner .carousel-item-prev {
  transform: translateX(-50%)
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left{
  transform: translateX(0);
}*/

img {
  height: auto;
}


@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

	.navbar-collapse {
	    position: absolute;
	    top: 50px;
	}
	.navbar-container {
	    z-index: 9999;
	    position: relative;
	    background: transparent !important; 
	}
	.navbar-transparent{
		background: transparent !important;
	}
	.hero-container {
		margin-top: -60px;
	}
	.navbar-light .navbar-toggler {
    color: rgba(0,0,0,.7);
    border-color: transparent;
	}
	.navbar-light .navbar-toggler-icon {
	    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
	.logo {
	    width: 15%;
	    margin: auto;
	    position: absolute;
	    top: 0;
	    left: 0;
	    bottom: 0;
	    right: 0;
	}
    .photogallery .logo {
	    width: 6%;
	}
    .gallery h2 {
        margin-top: 90px;
	}
	.mn10 {
		margin-top: -10%;
	}
	.mattonella {
		position: absolute;
		top: 0;
		left: 0;
		color: white;
		text-align: center;
		padding: 70px;
		width: 100%;
	}
	.mattonella h1{
		font-size: 3.5rem;
		text-transform: uppercase;
	}
	.mattonella h2{
		font-weight: 300;
		border-top: 2px solid white;
		padding-top: 15px;
		margin-top: 15px;
	}
	.mr0 {
		padding-right: 0;
	}
	.ml0 {
		padding-left: 0;
	}
	.mr5 {
		padding-right: 4px;
	}
	.ml5 {
		padding-left: 5px;
	}
	.mc {
	    padding-left: 4px;
	    padding-right: 1px;
	}

@media all and (max-width: 767px){
	.mr0,.ml0, .mr5, .ml5, .mc {
		padding: 0;
		margin: 0;
	}
	.mob-mb img {
		margin-top: 8px;
	}
	h2 {
		font-size: 2rem;
	}
	.caratteristiche p {
	    margin-top: 1rem;
	    margin-bottom: 2rem;
	    font-size: 1rem;
	}
	.finiture {
	padding-top: 1rem;
	}
	.video {
		margin-bottom: 1rem;
	}
	.finiture a.btn-brown {
	    margin-top: 2rem;
	    margin-bottom: 2rem;
	}
	.btn-brown.tel {
	    margin: 0;
	    width: 100%;
	}
	.modulo h3 {
		font-size: 1.5rem;
	}
    
    .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    display: block;
    transition: 0.3s;
    }
    .sidenav {
    height: 800px;
    }
    

}
@media all and (max-width: 576px){

	.logo {
	    width: 30%;
	    margin: auto;
	    position: absolute;
	    top: 0;
	    left: 0;
	    bottom: 0;
	    right: 0;
	}
    
    .photogallery .logo {
	    width: 20%;
	}
    
	.mattonella {
	    padding: 4rem;
	}
	.mattonella h1 {
	    font-size: 2.6rem;
	    text-transform: uppercase;
	}
	.mattonella h2 {
	    font-size: 2.2rem;
	}
	

}

@media all and (max-width: 430px){

	.mattonella {
	    padding: 3rem;
	    //padding-top: 2rem;
	}
	.mattonella h1 {
	    font-size: 2rem;
	    text-transform: uppercase;
	}
	.mattonella h2 {
	    font-size: 1.5rem;
	}
}
@media all and (max-width: 991px){
	.footer>.container{
		margin-bottom: 50px;
	}
	
}

form .legalLinksDiv a,
.footer .legalLinksDiv a,
.foot-link{
  color: #bb8c5e!important;
}
form .legalLinksDiv a:hover{
	text-decoration: underline;
}
.footer .legalLinksDiv a:hover,
.foot-link:hover{
  color: #fbf7f4!important;
}