@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;
    cursor: pointer;
}

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: #6c6c6c;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    width: 100%;
    display: block;
    /* text-align: center; */
    /* padding: 100px; */
}

p {
    text-align: justify;
}

ul {
    padding: 0 0 0 20px;
    overflow: hidden;
}

li {
    margin: 0 0 0.5em 0;
}

header {
    background: #fff;
    width: 100%;
    height: 90px;
    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: 600;
    font-size: 20px;
    display: block;
    clear: both;
    margin: 8px 0 16px;
}

#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: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    padding: 0;
}

a.logo {
    margin: 0 30px 0 0;
    float: left;
}

a.logo-2 {
    margin: 0 0 0 30px;
}

.logo img {
    max-height: 130px;
    transition: all 0.3s ease;
}

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

header nav {
    font-weight: 400;
    float: right;
    width: 850px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    transition: all 0.3s ease;
    height: 90px;
    text-transform: uppercase;
}

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

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    overflow: visible;
}

header nav ul li {
    margin: 0;
    display: block;
    float: left;
    position: relative;
}

header nav li ul {
    position: absolute;
    z-index: 9999;
    top: 30px;
    display: none;
    background: #fff;
    min-width: 260px;
}

header nav li:hover ul {
    display: block;
}

header nav li ul li {
    display: block;
    float: none;
    margin: 4px 0 8px;
}

header nav li ul li a,
header nav li ul li:last-child a,
header nav li ul li a:hover {
    border-radius: 0;
    background: inherit;
    color: inherit;
    white-space: nowrap;
}

header nav li ul li:last-child a:hover,
header nav li ul li a:last-child:hover {
    border-radius: 0;
}

header nav ul li a {
    padding: 4px 20px;
    margin: 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

header nav ul li:last-child a,
header nav ul li:last-child a.active {
    background: #3869ba;
    color: #fff;
    border-radius: 10px;
}

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

header nav a:last-child:hover {
    background: #e36800;
    color: #fff;
    border-radius: 10px;
}

header.small nav a {}

/* Slider */

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

.slide {
    position: relative;
    background-size: cover;
    min-height: 600px;
}

.slide .txt-slide {
    position: absolute;
    top: 30%;
    left: 15%;
    font-weight: 500;
    font-size: 30px;
    color: #fff;
    width: 600px;
    text-shadow: 2px 2px 2px rgb(49 49 49);
    text-shadow: -1px -1px 5px #313131, 1px -1px 5px #313131, -1px 1px 5px #313131, 1px 1px 5px #313131;
    z-index: 5;
}

.slide .txt-slide p {
    font-size: 25px;
    margin: 10px 0 0 0;
}

.slick-slide img {
    filter: sepia(0%) saturate(100%) brightness(50%) hue-rotate(0deg);
    width: auto !important;
    min-height: 400px;
}

.slide a.vermas {
    font-weight: 400;
    border: 2px solid #fff;
    background: transparent;
    padding: 5px 30px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    justify-content: center;
    width: 140px;
    font-size: 20px;
    margin: 20px 0 0 10%;
    line-height: 0;
    height: 40px;
    align-items: center;
}

.slide a.vermas:hover {
    background: rgb(255 255 255 / 55%);
}

/* Bienvenida */

#wrap-bienvenida {
    display: block;
    background: #f5f5f5;
    clear: both;
    padding: 50px 20px;
    float: none;
}

.cont-bienvenida {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 22px;
}

.cont-bienvenida .tit-bienv {
    font-size: 40px;
    text-align: center;
}

.cont-bienvenida .tit-bienv strong {
    font-weight: 600;
    color: #000;
}

.cont-bienvenida .tit-bienv .thin {
    font-weight: 300;
    color: #e36800;
}

/* Servicios */

#wrap-servicios {
    display: block;
    clear: both;
    padding: 50px 20px;
    float: none;
}

.cont-servicios {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}

.cont-servicios .tit-serv {
    font-size: 40px;
    text-align: center;
}

.cont-servicios .tit-serv strong {
    font-weight: 600;
    color: #000;
}

.cont-servicios .tit-serv .thin {
    font-weight: 300;
    color: #151791;
}

.sop-items-serv {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
}

.item-serv {
    width: 280px;
    margin: 0 auto 45px;
}

.item-serv figure {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.item-serv .tit {
    font-weight: bold;
    font-size: 20px;
    display: block;
    text-align: center;
    color: #000;
    margin: 10px 0 0;
}

.item-serv a {
    background: #e9852b;
    color: #fff;
    font-weight: 500;
    width: 200px;
    padding: 5px 0;
    display: block;
    float: none;
    margin: 0 auto;
    text-align: center;
}

.item-serv a:hover {
    background: #666;
}

/* Representa */

#wrap-representa {
    border-top: 1px solid #eee;
    width: 100%;
    display: block;
}

#wrap-representa h2 {
    text-align: center;
    margin: 50px 0 0;
}

#cont-representa {
    max-width: 980px;
    display: flex;
    margin: 50px auto 100px;
    float: none;
    justify-content: space-between;
}

#cont-representa img {

    max-height: 65px;
}

.cont-mri {
    max-width: 480px;
    text-align: center;
}

.cont-mri img {
    display: block;
    float: none;
    margin: 0 auto;
}

.cont-mri .tit {
    font-weight: 600;
    padding: 5px 0;
    display: block;
}

.cont-mri p {
    margin: 0;
}

.cont-mri .btn-mri {
    background: #3869ba;
    color: #fff;
    border-radius: 5px;
    padding: 8px 16px;
    display: block;
    margin: 10px auto;
    max-width: 120px;
}

.cont-mri .btn-mri:hover {
    background: #444444;
}

.cont-cifras {
    max-width: 1100px;
    margin: 30px auto 100px;
    float: none;
    display: flex;
    justify-content: space-around;
    overflow: hidden;
}

.item-cifra {
    padding: 0 20px 40px;
    text-align: center;
    color: #7d7d7d;
}

.item-cifra img {
    max-width: 80px;
    display: block;
    clear: both;
    margin: 0 auto;
}

.item-cifra .num {
    display: block;
    font-size: 30px;
    font-weight: 600;
}

.item-cifra .txt {
    font-size: 20px;
}

/* Noticias */
#wrap-noticias {
    background: #f5f5f5;
    display: block;
    padding: 20px 0;
}

.cont-noticias {
    max-width: 1100px;
    margin: 30px auto;
    float: none;
    overflow: hidden;
}

.cont-noticias .tit-noticias strong {
    font-weight: 600;
    color: #000;
    text-align: center;
    font-size: 40px;
    display: block;
    margin: 30px;
    clear: both;
}

.item-noticia {
    width: 100%;
    margin: 0 0 30px;
    display: block;
    clear: both;
    padding: 20px;
    overflow: hidden;
}

.item-noticia:hover {
    background: #e6e6e6;
}

.item-noticia figure {
    float: left;
    margin: 0 20px 0 0;
}

.item-noticia .cont-txt h2 {
    font-weight: 600;
    font-size: 22px;
    color: #000;
    text-transform: inherit;
}

.cont-txt {
    float: left;
    width: calc(100% - 410px);
}


/* Instituciones */

#wrap-inst-gob {
    display: block;
    width: 100%;
    padding: 50px 20px;
}

.cont-inst-gob {
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.cont-inst-gob img {
    max-height: 70px;
}

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

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

::placeholder {
    color: #fff;
}

#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: calc(100% - 110px);
    background: #f3f3f3;
    border: none;
    padding: 5px;
}

.sop-form ul textarea {
    width: calc(100% - 110px);
    background: #f3f3f3;
    border: none;
    padding: 5px;
}

.med-col {
    width: 50%;
    float: left;
}

.full-col {
    width: 100%;
    display: block;
    clear: both;
}

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

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

.cont-contacto select {
    width: calc(100% - 110px);
    background: #f3f3f3;
    padding: 5px;
    border: none;
    border-radius: 4px;
}

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

#html_element {
    float: right;
    margin: 0 10px 1em 0;
}

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

footer {
    background: #494b5a;
    width: 100%;
    min-height: 215px;
    color: #fff;
    padding: 50px 0;
    border-top: 5px solid #e6ac3a;
}

.cont-footer {
    max-width: 1150px;
    margin: 0 auto;
    float: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: flex-start;
    font-size: 16px;
    color: #b3b3b3;
}

.cont-footer h2 {
    font-weight: 600;
    font-size: 20px;
    color: #fff;
}

.cont-footer a {
    display: block;
    clear: both;
    background: #3869ba;
    color: #fff;
    border-radius: 5px;
    padding: 6px 30px;
    margin: 8px 0;
    /* float: left; */
    overflow: hidden;
    text-align: center;
    width: fit-content;
}

.cont-footer a:hover {
    background: #dc781c;
}

.cont-footer .cont-datos div {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
}

.cont-footer .cont-datos div i {
    font-size: 24px;
    width: 30px;
}

.cont-footer .cont-rrss {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.cont-footer .cont-rrss i {
    font-size: 26px;
    margin: 0 0 0 8px;
}

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

.pie-acs {
    text-align: center;
    padding: 30px 20px;
    display: block;
    float: left;
    width: 100%;
}

#piedepagina a {
    color: #999;
}

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

#wrap-interior {
    max-width: 1200px;
    margin: 120px auto;
    overflow: hidden;
    padding: 0 20px;
}

.esp-serv {
    height: 100px;
}

.wsp {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 10;
}

span.conv-wsp {
    background: #41d54d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    left: -214px;
    position: absolute;
    width: 210px;
    text-align: center;
    top: 10px;
    display: none;
}

.wsp:hover .conv-wsp {
    display: block;
}

.cont-rrss {
    float: none;
    margin: 20px auto;
    width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
}

nav.rrss {
    margin: 0 0 0 4px;
}

nav.rrss a {
    width: 30px;
    height: 30px;
    color: #fff;
    display: flex;
    float: left;
    background: #7d7d7d;
    justify-content: center;
    align-items: center;
    margin: 0 0px;
}



nav.rrss a:nth-of-type(1) {
    background: #3b5796;
}

nav.rrss a:nth-of-type(2) {
    background: #55aded;
}

nav.rrss a:nth-of-type(3) {
    background: #eb3618;
}

nav.rrss a:nth-of-type(4) {
    background: #363636;
}

nav.rrss a:hover {
    background: #7d7d7d;
}

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

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

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



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

    .logo img,
    .small .logo img,
    .sop-header img {
        max-height: 30px;
    }



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

    header nav ul {
        display: block;
    }

    header nav ul li {
        display: block;
        float: none;
        width: 100%;
    }

    header nav ul li ul {
        display: block;
        position: relative;
        top: 0;
        background: #f9f9f9;
        border-bottom: 1px solid #d9d9d9;
    }

    #cssmenu ul li ul li {
        margin: 0;
        padding: 0 0 0 16px;
    }

    #cssmenu ul li ul li a {
        font-size: 14px;
    }

    header nav ul li:last-child a,
    header nav ul li:last-child a.active,
    header nav ul li a,
    header nav ul li a {
        border-radius: 0;
    }

    #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: #7b7b7b;
        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: #f0f0f0;
        position: absolute;
        top: 50px;
        display: none;
        padding: 0;
        height: auto;
    }

    #cssmenu a,
    #cssmenu a:hover,
    #cssmenu a:active {
        display: block;
        border-right: none;
        padding: 8px 10px;
        font-size: 16px;
        height: auto;
        line-height: 1.4em;
    }

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

    header nav a:last-child,
    header nav a:last-child.active {
        border-radius: 0;
    }

    .cont-bienvenida .tit-bienv,
    .cont-servicios .tit-serv,
    .cont-noticias .tit-noticias strong {
        font-size: 24px;
    }

    .cont-bienvenida {
        font-size: 16px;
    }

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

    .cont-datos {
        margin: 0 auto 30px;
        display: block;
        float: none;

    }

    .sop-items-serv {
        display: block;
        padding: 0;
    }

    #cont-representa {
        display: block;
        padding: 0 20px;
    }

    #cont-representa figure,
    .cont-mri {
        display: block;
        float: none;
        margin: 0 auto 30px;
        text-align: center;
    }

    .item-noticia figure {
        float: none;
        clear: both;
        margin: 0 auto 20px;
    }

    .cont-txt {
        width: 100%;
    }

    .cont-inst-gob {
        display: block;
    }

    .cont-inst-gob img {
        display: block;
        float: none;
        clear: both;
        margin: 0 auto 30px;
    }

    #cont-representa img {
        max-width: 80%;
        float: none;
        margin: 0 auto 20px;
        display: block;
    }
}

@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;
    }

    .slide {
        min-height: 300px;
    }

    .slide .txt-slide {
        font-size: 18px;
        width: 250px;
        top: 35%;
    }

    .slide .txt-slide p {
        font-size: 16px;
        line-height: 1.2;
    }

    .slide a.vermas {
        margin: 10px 0;
        font-size: 14px;
        width: 90px;
        height: 20px;
        padding: 0;
    }

    .cont-cifras {
        display: block;
    }

    .item-cifra {
        width: 50%;
        float: left;
    }

    .item-serv {
        width: 100%;
        max-width: 280px;
    }
}