.user-events-page {
	padding: 10px;
}
.user-events-page .no-events-div {
	margin: 30px 0;
	font-size: 1.2em;
}
.user-events-page .email-form {
	margin: auto;
	width: 450px;
	margin-top: 20px;
	margin-botom: 20px;
}
.user-events-page .email-form .title {
	font-size: 2em;
	line-height: 2em;
	margin-bottom: 20px;
}
.user-events-page .email-form label , 
.user-events-page .email-form input[type='email'],
.user-events-page .email-form input[type='submit'] {
	display: block;
}
.user-events-page .email-form label {
	display: block;
	font-size: 1.2em;
	margin-bottom: 10px;
}
.user-events-page .email-form input[type='email'],
.user-events-page .email-form input[type='submit'] {
	width: 300px;
	border: 1px solid #cccccc;
	border-radius: 3px;
	box-sizing: border-box;
	margin-bottom: 10px;
}
.user-events-page .email-form input[type='email'] {
	padding: 6px 12px;
}
.user-events-page .email-form input[type='submit'] {
	font-size: 1.1em;
	height: 30px;
}
.user-events-page .email-form input[type='submit']:hover {
	border: 1px solid #999999;
}
.user-events-page .email-form .errors,
.user-events-page .email-form .messages  {
	margin: 10px 0;
	font-size: 1.1em;
}
.user-events-page .email-form .errors {
	color: #aa0000;
}
.user-events-page .email-form .messages {
	color: #6fb53c;
}

/*------- Bookings list ---------*/

.user-events-page h3 {
	font-size: 2.5em;
	line-height: 2em;
}
.user-events-page .top-buttons {
	float: right;
}
.user-events-page .top-buttons a {
	display: inline-block;
	color: #555555;
	cursor: pointer;
	text-decoration: none;
	font-size: 1.2em;
	opacity: 0.7;
}
.user-events-page .top-buttons a:hover,
.user-events-page .top-buttons a.active {
	text-decoration: underline;
	opacity: 1;
}
.user-events-page ul.bookings {
	list-style-type: none;
	outline: 0 none;
	margin: 10px;
	padding: 0;
}
.user-events-page .bookings  > li {
	padding: 10px 0 10px 10px;	
	cursor: pointer;
}
.user-events-page .bookings  > li.inactive {
	opacity: 0.5;
	background: #f0f0f0;
}
.user-events-page .bookings  > li:hover {
	background: #fafafa;
}
.user-events-page .bookings  > li.non-upcoming {
	display: none;
}	
.user-events-page .bookings.show-all  > li.non-upcoming {
	display: block;
}
.user-events-page .bookings  > li .dateblock,
.user-events-page .bookings  > li .service-details,
.user-events-page .bookings  > li .actions {
	display: inline-block;
	vertical-align: top;
}
.user-events-page .bookings > li .service-details {
	width: 500px;
	margin: 0 20px;
}
.user-events-page .bookings  > li .actions {
	
}
.user-events-page .bookings  > li .dateblock {
	padding: 8px;
	color: #ffffff;
	display: inline-block;
}
.user-events-page .bookings  > li .dateblock .date {
	font-size: 2.8em;	
	line-height: 1.2em;	
}
.user-events-page .bookings  > li .dateblock .month {
	text-align: center;
	font-weight: bold;
}
.user-events-page .bookings  > li .dateblock .mobile-time {
	display: none;
}
.user-events-page .bookings  > li .service-details .time {
	font-size: 1.5em;
}
.user-events-page .bookings  > li .service-details .name {
	font-size: 1.5em;
	color: #777777;
	margin: 7px 0;
}
.user-events-page .bookings  > li .service-details .name .pending-remark,
.user-events-page .bookings  > li .service-details .name .inactive-remark {
	display: none;
	font-size: 12px;
	margin-left: 10px;
	position: relative;
	top: -2px;
}
.user-events-page .bookings  > li.pending .service-details .name .pending-remark {
	display: inline-block;
	color: #555555;
}
.user-events-page .bookings  > li.inactive .service-details .name .inactive-remark {
	display: inline-block;
	color: #dd0000;
}
.user-events-page .bookings  > li.inactive .buttons {
	display: none;
}
.user-events-page .bookings  > li.inactive .actions .cancel-action {
	display: none;
}
.user-events-page .bookings  > li .service-details .performer {
	color: #777777;
}
.user-events-page .bookings  > li .service-details .details-action-mobile {
	display: none;
}
.user-events-page .bookings >  li .actions {}
.user-events-page .bookings  > li .actions a {
	display: block;
	margin-bottom: 10px;
	padding: 10px;
	box-sizing: border-box;
	opacity: 0.6;
}
.user-events-page .bookings  > li .actions a:hover {
	opacity: 1;
}
.user-events-page .bookings  > li .actions a .glyphicon {
	font-size: 18px;
}
.user-events-page .bookings  > li .actions .details-action .glyphicon {
	color: #777777;
}
.user-events-page .bookings  > li .actions .cancel-action .glyphicon {
	color: red;
}
.user-events-page .bookings  > li .details {
	display: none;
}
.user-events-page .bookings  > li .details.active {
	display: block;
}
.user-events-page .bookings  > li .details.booking-result .details.active { 
	display: inline-block;
}
.user-events-page .bookings  > li .details.booking-result {
	padding: 0;
	margin-top: 10px;
	padding-top: 15px;
	border-top: 1px solid #cccccc;
}
.user-events-page .bookings  > li .booking-result .booking-info {
	margin: 0;
}
.user-events-page .bookings  > li .details.booking-result .see-all-events {
	display: none;
}

/*------- Fixes for Mobiles -----------*/

@media (max-width: 380px) {
	.user-events-page ul.bookings {
		margin: 0;
		width: 100%;
		box-sizing: border-box;
	}
	.user-events-page .bookings > li {
		padding: 0;
		position: relative;
		margin: 5px 0;
		border-bottom: 10px solid #f0f0f0;
	}
	.user-events-page .bookings >  li .dateblock .month {
		font-size: 1.3em;
	}
	.user-events-page .bookings >  li .dateblock .mobile-time {
		font-size: 1.8em;
	}
	.user-events-page .bookings >  li .dateblock {
	}
	.user-events-page .bookings  > li .service-details {
		width: 255px;
		box-sizing: border-box;
		margin: 0;
		margin-left: 10px;
	}
	.user-events-page .bookings  > li .actions .details-action  {
		display: none;
	}
	.user-events-page .bookings  > li .actions .cancel-action  {
		position: absolute;
		top: 0;
		right: 0;
		opacity: 1;
	}
	.user-events-page .bookings  > li .service-details .name {
		font-size: 1.5em;
		color: #777777;
		margin: 7px 0;	
	}
	.user-events-page .bookings  > li .service-details .details-action-mobile {
		display: block;
		text-align: right;
		padding: 7px 0;
		font-size: 1.2em;
		text-decoration: underline;
	}
	.user-events-page .bookings  > li .details.booking-result {
		padding-left: 7px;
	}
	.user-events-page .bookings  > li .details.booking-result .left-block {
		display: none;
	} 
}