

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

form.newsletter-form .typeahead__list>li {
    padding:4px 0;
    list-style: none;
    margin: 0;

}
form.newsletter-form .typeahead__list ul{
    padding: 0;
}


form.newsletter-form .typeahead__list>li a{
    display: inline-block;
    width:100%;
}

form.newsletter-form .typeahead__list{
    padding:0;
    margin:0;
}

form.newsletter-form .typeahead__field,.typeahead__container{
    margin-bottom:0;
}

body form.newsletter-form input[type="search"],
body form.newsletter-form select,
body form.newsletter-form input[type="text"],
body form.newsletter-form input[type="email"],
body form.newsletter-form input[type="tel"],
body form.newsletter-form input[type="number"],
body form#news_form input[type="email"]{
    border: 1px solid #e3dfd3;
    height: 44px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 11px;
    font-size: 15px;
    color: #727272;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius:  50px;
    -webkit-border-radius:  50px;
    -moz-border-radius:  50px;
    background: #fff;
    width: 100%;
    -webkit-appearance: none;
}

.uk-hidden{
    display: none;
}

.section-newsletter #news_form .btn{
    margin-bottom:15px;
}

body form.newsletter-form .col-220,body form.newsletter-form input[type="number"].col-220 {
    width: 119px;
    margin-right: 1.127659574468%;
    line-height: 42px;
    font-size: 15px;
}

form.newsletter-form input.notvalid,
form.newsletter-form select.notvalid,
.section-newsletter input.notvalid{
    color:red !important;
    border:1px solid red  !important;
}
.section-newsletter label.notvalid,
form.newsletter-form label.notvalid,
.section-newsletter #news_form label.notvalid a{
    color:red !important;
}

.page-template-page-newsletter #primary {
    min-height: 300px;
}

form.newsletter-form span.error{
    color:red !important;
    margin-left:10px;
}

.section-newsletter span.error{
    color:red !important;
    display: block;
    width: 100%;
    text-align: left;
}

.grid.inputCol.inputSubmit{
    margin-top:25px;
}

.fit{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

p.msg-ok{
    font-size:20px;
}

body form.newsletter-form body input[type="number"].col-220 {
    width: 23.404255319149%;
}

.newsletter-form .birthdate input {
    margin-bottom: 0;
}

form.newsletter-form .typeahead__container.hint .typeahead__field [contenteditable], .typeahead__container.hint .typeahead__field input, .typeahead__container.hint .typeahead__field textarea{
    background: #fff;
}

form.newsletter-form .typeahead__cancel-button{
    top: 34%;
    padding: 0 .75rem;
}

form.newsletter-form .comuni::placeholder {
    opacity: 1;
}

form.newsletter-form {
    padding:0;
    margin: 0 auto;
    color: #3f3f3f;
    width:100%;
}

form.newsletter-form .col-460 {
    width:  48.936170212766%;
    margin-right: 2.127659574468%;
}

form.newsletter-form .col-940 {
    width: 100%;
}

form.newsletter-form .grid,#news_form .grid{
    margin-bottom: 1.28%;
    float: left;
}

form.newsletter-form .fit {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.section-newsletter  .container {
    width: 100%;
    margin: 0 auto;
}

.section-newsletter #news_form h3 {
    font-size: 32px;
    margin: 0 0 5px 0;
    line-height: 1;
    text-align: left;
    margin-top:18px;
    color:#2e3b8a;
    text-transform: uppercase;

}

.section-newsletter #news_form .title-newsletter{
    width: 35%;
    padding-left:85px;
    float:left;
    text-align: left;
    line-height: 1;
}

.form-content .emailfield{
    width:65%;
    float: left;
    margin-top: 31px;
}

.form-content  .inputSect{
    float: left;
    width: 100%;
}

.section-newsletter  #news_form #sub-mail {
    height: 50px;
    border-radius:  50px;
    -webkit-border-radius:  50px;
    -moz-border-radius:  50px;
    line-height: 45px;
    padding: 10px 15px;
    box-shadow: none;
    font-size: 15px;
    border: 1px solid #ccc;
    width: 97%;
    box-sizing: border-box;
    max-width: 400px;
    margin-right: 15px;
}
.section-newsletter  #news_form label {
    color: #2E388D;
    line-height: 1.3;
    font-size:13px;
    display: inline-block;
}

.content-newsletter{
    min-height: 450px;
}

.section-newsletter #news_form .inputSect {
    width: 100%;
    margin: 0 0 0 13px;
    text-align: left;

}

.home .section-newsletter #news_form .inputSect {
    line-height: 1;
}

.home .section-newsletter  #news_form label{
    display: inline;
}

.home .section-newsletter  #news_form label a {
    color: #2E388D;
    display:inline-block;
    text-decoration: none;
}

#news_form .clear,form.newsletter-form .clear{
    clear:both;
}

.pagenewsletter{
    margin-top:40px;
    background-size: cover;
    padding-bottom:40px;
}

.section-newsletter #news_form .btn,form.newsletter-form input[type='submit'],input#deluser{
    width: 180px;
    background-color: #ef5f60;
    height: 45px;
    line-height: 45px;
    padding: 0 30px;
    display: block;
    cursor: pointer;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    text-transform: uppercase;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
}

form.newsletter-form{
    margin-top:50px;
}

form.newsletter-form label{
    display: block;
}


form.newsletter-form input[type='submit'],input#deluser{
    background-color: #f6ae00;
    font-weight: normal;
    color: #fff;
}

.page .post-newsletter{
    padding:50px 5%;
    border-top: 0;
    margin: 0 auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    min-height:450px ;
}

.page .post-newsletter h2{
    text-align: center;
    color:#727272;
    position: relative;
    padding-bottom:20px;
    font-weight: 300;
    margin-bottom:20px;
}

.page  .result{
    margin: 0;
    padding:0;
    font-size:17px;
}

body form.newsletter-form input[type="number"].col-220::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #ccc;
    opacity:1;
}
body form.newsletter-form input[type="number"].col-220::-moz-placeholder { /* Firefox 19+ */
    color: #ccc;
    opacity:1;
}
body form.newsletter-form input[type="number"].col-220:-ms-input-placeholder { /* IE 10+ */
    color: #ccc;
    opacity:1;
}
body form.newsletter-form input[type="number"].col-220:-moz-placeholder { /* Firefox 18- */
    color: #ccc;
    opacity:1;
}

.pagenewsletter  .newsletter-form{
    margin-top:35px;
}

.pagenewsletter .post-newsletter h2:after{
    width:50px;
    content:'';
    height: 1px;
    background-color: #a4c842;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    margin: 0 auto;
}

.pagenewsletter .post-newsletter form.newsletter-form .grid.col-940{
    margin-bottom:27px;
}

form input[type='submit'] {
    margin: 0 auto;
}

@media screen and (max-width:1180px) {
    .section-newsletter #news_form h3{
        width:100%;
        text-align: left;
        font-size:28px;
        margin-top: 0;
    }

    .section-newsletter #news_form p{
        clear: both;
    }

    .form-content .emailfield{
        width:77%;
        margin-top:0;
    }

    .section-newsletter #news_form .title-newsletter{
        width: 100%;
        padding-left:0;
    }

}

@media screen and (max-width:850px) {

    .form-content .emailfield{
        margin: 0 auto;
        float: none;
        clear:both;
        width: 100%;
        margin-top: 10px;
    }

    .section-newsletter #news_form .title-newsletter{
        float: none;
    margin:0;
    }

    .section-newsletter #news_form #sub-mail{
        margin-top:10px;
    }

    .section-newsletter #news_form h3,.section-newsletter #news_form p{
        text-align: center;
        margin-bottom: 5px;
    }

    .section-newsletter #news_form #sub-mail{

        margin: 0 auto;
        clear: both;
        display: block;
        float: none;
    }

    .section-newsletter #news_form .btn{
        margin: 0 auto !important;
        display: block;
        float: none;
    }

    .section-newsletter #news_form .inputSect {
        width: 100%;
        text-align: left;
        max-width: 480px;
        margin: 0 auto;
        display: block;
        float: none;
        clear: both;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}


@media screen and (max-width: 650px) {
    .newsletter-form .birthdate label {
        width: 100%;
        margin: 0;
        display: block;
    }

    .section-newsletter #news_form #sub-mail{
        height: 35px;
        line-height: 35px;

    }

    body form.newsletter-form .grid.col-460 {
        width: 100%;
        margin-right: 0;
        width: 100%;
        max-width: 1500px;
    }

    .newsletter-form .inputSubmit {
        padding-top: 15px;
        clear: both;
    }

    .section-newsletter #news_form .inputSect {
        margin: 10px 0;
        width: 100%;
    }

    .section-newsletter p.description{
        display: none;
    }

    .section-newsletter #news_form .btn {
        margin: 0 auto !important;
        display: block;
        float: none;
        height: 35px;
        line-height: 35px;
        padding-top: 0;
        padding-bottom: 0;
        min-height: 5px;
        max-width: 121px;
        min-width: 10px;
        z-index: 1;
    }

    body form.newsletter-form .col-220, body form.newsletter-form input[type="number"].col-220{
        width:94px;
    }

    .section-newsletter #news_form label {
        font-size: 14px;
        float: none;
        display: block;
    }

    .section-newsletter #news_form .inputSect input{
        float: left;
        display: block;
    }

    .section-newsletter #news_form h3 {
        font-size: 18px;
        text-align: center;
        float: none;
    }
    .section-newsletter #news_form label{
        font-size:14px;
        margin-bottom: 5px;
    }
}

@media screen and (max-width:450px) {
    .section-newsletter #news_form #sub-mail {
        width: 100%;
    }

}