html, body {
  -webkit-font-smoothing: antialiased;
}
body { padding-top: 60px; }
.botonera_inicio { padding-top: 20px; }

.btn-primary {
  background-color: #D10019;
  border-color: #AD0418;
}
.btn-primary:focus,
.btn-primary.focus {
  background-color: #940415;
  border-color: #770311;
}
.btn-primary:hover {
  background-color: #AD0418;
  border-color: #940415;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-color: #940415;
  border-color: #770311;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  background-color: #940415;
  border-color: #770311;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #D10019;
  border-color: #AD0418;
}
.btn-primary .badge {
  color: #D10019;
  background-color: #fff;
}
a {
  color: #D10019;
}
a:hover {
  color: #AD0418;
}
a:active {
  color: #940415;
}
.navbar-brand {
  padding-left: 45px;
  background: url(logo.png) no-repeat 5px center;
}
.navbar-default .navbar-brand {
    color: #D10019;
}

/* calendario */
.calendario {
    margin: 1em auto;
    text-align: center;
}
.calendario .cabecera {
    font-size: 1.4em;
    margin-bottom: 1em;
    position: relative;
}
.calendario .cabecera a {
    cursor: pointer;
}
.calendario .cabecera a:hover {
    text-decoration: none;
}
.calendario .cabecera + ul {
    border-top: 1px solid #e7e7e7;
}
.calendario .cabecera + ul li {
    background-color: #FBFBFB;
    padding: 1em 0;
}
.calendario > ul {
    margin: 0;
    padding: 0;
}
.calendario > ul:after {
    content: '';
    display: table;
    clear: both;
}
.calendario > ul:first-child {
    border-top: 1px solid #e7e7e7;
}
.calendario > ul li {
    display: block;
    float: left;
    width: 14.285724%;
    position: relative;
    font-size: 1.4em;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}
.calendario > ul li span {
  padding: 1em;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.calendario > ul li.active:after {
  content: '-';
  width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #333;
  position: absolute;
  bottom: -1px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.calendario > ul li:first-child {
    border-left: 1px solid #e7e7e7;
}
.calendario > ul li.dia {
  cursor: pointer;
  height: 68px;
}
.calendario > ul li.otro {
  color: #ccc;
  height: 68px;
  cursor: default;
}
.calendario > ul li.deshabilitado {
  opacity: 0.7;
}
.calendario > ul li span.asiste {
  background-color: #5cb85c;
  color: #fff;
}
.calendario > ul li.hoy {
  font-weight: bold;
}
.calendario > ul li.hoy:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: #007bff transparent transparent transparent;
  position: absolute;
  left: 0;
  top: 0;
}
.calendario > ul li span.no-asiste {
  background-color: #D10019;
  color: #fff;
}
.calendario > ul li span.dieta-blanda {
  background-color: #f0ad4e;
  color: #fff;
}
.calendario .detail {
  width: 100%;
  clear: both;
  background-color: #333;
  color: #fff;
  height: 0;
  position: relative;
  overflow: hidden;
  -webkit-transition: all .3s cubic-bezier(0.895, 0.03, 0.685, 0.22);
  transition: all .3s cubic-bezier(0.895, 0.03, 0.685, 0.22);
  animation: detail;
}
.calendario .detail.visible {
  padding: 1em;
  overflow: visible;
  height: auto;
}
.calendario .detail:after {
  content: '';
  display: table;
  clear: both;
}
.calendario .detail .close-detail {
  position: absolute;
  right: 0.3em;
  top: 0em;
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  color: #fff;
  cursor: pointer;
  z-index: 1;
}
.calendario .detail .close-detail:hover {
  color: #f7f7f7;
  text-decoration: none;
}
.calendario .detail .menu-content {
  border-left: 1px solid #222;
}
.calendario .detail .menu-content .col-md-8 {
  padding-left: 0;
}
.calendario .detail .menu-content p {
  border-bottom: 1px solid #222;
  margin-bottom: 1em;
  font-size: 1.6em;
  padding-bottom: 0.5em;
}
.calendario .detail .menu-content .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.calendario .detail .menu-content .menu li {
  padding-left: 1em;
  position: relative;
  font-weight: 300;
  font-size: 1.4em;
}
.calendario .detail .menu-content .menu li:before {
  content: '-';
  position: absolute;
  left: 0;
}
.calendario .detail .menu-content .fotos {
  padding-right: 0;
  padding-top: 3em;
}
.calendario .detail .menu-content .fotos .foto-holder {
  margin-bottom: 1em;
  border: 8px solid #222;
}
.calendario .detail .menu-content .fotos .foto-holder img {
  max-width: 100%;
  display: block;
  border: 1px solid #f8f8f8;
}

.calendario .detail .botonera {
  padding-left: 0;
}
.calendario .detail .botonera button {
  position: relative;
  padding: 1em 1em 1em 2em;
}
.calendario .detail .botonera button span {
  position: absolute;
  left: 0.5em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (max-width: 991px) {
  .calendario .detail.visible {
    padding-top: 4em;
  }
  .calendario .detail .botonera {
    padding: 0;
  }
  .calendario .detail .menu-content {
    padding: 2em 0 0;
    border-left: none;
    border-top: 1px solid #222;
  }
  .calendario .detail .menu-content .col-md-8 {
    padding: 0;
  }
  .calendario .detail .menu-content .fotos {
    padding: 1em 0 0;
  }
  .calendario > ul li span {
    padding: 1em 0.5em;
  }
}