body.bootstrap3 {
  padding-top: 50px;
}

a {
    text-decoration: none;
}

body.grupo_navbar {
  padding-bottom: 50px;
}

img {
    image-orientation: from-image;
}

a.navbar-brand img {
  margin-top: -10px;
}

.table-nonfluid {
  width: auto !important;
}

/* Utilizado en grupo_asistencia.html */
.disaster {
  background-color: #424242;
}

.disaster-fg {
  color: #424242;
}

/* Separadores verticales */
/* Uso: https://github.com/twbs/bootstrap/issues/4286 */
.spacer5 { height: 5px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer10 { height: 10px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer15 { height: 15px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer20 { height: 20px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer25 { height: 25px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer30 { height: 30px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer35 { height: 35px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer40 { height: 40px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer45 { height: 45px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer50 { height: 50px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer100 { height: 100px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer200 { height: 200px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }

/* Centrado vertical */
.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

/* Usado para poner a la misma altura los botones de guardado y navegación que el h1 con el título de la vista */
.baja_20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Usado para alinear los badges a la derecha */
.float-right {
    float: right;
}

/* Utilizado en grupo_gestion-unidades.html */
.gest_unid_label_list {
  margin:2px;
}

.cursor_pointer {
  cursor: pointer;
}

.min_height_20 {
  min-height: 20px;
}

/* Usado para el efecto aplicado sobre las imágenes que representan las Historias */
/* BEGIN */
.thumbnail {
    position:relative;
    overflow:hidden;
}

.caption {
    position:absolute;
    top:0;
    right:0;
    background:rgba(66, 139, 202, 0.75);
    width:100%;
    height:100%;
    padding:2%;
    display: none;
    text-align:center;
    color:#fff !important;
    z-index:2;
    cursor: pointer;
}

.caption-danger {
    background:rgba(255, 139, 202, 0.75);
}
/* END */

/* Usado en la navbar de grupo y actividad */
/* BEGIN */
.navbar .navbar-nav .nav-link.active{
  background-color: #CCCCCC;
}
/* END */

/* Usado en el breadcrumb */
/* BEGIN */
.breadcrumb {
    margin-bottom: 0px;
}
/* END */

/* Usado para tachar glyphicons. De momento en 'jornada_asistencia'. */
/* BEGIN */
.contenedor {
  position: relative
}

.contenido {
  position: absolute;
  top: -7px;
  left: -7px;
  font-size: 200%;
  color: rgba(217, 83, 79, 0.6);
}
/* END */

/* Usado para superponer los precios a los artículos del catálogo (vista 'categoria.html')*/
/* BEGIN */
.circulo {
  height: 45px;
  width: 45px;
  background-color: #993333;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 4px;
  right: 4px;
}

.precio {
  height: 45px;
  width: 45px;
  position: absolute;
  top: 4px;
  right: 4px;
  font-weight: bold;
  font-size: 14px;
  color: white;
  padding: 12px 0;
  vertical-align: middle;
}

.agotado {
  position: absolute;
  top: 5px;
  left: 10px;
  font-size: 21px;
  font-weight: bold;
}

.pendiente {
  position: absolute;
  top: 55px;
  right: 5px;
}

.pendiente_dim {
  height: 45px;
  width: 45px;
}
/* END */

/* Usado para centrar las imágenes en el modal donde se muestran a tamaño normal (vista 'categoria.html')*/
/* BEGIN */
#ver-imagen-div {
  display : block;
  margin : auto;
}
/* END */

/* Coloreado de badges */
/* BEGIN */
.badge-error {
  background-color: #b94a48;
}
.badge-warning {
  background-color: #f89406;
}
.badge-success {
  background-color: #468847;
}
.badge-info {
  background-color: #3a87ad;
}
.badge-inverse {
  background-color: #333333;
}
/* END */


/* Estilos para chats de mensajes */
/* BEGIN */
.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
    color: #777777;
}

.panel .slidedown .glyphicon, .chat .glyphicon {
    margin-right: 5px;
}

.body-panel {
    overflow-y: scroll;
    height: 250px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.img-avatar {
    width: 50px;
}
/* END */


/* Nuevo estilos para chats de mensajes */
/* https://bootsnipp.com/snippets/1ea0N */
/* https://bootsnipp.com/snippets/5MaWv */
/* BEGIN */
.incoming_msg_img img{ max-width:100%;}

.messaging { padding: 0 0 50px 0;}

.msg_history {
  overflow-y: auto;
}

.inbox_msg {
  clear: both;
  overflow: hidden;
}

.outgoing_msg{
    overflow:hidden;
    margin:18px 0 18px;
}

.incoming_msg{
    overflow:hidden;
    margin:18px 0 18px;
}

.incoming_msg_img {
  display: inline-block;
  width: 6%;
}
.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
 }

 .received_withd_msg p {
  background: #ebebeb none repeat scroll 0 0;
  border-radius: 0 15px 15px 12px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}
.nombre {
  color: #000;
  font-weight: bold;
  font-size: 12px;
  margin: 8px 0 0;
}
.time_date {
  color: #747474;
  font-size: 12px;
  margin: 8px 0 0;
}
.received_withd_msg { width: 87%;}

.mesgs {
  float: left;
  padding: 30px 15px 0 25px;
  width: 100%;
}

 .sent_msg p {
  background: #0d6efd none repeat scroll 0 0;
  border-radius: 12px 15px 15px 0;
  font-size: 14px;
  margin: 0; color:#fff;
  padding: 5px 10px 5px 12px;
  width:100%;
}

.sent_msg {
  float: right;
  width: 80%;
}
/* END */


/* Modificador del tamaño de los glyphicons */
/* BEGIN */
.gi-13x{font-size: 1.3em;}
.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}
/* END */


/* Permite que los dropdown-menu sean scrollables */
/* BEGIN */
.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}
/* END */


/* Utilizados para hacer el truco de mostrar la foto del alumno en el Alta */
/* BEGIN */
#div_avatar {
    float: right;
    width: 128px;
    heigh: 128px;
}

#avatar {
    width: 128px;
    heigh: 128px;
}

#div_datos {
    padding-right: 128px;
    width: 100%;
}
/* END */

/* Utilizados para las páginas de error 404 y 500 */
/* BEGIN */
#notfound {
  position: relative;
  height: 90vh;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.notfound {
  max-width: 520px;
  width: 100%;
  line-height: 1.4;
}

.notfound .notfound-404 {
  position: absolute;
  left: 0;
  top: 0;
  height: 150px;
  width: 200px;
  z-index: -1;
}

.notfound .notfound-404 h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 238px;
  font-weight: 700;
  margin: 0px;
  color: #e3e3e3;
  text-transform: uppercase;
  letter-spacing: 7px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50% , -50%);
      -ms-transform: translate(-50% , -50%);
          transform: translate(-50% , -50%);
}

.notfound h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  color: #222;
  margin-top: 12px;
  margin-bottom: 15px;
}

.notfound a {
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  font-weight: 700;
  border-radius: 15px;
  text-decoration: none;
  color: #57a3f8;
}

.notfound a:hover {
  color: #57a3f8;
}

@media only screen and (max-width: 767px) {
  .notfound .notfound-404 {
    height: 110px;
    line-height: 110px;
  }

  .notfound .notfound-404 h1 {
    font-size: 170px;
  }

  .notfound h2 {
    font-size: 24px;
  }
}

@media only screen and (max-width: 480px) {
  .notfound .notfound-404 {
    left: 40px;
  }

  .notfound .notfound-404 h1 {
    font-size: 120px;
  }

  .notfound h2 {
    font-size: 18px;
  }
}
/* END */


/* Ajustes para facilitar la salida de las páginas por impresora */
/* BEGIN */
@media print {
  a[href]:after {
    content: none !important;
  }
}

@media print {
    body {
        padding-top: 0px;
    }
    h1 {
        font-size: 24px;
    }
}
/* END */


/* Fixes dropdown menus placed on the right side */
/* BEGIN */
.ml-auto .dropdown-menu {
    left: auto !important;
    right: 0px;
}
/* END */


/* Se oculta el asterisco que marca los campos ocultos en Crispy Forms */
/* BEGIN */
.asteriskField {
    display: none;
}
/* END */


/* Tabla sin bordes entre celdas */
/* BEGIN */
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}
/* END */


/* Evento del día */
/* BEGIN */
div.evento {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 5px solid #ffffff;
    display: inline-block;
    margin-bottom: 30px;
}
div.actual {
    border: 5px solid #00599b;
}
/* END */