@import url(normalize.css);

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: #444;
    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;
}


img {
    max-width: 100%;
}

/* Layout */

body {
    background: #fff;
    color: #444;
    font-size: 18px;
    font-family: "Lato", sans-serif;
    width: 100%;
    display: block;
}

p {
    text-align: justify;
}

ul {
    padding: 0 0 0 20px;
}

li {
    margin: 0 0 .5em 0;
}

header {
    background: #213441;
    width: 100%;
    height: 114px;
    position: fixed;
    top: 0;
    z-index: 999;
    transition: font-size 0.3s, height 0.3s;
    -webkit-transition: font-size 0.3s, height 0.3s;
    -moz-transition: font-size 0.3s, height 0.3s;
    padding: 0;
    box-shadow: rgb(0 0 0 / 10%) 0px 5px 15px;
}

header.small {
    height: 65px;
    transition: font-size 0.5s, height 0.5s;
    -webkit-transition: font-size 0.5s, height 0.5s;
    -moz-transition: font-size 0.5s, height 0.5s;
    padding: 0;
}

h1 {
    font-size: 1.3em;
    margin: 0 auto 5px;
    display: block;
    clear: both;
    width: 100%;
}

h2 {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 30px;
    display: block;
    clear: both;
    margin: 8px 0;
}

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

.der {
    float: right;
    margin: 0 0 30px 30px;
}

.izq {
    float: left;
    margin: 0 30px 30px 0;
}

/* header */

#top {
    clear: both;
    display: block;
    width: 100%;
    height: 1px;
}

.sop-header {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    padding: 0;
    display: flex;
}

a.logo {
    margin: 40px 0 0 0;
    float: left;
    transition: all 0.3s ease;
}

a.logo img {
    transition: all 0.3s ease;
}

.small .logo {
    margin: 70px 0 0 0;

}

.small .logo img {
    max-height: 130px;

}

header nav {
    font-weight: 400;
    float: left;
    width: 600px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    transition: all 0.3s ease;
    height: 100%;
    margin: 0 0 0 100px;
}

header.small nav {
    height: 65px;
    padding: 0;
    margin: 0;
}

header nav a {
    padding: 0 30px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    height: 100%;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 18px;
}

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

header nav a:hover,
header nav a.active {
    background: #4b2125;
    color: #fff;
}

header.small nav a {
    height: 65px;
    line-height: 65px;
}

.wsp-link {
    width: 210px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
}

.wsp-link:hover {
    background: #7FFA9A;
}

/* Slider */
#hero {
    margin: 0;
    display: flex;
    float: left;
    width: 100%;
    clear: both;
    align-items: center;
    background: #213441;
    color: #fff;
}

.cont-slide {
    width: 50%;
    float: right;
    height: auto;
}

.cont-h-txt {
    width: 50%;
    float: left;
}

.sop-h-txt {
    float: right;
    max-width: 500px;
    text-align: center;
    margin: 0 50px 0 0;
}

.sop-h-txt h1 {
    font-size: 50px;
    font-weight: 400;
}

.wrap-slider {
    margin: 50px 0 0 0;
    z-index: 1;
    display: block;
    position: relative;
}

.btn-ver-prods {
    background: #213441;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    margin: 30px auto;
    width: 220px;
    display: block;
    padding: 16px 0;
    text-align: center;
}

.btn-ver-prods:hover {
    background: #216594;
    color: #fff;
}

/* Bienvenidos */

#wrap-bienvenidos {
    margin: 0;
    display: block;
    clear: both;
    width: 100%;
    background: #fff;
    padding: 100px 20px;
    float: left;
    margin: 130px 0 0 0;
}

.cont-bienvenidos {
    max-width: 1200px;
    margin: 0 auto;
}

.cont-bienvenidos img {
    max-width: 50%;
    float: left;
}

.cont-bienvenidos .cont-txt-bienv {
    max-width: 50%;
    float: right;
    padding: 0 0 0 64px;
}

.cont-bienvenidos .cont-txt-bienv h1 {
    font-size: 32px;
    text-align: center;
}

.cont-txt-bienv h2 {
    text-align: center;
}

/* Prod Indx */

#wrap-prod-indx {
    display: block;
    width: 100%;
    float: left;
    clear: both;
    padding: 60px 20px;
    margin: 80px 0 32px;
}

.sop-prods-indx {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    float: none;
}

.sop-prods-indx h1 {
    display: block;
    text-align: center;
    font-size: 48px;
    margin: 0 auto 32px;
    font-weight: 400;
}

.cont-prods-indx {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.item-prod-indx {
    width: 270px;
    position: relative;
    margin: 0 0 30px;
}

.item-prod-indx figure {
    width: 270px;
    height: 270px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.cont-proy .item-prod-indx {
    width: 370px;
}

.cont-proy .item-prod-indx figure {
    width: 370px;
    height: 370px;
}

.item-prod-indx figure img {
    transition: all 0.3s ease;
}

.item-prod-indx:hover figure img {
    transform: scale(1.15);
}

.item-prod-indx .sop-txt {
    background: #FFFFFF;
    border: 1px solid #C7C7C7;
    border-radius: 8px;
    text-align: center;
    width: 230px;
    display: block;
    float: none;
    margin: -24px auto 0;
    padding: 8px;
    z-index: 10;
    position: relative;
}


/* Interior */

#wrap-interior {
    display: block;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    float: none;
    overflow: hidden;
    margin: 170px auto 50px;
}

#wrap-interior h1 {
    text-align: center;
    font-weight: 300;
    font-size: 44px;
}

#wrap-interior h3 {
    font-weight: 400;
    padding: 20px 0 0;
    margin: 0;
}

#wrap-interior p {
    font-size: 1.15em;
    line-height: 1.6em;
    font-weight: 300;
}

#wrap-interior .lista-prods {
    margin: 0 0 8px 0;
}

/* Contacto */
::-webkit-input-placeholder {
    /* Edge */
    color: #213441;
}

:-ms-input-placeholder {
    /* Internet Explorer */
    color: #213441;
}

::placeholder {
    color: #213441;
}

#wrap-contacto {
    display: flex;
    align-items: center;
    width: 100%;
}

.cont-contacto {
    width: 100%;
    margin: 0 auto 0;
    float: none;
    display: block;
    clear: both;
}

.cont-contacto h1 {
    font-size: 40px;
    font-weight: 300;
}




.cont-contacto .sop-form {
    width: 100%;
    float: left;
    font-size: 18px;
}

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

.sop-form ul label {
    width: 100px;
    float: left;
}

.sop-form ul input {
    width: 100%;
    background: #fff;
    border: none;
    padding: 8px;
    border-radius: 8px;
}

.sop-form ul textarea {
    width: 100%;
    background: #fff;
    border: none;
    padding: 8px;
    border-radius: 8px;
}

.med-col {
    width: 50%;
    float: left;
    padding: 0 8px;
}

.full-col {
    width: 100%;
    display: block;
    clear: both;
    padding: 0 8px;
}

span.output_message {
    margin: 16px 0 0 0;
    display: block;
    color: #fff;
}

.sop-form ul input[type="submit"] {
    background: #4d90fe;
    color: #fff;
    width: 250px;
    float: right;
    display: block;
    padding: 15px 0;
    margin: 0 10px;
    font-weight: 500;
    border-radius: 15px;
}

.sop-form ul input[type="submit"]:hover {
    background: #a34e00;
}

.full-col div {
    clear: both;
    padding: 0;
    float: none;
    display: block;
    overflow: hidden;
    text-align: center;
    color: #f9f9f9;
}

#html_element {
    float: left;
    margin: 0;
    width: 300px;
    padding: 0;
}

iframe#mapa {
    width: 100%;
    min-height: 500px;
    margin: 30px 0 50px;
    border: none;
}

footer {
    background: #213441;
    width: 100%;
    min-height: 215px;
    color: #fff;
    padding: 50px 0;
    display: block;
    clear: both;
}

.cont-footer {
    max-width: 1200px;
    margin: 0 auto;
    float: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cont-datos-cont {
    width: 50%;
}

.cont-datos-cont h1 {
    font-size: 40px;
    font-weight: 300;
    margin: 0 0 16px;
}

.item-contacto {
    margin: 0 0 16px;
}

.item-contacto img {
    float: left;
    margin: 0 16px 16px 0;
}

.sop-form {
    width: 60%;
}

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

#piedepagina a {
    color: #216594;
}

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



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

    header,
    header.small {
        height: 40px;
    }

    .wrap-slider {
        margin: 41px 0 0 0;
    }



    a.logo {
        margin: 0 0 0 20px;
        z-index: 10;
        position: relative;
    }

    .logo img,
    .small .logo img {
        max-height: 65px;
    }



    .der,
    .izq {
        float: none;
        margin: 20px auto;
    }



    #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: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        -o-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
        cursor: pointer;
        float: right;
    }

    #pull span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.25s ease-in-out;
        -moz-transition: 0.25s ease-in-out;
        -o-transition: 0.25s ease-in-out;
        transition: 0.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: #0d151a;
        position: absolute;
        top: 40px;
        display: none;
        padding: 0;
        height: auto;
        left: 0;
        margin: 0;
    }

    #cssmenu a,
    #cssmenu a:hover,
    #cssmenu a:active {
        display: block;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 15px 10px;
        color: #fff;
        font-size: 16px;
        height: auto;
        line-height: 1.4em;
    }

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

    .wsp-link {
        font-size: 16px;
        width: 190px;
        height: 30px;
    }

    #wrap-interior,
    #hero {
        margin: 50px 0 50px 0;
        display: block;
    }

    #wrap-interior h1 {
        font-size: 30px;
    }

    #wrap-interior h2 {
        font-size: 24px;
    }

    .cont-h-txt,
    .cont-slide {
        width: 100%;
        display: block;
        clear: both;
        float: none;
    }

    .cont-bienvenidos .cont-txt-bienv {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .cont-bienvenidos img {
        max-width: 100%;
        float: none;
    }

    .sop-h-txt {
        margin: 0 auto;
        padding: 20px;
    }

    .sop-h-txt h1,
    .sop-prods-indx h1 {
        font-size: 30px;
    }
}

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

    .med-col,
    .sop-form ul input,
    .sop-form ul textarea {
        width: 100%;
    }

    .cont-txt-bajada span {
        font-size: 18px;
    }

    .cont-footer {
        display: block;
        padding: 0 20px;
    }

    .cont-datos-cont {
        width: 100%;
    }

    .sop-form {
        width: 100%;
        margin: 30px 0 0;
    }

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

    .item-prod-indx {
        margin: 0 auto 30px;
        display: block;
    }

    .sop-form ul input[type="submit"] {
        margin: 16px auto 0;
    }

    .cont-proy .item-prod-indx {
        width: 270px;
    }

    .cont-proy .item-prod-indx figure {
        width: 270px;
        height: 270px;
    }
}