/*
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";
*/

@font-face { font-family: 'SFProText'; src: url('fonts/subset-SFProText-Light.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'SFProDisplay'; src: url('fonts/subset-SFProDisplay-Bold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* Font Body */ 				body{font-family: SFProText, sans-serif; font-size: 16px; }
/* Font Header */  			h1,h2,h3,h4,h5,h6,.heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a{font-family: "SFProDisplay", sans-serif; }
/* Font Alternative */  .alt-font{font-family: "SFProText", sans-serif; }
/* Font Navigation */  .nav > li > a {font-family: SFProDisplay, sans-serif; text-transform:uppercase !important; }
/* Font Navigation */  .mobile-sidebar-levels-2 .nav > li > ul > li > a { font-family: SFProDisplay, sans-serif; }

.res-text { font-size: 16px; } /*Dimensione base del testo nei banner */
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; }

body strong	{font-family: "SFProDisplay",sans-serif;font-weight: bold;}


@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; font-weight:bold }

/*.stuck .header-main .nav > li > a { color: var(--darkgrey); }*/
.col { padding-bottom: 0px; }

/*.nav a { font-size: 18px; }*/

.alt-font {/*font-family: "FuturaStd-Medium", sans-serif; */}
.absolute-footer, #comments { display: none; }
/*.grecaptcha-badge { visibility: hidden;}*/

/*.header-main .nav > li > a { font-weight: 500; }
.header-nav > li > a { font-weight: normal !important; }*/

/*custom-breadcrumb*/
.custom-breadcrumb {padding-bottom: 15px !important; }
.custom-breadcrumb h1 {color: #333; font-family: "SFProText",sans-serif; font-size: 16px; margin: 0; font-weight:normal; line-height: 32px; }
.custom-breadcrumb a {font-weight:normal }
.custom-breadcrumb a:after {content:" / "; }
.custom-breadcrumb .stack a:nth-child(3):after { content: "";}
/*******************/

.header-main .nav-left { justify-content: flex-end !important; }
/*.header-main .nav-right { justify-content: flex-start !important; }
*/
.h1,h1,.banner h1{ font-size: 60px; line-height: 1.1; }
.h2,h2,.banner h2{ font-size: 48px; line-height: 1.0; }
.h3,h3,.banner h3{ font-size: 35px; line-height: 1.1; }
.h4,h4,.banner h4{ font-size: 28px; line-height: 1.2; }
.h5,h5,.banner h5{ font-size: 22px; line-height: 1.2; margin-bottom: 0; margin-top: 0; }
.h6,h6,.banner h6{ font-size: 20px; line-height: 1.2; }

body .title-xl {font-size: 59px; line-height: 1; font-weight: bold; letter-spacing: -2px; }
body .title-m {font-size: 35px; line-height: 1; letter-spacing: -1px; }
body .title-s {font-size: 29px; line-height: 1; }
body .subtitle {font-size: 25px; line-height: 1.2; letter-spacing: -1px;  }
/*
body .title3 { font-size: 35px; line-height: 1.1; }
body .title4 { font-size: 28px; line-height: 1.2; }
body .title5 { font-size: 22px; line-height: 1.2; margin-bottom: 0; margin-top: 0; }
body .title6 { font-size: 20px; line-height: 1.2; }
*/
p.lead, a.lead { font-size: 21px; line-height: 1.3; font-weight: 400; }

body .dark h1, 
body .dark h2, 
body .dark h3,
body .dark h4,
body .dark h5,
body .dark h6 { color: #fff; }
.res-text { font-size: 15px !important; }

/*HOMEPAGE*/
.main-text { position: absolute; top: 0; z-index: 3; width: 100%; text-align: center; padding: 0 15%; }
.main-text h1 { font-size: 20px; color: #eee; font-family: 'SFProText'; font-weight: 100; }

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

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

.portfolio-box .sd_portfolio_hover { background: #000000e0; top: 0; }
.portfolio-box picture.portfolio-logo { position: absolute; top: 15%; width: 50%; left: 25%; }
.portfolio-box picture.portfolio-logo img { width: 100%; }
.portfolio-box h3.uppercase.portfolio-box-title,
.portfolio-box p.uppercase.portfolio-box-title {font-size: 13px; font-weight: normal !important; font-family: 'SFProText'; margin-bottom: 15px; line-height: 1.2; }
.portfolio-box .portfolio-box-span { margin: 20px 0 0 !important; font-size: 80%; }
.portfolio-box .sd_portfolio_hover .box-text-inner { padding: 30px; }

.blue-evidence { color: #009dc0; }

.slider-badge { font-size: 98%; font-weight: 700; margin-top: 7px!important; }

.single-post .entry-image { max-width: 720px; margin: 0 auto 60px; }
.off-canvas-center.mfp-bg.mfp-ready { opacity: .95; }

.main-slider-portfolio .flickity-viewport { opacity: 75%; }

@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*/

    .transparent .header-main { margin-top: -100px; }

}

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

  body .title-xl {font-size: 36px; line-height: 1; font-weight: bold; letter-spacing: -1px; }
	body .title-m {font-size: 29px; line-height: 1; letter-spacing: 0px; }
	body .title-s {font-size: 20px; line-height: 1; }
	body .subtitle {font-size: 22px; line-height: 1.3; letter-spacing: 0px;  }
}

@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 (max-width: 550px){
	.navbar-header { width: auto; }
	.custom-breadcrumb .col {text-align:center;}
	.custom-breadcrumb .justify-end  {justify-content:center;}
}


@media only screen and (max-width: 549px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.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) {

	.off-canvas .nav-vertical>li>a {padding-bottom: 5px; padding-top: 5px; }
	.off-canvas-center .nav-sidebar.nav-vertical>li .toggle {top: 5px; }
	.nav-vertical>li>ul>li a {font-size: 120%; font-weight: bold; line-height:1.2;padding-bottom: 10px!important; padding-top: 10px!important;  }

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

    li.header-block {display:inline-block;}
}

@media only screen and (min-width: 850px) and (max-width: 1200px) {
	.portfolio-element-wrapper .large-columns-4 .col {
	    max-width: calc(100% / 2) !important;
	    flex-basis: calc(100% / 2) !important;
	}
}

@media only screen and (min-width: 1200px) and (max-width: 1550px) {
	.portfolio-element-wrapper .large-columns-4 .col {
	    max-width: calc(100% / 3) !important;
	    flex-basis: calc(100% / 3) !important;
	}

	
}

@media only screen and (min-width: 1200px) {
	.nav-dropdown { min-width: 400px; }
}