﻿/*
* Datepicker for Bootstrap
*
* Original Idea: https://www.eyecon.ro/bootstrap-datepicker (Copyright 2012 Stefan Petre)
* Updated by AymKdn (https://kodono.info - https://github.com/Aymkdn/Datepicker-for-Bootstrap)
* Licensed under the Apache License v2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
*/
.calendar {
  top: 0;
  left: 0;
  padding: 4px;
  margin-top: 1px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.calendar:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  left: 6px;
}
.calendar:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  left: 7px;
}
.calendar > div {
  display: none;
}
.calendar table {
  width: auto;
  margin: 0;
}
.calendar td,
.calendar th {
  text-align: center;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.calendar td.day:hover {
  background: #eeeeee;
  cursor: pointer;
}
.calendar td.day.disabled {
  background: #dcdcdc;
  cursor: none;
}
.calendar td.old,
.calendar td.new {
  color: #999999;
}
.calendar td.active,
.calendar td.active:hover 
{
  background-color: rgb(165, 135, 82);
  background-image: -moz-linear-gradient(top, rgb(217, 175, 102),rgb(165, 135, 82));
  background-image: -ms-linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgb(217, 175, 102)), to(rgb(165, 135, 82)));
  background-image: -webkit-linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: -o-linear-gradient(top, #rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  border-color: rgb(165, 135, 82) rgb(165, 135, 82) #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.calendar td.active:hover,
.calendar td.active:hover:hover,
.calendar td.active:active,
.calendar td.active:hover:active,
.calendar td.active.active,
.calendar td.active:hover.active,
.calendar td.active.disabled,
.calendar td.active:hover.disabled,
.calendar td.active[disabled],
.calendar td.active:hover[disabled] {
  background-color: rgb(165, 135, 82);
}
.calendar td.active:active,
.calendar td.active:hover:active,
.calendar td.active.active,
.calendar td.active:hover.active {
  background-color: rgb(165, 135, 82);
}
.calendar td span {
  display: block;
  height: 54px;
  line-height: 54px;
  float: left;
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.calendar td span:hover {
  background: #eeeeee;
}
.calendar td span.active {
  background-color: rgb(165, 135, 82);
  background-image: -moz-linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: -ms-linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: -webkit-gradient(linear, 0 0, 0 100%, rgb(217, 175, 102)), to(rgb(165, 135, 82)));
  background-image: -webkit-linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: -o-linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-image: linear-gradient(top, rgb(217, 175, 102), rgb(165, 135, 82));
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  border-color: rgb(165, 135, 82) rgb(165, 135, 82) #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.calendar td span.active:hover,
.calendar td span.active:active,
.calendar td span.active.active,
.calendar td span.active.disabled,
.calendar td span.active[disabled] {
  background-color: rgb(165, 135, 82);
}
.calendar td span.active:active,
.calendar td span.active.active {
  background-color: rgb(165, 135, 82);
}
.calendar td span.old {
  color: #999999;
}
.calendar th.switch {
  width: 145px;
}
.calendar thead tr:first-child th {
  cursor: pointer;
}
.calendar thead tr:first-child th:hover {
  background: #eeeeee;
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
  display: block;
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.dropdown-menu.calendar {
  max-width: 220px;
}
