/*
 * GDate Limiter Styles
 * Based on Gravity Forms Legacy Datepicker Styles
 */

/* Copied from Gravity Forms legacy/css/datepicker.css */
.ui-datepicker {
	height: auto;
	margin: 5px auto 0;
	font: 9pt Arial, sans-serif;
	min-width: 216px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    background-color: #fff;
    z-index: 9999 !important;
}

.ui-datepicker a {
	text-decoration: none;
}

.ui-datepicker table {
	border-collapse: collapse;
	width: 100%;
}

.ui-datepicker .ui-datepicker-header {
	background-color: #666;
	border-color: #666;
	border-style: solid;
	border-width: 1px 0 0 0;
	color: #e0e0e0;
	font-weight: bold;
	line-height: 31px;
	min-height: 31px !important;
    position: relative;
}

.ui-datepicker .ui-datepicker-header .ui-icon {
	display: none;
}

.ui-datepicker .ui-datepicker-title {
	text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
	margin-top: 2.5%;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	display: inline-block;
	width: 30px;
	height: 30px;
	text-align: center;
	cursor: pointer;
    position: absolute;
    top: 0;
	line-height: 30px;
	overflow: hidden;
    color: #fff;
    font-size: 20px;
}

.ui-datepicker .ui-datepicker-prev {
	left: 0;
}

.ui-datepicker .ui-datepicker-next {
	right: 0;
}

/* Add arrows using pseudo-elements if images are missing */
.ui-datepicker .ui-datepicker-prev:before {
    content: "«";
}
.ui-datepicker .ui-datepicker-next:before {
    content: "»";
}

.ui-datepicker thead {
	background: #f7f7f7;
	border-bottom: 1px solid #bbb;
}

.ui-datepicker th {
	text-transform: uppercase;
	text-align: center;
	font-size: 6pt;
	padding: 5px 0;
	color: #666666;
}

.ui-datepicker tbody td {
	padding: 0;
	border-top: 1px solid #bbb;
	border-right: 1px solid #bbb;
}

.ui-datepicker tbody td:last-child {
	border-right: 0px;
}

.ui-datepicker tbody tr {
	border-bottom: 1px solid #bbb;
}

.ui-datepicker tbody tr:last-child {
	border-bottom: 0;
}

.ui-datepicker td span,
.ui-datepicker td a {
	display: inline-block;
	font-weight: bold;
	text-align: center;
	width: 100%;
	height: 30px;
	line-height: 30px;
	color: #666666;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
	background: #ededed;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-hover {
	background: #f7f7f7;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active {
	background: #FFF2AA;
	border: 1px solid #c19163;
	color: #666;
}

.ui-datepicker .ui-datepicker-unselectable .ui-state-default {
	background: #f4f4f4;
	color: #b4b3b3;
}

.ui-datepicker td.ui-datepicker-unselectable.ui-state-disabled {
	background-color: #d7d7d7;
    opacity: 0.5;
}

/* Basic jQuery UI Widget Styles */
.ui-widget {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
}
.ui-widget-content {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #333333;
}
.ui-widget-header {
    border: 1px solid #dddddd;
    background: #e9e9e9;
    color: #333333;
    font-weight: bold;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
    content: "";
    display: table;
    border-collapse: collapse;
}
.ui-helper-clearfix:after {
    clear: both;
}
.ui-helper-clearfix {
    min-height: 0; /* support: IE7 */
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
    border-top-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-top-right-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
    border-bottom-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-bottom-right-radius: 3px;
}
