/* Gravity Forms */

.gform_wrapper {
	margin: 0 !important; /* Why would they hardcode a 16px margin on the container in the plugin? Boo. */
}

.gfield {
	clear: both;
	display: block;
	float: none;
	margin: 0 0 1.5em 0 !important;
}

.gfield_error, .error_box {
	background: transparent !important;
	border: none !important;
	margin: 1em 0 !important;
	padding: 0 !important;
}

	.gfield_error *, .error_box * {
		color: #e74c3c !important;
	}

	.gfield_error input,
	.gfield_error select,
	.gfield_error textarea,
	.error_box input,
	.error_box select,
	.error_box textarea
	{
		border-color: #e74c3c !important;
	}

.gfield_label {
	font-size: 90%;
	font-weight: 600;
	line-height: 1.5em;
}

.gfield_consent_label {
	display: inline-block;
	font-size: .875em;
	line-height: 1.5em;
	margin: 0 0 0.25em;
	max-width: 90%;
}

.gfield.hide_label > label { display: none !important; }

.gfield.inline .ginput_container * { display: inline-block; }
.gfield.inline li label { padding-right: 1em !important; width: auto !important; }

.gfield.nolabel { position: relative; top: -2em !important; }

.gfield.gsection {
	padding-top: 1em !important;
}

.gform_wrapper .gfield_checkbox li input[type=checkbox],
.gform_wrapper .gfield_radio li input[type=radio],
.gform_wrapper .gfield_checkbox li input
{
	margin-top: 0.25em !important;
	vertical-align: top !important;
}

.gform_wrapper .description, .gform_wrapper .gfield_description, .gform_wrapper .gsection_description, .gform_wrapper .instruction { line-height: 1.5em !important; }

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input[type=submit] { width: auto !important; }

.gform_wrapper li.gf_list_inline ul.gfield_checkbox li, .gform_wrapper li.gf_list_inline ul.gfield_radio li { margin-right: 1.5em !important; }

.gform_wrapper .gsection_description li, .gform_wrapper form .gsection_description li { list-style: inherit !important; }


.gform_confirmation_wrapper {
	background: #ecf0f1;
	padding: 1.5em;
}

	.gform_confirmation_message {
		font-weight: 600;
	}

.gform_wrapper div.validation_error {
	border-top: none !important;
	border-bottom: none !important;
}

/* Gravity Forms datepicker, based on: https://gist.github.com/spivurno/e4b00678717e068fcb45 */
.ui-datepicker {
	background-color: #fff;
	width: 260px !important;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.1) !important;
	padding: 5px;
	position: relative;
	border: 1px solid #ddd;
}

.ui-datepicker:before, .ui-datepicker:after {
	display: none !important;
}

 .ui-datepicker-group {
	float: left !important;
	padding: 20px 20px 20px 0;
}

 .ui-datepicker-header {
	background: none !important;
	text-shadow: none !important;
	color: #333 !important;
	border: 0 !important;
	margin-bottom: 6px !important;
}

 .ui-datepicker-title {
	font-size: 15px !important;
}

	.ui-datepicker-title select { min-width: 75px !important; margin: 0 2px !important; }

 .ui-datepicker-year {
	font-weight: normal !important;
}

.ui-datepicker thead {
	border: 0 !important;
	background: none !important;
}

.ui-datepicker th {
	font-size: 12px !important;
	font-weight: bold;
	color: #ccc !important;
}

.ui-datepicker tbody tr {
	border: 0 !important;
}

.ui-datepicker tbody td {
	background-color: transparent;
	border: 0 !important;
	padding: 1px !important;
}

.ui-datepicker td span, 
.ui-datepicker td a {
	height: 2em !important;
	line-height: 1.667em !important;
}

 .ui-datepicker-prev {
	position: absolute; top: 1.25em !important; left: 5px;
	line-height: 1.5em !important;
	background: none !important;
}

 .ui-datepicker-prev:after {
	content: '◀';
	color: #999999 !important;
}

 .ui-state-disabled.ui-datepicker-prev:after {
	color: #ccc !important;
}

 .ui-icon.ui-icon-circle-triangle-w {
	display: none;
}

 .ui-datepicker-next {
	position: absolute; top: 1.25em !important; right: 5px;
	line-height: 1.5em !important;
	background: none !important;
}

 .ui-icon-circle-triangle-e {
	display: none;
}

 .ui-datepicker-next:after {
	content: '▶';
	color: #999999 !important;
}

 .ui-state-disabled.ui-datepicker-next:after {
	color: #ccc !important;
}

 .ui-datepicker-calendar .ui-state-default {
	background: #f5f5f5 !important;
	font-weight: normal !important;
	font-size: 13px !important;
	text-shadow: none !important;
	border: 1px solid #f5f5f5 !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

 .ui-datepicker-calendar .ui-datepicker-today a {
	font-weight: bold !important;
}

 .ui-datepicker-calendar .ui-datepicker-current-day a {
	background-color: #999999 !important;
	color: #fff !important;
	border: 1px solid #999999 !important;
}

 .ui-datepicker-calendar .ui-state-hover {
	background-color: #fff !important;
	border: 1px solid #999999 !important;
}

 .ui-datepicker-unselectable.ui-state-disabled {
	background: none !important;
}

 .ui-datepicker-unselectable.ui-state-disabled span {
	background: none !important;
	font-weight: normal !important;
	color: #eee !important;
	border: 1px solid transparent !important;
}

 .ui-datepicker-calendar .ui-datepicker-other-month span {
	color: #ccc !important;
}

 .ui-datepicker-calendar .wrong {
	background-color: #ff0000 !important;
}

 div.ui-datepicker-group-first td:not(.ui-datepicker-other-month) ~ td.ui-datepicker-other-month {
	visibility: hidden;
}

 div.ui-datepicker-group-last td {
	visibility: hidden;
}

 div.ui-datepicker-group-last td.ui-datepicker-other-month ~ td:not(.ui-datepicker-other-month),
 div.ui-datepicker-group-last td:not(.ui-datepicker-other-month),
 div.ui-datepicker-group-last td:not(.ui-datepicker-other-month) ~ td.ui-datepicker-other-month {
	visibility: visible;
}

/* Interactive popover (e.g. for newsletter signup forms) */

body #popover .gform_wrapper .gform_body,
body #popover .gform_wrapper .gform_footer,
body #popover .gform_wrapper .gform_body .gfield_visibility_visible.hidden_label,
body #popover .gform_wrapper .gform_body .gfield_visibility_visible.hidden_label div.ginput_container,
body #popover .gform_wrapper .gform_body .gfield_visibility_visible.hidden_label input,
body #popover .gform_wrapper .gform_footer .button_wrapper,
body #popover .gform_wrapper .gform_footer input
{
	display: inline-block !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	vertical-align: middle !important;
	width: auto !important;
}


/* CSS3 MEDIA QUERIES */

/* LARGE SCREENS (content area over 1600 pixels) */
/*
@media screen and (min-width: 1600px) {

}
*/


/* SMALLER COMPUTERS (content area under 1200 pixels) */
/*
@media screen and (max-width: 1200px) {

}
*/


/* TABLETS (content area under 1024 pixels) */
/*
@media screen and (max-width: 1024px) {

}
*/


/* PHONES (content area under 782 pixels) */
/*
@media screen and (max-width: 782px) {

}
*/


/* MEDIUM PHONES (content area under 640 pixels) */
/*
@media screen and (max-width: 640px) {

}
*/


/* SMALL PHONES (content area under 480 pixels) */
/*
@media screen and (max-width: 480px) {

}
*/
