@media only screen and (orientation: portrait) {
    body {
    background-color: lightblue;
  }
  body{
  font-family: sans-serif;
  background-color: #ededff;
  margin:0;
  padding:0;
  font-size: 1.5em;
}
#publicarBtn{
    position: fixed;
    width: 50px;
    height: 50px;
    display: flex;
  bottom: 10px;
  left: 10px;
  border-radius: 50%;
  z-index: 99;
  font-size: 30px;
}
.linkDePoste{
    text-decoration: none;
    color: none;
}

.loginForm{
  padding-top: 10px;
  min-height: 150px;
  margin:auto;
  display: block;
  border-radius: 16px;
  border: 3px solid blue;
  background-color: white;
}
.loginForm label, .loginForm input,  .loginForm select, .loginForm a , .loginForm button{
  display: block;
  margin: 0 auto;
  margin-bottom: 9px;
  text-align: center;
  border-radius: 4px;
}
a{
  text-decoration: none;
}
button{
  text-decoration: none;
  background-color: #87CEFA;
  border: none;
  color: white;
  font-weight: bolder;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin: 9px;
}
h1{
  display: block;
  margin: 10px auto;
  text-align: center;
}
.miniatura{
  padding-top: 0px;
  width: auto;
  height: auto;
  margin: 10px;
  display: inline-block;
  float: left;
  position: relative;
  border-radius: 16px;
  border: 3px solid blue;
vertical-align: middle;
zoom: 1;
background-color: white;
}
.miniatura label, .miniatura input, .miniatura a {
  display: block;
  margin: 0 auto;
  margin-bottom: 9px;
  text-align: center;
  border-radius: 4px;
}
#contenedorMain{
  width: 100%;
  text-align: center;
-ms-text-justify: distribute-all-lines;
text-justify: distribute-all-lines;
}
#contenedorPerfil{
margin-left: 5px;
}
.stretch {
  width: 100%;
  display: inline-block;
  font-size: 0;
  line-height: 0
}
#miniatura1{
  width: 45%;
  height: 400px;
  padding-bottom:15px;
}
#miniatura2{
  width: 50%;
  height: 400px;
  padding-bottom:15px;
  text-align: center;
}
#myChart2{
  max-width: 400px;
  max-height: 400px;
  margin-left: 5%;
}
#miniatura3{
  width: 95%;
  height: 270px;
  padding:15px;
}
#miniaturatot{
  width: 95%;
  min-height: 75vh;
  padding:15px;
}
.miniaturaConvo{
    background-color: white;
    color: ##313131;
    height: 65px;
    text-align: left;
    border-bottom: 1px solid grey;
    cursor: pointer;
}
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #97DEFF;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #87CEFA;
  color: white;
}
#toast{
  position: fixed;
  display: flex;
  top: 25%;
  left: 5%;
  right: 5%;
  height: 50%;
  min-height: 320px;
  border-radius: 16px;
  border: 2px solid #9999ee;
  background-color: white;
  color: #444;
  text-align: center;
  padding: 10px;
}
#notificationsWindow{
  position: fixed;
  top: 45px;
  right: 0px;
  left: 0px;
  height: 80%;
  width: 88%;
  border-radius: 16px;
  border: 2px solid #9999ee;
  background-color: white;
  color: #444;
  text-align: center;
  padding: 5%;
  box-shadow: 5px 5px 5px gray;
  overflow-y: scroll;
}
#cerrarNotWindow{
  position: absolute;
  display: flex;
  top: 1px;
  right: 1px;
  background-color: #ee9999;
  box-shadow: 5px 5px 5px gray;
}
.notificationMiniature{
display: block;
width: 100%;
margin-bottom: 10px;

}
.notificationIcon{
width: 25px;
height: 25px;
border-radius: 50%;

}
#toast p{
  margin: auto;
  display: block;
}
#toast form{
    width: 100%;
    text-align: center;
}
#toast form label{
    text-align: left;
    margin-left: 5%;
    width: 95%;
    display: block;
}
#toast form input{
    min-width: 55%;
    max-width: 400px;
    margin-bottom: 15px;
}
#cerrarToast{
  position: absolute;
  display: flex;
  top: 1px;
  right: 1px;
  background-color: #ee9999;
}
.styled-table {
    border-collapse: collapse;
    margin: 30px auto;
    font-size: large;
    font-family: sans-serif;
    min-width: 300px;
    max-width: 95vw;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
.styled-table thead tr {
    background-color: #2c5796;
    color: #ffffff;
    text-align: center;
}
.styled-table th,
.styled-table td {
    padding: 7px 5px;
}
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #2c5796;
}
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #2c5796;
}
.alinear-izquierda{
    left:0px;
    text-align: left;
}
.contenidoPost{
    display: block;
    resize: none;
    width: 90%;
    margin: 0 auto;
    padding: 8px;
    border-radius: 8px;
}
.imgMainProfile{
    border-radius: 50%;
    width: 200px;
    height: 200px;
    padding-top: 10px;
    object-fit: cover;
}
.abrirsubir{
    width: 30px;
    height: 30px;
    position: absolute;
    border-radius: 50%;
    padding: 0px;
    top: 210px;
    margin-left: 80px;
    left: 50%;
}
.mensajeEnPerfil{
    width: 60px;
    height: 60px;
    position: absolute;
    border-radius: 50%;
    padding: 0px;
    font-size: 30px;
    left: 40%;
}
.blockEnPerfil{
    width: 60px;
    height: 60px;
    position: absolute;
    border-radius: 50%;
    padding: 0px;
    font-size: 30px;
    left: 76%;
}
.befriendEnPerfil{
    width: 60px;
    height: 60px;
    position: absolute;
    border-radius: 50%;
    padding: 0px;
    font-size: 30px;
    left: 61%;
}
.innerleft{
    text-align: left;
}
.imgPostProfile{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding-top: 5px;
    padding-left: 5px;
    float: left;

}
.imgCommentProfile{
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-top: 19px;
    margin-left: 15px;
    position: absolute;
}
.post{
    max-width: 90%;
    min-width:260px;
    background-color: white;
    margin: 10px auto;
    border-radius: 8px;
}
.comment{
    max-width: 90%;
    background-color: white;
    margin: 10px auto;
    min-width: 260px;
    padding-bottom: 5px;
    border-radius: 8px;
}
.autorPost span{
   margin-top: 10px;
}
.profileLink{
    font-weight: bolder;
    display: block;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
    color: black;
    font-size: .7em;
    max-width: 80%;
}
.profileLinkSmall{
    font-weight: normal;
    display: inline;
    width: auto;
    float: left;
    color: gray;
    font-size: 0.5em;
}
.autorPost .date{
    font-weight: lighter;
    display: inline;
    width: auto;
    float: left;
    color: gray;
    margin-left: 10px;
    font-size: 0.5em;
}
.postcontent{
  
    display: block;
    margin: 5px auto;clear: both;
    text-align: justify;
    margin-left: 5px;
    margin-top: 5px;
    padding-left: 3px;
    padding-right: 3px;
}
.interactions{
    display: block;
    text-align: justify;
    position: relative;
    width: 90%;
    margin: 5px auto;
    margin-top: 20px;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    text-align: center;
    padding:0;
}
.interactions button{
    height: 100%;
    width: 50%;
    display: inline;
    padding:10px 0;
    margin: 0;
    border-radius: 0px;
    background-color: white;
    color: grey;
}
.interactions button:hover{
    height: 100%;
    width: 50%;
    display: inline;
    padding:10px 0;
    margin: 0;
    border-radius: 0px;
    background-color: #dadada;
    color: black;
}
.comentarios{
    resize: none;
    position: static;
   padding-left: 9px;
   padding-right: 9px;
    min-width:50%;

    padding-left: 40px;
    padding-right: 60px;
    border-radius: 23px;
    height: 47px;
    display: inline;
    margin-left: 10px;
    margin-bottom: 5px;
    margin-top: 10px;
}
.enviarComments{
    position: absolute;
    padding: 0px;
    text-align: center;
    display: inline;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 25px;
    transform: translate(-61px, 5px);
}
.postMedia{
    max-width: 90%;
   object-fit: cover;
   max-height: 75vh;
   border: 1px solid #c1c1c1;
   margin-top: 12px;
   margin: 7px auto;
}
.hint{
    color: gray;
    padding: 0px;
    margin: 0px;
    font-weight: normal;
    font-size: small;

}
.media{
    margin: 0 auto;
    display: block;
}
#contenedorListaChats{
    width: 100%;
    min-height: 100vh;
    display: block;
}
#contenedorConversacion{
    width: 100%;
    min-height: 100vh;
    display: block;
    display: none;
}
.imgCommentProfile{
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-top: 19px;
    margin-left: 15px;
    position: absolute;
}
.fotoEnChat{
    border-radius: 50%;
    width: 45px;
    height: 45px;
   padding: 10px;
}
.miniaturaConvo{
    background-color: white;
    color: ##313131;
    height: 65px;
    text-align: left;
    border-bottom: 1px solid grey;
    cursor: pointer;
}
.nombresChats{
    transform: translate(10px, 5px);
    position: absolute;

}
#collapseList{
  position: absolute;

}
.collapseRight{
    right: 5px;
}
.collapseLeft{
    left: 5px;
}
#messages{
    overflow-y: scroll;
max-height: 70vh;
}
.mensajePropio{
    display: block;
    background-color: blue;
    color: white;
    border-radius: 12px;
    border-bottom-right-radius: 0px;
    display: block;
    float: right;
    padding: 10px;
    transform: translate(-10px, 7px);
        margin-left: 13px;
}
.imgmsgpropia{
  float: right;
}
.imgmsgrecibido{
    float: left;
}
.mensajito{
    width: 100%;
    display: block;
    min-height: fit-content;
    margin-bottom: 10px;
    clear: both;
}
.mensajito span{
    text-align: left;

}
.mensajeRecibido{
   background-color: black;
    color: white;
    border-radius: 12px;
    border-bottom-left-radius: 0px;
    display: block;
    float: left;
    padding: 10px;
    transform: translate(20px, 7px);
        margin-right: 13px;
}
.datetimemsg{
display: block;
color: gray;
font-size: smaller;
clear: both;
padding-top: 15px;
}
#textToSend{
  max-width: 80%;
  resize: none;
  position: static;
  float: bottom;
 padding-left: 9px;
 padding-right: 9px;
  min-width:50%;
  width: 80%;
  padding-left: 4px;
  padding-right: 6px;
  border-radius: 23px;
  height: 47px;
  display: inline;
  margin-left: 10px;
  margin-bottom: 5px;
  margin-top: 10px;
}
.enviarMensaje{
    position: absolute;
    padding: 0px;
    text-align: center;
    display: inline;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    transform: translate(-6vw, 5px);
}
.boardingTextarea{
resize: none;
width: 80vh;
height: 8em; 
max-height: 60vh; 
}
.granted{
background-color:  rgba(0,255,0,0.3);
}
.denied{
  background-color:rgba(255,0,0,0.3);}
}
.advertencia{
margin: 0 auto;
font-weight: bold;
color: red;  
}
.inline{
  display: inline !important;
}
.centrar{
text-align: center;
width: 90%;
margin: 0 auto;
display: block;  
}
}
