.individuals.sfondocontatti {
    background: #dd1735 url("/img/individuals/contacts-bg.jpg") no-repeat center top;
    /*min-height: 1000px*/
}

.agents.sfondocontatti {
    background: #dd1735 url("/img/agents/contacts-bg.jpg") no-repeat center bottom;
    /*min-height: 1000px*/
}

.enterprises.sfondocontatti {
    background: #7A298F url("/img/enterprise/contacts-bg.jpg") no-repeat center bottom;
}

.contacts h2 {
    color: #fff;
    border:1px solid #fff;
    border-radius: 25px;
    text-align: right;
    position: relative;
    margin-top: 120px;
    margin-bottom: 30px;
    font-weight: 300;
    padding: 20px;
	font-size: 6rem;
}

@media only screen and (min-width: 768px) {
    .contacts h2 span:nth-child(1) {
        position: absolute;
        top: -30px;
        right: 15px;
        background: #dd1735;
    }

    .enterprises .contacts h2 span:nth-child(1) {
        background: #7A298F;
    }

    .contacts h2 span:nth-child(2) {
        display: inline-block;
        padding: 5px;
        margin: 30px 10px 4px 10px;
    }
    .contacts h2 { padding: 0 }
}


.contacts fieldset {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 30px
}
.contacts fieldset:nth-child(2) {
    padding-bottom: 150px
}
.contacts input, .contacts textarea {
    display: block;
    border: 0px;
    border-bottom: 1px solid #585B5C;
    background: #fff;
    color: #585B5C;
    margin: 60px 30px;
    width: calc(100% - 60px);
    text-transform: uppercase;
    font-size: 1.2rem;
}
.contacts textarea {
    margin-top: 30px;
}
.contacts input.submit {
    width: auto;
    border-radius: 10px;
    color: #fff;
    position: absolute;
    bottom: 12px;
    right: 36px;
    margin: 0;
    padding: 5px 10px;
    font-size: 1.8rem
}
.boxcontatti {
    position: absolute;
    bottom: 0
}
.contacts .tipocontatto {
    margin-left: 20px
}
.contacts .tipocontatto a {
    font-size: 2rem;
    color: #fff;
    opacity: .5;
}
.contacts .tipocontatto a:before {
    content: url("/img/radio-btn-empty.png");
    margin-right: 5px;
}
.contacts .tipocontatto a.active {
    opacity: 1
}

.contacts .tipocontatto a.active:before {
    content: url("/img/radio-btn-full.png");
    margin-right: 5px;
}

.contacts .boxcontatti1 {
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    color: #DD1634
}
.contacts .boxcontatti1 h4 {
    font-size: 2.5rem;
}
.contacts .boxcontatti1 h4:before {
    content: url("/img/contacts-icons.png");
    margin-right: 10px
}
.contacts .boxcontatti1 a {
    color: #E30E22;
}

@media only screen and (max-width: 480px) {
    .sottoh2cerca .menusearch { float: none }
    h2 {
        font-size: 3rem;
    }
    .device-piedone, .device-piedone .text-right {
        text-align: center !important
    }

    .boxcontatti {
        position: relative;
        bottom: auto;
        margin-top:40px
    }

}

.contacts input::placeholder, .contacts textarea::placeholder {
    color: black;
}

input[type="file"] {
    cursor: pointer;
    background: white;
    border-bottom: 1px solid #585B5C;
    padding: 6px;
}