/*
Theme Name: Un
Theme URI: 
Author: the development theme
Author URI: 
Description: Starter theme whith bootstrap 4.5
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 0.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: un
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body{
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding-top: 70px;
    /* font-family: 'Lato', sans-serif; */
    font-family: 'Poppins', sans-serif;
  }
body.home{padding-top: 0;}
  
.main-content{
    flex:1;
  }
  

/* Comments
-------------------------------------------------------- */
#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}

/* Input & textarea
-------------------------------------------------------- */
input,
textarea{padding: 5px 10px; border: 1px solid #ccc;}


/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* pagination
-------------------------------------------------------- */
.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* WordPress Core Styles
-------------------------------------------------------------- */
.gallery-caption{padding:5px; font-size: 10px;}
.bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.alignnone {
   margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
   display: block;
   margin: 5px auto 5px auto;
}

.alignright {
   float:right;
   margin: 5px 0 20px 20px;
}

.alignleft {
   float: left;
   margin: 5px 20px 20px 0;
}

a img.alignright {
   float: right;
   margin: 5px 0 20px 20px;
}

a img.alignnone {
   margin: 5px 20px 20px 0;
}

a img.alignleft {
   float: left;
   margin: 5px 20px 20px 0;
}

a img.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.wp-caption {
   background: #fff;
   border: 1px solid #f0f0f0;
   max-width: 96%; /* Image does not overflow the content area */
   padding: 5px 3px 10px;
   text-align: center;
}

.wp-caption.alignnone {
   margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
   margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
   margin: 5px 0 20px 20px;
}

.wp-caption img {
   border: 0 none;
   height: auto;
   margin: 0;
   max-width: 98.5%;
   padding: 0;
   width: auto;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   margin: 0;
   padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
 clip: rect(1px, 1px, 1px, 1px);
 position: absolute !important;
       white-space: nowrap;
 height: 1px;
 width: 1px;
 overflow: hidden;
}

.screen-reader-text:focus {
 background-color: #f1f1f1;
 border-radius: 3px;
 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
 clip: auto !important;
 color: #21759b;
 display: block;
 font-size: 14px;
 font-size: 0.875rem;
 font-weight: bold;
 height: auto;
 left: 5px;
 line-height: normal;
 padding: 15px 23px 14px;
 text-decoration: none;
 top: 5px;
 width: auto;
 z-index: 100000; /* Above WP toolbar. */
}




/* Slider
-------------------------------------------------------- */
.carousel,
.carousel-inner,
.carousel-item
{
   height: 650px;   
}

/* .carousel-control-next-icon, .carousel-control-prev-icon{
    position: absolute;
    bottom: 25px;  
} */

.margin-bottom{
    margin-bottom: 100px;
}

.slider-big .carousel-caption{
    width: 100%;
    left: 0;
    right: 0;    
}


.slider-big .carousel-caption h3{
    font-size: 55px;
    font-weight: bold; 
    max-width: 800px;   
    animation: animate_text 1s ease forwards;
    animation-delay: .5s;
    opacity: 0;
}

.slider-big .carousel-caption .carousel-text p{
    font-weight: 300;
    font-size: 22px;
}


.btn-outline-light:hover{
    background: #E30000;
    border-color: #E30000;
    color: #fff;
}

.socials{
    position: absolute;
    top: 30%;
    right: 3%;
    display: block;
    width: 30px;
    z-index: 100;
}

.socials i {
    margin: 20px 0;
    text-align: center;
    width: 100%;
    font-size: 20px;
    color: #fff;
}

.socials i:hover{
    color: #E30000;
    cursor: pointer;
}

@keyframes animate_text{
    0%{
        top: 30%;
        opacity: 0;
    }
    70%{        
        opacity: 0.3;
    }
    100%{        
        opacity: 1;
        top: 25%;
    }
}

/* video */
.slider-big .modal-content {
    background: transparent !important;
    border: none !important;
}


/* Graficizzazione castom */

.trattino{
    width: 60px;
    height: 3px;
    background: #E30000;
    margin-top: 15px;
}

.animate{
    webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }

/* Barra del menu */

.admin-bar .navbar{top:32px;}
.home .bg-primary{
    background: transparent !important;
}

.home.is-scrolled .bg-primary{
    background: rgb(51, 51, 51) !important;
}

.home.is-scrolled .navbar-brand{
    width: 20px !important;   
}

.navbar-brand{
    width: 100px;
}

/* Logo e voci di menu */
.navbar-brand img{
    width: 3.5rem !important;
}

.nav-link{
    text-transform: uppercase;
    font-size: .9rem;
}



/* Inizio Chi siamo */ 

#chisiamo .section-header h3 {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;    
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.chi-siamo{
    padding-top: 100px;
    background: #fff !important;
}

.chi-siamo h2 {
    font-size: 30px;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 800;
}

.chi-siamo .section-content  a{ 
    display: inline-block;
    text-decoration: none;
    background:#E30000;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid #E30000;
    transition: all 0.3s ease;
}
.chi-siamo .section-content a:hover{ 
    color: #E30000;
    background: none;
}


/* Servizi */

#offering{
    padding-top: 110px;
}

#offering .section-header h3 {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.box-area{   
    min-height: 437px;
    float: left;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 25px;
    text-align: center;
    margin: 0 5px; 
    border-radius: 5px !important;
    border: 1px solid #adadad !important;   
}

.box-area h2{
    margin-top: 25px;
    font-size: 1.4rem !important;
    font-weight: 700;
}

.box-area p{
    margin-top: 25px;
    font-size: .87rem !important;
    line-height: 1.6;
    text-align: justify;
}
.icons {
    width: 50px;
    height: 50px;
    background: #E30000;
    border-radius: 50%;
    display: inline-block;
}

.icons i{
    color: #fff;
    font-size: 25px;
    padding: 12px;
}

.box-area::before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(100%);
}

.box-area::after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(-100%);
}

.box-area:hover::before{
    border-color: #E30000;
    height: 100%;
    transform: translateX(0);
    transition: .3s transform linear, .3s height linear .3s;
}

.box-area:hover::after{
    border-color: #E30000;
    height: 100%;
    transform: translateX(0);
    transition: .3s transform linear, .3s height linear .5s;
}

.section-title span.title-tag {
    text-transform: uppercase;
    font-weight: 700;
    color: #E30000;
    font-family: "Oswald", sans-serif;
    line-height: 1;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}

.section-title.both-border span.title-tag {
    padding-left: 50px;
    padding-right: 50px;
}

.section-title.both-border span.title-tag::after {
    left: auto;
    right: 0;
}

.section-title.both-border span.title-tag::before {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 2px;
    width: 30px;
    background-color: #E30000;
    content: '';
}

.section-title.both-border span.title-tag::after {
    position: absolute;
    left: 153px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 2px;
    width: 30px;
    background-color: #E30000;
    content: '';
}




/* Competenze */

#skills .section-header h3 {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
#skills .section-header p {
    text-align: center;
    padding-bottom: 30px;
    color: #333;
}

#skills .section-header span.title-tag {
    text-transform: uppercase;
    font-weight: 700;
    color: #E30000;
    font-family: "Oswald", sans-serif;
    line-height: 1;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}


#skills .section-header span.title-tag::before {
    position: absolute;
    left: -55px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 2px;
    width: 30px;
    background-color: #E30000;
    content: '';
}

#skills .section-header span.title-tag::after {
    position: absolute;
    left: 138px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 2px;
    width: 30px;
    background-color: #E30000;
    content: '';
}

#skills {
    padding: 60px 0;
  }
  
  #skills .progress {
    height: 35px;
    margin-bottom: 10px;
  }
  
  #skills .progress .skill {
    font-family: "Open Sans", sans-serif;
    line-height: 35px;
    padding: 0;
    margin: 0 0 0 20px;
    text-transform: uppercase;
  }
  
  #skills .progress .skill .val {
    float: right;
    font-style: normal;
    margin: 0 20px 0 0;
  }
  
  #skills .progress-bar {
    width: 1px;
    text-align: left;
    transition: .9s;
  }



/*--------------------------------------------------------------
# Prodotti
--------------------------------------------------------------*/
#prodotti{
    padding-top: 110px;
}
#prodotti .carousel,
#prodotti .carousel-inner,
#prodotti .carousel-item
{
   height:300px; 
  
     
}
.prodotti .prodotti__content{
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column; 
     height: 100%;   
     width: 100%;
     color: #fff;
}

.prodotti .prodotti__content h2{
    font-size: 45px;
    font-weight: bold;
}

.prodotti .prodotti__content p{
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
     
}
.prodotti{
    background: #fff !important;
}

#prodotti .section-header h3 {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
#prodotti .section-header p {
    text-align: center;
    padding-bottom: 30px;
    color: #333;
}

#prodotti .section-header span.title-tag {
    text-transform: uppercase;
    font-weight: 700;
    color: #E30000;
    font-family: "Oswald", sans-serif;
    line-height: 1;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}


#prodotti .section-header span.title-tag::before {
    position: absolute;
    left: -55px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 2px;
    width: 30px;
    background-color: #E30000;
    content: '';
}

#prodotti .section-header span.title-tag::after {
    position: absolute;
    left: 177px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 2px;
    width: 30px;
    background-color: #E30000;
    content: '';
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contatti{
    padding-top: 110px;
}
#contatti h3{
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: bold; 
    font-size: 30px;
}

#contatti .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    background-clip: padding-box;
    border: 0 !important;
    border-radius: 0 !important;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.wpcf7 .wpcf7-form textarea {
    min-height: 100px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color:#fff !important;
    opacity: 1; /* Firefox */
    font-family: 'Montserrat';
    font-size: 12px;
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:#fff !important;
    font-family: 'Montserrat';
    font-size: 12px;
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color:#fff !important;
    font-family: 'Montserrat';
    font-size: 12px;
  }

  #contatti .btn-primary{
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;     
  }

  #contatti .btn {    
    font-family: 'Montserrat';
    color: #fff !important;
    border: 1px solid transparent;
    padding: .475rem 2.75rem !important;
    font-size: 12px !important;   
    border-radius: 0 !important;
    
}


#footer.bg-dark{
    background-color: #EAE8E8 !important;
}

#footer span{
    color: #707070 !important;
    font-size: .7rem;
}

#footer ul{
    list-style: none;
    color: #707070 !important;
    font-size: .7rem;
}

#footer ul li{
    margin-left: 15px;
}

#footer ul li a{
    color: #707070 !important;
}

.policy{
    display: flex;
    justify-content: flex-end;
}

.copy{
    margin-bottom: 0;
}




/* --------------------------------------------------------
Tablet
-------------------------------------------------------- */
@media (max-width:998px){
    
  }
  
  /* --------------------------------------------------------
  Smartphone
  -------------------------------------------------------- */
  
  @media (max-width:767px){
  
    .slider-big .carousel-caption h3 {
        font-size: 2em;
        
    }

    .slider-big .carousel-caption .carousel-text p {       
        font-size: 18px;
    }
  
  }



