/* #1080f2 */

* {
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: transparent url("../img/bg.jpg") no-repeat fixed;
    background-size: cover;
}

body, a {
    color: #f6f7f8;
}

a {
    text-decoration: none;
}

.clear {
    clear: both;
}

.centrar {
    width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.color1 {
    color: #EEE4D6 !important;
}

.color2 {
    color: #53555b !important;
}

.color3 {
    color: #3c3c3c !important;
}

.bgcolor1 {
    background-color: #EEE4D6 !important;
}

.bgcolor2 {
    background-color: #53555b !important;
}

.espaciado20 {
    padding-top: 20px;
    box-sizing: border-box;
}

.espaciado50 {
    padding-top: 50px;
    box-sizing: border-box;
}

.espaciado50-bottom {
    padding-bottom: 50px;
    box-sizing: border-box;
}

.padding10 {
    padding: 10px;
    box-sizing: border-box;
}

.padding20 {
    padding: 20px;
    box-sizing: border-box;
}

.padding40 {
    padding: 40px;
    box-sizing: border-box;
}

.margintop20 {
    margin-top: 20px;
}

.margintop40 {
    margin-top: 40px;
}

.titulo-centrar {
    text-align: center;
}

.titulo-centrar::after {
    margin: 0 auto;
}

.titulo2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* .titulo2.invertido {
    color: #fff;
} */

.titulo2::after {
    background: #3c3c3c;
    content: '';
    display: block;
    height: 5px;
    margin-top: 15px;
    width: 80px;
}

.titulo2.invertido::after {
    background: #EEE4D6;
}

.titulo3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.titulo4 {
    /* font-size: 1.5em; */
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.titulo5 {
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.parrafo {
    line-height: 2em;
    color: #3c3c3c;
}

.parrafo.invertido {
    color: #EEE4D6;
}

.lista {
    list-style: none;
}

.i {
    font-size: 2.5em;
    color: #fff;
}

.text-align-izq {
    text-align: left;
}

.text-align-drch {
    text-align: right;
}

.boton {
    float: right;
    background-color: #fff;
    color: #53555b;
    font-weight: bold;
    font-size: 0.8em;
    padding: 10px;
    border: 3px solid #53555b;
    outline: none;
}

.boton:hover {
    background-color: #53555b;
    color: #EEE4D6;
}

hr.division {
    height: 1px;
    border: 0;
    border-top: 1px solid #EEE4D6;
    margin: 30px 0;
}

hr.division2 {
    height: 1px;
    border: 0;
    /* border-top: 1px solid #53555b; */
    border-bottom: 1px solid #d6d6d6;
    margin: 50px 0;
}

#pagina {
    min-width: 320px;
}

#cabecera-box {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    background-color: #3c3c3c;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 99;
}

#top-cabecera .centrar {
    padding: 0;
}

#top-cabecera .centrar .tc-parte1, #top-cabecera .centrar .tc-parte2 {
    float: left;
    /* padding: 10px 15px; */
    line-height: 23px;
    padding: 5px 10px;
    font-size: 0.8em;
    box-sizing: border-box;
}

#top-cabecera .centrar .tc-parte1 {
    width: 30%;
}

#top-cabecera .centrar .tc-parte2 {
    width: 70%;
}

#top-cabecera .centrar .tc-parte2 .tc-dir, #top-cabecera .centrar .tc-parte2 .tc-social, #footer .ft-social {
    display: inline-block;
}

#top-cabecera .centrar .tc-parte2 .tc-dir, 
#top-cabecera .centrar .tc-parte2 .tc-social ul li {
    float: left;
}

#top-cabecera .centrar .tc-parte2 .tc-social {
    float: right;
}

#top-cabecera .centrar .tc-parte2 .tc-social ul li {
    margin-left: 15px;
}

#top-cabecera .centrar .tc-parte2 .tc-social ul li:first-child {
    margin-left: 0;
}

#top-cabecera .centrar .tc-parte2 .tc-social ul li a, #footer .ft-social li a {
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 100%;
    background-color: #53555b;
}

#top-cabecera .centrar .tc-parte2 .tc-social ul li a i, #footer .ft-social li a i {
    color: #EEE4D6 !important;
}

/*#top-cabecera .centrar .tc-parte2 .tc-social ul li {
    margin-left: 1px;
}

#top-cabecera .centrar .tc-parte2 .tc-social ul li a {
    font-size: 1.2em;
    padding: 10px 20px;
    color: #EEE4D6;
    background-color: #76787d;
}

#top-cabecera .centrar .tc-parte2 .tc-social ul li a i {
    color: #EEE4D6 !important;
} */

/*#top-cabecera .centrar div:nth-child(2) ul {
    float: left;
    list-style: none;
}

#top-cabecera .centrar div:nth-child(2) ul li {
    float: left;
}

#top-cabecera .centrar div:nth-child(2) ul li a {
    color: #fff;
}

#top-cabecera .centrar div:nth-child(2) ul li:first-child {
    margin-right: 20px;
}

#top-cabecera .centrar div:nth-child(2) ul li:first-child::after {
    content: "|";
    margin-left: 20px;
}

#top-cabecera .centrar div:nth-child(2) ul li + li {
    margin-right: 15px;
    color: #fff;
}*/

/*#top-cabecera table {
    width: 100%;
    border: 0;
    color: #fff;
}

#top-cabecera table tr td {
    padding: 10px 15px;
    font-size: 0.8em;
}

#top-cabecera table tr td:first-child {
    width: 30%;
    text-align: right;
    font-weight: 600;
}

#top-cabecera table tr td:last-child {
    width: 70%;
    text-align: left;
}

#top-cabecera table tr td:last-child ul {
    float: left;
    list-style: none;
}

#top-cabecera table tr td:last-child ul li {
    float: left;
}

#top-cabecera table tr td:last-child ul li a {
    color: #fff;
}

#top-cabecera table tr td:last-child ul li:first-child {
    margin-right: 20px;
}

#top-cabecera table tr td:last-child ul li:first-child::after {
    content: "|";
    margin-left: 20px;
}

#top-cabecera table tr td:last-child ul li + li {
    margin-right: 15px;
    color: #fff;
}*/

#cabecera.sticky {
    background-color: #fff;
    background-color: #3c3c3c;
    transition: background 0.2s ease-in-out 0s;
}

#cabecera.sticky h1 a img, #cabecera.sticky h1 a {
    width: 191px;
    height: 49px;
}

#cabecera.sticky ul {
    margin-top: 5px;
}

#cabecera h1 {
    display: inline-block;
    padding: 10px;
}

#cabecera h1 a img, #cabecera h1 a, #contacto .datos-contacto .logo, #footer .logo {
    width: 273px;
    height: 70px;
}

#cabecera h1 a {
    display: block;
}

#cabecera ul {
    float: right;
    list-style: none;
    margin-top: 15px;
}

#cabecera ul li {
    float: left;
    margin-right: 10px;
    padding: 20px 10px;
}

#cabecera ul li:last-child {
    margin-right: 0;
}

#cabecera ul li a {
    display: inline-block;
    font-weight: 500;
    font-size: 0.9em;
    text-transform: uppercase;

    
}

#cabecera ul li a:hover, #cabecera ul li a.activo, 
#cabecera #menu2.menu-respond li a:hover, #cabecera #menu2.menu-respond li a.activo {
    padding-bottom: 1px;
    
}

#cabecera ul li a:hover, #cabecera ul li a.activo {
    border-bottom: 2px solid #f6f7f8;
}

#cabecera #menu2.menu-respond li a:hover, #cabecera #menu2.menu-respond li a.activo {
    border-bottom: 2px solid #3c3c3c;
}

#cabecera #menu2 {
    display: none;
}

#cabecera h1 img, #cabecera #abrir, #cabecera #menu {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#cabecera #abrir {
    display: none;
    float: right;
    margin-top: 14px;
    padding: 12px;
    color: #f6f7f8;
    text-decoration: none;
    font-size: 2.3em;
}

#cabecera.sticky #abrir {
    margin-top: 4px;
}

#cabecera #menu2.menu-respond {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

#cabecera #menu2.menu-respond li {
    width: 50%;
    margin: 0;
    padding: 25px;
    text-align: center;
    box-sizing: border-box;
}

#cabecera #menu2.menu-respond li:nth-child(1), 
#cabecera #menu2.menu-respond li:nth-child(3) {
    border-right: 1px solid #aeaeae;
    border-bottom: 1px solid #aeaeae;
}

#cabecera #menu2.menu-respond li:nth-child(2), 
#cabecera #menu2.menu-respond li:nth-child(4) {
    border-bottom: 1px solid #aeaeae;
}

#cabecera #menu2.menu-respond li:last-child {
    border-right: 1px solid #aeaeae;
}

#cabecera #menu2.menu-respond li a {
    color: #3c3c3c;
    padding-bottom: 1px;
    border-bottom: 2px solid #fff;
}

#presentacion, #inicio, #inicio2, #servicios2, #clinica, #contacto {
    background-color: #fff;
    overflow: hidden;
}

#presentacion .slides img {
    width: 100%;
    object-fit: contain;
    margin-top: 125px;
}

/* prueba */
/* #presentacion .slides {
    position: relative;
} */
/* prueba */

#entrada {
    /* margin-top: -90px; */
    /* position: relative; */ /*IMPORTANTE!! div overlapping div with img */
    position: relative;
    width: 100%;
    height: 186px;
    background-color: #fff;
}

#entrada .box {
    position: absolute;
    max-width: 1100px;
    height: 150px;
    top: -70px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

/* #entrada .prueba {
    width:1100px;
    height: 150px;
    background-color:red;
    position: absolute;
    top: -50px;
    left: 0;
    right:0;
    margin-left: auto;
    margin-right: auto;
} */

#entrada .box div {
    width: 24.99%;
    float: left;
    padding: 35px;
    /* color: #fff; */
    font-size: 0.9em;
    text-align: center;
    box-sizing: border-box;
    background-color: #53555b;
}

#entrada .box div + div {
    background-color: #76787d;
}

#entrada .box div + div + div {
    background-color: #53555b;
}

#entrada .box div + div + div + div {
    background-color: #76787d;
}

#entrada .box div p, #servicios .lista li p, #servicios2 .lista li p {
    line-height: 1.5em;
}

/* #entrada .centrar div {
    width: 24.99%;
    float: left;
    padding: 35px;
    color: #fff;
    font-size: 0.9em;
    box-sizing: border-box;
}

#entrada .centrar div {
    background-color: #1ca4d8;
}

#entrada .centrar div + div {
    background-color: #36bef2;
}

.entrada .centrar div + div + div {
    background-color: #1680a8;
}

#entrada .centrar div + div + div + div {
    background-color: #62ccf5;
}

#entrada .centrar div p {
    line-height: 1.5em;
} */

#inicio .centrar table tr td {
    width: 50%;
}

#inicio .centrar .lista li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f058";
    font-size: 1.1em;
    color: #3c3c3c;
    margin-right: 10px;
}

#inicio .centrar table tr td + td {
    background: transparent url("../img/bienvenido.jpg") no-repeat right;
}

#inicio2 .inicio-izq, #inicio2 .inicio-drch {
    float: left;
}

#inicio2 .inicio-izq  {
    width: 450px;
}

#inicio2 .inicio-izq {
    height: 450px;
    background: transparent url("../img/vanguardia.jpg") no-repeat center;
}

/* #inicio2 .inicio-drch {
    position: absolute;
    width: 700px;
    margin-left: 400px;
    margin-left: 20%;
    margin-top: 145px !important;
    padding: 35px;
    box-sizing: border-box;
} */

/* #inicio2 .inicio-drch ul li {
    width: 50%;
    float: left;
    line-height: 1.5em;
    font-size: 0.9em;
    padding: 10px;
    box-sizing: border-box;
}

#inicio2 .inicio-drch ul li h4 {
    margin-top: 0;
}

#inicio2 .inicio-drch ul li h4::before {
    font-family: "Font Awesome 5 Free";
    content: "\f5c9";
    font-size: 1.1em;
    margin-right: 10px;
} */

#servicios .centrar.overlapping {
    position: relative;
    padding-top: 100px;
}

#servicios .inicio-drch {
    width: 700px;
    padding: 35px;
    background-color: #eaeaea;
    box-sizing: border-box;
    position: absolute;
    right: 0;
    top: -310px;
}

#servicios ul li {
    width: 33%;
    height: 320px;
    /* height: 250px; */
    padding: 30px;
    float: left;
    /* border: 1px solid #fff; */
    /* color: #fff; */
    text-align: center;
    border-collapse: collapse;
    box-sizing: border-box;
}

#servicios ul li img {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

/* border-right-bottom */
.border-1, .border-2 {
    border-right: 1px solid #53555b;
    border-bottom: 1px solid #53555b;
}

/* border-bottom */
.border-3 {
    border-bottom: 1px solid #53555b;
}

/* border-right */
.border-4, .border-5 {
    border-right: 1px solid #53555b;
}

/* #servicios2 .centrar table tr td.td-texto {
    width: 75%;
}

#servicios2 .centrar table tr td.td-img {
    width: 25%;
} */

#servicios2 .centrar .titulo4 {
    margin-top: 0;
}

#servicios2 .centrar .parrafo {
    text-align: justify;
}

#servicios2 .inicio-izq, #servicios2 .inicio-drch {
    float: left;
}

#servicios2 .inicio-izq.overlapping {
    position: relative;
}

#servicios2 .inicio-izq  {
    /* width: 400px; */

    /* width: 100%;
    height: 500px;
    background: transparent url("../img/about2.jpg") no-repeat left;
    background-size: contain; */

    width: 100%;
    margin-bottom: 47px;
}

#servicios2 .inicio-izq .img-texto1 {
    width: 650px;
}

#servicios2 .inicio-drch {
    width: 650px;
    position: absolute;
    /* left: 450px; */
    top: 25px;
    right: 0;
    /* margin-left: 350px;
    margin-top: 40px !important; */
    padding: 35px;
    box-sizing: border-box;
}

#servicios2 .wrapper .box {
    overflow: hidden;
    clear: both;
    margin-bottom: 30px;
}

#servicios2 img.img-texto, #servicios2 img.img-texto2, #servicios2 img.img-texto3 {
    object-fit: scale-down;
    box-sizing: border-box;
}

#servicios2 img.img-texto {
    float: left;
    width: 250px;
    padding: 0 20px 20px 0;
}

#servicios2 img.img-texto2 {
    float: left;
    height: 250px;
    padding: 0 20px 20px 0;
}

#servicios2 img.img-texto3 {
    display: block;
    margin: 0 auto;
    width: 600px;
}

#servicios2 .box-destacado {
    display: inline-block;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

#servicios2 .box-destacado ul {
    line-height: 2em;
    margin-left: 40px;
}

#servicios2 .serv2-oculto {
    display: none;
}

#servicios2 .wrapper .invisi-videos {
    margin-top: 10px;
}

#servicios2 .wrapper .invisi-videos li {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

#servicios2 .wrapper .invisi-videos li:last-child {
    margin-bottom: 0;
}

#servicios2 .wrapper .invisi-videos li iframe {
    width: 560px;
    height: 315px;
}

#servicios2 .wrapper .invisi-videos li {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    padding-top: 30px;
    overflow: hidden;
}

#servicios2 .wrapper .invisi-videos li iframe, 
#servicios2 .wrapper .invisi-videos li object, 
#servicios2 .wrapper .invisi-videos li embed {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#equipo {
    background: transparent url("../img/pattern.jpg") repeat fixed;
    /* background-size: cover; */
}

#equipo .centrar, #clinica .centrar {
    overflow: hidden;
}

#equipo ul.lista {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
  
#equipo ul li {
    width: 24.2%;
    vertical-align: top;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#equipo li.card img {
    width: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

#equipo li.card .titulo4, #equipo li.card .titulo5 {
    margin: 0;
}

#equipo li.card div {
    text-align: center;
}

#equipo li.card div p {
    margin-top: 20px;
}

/* #equipo td.card .titulo4, #equipo td.card .titulo5 {
    margin: 0;
} */

/* #equipo table.box-card {
    border-spacing: 15px;
    border-collapse: separate;
}

#equipo table tr td.card {
    width: 50%;
    vertical-align: top;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

#equipo table tr {
    float: left;
    width: 50%;
}

#equipo td.card .titulo4, #equipo td.card .titulo5 {
    margin: 0;
}

#equipo td.card img {
    width: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

#equipo td.card div {
    text-align: center;
}

#equipo td.card div p {
    margin-top: 20px;
} */

#clinica ul li {
    width: 33.3%;
    float: left;
    padding: 2.5px 5px;
    box-sizing: border-box;
}

#clinica ul li img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

#contacto .centrar {
    width: 800px;
}

#contacto .datos-contacto {
    width: 50%;
}

#contacto .formulario {
    width: 50%;
    text-align: center;
}

#contacto .datos-contacto {
    float: left;
}

#contacto .datos-contacto ul li {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #d6d6d6;
    color: #53555b;
}

#contacto .datos-contacto ul li:first-child + li {
    line-height: 1.8em;
}

#contacto .datos-contacto ul li:last-child {
    border-bottom: 0;
}

#contacto .datos-contacto ul li:last-child a {
    color: #53555b;
}

#contacto .datos-contacto ul li:last-child a:hover {
    text-decoration: underline;
}

#contacto .datos-contacto ul li i {
    position: absolute;
    font-size: 1.6em;
}

#contacto .datos-contacto ul li span {
    display: inline-block;
    padding-left: 40px;
}

#contacto .formulario {
    float: right;
}

#contacto .formulario img {
    height: 335px;
    object-fit: cover;
}

/* #contacto .formulario ul li {
    margin-bottom: 10px;
}

#contacto .formulario input, #contacto .formulario textarea {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
} */

#contacto #mapa {
    width: 100%;
    /* height: 500px; */
}

#contacto #mapa img {
    width: 100%;
    object-fit: cover;
}

#footer ul.ft-lista {
    overflow: hidden;
}

#footer ul.ft-lista > li {
    float: left;
    margin-right: 86px;
    overflow: hidden;
}

#footer .ft-datos, #footer .ft-menu li a {
    font-size: 0.8em;
}

#footer .ft-datos li {
    margin-bottom: 7px;
}

#footer .ft-datos li:last-child {
    margin-bottom: 0;
}

#footer .ft-datos li:last-child a:hover {
    text-decoration: underline;
}

#footer .ft-menu li a:hover {
    padding-bottom: 2px;
    border-bottom: 1px solid #EEE4D6;
}

#footer .ft-social {
    float: right;
    margin-top: 7px;
}

#footer .ft-menu li, #footer .ft-social li {
    float: left;
    margin-right: 1px;
}

#footer .ft-menu li {
    font-size: 1.2em;
    margin-left: 10px;
}

#footer .ft-social li {
    margin-left: 10px;
}

#footer .ft-menu li:first-child, #footer .ft-social li:first-child {
    margin-left: 0;
}

#footer .ft-social li a {
    background-color: #EEE4D6;
}

#footer .ft-social li a i {
    color: #53555b !important;
}

/* #footer .ft-social li a {
    background-color: #76787d;
    padding: 5px 15px;
}

#footer .ft-social li a i {
    line-height: 43px;
} */

#footer .ft-menu li:last-child, #footer .ft-social li:last-child, #footer ul.ft-lista > li:last-child {
    margin-right: 0;
}

#footer #copyright {
    text-align: center;
    font-size: 0.8em;
}

/* POPUP */
#clinica .lista li img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#clinica .lista li img:hover {
    opacity: 0.7;
}

#cookies-panel {
    /* display: none; */
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.9em;
    padding: 20px 0;
}

#cookies-panel .centrar {
    text-align: center;
}

#cookies-panel a {
    color: #fff;
    text-decoration: underline;
}

#cookies-panel button {
    display: inline-block;
    color: #000;
    background-color: #fff;
    font-size: 0.9em;
    padding: 6px 14px;
    margin-top: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer; 
    transition-duration: 0.4s;
}

#cookies-panel button:hover {
    background-color: #aeaeae;
}

#cookies {
    margin-top: 170px;
}

#cookies p {
    text-align: justify;
}

#cookies .lista {
    margin-left: 40px;
}

#cookies ol.lista {
    list-style: decimal;
}

#cookies .lista li {
    margin-bottom: 10px;
}

#cookies .lista li:last-child {
    margin-bottom: 0;
}

#cookies ul li:before {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    content: "\f058";
    margin-left: -1.3em;
    margin-right: 5px;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    /* max-width: 700px; */
    object-fit: cover;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 1200px) {
    .centrar {
        width: 100%;
    }

    #footer ul.ft-lista > li {
        /* width: 50%; */
        width: 100%;
        float: left;
        margin: 0;
        text-align: center;
        box-sizing: border-box;
    }

    #footer .ft-datos {
        /* float: right;
        text-align: right; */
        display: none;
    }

    /* #footer ul.ft-lista > li:last-child {
        width: 100%;
    } */

    #footer ul.ft-lista > li ul.ft-menu {
        display: none;
    }

    #footer .ft-social {
        width: 100%;
        margin-top: 10px;   
    }

    #footer .ft-social li {
        width: 50%;
        float: left;
        margin: 0;
        box-sizing: border-box;
    }

    #footer .ft-social li:nth-child(1) {
        text-align: right;
        padding-right: 10px;
    }

    #footer .ft-social li:nth-child(2) {
        text-align: left;
        padding-left: 10px;
    }
}

@media only screen and (max-width: 1100px) {
    #entrada .box {
        position: static;
    }

    #inicio {
        padding-top: 60px;
    }
}

@media only screen and (max-width: 980px) {
    #equipo ul li {
        width: 49.2%;
    }

    #equipo ul li:nth-child(1), #equipo ul li:nth-child(2) {
        margin-bottom: 16px;
    }
}

@media only screen and (max-width: 950px) {
    #entrada .box > div {
        width: 50%;
    }

    #inicio .centrar table tr td {
        width: 100%;
        display: block;
    }

    #inicio .centrar table tr td + td {
        height: 580px;
        margin-top: 30px;
        background-position-x: center;
    }

    #inicio2 .centrar .inicio-izq {
        width: 100%;
        background-size: cover;
    }

    #servicios .centrar.overlapping {
        padding-top: 0;
    }

    #servicios .centrar .inicio-drch {
        position: static;
        width: 100%;
        margin-bottom: 50px;
    }

    #servicios ul li {
        width: 50%;
    }

    .border-1, .border-3, .border-5, .border-2, .border-4, .border-6 {
        border: none;
    }

    .border-1, .border-3 {
        border-right: 1px solid #53555b;
        border-bottom: 1px solid #53555b;
    }

    .border-2, .border-4 {
        border-bottom: 1px solid #53555b;
    }

    .border-5 {
        border-right: 1px solid #53555b;
    }

    #servicios2 .inicio-izq {
        margin-bottom: 0;
    }

    #servicios2 .inicio-izq .img-texto1 {
        width: 100%;    
    }

    #servicios2 .inicio-drch {
        position: static;
        width: 100%;
    }

    #servicios2 .inicio-izq, 
    #servicios2 .inicio-izq .img-texto1, 
    #servicios2 .inicio-drch {
        margin-top: -6px;
    }

    #contacto .centrar {
        width: 100%;
    }

    #contacto .datos-contacto {
        width: 100%;
    }

    #contacto .formulario {
        display: none;
    }
}

@media only screen and (min-width: 851px) {
    #cabecera #abrir, #cabecera #menu2 {
        display: none !important;
    }
}

@media only screen and (max-width: 850px) {
    #cabecera #abrir {
        display: inline-block;
    }

    #cabecera #menu {
        display: none;
    }
}

@media only screen and (max-width: 800px) {    
    #top-cabecera .centrar .tc-parte1, 
    #top-cabecera .centrar .tc-parte2, 
    #top-cabecera .centrar .tc-parte2 .tc-dir {
        width: 100%;
    }

    #top-cabecera .centrar .tc-parte1 {
        text-align: left;
    }

    #top-cabecera .centrar .tc-parte2 .tc-social {
        position: absolute;
        top: 4px;
        right: 10px;
        /* font-size: 1.6em; */
    }

    #top-cabecera .centrar .tc-parte2 .tc-social ul li {
        margin-left: 20px;
    }

    #top-cabecera .centrar .tc-parte2 .tc-social ul li a {
        background-color: #EEE4D6;
    }

    #top-cabecera .centrar .tc-parte2 .tc-social ul li a i {
        color: #3c3c3c !important;
    }

    /* 

    #top-cabecera .centrar .tc-parte2 {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #top-cabecera .centrar .tc-parte2 .tc-social ul li {
        margin-left: 1px;
    }

    #top-cabecera .centrar .tc-parte2 .tc-social li a {
        padding: 6px 20px;
        line-height: 34px;
        background-color: #76787d;
    }

    #top-cabecera .centrar .tc-parte2 .tc-social li a i {
        color: #EEE4D6 !important;
    }

    #top-cabecera .centrar .tc-parte2 .tc-dir {
        text-align: center;
    } */

    #presentacion {
        margin-top: 35px;
    }
}

@media only screen and (max-width: 750px) {
    #footer #copyright span {
        display: block;
        margin-bottom: 2px;
    }

    #footer #copyright span:last-child {
        margin-bottom: 0;
    }
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    /*#equipo li.card {
        width: 80%;
        margin: 0 auto;
        float: none;
        margin-bottom: 30px;
    }

    #equipo li.card:last-child {
        margin: 0 auto;
    }*/

    #clinica ul li {
        width: 50%;
    }
}

@media only screen and (max-width: 640px) {
    /* Cabecera Sticky */
    #cabecera {
        background-color: #fff;
    }

    #cabecera {
        background-color: #fff;
        transition: background 0.2s ease-in-out 0s;
    }
    
    #cabecera h1 a img, #cabecera h1 a {
        width: 160px;
        height: 49px;
    }
    
    #cabecera ul {
        margin-top: 5px;
    }

    #cabecera #abrir {
        margin-top: 4px;
    }

    #presentacion {
        margin-top: 105px;
    }
    
    #entrada .box > div {
        width: 100%;
    }
    
    #servicios ul li {
        width: 100%;
        height: auto;
        padding: 30px 15px;
    }

    .border-1, .border-3, .border-5, .border-2, .border-4, .border-6 {
        border: none;
    }

    .border-1, .border-3, .border-5, .border-2, .border-4 {
        border-bottom: 1px solid #53555b;
    }

    #servicios2 iframe, #servicios2 img.img-texto3 {
        width: 100%;
    }

    #equipo ul li {
        width: 100%;
        margin-bottom: 16px;
    }

    #equipo ul li:last-child {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 520px) {
    #top-cabecera .tc-parte2 .tc-dir span {
        display: block;
    }

    #top-cabecera .tc-parte2 .tc-dir span:nth-child(2) {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    #cabecera #menu2.menu-respond li {
        width: 100%;
        border: none !important;
        border-bottom: 1px solid #aeaeae !important;
    }

    #cabecera #menu2.menu-respond li:last-child {
        border: none !important;
    }
    
    #clinica ul li {
        width: 80%;
        margin: 0 auto;
        float: none;
    }
}
/* POPUP */
