/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.10
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*
@import "fonts/fontawesome/css/solid.min.css";
@import "fonts/fontawesome/css/fontawesome.min.css";
@import "fonts/helvetica_neue/HelveticaNeueLTPro-MdCnO.css";
*/

.res-text { font-size: 16px; } /*Dimensione base del testo nei banner */
h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a {  }
pre, blockquote, form, figure, p, dl, ul, ol { margin-bottom: 0.6em; }/*Overwrite padding sotto a <p>*/ 
sup { vertical-align: top; }
ul { list-style: none; }

@media screen and (min-width: 850px){ .row-large>.flickity-viewport>.flickity-slider>.col, .row-large>.col { padding-bottom: 0; } }/*Rimuove padding sotto alle colonne in desktop */ 
.nav>li>a, .nav-dropdown>li>a, .nav-column>li>a, .nav-vertical-fly-out>li>a { color: #2d343f }
.nav-dropdown { min-width: 320px; }
.col { padding-bottom: 0px; } 
strong { font-weight: 700 }

.img-radius { border-radius: 20px; overflow: hidden; }
.nav a:not(.button) { /*font-size: 18px;*/ }
.alt-font {/*font-family: "FuturaStd-Medium", sans-serif; */}
.absolute-footer, #comments { display: none; }

.header-main .header-nav-main { justify-content: flex-end !important; right: 20px; }
.header-main .nav-right { justify-content: end !important; }

.h1,h1,.banner h1 { font-size: 52px; line-height: 1.1; }
.h2,h2,.banner h2 { font-size: 40px; line-height: 1.1; }
.h3,h3,.banner h3 { font-size: 30px; line-height: 1.2; }
.h4,h4,.banner h4 { font-size: 24px; line-height: 1.2; }
.h5,h5,.banner h5 { font-size: 21px; line-height: 1.2; margin-bottom: 0; margin-top: 0; }
/*.h6,h6,.banner h6 { font-size: 20px; line-height: 1.2; }*/

p.lead, a.lead { font-size: 21px; line-height: 1.3; }

.res-text { font-size: 15px !important; }

.section .button { /*padding: 5px 40px;*/ }
.header-social-icons .icon, .link-footer a { color: #fff !important }

.has-transparent + #main .page-header-wrapper:first-of-type .page-title { padding-top: 0 !important; }

/*FORM CONTATTI*/
.block-form .col { padding: 0 15px 5px !important; }
.acceptance .wpcf7-form-control-wrap { display: inline !important; }
.wpcf7 span.wpcf7-list-item { margin-right: 0; }

label.acceptance input { margin-bottom: 0; }

/**************/

.box-text { line-height: 1.3; }
.margin-none { margin: 0 !important }
.message-to .wpcf7-select { background: #e6eaff; }

.row-box-shadow-5 .col-inner, .row-box-shadow-5-hover .col-inner:hover, .box-shadow-5, .box-shadow-5-hover:hover {
  -webkit-box-shadow: 0px 30px 40px 0px rgba(205,205,205,.2);
  box-shadow: 0px 30px 40px 0px rgba(205,205,205,.2); }

.portfolio-inner { text-align: center; }
.portfolio-inner img { width: auto; }
.portfolio-related { display: none; }

.banner-video .button { border-radius: 99px; }
.top-bar-nav li, .top-bar-nav li a { margin-top: 2px !important; padding: 0 !important; border: none; font-size: 13px !important; color: #fff; }

.header-language-dropdown li a { padding: 10px 0 !important; color: #555 !important; margin-top: 0 }

.section-full-morePadding { padding: 5%; }
.blocco_loghi .ux-logo-link { padding: 0 !important; }
.blocco_loghi img { margin: 0 auto !important; width: 65px; height: auto !important; }

.box-overindex { z-index: 11; }

.title-vertical { position: relative; }

.icon-box h3 { font-size: 22px; margin: 23px 0px 0px 5px; }

.section-history .slider h4 { background: #fff; color: #DD0916; padding: 5px 10px; text-transform: uppercase; }
.section-history p.lead { font-size: 17px; line-height: 25px; }
.section-history h4 { font-size: 21px; }

.section-settori .button { padding: 0 !important; width: 100%; margin-bottom: 0; float: left; }

.sd_portfolio .image-cover img { object-fit: contain; padding: 10px; border: 1px solid #eee; }

.mfp-figure figure { background: #fff; padding: 6%; }
.section-box-border > .col { border-left: 1px solid #fff6; margin-bottom: 30px; }

table.table-qualita td { padding-left: 0}
table.table-qualita .button{ margin-bottom:0; }

.form-positions .wpcf7-list-item { display: block; }
.form-positions .wpcf7-form-control-wrap label, .form-positions .wpcf7-form-control-wrap input { margin-bottom: 0; font-weight: normal }

.section-impianti .imperial { display: none }
.section-impianti.is_imperial .imperial { display: inline-block; }
.section-impianti.is_imperial .metric { display: none; }

.dark .nav-line-bottom>li>a:before, .dark .nav-line-grow>li>a:before, .dark .nav-line>li>a:before { background-color: #fff; }

/*Riposizionamento Hearde Languages Menu*/
li.header-language-dropdown { position: absolute; right: 80px; top: -50px; }
li.header-language-dropdown a { font-size: 80%; font-weight: normal; }
li.header-social-icons { position: absolute; top: -47px; right: 0; }
/****************************************/

.mega-menu .nav a { color: #333 !important; }
.stuck .mega-menu .nav > li > a { line-height: 18px !important; }

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode { margin: 0 auto; }


@media screen and (min-width: 850px) {
	/*.large-3 .res-text {font-size: 16px; }*/
}

@media (min-width: 991px){ /*Solo Desktop*/

    .section { overflow-x: clip; } /*Inserito per fix colonne con overlay che sbordano*/

    .title-vertical { position: absolute !important; transform-origin: 0 0; transform: rotate(270deg) translate(calc(-100% - 5px), -40px); font-weight: bold; }

}

@media (max-width: 990px){
   body .is-sticky-section { position: relative !important; }
   body .sticky-section-helper { display: none; }
   body .sticky-section { height: auto !important; }

	.transparent .header-main { height: 120px !important; }

	.link-footer a { padding-bottom: 0 !important; }
}

@media only screen and (max-width: 849px) { /*Tablet e Mobile*/
	
}

@media (min-width: 550px){
	.medium-1 .res-text, .medium-2 .res-text, .medium-3 .res-text, .medium-4 .res-text, .medium-5 .res-text, .medium-6 .res-text, .medium-7 .res-text { font-size: 16px; }
}

@media only screen and (max-width: 549px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.menu-item a {/* font-size: 17px !important; color: #111 !important;*/}
	.mobile-center * { text-align:center; }

	.h1,h1,.banner h1{ font-size: 34px; line-height: 1.2; }
	.h2,h2,.banner h2{ font-size: 32px; line-height: 1.2; }
	.h3,h3,.banner h3{ font-size: 28px; line-height: 1.2; }
	.h4,h4,.banner h4{ font-size: 24px; line-height: 1.2; }
	.h5,h5,.banner h5{ font-size: 22px; line-height: 1.2; }
	.h6,h6,.banner h6{ font-size: 18px; line-height: 1.2; }

	p.lead, a.lead { font-size: 19px; line-height: 1.3; }
}

@media only screen and (max-width: 1200px) {
    #header .hide-for-medium .header-nav { display: none; }
    #header #top-bar .hide-for-medium{ display: none; }
    #header .show-for-medium, #header .show-for-medium .mobile-nav { display: flex !important; }
}

