.event-search {

	background-color: #143A84;
	color: white;
	padding: 1em;
	margin-top: 20px;
	font-size: 12px;

}

.event-search h3 {

	margin-top: 0em;
	margin-bottom: 0em;

}

.event-search input {

	width: 100%;

}

.event-search select, .event-search input {

	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding: 0.5em;
	color: black;
	background-color: #f3f3f3;
	height: 30px;

}

.event-search form {

	position: relative;

}

.event-search input[type=text] {

	display: inline-block;
	width: 100%;
	padding-right: 40px;
	

}

.event-search input[type=submit] {

	width: 35px;
	height: 30px;
	background-color: #0083BF;
	background-image: url('../img/searchboxbg.jpg');
	background-size: 100% 100%;
	border: 1px solid #bebebe;
	color: transparent;
	position: absolute;
	right: 0;
	top: 0;

}

.event-search select {

	-webkit-appearance: none;
	border: 1px solid #bebebe;
	border-radius: 0px;
	background-image: url('../img/select-arrow.jpg');
	background-repeat:  no-repeat;
	background-position: right;
	background-color: #f3f3f3;
	background-size: auto 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ie-appearance: none;
	appearance: none;
	outline: none;

}

.event-search select::-ms-expand {

	display: none;

}

.next-event {

	margin-top: 20px;

}

.next-event .event {

	display: inline-block;
	width: 230px;
	margin-left: auto;
	margin-right: 0;
	float: right;

}

.next-event .event > * {

	width: 100%;
	background-color: #dddddd;
	padding: 0.25em;
	padding-left: 1em;
	font-size: 14px;

}

.next-event .event .name {

	font-weight: bolder;
	padding-top: 1em;

}

.next-event .event .time {

	padding-bottom: 1em;

}

.event  .time img {

	width: 11px;
	height: 11px;
	margin-right: 8px;

}

.event .location img {

	width: 11px;
	height: 11px;
	margin-right: 8px;

}

.next-event .event .more-info {

	background-color: #0083BF;
	color: white;
	text-align: right;
	padding-right: 1em;

}

.next-event .event .month {

	background-color: #555555;
	color: white;
	text-align: center;
	padding: 0.5em;

}

.next-event .event .days {

	background-color: #f0efff;
	color: black;
	padding: 1em;
	text-align: center;
	font-size: 44px;

}

.next-event {

	position: relative;

}

.next-event .event {

	margin-top: 0;

}

.next-event .next-header {

	position: absolute;
	top: 0;
	left: 0;
	background-color: #e1261c;
	color: white;
	padding: 1em;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	height: 40px;

}

.event {

	margin-top: 20px;

}

.event .date {

	display: inline-block;
	width: 40%;
	height: 100%;
	vertical-align: top;
	text-align: center;

}

.event .date .month {

	display: block;
	width: 100%;
	background-color: #555555;
	color: white;
	height: 35px;
	text-align: center;

}

.event .date .days {

	display: block;
	font-size: 44px;
	/**padding: 1em;**/
	background-color: #f0efff;

}

.event .details {

	display: inline-block;
	width: 60%;
	height: 100%;
	vertical-align: top;
	background-color: #dddddd;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 5px;

}

.event .details h2 {

	font-size: 16px;
	font-weight: bold;
	margin-top: 5px;

}

a .event {

	color: black;
	text-decoration: none;

}

.event .details span {

	display:block;
	font-size: 14px;
	height: 21px;
	overflow: hidden;

}

.event .more-info {

	display: block;
	width: 100%;
	height: 30px;
	background-color: #0083BF;
	color: white;
	text-align: right;
	font-size: 14px;
	padding-right: 1em;
	
}

.image-info .title {

	line-height: 26px;
	margin-bottom: 6px;
	margin-top: 5px;

}

nav.sidenav {

	margin-top: 20px;

}

.event-container:nth-of-type(2n) {

	padding-right: 0;

}

.event:hover {

	cursor: pointer;

}

.event:hover .details, .event:hover .name, .event:hover .location, .event:hover .time {

	background-color: #f0efff;

}

.event:hover .days {

	background-color: #dddddd;

}

div.event-row:last-of-type {

	border-bottom: 1px solid #e1261c;
	padding-bottom: 1em;
	margin-bottom: 1em;
	

}
