/**
Theme Name: Navalhead
Author: Fucine SRL
Author URI: http://fucine.it/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: navalhead
Template: astra
*/



:root { 
    --nh-blue: #0057B8;
    --nh-softblue: #93A9CE; 
    --nh-yellow: #FFCD00; 
    --nh-ink: #333; 
    --nh-photo-bg: #E3E4E6; 
    --nh-linear-gradient-vividblue: linear-gradient(90deg,rgba(0, 159, 227, 1) 0%, rgba(0, 87, 184, 1) 100%);
    --nh-linear-gradient-darkblue: linear-gradient(90deg,rgba(0, 159, 227, 1) 0%, rgba(0, 62, 81, 1) 100%);
    --nh-linear-gradient-softblue: linear-gradient(90deg,rgba(147, 169, 206, 1) 0%, rgba(0, 87, 184, 1) 100%);
}

.nh-awards {
	scroll-margin-top: 120px;
}

#page .site-content {
    background-color: white;
        margin: 150px 0 0 0 !important;
}

.search-results .author-name{
    display: none !important;
}

body.has-nh-page-hero #page .site-content, 
body.single-team #page .site-content {
    margin: 0 0 120px 0 !important;
}

body.single-team .main-header-bar {
    background: none !important;
}

body .main-header-bar{
    box-shadow: 0 0 50px rgba(10, 61, 85, 0.39);
}



@media (min-width:201px) {
    body.home .site-content .ast-container {
        max-width: none !important;
        padding: 0 !important;
    }
    body.home #page .site-content {
        background-color: white;
        margin: 0 !important;
    }
}

.ast-normal-title-enabled .entry-title{
    font-weight: 600;
    font-size: 38px !important;
    color: var(--nh-blue);
    margin-bottom: 2em;
}
.nh-page-subtitle{
    font-weight: 400;
    margin-bottom: 3em;
  
}
body .entry-content a {
    text-decoration: none !important;
}


.ast-plain-container, .ast-page-builder-template {
    background-color: #fff !important;
    background-image: none;
}

body #ast-scroll-top {
    background-color: #0057b8;
        	box-shadow: 0 0 50px rgba(10, 61, 85, 0.59);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
body #ast-scroll-top .ast-icon svg:not([fill]) {
    fill: #fff !important;
}

.ast-button-wrap .menu-toggle:focus {
    outline: none !important;
}

.ast-mobile-menu-trigger-minimal:focus,
.menu-toggle-close:focus {
    border: none !important;
}

.ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: var(--nh-blue) !important;
}
.ast-icon svg:not([fill]) {
    fill: var(--nh-blue) !important;
}

body.home .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg, 
body.home .ast-icon svg:not([fill]){
    /* fill: white !important; */
}

body.home .ast-sticky-active .mobile-menu-toggle-icon .ast-mobile-svg, 
body.home .ast-sticky-active .ast-icon svg:not([fill]) {
    fill: var(--nh-blue) !important;
}

.ast-site-identity {
    padding: .3em 0;
    background: radial-gradient(circle,rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 50%);
}
.ast-primary-header-bar {
    background-color: rgba(255, 255, 255, 0.18) !important;
    background-image: none;
}
.main-header-bar {	
  background: 
    linear-gradient(
      to bottom,
      transparent 0,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.69) 100%
    ),
    rgba(255, 255, 255, 0.0) !important;
}
#ast-fixed-header .main-header-bar {
    box-shadow:0 0 50px rgba(0,0,0,.1) !important;
    border-bottom: 1px solid rgba(28, 72, 189, 0.08) !important;
}

.page-id-35 .main-header-bar {	
  background: 
    linear-gradient(
      to bottom,
      transparent 00%,
      rgba(255, 255, 255, 0.20) 0%,
      rgba(255, 255, 255, 0.10) 50%,
      rgba(255, 255, 255, 0.0) 100%
    ),
    rgba(255, 255, 255, 0.0) !important;
}


.page-id-35 .nh-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, color-mix(in srgb, var(--nh-blue) 5%, transparent) 0%, transparent 100%),
		linear-gradient(to right, color-mix(in srgb, var(--nh-blue) 5%, transparent) 0%, transparent 5%),
		linear-gradient(to bottom, color-mix(in srgb, var(--nh-blue) 5%, transparent) 0%, transparent 5%);
	pointer-events: none;
}

.page-id-35 .site-content {
position: relative;
    z-index: 1;
}
.page-id-35 .site-content::before {
	content: "";
	position: absolute;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	z-index: -10;
	background-image: url("assets/img/simbolo-blu.png");
    background-repeat: no-repeat;
    background-position: center 100px;
    background-size: 80%;
	opacity: 0.6;
	pointer-events: none;
}


  .ast-article-single figure,
  .ast-article-single img:not(figure img) {
  	box-shadow: none !important;
  }


/* Stile Contacts */




.yellow-line-left {
    font-size: 20px;
	--nh-ring: 1.8rem;
	--nh-stroke: 2px;
	position: relative;
    padding-right: 5rem;
	padding-bottom: 2rem;
    display: inline-block;
    margin-bottom: 0px;
}

.yellow-line-left::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: var(--nh-ring);
	height: var(--nh-ring);
	border: var(--nh-stroke) solid var(--nh-yellow);
	border-radius: 50%;
	box-sizing: border-box;
	background: radial-gradient(
		circle,
		var(--nh-yellow) 0 calc(var(--nh-ring) / 6),
		transparent calc(var(--nh-ring) / 6 + 0.5px)
	);
	translate: -50% 0;
}

.yellow-line-left::after {
	content: "";
	position: absolute;
	bottom: calc(var(--nh-ring) / 2 - var(--nh-stroke) / 2);
	right: calc(var(--nh-ring));
	width: 100vw;
	height: var(--nh-stroke);
	background: var(--nh-yellow);
}

/* Linea gialla dei contatti: entra da sinistra, poi si apre il cerchio. */
@media (prefers-reduced-motion: no-preference) {
	.yellow-line-left::after {
		animation: nh-line-from-left 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both;
	}

	.yellow-line-left::before {
		animation: nh-ring-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.25s both;
	}

	@keyframes nh-line-from-left {
		from { translate: -100vw 0; }
	}

	@keyframes nh-ring-in {
		from { scale: 0; opacity: 0; }
	}
}

body.page-id-51 #page {
    position: relative;
    z-index: 1;
}

body.page-id-51 #page::before {
    content: "";
    position: absolute;
    top: 0;
    left:0;
    right:0;
    bottom:0;
    inset: 0px;
    padding: 0px;
    background-image: url("assets/img/CB22930.jpg");
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.3;
    z-index: -10;
    background-color: #064953;
}
@media (min-width: 200px) and (max-width: 768px)  {
body.page-id-51 #page::before {
background-position: right -200px top -0px !important;
    background-repeat: no-repeat;
    background-size: 300%;
    opacity: 0.3;
    z-index: -10;
    background-color: #064953;
}
}

body.page-id-51 #page .site-content {
    background-color: transparent;
    margin: 150px 0 !important;
}

body.page-id-51 .gform_body {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.79) !important;
    border-radius: 5px;
}


/* Stile base Gravity */


.gform_title{
    color: var(--nh-blue);
    font-size: 30px;
    margin: 0;
}

.gform_required_legend {
    color: #777;;
    font-size: 14px !important;
}


.gform-theme--foundation .gform-field-label__text {
    color: var(--nh-blue);
    font-size: 20px;
}


.gform_wrapper input, 
.gform_wrapper select,
.gform_wrapper textarea {
  border: 1px solid #ddd !important; 
  border-radius: 4px;  
  outline: none !important;     
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  border-color: var(--nh-softblue) !important;    
  box-shadow: 0 0 5px rgba(0, 115, 170, 0.4) !important;
  outline: none !important;
}

/* Stile base Submit */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper button[type="submit"] {
  border: 1px solid var(--nh-blue) !important;   
  background-color: var(--nh-blue) !important;  
  color: #ffffff !important;          
  border-radius: 4px;                 
  padding: 10px 24px !important;           
  font-weight: 700 !important;
  text-transform: uppercase !important;
  outline: none !important;
  transition: all 0.2s ease-in-out;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer input[type="submit"]:focus,
.gform_wrapper .gform_page_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:focus,
.gform_wrapper button[type="submit"]:hover,
.gform_wrapper button[type="submit"]:focus {
  border-color: #4796e0 !important;      
  background: linear-gradient(180deg,rgba(0, 159, 227, 1) 0%, rgba(0, 87, 184, 1) 100%) !important;
  border-radius: 4px;     
  color: #ffffff !important;              
  box-shadow: 0 0 8px rgba(7, 55, 78, 0.2) !important;
  outline: none !important;
  padding: 11px 24px !important;   
}


.ginput_container_consent label span {
    color: #555 !important;
    padding: 0;
    font-size: 16px !important;
}

.ginput_container_consent label span a {
    color: var(--nh-blue);
    padding: 0;
    font-size: 16px !important;
}

.gform-theme--framework .gfield_consent_description_text:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border: none;
    outline: none;
    padding: 0 0 0 33px;
}


/* Stile Menu */

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
    width: 100%;
    bottom: unset;
    max-width: 90%;
    border-radius: 0 0 0 5px;
    padding-bottom: 15px;
}

.ast-builder-menu-mobile .main-navigation ul .menu-item .menu-link, .ast-builder-menu-mobile .main-navigation ul .menu-item .menu-link {
    padding: 0 30px;
}

.ast-builder-menu-mobile .main-header-bar-navigation {
    line-height: 2 !important;
}

.ast-builder-menu-mobile .main-navigation ul .menu-item .menu-link, .ast-builder-menu-mobile .main-navigation ul .menu-item .menu-link {
    padding: 0 1px !important
    display: inline-block;
    width: 100%;
    border: 0 !important
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
        color: var(--nh-blue);
        padding: 1px 0 1px 25px;
    }
}

.ast-desktop-popup-content .ast-builder-menu-mobile .main-header-bar-navigation a:hover {
    color: #000;
}

.ast-desktop-popup-content .ast-builder-layout-element:not(.ast-builder-menu):not(.ast-header-divider-element) {
    padding: 40px 0 0 30px;
}
.ast-header-social-1-wrap .ast-builder-social-element, .ast-header-social-1-wrap .social-show-label-true .ast-builder-social-element {
    margin-right: 0;
}
.ast-header-social-1-wrap .ast-builder-social-element svg {
    width: 28px;
    height: 28px;
    opacity: .8;
}
.ast-header-social-1-wrap .ast-builder-social-element svg:hover {
    opacity: 1;
}

.ast-mobile-popup-drawer .ast-mobile-popup-overlay {
    background-color: rgba(255, 255, 255, 0.2);
}

.ast-mobile-popup-drawer.active .menu-toggle-close {
    color: #000;
}

.ast-desktop .ast-mobile-popup-drawer .ast-mobile-popup-inner {
    background-color: rgba(255,255,255,0.9);

}

/* Stile Cerca */

.ast-search-box .icon-search svg:not([fill]) {
    fill: #fff !important;
}