input[type="text"][id^="category-"],
input[type="text"]#ticket_title,
input[type="text"]#new_category,
input[type="text"]#ticket_status,
select#ticket_status,
select#ticket_priority,
select#ticket_category {
	max-width: 100%;
	box-sizing: border-box;
}

.container {
	display: flex;
	padding: 0 100px;
}

.container #ticketdetails form #ticket_title {
	width: 100%;
	max-width: 300px;
}

.container #ticketdetails form textarea {
	width: 100%;
	overflow: auto;
}

@media (max-width: 768px) {
	.container {
		display: flex;
		flex-direction: column;
		padding: 0 10px;
	}

	.container #ticketdetails form #ticket_title {
		max-width: 100%;
	}
}

/* ***** user dashboard tabs ***** */

.tab {
	overflow: hidden;
	border-bottom: 1px solid #ccc;
	display: flex;
	justify-content: center;
}

.tab button {
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
}

.tabcontent {
	width: 100%;
	display: none;
	padding: 6px 12px;
	border-top: none;
	position: relative;
	z-index: 1;
}

.tabcontent.active {
	display: block;
}

@media (max-width: 600px) {
	.tab {
		flex-wrap: wrap;
	}
}

/* ***** user dashboard layout ***** */

.esd-user-dash-table {
	width: 100%;
	border-collapse: collapse;
	display: table;
	font-size: 0.8em;
}

.esd-user-dash-th {
	text-align: left;
	padding: 8px;
	background-color: #acdafa;
	border: 1px solid #ddd;
}

.esd-user-dash-td {
	padding: 5px;
	border: 1px solid #ddd;
	word-break: break-word;
	hyphens: auto;
	vertical-align: middle;
	text-align: left;
}


.esd-user-dash-td[data-label="Actions"] {
	text-align: center;
}

.esd-user-dash-tr:nth-child(even) {
	background-color: #acdafa;
}

.esd-user-dash-tr:nth-child(odd) {
	background-color: #ffffff;
}

.esd-user-dash-dropdown {
	position: relative;
	display: inline-block;
}

.esd-user-dash-dropbtn {
	/* background-color: #4b91f1; */
	color: white;
	padding: 10px;
	font-size: 1em;
	cursor: pointer;
}

.esd-user-dash-dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	right: 0;
}

.esd-user-dash-dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.esd-user-dash-dropdown-content a:hover {
	background-color: #ddd;
	/* color: #4b91f1; */
}

.esd-user-dash-dropdown:hover .esd-user-dash-dropdown-content {
	display: block;
}

@media (max-width: 768px) {
	.esd-user-dash-dropdown-content {
		left: 0%;
		width: fit-content;
	}
}

.esd-user-dash-dropdown:hover .esd-user-dash-dropbtn {
	/* background-color: #acdaf9; */
}

.esd-user-dash-status-1,
.esd-user-dash-status-0 {
	background-color: #92D050;
	color: white;
}

.esd-user-dash-status-0 {
	background-color: rgb(230, 85, 85);
}

.esd-user-dash-priority-critical span,
.esd-user-dash-priority-high span,
.esd-user-dash-priority-medium span,
.esd-user-dash-priority-low span,
.esd-user-dash-status-open span,
.esd-user-dash-status-pending span,
.esd-user-dash-status-in-progress span,
.esd-user-dash-status-resolved span,
.esd-user-dash-status-closed span,
.esd-user-dash-status-reopened span,
.esd-user-dash-status-escalated span,
.esd-user-dash-status-awaiting-customer-response span,
.esd-user-dash-status-awaiting-agent-response span,
.esd-user-dash-status-on-hold span,
.esd-user-dash-status-cancelled span {
	color: white;
	padding: 5px;
	border-radius: 3px;
	width: fit-content;
	display: flex
}

.esd-user-dash-priority-critical span {
	background-color: #ff0000;
}

.esd-user-dash-priority-high span {
	background-color: #e65555;
}

.esd-user-dash-priority-medium span {
	background-color: #ffa500;
}

.esd-user-dash-priority-low span {
	background-color: #008000;
}

.esd-user-dash-status-open span {
	background-color: #008000;
}

.esd-user-dash-status-pending span {
	background-color: #c3c306d1;
}

.esd-user-dash-status-in-progress span {
	background-color: #0000ff;
}

.esd-user-dash-status-resolved span {
	background-color: #90ee90;
}

.esd-user-dash-status-closed span {
	background-color: #808080;
}

.esd-user-dash-status-reopened span {
	background-color: #ffa500;
}

.esd-user-dash-status-escalated span {
	background-color: #ff0000;
}

.esd-user-dash-status-awaiting-customer-response span {
	background-color: #800080;
}

.esd-user-dash-status-awaiting-agent-response span {
	background-color: #add8e6;
}

.esd-user-dash-status-on-hold span {
	background-color: #d3d3d3;
}

.esd-user-dash-status-cancelled span {
	background-color: #a9a9a9;
}


.user-dash-profile-completed-container {
	justify-content: left;
}

.user-dash-profile-completed {
	width: 200px !important;
	height: 200px !important;
}

.user-dash-profile-completed-color {
	background-color: #4b91f1;
}

.user-dash-profile-incomplete-color {
	background-color: #acdaf9;
}

@media screen and (max-width: 768px) {
	.esd-user-dash-table {
		font-size: 1em;
	}

	.esd-user-dash-tr {
		display: flex;
		flex-wrap: wrap;
		border: 1px solid #ddd;
		margin-bottom: 10px;
	}

	.esd-user-dash-th {
		display: none;
	}

	.esd-user-dash-td {
		display: grid;
		grid-template-columns: 30% 70%;
		justify-content: space-between;
		width: 100%;
		padding: 10px;
		border: none;
		border-bottom: 1px solid #ddd;
	}

	.esd-user-dash-td[data-label="Actions"] {
		align-items: center;
		white-space: wrap;
		text-align: left;
	}

	.esd-user-dash-td::before {
		content: attr(data-label);
		flex: 1;
		font-weight: bold;
		text-align: left;
	}

	.esd-user-dash-td:last-child {
		border-bottom: none;
	}

	#welcome.tabcontent {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	#welcome.tabcontent h2 {
		width: 100%;
		box-sizing: border-box;
		font-size: 5vw;
		text-align: left;
	}

	.user-dash-profile-completed-container {
		display: flex;
		justify-content: center;
		max-width: 90%;
	}
}

@media (max-width: 352px) {
	.esd-user-dash-td {
		grid-template-columns: 35% 65%;
	}
}

@media (max-width: 315px) {
	.esd-user-dash-td {
		grid-template-columns: 50% 50%;
	}
}

.ticket-details {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
	width: 100%;
}

.ticket-details section {
	background: #fff;
	padding: 20px;
	margin: 10px 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ticket-details-location-section {
	display: flex;
	flex-wrap: wrap;
}

.ticket-details-location-section .column-left,
.ticket-details-location-section .column-right {
	flex: 1;
	min-width: 50%;
	box-sizing: border-box;
}

.ticket-details h2 {
	padding-bottom: 10px;
}

.ticket-details ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ticket-details ul li {
	padding: 5px 0;
	margin-left: 0;
}

.ticket-details-autocomplete-container {
	position: relative;
}

.ticket-details-autocomplete-items {
	position: absolute;
	border: 1px solid #d4d4d4;
	border-bottom: none;
	z-index: 99;
	left: 0%;
	top: 100%;
	width: 189px;
}

.ticket-details-autocomplete-items div {
	padding: 10px;
	cursor: pointer;
	background-color: #fff;
	border-bottom: 1px solid #d4d4d4;
}

.ticket-details-autocomplete-items div:hover {
	background-color: #e9e9e9;
}

@media (max-width: 768px) {
	.ticket-details-location-section {
		display: block;
	}

	.ticket-details-location-section .column-left,
	.ticket-details-location-section .column-right {
		display: block;
	}

	.ticket-details-autocomplete-items {
		left: 0%;
	}
}

.row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.row section {
	flex: 1;
	margin-right: 20px;
}

.row section:last-child {
	margin-right: 0;
}

.listing-profile-incomplete-warning {
	background-color: #4b91f1;
	color: white;
	padding: 5px;
	border-radius: 5px;
	display: inline-block;
}

.listing-profile-incomplete-warning a {
	color: black;
	text-decoration: none;
}

.listing-profile-incomplete-warning a:hover {
	color: white;
}

.listing-awaiting-approval-warning {
	background-color: #4b91f1;
	color: white;
	padding: 5px;
	border-radius: 5px;
	display: inline-block;
}

.mobile-only {
	display: none;
}

@media (max-width: 768px) {
	.row {
		flex-direction: column;
	}

	.row section {
		width: 100%;
		margin-bottom: 20px;
	}

	/*.main-content,
	.booking-details {
		width: 100%;
		padding: 0;
	}*/

	.main-content {
		width: 100%;
		padding: 0;
	}

	.listing-booking-details {
		width: 100%;
		padding: 0 20px;
	}

	.two-columns li {
		width: 100%;
	}

	.mobile-only {
		display: block;
	}

	.sticky-footer {
		position: fixed;
		bottom: 0;
		left: 0;

		width: 100%;

		background-color: #333;
		color: #fff;
		text-align: center;
		padding: 10px 0;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		z-index: 1000;
	}

	.sticky-footer button {
		background-color: #4b91f1;
		color: #fff;
		border: none;
		padding: 10px 20px;
		font-size: 16px;
		cursor: pointer;
	}

	.sticky-footer button:hover {
		background-color: #acdaf9;
	}

	.modal {
		display: none;
		position: fixed;
		z-index: 1001;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgba(0, 0, 0, 0.4);
	}

	.modal-content {
		background-color: #fefefe;
		margin: 15% auto;
		padding: 20px;
		border: 1px solid #888;
		width: 80%;
		max-width: 500px;
	}

	.close {
		color: #aaa;
		float: right;
		font-size: 28px;
		font-weight: bold;
	}

	.close:hover,
	.close:focus {
		color: black;
		text-decoration: none;
		cursor: pointer;
	}

	.guest-controls {
		margin-top: 20px;
	}

	.guest-controls span {
		display: inline-block;
		margin-right: 10px;
	}

	.summary {
		margin-top: 20px;
	}

	#summaryTextMobile {
		font-size: 16px;
		color: #333;
	}

	#select-dates-link {
		display: block;
		margin-top: 20px;
		color: #4b91f1;
		text-decoration: none;
		font-size: 16px;
	}

	#select-dates-link:hover {
		text-decoration: underline;
	}
}

/* ***** site administration - edit categories */

.edit-categories-container,
.edit-facilities-container {
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 20px;
}

.edit-categories-fields-row,
.edit-facilities-fields-row {
	display: flex;
	margin-bottom: 10px;
}

.edit-categories-field,
.edit-facilities-field {
	flex: 1;
	margin-right: 10px;
}

.edit-categories-field:last-child,
.edit-facilities-field:last-child {
	margin-right: 0;
}

.edit-categories-field label,
.edit-facilities-field label {
	display: block;
	margin-bottom: 5px;
}

.edit-categories-field input,
.edit-facilities-field input {
	width: 30ch;
	padding: 8px;
	box-sizing: border-box;
}

.edit-categories-button-row,
.edit-facilities-button-row {
	text-align: right;
}

.edit-categories-button-row button,
.edit-facilities-button-row button {
	padding: 8px 16px;
	box-sizing: border-box;
}

@media (max-width: 768px) {

	.edit-categories-fields-row,
	.edit-facilities-fields-row {
		flex-direction: column;
	}

	.edit-categories-field,
	.edit-facilities-field {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.edit-categories-field:last-child,
	.edit-facilities-field:last-child {
		margin-bottom: 0;
	}
}

.custom-marker {
	cursor: pointer;
}

.hidden {
	display: none;
}

.form-destination {
	flex: 1 1 100%;
	display: flex;
	flex-direction: column;
}

@media (max-width: 600px) {
	.form-group {
		max-width: 45%;
	}

	input[type="date"] {
		width: 100%;
		box-sizing: border-box;
	}
}

/* **** email ***** */

.email-booking {
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #333;
	line-height: 1.5;
}

.email-booking h2 {
	font-size: 18px;
	color: #4b91f1;
	margin-bottom: 10px;
}

.email-booking h3 {
	font-size: 16px;
	color: #4b91f1;
	margin-bottom: 8px;
}

.email-booking p {
	margin: 5px 0;
}

.email-booking a {
	color: #4b91f1;
	text-decoration: none;
}

.email-booking a:hover {
	text-decoration: underline;
}

.email-booking .booking-details,
.email-booking .billing-details {
	border: 1px solid #ddd;
	padding: 10px;
	margin-top: 20px;
}

.email-booking .booking-details h2,
.email-booking .billing-details h2 {
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
	margin-bottom: 10px;
}

/* **** email ***** */