﻿/*Tipografías*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,700,700i,800');
.desbold {
    font-weight: bold;
}
.desitalic {
    font-style: italic;
}

/*Todo*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Body*/
body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* La imagen va al 100% de la página para que no aparezca el scroll y nunca sean mayores que la caja que las contienen */
img {
    max-width: 100%;
    height: auto;
}

/*Cualidades MEDICALAPP -logo-*/
.logo{
    display:block;
    margin:auto;
    margin-top: 1em;
}

/*Propiedades de las a -links-*/
a {
    color: black;
    text-decoration: none;
}

/*Formulario del inicio-*/
.formularioinicio{
    text-align: center;
    
}

/*Olvido de contraseña-*/
.olvido{
    text-align: center;
    margin-top: 1em;
    color: #345574;
}

/*Texto Index*/
.intro{
    color: #345574;
    display:block;
    text-align: center;
    margin-left: 1em;
    margin-right: 1em;
    font-weight: 200;
}

/*Títuto Index*/
.medicalapp{
    color: #345574;
    font-size: 1.6em;
    text-align: center;
    font-weight: bold;
    margin-top: 2em;
}
.medicalapp2{
    color: #345574;
    font-size: 1.6em;
    text-align: center;
    font-weight: bold;
}

.texto_videos_turnos{
    color: #B52025;
    font-size: 1em;
    text-align: center;
    margin: 1em;
}

.medidat{
    color: #B52025;
    font-size: 5em;
    text-align: center;
    font-weight: bold;
}

/*Títuto Index*/
.tituloindex{
    color: #345574;
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
    margin-top: 1em;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
}

.tituloonline{
    color: #345574;
    font-size: 1.8em;
    text-align: center;
    font-weight: bold;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    margin-top: 2em;
}

/*Títuto Emergencia*/
.tituloemergencia{
    color: white;
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    margin: 1em;
}

/*Botones*/
.botonazul{
    background-color:#345574;
    color: white;
    font-size: 1.3rem;
    padding: 0.5em;
    display: block;
    margin: auto;
    margin-top: 1em;
    width: 12.5em;
    text-align: center;
}
.botonazul a{
    text-decoration: none;
    background-color: #345574;
    color: white;
}

.botonazul2{
    background-color: #345574;
    color: white;
    font-size: 1.3rem;
    padding: 0.5em;
    display: block;
    margin: auto;
    margin-top: 1em;
    width: 12.5em;
    text-align: center;
    margin-bottom: 2em;
}

.botonazul2 a{
    text-decoration: none;
    background-color: #345574;
    color: white;
}

.botonrojo{
    background-color:#BD1622;
    color: white;
    font-size: 1.3rem;
    padding: 0.5em;
    display: block;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 12.5em;
    text-align: center;
}    
.botonrojo a{
    text-decoration: none;
    background-color: #BD1622;
    color: white;
}

/*Footer*/
footer p {
    color: white;
    background-color: black;
    padding: 1.5em;
    font-size: 0.8em;
    text-align: justify;
}

.imagensubir{
    margin-top: 1.5rem;
    width: 60%;
}

.divimagensubir{
    display: flex;
    justify-content: center;
}


.tinicio{
    color: #6A8BB4;
    text-align: center;
    margin: 0.5em;
}

.listahistoria{
    color: ##6A8BB4;
    font-size: 1.3em;
}

.observacion{
    color: #6A8BB4;
    font-size: 1.3em;
    text-align: center;
    margin: 0.5em;
}

#contenedormedicamentos{
    text-align: center;
    margin: 4em;
}

#contenedormedicamentos div{
    display: inline-block;
    padding-left: 0.8em;
    padding-right: 0.8em;
}        

.historia1{
    display: block;
    margin: auto;
    margin-top: 1em;
    text-align: center;
}

/*Historial*/
.listamaterias{
    text-decoration: none;
    list-style-type: none;
    line-height: 1.6;
    color: black;
}

.divhistorial{
    display: inline-block;
    width: 33%
}

.listamaterias li {
    display: flex;
    justify-content: center;
}
.listamaterias li span {
    flex-basis: 25%;
    padding: .25em;
}
.listamaterias li span:first-child {
    flex-basis: 20%;
    text-align: right;
    font-weight: bold;
}
.pbhistorial{
    font-weight: bold;
}
.phistorial2{
    font-weight: bold;
    margin-bottom: 2.5em;
}



.tbhistorial{
    font-weight: bold;
    font-size: 1.4em;
    margin-top: 1em;
}

.tbhistorial2bold{
    font-weight: bold;
    font-size: 1em;
    margin-top: 1em;
}

.tbhistorial2{
    font-size: 1em;
    margin-top: 1em;
}



/*Propiedad del body de inicio.html */
.inicio {
    font-family: 'Montserrat', sans-serif;
    background-color: #6A8BB4;
    min-height: 100vh;

    /* caja flexible */
    display: flex;

    /* dirección de sus elementos */
    flex-direction: column;
    
    /* organización de los elementos según ele eje principal (vertical por la propiedad anterior) */
    justify-content: space-between;
}

/*Lista*/
ul { list-style: none; }


/*
----------------
contenidos
----------------
*/
main {
    background-color: white;
    flex-grow: 1;/* crece para "llenar" la caja contenedora */
    display: flex;/* es caja flexible contenedora */
    flex-direction: column;/* dirección vertical */
    min-height: 100vh;
    justify-content: center;
    align-content: flex-start;
}

section {
    border-top: solid 1px rgba(0,0,0,.1);
}
.fijo {
    height: 4.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 1em;
    right: 8em;
    z-index: 9999;
}

.fijo2 {
    height: 4.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: 9999;
}

.img_redonda {
    border-radius: 50%;
    overflow: hidden;
}

.img_redonda img {
    display: block;
}

.img_redonda_emer{
    border-radius: 50%;
}

.img_redonda_turnos{
    border-radius: 50%;
    width: 30%;
    height: 30%;
    margin: 1.5em;
}

.div_img_turnos{
    display: flex;
    justify-content: center;
}

.texto_turnos{
    color: #345574;
    text-align: center;
    margin-top: 1em;    
}

.texto_videos{
    color: #B52025;
    text-align: center;
    margin: 1em;
}

.div_emergencia{
    display: flex;
    justify-content: center;
    margin-top: 2em;
}

.fondomaininicio{
    background-color: rgba(106,139,180,.5);
}

.listado{
    font-size: 1.1em;
    width: 12em;
    max-width: 12em;
    margin: .7em;
    padding: .3em;
    background-color: #E9E9E9;
    border: 0;
    border-radius: .6em;
    transition: .3s;
    box-shadow: 0 0 0.5em 1px #E9E9E9;
    padding-left: 1em;
    color: #757575;
}

.galeria {
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    background-color: rgba(106,139,180,.5);
    flex-grow: 1;
    align-content: flex-start;
}

.galeria a{
    color: #345574;
}

.galeria h3 {
    width: 100%;
    padding: 1em;
}
.galeria figure {
    width: 45%;
    margin: .125em;
    flex-direction: column;
    justify-content: space-between
}
.galeria img { /* para que "desaparezca" el espacio que queda debajo de la imagen */
    display: block;
}
.galeria figcaption {
    background-color:#C8C2C2;
    color: #345574;
    padding: .5em;
    line-height: 1em;
}
.galeria figure:hover figcaption { /* propiedades de figcaption solo cuando la mano se coloca encima de "figure" */
    background-color: #6A8BB4;
}
.galeria figcaption span {
    display: block;
    font-weight: 700;
    font-size: .90em;
    color: #345574;
} 

/* Cualidades emergencias.html */
.bodyemergencia main{
    background-color: #B52025;
}
.introemergencia{
    color: white;
    display: block;
    text-align: center;
    margin-left: 1em;
    margin-right: 1em;
    font-weight: 200;
}

.botonblanco{
    background-color:#ffff;
    color: #BD1622;
    font-size: 1.3rem;
    padding: 0.5em;
    display: block;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 12.5em;
    text-align: center;
}    

/*Modal*/
.modalDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}
.modalDialog > div {
	width: 12em;
	position: relative;
	margin: 10% auto;
	padding: 0.3125em 1.25em 0.8125em 1.25em;
	border-radius: 0.625em;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
  -webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
}
.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 1.5625em;
	position: absolute;
	right: -0.75em;
	text-align: center;
	top: -0.625em;
	width: 1.5em;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 0.75em;
	-moz-border-radius: 0.75em;
	border-radius: 0.75em;
	-moz-box-shadow: 0.0625em 0.0625em 0.1875em #000;
	-webkit-box-shadow: 0.0625em 0.0625em 0.1875em #000;
	box-shadow: 0.0625em 0.0625em 0.1875em #000;
}
.close:hover { background: #00d9ff; }


/*Menú - Hamburguesa*/
.banner{
    background-color: #6A8BB4;
    height: 4.375em;
    width: 100%;
    padding: 0;
    position: relative;
}
.barrasuperior{
    display: inline-block;
}
.lista{
    color: white;
    background-color: #6A8BB4;
    text-decoration: none;
    font-weight: bold;    
}


/*Cualidades turnos.html*/
label{
    display: block;
    margin-top: 1em;
    font-size: 1.3em;
    text-align: center;
}

input[type="dni"],
input[type="time"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"]{
    width: 12em;
    max-width: 12em;
    margin: .7em;
    padding: .3em;
    background-color: #E9E9E9;
    border: 0;
    border-radius: .6em;
    transition: .3s;
    box-shadow: 0 0 .5em 1px #E9E9E9;
    font-size: 1.3em;
    padding: .5em;
    padding-left: 1em;
}

.divturnos{
    text-align: center;
}

/*Chat-*/
#lista {
    display: flex;
    position: relative;
    transition: 400ms;
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
}
#listaconver ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1, 5rem;
}
.chatmedicos {
    display: flex;
    flex-direction: row;
    height: 5.5rem;
    font-size: 0.95em;
    padding: 0 1rem;
    width: 100vw;
    align-items: center;
}
.chatmedicos img {
    max-height: 100%;
    width: 20;
    border-radius: 50%;
    margin: 1em;
}
.cuerpo {
    align-self: center;
    border-bottom: 1px solid #dfdfdf;
    padding: 1rem 0;
    flex-grow: 1;
}
.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;
}

/* Chat */

.usuario {
    font-weight: bold;
}
.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: 320px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.chat {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 10px;
    justify-content: center;
}
.chat .user-foto {
    width: 60px;
    height: 60px;
    background: #606061;
    border-radius: 50%;
    overflow: hidden;
}
.user .chat-mensaje {
    background: #606061;
    order: -1;
    text-align: left;
}
.chat .chat-mensaje {
    width: 70%;
    padding: 15px;
    margin: 5px 10px 0;
    border-radius: 10px;
    color: #ffff;
    font-size: 15px;
}
.medico .chat-mensaje {
    background: #325671;
    text-align: left;
}
.chat-form textarea {
    background: #ffff;
    width: 85%;
    height: 20px;
    border: 2px solid #eee;
    border-radius: 3px;
    padding: 10px;
    font-size: 15px;
    color: #606061;
}
.botonazul3{
    background-color:#345574;
    color: white;
    font-size: 1.3rem;
    padding: 0.5em;
    display: inline-block;
    margin: auto;
    margin-left: 0.5em;
    width: 10%;
    text-align: center;
    margin-bottom: 2em;
}
.botonazul3 a{
    text-decoration: none;
    background-color: #345574;
    color: white;
}

/* imagenes temperatura*/
.img_temp {
    display: block;
    width: 23%;
    height: 23%;
    margin-top: 1em;
}

.div_img_temp{
    display: flex;
    justify-content: center;
}

.temp {
    text-align: center;
}


/* Responsive 01*/
@media (min-width: 35em) {/* cuando la ventana del navegador mida como mínimo 560px de ancho*/
    .galeria figure {
        width: 20%;
    }
    .galeria figure:hover figcaption {
        background-color: #6A8BB4;
        top: 0;
        transition: all .5s ease-in;
    }
}    
@media (min-width: 50em) {/* cuando la ventana del navegador mida como mínimo 80px de ancho*/
    .textos h3 {
        padding: 1em;
    }
}    
@media (min-width: 75em) {/* cuando la ventana del navegador mida como mínimo 1200px de ancho*/
    .galeria {
        background-color: rgba(106,139,180,.5);
    }
}

/* Responsive 02*/
@media screen and (min-width: 18.75em){/* cuando la ventana del navegador mida como mínimo 300px de ancho*/
    .icono1{
        background-image: url(../imagenes/hamburguesa.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 18%;
        height: 90%;
    }
    .icono2{
        background-image: url(../imagenes/logoconmarca.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 60%;
        height: 90%;
        background-color: #6A8BB4;
    }
    .icono3{
        background-image: url(../imagenes/volver.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 15%;
        height: 90%;
        background-color: #6A8BB4;
    }
    #menudesplegable {
        position: absolute;
        width: 80%;
        background-color: #6A8BB4;
        display: none;
        padding-left: 1.6em;
        padding-bottom: 1em;
        padding-top: 1em;
        padding-right: 2em;
        font-size: 1em;
        line-height: 2em;
        z-index: 1;
    }
    .logo{
        display:block;
        margin:auto;
        margin-bottom: 1em;
        width: 30%;
        margin-top: 2em;
    }
    
.divhistorial{
    display: inline-block;
    width: 80%
    }
} 


@media screen and (min-width: 35em){/* cuando la ventana del navegador mida como mínimo 560 de ancho*/
    .icono1{
        background-image: url(../imagenes/hamburguesa.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 9%;
        height: 90%;
    }
    .icono2{
        background-image: url(../imagenes/logoconmarca.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 73%;
        height: 90%;
        background-color: #6A8BB4;
    }
    .icono3{
        background-image: url(../imagenes/volver.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 15%;
        height: 90%;
        background-color: #6A8BB4;
    }
    #menudesplegable {
        position: absolute;
        width: 40%;
        background-color: #6A8BB4;
        display: none;
        padding-left: 1.6em;
        padding-bottom: 1em;
        padding-top: 1em;
        padding-right: 2em;
        font-size: 1em;
        line-height: 2em;
        z-index: 1;
    }
    .logo{
        display:block;
        margin:auto;
        margin-bottom: 1em;
        width: 30%;
        margin-top: 2em;
    }
} 
@media screen and (min-width: 42.5em){/* cuando la ventana del navegador mida como mínimo 680 de ancho*/
    .intro{
        color: #345574;
        display:block;
        text-align: center;
        margin-left: 1em;
        margin-right: 1em;
        font-size: 1.8em;
        font-weight: 200;
    }
    .logo{
        display:block;
        margin:auto;
        margin-bottom: 2em;
        width: 30%;
        margin-top: 2em;
    }
    .img_redonda_turnos{
        border-radius: 50%;
        width: 20%;
        height: 20%;
    }
    .divhistorial{
        display: inline-block;
        width: 40%
    }
} 
@media screen and (min-width: 50em){/* cuando la ventana del navegador mida como mínimo 800 de ancho*/
    .icono1{
        background-image: url(../imagenes/hamburguesa.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 9%;
        height: 90%;
    }
    .icono2{
        background-image: url(../imagenes/logoconmarca.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 73%;
        height: 100%;
        background-color: #6A8BB4;
    }
.icono3{
        background-image: url(../imagenes/volver.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 15%;
        height: 90%;
        background-color: #6A8BB4;
    }
    #menudesplegable {
        position: absolute;
        width: 30%;
        background-color: #6A8BB4;
        display: none;
        padding-left: 1.6em;
        padding-bottom: 1em;
        padding-top: 1em;
        padding-right: 2em;
        font-size: 1em;
        line-height: 2em;
        z-index: 1;
    }
    .logo{
        display:block;
        margin:auto;
        margin-bottom: 2em;
        width: 20%;
        margin-top: 2em;
    }
}    
    
    
@media screen and (min-width: 71.875em){/* cuando la ventana del navegador mida como mínimo 1150 de ancho*/
    .icono1{
        background-image: url(../imagenes/hamburguesa.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 11%;
        height: 90%;
    }
    .icono2{
        background-image: url(../imagenes/logoconmarca.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 73%;
        height: 100%;
        background-color: #6A8BB4;
    }
    .icono3{
        background-image: url(../imagenes/volver.svg);
        background-position: center;
        background-repeat: no-repeat;
        width: 15%;
        height: 90%;
        background-color: #6A8BB4;
    }
    #menudesplegable {
        position: absolute;
        width: 20%;
        background-color: #6A8BB4;
        display: none;
        display: none;
        padding-left: 2em;
        padding-bottom: 1em;
        padding-top: 1em;
        padding-right: 2em;
        font-size: 1em;
        line-height: 2em;
        z-index: 1;
    }
    .logo{
        display:block;
        margin:auto;
        margin-bottom: 2em;
        width: 10%;
        margin-top: 2em;
    }
    .img_redonda_turnos{
    border-radius: 50%;
    width: 15%;
    height: 15%;
    margin: 3em;
    }
    .divhistorial{
    display: inline-block;
    width: 33%
    }
}

/* Video*/
    .video{
        width: 100%;
        height: auto;
    }    

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

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


