/* GENERAL */

/* All delay classes will take 2x longer to start */
:root {
    --animate-duration: 800ms;
    --animate-delay: 0.9s;
}

html {
    scroll-behavior: smooth;
}

.section-title-wrap:after {
    background-color: #DE0602;
}
.single-widget-wrap .widget-title:before {
    background-color: #DE0602;
}

/* LOADER */
.spinner-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .985);
    z-index: 999999;
    -webkit-transition: all .10s ease 0s;
    -o-transition: all .10s ease 0s;
    transition: all .10s ease 0s
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 100px auto;
    background-color: #333;

    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 100% {
          -webkit-transform: scale(1.0);
          transform: scale(1.0);
          opacity: 0;
      }
}
/* NAVBAR */
.navbar-nav {
    margin: 0 auto;
}
.navbar-nav .nav-item {
    margin-right: 20px;
    line-height: 1;
}
.navbar-nav .nav-item .nav-link {
    font-family: Poppins, sans-serif;
    font-weight:bold;
    text-transform: uppercase;
}
.language-links {
    width: 130px;
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(0,0,0,.5);
    font-weight: 600;
}
.language-links a {
    color: #DE0602!important;
}
/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    .language-links {
        display: none;
    }
}
/* CHI SIAMO */
.welcome-section {
    background: #f4f4f4;
}
.welcome-section h4 {
    font-size: 24px;
    margin: 0px;
}
/* HIGHLIGHT */
.section-highlight {
    background: url("../img/df-bg-section.jpg");
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0px;
}
.section-highlight .section-title-wrap h2 {
    color: #FFFFFF;
}

/* SERVIZI */
.our-service-content-area {
    background: #ffffff;
    padding: 100px 0;
}
.single-call-action-wrap {
    background: transparent;
    padding: 20px 30px;
}
.single-call-action-wrap .call-action-icon {
    max-width: 100px;
    color: #DE0602;
    text-align: center;
    margin: 0 50px;
}
.single-call-action-wrap .call-action-icon i {
    font-size: 85px;
    font-family: 'fontawesome';
}
.single-call-action-wrap .call-action-icon i.fa-warehouse {
    font-size: 70px;
    font-family: 'fontawesome';
}
.single-call-action-wrap .call-action-info {
    color: #0b0b0b;
}
.single-call-action-wrap .call-action-info h2 {
    color: #000000;
    line-height: 1;
    margin-bottom: 15px;
}
.single-call-action-wrap .call-action-info p {
    line-height: 1.3;
}
/* CERTIFICATI */
.call-out-elem-3 .portfolio-btns img {
    max-height: 170px;
    margin: 0 0 20px 0;
}

/* CONTATTI */
.con-form-elem-3 {
    background-image: url("../img/df-map.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.con-form-elem-3 .responsive-map {
    display: none;
}
/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .single-call-action-wrap .call-action-icon {
        margin-bottom: 48px;
        margin-right: 0;
        margin-left: 0;
    }

    .about-thumbnail-area {
        display: none;
    }
    #cookie-policy-box {
        padding: 60px 40px 100px;
    }
}


/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-brand {
        max-width: 200px;
    }
    .main-menu>li {
        margin-right: 40px;
    }
    .single-call-action-wrap .call-action-icon {
        /*margin-bottom: 25px;*/
        /*margin-right: 0;*/
        /*margin-left: 0;*/
        margin: 0 auto 25px;
        font-size: 60px;
    }

    .single-call-action-wrap .call-action-info {
        text-align: center;
    }

    .about-thumbnail-area {
        display: none;
    }
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    .sticky-header {
        background:white;
    }
    .navbar-brand img {
        display: none;
    }
    .logo-wrap img.sticky-logo {
        display: inline-block;
    }

    .navbar-brand img {
        max-width: 200px;
    }
    .navbar-light .navbar-toggler {
        border: none;
    }
    .main-menu {
        text-align: center;
        margin-top: 50px;
    }
    .main-menu li, .main-menu li:last-child {
        margin: 10px 0px;
    }
    .h3, h3 {
        font-size: 22px;
    }

    .welcome-section {
        text-align: center;
    }
    .welcome-section .heading-2-column-3 h2 {
        font-size: 24px;
    }
    .welcome-section img {
        margin: 0 0 35px 0;
    }

    .our-service-content-area {
        text-align: center;
    }

    .our-service-content-area [class*=col-]:nth-child(2n) .single-call-action-wrap {
        background: transparent !important;
    }
    .single-call-action-wrap .call-action-icon {
        margin: 20px auto;
    }
    .single-call-action-wrap .call-action-info h2 {
        margin-bottom: 5px;
    }

    .con-form-elem-3 .responsive-map {
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
        margin-bottom: 20px;
    }
    .con-form-elem-3 .responsive-map img {
        position: absolute;
        bottom: 100px;
        right: 300px;
        max-width: 500%;

    }

    .footer-wrapper .footer-widget-wrapper .single-widget-wrap {
        text-align:center !important;
    }
    .footer-wrapper .footer-widget-wrapper .single-widget-wrap .widget-title:before {
        ackground-color: #DE0602;
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        height: 3px;
        width: 70px;
    }
    .float-sm-none {
        float: none!important;
    }
    .footer-bottom-area {
        text-align: center;
    }

    #cookie-policy-box {
        padding: 40px 20px 100px;
    }
    #accept-cookie {
        left: 42%;
    }

    #cookie-policy-box {
        padding: 10px 10px 10px;
    }

}


/* PORTFOLIO */
.portfolio-area-wrapper {
    background: #f4f4f4;
}
.port-details-thumb-item {
    margin: 10px 0px;
}

/*BOX COOKIE E PRIVACY*/
/* Cookie & Privacy */
#cookie-policy-box {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 100%;
    padding: 60px 200px 100px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 23px;
    text-align: center;
    z-index: 1;
    color: #FFFFFF;
    background: #1c1e22;
}

#cookie-policy-box a {
    color: #FFF;
    text-decoration: underline;
}

#cookie-policy-box a:hover {
    color: #FFF;
    text-decoration: none;
}

.btn-cookie {
    display: inline-block;
    width: 200px;
    padding: 10px 20px;
    background: var(--thm-base);
    color: #FFFFFF;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none !important;
    border-radius: 5px;
    margin: 0 10px;
}

#accept-cookie:hover {
    color: #FFF;
    text-decoration: none;
}


/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3) {
    #cookie-policy-box {
        padding: 10px 10px 75px;
    }
    #accept-cookie {
        bottom: 25px;
    }

}