*,
*:before,
*:after {
  box-sizing: border-box;
}
/*body {
  overflow: hidden;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 100;
  margin: 0 auto;
  padding: 10px;
  width: 480px;
}*/
.seleccionado{
  background-color: #199919 !important;
  color: #ffffff !important;
  border-color: #199919 !important;
}
.ocupado{
  background-color: #F0768A !important;
  color: #ffffff !important;
}
.calendar, .horario {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  width: 100%;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  background-color: white;
  border-radius: 5px;
  /*border:1px solid #30C4EF;*/
  box-shadow:0 0 8px rgba(0, 0, 0, 0.2);
}
.day{
  float: left;
}
.calendar .circle {
  width: 24px;
  height: 24px;
  background-color: #42ca4d;
  display: none;
  /*display: inline-block;*/
  border-radius: 50%;
}
.calendar .header, .horario .header, .cita .header {
  height: 50px;
  width: 100%;
  background-color: #199919;
  color: #fff;
  text-align: center;
  position: relative;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding-top: 10px;
  height: 100px;
}
.horario .header{
  height: 60px;
  padding: 8px;
}
.cita .header{
  height: 90px;
  padding: 8px;
}
.cita{
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.calendar .header .month, .horario .header .dia, .cita .header .dia{
  opacity: 1;
  text-align: center;
  padding: 0px 30px;
  font-size: 2.1em;
  margin-bottom: 0px;
  font-weight: normal;
}
.cita .header .dia span{
  font-size: 16px;
}
.cita .header span{
  font-weight: 400;
}
.calendar .header .year {
  text-align: center;
  padding: 0px 40px;
  font-size: 1.5em;
}
.calendar .header h1 {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 50px;
  font-weight: 100;
  letter-spacing: 1px;
}
.calendar .legend {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #E9E9E9;
  line-height: 30px;
}
.ring-left {
  visibility: hidden;
  left: 2em;
  position: absolute;
  margin-top: -8px;
}
.ring-right {
  visibility: hidden;
  right: 2em;
  position: absolute;
  margin-top: -8px;
}
.ring-left:after,
.ring-right:after,
.ring-left:before,
.ring-right:before {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25), 0 -1px 1px rgba(0, 0, 0, 0.2);
  content: "";
  display: inline-block;
  margin: 8px;
  height: 32px;
  width: 8px;
}
.left,
.right-c {
  position: absolute;
  width: 0px;
  height: 0px;
  border-style: solid;
  top: 50%;
  margin-top: -7.5px;
  cursor: pointer;
}
.left {
  border-width: 7.5px 10px 7.5px 0;
  border-color: transparent #FFF transparent transparent;
  left: 20px;
}
.right {
  border-width: 7.5px 0 7.5px 10px;
  border-color: transparent transparent transparent #FFF;
  right: 20px;
}
.month, .dia {
  overflow: hidden;
  opacity: 0;
  /*padding: 10px 0;*/
  /*margin-bottom: 40px;*/
  transition: all 0.7s ease;
}
.month.new {
  -webkit-animation: fadeIn 1s ease-out;
  opacity: 1;
}
.month.in.next {
  -webkit-animation: moveFromLeftFadeMonth 0.4s ease-out;
  -moz-animation: moveFromLeftFadeMonth 0.4s ease-out;
  animation: moveFromLeftFadeMonth 0.4s ease-out;
  opacity: 1;
}
.month.in.prev {
  -webkit-animation: moveFromRightFadeMonth 0.4s ease-out;
  -moz-animation: moveFromRightFadeMonth 0.4s ease-out;
  animation: moveFromRightFadeMonth 0.4s ease-out;
  opacity: 1;
}
.month.out.next {
  -webkit-animation: moveToRightFadeMonth 0.4s ease-in;
  -moz-animation: moveToRightFadeMonth 0.4s ease-in;
  animation: moveToRightFadeMonth 0.4s ease-in;
  opacity: 1;
}
.month.out.prev {
  -webkit-animation: moveToLeftFadeMonth 0.4s ease-in;
  -moz-animation: moveToLeftFadeMonth 0.4s ease-in;
  animation: moveToLeftFadeMonth 0.4s ease-in;
  opacity: 1;
}
.editar{
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  font-size: 13px;
  font-weight: 200;
  cursor: pointer;
  opacity: 0;
  transition:.2s;
}
.cita .header:hover .editar, .cita .turno:hover .editar, .d-nombre:hover .editar, .d-telefono:hover .editar, .d-correo:hover .editar{
  opacity: 1;
  transition:.2s;
}

.week-days {
  padding: 8px 0px;
  background-color: #efefef;
}
.turno{
  padding: 2px 0px;
  background-color: #efefef;
}
.week-days .day {
  cursor: default;
}
.week, .am, .pm {
  background-color: #fff;
  /* background: #4A4A4A; */
}
.day, .hora, span.datosp {
  display: inline-block;
  width: -webkit-calc(14.28571429%);
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #999999;
  /* background: #4A4A4A; */
  position: relative;
  z-index: 100;
}
.am, .pm, .datos{
  display: inline-block;
  margin: 0;
  float: left;
  width: -webkit-calc(50%);
}
.datos{background-color: #fff; text-align: center; width: 100%; padding: 5px; font-size: .8em; color: #999999;}
.month.new .datos:first-child{padding-top: 20px;}
.month.new .datos:last-child{padding-bottom: 20px;}

.am .hora, .pm .hora{
  float: left;
  width: -webkit-calc(50%);
}
span.datosp{
  width: 100%;
  padding: 0;
  font-weight: 300;
  font-size: .9em;
}
.turno .hora{
  width: 49.0%;
}
.turno .doctor{
  display: inline-block;
  width: 100%;
  text-align: center;
  color: #999999;
  padding: 12px 8px;
}

.day.other, .hora.other {
  color: #E9E9E9;
}
.day.other .circle {
  background-color: #E9E9E9;
}
.day.today {
  color: #43c8eb;
  font-weight: normal;
}
.day .day-events {
  list-style: none;
  margin-top: 3px;
  text-align: center;
  height: 12px;
  line-height: 6px;
  overflow: hidden;
}
.day .day-events span {
  vertical-align: top;
  display: inline-block;
  padding: 0;
  margin: 0;
  width: 5px;
  height: 5px;
  line-height: 5px;
  margin: 0 1px;
}
.day-name {
  font-size: 9px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: .7px;
}
.day-number {
  font-size: 1em;
  letter-spacing: 1.5px;
}
.blue {
  background: #9ccaeb;
}
.orange {
  background: #f7a700;
}
.green {
  background: #99c66d;
}
.yellow {
  background: #f9e900;
}
.pink {
  background: #FF009B;
}
.details {
  position: relative;
  border: 1px solid #e9e9e9;
  margin-top: 5px;
  border-radius: 2px;
  display: none;
}
.details.in {
  -webkit-animation: moveFromTopFade .5s ease both;
  -moz-animation: moveFromTopFade .5s ease both;
  animation: moveFromTopFade .5s ease both;
}
.details.out {
  -webkit-animation: moveToTopFade .5s ease both;
  -moz-animation: moveToTopFade .5s ease both;
  animation: moveToTopFade .5s ease both;
}
.arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -5px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #e9e9e9 transparent;
  transition: all 0.7s ease;
}
.arrow:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  margin-left: -5px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #fff transparent;
}
.events {
  padding: 7px 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.events.in {
  -webkit-animation: fadeIn .3s ease both;
  -moz-animation: fadeIn .3s ease both;
  animation: fadeIn .3s ease both;
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  animation-delay: .3s;
}
.details.out .events {
  -webkit-animation: fadeOutShrink .4s ease both;
  -moz-animation: fadeOutShink .4s ease both;
  animation: fadeOutShink .4s ease both;
}
.events.out {
  -webkit-animation: fadeOut .3s ease both;
  -moz-animation: fadeOut .3s ease both;
  animation: fadeOut .3s ease both;
}
.event {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .5px;
  padding: 2px 16px;
  vertical-align: top;
}
.event.empty {
  color: #eee;
}
.event span {
  display: inline-block;
  padding: 0 0 0 7px;
}
.event-category {
  height: 10px;
  width: 10px;
  display: inline-block;
  margin: 8px 0 0;
  vertical-align: top;
}
.legend {
  bottom: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #E9E9E9;
  line-height: 30px;
}
.entry {
  position: relative;
  padding: 0 0 0 25px;
  font-size: 13px;
  display: inline-block;
  line-height: 30px;
  background: transparent;
}
.entry:after {
  position: absolute;
  content: '';
  height: 5px;
  width: 5px;
  top: 12px;
  left: 14px;
}
.entry.blue:after {
  background: #9ccaeb;
}
.entry.orange:after {
  background: #f7a700;
}
.entry.green:after {
  background: #99c66d;
}
.entry.yellow:after {
  background: #f9e900;
}
/* slide out to the left */
@keyframes slideOutLeft {
  to {
    transform: translateX(-200%);
  }
}
@-moz-keyframes slideOutLeft {
  to {
    -moz-transform: translateX(-200%);
  }
}
@-webkit-keyframes slideOutLeft {
  to {
    -webkit-transform: translateX(-200%);
  }
}
/* slide in from the right */
@keyframes slideInRight {
  from {
    transform: translateX(200%);
  }
  to {
    transform: translateX(0);
  }
}
@-moz-keyframes slideInRight {
  from {
    -moz-transform: translateX(200%);
  }
  to {
    -moz-transform: translateX(0);
  }
}
@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translateX(200%);
  }
  to {
    -webkit-transform: translateX(0);
  }
}
/* Animations are cool!  */
@-webkit-keyframes moveFromTopFade {
  from {
    opacity: .3;
    height: 0px;
    margin-top: 0px;
    -webkit-transform: translateY(-100%);
  }
}
@-moz-keyframes moveFromTopFade {
  from {
    height: 0px;
    margin-top: 0px;
    -moz-transform: translateY(-100%);
  }
}
@keyframes moveFromTopFade {
  from {
    height: 0px;
    margin-top: 0px;
    transform: translateY(-100%);
  }
}
@-webkit-keyframes moveToTopFade {
  to {
    opacity: .3;
    height: 0px;
    margin-top: 0px;
    opacity: 0.3;
    -webkit-transform: translateY(-100%);
  }
}
@-moz-keyframes moveToTopFade {
  to {
    height: 0px;
    -moz-transform: translateY(-100%);
  }
}
@keyframes moveToTopFade {
  to {
    height: 0px;
    transform: translateY(-100%);
  }
}
@-webkit-keyframes moveToTopFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateY(-30%) scale(0.95);
  }
}
@-moz-keyframes moveToTopFadeMonth {
  to {
    opacity: 0;
    -moz-transform: translateY(-30%);
  }
}
@keyframes moveToTopFadeMonth {
  to {
    opacity: 0;
    -moz-transform: translateY(-30%);
  }
}
@-webkit-keyframes moveFromTopFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateY(30%) scale(0.95);
  }
}
@-moz-keyframes moveFromTopFadeMonth {
  from {
    opacity: 0;
    -moz-transform: translateY(30%);
  }
}
@keyframes moveFromTopFadeMonth {
  from {
    opacity: 0;
    -moz-transform: translateY(30%);
  }
}
@-webkit-keyframes moveToBottomFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateY(30%) scale(0.95);
  }
}
@-moz-keyframes moveToBottomFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateY(30%);
  }
}
@keyframes moveToBottomFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateY(30%);
  }
}
@-webkit-keyframes moveToLeftFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateX(-200%) scale(0.95);
  }
}
@-moz-keyframes moveToLeftFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateX(-200%);
  }
}
@keyframes moveToLeftFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateX(-200%);
  }
}
@-webkit-keyframes moveToRightFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateX(200%) scale(0.95);
  }
}
@-moz-keyframes moveToRightFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateX(200%);
  }
}
@keyframes moveToRightFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateX(200%);
  }
}
@-webkit-keyframes moveFromBottomFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateY(-30%) scale(0.95);
  }
}
@-moz-keyframes moveFromBottomFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateY(-30%);
  }
}
@keyframes moveFromBottomFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateY(-30%);
  }
}
@-webkit-keyframes moveFromLeftFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateX(-200%) scale(0.95);
  }
}
@-webkit-keyframes moveFromRightFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateX(200%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-webkit-keyframes moveToRightFadeMonth {
  to {
    opacity: 1;
    -webkit-transform: translateX(200%);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@-webkit-keyframes fadeOut {
  to {
    opacity: 0;
  }
}
@-moz-keyframes fadeOut {
  to {
    opacity: 0;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
@-webkit-keyframes fadeOutShink {
  to {
    opacity: 0;
    padding: 0px;
    height: 0px;
  }
}
@-moz-keyframes fadeOutShink {
  to {
    opacity: 0;
    padding: 0px;
    height: 0px;
  }
}
@keyframes fadeOutShink {
  to {
    opacity: 0;
    padding: 0px;
    height: 0px;
  }
}
