/*tabs*/
#pestanas {
    margin-top: 50px;
    font-size: 2ex;
    font-weight: bold;
    display: flex;
    justify-content: center;
}
#pestanas ul{
    margin-left: -40px;    
}
#pestanas li{
    list-style-type: none;
    float: left;
    text-align: center;
    margin: 0px 2px -2px -0px;
    background: #00B8E0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 2px solid white;
    border-bottom: dimgray;
    padding: 0px 20px 0px 20px;
}
#pestanas a:link{
    text-decoration: none;
    color: white;
}
#contenidopestanas{
    clear: both;  
    /*background: dimgray;*/
    padding: 20px 0px 20px 20px;
    border-radius: 5px;
    border-top-left-radius: 0px;
    /*border: 2px solid bisque;*/
    width: 1025px;
}
/*Fin tabs*/

.textareaChatMensajes{
    resize: none;
    width:100%
}

.noChat{
    text-align: center;
}

.itemMensaje{
    width: 100%;
    margin-bottom: 1em;
}

.itemMensaje p{
    padding-bottom: 0;
}

.mensajeEmisor{
    text-align:right;
    color: #bfb809;
}
.mensajeReceptor{
    text-align:left;
    color: #00b8e0;
}

.horaMensaje{
    font-size: 0.6em;
    color: gray;
}

/* The Modal (background) */
.crear_incidencia_modal,  .cerrar_incidencia_modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    z-index: 999;
  }
  
  /* Modal Content/Box */
  .crear_incidencia_modal .modal-content,  .cerrar_incidencia_modal .modal-content{
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .incidencia_textarea{
    resize: none;
    width:100%
  }

  .info-success{
    background-color: green;
    color:white;
  }

  .info-error{
    background-color: red;
    color:white;
  }

  .oculto{
    display:none;
  }
  .visible{
    display:block;
  }

  /*
  .divProfesor{
    display: inline-block;
    width: calc((100% - 40px) / 3);
    position: relative;
  }
*/
  #wp-info_profesor-wrap{
    margin-bottom: 15px;
  }

  .legal input[type="checkbox"]{
    margin-bottom: 30px;
  }

  .divListadoProfesores {
    display: grid;
    grid-gap: 8%;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.imagenProfesor img {
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/*****************Avatar************************************/

.pp-wrapper{
}

/* if widget is in the side bar */
.entry-content .woocommerce .pp-wrapper{
  width: 270px;
  position: absolute;
}
/* if widget is in the main column */
.woocommerce-MyAccount-content > .pp-wrapper{
  width: 100% !important;
  margin-bottom:30px;
  position: relative !important;
  display: block;
  overflow: hidden;
}

.pp-wrapper > div:not(:last-child){
  margin-bottom: 5px !important;
}

.pp-title{
  margin-bottom: 5px
}

.pp-avatar-wrapper{
  float: left;
  width: 150px;
  overflow: hidden;
}

.pp-avatar-wrapper{
  height: 150px;
}
.pp-avatar-wrapper img{
  width:100%;
  height:100%;
  object-fit: cover;
}


.pp-actions-wrapper{
  float: left;
  width: 100%;
}

.pp-submission-result{
  float: left;
  font-size:14px;
  color:#ff0000;
}	
      
.pp-controls{
  float: left;
  width: 100%;
}
.pp-controls form input,
.pp-controls form label[for="wc-profile-photo-input"]{
  float:left;
  background:#ffffff;
  padding: 5px 10px;
  font-size:14px;
  font-weight: normal;
  text-transform: capitalize;
  line-height: 1;
  color: #121212;
  border: 1px solid #8e8e8e;
}
.pp-controls form input:hover,
.pp-controls form label[for="wc-profile-photo-input"]:hover{
  background: #efefef;
  color: #121212;
  border: 1px solid #8e8e8e;
}
/* hide de default input=file to use a nicely label instead */
.pp-controls form input[type="file"]{
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}				
.pp-controls form > *:not(:last-child){
  margin-right: 5px;
}

.pp-remove-link a{
  float: left;
  font-size:14px;
  color: red;
}

.woocommerce-MyAccount-navigation{
  
}
@media( max-width: 786px ){
  .woocommerce-MyAccount-navigation{
    float:left;
    width: 100%;
  }
}
.woocommerce-MyAccount-content{
  float: right;
}
