h1 {
    margin-bottom: 20px;
    margin-top: 50px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 1.6em;
    line-height: 1.2em;
    font-weight: 700;
    color: #007AB6;
    text-transform: uppercase;
}

h2 {
    margin-bottom: 20px;
    margin-top: 50px;
    padding-bottom: 10px;
    text-align: left;
    font-size: 1.6em;
    line-height: 1.2em;
    font-weight: 700;
    color: #007AB6;
    text-transform: uppercase;
}

/* DIRECCIÓN */
#address {
    background: url(/front/javax.faces.resource/images/img-office.jpg.xhtml) no-repeat bottom center;
    background-size: cover;
    margin-bottom: 30px;
    padding: 6% 0;
    width: 100%;
}

#address .txtBlock {
    background-color: #F8F9FA;
    color: #333;
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.2em;
    padding: 30px 50px 15px 10px;
}

#address .txtBlock p {
    margin-bottom: 15px;
}

#address .txtBlock strong {
    color: #007AB6;
    display: block;
    text-transform: uppercase;
}

#address .txtBlock a {
    color: #333;
    font-weight: 700;
}

#address .txtBlock a:hover {
    text-decoration: underline;
}

#address .txtBlock img {
    margin: 6px 0 12px;
}

/* FORMULARIO */
#contactForm {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

#contactForm .campos {
    color: #333;
    width: 64%;
}

#contactForm .campos ul {
    float: left;
    width: 100%;
    font-size: 1.2em;
}

#contactForm .campos li {
    float: left;
    margin: 0 0 20px 0;
    width: 100%;
}

#contactForm .campos li.w33 {
    margin-right: 1%;
    width: 32%;
}

#contactForm .campos li.w50 {
    width: 50%;
}

#contactForm .campos li.w66 {
    width: 67%;
}

#contactForm .campos li.boton {
    color: #007AB6;
    font-style: italic;
    margin-top: 5px;
    text-align: right;
}

#contactForm .campos li.boton a {
    position: relative;
    line-height: 1.2em;
    padding: 10px 40px 10px 20px;
    color: #007AB6;
    background-color: #D9F0ED;
    font-size: 1.4em;
    border-radius: 35px;
    text-decoration: none;
    margin-left: 10px;
}

#contactForm .campos li.boton a em {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 9px;
    right: 10px;
    background: url(/front/javax.faces.resource/images/arrow-link-blue.png.xhtml) center center / 20px 20px no-repeat;
}

#contactForm .campos li.boton span {
    font-weight: 700;
}

#contactForm .campos b {
    display: block;
    margin-bottom: 10px;
}

#contactForm .campos a {
    color: #333;
    text-decoration: underline;
}

#contactForm .campos a:hover {
    color: #000;
}

#contactForm .campos input, textarea {
    border: 1px solid #999;
    border-radius: 3px;
    box-sizing: border-box;
    color: #333;
    height: 30px;
    padding: 0 5px;
    width: 100%;
}

#contactForm .campos textarea {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    height: 120px;
    padding: 5px;
}

#contactForm .campos input.iptAceptar {
    margin-right: 5px;
    vertical-align: middle;
    width: auto;
}

#contactForm .imagen {
    display: inline-block;
    margin-left: 5%;
    width: 30%;
}

#contactForm .imagen img {
    height: auto;
    width: 100%;
}

@media screen and (min-width: 320px) and (max-width: 480px) {
    h2 {
        margin-top: 0;
    }

    #contactForm .campos {
        width: 100%;
    }

    #contactForm .campos li.w50 {
        width: 100%;
    }

    #contactForm .campos li.boton {
        text-align: left;
    }

    #contactForm .campos li.boton a {
        float: right;
    }

    #contactForm .imagen {
        display: none;
    }

    #address {
        background-size: contain;
        background-position: center top;
        padding: 0;
    }

    #address .txtBlock {
        background: none;
        padding: 45% 0 0 0;
    }
}

@media screen and (min-width: 481px) and (max-width: 720px) {
    #contactForm .campos li.w50 {
        width: 100%;
    }

    #contactForm .campos li.boton {
        text-align: left;
    }

    #contactForm .campos li.boton a {
        float: right;
    }
}

@media screen and (min-width: 721px) and (max-width: 979px) {
    #contactForm .campos li.w50 {
        width: 100%;
    }

    #contactForm .campos li.boton {
        text-align: left;
    }

    #contactForm .campos li.boton a {
        float: right;
    }
}

@media screen and (min-width: 980px) and (max-width: 1150px) {
}
