/*
Theme Name: Aleagest
Description: Divi Child Theme
Author:  Frutti Digitali
Author URL:  https://www.fruttidigitali.it/
Template: Divi
Version: 4.5.1 
*/

/*-----------------------MENU----------------------*/
/*Style menu desktop*/
.nav li ul {
	padding: 0;
}
#top-menu li li a {
	width: 240px;
	padding: 6px 0;
}
#top-menu a:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	top: 20px;
	left: 0;
	background-color: #002C4C;
	visibility: hidden;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}
#top-menu a:hover:before {
	visibility: visible;
	-webkit-transform: scaleX(1);
	transform: scaleX(1);	
}
#top-menu li li a:before {
	display: none;
}
#top-menu-nav > ul > li > a:hover, #et-secondary-menu > ul > li > a:hover, #et-info-email:hover, .et-social-icons a:hover {
	opacity: 1.0;
	color: #C60000!important;
}
.et-fixed-header #top-menu a:hover {
	color: #C60000!important;	
}
.nav ul li a:hover {
	opacity: 1;
	color: #C60000 !important;
}


/*Width e padding sub-menu desktop*/
ul.sub-menu {
    min-width: 280px;
    padding: 15px 0px !important;
}

#top-menu li li a {
    width: 240px;
    padding: 6px 10px;
}

/*Logo + grande su tablet e mobile*/
@media (max-width: 980px){
.et_header_style_left #logo, .et_header_style_split #logo {
    max-width: 70% !important;
	max-height:100% !important;
	padding: 5px 0;
}
}

/* + per pagine di secondo livello */
#main-header .et_mobile_menu .menu-item-has-children > a { 
	background-color: transparent;
	position: relative; 
}
#main-header .et_mobile_menu .menu-item-has-children > a:after { 
	font-family: 'ETmodules';
	text-align: center;
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	position: absolute; 
}
#main-header .et_mobile_menu .menu-item-has-children > a:after { 
	font-size: 16px;
	content: '\4c';
	top: 13px;
	right: 10px; 
	font-weight:700;
	color: #c60000 !important;
}
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { 
	content: '\4d'; 
}
#main-header .et_mobile_menu ul.sub-menu { 
	display: none !important;
	visibility: hidden !important;
	transition: all 1.5s ease-in-out;
}
#main-header .et_mobile_menu .visible > ul.sub-menu { 
	display: block !important;
	visibility: visible !important; 
}


/*--------------------TIPOGRAFIA-----------------------*/
/*Desktop e tablet*/
@media only screen and (min-width: 600px){
	h1{
	font-size: 40px !important;
}
}

@media only screen and (min-width: 600px){
	h2{
	font-size: 35px !important;
}
}

@media only screen and (min-width: 600px){
	h3{
	font-size: 22px !important;
}
}

@media only screen and (min-width: 320px){
	h4{
	font-size: 20px !important;
}
}

@media only screen and (min-width: 320px){
	h5{
	font-size: 18px !important;
}
}

/*Mobile*/
@media only screen and (max-width: 600px){
	h1{
	font-size: 35px !important;
}
}

@media only screen and (max-width: 600px){
	h2{
	font-size: 30px !important;
}
}

@media only screen and (max-width: 600px){
	h3{
	font-size: 22px !important;
}
}

/*-------------------Footer-------------------*/
/*Diminuzione logo footer*/
div#media_image-3 {
    width: 280px !important;
}

/*Link footer widget*/
.footer-widget a {
    color: white !important;
}


/*--------------Pulsante---------------*/
.et_pb_button {
    box-shadow: 0px 7px 14px -6px rgba(0,0,0,0.33);
}

/*Pulsante torna su*/
.et_pb_scroll_top.et-pb-icon {
    bottom: 100px;
    border-radius: 25px;
    margin-right: 30px;
    background: #e3611dd1;
}
.et_pb_scroll_top:before {
    content: "6";
}

/*--------------Barra laterale-------------*/
::marker {
    color: #c60000 !important;
}

.sidebarservizi a {
    color: #383838;
}

/*----------Grafica campi modulo cf7 pag. Contatti---------*/
/*campi*/
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #f7f7f7;
    border: 2px solid #002C4C;
    padding: 12px;
    color: #383838;
    font-size:16px;
    width: 100%;
    margin-bottom: 10px !important;
}

textarea:focus{
	border: 2px solid #c60000 !important;
	background-color: white !important;;
}

input[type=text]:focus{
	border: 2px solid #c60000 !important;
	background-color: white !important;;
}

input[type=email]:focus{
	border: 2px solid #c60000 !important;
	background-color: white !important;;
}

input[type=tel]:focus{
	border: 2px solid #c60000 !important;
	background-color: white !important;;
}

/*Placeholder*/
::-webkit-input-placeholder {
    color: #383838;
	font-size:16px;;
} 

/*Pulsante invia*/
input.wpcf7-form-control.wpcf7-submit {
   float:right;
   font-size: 19px;
   background-color: #c60000;
   color:white;
   font-family: 'Oxygen';
   box-shadow: 0px 7px 14px -6px rgb(0 0 0 / 33%);
   border: 2px solid white;
   padding: 10px 15px;
   font-weight:600;
	margin-top:10px !important;
}

/*Privacy*/
.privacypagcontatti label {
    font-size: 15px;
	color:#383838;
}

.privacypagcontatti a {
    color: #c60000;
    text-decoration: underline;
    font-weight: 700;
}

/*Check-box privacy*/
.wpcf7-list-item {
    margin: 0 0 0 0;
}


form.wpcf7-form.init p {
    padding-bottom: 0;
}