@import url('https://fonts.googleapis.com/css?family=Rubik');
@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: rubik;
    height: auto;
}

/*Propiedades index*/

/*inicio del copiado logo ligin css*/

.logoindex {
    width: 180px;
    text-align: center;
    margin-bottom: -5%;
    margin: auto;
}

#formindex {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}


.logoindex {
    align-items: center;
    align-content: center;
    text-align: center;
    padding-bottom: 2em;
    justify-content: center;
    margin: auto;
}


/*fin del copiado logo ligin css*/

/*menu cargando*/

.loader:before,
.loader:after,
.loader {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}

.loader {
    margin: 8em auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    -webkit-animation-delay: 0.16s;
    animation-delay: 0.16s;
}

.loader:before {
    left: -3.5em;
}

.loader:after {
    left: 3.5em;
    -webkit-animation-delay: 0.32s;
    animation-delay: 0.32s;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}

@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em #134353;
    }
    40% {
        box-shadow: 0 2.5em 0 0 #134353;
    }
}

@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em #134353;
    }
    40% {
        box-shadow: 0 2.5em 0 0 #134353;
    }
}

/*fin menu cargando*/

/*MENU NO TOCAR*/

header {
    width: 100%;
    background: #134353;
}


#btn-menu {
    display: none;
}


header label {
    display: none;
    width: 30px;
    height: 50px;
    padding: 10px;
}

header label:hover {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
}

.menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu li:hover {
    background: rgba(0, 0, 0, 0.3);
}

.menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
}

h3 {
    color: #134353;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}


@media (max-width: 768px) {
    header label {
        display: block;
    }

    .menu {
        position: absolute;
        background: #134353;
        width: 50%;
        margin-right: -50%;
        transition: all 0.5s;
        right: 100%;
        top: 0;
        margin-top: 60px;
        z-index: 99;


    }
    .menu ul {

        height: 50%;
        flex-direction: column;
    }
    .menu li {
        border-top: 0.5px solid rgba(0, 0, 0.3);
    }

    #btn-menu:checked ~ .menu {
        margin: 0;
        margin-top: 63px;
    }

    label img {
        height: 1.5em;
        width: 1.5em;
    }
    .textobarrasuperior {
        z-index: 1000;
        display: block;
    }

    h3 {
        color: white;
        display: block;
        font-size: 1.17em;
        -webkit-margin-before: 1em;
        -webkit-margin-after: 1em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
        font-weight: bold;
    }


}

}


/*MENU NO TOCAR*/

/*menu login*/

body {
    margin-top: 0rem;
    margin-bottom: 0rem;
    margin-left: 0rem;
    margin-right: 0rem;
    background-color: #ededed;
}

.fotodeperfil {
    margin-left: auto;
    margin-right: auto;
    margin-top: -12vh;
    display: flex;
    justify-content: center;
    width: 50%;
    border-radius: 50%;
}



.logo {
    width: 150px;
    text-align: center;
    margin-bottom: -5%;
}

form {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}


}

input {
    display: block;
    padding: 0.5em;
    width: 100%;
    margin: 1em 0;
    font-size: 1em;
    border-radius: 7px;
}

.logo {
    align-items: center;
    align-content: center;
    text-align: center;
    padding-bottom: 2em;
    justify-content: center;
}

input[type="submit"] {
    background: #134353;
    border: 0;
    color: #f4f4f4;
    opacity: 0.8;
    cursor: pointer;
}

input[type="submit"]:hover {
    opacity: 2;
}

input[type="submit"]:active {
    transform: scale(0.95);
}


a {
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    font-size: 0.8em;
}

/*fin del menu login*/

.barrasuperior {
    background: #134353;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    color: white;
    font-family: rubik;
    font-weight: 200;
    z-index: 1500;
}

.inicio {
    height: 2em;
}

.portada {
    display: flex;
    justify-content: center;
    width: 100%;
}

.botones li {
    margin: 0.6rem;
    background-color: #134353;
    border-radius: 6px;
}

.botones li:hover {
    background-color: #5cc5ff;
}

.botones {
    font-weight: 500;
    line-height: 3rem;
    text-align: center;
    margin: 2rem;
    margin-top: 15px;
    text-decoration: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}




/*agregado vicky*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: rubik;
}


form {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}


.logo {
    align-items: center;
    align-content: center;
    padding-bottom: 2em;
    justify-content: center;
    width: 150px;
    margin: auto;
}


div {
    display: block;
}

input {
    display: block;
    padding: 0.7em;
    width: 100%;
    margin: 1.5em 0;
    font-size: 1em;
    border-radius: 10px;
}

input[type="submit"] {
    background: #134353;
    border: 0;
    color: #f4f4f4;
    opacity: 0.8;
    cursor: pointer;
}

input[type="radio" i] {
    -webkit-appearance: radio;
    box-sizing: border-box;
    background-color: initial;
    cursor: default;
    margin: 3px;
    padding: initial;
    border: initial;
    align-items: flex-end;
}

.circulo {
    cursor: default;
    width: 10%;

}

h3 {
    margin-bottom: 10px;
}



a {
    text-decoration: none;
    text-align: center;
    font-size: 0.8em;
}


@media screen(min-width: 380px) {
    a {
        font-size: 1.2em
    }
}

/*fin vicky*/

.informacion {
    margin-top: 0.5rem;
    text-align: center;
    color: grey;
    line-height: 1.2rem;
    font-weight: 600;
    font-size: 0.7rem;
}

h5 a {
    text-align: center;
    color: #134353;
    line-height: 1.2rem;
    font-weight: 600;
    font-size: 0.7rem;
    text-decoration: underline;
    display: block;
    -webkit-margin-before: 0.33em;
    -webkit-margin-after: 0.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

h1 {
    line-height: 1.2rem;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    color: #134353 -webkit-margin-before: 0.67em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    padding-top: 1rem;
}

footer p {
    margin: auto;
    font-size: 0.5em;
    color: black;
    opacity: 2;
    padding: 0.5em;
    padding-left: 2em;
    padding-right: 2em;
    text-align: center;
}



/*familia*/

main {
    display: block;
}

.cajas {
    text-align: center;
    margin-top: 1rem;
}

h2 {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #134353;
    -webkit-margin-end: 15px;
    text-align: right;
}

.edades {
    font-weight: 400;
    font-size: 0.6rem;
    color: #134353;
    -webkit-margin-end: 15px;
    text-align: right;
    margin-top: -30px;

}

.categorias {
    font-weight: 500;
    line-height: 3rem;
    text-align: center;
    font-size: 2.3vh;
    text-decoration: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: -0.6rem;

}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-size: 1, 5rem;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
}

.iconoscategorias {
    height: 3.5rem;
    margin: 1rem;
    margin-right: auto;
    border-radius: 50%;
}

.categorias li {
    margin: 0.6rem;
    background-color: #134353;
    border-radius: 6px;
    align-items: center;
    padding-right: 1.5rem;
}

.flexcentrado {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
}

.flexcentrado {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
}

.agregar {
    text-decoration: none;
    color: #134353;
    text-align: center;
    font-size: 1em;
}

.agregar a {
    text-decoration: underline;
    color: #a8a7a7;
    font-size: 1em;
}

/*fin familia*/

/* centros cercanos */

.ubicacion {
    line-height: 2.5rem;
    background-color: #134353;
    border-radius: 6px;
    margin-right: 2rem;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;

}


.mapas {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
    background-image: url(portada2.png);
}

.botonesmapas {
    line-height: 3rem;
    text-align: center;
    font-size: 2.3vh;
    margin: 1rem;
}

/* fin centros cercanos */

/* comunidad */

#lista {
    display: flex;
    position: relative;
    transition: 400ms;
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
}

.chatmedicos {
    display: flex;
    flex-direction: row;
    height: 5.5rem;
    font-size: 0.95em;
    padding: 0 1rem;
    width: 100vw;
    align-items: center;
}

.chatmedicos figure {
    height: 3.5rem;
    width: 3.5rem;
    margin-right: 1em;
    border-radius: 50%;
}

.cuerpo {
    height: 100%;
    width: 100%;
    align-self: center;
    border-bottom: 1px solid #dfdfdf;
    padding: 1rem 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.usuario {
    font-weight: 600;
    font-size: 0.9em;
}

.fecha {
    color: #a8a7a7;
    text-align: right;
    font-size: 0.8em;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    margin-right: 20px;
}

.contenido {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.contenido a{
    color: black;
    font-weight: 600;
    font-size: 0.9em;
}

.cuerpo p {
    height: 1.1rem;
    overflow: hidden;
    font-size: 0.8em;
}

.chatmedicos img {
    max-height: 100%;
    width: auto;
    border-radius: 50%;
}

/*fin comunidad*/

/*chat*/
.chatbox{
   display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding: 1rem 1rem 0 1rem;
    overflow-y: auto;
    height: 100%;
    width: 100vw;
}

.chatlogs{
    padding: 10px;
    width: 100%;
    height: 450px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.chatlogs::-webkit-scrollbar{
    width: 10px;
}

.chatlogs::-webkit-scrollbar-thumb{
    border-radius: 5px;
    background: rgba(0,0,0,.1)
}

.chat{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 10px;
    justify-content: center;
}

.chat .user-foto{
    width: 60px;
    height: 60px;
    background: #ccc;
    border-radius: 50%;
    overflow: hidden;
}

.chat .user-foto img{
    width: 100%;
}

.chat .chat-mensaje{
    width: 70%;
    padding: 15px;
    margin: 5px 10px 0;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
}

.medico .chat-mensaje{
    background: #5f97a8;
    text-align: left;
}

.user .chat-mensaje{
    background: #c4c4c4;
    order: -1;
    text-align: left;
}

.chat-form{
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.chat-form textarea{
    background: #fbfbfb;
    width: 75%;
    height: 50px;
    border: 2px solid #eee;
    border-radius: 3px;
    padding: 10px;
    font-size: 15px;
    color: #727272;
}

.chat-form textarea:focus{
    background: #fff;
}

.chat-form button{
    background: #134353;
    padding: 5px;
    font-size: 20px;
    color: #fff;
    border: none;
    margin: 0 10px;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 3px 0 #134353;
    
    
}

.chat-form button:hover{
    background: ##2ba3cb;
}


/*fin chat*/

/*Novedades*/

.grupo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.noticias {
    width: 250px;
    background-color: #5f97a8;
    text-align: center;
    margin: 1em;
    z-index: -2;
    padding: 0em 0em 0.5em;
}

img {
    max-width: 100%;
    height: auto;
}

.descripcion h2 {
    font-size: 1em;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    color: #5f97a8;
}

.descripcion p {
    font-size: 0.8em;
}

.descripcion h3 {
    font-size: 0.9em;
}

.videoresponsive {
    position: relative;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.videoresponsive iframe {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Fin Novedades*/

/*Incio mapa*/

#map {
    outline: 0.5px solid black;
    margin: 2em auto;
    width: 300px;
    height: 300px;
}

#map iframe {
    width: 100%;
    height: 100%;
}

h6 {
    text-align: center;
    margin-top: 1em;
    font-size: 1em;
    color: #134353;
}

.datos {
    text-align: center;
    margin: 0.2em auto;
    font-size: 0.7em;
}

/* Fin mapa*/

/*Historial*/

.contenedor {
    font-weight: 500;
    line-height: 1rem;
    text-align: left;
    margin: 2rem;
    margin-top: 15px;
    padding-left: 2.5rem;
    text-decoration: none;
    border: none;
    color: black;
    cursor: pointer;
    display: flex;
    flex-direction: column;

}

h4 {
    color: #134353;
    display: block;
    font-size: 0.9em;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    text-align: left
}

.editar2 {
    text-decoration: underline;
    font-size: 0.6em;
    color: #134353;
    margin-top: 10px;
}


/*Estadisticas*/

.grupo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.estadisticas {
    width: 250px;
    background-color: #5f97a8;
    text-align: center;
    margin: 1em;
    z-index: -2;
    padding: 0em 0em 0.5em;
}

img {
    max-width: 100%;
    height: auto;
}

.descripcion h2 {
    font-size: 1em;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    color: #5f97a8;
}

.descripcion p {
    font-size: 0.8em;
}

.descripcion h3 {
    font-size: 0.9em;
}


/*Fin estadisticas*/

/*agregado*/

.fotoinicio {
    background-image: url(portada.png);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}

.fotoinicio img {
    height: 165px;
    width: 165px;
    border-radius: 10em;
    margin: 0.8em 0em 0.8em 0em;
}