@import url(normalize.css);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;

box-sizing: border-box;

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
    clear: both;
}

* {
    box-sizing: border-box;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: none;
}

textarea,
input,
button {
    outline: none;
}

a {
    color: #000;
    text-decoration: none;
    transition: all 0.5s ease;
}

a:hover {}

button,
button:active,
button:focus,
input[type=submit] {
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: none;
}

/* Layout */

body {
    background: #fff;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    /* overflow: hidden; */
    width: 100%;
    display: block;
    line-height: 1.6;
    text-align: justify;
}

header {
    background-color: #510827;
    width: 100%;
    height: 160px;
    position: fixed;
    top: 0;
    z-index: 999;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 48%, rgba(255, 255, 255, 0) 100%);
    transition: all ease 0.5s;
}

header.small {
    height: 80px;
    background-color: #fff;
}

h1 {
    font-size: 1.3em;
    margin: 0 auto;
}

h2 {
    font-weight: 400;
    font-size: 30px;
    margin: 20px 0 0 0;
}

/* Content */
.sop-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    -webkit-transition: width 2s;
    /* Safari */
    transition: all ease 0.5s;
    height: 160px;
}

.small .logo img {
    /* width: 150px; */
    -webkit-transition: width 2s;
    /* Safari */
    height: 80px;
    transition: all ease 0.5s;
}

header nav {
    font-weight: 400;
    float: right;
    margin: -30px 0 0 0;
    transition: all ease 0.5s;
}

header.small nav {
    margin: 0;
}

header nav a {
    padding: 5px;
    margin: 0 30px;
    font-size: 18px;
}

header nav a:last-child {
    border-right: none;
}

header nav a:hover,
header nav a.active {
    color: #ff6a23;
}

#pull,
.btn-menu {
    display: none;
}

/* Slider */
#slider-1 div {
    display: block;
    width: 100%;
    height: 100vh;
    background-size: cover;
    overflow: hidden;
    max-height: 750px;
}

#slider-1 div div.sop-slider {
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.75);
}

#slider-1 div .cont-slider {
    height: auto;
    padding: 0;
    margin: 0;
    color: #fff;
    text-align: center;
    /* display: block; */
}

#slider-1 div .cont-slider .titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: bold;
    width: 100%;
    clear: both;
    display: block;
    line-height: 1;
}

#slider-1 div .cont-slider .bajada {
    font-size: 30px;
    clear: both;
    float: none;
    display: block;
    margin: 30px 0 50px 20%;
    max-width: 860px;
    text-align: left;
}

#slider-1 div .cont-slider button {
    clear: both;
    float: none;
    font-size: 19px;
    padding: 10px 25px;
    background: #cb6120;
    color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#slider-1 div .cont-slider button:hover {
    background: #9e9e9e;
}

/* Bienvenida */

#bienvenida {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    display: block;
    overflow: hidden;
}

.cont-bienv {
    float: left;
    width: calc(100% - 550px);
    text-align: center;
}

#bienvenida h1 {
    font-size: 34px;
    font-weight: normal;
    padding: 0;
    line-height: 1.4;
}

#bienvenida .cont-bienv img {
    float: none;
    margin: 30px auto;
}

#bienvenida img {
    float: right;
}

.barra {
    width: 100%;
    height: 2px;
    background: #cb6120;
}

span.txt-bienv {
    display: block;
    float: none;
    clear: both;
    text-align: center;
    width: 100%;
    font-size: 26px;
    font-weight: 600;
}

/* Servicios */
#servicios {

    max-width: 1200px;
    margin: 50px auto;
}

.cont-tit {
    max-width: 60%;
    text-align: center;
    margin: 0 auto;
    /* overflow: hidden; */
    display: flex;
    height: 80px;
    position: relative;
    align-items: center;
}

.cont-tit h1 {
    font-weight: 500;
    font-size: 55px;
    background: #ffffff;
    z-index: 5;
    display: block;
    text-align: left;
    width: fit-content;
    padding: 0 30px;
    overflow: hidden;
    color: #404040;
    font-weight: 500;
}

.cont-tit .barra {
    height: 5px;
    margin: 0;
    z-index: 0;
    position: absolute;
}

.cont-serv-indx {
    max-width: 1000px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cont-serv-indx img {
    margin: 0 auto 20px;
    clear: both;
    display: block;
}

.cont-serv-indx .item-serv {
    text-align: center;
    max-width: 250px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    display: block;
}

/* Proyectos */

#proyectos {
    background: #ddd;
    width: 100%;
    display: block;
    margin: 50px 0;
    padding: 50px 0;
    z-index: 0;
}

.cont-proy-indx {
    max-width: 1200px;
    margin: 50px auto;
}

#proyectos .cont-tit h1 {
    background: #ddd;
    font-size: 40px;
}

.cont-proy-itms {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
}

.item-proy-indx {
    max-width: 350px;
}

.item-proy-indx img {
    margin: 0 0 20px 0;
}

.cont-proy-txt span {
    display: block;
}

/* Clientes */
#clientes {
    display: block;
    max-width: 1200px;
    margin: 100px auto;
}

.cont-clientes-indx {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 50px 0;
}

.cont-clientes-indx img {
    margin: 0 auto 40px;
}

#clientes h1 {
    font-size: 30px;
}

/* Form */

#wrap-form {
    background: #ff6a23;
    color: #666666;
    width: 100%;
    display: block;
}

.cont-form {
    max-width: 1000px;
    display: block;
    margin: auto;
    overflow: hidden;
    /* display: flex; */
    min-height: 550px;
    padding: 150px 0;
}

.sop-form {
    width: 540px;
    margin: auto 0;
    float: left;
}

.sop-form h2 {
    font-size: 30px;
    font-weight: 500;
    color: #fff;
}

.sop-datos {
    width: 40%;
    float: left;
    display: block;
    margin: 50px 0 0 0;
}

.sop-datos ul {
    list-style-type: none;
    margin: 0;
}

.sop-datos ul li {
    display: block;
    clear: both;
    margin: 0 0 30px;
}

.sop-datos ul li i {
    font-size: 30px;
    float: left;
    margin: 0;
    display: block;
    width: auto;
    text-align: right;
}

.sop-info-cont {
    padding: 5px 0 0 0;
}

.sop-info-cont span {
    display: block;
    color: #fff;
}

.sop-info-cont span.dato-tit {
    font-weight: 500;
    font-size: 20px;
}

.sop-info-cont span.dato-info {
    font-size: 16px;
}

.sop-form h2 {
    color: #fff;
    font-size: 31px;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.5;
}

ul#rrss {
    margin: 0;
    padding: 0;
}

ul#rrss li {
    float: left;
    clear: none;
    margin: 5px 20px 0 0;
    padding: 0;
}

ul#rrss li a {
    color: #fff;
}

ul#rrss li a:hover {
    color: #ccc;
}

form {
    max-width: 100%;
}

form input {
    display: block;
    width: calc(50% - 10px);
    float: left;
    margin: 0 0 20px;
    border: none;
    padding: 8px 5px;
    box-sizing: border-box;
}

form input:nth-child(odd) {
    margin: 0 20px 20px 0;
}

form textarea {
    width: 100%;
    margin: 0 0 20px 0;
    border: none;
    padding: 5px;
}

form input[type=submit] {
    float: right;
    background: #626262;
    color: #fff;
    padding: 8px;
    cursor: pointer;
}

form input[type=submit]:hover {
    background: #9e9e9e;
}

/****** Interior ******/

.wrap-interior {
    display: block;
    clear: both;
    overflow: hidden;
    max-width: 1200px;
    margin: 200px auto 50px;
}

.wrap-interior .cont-tit {
    margin: 0 0 50px;
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: flex-end;
}

.wrap-interior .cont-tit h1 {
    text-align: left;
    float: left;
    background: transparent;
    font-size: 38px;
    margin: 0;
    padding: 0 0 0 10px;
    font-weight: 600;
}

.wrap-interior .cont-tit .barra {
    height: 3px;
}

.wrap-interior h2 {
    font-weight: 600;
    margin: 100px 0 0 0;
}

img.der {
    float: right;
    max-width: 540px;
    margin: 0 0 20px 20px;
}

img.der:nth-of-type(2),
img.der:nth-of-type(3),
img.der:nth-of-type(6),
img.der:nth-of-type(9) {
    max-height: 150px;
}

.img-border {
    padding: 5px;
    border: 1px solid #ddd;
}

.nar {
    color: #ff6a23;
}

/************ Obras ***********/

.cont-obras {
    margin: 50px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.obra {
    max-width: 380px;
    overflow: hidden;
    display: inline-block;
    height: 315px;
    border: 1px solid #ccc;
    padding: 20px 15px;
    margin: 0 10px 15px 0;
}

.obra:hover {
    border: 1px solid #ff6a23;
}

.obra span {
    color: #000;
    font-size: 16px;
    display: block;
    width: 100%;
    line-height: 1.2;
    margin: 10px 0 0 0;
}

/* Accordeon */

button.accordion {
    color: #000;
    background: #fff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
    margin: 0;
    font-weight: 400;
    vertical-align: top;
    border: 1px solid #ececec;
    width: 100%;
    font-size: 16px;
    background: #f7f7f7;
}

.accordion:nth-of-type(1) {
    margin: 0;
}

.accordion i {
    margin: 0 20px 0 20px;
    float: right;
    font-size: 20px;
    transition: all 0.3s ease;
}

.active .accordion i {
    transform: rotate(180deg);
    transition: all 0.3s ease;
}

.accordion.active {
    border-bottom: none;
    font-weight: 600;
}

.panel {
    padding: 0 20px;
    display: block;
    background-color: white;
    overflow: hidden;
    max-height: 0;
    transition: all 0.5s ease;
}

.active .panel {
    max-height: 1350px;
    padding: 20px 20px;
    transition: all 0.5s ease;
}

.panel ul {
    list-style-type: none;
    margin: 20px 0;
    padding: 0 0 0 40px;
}

.panel ul li {
    margin: 5px 0px 5px -10px;
}

.panel ul li a {
    display: block;
    color: #afafaf;
    font-size: 24px;
    padding: 5px 0 5px 10px;
}

.panel ul li a:hover {
    background: #de1316;
    color: #fff;
}

.panel p {
    margin: 0px 0 15px 0px;
    line-height: 1.5;
}

/*Formulario*/
.wrap-interior form {
    margin: 30px 0;
    width: 50%;
    float: left;
}

.wrap-interior form ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.wrap-interior form ul li {
    margin: 0 0 10px;
    overflow: hidden;
}

.wrap-interior form label {
    width: 120px;
    vertical-align: top;
    float: left;
    display: block;
    height: 20px;
}

.wrap-interior form input,
.wrap-interior textarea {
    width: 70%;
    float: left;
    border: 1px solid #ddd;
    background: #fff;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 0 0 20;
    max-width: 100%;
}

.wrap-interior textarea {
    width: 70%;
}

.wrap-interior .sop-info-cont span {
    color: #404040;
}

.wrap-interior form input[type="submit"] {
    background: #ff6a23;
    color: #fff;
    padding: 10px 0;
    transition: all 0.3s ease;
    float: left;
}

.wrap-interior form input[type="submit"]:hover {
    background: #404040;
}

iframe#mapa {
    display: block;
    clear: both;
    margin: 0;
    width: 100%;
    height: 500px;
    border: none;
}

span.output_message {
    font-size: 1.3em;
    color: #333;
    text-align: center;
    display: block;
    float: left;
}

input#fecha::before {
    content: "Read this: ";
}

.wrap-interior ul#rrss li a {
    color: #ff6a23;
}

.wrap-interior ul#rrss li a:hover {
    color: #ccc;
}

#piedepagina {
    width: 100%;
    text-align: center;
    display: block;
    float: left;
    padding: 1em 0;
    background: #de591a;
    color: #ffa073;
    font-size: .9em;
}

#piedepagina a {
    color: #ffa073;
}

#piedepagina a:hover {
    color: #fff;
}

@media only screen and (max-width: 1024px) {
    .sop-header {
        max-width: 1000px;
    }

    #slider-2 div {
        width: 95%;
    }

    #slider-1 div .cont-slider .titulo {
        font-size: 40px;
    }

    #slider-1 div .cont-slider .bajada {
        font-size: 25px;
    }

    .cont-gestion h2 {
        font-size: 30px;
    }

    #slider-2 div .cont-slider img {
        max-width: 35%;
    }

    #slider-2 div .cont-slider .titulo {
        font-size: 25px;
    }

    #slider-2 div .cont-slider p {
        font-size: 16px;
    }

    #wrap-form {
        background-position: center;
    }

    .sop-form {
        max-width: 400px;
        margin: auto 0 auto 30px;
    }


    .cont-form {
        padding: 100px 0;
    }

    #wrap-form {
        height: auto;
    }

    .wrap-interior {
        margin: 50px auto 50px;
        padding: 0 20px;
    }

    .wrap-interior form {
        width: 100%;
        margin: 0;
    }

    .wrap-interior form input,
    .wrap-interior textarea {
        width: 100%;
    }

    .sop-datos {
        width: 100%;
        margin: 0 0 20px;
    }
}

@media only screen and (max-width: 768px) {
    .sop-header {
        max-width: 1000px;
    }

    #slider-2 div {
        width: 95%;
    }

    .cont-form {
        padding: 0;
    }


    header,
    header.small {
        height: 50px;
        background: #fff;
    }

    .logo {
        float: none;
        margin: 0 auto;
    }

    .logo img {
        max-height: 40px;
    }

    #pull {
        display: block;
    }

    #pull {
        width: 30px;
        height: 30px;
        position: relative;
        margin: 0 10px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        z-index: 99999;
    }

    #pull span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #404040;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        top: 0;
    }

    #pull span:nth-child(1) {
        top: 5px;
    }

    #pull span:nth-child(2) {
        top: 15px;
    }

    #pull span:nth-child(3) {
        top: 25px;
    }

    #pull.open span:nth-child(1) {
        top: 13px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    #pull.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    #pull.open span:nth-child(3) {
        top: 13px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }


    #cssmenu {
        width: 100%;
        background: #ff6821;
        position: absolute;
        top: 50px;
        display: none;
        margin: 0;
    }

    #cssmenu a,
    #cssmenu a:hover,
    #cssmenu a:active {
        display: block;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 10px;
        color: #fff;
    }

    #cssmenu a:last-child {
        border-bottom: none;
    }

    .slick-arrow {
        display: none !important;
    }

    #wrap-form {
        padding: 30px 10px 0 0;
        overflow: hidden;
    }

    .cont-form {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding: 0 20px;
        overflow: hidden;
    }

    .sop-form {
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
    }


    #slider-1 div {
        height: 300px;
    }

    #slider-1 div .cont-slider .bajada {
        font-size: 18px;
        float: left;
        margin: 30px 0 50px 5%;
        max-width: 250px;
    }

    .cont-clientes-indx {
        display: block;
    }

    .cont-bienv {
        width: 100%;
    }

    .cont-serv-indx {
        display: block;
    }

    .cont-serv-indx .item-serv {
        margin: 0 auto 30px;
        float: none;
    }

    .cont-proy-itms {
        display: block;
    }

    .item-proy-indx,
    .cont-clientes-indx img {
        margin: 0 auto 30px;
        float: none;
        display: block;
    }
}

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

    form input {
        width: 100%;
    }

    .cont-tit {
        max-width: 100%;
    }

    .cont-tit h1 {
        font-size: 36px;
        padding: 0 10px;
    }

    #proyectos,
    #servicios,
    #clientes {
        padding: 0 20px;
    }

    img.der:nth-of-type(2),
    img.der:nth-of-type(3),
    img.der:nth-of-type(6),
    img.der:nth-of-type(9) {
        max-height: 100%;
    }

}