h1, h2, h3, h4, h5, h6, p strong, p {
    font-family: "BlinkMacSystemFont", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

/************************
       MENU - Sostituzione Logo
*************************/

#logo {
    min-height: 60px;
    position: relative;
    display: block;
    width: 230px; /* Larghezza del logo */
    background-image: url('https://agenziap.it/wp-content/uploads/2023/03/logofirma-orizzontale_003.svg'); /* Nuovo logo */
    background-repeat: no-repeat;
    background-position: center;
}

#logo a {
    display: block;
    height: 100%;
    opacity: 0; /* Rende invisibili gli elementi <a> dentro #logo */
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
    /* Non è necessario alterare la visibilità o il display degli elementi specifici del retina qui, a meno che non si abbiano requisiti speciali per essi */
}


#header{
	background-color:#ffffff !important;
	box-shadow:none;
}

#navigation .sub-menu{
    min-width:206px !important;
}

#header.header-transparent.darkheader.header-v1 {
    box-shadow: none !important;
}

#nav > .menu-item > a{
	color:#4c4c4c !important;
	font-size:11px;
	font-family: "Space Grotesk Bold", -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;	
}

#nav .menu-item ul{
	background-color:rgba(255,255,255,0.98) !important;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	box-shadow:0px 50px 37px 0px rgba(0,0,0,0.26);
}

/* Sub Menu */
#nav .menu-item ul{
	border-bottom-left-radius:10px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:10px;
	padding-right:10px;
}

#nav .menu-item.menu-servizi .sub-menu {
    min-width: 233px !important;
}

#header .container #logo-navigation #navigation #nav .menu-item .sub-menu .menu-item a{
	border-bottom-color:transparent !important;
}

#nav .sub-menu a{
	color:#5b5b5b !important;
}

#nav .sub-menu li a:hover {
    color: red !important;
    font-weight: 600 !important;
    background: rgba(136, 136, 136, 0.05);
}


/************************
      FINE   MENU
*************************/


/************************
       FONTS
*************************/

h1, h2, h3, h4, h5, h6, p strong, p{
	font-family: "Space Grotesk Bold", -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}


/************************
       PAGINE PORTFOLIO
*************************/


#page-wrap .column_container:nth-child(1) .wpb_wrapper .wpb_wrapper, #page-wrap .wpb_wrapper .js{
	display: none;
}

#page-wrap .standard-section .column_container:nth-child(2){
	width: 100%;
	display:flex;
}

.flex-active-slide{
	filter: brightness(0.98);
}

.flexslider .slides img {
    border-radius: 20px !important;
    margin: -1px 0px;
}

.flex-viewport{
	border-radius: 10px !important;
}


#page-wrap .wpb_wrapper p:nth-child(3){
	background-color:rgb(227, 6, 19)  !important;
	padding-top:10px !important;
	padding-bottom:10px !important;
	border-radius:5px !important;
	color:#ffffff !important;
}

#page-wrap .wpb_wrapper .titoloportfolio p:nth-child(3) {
    background-color: initial !important;
    padding-top: initial !important;
    padding-bottom: initial !important;
    border-radius: initial !important;
    color: #9b9b9b !important;
}


#page-wrap .wpb_text_column a:not(.titoloportfolio a) {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    word-spacing: 0.3px !important;
    font-size: 15px !important;
    visibility: hidden !important;
    position: relative !important;
    display: inline-block !important;
}


#page-wrap .wpb_text_column a:not(.link-generato-function):not(.titoloportfolio a):after {
    content: 'link al sito web';
    visibility: visible;
    color: white;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
}



#page-wrap .wpb_text_column p{
	padding-left:15px;
}

#page-wrap .wpb_text_column p:nth-child(1),#page-wrap .wpb_text_column p:nth-child(2){
	padding-left:0px;
}

#page-wrap .wpb_wrapper hr{
	display:none;
}

.pannellinoinfo {
padding-left: 1.5% !important;
padding-right: 1.5% !important;
}

#page-wrap .wpb_text_column .link-generato-function:after {
	content: 'Contattaci subito.';
	visibility: visible;
	color: #2e2e2e !important;
	font-size: 26px;
	width: 300px;
	text-transform: none;
	padding-top: 0px;
	margin-top: -30px;
	margin-left: 0px;
	margin-bottom: -30px;
	position: relative;
	display: block;
}

body .titoloportfolio h1 {
    font-weight: 500 !important;
    font-size: 18px !important;
    color: #868686 !important;
    padding-bottom: 4px !important;
    line-height: 130% !important;
}

.titoloportfolio p {
  padding: 0px !important;
}







#page-wrap .column_container:nth-child(1) .wpb_wrapper .wpb_wrapper, #page-wrap .wpb_wrapper .js{
    display: block;
}

#page-wrap .standard-section .column_container:nth-child(2){
    width: 60%;
    display:flex;
}

.pannellinoinfo > div{
    padding:50px;
    border-radius: 15px;
    background-color: #f8f8f8;   
	width:70% !important;
}

.titoloportfolio{
    margin-top:0px;
    column-count: 2;
    column-gap: 50px;
    max-width: 100vw;
    border-top:0px solid #efefef;
    padding-top:0px;
}

.titoloportfolio h1, .titoloportfolio h2, .titoloportfolio h3, .titoloportfolio h4, .titoloportfolio p, .titoloportfolio a b, .titoloportfolio p b, .titoloportfolio a strong, .titoloportfolio p strong{
    font-size:15px !important;
    line-height: 22px;
    color:#9b9b9b;
    font-weight: normal;
    padding-bottom:0px;
    margin-bottom:0px;
}




@media (max-width: 900px) {
    body #mobile-header {
        display: block;
        background-color: #ffffff !important;
        height: 90px;
        box-shadow: none !important;
    }

    #mobile-logo {
        background-image: url('https://agenziap.it/wp-content/uploads/2023/03/logofirma-orizzontale_003.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 180px;
        height: 54px;
        display: block;
    }

    #mobile-logo a {
        display: block;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

	#mobile-navigation-btn::after {
		content: '';
		background-image: url('https://agenziap.it/wp-content/uploads/2024/05/icone-menu-24-18-rosso.webp') !important;
		background-size: contain;
		background-repeat: no-repeat;
		width: 30px;
		height: 30px;
		position: absolute;
		top: 30px;
		left: -5px;
		opacity: 1;
	}

}








