/*
Composite Template
http://www.templatemo.com/preview/templatemo_444_composite
*/

body {
    background: #FFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}
.logo-mappa{
    max-width:80%;
    
}
.btn-phone{
    background-color: #0153a7;
    color: #f6e026;
    font-size: 2rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.btn-phone:hover{
    background-color: #f6e026;
    color: #0153a7;
}
  
#sendBtn{
    background-color: #0153a7;
    color: white;
}
.d-none {
    display: none;
}
.relative {
    position: relative;
}
.x-button{
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-weight: 800;
}
/* start page container */

@media (min-width: 768px) {
    .container {
        width: 700px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 900px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1000px;
    }
}

/* end page container */

h2,
h3,
h4,
h5 {
    font-family: 'Arimo', sans-serif;
}

.blue {
    color: #06C;
}

.green {
    color: #090;
}

/* start navigation */

.navbar-default {
    background: #0153a7;
    border: none;
    box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
    margin: 0;
}

.navbar-default .navbar-brand {
    font-weight: 600;
    font-size: 30px;
    padding: 10px 0 0 0;
    height: 65px;
    line-height: 40px;
}

.navbar-default .navbar-brand:hover {
    color: #ffa400;
}

.navbar-default .nav li a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    height: 65px;
    line-height: 38px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;

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

.navbar-default .nav li a:hover {
    background-color: #f6e026;
    color: #0153a7;
}

.navbar-default .nav li a:focus {
    color: #303030;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #0153a7;
    background-color: #fad60f;
}

.navbar-default .navbar-toggle {
    border: none;
    padding-top: 18px;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #fad60f;
    border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent
}

/* end navigation */

/* start header background slideshow */

#home {
    padding-top: 65px;
}

.flexslider {
    margin: 0 0 60px;
    background: #fff;
    padding: 0;
    position: relative;
    zoom: 1;
    background-color: #371604;
    overflow: hidden;
    margin: 0;
}

.flexslider .slides {
    padding: 0;
    zoom: 1;
}

.flexslider .slides img {
    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;
    text-transform: uppercase;
    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;
}

.templatemo-slider-btn {
    background: #fad60f;
    border-radius: 0;
    border: 2px solid transparent;
    color: #0153a7;
    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;
}

.templatemo-slider-btn:hover,
.templatemo-slider-btn:focus {
    background: #fff;
    color: #fad60f;
    border: 2px solid transparent;
}




/* start promo */

#promo {
    background: #F9F9F9;
    color: #333;
    padding-top: 60px;
    text-align: center;
}

.promo-title h2 {
    color: #0153a7;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
}

#promo h3 {
    font-size: 30px;
    font-weight: 700;
}

#promo h4 {
    font-size: 23px;
    font-weight: 700;
    padding: 0 0 20px 0;
    text-transform: uppercase;
}

#promo p {
    font-size: 20px;
}

.sconti {
    background-color: #fad60f;
    color: #0153a7;
    padding: 10px;
}

.svendita {
    background-color: #0153a7;
    color: #fad60f;
    padding: 10px;
}

.mano{
  font-family: 'Caveat', cursive;
  font-size: 50px;
  color:#000;
}


/* start about */

.intro {
    margin-bottom: 50px;
    padding-top: 20px;
    padding-bottom: 50px;
    border-bottom: 1px solid #ddd;
}

#about {
    background: #F9F9F9;
    color: #333;
    padding: 60px 0 60px 0;
}

#about h1 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#about h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#about h4 {
    font-weight: 600;
    padding-top: 6px;
    padding-bottom: 10px;
}

/* end about */

/* start REALIZZAZIONI */

#realizzazioni {
    background: url(../images/pattern.png);
    border-bottom: 1px solid #f0f0f0;
    padding: 60px 0 60px 0;
}

#realizzazioni h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#realizzazioni h3 {
    color: #0153a7;
    font-weight: 700;
    margin: 10px 0 20px;
}

#realizzazioni .fa {
    background: #fad60f;
    border-radius: 50%;
    color: #FFF;
    font-size: 28px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;

}

#realizzazioni .fa:hover {
    background: #303030;
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.effetto figure img {
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.effetto figure:hover img {
    -webkit-transform: rotate(15deg) scale(1.4);
    transform: rotate(15deg) scale(1.4);
}


.effetto figure {
    margin: 0;
    position: relative;
    border: 1px solid #eee;
}

.effetto figure img {
    width: 100%;
    display: block;
    position: relative;
}

.effetto figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.6);
}

.effetto 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;
}

.effetto figcaption a {
    text-align: left;
    padding: 5px 10px;
    margin-left: 20px;
    display: inline-block;
    background: #2f2f2f;
    color: #F27E00;
    font-size: 13px;
    background: #fff;
}

.effetto figure {
    overflow: hidden;
}

.effetto 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;
}

.no-touch .effetto figure:hover figcaption,
.effetto 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;
}

.effetto figcaption a {
    position: absolute;
    /* top: 10px; */
    bottom: 10px;
    right: 30px;
    background: #000;
    color: #fff;
    border-radius: 0px;
    padding: 6px 15px;
}










/* start features */

.features {
    background: #F9F9F9;
    border-bottom: 1px solid #f0f0f0;
    padding: 60px 0 60px 0;
}

.features h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

.features h3 {
    font-weight: 400;
    padding-bottom: 6px;
}

.features .fa {
    background: #fad60f;
    border-radius: 50%;
    color: #FFF;
    font-size: 28px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;

}

.features .fa:hover {
    background: #303030;
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

/* end features */
/*=================================================================
	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:#fff;
}

.banner-content {
	background-color:#fff;
	padding:15px;
	text-align:center;
}

.banner-content h3 {
	letter-spacing:2px;
	font-size:25px;
	line-height:30px;
	margin:5px 0;
	color:#2439c6;
}

.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: 27px;
    position: absolute;
    padding: 0px;
	color:#000;
	z-index:999;
}

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

/* start servizi */

#servizi {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 60px 0 60px 0;
}

#servizi .col-md-3 {
    margin-bottom: 20px;
}

#servizi h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#servizi h3 {
    background: #FFF;
    color: #fad60f;
    font-weight: 600;
    padding: 10px;
}

#servizi img {
    cursor: pointer;
    display: inline-block;
    margin-top: 60px;
    margin-bottom: 10px;
    position: relative;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#servizi img:hover {
    border-radius: 50%;
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0.7;
}

/* end servizi */

/* start portfolio */

#portfolio {
    background: #F9F9F9;
    text-align: center;
    padding: 60px 0 100px 0;
}

#portfolio h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#portfolio p {
    margin-bottom: 60px;
}

#portfolio .col-md-3 {
    padding: 4px;
}

#portfolio .image_thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

#portfolio .image_thumb .image_overlay {
    background: #fad60f;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    top: 0;
    left: 0;
    bottom: 0;
    /*padding-top: 46px;*/
    text-align: center;
}

#portfolio .image_thumb:hover .image_overlay {
    opacity: 0.9;
}

#portfolio .image_thumb .image_overlay .fa {
    background: #EEE;
    border-radius: 50%;
    color: #444;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    opacity: 1;
    /*http: //www.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/; */
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

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

/* end portfolio */

/* MAPPA */



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

/* end MAPPA */

/* start contact */

#contact {
    background: url(../images/pattern.png);
    color: #333;
    padding: 80px 0 80px 0;
}

#contact h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#contact .text-center p {
    padding: 0 0 60px 0;
}

#contact h2,
#contact h3 {
    padding: 0 0 20px 0;
}

#contact .form-control {
    background: transparent;
    border: 1px solid #444;
    border-radius: 0px;
    color: #FFF;
    margin: 10px 0 10px 0;
}

#contact input {
    height: 60px;
}

#contact .form-control:focus {
    background: #ddd;
    border-color: transparent;
    box-shadow: none;
}

#contact input[type="submit"] {
    color: #FFF;
    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: #fad60f;
    border-color: transparent;
    color: #0153a7;
}

#contact .address {
    padding: 20px;
    padding-top: 0;
    margin: 0;
}

#contact .fa {
    color: #0153a7;
    font-size: 20px;
    padding: 6px 10px 6px 0;
}

a {
    color: #333;
}

a:hover,
a:active {
    color: #0153a7;
    text-decoration: none;
}

#contact .social_icon a {
    border: 1px solid #0153a7;
    border-radius: 50%;
    color: #0153a7;
    font-size: 25px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    margin: 0 4px 24px 6px;
    margin-top: 20px;
}

#contact .social_icon .fa {
    padding: 0;
}

#contact .social_icon a:hover {
    border-color: transparent;
    background: #0153a7;
    color: #fff;
}

/* end contact */

/* start footer */

footer {
    border-top: 1px solid #404040;
    background: #202020;
    color: #FFF;
    padding: 20px 0 10px 0;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #0153a7;
}

/* end footer */

/* start privacy */

#privacy {
    background: #F9F9F9;
    color: #333;
    padding: 60px 0 60px 0;
}

#privacy h1 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#privacy h2 {
    color: #0153a7;
    font-size: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
}

#privacy h4 {
    font-weight: 600;
    padding-top: 6px;
    padding-bottom: 10px;
}

/* start privacy */

/*--------------------------------------------------------------------------
+	Parallax Style
--------------------------------------------------------------------------*/

#parallax {
    background: url(../images/parallax.jpg) center center fixed;
    background-size: cover;
    border-bottom: 3px solid #004f98;
}

.parallax-overlay {
    padding: 50px 0;
}



/* start go top */

.go-top {
    background-color: #fad60f;
    border-radius: 50%;
    bottom: 2em;
    right: 2em;
    color: #FFF;
    display: none;
    position: fixed;
    text-decoration: none;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.go-top:hover {
    color: #F9F9F9;
}


/* ---------------------dicono di noi---------------------- */


.backrecensioni {
    background-image: url(../images/recensioni.jpg);
    background-position: center;
    background-size: cover;
    height: 600px;
}

.carousel-content {
    color:black;
    align-items:center;
}

#text-carousel {
  width: 100%;
  height: auto;
  padding: 50px;
}


.carousel-control.right {
    right: 0;
    left: auto;
    background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0) 0%), color-stop(rgba(0, 0, 0, 0) 100%));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x;
}

.carousel-control.left {
    background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0) 0%), color-stop(rgba(0, 0, 0, 0) 100%));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
}

.titolodicono{
    font-size: 50px;
    text-align: center;
    font-weight: 700;
    color: #0153a7;
}

.tdicono {
    font-size: 25px;
    text-align: center;
    font-weight: 300;
    color: #000;
}
.item{
  padding-top:40px;
}

.leaflet-popup-content{
    text-align: center;
    font-size: 14px!important;
}
/* end go top */

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

/* start 768 media quires */

@media only screen and ( max-width: 768px) {
    .navbar-default .navbar-brand {
        margin-left: 20px;
    }
    .navbar-default .navbar-nav {
        margin: 0;
    }
    .navbar-default .navbar-collapse {
        padding-left: 20px;
        padding-right: 20px;
    }
    .flexslider h1 {
        font-size: 26px;
    }
    .flexslider h2 {
        font-size: 18px;
    }
    .templatemo-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: 40px;
    }
    /* end 680 media quires */
    /* start 600 media quires */
    @media only screen and ( max-width: 640px) {
        .flexslider h1 {
            font-size: 20px;
        }
        .flexslider h2 {
            font-size: 14px;
        }
        .templatemo-slider-btn {
            width: auto;
            height: auto;
            padding: 10px 20px;
            margin-top: 10px;
        }
    }
    /* end 600 media quires */

    @media only screen and (max-width: 600px){
      .backrecensioni {
          background-image: url(../images/recensioni.jpg);
          background-position: center;
          background-size: cover;
          height: 800px;
      }
    }
