/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

h1, h2, h3, h4, h5, #top-menu a {
	font-family:"futura", sans-serif;
	font-weight:900 !important;
	color:blueviolet;
	opacity: 1 !important;
	transition:none !Important;

}

a, header, footer {
	font-family:"futura", sans-serif;
	color:blueviolet;
}

p, p a, div, body{
	font-family:"times new roman", serif;
}

::selection{
	background: yellow
}

@media only screen and (min-width: 1350px) {
    .et_pb_section {
        padding: 0;
    }
}
/* Back to top */


.et_pb_scroll_top.et-pb-icon {
	background:none;
    position: fixed;
	bottom: 18vw;
    left: 40vw;
    font-size: 4vw;
    color: blueviolet;
    width: 50px;
	
}


@media (max-width: 980px) {
	
	.et_pb_scroll_top.et-pb-icon {
		font-size: 20vw;
		}
}


/* menu mobile nascosto su desktop */

@media only screen and (min-width: 1350px) {
    #post-54 .et_pb_section {
        padding: 0 !important;
    }
}
/* HOME */
/* posizione modello 3d */

@media screen and (min-width: 980px){
	
	.modellorotante {
    position: fixed;
    bottom: 0vh;
    right: 9vw;
	width: 600px;
	}
}

@media screen and (max-width: 980px){
	
	#myModel{
    position: fixed;
    height: 280px !important;
	}
	
	#post-54 .modellorotante{
	position: fixed;
	top:42vh;
	width:100%;
	}
}
/*	#post-54{
    position: fixed;
    width: 90vw;
    height: 90vw;
    left: 0vw;
	}

	#post-54 .modellorotante{
	position: fixed;
	top:35vh;
	width:100%;
	}
	
	#db_title_and_tagline {
    display: inline;
    position: fixed;
}

.et_vertical_fixed #page-container #main-header {
	background-color: transparent;
	}*/






/*  menu HOME bloccato */

	@media screen and (max-width: 980px){
		
	#post-54 > div > div > div > div.et_pb_section.et_pb_section_0.et_section_regular.et_pb_section--with-menu > div{
		position:fixed;
		left:10vw;
	}
}




/* MENU laterale - @media screen and (min-width: 981px) */


	@media screen and (min-width: 980px){
	.et_vertical_nav #page-container #main-header {
		width: 40vw !Important;
		padding-top: 50px !Important;
	}

	.et_vertical_nav #main-header #top-menu>li>a:hover{
		background-color:yellow;
		opacity: 1 !important;
		transition:none !Important;
	}

	#top-menu li.current-menu-item>a{
		color:blueviolet;
		opacity: 1 !important;
		transition:none !Important;
	}
	
    .et_vertical_nav.et_vertical_fixed #page-container #main-header {
		background-color: transparent;
	}
}

    #top-menu li.current-menu-item>a, ul li.current-menu-item a {
		background-color: #FFFF00 !important;
	}

/* ombra interna */

.et_vertical_nav #page-container #main-header {

	-webkit-box-shadow: none !Important;
	box-shadow: none !Important;
}

#logo-text, #top-menu li a,.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a{
	font-size:4.2vw !important;
	text-transform:uppercase !important;
	font-weight:900 !important;
	line-height: 4.2vw !important;
	color: blueviolet;
}


/* BODY SITO */

@media screen and (min-width: 980px){
	.et_vertical_nav #page-container {
    margin-left: 40vw;
	}

	.et_vertical_nav #et-main-area, .et_vertical_nav #top-header {
	margin-left: 0 !important;
	position: relative;
	height: auto;
	}
	
	.element.style #footer-bottom {
	padding: 15px 0 40px !Important;
	}
	
	.et-social-icons {
        margin: 0 0 50px !Important;
    }
}

/* Elimina effetto bounce di pagina */

	html, body {
 		overscroll-behavior: none;
	}


/* Fascia di rispetto a pie di pagina */

@media screen and (max-width: 980px){
	#template_progetto{
		margin-bottom:10vh !Important;
	}
}


@media screen and (max-width: 980px){
	
#main-footer {
    position: fixed;
    left: 50vw;
    bottom: 1vh;
	z-index: 100;}
}

	
	/* MENU DESKTOP SU MOBILE */

@media (max-width: 980px) {
	
	
	#et_mobile_nav_menu, .et_pb_menu .et_mobile_nav_menu{
		display: none!important;
	}
	
	
	.et_vertical_nav #page-container #main-header {
		padding-top: 17vw !Important;

	}
	
	#logo-text, #top-menu li a,.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a{
		font-size:9vw !important;
		text-transform:uppercase !important;
		font-weight:900 !important;
		line-height: 10vw !important;
		color: blueviolet;
	}

    .et_pb_menu_0.et_pb_menu ul li.current-menu-item a {
    background-color: #FFFF00 !important;
}

	
    .et_pb_menu .et_pb_menu__menu, .et_pb_menu .et_pb_menu__menu>nav, .et_pb_menu .et_pb_menu__menu>nav>ul {
        display: block !important;
    }
	
	.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
		display: block !important;
	}
	
	.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }    
	
	.et_pb_section {
        padding: 0 0 50px 0 !Important;
    }
	
	.et-social-icons {
        float: none;
        text-align: center;
        margin: 0 0 50px !Important;
    }
}	
	
/* template progetto*/


@media screen and (min-width: 980px){
.template_progetto{
	padding-top:12vw !important;
	}
}


@media (max-width: 980px) {
    .et_pb_row--with-menu {
		padding: 0 0 50px 0 !Important;
	}
}
		
/* FOOTER */

#main-footer {
	background-color: transparent!Important;
	position: fixed !Important;
    bottom: 0 !Important;
	left: 2vw !Important;
	}



/* RICERCA */
/* rimozione elementi non necessari 

#iubenda_legal_widget-1{
	display: none;
}
#left-area .post-meta, #left-area #text {
	display: none;
}

#left-area {
	margin-top:9vw;
}
#left-area h2 a{
	font-size:50px;
	text-align:right;
	font-family:"kepler", serif !Important;
	font-style:italic;
}
*/


.post-meta a {
	pointer-events: none; /* rende il link non cliccabile */
}


