/*
  We are phasing out the .css files in favour of the .less versions as part of longer term improvements. If the module/resource set you are updating refers to the .css versions, please update all files to use .less instead.
*/

/* Calendar Popup */
form.f .date-range .date-field input.medium {
  width: 95%;
}

form.f .date-range .date-field .cal-icon {
  background-position: top 50% right 5px;
}

.date-range {
  display: inline-block;
}

.date-field {
  display: inline-block;
  position: relative;
  width: 100%;                 
}

#newspostform .date-field { /*add other admin forms here if needed */
  width: 180px;
}

.date-field input {
  width: 100%;
}

.date-field .cal-icon {
  height: 100%;
  width: 40px;
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url(../images/datefield-calendar.png);
  background-position: top 50% right 15px;
  background-repeat: no-repeat;
}

form.f div.calendar {
  display: inline;
  position: absolute;
  width: 210px;
  -webkit-box-shadow: 0px 0px 2px 1px #ccc;
  -moz-box-shadow: 0px 0px 2px 1px #ccc;
  box-shadow: 0px 0px 2px 1px #ccc; 
  background-color: #fff;
  border: 1px solid #999;
  margin-left: 10px;
}

form.f div.calendar-header {
  height: 20px;
  line-height:20px;
  background-color: #ccc;
  color: #000;
}

form.f div.calendar-header a {
  display: block;
  float: left;
  width: 20px;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
}

form.f div.calendar-header a:hover {
  font-weight: bold;
}

form.f div.calendar-header span {
  display: block;
  float: left;
  width: 130px;
  text-align: center;
  font-size: 12px;
}

form.f div.calendar-days {
  color: #444;
  line-height: 22px;
  height: 22px;
  background-color: #F2F2F2;
}

form.f div.calendar-days span {
  display: block;
  float: left;
  width: 30px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}

form.f div.calendar-cells a {
  display: block;
  float: left;
  width: 29px;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  color: #000;
  border-left: 1px solid #DDDDDE; /* note: MUST be a 1px border-left */
  border-top: 1px solid #DDDDDE;  /* note: MUST be a 1px border-top */
}

form.f div.calendar-cells a.other-month:hover {
  background-color: #F2F2F2;
}

