/*
Theme Name:     MZstudiolegale
Description:    
Author:         Elytomasin
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');

/* GENERICI */


body, p {
    font-weight: 400;
}

.et_header_style_centered .mobile_nav .select_page {
    display: none;
}

.et_header_style_centered #main-header .mobile_nav {
    background: none;
}

.et_header_style_centered .mobile_menu_bar {
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -20px;
    width: 40px;
    text-align: center;
    background-color: #1da7df;
}

.mobile_menu_bar:before,
.et_overlay:before {
    color: #fff!important;
}

.et_header_style_centered .et_mobile_menu {
    top: 30px;
}

.et_mobile_menu li a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 5px;
}

#et-info {
    float: right;
}

.et_pb_button {
    padding: 10px 10px !important;
}

.et_pb_button:hover {
    padding: 10px 30px 10px 10px!important;
}

/* HOME */

.intro-home .et_pb_fullwidth_header_container {
    width: 100%;
}

.et_pb_fullwidth_header.intro-home .et_pb_fullwidth_header_container.center .header-content {
    width: 100%;
    max-width: 90%;
    margin: 30px auto;
}

.et_pb_fullwidth_header.intro-home .et_pb_fullwidth_header_container.center .header-content-container.center {
    -webkit-align-self: flex-start;
    -moz-align-self: flex-start;
    -ms-align-self: flex-start;
    align-self: flex-start;
}

h1.intro {
    font-weight: 400 !important;
}

h1.intro:before {
    margin-left: -75px;
    width: 150px;
    content: "";
    position: absolute;
    bottom:10px;
    left: 50%;
    height: 2px;
    background: #1da7df;
}

.cta-title {
    margin-top: -15px;
}

.cta-title .cta-tel {
    letter-spacing: 7px;
    font-size: 15px;
    text-transform: uppercase;
    display: block;
}

.cta-title .tel {
    width: 210px;
    padding: 15px 0px 15px 36px;
    background-image: url(chiamaci-ora.png);
    background-position: 12px 13px;
    background-color: #151d29;
    background-repeat: no-repeat;
    background-size: 23px auto;
    margin: 15px auto 0 auto;
    font-size: 26px;
}

.cta-title a .tel {
	color: #fff;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
    padding-bottom: 0px;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll a .et-pb-icon {
    background: #1da7df;
    padding-right: 3px;
}


h3 {
	font-family: 'Roboto', sans-serif !important;
    font-weight: 300;
    font-size: 28px !important;
    line-height: 1.2;
}

#iubenda_policy h3 {
    font-size: 15px!important;
    line-height: 19px!important;
    padding-top: 20px!important;
}

/* FOOTER */
.img-footer {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.footer-info {
    padding-top: 105px;
}

.footer-info p {
    line-height: 20px;
    margin-bottom: 30px;
}

.indirizzo,
.telefono,
.fax,
.email {
    background-position: 6px 8px;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    padding: 5px 0px 0px 45px;
    margin-bottom: 10px;
    min-height: 40px;
}

.indirizzo {
    background-image: url(indirizzo.png);
}

.telefono {
    background-image: url(telefono.png);
    line-height: 2.1;
}

.fax {
    background-image: url(fax.png);
    line-height: 2.1;
}

.email {
    background-image: url(email.png);
}


/*== FORM ==*/
.frm_style_formidable-style.with_frm_style label.frm_primary_label, .frm_style_formidable-style.with_frm_style.frm_login_form label,
.frm_primary_label,
.frm_style_formidable-style.with_frm_style .frm_checkbox input[type=checkbox],
.frm_style_formidable-style.with_frm_style .frm_checkbox label,
.frm_button_submit {
    font-family: 'Roboto', sans-serif !important;
    color: #151e28;
}

.frm_style_formidable-style.with_frm_style input[type=text], 
.frm_style_formidable-style.with_frm_style input[type=email], 
.frm_style_formidable-style.with_frm_style textarea {
    color: #151e28;
    border-color: #151e28;
    border-width: 2px;
    border-style: solid;
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    padding: 6px 10px;
        box-shadow: none;
}

.frm_style_formidable-style.with_frm_style input[type=text]:focus, 
.frm_style_formidable-style.with_frm_style input[type=email]:focus,
.frm_style_formidable-style.with_frm_style textarea:focus {
    color: #151e28;
    border-color: #04a6e1;
    border-width: 2px;
    box-shadow: none !important;
}

.frm_style_formidable-style.with_frm_style .frm_submit button {
    border: 1px solid #151e28 !important;
    border-radius: 0px !important;
    text-transform: uppercase;
    background: #fff;
    outline: none;
    letter-spacing: 4px;
    width: 100%;
}

.frm_style_formidable-style.with_frm_style .frm_submit button:hover {
    border-color: #04a6e1 !important;
	color: #04a6e1 !important;
}

.frm_style_formidable-style.with_frm_style.frm_inline_top .frm_submit::before, .frm_style_formidable-style.with_frm_style .frm_submit.frm_inline_submit::before {
    height: 4px !important;
}

/*==== RESPONSIVE ====*/
@media (max-width: 980px) {
	.footer-info.secondo {
		padding-top: 10px;
	}
}

@media (max-width: 767px) {

    .solo-desktop {
        display: none;
    }

    .et_pb_fullwidth_header .et_pb_fullwidth_header_container {
    width: 100%;
    }

    .cta-title .cta-tel {
    letter-spacing: 3px;
    font-size: 13px;
    }
	
	.footer-info, .footer-info.secondo {
		padding-top: 0px;
	}
	
	#et-info-phone {display: block;height: 25px;}
	#et-info {float: none;}
	
	.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
    bottom: 30px;
	}


}

@media (max-width: 630px) {

    h2.sottotitolo {
    	font-size: 28px;
	}
	
	.et_pb_fullwidth_header.intro-home .et_pb_fullwidth_header_container.center .header-content {
    width: 90%;
    max-width: 90%;
    margin: 10px auto;
	}
}

@media (min-width: 768px) {

    .no-desktop {
        display: none;
    }
}