/* Event Listings */

.event-listings-title {
    margin: 20px 0 !important;
}

.event-listings {
	margin: -10px;
	color: #333;
	overflow: hidden;
}

.event-listing {
	overflow: hidden;
	box-sizing: border-box;
	padding: 10px;
}

.event-listing-wrapper {
    box-shadow: 0 0 5px #999;
    background-color: #fff;
}

.event-listing-content {
    padding: 10px;
}

.event-listing-title {
	font-weight: bold;
	margin: 0;
	height: 32px;
    line-height: 16px;
    margin: 0 0 10px 0;
}

.event-listing-excerpt {
    height: 52px;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 13px;
    font-size: 11px;
    margin: 0 0 10px 0;
    
    -webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.event-listing-cost {
	color: #358d36;
    font-size: 14px;
	line-height: 20px;
	font-weight: bold;
}

.event-listing .wp-post-image {
	width: 100%;
    display: block;
}

/* Other Event CSS */

.event-category-description {
	margin: 30px 0 20px 0;
	padding: 0 0 20px 0;
	border-bottom: 1px solid #ccc;
}

.event-category-description p {
	color: #333;
}

.event-booking {
	background-color: #fafafa;
	padding: 20px;
	margin: 0 0 30px 0;
}

.event-booking p {
	color: #333;
}

.event-cost {
	color: #358d36 !important;
	margin: 0 0 20px 0;
	line-height: 14px;
	font-weight: bold;
}

.event-cost .price {
	font-size: 14px;
	line-height: 14px;
	font-weight: bold;
}

.event-booking .event-cost {
	text-align: center;
}

.event-booking .event-cost .price {
	font-size: 35px;
	line-height: 35px;
}

.event-booking form label {
	display: block;
	font-weight: bold;
	color: #333;
	line-height: 13px;
	margin: 0 0 5px 0;
}

/*.event-booking form select, .event-booking form input {
	display: block;
	margin: 0 0 15px 0;
	width: 100%;
	-webkit-appearance: none;
	border: 1px solid #ccc;
	background-color: #fff;
	outline: none;
	padding: 10px;
	border-radius: 0;
	box-sizing: border-box;
}*/

.event-booking form .submit {
	display: block;
	background-color: #ee2426;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding: 11px;
	border: none;
	width: 100%;
	font-size: 20px;
	line-height: 20px;
	text-transform: uppercase;
}

.event-booking form .submit:disabled {
	background-color: #ccc;
	color: #eee;
}

@media(min-width: 400px){
	.event-listing {
		float: left;
		width: 50%;
	}
}

@media(min-width: 600px){
	.event-listing {
		width: 33.3333333333%;
	}
}

@media(min-width: 800px){
	.event-listing {
		width: 25%;
	}
}

@media(min-width: 1000px){
	.event-listing {
		width: 20%;
	}
}

.event p, .event ul, .event ol {
	color: #333;
}

.event h3, .event p, .event h2, .event ul, .event ol {
	margin: 20px 0;
}

h2 {
	color: #002c49 !important;
	font-weight: bold !important;
	margin: 0 0 20px 0 !important;
}

.event ul { 
   list-style-type: square !important; 
   list-style-position: inside; 
   list-style: initial;
    margin: 10px 0;
    padding: 0 0 0 40px;
}
.event ol { 
   list-style-type: decimal !important; 
   list-style-position: inside;
   list-style: initial;
    margin: initial;
    padding: 0 0 0 40px;
}
.event ul ul, .event ol ul { 
   list-style-type: square !important; 
   list-style-position: inside; 
   margin-left: 15px;
   
}
.event ol ol, .event ul ol { 
   list-style-type: lower-latin !important; 
   list-style-position: inside; 
   margin-left: 15px; 
}

.qbutton.alt {
	background-color: #eee;
	border-color: #eee;
	color: #002c49;
}

.event-booking-form {
	max-width: 600px;
	color: #333;
}

.event-booking-form p, .event-booking-form label {
	color: #333;
}

.event-booking-form h3 {
	margin-top: 40px;
}

.event-booking-form label {
	display: block;
	margin: 0 0 5px 0;
}

.event-booking-form label.radio {
    display: inline-block;
    margin: 0;
}

.event-booking-form select {
	display: block;
	margin: 0 0 15px 0;
	width: 100%;
	border: 1px solid #ccc;
	background-color: #fff;
	outline: none;
	padding: 10px;
	border-radius: 0;
}

.event-booking-form input[type="text"] {
	display: block;
	width: 100%;
	border: 1px solid #ccc;
	padding: 10px;
	box-sizing: border-box;
}

.event-booking-form input[type="submit"] {
	width: auto;
	margin-top: 30px;
}

.sq-input {
	border: 1px solid #ccc;
	outline-offset: -2px;
	margin-bottom: 5px;
}

.sq-input--focus {
	/* Indicates how form inputs should appear when they have focus */
	outline: 5px auto rgb(59, 153, 252);
}

.sq-input--error {
	/* Indicates how form inputs should appear when they contain invalid values */
	outline: 5px auto rgb(255, 97, 97);
}

body {
	font-family: Helvetica;
	font-size: 14px;
	margin: 0;
	padding: 0;
}

.form {
	width: 300px;
}

ul.event-gallery, .event-gallery li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
	overflow: hidden;
}

ul.event-gallery {
    margin: -5px -5px 15px -5px;
}

.event-gallery li {
	float: left;
	width: 25%;
	box-sizing: border-box;
	padding: 5px;
}

.event-gallery li:first-child {
	width: 50%;
}

.event-gallery2 li:nth-child(2) {
	width: 50%;
}

.event-gallery1 li:first-child {
	margin: 0 auto;
    float: none;
}

.event-gallery li a, .event-gallery li img {
	display: block;
}

.event-gallery li img {
	width: 100%;
}

.column-one, .column-two, .column-three {
    width: 33.333333333%;
    float: left;
    box-sizing: border-box;
}

.column-one {
    padding: 0 13.333333px 0 0;
}

.column-two {
    padding: 0 6.6666666666666666666666666666667px;
}

.column-three {
    padding: 0 13.333333px 0 0;
}

.floating-action {
    position: absolute;
    bottom: -46px;
    right: 0;
    background-color: #ee2426;
    border-radius: 0 0 5px 5px;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.floating-action:hover {
    color: #fff;
}

.credit-card {
    background-color: #002c49;
    padding: 20px;
    color: #fff;
    font-weight: bold;
    margin: 30px -20px;
    border: 1px solid #d6e9c6;
}

.credit-card p, .credit-card label, .credit-card h2 {
    color: #fff !important;
}

/* Backup Colour: #8d2232 - #ee2426 */

.cleanlogin-container {
	margin: 0 0 25px 0 !important;
}

.form_submit_overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 999999999999999;
}

.form_submit_overlay_inner, .form_submit_overlay_message {
    width: 500px;
    height: 300px;
    position: absolute;
}

.form_submit_overlay_inner {
    right: 50%;
    bottom: 50%;
}

.form_submit_overlay_message {
    left: 50%;
    top: 50%;
    text-align: center;
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.form_submit_overlay_message * {
    font: inherit;
    color: inherit;
}

.enquiry_button {
	display: block;
    background-color: #002c49;
	color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 11px;
    border: none;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
}

.enquiry_button:hover {
	color: #fff;
}

.event_content ul {
	margin: 15px 0;
	list-style-type: square !important;
	padding: 0 0 0 25px;
}

.radio_list label {
	
}

form .show_booking_disabled {
	display: none;
}

form.booking_disabled .show_booking_disabled {
	display: block;
}

form.booking_disabled .show_booking_enabled {
	display: none;
}