.calendar {
  position: relative;
  background-color: #0e805b;
  padding: 3px;
  border-radius: 4px;
  display: inline-block;
  width: 100%;
}
.calendar header {
  text-align: center;
}
.calendar.month-sm {
  width: 100%;
}
  
.calendar.month-sm .day {
  margin-left: 1%;
  margin-top: 2px;
  width: 13%;
  min-width: 13%;
  min-height: 80px;
  text-align: left;
  display: inline-block;
  border-radius: 5px;
  background: #8bb3a2;
  cursor: pointer;
  padding: 2px;
  color: white;
  position: relative;
  overflow-y: auto;
  max-height: 80px;
}
.calendar.month-sm .day > div {
  text-align: center;
  white-space: nowrap;
  overflow-x: hidden;
}
.calendar .day .consult {
	text-align: left !important;
	font-size: 80%;
  color: green;
}
.calendar .day .contact {
  color: #a92300;
  font-size: 80%;
}
.calendar .day .contact strong, .calendar .day .consult strong {
  padding-left: 13px;
  color: black;
}
.calendar .day .private {
	width: 10px;
	height: 10px;
	background-color: #A92300;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 2px 2px 2px #bababa;
	position: relative;
	left: 9px;
}

.calendar.month-sm .day:before {
  content: attr(data-day);
  position: absolute;
  left: -2px;
  top: -2px;
  background-color: #25372f;
  width: 20px;
  height: 20px;
  padding-top: 0;
  padding-right: 1px;
  border-radius: 50%;
  display: block;
  font-family: Arial, Verdana, sans-serif;
  font-size: 12px;
}
.calendar.month-sm .day.pad:before {
  background-color: transparent;
}
.calendar.month-sm .day.pad {
  background-color: #b1b1b1;
}
.calendar.month-sm .day.name {
    text-align:center;
    font-weight: bold;
    text-shadow: 2px 2px 3px black;
    min-height: auto;
    background-color: #6d857b;
    padding-bottom: 4px;
    width: 13.4%;
}
.calendar.month-sm .day.name:before {
  content: "";
  background-color: transparent;
} 
.calendar.month-sm header {
  background-color: #25372f;
  color: white;
  text-align: center;
  padding: 1% 2% 0 1%;
}
.calendar header .title {
  display: inline-block;
  width: 120px;
  max-width: 120px;
  text-align:center;
  color: inherit;
}
.calendar header .glypicon {
  color: inherit;
}
.calendar.month-sm div:last-child {
  margin-bottom: 3px;
}

.calendar.day-detail {
  background-color: #f7f3bb;
  max-height: calc(100vh - 258px);
  height: calc(100vh - 258px);
  overflow-y: auto;
  overflow-x:hidden;
  padding: 12px;
  border-radius: 5px;
}

.calendar.day-detail .hour {
  min-height: 50px;
  border-bottom: 1px solid #dadada;
}

.calendar.day-detail .time {
  display: inline-block;
  padding: 3px 12px;
  background-color: #fcf9d2;
}

.calendar.day-detail entry {
  display: block;
  padding: 0 4px;
}

.calendar.day-detail entry.own {
  background-color: #f8f2a3;
}
  
.calendar.day-detail entry.other {
  background-color: #f8d6a3;
}
.calendar .thumb {
  background-color: white;
  border: 1px solid black;
  width: 100%;
  padding: 1%;
}

.calendar header {
  text-align: center;
  background-color: #25372f;
  color: white;
}
  
.calendar .week {
  clear: both;
}
.calendar.month-sm .day {
  width: 13.4%;
  font-size: 80%;
  text-align: center;
  float: left;
  margin-right: .4%;
  margin-left: .4%;
  margin-top: .5%;
  margin-bottom: .5%;
}
.calendar.month-tn .day {
  width: 19px;
  background-color: #8bb3a2;
  padding: 2px;
  margin: 2px;
  height: 18px;
  border-radius: 2px;
  display: inline-block;
  text-align: center;
  line-height: 1.1;
}
.calendar.month-tn .day.today, .calendar.month-tn .day.future {
  cursor: pointer
}
.calendar.month-tn .day.name {
  background-color: #6d857b;
  color: white;
}
.last-month, .this-month, .next-month {
  float: left;
  width: 167px;
  max-width: 180px;
  margin: 12px;
  background-color: #a92300;
}
.calendar.month-tn .day.pad {
  background-color: #DDD;
}
.calendar.month-sm .week .day:nth-of-type(1),
.calendar.month-sm .day.name:nth-of-type(1) {
  margin-left: .8%;
}
.calendar header {
  background: #7777FF;
  font-size: 90%;
  font-weight: bold;
  padding-left: 4px;
  text-align: center;
  color: white;
}

.calendar .thumb {
  background-color: white;
  border: 1px solid black;
  width: 100%;
  padding: 1%;
}

.calendar .week {
  clear: both;
}
.calendar .detailCell {
  position: absolute;
  background-color: #6d857b;
  border-radius: 5px;
  box-shadow: 2px 2px 3px #999999;
  padding: 12px;
  border: 2px solid #A92300;
}
.calendar .detailCell:before {
  content: attr(data-day);
  background-color: #A92300;
  color: white;
  padding: 4px 5px 0 3px;
  position: absolute;
  top: -15px;
  left: -17px;
  border-radius: 50%;
  line-height: 21px;
  font-size: 15px;
}
.detailCell > div {
  background-color: rgba(255,255,255,.04);
  padding:1px 4px;
}
.calendar .detailCell.expanded {
  left: 24% !important;
  top:25% !important;
  width: 50% !important;
  height: 50% !important;
  transition: width 2s, height 2s, left 2s, right 2s;
}
.calendar .detailCell .buttons {
  position: absolute;
  right: -13px;
  color: white;
  top: -13px;
}
.calendar-container .detailCell .consult {
  color: green;
}
.calendar-container .detailCell .contact {
  color: #a92300;
}
.calendar .detailCell .buttons .add-event {
  padding: 5px;
  border-radius: 50%;
  color: white;
  background-color: #749184;
}
#add-event .modal-header {
  padding-bottom: 30px;
}
#add-event .title {
  font-size: 120%;
  font-weight: bold;
  text-align: center;
  background-color: #6d857b;
  border-radius: 4px;
  color: white;
  text-shadow: 2px 2px 2px BLACK;
}
#add-event .toggle .title {
  margin: 0 3px;
}
#add-event input[type="text"] {
  margin-bottom: 12px;
}
.calendar .toggle {
  position: absolute;
  right: 0;
  height: 40px;
  background-color: white;
  width: 97px;
  top: 15px;
}
.calendar .slider {
  border: 1px solid #b1b1b1;
  border-radius: 11px;
  padding: 1px;
  height: 15px;
  margin-top: 3px;
  margin-right: 12px;
}
.calendar .slider .ball {
  height: 11px;
  width: 11px;
  background-color: green;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  transition: left .5s ease-out;
  cursor: pointer;
}
.calendar .slider .ball.private {
  left: calc(100% - 25px);
  transition: left .5s ease-in-out;
}
.calendar .plaque {
  width: 0;
  height: 0;
  transition: height 2s, width 2s;
  overflow: hidden;
}
.calendar .plaque.active {
  width: auto;
  height: auto;
  transition: width 2s, height 2s;
  transition-delay: 2s;
}
option.consult {
  color: green;
}
option.contact {
  color: #a92300;
}
