body {
    background: #FFF;
    font-family: 'Droid Sans', sans-serif;
    font-size: 16px;
    position: relative;
}

.logo-footer {
    border-radius: 30px;
}

.img-nav {
    width: 110px;
}

.logo-footer {
    padding: 16px
}

h3 {
    font-size: 19px
}

h2 {
    font-family: 'Droid Sans', sans-serif;
}

.centered {
    display: flex;
    justify-content: center
}

a:hover {
    cursor: pointer;
}

.title-servizi {
    font-weight: 600;
    color: #2BD2C8;
}

/* MODAL START */

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 3em;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: 'Droid Sans', sans-serif;
    font-size: 16px;
    font-style: italic;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #222;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* MODAL END */

.btn,
.btn:hover {
    padding: 3px 6px;
    background-color: #43e6d7;
    border: 1px solid #43e6d7;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    padding: 10px;
}

.hoverimg {
    position: relative;
    opacity: 0.8;
    transition: 0.3s ease;
    cursor: pointer;
}

.hoverimg:hover {
    transform: scale(1.1, 1.1);
    /** default is 1, scale it to 1.5 */
    opacity: 1;
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #2bd2ca;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

/* MODAL hover products start */


#products .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#products .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
}

#products .portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(43, 210, 202, 0.6);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#products .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
}

#products .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 20%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

#products .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

#products .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#products .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0;
}

#products .portfolio-item .portfolio-caption {
    margin: 0 auto;
    padding: 25px;
    max-width: 400px;
    text-align: center;
    background-color: #dedede;
    border-bottom: 1px solid #efefef;
}

#products .portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
    font-size: 17px;
    font-weight: 500;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #666;
}

#products .portfolio-item .portfolio-caption p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-family: 'Droid Sans', sans-serif;
}

@media(min-width:767px) {
    #products .portfolio-item {
        margin: 0 0 30px;
    }
}


/* modal hover products end */

/* MODAL hover detrazioni start */




#detrazioni .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
}

#detrazioni .portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(140, 140, 140, 0);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#detrazioni .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
}

#detrazioni .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #000;
}

#detrazioni .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

#detrazioni .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#detrazioni .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0;
}

#detrazioni .portfolio-item .portfolio-caption {
    margin: 0 auto;
    padding: 25px;
    max-width: 400px;
    text-align: center;
    background-color: #dedede;
    border-bottom: 1px solid #efefef;
}

#detrazioni .portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
    font-size: 17px;
    font-weight: 500;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #666;
}

#detrazioni .portfolio-item .portfolio-caption p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-family: 'Droid Sans', sans-serif;
}

.pork img {
    border: 3px dashed #333;
}

.pork a:focus {
    border: none;
}

.text-partner {
    color: #fff;
    text-transform: uppercase;
    padding-top: 15px;
    padding-left: 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 38px;
    webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* modal hover detrazioni end */

/* start templatemo page container */
@media (min-width: 768px) {
    .templatemo_headerimage {
        padding-top: 4em;
    }

    .text-partner {
        position: absolute !important;
        top: 0;
        right: 0;
    }

    .container {
        width: 700px;

    }

}

@media (min-width: 1024px) {
    .templatemo_headerimage {
        padding-top: 2em;
    }

    .text-partner {
        position: relative !important;
        top: 0;
        right: 0;
    }

    .container {
        width: 700px;

    }

}

@media (min-width: 1440px) {
    .templatemo_headerimage {
        padding-top: 0em;
    }
}

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

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

/* end templatemo page container */

.blue {
    color: #06C;
}

.green {
    color: #090;
}

/* start templatemo navigation */
.navbar-default {
    background-color: #2bd2ca;
    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: 6px 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;
    line-height: 38px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.navbar-default .nav li a:hover {
    background-color: #19827D;
    color: #FFF;
}

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

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #FFF;
    background-color: #19827D;
}

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

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

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #2bd2ca
}

/* end templatemo navigation */

/* start templatemo 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 {
	width: 100%;
	min-width: 648px;
	min-height: 270px;
	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;
    background-color: #2121216b;
}

.templatemo-slider-btn {
    background: #2bd2ca;
    border-radius: 0;
    border: 2px solid transparent;
    color: #FFFFFF;
    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: #8c8c8c;
    border: 2px solid transparent;
}

/* banner */

.popup {
    width: auto;
    height: auto;
    position: fixed;
    z-index: 1000;
    right: -578px;
    bottom: 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.50);
    max-width: 360px;
    min-width: 320px;
    max-height: 480px;
    border-bottom: solid 10px #2bd2ca;
    background-color: #fff;
}

.banner-content {
    padding: 20px 20px 0 20px;

}

.banner-content p {
    color: #444;
}

.banner-content p,
.banner-content h3 {
    margin: 0;
}

.popup i {
    font-size: 1.5em;
    position: relative;
    padding: 4px;
    color: #444;
}

.popup i:hover {
    cursor: pointer;
    color: #2bd2ca;
}

/* end banner */








/* start templatemo features */
.features {
    background: #F9F9F9;
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
    padding: 60px 0 60px 0;
}

.features h2 {
    font-weight: 400;
    padding-bottom: 20px;
}

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

/* end templatemo features */

/* start templatemo about */
#about {
    color: #333;
    padding: 60px 0 60px 0;
}

#about .col-md-12 {
    padding: 20px 0 0 0;
}

#about h2 {
    font-weight: 400;
    padding: 0 0 20px 0;
}

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

#about .skills {
    padding-top: 30px;
}

#about .progress {
    background: #999;
    height: 6px;
    margin: 10px 0 16px 0;
}

#about .progress .progress-bar-success {
    background: #ffa400;
}

/* end templatemo about */

/* start templatemo team */
#team {
    background: #F9F9F9;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 60px 0 60px 0;
}

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

#team h2 {
    font-weight: 400;
    padding: 0 0 20px 0;
}

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

#team 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;
}

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

/* end templatemo team */

/* start templatemo portfolio */
#portfolio {
    text-align: center;
    padding: 60px 0 100px 0;
}

#portfolio h2 {
    font-weight: 400;
    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: #ffa400;
    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 templatemo portfolio */

/* start templatemo contact */
#contact {
    background: #303030;
    color: #EEE;
    padding: 80px 0 80px 0;
}

#contact h2 {
    font-weight: 400;
}

#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 input[type="checkbox"] {
    height: 13px;
}

#contact .form-control:focus {
    background: #444444;
    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: #ffa400;
    border-color: transparent;
    color: #FFF;
}

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

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

a {
    color: #8c8c8c;
}

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

/* end templatemo contact */

/* start templatemo footer */
footer {
    border-top: 1px solid #404040;
    background: #202020;
    color: #FFF;
    padding: 80px 0 40px 0;
}

footer .social_icon a {
    border: 1px solid #FFF;
    border-radius: 50%;
    color: #FFF;
    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;
}

footer .social_icon a:hover {
    border-color: transparent;
    background: #2bd2ca;
}

/* end templatemo footer */

/* starttemplatemo  go top */
.go-top {
    background-color: #2bd2ca;
    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;
}

/* end templatemo go top */


.slider-caption h1 {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
}

.navbar-default .navbar-collapse {
    background-color: #2bd2ca;
}

#vmc {
    width: auto;
}

.navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: #fff;
}

.mb-5 {
    margin-bottom: 1em;
}

@media only screen and (max-width: 1280px) {
    #vmc {
        width: 60%;
    }
}

@media only screen and (max-width: 1199px) {
    #vmc {
        width: 45%;
    }

    .flexslider h1 {
        font-size: 30px;
    }

    .flexslider h2 {
        font-size: 24px;
    }
}

/* start templatemo 768 media quires */
@media only screen and (max-width: 768px) {

    .centered {
        display: block;
        justify-content: unset
    }

    #vmc {
        display: none;
    }

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

    #top>nav>div>div.navbar-header>a.navbar-brand.visible-xs.hidden-md.visible-sm>img {
        max-width: 240px;
    }

    #products .portfolio-item .portfolio-link .portfolio-hover {
        opacity: 1;
    }

    #products .portfolio-item .portfolio-link .portfolio-hover {
        background: none;
    }
}

/* end templatemo 768 media quires */
@media only screen and(max-width:1920px) {
    .container {
        width: 1200px;
    }
}

/* start templatemo 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 templatemo 680 media quires */

    /* start templatemo 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;
        }
    }
}