/*
Theme Name:     Divi Child Theme | astudio.it
Theme URI:      http://www.elegantthemes.com/gallery/divi/ 
Description:    Child theme for Divi 3 on WP 5.0.3
Author:         astudio.it
Author URI:     http://www.astudio.it
Template:       Divi
Version:        3.2
*/

/* Start your custom CSS bellow this comment============================================ */

/*logo astudio footer*/
.astudio {vertical-align: middle; margin: 0px 0px 3px;}
.et-social-google-plus a.icon:before { content: '\e0a3'!important; }
/*WPML*/
/*#lang_sel_list { height: 0px; margin: 0 3px 0 15px; position: relative; z-index: 99; float: right;}
#lang_sel_list a {padding-left: 0px;}*/

/*ninja form privacy element fix*/
.n-privacy-text p {line-height: 1.2;font-size: x-small; color:#4c4c4c;}
.n-privacy-check label {font-weight: normal!important;font-size:14px!important;}
.nf-form-fields-required {visibility:hidden;}
/*div#nf-field-41-container {margin-bottom:0px!important;}*/

/*fix menu navigazione*/
.nav li:last-child ul {right: 0!important;}
.et_mobile_menu li a{font-size: 15px; text-transform:uppercase!important;}

/* SOTTOTILO MENU DIVI */    

#top-menu > li > a span {
     font-size: 12px;
     font-weight: 400;
     font-style: italic;
     float: left;
     width: 90%;
     padding: 5px 0px;
    }
#top-menu li {
    padding-right: 0;
	padding-bottom: 15px;
    }
/* sottotitolo menu mobile*/
    .et_mobile_menu li a span {
      font-size: 14px;
      font-weight: 400;
      font-style: italic;
      float: none !important;
      width: 100%;
      padding-bottom: 8px;
    }
    .et_mobile_menu li a span:before {
        content: ":  ";
    }

    @media only screen and ( max-width:1024px ) {
    #et_mobile_nav_menu { 
    display:block 
    }
    #top-menu-nav { 
    display:none; 
    }
    }
/*menu principale colore hover*/
#top-menu-nav #top-menu a:hover,
#mobile_menu_slide a:hover { 
    color: #257FBB !important; 
    opacity:1 !important;
}

/*Captcha badge invisible*/
.grecaptcha-badge {
    display: none;
}

/*RESPONSIVE CF7 FORM STRUCTURE*/
#responsive-form{
	/*max-width:600px /*-- change this to get your desired form width --*/;
	margin-top:15px!important;
	margin:0 auto;
        width:100%;
}
.form-row{
	width: 100%;
}
.form-row label{color: #257FBB;font-weight:bold;}

.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}

/*CF7 STYLE*/
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	background-color: #fcfcfc !important;
	width: 100%;
	margin-top:3px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	      box-sizing: border-box
}
.wpcf7 textarea{height:150px;font-size: 14px;}

.wpcf7 input[type="text"]:focus{
	background: #fff;
}
.wpcf7-submit{
	float: right;
	background: #7EB119;
	color: #fff;
	text-transform: uppercase;
	border: none;
	padding: 8px 20px;
	cursor: pointer;
}
.wpcf7-submit:hover{
	background: #65A622;
}
span.wpcf7-not-valid-tip{
	text-shadow: none;
	font-size: 12px;
	color: #fff;
	background: #AA0000;
	padding: 5px;
}
div.wpcf7-validation-errors { 
	text-shadow: none;
	border: transparent;
	background: #f9cd00;
	padding: 5px;
	color: #9C6533;
	text-align: center;
	margin: 0;
	font-size: 12px;
}
div.wpcf7-mail-sent-ok{
	text-align: center;
	text-shadow: none;
	padding: 5px;
	font-size: 12px;
	background: #59a80f;
	border-color: #59a80f;
	color: #fff;
	margin: 0;
}
.n-privacy-text p {line-height: 1.2;font-size: 10px!important; color:#4c4c4c;}
.n-privacy-check label {font-weight: normal!important;font-size:14px!important;}

.wpcf7 fieldset {
  display: block;
  margin-left: 2px;
  margin-right: 2px;
  padding-top: 0.35em;
  padding-bottom: 0.625em;
  padding-left: 0.75em;
  padding-right: 0.75em;
  border: 2px solid #DCDCDC;
	margin-bottom:20px;
}
.wpcf7 fieldset legend {padding:7px;color: #fff; font-size: 16px;background-color:#257FBB;}
.wpcf7 fieldset p.infof {font-size: 13px;margin-bottom:10px;margin-top:5px;}
/*END CF7 STYLE*/

/* Breadcrumbs */
@media only screen and (max-width: 1400px)  {
.breadcrumb {
    display:none !important;
}
}
/*YOAST BREADCRUMB DIVI STYLE*/
.breadcrumb a {
    color: #ffffff;
}

.breadcrumb a:after {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.breadcrumb:before {
    content: "\f015";
    display: inline-block;
    vertical-align: middle;
    font-family: 'FontAwesome';
    font-size: 12px;
    font-weight: normal;
    margin-right: 6px;
}

.breadcrumb {
    background: none;
    height: 30px;
    line-height: 27px;
    display: inline-block;
    vertical-align: middle;
    padding-top: 1px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11px !important;
    font-size: 0.833rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    margin-right: 20px;
    border-radius: 2px;
    list-style: none;
}
/*END YOAST BREADCRUMB DIVI STYLE*/
