/*
 * TAPI GROUP - ABOR (https://tapigroup.com/abor)
 *
 * Copyright 2011-2022 ANSOFT - www.an-soft.it
 * Licensed under ATHENAE NOCTUA SOFTWARE DI LOSI GIULIANO
 */

html {
    font-family: 'Montserrat Regular';
    scroll-behavior: smooth;
}
body {
    position: relative;
}
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat Bold';
}
p, ul {
    font-family: 'Montserrat Regular';
}
.btn-primary, .btn-primary:hover, .btn-primary:focus {
    text-transform: uppercase;
    background: rgb(238, 177, 153);
    border-color: rgb(238, 177, 153);
    border-radius: 0;
}
section {
    padding: 100px 0;
}
section.bg-color {
    background: #f5f4f0 !important;
}
.category-section {
    font-size: 17px;
    color: #ff6600;
    line-height: 30px;
    font-family: 'Montserrat Light';
    text-align: center;
    text-transform: uppercase;
}
.title-section {
    font-size: 17px;
    font-family: 'Montserrat Bold';
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 30px 0;
}
p {
    font-size: 17px;
    line-height: 30px;
}
/*navbar*/
.navbar {
    height: 90px;
    background: #ffffff;
}
.navbar .navbar-brand img {
    max-height: 55px;
}
.navbar .nav-item {
    border-right: 1px solid black;
    line-height: 1;
}
.navbar .nav-item:last-child {
    border-right: none;
}
.navbar .nav-item .nav-link {
    font-family: 'Montserrat Light';
    color: #000000;
    margin: 0 20px;
}
.navbar .nav-item .nav-link.active {
    border-bottom: 1px solid black;
}


.navbar .nav-item.language-download .nav-link img {
    max-width: 20px;
}
.navbar .nav-item.language-download .dropdown-menu {
    min-width: 5rem;
}
.navbar .nav-item.language-download .dropdown-menu .dropdown-item {
    text-align: center;
}
.navbar .nav-item.language-download .dropdown-menu .dropdown-item img {
    max-width: 20px;
}

/*header*/
.devin-header {
    position: relative;
    background-image: url("../img/tapigroup-devin-heder-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 100%;
    min-height: 800px;
}
.devin-header-content {
    text-align: center;
    margin-top: 150px;
}

/*sezione poject*/
.devin-project ul {
    margin-top: 8rem;
    padding-left: 0;
}
/*sezione principi*/
.devin-concept .img-trash,
.devin-concept .img-recycle {
    display: block;
    max-width: 300px;
    margin: 20px auto;
}
.devin-concept .img-principles {
    width: 75%;
}
/*gallery*/
.devin-gallery a {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
}
.devin-gallery .gallery_hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    background-color: #efeeed;
    background-color: rgba(255,255,255,.9);
    visibility: visible;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -o-transition: opacity .2s;
    -ms-transition: opacity .2s;
    transition: opacity .2s;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    z-index: 1000;
}
.devin-gallery .gallery_hover:hover {
    opacity: 1;
}
.devin-gallery .gallery_hover i {
    background-color: #eeb199;
    color: white;
    width: 46px;
    height: 46px;
    line-height: 2.6;
    border-radius: 100%;
    margin-top: 50%;
}
/*information*/
.devin-contact label {
    font-family: 'Montserrat Light';
}
.devin-contact input, .devin-concept textarea,
.devin-contact .form-control {
    border: 2px solid #eeb199;
}
.devin-contact .btn-primary {
    background: #eeb199;
    border-color: #eeb199;
}
.devin-contact img {
    max-height: 800px;
}
/*lei*/
.lei .lei-logo {
    max-width: 400px;
}
.lei .lei-img {
    max-width: 500px;
    margin: 0 auto;
}
/*footer*/
footer {
    text-align: center;
    padding: 100px 0;
}
footer img.logo {
    max-width: 300px;
    margin: 0 auto;
}
footer a.link {
    display: inline;
    font-family: 'Montserrat Bold';
    color: #000000;
    text-decoration: none;
}

footer a.icon-social {
    display: inline-block;
    width: 40px;
    height: 40px;
    font-family: "FontAwesome";
    line-height: 2.1;
    color: #000000;
    border: 1px solid black;
    border-radius: 100%;
    margin: 0 10px;
}

footer a.privacy {
    font-size: 17px;
    color: #bca26d;
    text-transform: uppercase;
    text-decoration: none;
}

/*arrow return on top*/
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}


/*MEDIA QUERIES*/

/*X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {
    .carousel .carousel-item {
        height: 50rem;
    }
    .carousel .carousel-item .carousel-caption {
        bottom: 10.25rem;
    }
    .carousel .carousel-item .carousel-caption img {
        width: 160px;
    }
}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
    .navbar .nav-item .nav-link {
        margin: 0 10px;
    }
    .carousel .carousel-item img {
        height: 100%;
        width: auto !important;
        margin: 0 0 0;
    }
    .carousel .carousel-item .carousel-caption {
        top: 9.25rem;
    }
    .carousel .carousel-item .carousel-caption img {
        max-width: 200px!important;
        height: auto!important;
    }
}
/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    .carousel .carousel-item img {
        height: 100%;
        width: auto !important;
        margin: 0 0 0;
    }
    .carousel .carousel-item .carousel-caption img {
        max-width: 200px!important;
        height: auto!important;
    }
}
/*X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .navbar {
        height: 115px;
    }
    .navbar .navbar-toggler {
        margin: 10px auto;
    }
    .navbar .navbar-collapse {
        background: #FFFFFF;
    }
    .navbar .nav-item {
        border-right: none;
    }
    /*slider*/
    .carousel {
        margin-top: 115px;
    }
    .carousel .carousel-item {
        height: 35rem;
    }
    .carousel .carousel-item img {
        height: 100%;
        width: auto !important;
        margin: 0 0 0;
    }
    .carousel .carousel-item .carousel-caption {
        top: 0;
    }
    .carousel .carousel-item .carousel-caption img {
        max-width: 100px!important;
        height: auto!important;
        margin-top: 20px;
    }
}