/*
	Theme Name: MGVision
	Theme URI: https://www.mgvision.com
	Description: Tema personalizzato per WP MGVision.
	Author: MGVision Dev Team
	Author URI: https://www.mgvision.com
	Version: 1.0.0
	Stable tag: 1.0.0
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: mgvision
	Tags: accessibilità, header-flessibile, colori-custom, menu-custom, logo-custom, immagini-in-evidenza, supporto-lingua-rtl, thread-commenti, traducibile,
*/

@charset "utf-8";
@import "font-awesome.min.css";
@import "et-line.css";

@import url('https://fonts.googleapis.com/css2?family=Voltaire:wght@100;300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600&display=swap');

/* HEADER */
.header-mgv {
	transition: background-color 0.3s ease;
}
/* FINE HEADER */

/* FORM PREVENTIVO */
.form-new input, .form-new textarea, .form-new select.input-md.form-control {
    background: #EFF5FF !important;
    border-radius: 10px !important;
    border: 2px solid #dfebff !important;
    font-family: 'Poppins';
    font-weight: 600 !important;
}
.form-new select.input-md.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ADC0E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px !important;
}
.form-new select.input-md.form-control:required:invalid {
    color: #ADC0E8 !important;
}
.form-new select.input-md.form-control option {
    color: #111 !important;
}
.form-new select.input-md.form-control:valid,
.form-new select.input-md.form-control:focus {
  color: #111!important;
}
.form-new label {
    font-family: 'Poppins';
    font-weight: bold;
    color: #000;
    float: left;
    font-size: 18px;
}
.privacy-check {
    margin-left: 10px;
    font-family: 'Poppins';
    font-weight: 600;
}
.privacy-check a{
    color: #cc8f08!important;
}
.top-form .privacy-check {
    color: #fff;
}
.top-form input, .top-form textarea, .top-form select {
    background: rgb(239 245 255 / 90%) !important;
    border-radius: 8px !important;
    margin-bottom: 10px;
    font-family: 'Poppins';
    font-weight: 600 !important;
}
.top-form input,
.top-form textarea,
.top-form select{
    background: rgb(239 245 255 / 90%)!important;
    border-radius: 8px!important;
    margin-bottom: 10px;
}
.top-form input::placeholder,
.top-form textarea::placeholder,
.top-form select::placeholder{
    font-family: 'Poppins';
    color: #758FC5;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
}
.top-form label{
    font-family: 'Poppins';
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0;
}
.top-form button, button.btn-cta, a.btn-cta {
    text-shadow: none;
    font-size: 1.5em;
    background-color: #FEC851 !important;
    color: #000;
    text-transform: uppercase;
    font-family: 'Voltaire';
    text-decoration: none;
    padding: 20px 50px;
    transition: all .2s ease;
    border: 3px solid #FEC851;
}
.top-form button {
    padding: 4px 50px;
    margin: 0 auto;
    display: block;
}
.form-new input::placeholder,
.form-new textarea::placeholder {
    color: #ADC0E8!important;
    font-family: 'Poppins';
    font-weight: 600!important;
    font-size: 16px!important;
}
.top-form button:hover, button.btn-cta:hover, a.btn-cta:hover {
    background: #ffbc29 !important;
    box-shadow: 8px 8px #000;
    border-color: #000;
	color: #000;
}
span.divider-titolo, span.divider-titolo-dx {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    margin: auto;
    border-radius: 300px;
    background: #fec851;
    margin-bottom: 40px;
    margin-top: -30px;
}
.widget.form-new h2{
    font-weight: 600;
    font-size: 40px;
    font-family: "Voltaire";
    text-transform: inherit;
}
#topform .title-form p {
    font-family: 'Voltaire';
    font-style: normal;
    font-weight: bold;
    color: #FFFFFF;
    font-size: 2em;
    letter-spacing: -1px;
    text-align: left;
    margin-bottom: 0;
}
.sep {
    width: 100px;
    height: 7px;
    border-radius: 100px;
    background: #FFC74A;
    display: block;
    margin: 10px 0;
}
#inCima li a{
    color: #FFC74A;
}
.cta-small {
    font-size: 18px !important;
    padding: 10px 20px !important;
    margin: 0 10px;
}

.form-new .cf7-row {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}
.form-new .cf7-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-new .cf7-col .wpcf7-form-control-wrap,
.form-new input,
.form-new textarea,
.form-new select {
    width: 100%;
}
.form-new input,
.form-new textarea,
.form-new select {
    margin-bottom: 20px;
    min-height: 50px;
}

.form-new .privacy-check {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    margin: 15px 0;
    clear: both;
}
.form-new .privacy-check .wpcf7-form-control-wrap {
    width: auto;
}
.form-new .privacy-check .wpcf7-list-item {
    margin: 0;
}
.form-new .privacy-check label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    float: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0;
    line-height: 1.3;
}
.form-new .privacy-check input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    flex-shrink: 0;
}
.form-new button.btn-cta {
    display: block;
    margin: 20px auto 0;
    padding: 10px 50px;
}

@media (min-width: 768px){
    .cta-row{
        display: flex;
    }
    #inCima{
        min-height: 100vh;align-items: center;display: flex;
    }
}
@media (max-width: 768px) {
    .cta-small {
        font-size: 18px !important;
        padding: 10px 20px !important;
        margin: 0px;
        margin-top: 10px;
        width: 100%;
    }
    #inCima .col-sm-7 {
        margin: 0;
        padding: 0;
    }
    #inCima .col-sm-7 > div {
        padding: 0!important;
    }
    .title-form p {
        color: #172741!important;
        font-size: 2.3em;
        line-height: initial;
        padding-right: 30%;
    }
    section#inCima {
        background-size: 100vh !important;
        background-repeat: no-repeat !important;
        background-position: 5% 7% !important;
        background-attachment: inherit !important;
        background-color: #182741 !important;
        padding-bottom: 0 !important;
        height: fit-content;
        padding-top: 100px !important;
    }
    div#topform {
        background: #fff !important;
        width: 100%;
        position: relative;
        margin: 0;
        border-radius: 0 !important;
        height: 100%;
    }
    .banner-content-open {
        background: url(https://www.mgvision.com/images/angle-mobile.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: bottom;
        width: 100%;
        padding: 40% 8% 25% !important;
    }
    .top-form .privacy-check, .call-open {
        color: #1f3664 !important;
    }
    .form-new .cf7-row {
        flex-direction: column;
        gap: 0;
    }
}
/* FINE FORM PREVENTIVO */