/**
* @name generate-centered-widths
* Generates media queries for centering a certain amount of items by setting the item container's width.
* Loops through the maxNumberOfItems variable, starting at the increment variable
*
* @param maxNumberOfItems {number} max number of items you want to loop through
* @param itemWidth {px} individual width of each item
* @param increment {number} increments each loop, used as the start point
* @param itemContainerPadding {px} the padding of the items container, to be used in the max width
**/
.clearfix:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}
#PagePostAd .ui-datepicker {
  border: solid 1px #333333;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
body.responsive.responsive-dp#PagePostAd .ui-datepicker {
  border: solid 1px #999999;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
#PagePostAd .datepicker-month {
  color: #000000;
}
.ui-datepicker {
  background: #ffffff;
  border: solid 1px #ececec;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  display: none;
  padding: 4px;
}
.ui-datepicker-header {
  font: 13px/16px Arial, Verdana, sans-serif;
  color: #000066;
  font-weight: bold;
  height: 27px;
  text-decoration: none;
}
.ui-datepicker-header .ui-datepicker-next,
.ui-datepicker-header .ui-datepicker-prev {
  padding: 0 4px;
}
.ui-datepicker-header .ui-datepicker-next span,
.ui-datepicker-header .ui-datepicker-prev span {
  font: 13px/16px Arial, Verdana, sans-serif;
  font-weight: bold;
  height: 13px;
  width: 7px;
}
.ui-datepicker-header .ui-datepicker-title {
  color: #333333;
  text-align: center;
}
.ui-datepicker-header .ui-datepicker-title span {
  font: 13px/16px Arial, Verdana, sans-serif;
  font-weight: bold;
}
.ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker-header .ui-datepicker-next {
  border: solid 1px #ec7d1b;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  cursor: pointer;
  background: -moz-linear-gradient(top, #ffb929 12%, #f39d00 50%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(12%, #ffb929), color-stop(50%, #f39d00));
  background: -webkit-linear-gradient(top, #ffb929 12%, #f39d00 50%);
  background: -o-linear-gradient(top, #ffb929 12%, #f39d00 50%);
  background: -ms-linear-gradient(top, #ffb929 12%, #f39d00 50%);
  background: linear-gradient(top, #ffb929 12%, #f39d00 50%);
}
.ie8 .ui-datepicker-header .ui-datepicker-prev,
.ie8 .ui-datepicker-header .ui-datepicker-next {
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffb929, endColorstr=#f39d00, GradientType=0);
}
.ie9 .ui-datepicker-header .ui-datepicker-prev,
.ie9 .ui-datepicker-header .ui-datepicker-next {
  filter: none;
  background-image: url("../img/ui-gradients.svg");
  background-size: 100% 2200%;
  background-position: 0 40%;
}
body.responsive.responsive-dp .ui-datepicker-header .ui-datepicker-prev,
body.responsive.responsive-dp .ui-datepicker-header .ui-datepicker-next {
  background: #f39d00;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: solid 1px #f39d00;
}
.ui-datepicker-header .ui-datepicker-prev span,
.ui-datepicker-header .ui-datepicker-next span {
  display: block;
  height: 13px;
  width: 7px;
}
.ui-datepicker-header .ui-datepicker-prev.ui-superState-hover,
.ui-datepicker-header .ui-datepicker-next.ui-superState-hover {
  background: #ffb929;
  filter: none;
}
body.responsive.responsive-dp .ui-datepicker-header .ui-datepicker-prev,
body.responsive.responsive-dp .ui-datepicker-header .ui-datepicker-next {
  margin-left: auto;
}
.ui-datepicker-header .ui-datepicker-next {
  float: right;
  padding: 2px 5px 3px 7px;
}
.ui-datepicker-header .ui-datepicker-next span {
  background: transparent url("../img/sprite.png") no-repeat -301px -25px;
}
.ui-datepicker-header .ui-datepicker-prev {
  float: left;
  padding: 2px 7px 3px 5px;
}
.ui-datepicker-header .ui-datepicker-prev span {
  background: transparent url("../img/sprite.png") no-repeat -308px -25px;
}
.ui-datepicker-calendar {
  width: 100%;
}
.ui-datepicker-calendar th span {
  font: 13px/16px Arial, Verdana, sans-serif;
  color: #666666;
  font-weight: normal;
  text-align: center;
}
.ui-datepicker-calendar td {
  font: 13px/16px Arial, Verdana, sans-serif;
  color: #333333;
  text-align: center;
}
.ui-datepicker-calendar td a {
  border: solid 1px #ffffff;
  color: #000066;
  display: block;
  height: 18px;
  margin: 0 auto;
  padding-top: 2px;
  width: 20px;
}
body.responsive.responsive-dp .ui-datepicker-calendar td a {
  margin-left: auto;
}
.ui-datepicker-calendar td a.ui-superState-hover {
  background: #beea69;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  text-decoration: none;
}
.ui-datepicker-calendar td.ui-datepicker-today a {
  background: -moz-linear-gradient(top, #fef3c8 0%, #fceb75 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fef3c8), color-stop(100%, #fceb75));
  background: -webkit-linear-gradient(top, #fef3c8 0%, #fceb75 100%);
  background: -o-linear-gradient(top, #fef3c8 0%, #fceb75 100%);
  background: -ms-linear-gradient(top, #fef3c8 0%, #fceb75 100%);
  background: linear-gradient(top, #fef3c8 0%, #fceb75 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: solid 1px #ebd387;
}
.ie9 .ui-datepicker-calendar td.ui-datepicker-today a {
  filter: none;
  background-image: url("../img/ui-gradients.svg");
  background-size: 100% 2200%;
  background-position: 0 65%;
}
body.responsive.responsive-dp .ui-datepicker-calendar td.ui-datepicker-today a {
  background: #f2f2f2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: solid 1px #cccccc;
}
.ui-datepicker-calendar td.ui-datepicker-current-day a {
  background: -moz-linear-gradient(top, #b6d48f 12%, #f4f9da 50%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(12%, #b6d48f), color-stop(50%, #f4f9da));
  background: -webkit-linear-gradient(top, #b6d48f 12%, #f4f9da 50%);
  background: -o-linear-gradient(top, #b6d48f 12%, #f4f9da 50%);
  background: -ms-linear-gradient(top, #b6d48f 12%, #f4f9da 50%);
  background: linear-gradient(top, #b6d48f 12%, #f4f9da 50%);
  border: solid 1px #84a444;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 1 1 0 rgba(255, 255, 255, 0.7) inset;
  -moz-box-shadow: 0 1 1 0 rgba(255, 255, 255, 0.7) inset;
  box-shadow: 0 1 1 0 rgba(255, 255, 255, 0.7) inset;
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=180, Color='#ffffff')";
  color: #000000;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5);
}
.ie8 .ui-datepicker-calendar td.ui-datepicker-current-day a {
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b6d48f, endColorstr=#f4f9da, GradientType=0);
}
.ie9 .ui-datepicker-calendar td.ui-datepicker-current-day a {
  filter: none;
  background-image: url("../img/ui-gradients.svg");
  background-size: 100% 2200%;
  background-position: 0 20%;
}
body.responsive.responsive-dp .ui-datepicker-calendar td.ui-datepicker-current-day a {
  background: #83b54f;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: solid 1px #83b54f;
  color: #ffffff;
  text-shadow: none;
}
.ui-datepicker-calendar span.ui-superState-default {
  color: #cccccc;
}
