.date-box {
	width: 13.68%;
	float: left;
	height: 100px;
	background-color: #f0f0f0;
	margin: 5px 0.3%;
    border: 3px solid #f4f4f4;
}

.date-box-title {
    padding: 2px;
    text-align: center;
}

.date-box-text {
	text-align: center;
	padding: 5px 0px;
} 
.time-box .date-box-title {
	padding: 5px;
}
.time-box .date-box-title, .time-box .date-box-text {
	width: 50%;
	float: left;
}
#courtbooking-timesoutput {
	width: 33%;
	float: left;
    padding: 0px 10px;
}
#courtbooking-courtoutput {
	width: 66%;
	float: left;
    padding: 0px 10px;
}
.time-box {
	margin-bottom: 5px;
	border: 3px solid #f4f4f4;
}
.greengrad {
	background-color: #76A73F !important;
	/*background-image: linear-gradient(30deg, #62a143, #81ac2f);*/
	color: #fff;
}

.lightorange {
	background-color: #d69128 !important;
	background-image: linear-gradient(30deg, #d69128, #feb645);
	color: #fff;
}
.greygrad {
	background-color: #cccccc !important;
	background-image: linear-gradient(30deg, #cccccc, #cccccc);
	color: #fff;
}

.redgrad {
	background-color: #f16f5c !important;
	background-image: linear-gradient(30deg, #f16f5c, #e73827);
	color: #fff;
}

.courtSelected {
    border: 3px solid #000;
}

.courtbox {
	width: 23%;
	float: left;
    margin: 0px 1%;
}
.courtwrap {
	background-color: #ccc;
    padding: 25px 15px;
    color: #fff;
}

.courtbox-image, .courtbox-name {
	text-align: center;
}
.courtbox-name {
	padding: 5px 0px;
}

.booking-players-wrap label {
	padding: 5px 10px;
}

#court-booking-wrapper {
	margin-bottom: 400px;
}

.hide-courtbutton {
	display: none !important;
}

#courtbooking-other .finput {
	width: 50%;
}

.helptext {
	margin-top: 10px;
}


.areyousure-show {
	display: block;
}
.areyousure {
	display: none;
}
.booked-item {
	width: 100%;
	background-color: #f0f0f0;
	padding: 8px 20px;
	margin-bottom: 5px;
}
.booked-row{
	width: 25%;
	float: left;
}
.booked-button {
	margin-bottom: -8px;
    margin-top: -5px;
    text-align: right;
}
.areyousure form {
	float: right;
}
.areyousure input[type="submit"] {
    padding: 7px 30px 8px 30px;
    margin: 0;
    border-radius: 0;
}

.displayjunior {
    width: 100%;
    clear: both;
    padding: 5px 10px;
    background-color: #7eab31;
}
.greygrad .displayjunior {
	background: none;
}
.juniorinfobox {
	padding: 5px 10px;
}

@media (max-width: 940px) {

	.date-box {
		width: 49%;
		height: 75px;
	}

	#courtbooking-timesoutput, #courtbooking-courtoutput, #courtbooking-other {
		width: 100%;
	}

}
@media (max-width: 500px) {

	.date-box {
		width: 100%;
		height: 35px;
	}
	.date-box-title, .date-box-text {
	    width: 50%;
	    float: left;
	} 
	.date-box-text {
		font-size: 12px;
	}
	#courtbooking-other .finput	{
		width: 100%;
	}
	.booked-row {
		width: 100%;
	}
}