.gp-limit-dates-field-settings .gp-row {
	position: relative;
}

.gpld-date-input-container {
	position: relative;
	display: none;
}

.gpld-date-input-container .gpld-date-input-reset {
	width: 1rem;
	display: inline-block;
	text-align: center;
	margin-left: 2px;
}

.gpld-date-input-container .gpld-date-input-reset:hover {
	color: #333;
	cursor: pointer;
}

.gpld-date-select {
	width: 170px;
}

.gpld-date-modifier-container {
	display: none;
	vertical-align: middle;
}

.gpld-days-of-week-container {
	display: flex;
	flex-wrap: wrap;
}

.gf-legacy-ui .gpld-days-of-week-container {
	display: block;
}

.gpld-all-days-container span#gpld-all-days {
	cursor: pointer;
}

.gpld-day-container {
	width: 100%;
	max-width: 20%;
	margin-bottom: 0.5625rem;
}

.gf-legacy-ui .gpld-day-container {
	width: auto;
	display: inline-block;
}

.gpld-all-days-container span#gpld-all-days:before {
	content: '\f00c';
	font-family: 'GFFontAwesome', 'FontAwesome';
	margin-right: 3px;
	width: 1rem;
	display: inline-block;
	text-align: center;
}

.gpld-all-days-container span#gpld-all-days:hover:before {
	content: '\f00d';
}

.gpld-days-of-week-container label[for="gpld-day-0"]:after {
	display: none;
}

.gf-legacy-ui .gpld-days-of-week-container input {
	display: none;
}

.gf-legacy-ui .gpld-days-of-week-container label,
.gf-legacy-ui .gpld-all-days-container label {
	display: inline-block !important;
}

.gf-legacy-ui .gpld-days-of-week-container label {
	margin: 0 !important;
}

.gf-legacy-ui .gpld-days-of-week-container input:checked + label {
	font-weight: bold;
	/* margin: 0 !important; */
}

.gf-legacy-ui .gpld-days-of-week-container.has-selection input:not(:checked) + label {
	color: #999;
}

.gf-legacy-ui .gpld-days-of-week-container label:after {
	content: "|";
	margin: 0 5px;
	color: #ccc;
}

.gf-legacy-ui .gpld-days-of-week-container input:checked + label:before {
	content: '\f00c';
	font-family: FontAwesome;
	margin-right: 3px;
}



.gpld-exceptions-repeater {
	margin-bottom: 0.5625rem;
}

.gf-legacy-ui .gpld-exceptions-repeater {
	margin-bottom: 0;
}

.gpld-exceptions-repeater:empty {
	display: none;
}

.gpld-exceptions-repeater .row {
	position: relative;
	margin: 0 0.4625rem 0.4625rem 0;
	float: left;
	/* Right margin (0.4625rem) multiplied by the gaps between the elements (2) and divided by the total elements per row (3). */
	width: calc( 33.33% - ( ( 0.4625rem * 2 ) / 3 ) );
	background-color: #f4f5fb;
	padding: 0.5625rem 1.5625rem 0.5625rem 0.5625rem;
	display: inline-block;
	box-sizing: border-box;
	border-radius: 3px;
}

.gf-legacy-ui .gpld-exceptions-repeater .row {
	float: none;
	width: auto;
	margin: 0 0 4px 0;
	background-color: #f7f7f7;
	padding: 0.5625rem 1.5625rem 0.5625rem 0.5625rem;
	display: inline-block;
	box-sizing: border-box;
	border-radius: 3px;
}

.gpld-exceptions-repeater .row:nth-child(3n+3) {
	margin-right: 0;
}

.gpld-exceptions-repeater .row:after {
	content: attr( data-gpld-date-value );
}

.gpld-exceptions-repeater .row input {
	display: none;
}

.gpld-exceptions-repeater .repeater-buttons {
	position: absolute;
	right: 0.5625rem;
	top: 0.5625rem;
}

.gpld-exceptions-repeater .repeater-buttons .add-item {
	display: none;
}

.gpld-exceptions-repeater .repeater-buttons a {
	color: #3e7da6;
	cursor: pointer;
	opacity: 0.25;
}

.gf-legacy-ui .gpld-exceptions-repeater .repeater-buttons a {
	color: #333;
}

.gpld-exceptions-repeater .repeater-buttons a:hover {
	opacity: 1;
}

#gpld-add-exception-container {
	clear: both;
}

#gpld-add-exception-input {
	width: 0;
	height: 0;
	visibility: hidden;
	position: absolute;
	left: 0;
}

.gpld-date-modifier-today-container {
	margin: 10px 0;
	padding-left: 1px;
}

.gp-limit-dates-field-settings .gp-row hr.invisible {
	border: 0;
	margin: 0;
}

.gpld-date-modifier-container {
	margin-left: 1rem !important;
}

.gpld-date-modifier-container input {
	width: calc( 100% - 1.5rem ) !important;
}

.gpld-date-input {
	width: calc( 100% - 1.5rem ) !important;
}

label[for="gpld-minimum-date"] + div,
label[for="gpld-maximum-date"] + div {
	margin-top: 0 !important;
}
