

@import url(https://fonts.googleapis.com/css?family=Passion+One|Open+Sans:400,700);
:root{
    --nero: #010101;
    --grigio: #555555;
    --white:#ffffff;
    
    --grigio-chiaro:#bcbcbc2b;
}
body,
html {
    font-family: 'Open Sans', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #555;
    width: 100% !important;
    height: 100% !important;
    font-size:19px;
}
/*=================================================================
	BANNER POPUP
==================================================================*/

.popup {
    width: 395px;
    height: auto;
    position: fixed;
    z-index: 1200;
    right: -578px;
    bottom: 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.50);
    border: double 4px var(--grigio);
    background: #fff;
}
#x-button{
    font-weight: 800;
    cursor: pointer;
}
.banner-content {
    background-color: #fff;
    padding: 1px 5px;
}

.banner-content h2 {
    letter-spacing: 2px;
    font-size: 40px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 20px 0;
}

/*.divisore {
	border-bottom:dashed 3px rgb(0,134,103);
	background:#fff;
}*/

.banner-content .fa {
    color: var(--grigio);
    font-size: 2em;
}

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

.popup i:hover {
    cursor: pointer;
    color: var(--grigio);
}

/*=================================================================
	FINE BANNER POPUP
==================================================================*/

.form-control{
    margin:0.3rem;
}
.link-footer{
    margin-top:0.2rem;
    text-decoration: none;
    color: var(--nero);
    border-bottom:2px solid transparent;
}
.link-footer:hover{
    border-bottom:2px solid var(--nero);
    color: var(--nero);
}
.logo-nav{
    max-width: 350px;
    min-width: 350px;
}
.nav-link{
   border-bottom: 2px solid transparent;
}
.nav-link:hover{
    border-bottom: 2px solid var(--nero);
}
.navbar-nav > li > a {
    padding-top: 15px;
    color: var(--nero);
    text-transform: uppercase;
    font-weight: 800;   
    padding-bottom: 15px;
}
.navbar{
    background-color: #f2f2f2;
}

/* gallery */

.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: #fff;
    background-color: rgba(244, 208, 63, 0.7);
}

.grid figcaption h5 {
    margin: 0;
    padding-top: 0px;
    padding-left: 20px;
    padding-bottom: 5px;
    color: #fff;
    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;
    color: #F27E00;
    font-size: 13px;
    background: #fff;
}

.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: #fff;
    border-radius: 0px;
    padding: 6px 15px;
}

.brand-heading {
    text-shadow: 3px 3px #000000;
}

.benv {
    text-shadow: 3px 3px #000000;
}

.intro-text {
    text-shadow: 2px 3px #000000;
}


/* About Section */

#story {
    padding: 80px 0;
    color: #444;
    background: var(--white);
}

#story .about-text {
    margin-left: 10px;
}

#story .section-title.center hr {
    background: #5c750f;
}

#story .padding-left {
    padding-left: 50px;
}

#story H4 {
    color: #333;
}

#story i.fa {
    float: left;
    display: block;
    margin-right: 15px;
    color: #fff;
    font-size: 24px;
    text-shadow: 0 0 1px #666;
}

#story img {
    margin-top: -30px;
    margin-left: 10px;
}

#story p {
    margin-top: 20px;
    margin-bottom: 30px;
}
.carousel-item{
    max-height: 96vh;
    position: relative;
}
.box-hover-slider{
    position: absolute;
    bottom:-4.5rem;
    text-align: center;
    left: 0;
    right: 0;
    margin: 0 auto;

}

h1 {
    font-family: 'Passion One', cursive;
    font-weight: 400;
}

h1 strong {
    font-family: 'Passion One', cursive;
    font-weight: 400;
}

h2 {
    font-family: 'Passion One', cursive;
    text-transform: uppercase;
    line-height: 20px;
    margin: 0;
    font-size:30px;
}

h3 {
    font-family: 'Passion One', cursive;
    font-size: 25px;
    font-weight: 400;
}

h4 {
    font-family: 'Passion One', cursive;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}


h5 {
    font-family: 'Passion One', cursive;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 20px;
}

p {
    font-family: 'Open Sans', sans-serif;
}

p.intro {
    font-size: 16px;
    margin: 12px 0 0;
    line-height: 24px;
    font-family: 'Open Sans', sans-serif;
}



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

ul,
ol {
    list-style: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

ul,
ol {
    padding: 0;
    webkit-padding: 0;
    moz-padding: 0;
}


/* Navigation */

.navbar-custom {
    margin-bottom: 0;
    text-transform: uppercase;
    background-color: #000;
}

.navbar-custom .navbar-brand {
    font-weight: 600;
}

.navbar-custom .navbar-brand i.fa {
    color: #99c11d;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom a {
    color: #fff;
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover {
    outline: 0;
    color: #99c11d;
    background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: transparent;
    color: #99c11d;
}

.navbar-custom .nav li.active {
    outline: 0;
}

.navbar-custom .nav li.active a {
    background-color: rgba(255, 255, 255, .3);
}

.navbar-custom .nav li.active a:hover {
    color: #fff;
}

@media(min-width:768px) {
    .navbar-custom {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
        transition: background .5s ease-in-out, padding .5s ease-in-out;
    }
    .navbar-custom.top-nav-collapse {
        padding: 0;
        background: #000;
    }
}


/* Home Style */



.box{
    padding-left:2vh;
    padding-right:2vh;
    padding-top:5vh;
    padding-bottom:5vh;
}




.section-title.center {
    padding: 30px 0;
}

.section-title h2,
.section-title.center h2 {
    font-weight: 400;
    margin:50px 0 30px 0;
}

.section-title.center hr {
    height: 4px;
    width: 70px;
    text-align: center;
    position: relative;
    background: #99c11d;
    margin: 0 auto;
    margin-bottom: 30px;
    border: 0;

}
.linearossa{
    border: 4px solid #E01111;
    margin:0px;
    opacity: 1
}
.lineabianca{
    border: 4px solid #fff;
    margin:0px;
    opacity: 1
}
.lineaverde{
    border: 4px solid #249E17;
    margin:0px;
    opacity: 1
}




img.img-circle.team-img {
    width: 120px;
    height: 120px;
    border: 4px solid transparent;
    transition: all 0.5s;
}




/* Services Section */










#map{
    filter: grayscale(1);
}
/* Testimonials Section */

#testimonials {
    background: url(../img/testimonial-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    color: #ddd;
    padding: 80px 0;
}

.form-check-input:checked{
    background-color: var(--grigio);
    border-color: var(--grigio);
}

.preventivi {
    font-size: 20px;
}

.text{
    text-align: justify;
    font-size: 1.8rem;
}
#sendBtn{
    display:inline-block;
    border: 2px solid var(--grigio);
    background-color: var(--grigio);
    color:var(--white);
}
#sendBtn:hover{
    
    background-color: var(--white);
    color:var(--grigio);
}
.title{
    padding-top:2vh;
    padding-bottom:4vh;
    line-height: 6rem;
    font-size:8rem;
    text-transform: uppercase;
}
.title-mini{
    font-size:4rem;
}
.subtitle{
    font-size: 4rem;
}

/* Contact Section */




label {
    font-size: 19px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    float: left;
}











.link-privacy {
    color: black;
}



.clean-idea {
    background: url(../img/parallax-terra-giardino.jpg)no-repeat center fixed;
    background-size: cover;
    position: relative;
}

.clean-idea .btn-service {
    display: inline-block;
    font-size: 19px;
    color: var(--white);
    text-decoration: none;
    background-color: var(--grigio);
    border-radius: 10px;
    margin-top: 20px;
    padding: 6px 12px;
    border-radius: 4px;
}
.clean-idea .btn-service:hover {
    
    color: var(--grigio);
    text-decoration: none;
    background-color: var(--white);
    
}

.clean-idea h2 {
    color: var(--grigio);
    font-size: 50px;
    text-shadow: 0px 3px 5px rgba(255, 255, 255, 0.5);
}

.clean-idea span {
    color: var(--white);
    font-size: 30px;
    text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.50);
    line-height: 100px!important;
}

.section-title {
    position: relative;
    font-size: 35px;
    text-transform: uppercase;
}

.padding {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.50);
}
@media screen and (max-width: 1920px){
    .title{
        padding-top:4vh;
        padding-bottom:4vh;
        font-size:6rem;
        line-height: 4rem;
    }
    .subtitle{
        font-size:4rem;
    }
    .text{
        font-size: 1.5rem;
    }
    
}
@media screen and (max-width: 1650px){
    .box-hover-slider{
        bottom:-2.5rem;
    }
    .title{
        padding-top:5vh;
        font-size: 4rem;
        line-height: 2.9rem;
    }
    .subtitle{
        font-size:2.4rem;
    }
    .text{
        font-size: 1.3rem;
    }

}
@media screen and (max-width: 1333px){
    .box-hover-slider{
        bottom:-3rem;
    }
    .text{
        font-size: 1.5rem;
    }
    
}
@media screen and (max-width: 768px){
    .logo-nav{
        max-width: 250px;
        min-width: 250px;
    }
    .title{
        font-size: 3rem;
        line-height: 2.3rem;
    }
    .subtitle{
        font-size: 1.3rem;
    }
    h2 {
        line-height: 35px;
    }
    .text{
        font-size: 1.2rem;
    }
    #story{
        padding-top:80px;
        padding-bottom:20px;
    }
    #works{
        padding-top:0px;
        padding-bottom:20px;
    }
    #servizi{
        padding-top:0px;
        padding-bottom:12px;
    }
    .slide-header{
        object-fit: cover;
        height: 80vh;
        object-position: 25%;
        
    }
    .box-hover-slider{
        bottom:0.5rem;
    }
    .title-mini{
        font-size:2.4rem;
    }
}
@media screen and (max-width: 590px){
    .box{
        padding-top:2vh;
        padding-bottom:2vh;
    }
}