/* Elements */

.dxkp-disabled {
	opacity: .5;
}
.dxkp-btn {
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	padding: 4px 30px;
	position: relative;
	font-size: 18px;
	border: none;
	cursor: pointer;
	background: #e6e6e6;
	border-radius: 26px;
	color: #fff;
	text-decoration: none;
}
.dxkp-btn:hover {
	opacity: .8;
}
.dxkp-btn-outline {
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	padding: 4px 30px;
	position: relative;
	font-size: 18px;
	border: none;
	cursor: pointer;
	border: 3px solid #e6e6e6;
	border-radius: 26px;
	color: #e6e6e6;
	text-decoration: none;
}
.dxkp-close {
	position: absolute;
	top: 10px;
	right: 30px;
	font-size: .8em;
}
.dxkp-close-x {
	border: 1px solid #ccc;
	padding: 2px;
	margin-right: 2px;
}

/* Filters */

.dxkp-filter-bar {
	position: relative;
	margin-top: 30px;
}
.dxkp-filter-container {
	display: inline-block;
	margin-right: 20px;
}
.dxkp-filter-toggle {
	position: relative;
	background: #e6e6e6;
	border-radius: 6px;
	padding: 12px 80px 12px 14px; 
	font-size: 16px;
	width: 100%;
}
.dxkp-filter-toggle::after {
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 10px solid #4d4d4d; 
	top: calc( 50% - 5px );
	content: '';
	position: absolute;
	right: 14px;
	transition: none;
}
.dxkp-filter-toggle.dxkp-active::after {
	border-top: none;
}
.dxkp-filter-dropdown {
	display: none;
	padding: 24px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #ccc;
	position: absolute;
	top: calc(100% + 14px);
	z-index: 9;
	left: 0;
	width: 100%;
}
.dxkp-filter-dropdown .dxkp-filter-title {
	margin: 0 0 14px;
	text-transform: none;
	font-weight: bold;
}
.dxkp-filter-dropdown.dxkp-active {
	display: block;
}
#dxkp-keyword-search,
#dxkp-location-search {
	background: #e6e6e6;
	display: inline-block;
	margin: 0 14px 20px 0;
	width: 100%;
	max-width: 450px;
}
#dxkp-keyword-search input,
#dxkp-location-search input {
	background: #e6e6e6;
	border: none;
	width: calc(100% - 50px);
	padding: 12px 14px; 
}
#dxkp-keyword-search button,
#dxkp-location-search button {
	display: inline-block;
	border: none;
	width: 50px;
	background: #e6e6e6;
	padding: 12px 14px; 
	cursor: pointer;
}
#dxkp-keyword-search button img,
#dxkp-location-search button img {
	width: 17px;
}
#dxkp-clear-search,
#dxkp-clear-location-search,
#dxkp-search-summary {
	display: none;
}
.dxkp-clear-filter {
	float: left;
}
.dxkp-apply-filter {
	float: right;
	font-weight: bold;
}
.dxkp-filter-options {
	display: flex; 	
	flex-wrap: wrap;
	max-height: 250px;
	overflow-y: scroll;
}
.dxkp-filter-options label {
	display: block;
}
.dxkp-filter-actions {
	overflow: hidden;
	margin-top: 30px;
}
.dxkp-age-title-row {
	display: flex; 	
	flex-wrap: wrap;
}
.dxkp-age-options label {
	border: 1px solid #ccc;
	padding: 6px 14px;
	margin: 0 4px 8px;
	display: inline-block;
	cursor: pointer;
	width: 100%;
	text-align: center;
}
.dxkp-age-options input {
	opacity: 0;
	margin-right: -18px;
}
.dxkp-age-title,
.dxkp-age-options {
	-ms-flex: 0 0 calc(60% - 50px);
	flex: 0 0 calc(60% - 50px);
	max-width: calc(60% - 50px);
	margin-right: 50px;
}
.dxkp-day-title,
.dxkp-day-options {
	-ms-flex: 0 0 30%;
	flex: 0 0 30%;
	max-width: 30%;
}
.dxkp-one-fourth-col {
	-ms-flex: 0 0 22%;
	flex: 0 0 22%;
	max-width: 22%;
	margin: 0 1.5%;
}
.dxkp-searching .dxkp-one-fourth-col {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	margin: 0;
}
.dxkp-age-row {
	display: flex; 	
	flex-wrap: wrap;
}
#dxkp-locations-dropdown h4 {
	text-transform: none;
	font-size: 24px;
	margin: 1em 0 .5em;
}
.dxkp-site {
	margin-left: 24px;
	font-size: .8rem;
}

@media (max-width: 992px) { 
	.dxkp-one-fourth-col {
		-ms-flex: 1 100%;
		flex: 1 100%;
		max-width: 100%;
		margin: 0;
	}
	.dxkp-filter-options {
		max-height: none;
		overflow-y: hidden;	
	}
	.dxkp-filter-container {
		display: block;
		margin-right: 0;
	}
	.dxkp-filter-toggle {
		margin: 7px 0;
		display: block;
		width: 100%;
	}
	.dxkp-day-title,
	.dxkp-day-options {
		-ms-flex: 0 0 40%;
		flex: 0 0 40%;
		max-width: 40%;
	}
	.dxkp-filter-dropdown {
		position: relative;
		top: initial;
		left: initial;
		padding: 24px 0;
		border: none;
		width: 100%;
		margin: 14px 0 24px;
	}
	.dxkp-filter-dropdown .dxkp-close {
		display: none;
	}
	.dxkp-filter-options label {
		border-bottom: 1px solid #ccc;
		padding: 5px 10px;
	}
	.dxkp-filter-actions {
		position: fixed;
		bottom: 0;
		width: 100%;
		margin-left: -30px;
		background: #e6e6e6;
		padding: 10px 20px;
		border-top: 1px solid #ccc;
	}
}

/* Results */

#dxkp-total-found {
	display: none;
}
#dxkp-programs {
	margin: 50px 0;
}
#dxkp-programs table {
	width: 100%;
}
#dxkp-programs table td {
	text-align: left;
	font-size: 16px;
}
.dxkp-program-row-1 td {
	padding-top: 20px;
}
.dxkp-program-row-1 td.dxkp-register-cell {
	padding-top: 0;
	padding-left: 50px;
}
#dxkp-programs table .dxkp-program-row-1 td {
	border-top: 2px solid #e6e6e6;
}
#dxkp-programs table .dxkp-program-row-2 td {
	padding-bottom: 20px;
}
#dxkp-programs table .dxkp-no-results td {
	text-align: center;
	padding: 24px 12px;
}
#dxkp-programs table td.dxkp-smaller {
	font-size: 14px;
}
#dxkp-programs table td .dxkp-offering-name {
	font-weight: bold;
}
#dxkp-filter-results {
	display: none;	
}
#dxkp-filter-results a::after {
	content: '';
	background: url('../img/chevron.png') no-repeat center center;
	width: 12px;
	height: 13px;
	background-size: 12px 13px;
	display: inline-block;
	position: relative;
	left: 7px;
	top: 3px;
}
#dxkp-filter-results a.dxkp-active::after {
	-moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
	top: 1px;
}
#dxkp-filter-results a {
	text-decoration: underline;
	font-size: .8em;
}

@media (max-width: 992px) {  
	#dxkp-filter-results {
		display: block;
	}
	.dxkp-filter-bar {
		display: none;
	}
	#dxkp-programs-results td {
		display: none;
	}
	#dxkp-programs-results .dxkp-program-row-1 td {
		padding-top: 10px;
	}
	#dxkp-programs-results tr td:first-child {
		display: table-cell;
		padding-bottom: 10px;
	}
	#dxkp-programs-results tr.dxkp-no-results td {
		display: table-cell;
	}
}

/* Lightbox */

.dxkp-lightbox {
	position: fixed;
	top:50%;
	text-align: center;
	-webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
	left:10%;
	background:#fff;
	padding: 10px 30px;
	width:80%;
	text-align: left;
	border: 1px solid #ccc;
	z-index: 999;
	display: none;
}
.dxkp-lightbox-header h4 {
	margin: 10px 0;
	text-transform: none;
}
.dxkp-lightbox-footer {
	padding-top: 14px;
}
.dxkp-lightbox-footer a {
	text-decoration: underline;
	font-size: .8em;
}
.dxkp-lightbox-content {
	padding: 24px 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	display: flex; 	
	flex-wrap: wrap;
}
.dxkp-lightbox-content h5 {
	margin: 0 0 10px;
}
.dxkp-lightbox-content-left {
	-ms-flex: 0 0 calc(60% - 30px);
	flex: 0 0 calc(60% - 30px);
	max-width: calc(60% - 30px);
	margin-right: 30px;
}
.dxkp-lightbox-content-right {
	-ms-flex: 0 0 40%;
	flex: 0 0 40%;
	max-width: 0 0 40%;
}
#dxkp-register-lightbox .dxkp-lightbox-content-left, 
#dxkp-register-lightbox .dxkp-lightbox-content-right {
	text-align: center;
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
	margin-right: 0;
}
.dxkp-overlay {
	background: rgba(0,0,0,.6);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	display: none;
}

@media (max-width: 992px) { 
	.dxkp-offering-lightbox {
		padding: 10px;
		width: 98%;
		left: 1%;
	}
	.dxkp-lightbox-content-left,
	.dxkp-lightbox-content-right,
	#dxkp-register-lightbox .dxkp-lightbox-content-left, 
	#dxkp-register-lightbox .dxkp-lightbox-content-right  {
		-ms-flex: 1 100%;
		flex: 1 100%;
		max-width: 100%;
		margin: 0;
	}
	#dxkp-register-lightbox .dxkp-lightbox-content-right {
		margin-top: 30px;
	}
}

/* Pagination */

#dxkp-pagination {
	text-align: center;
	margin: 30px 0;
}
#dxkp-pagination ul {
	padding: 0;
	margin: 0;
}
#dxkp-pagination ul li {
	display: inline-block;
	margin: 0 10px;
}
#dxkp-pagination ul li a.dxkp-active,
#dxkp-pagination ul li a:hover {
	text-decoration: underline;
}
#dxkp-prev,
#dxkp-next {
	display: inline-block;
	margin: 0 16px;
}
