@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600);	
@import url(http://fonts.googleapis.com/css?family=Raleway);


* {
	padding: 0;
	margin: 0;
}


body {
	background-color: white;
	font-family: open sans;
	font-size: 18px;
	color: #262626;
	-webkit-overflow-scrolling: touch;
}

#Content {
	display: block;
	overflow: hidden;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	margin-bottom: 20px;
}

h2 {
	font-family: Raleway;
}

.header {
	display: block;
	font-size: 1em;
	padding: 10px;
	font-family: Raleway;
	color: #262626;
}



#leftbar {
	width: 100%;
	height: auto;
	margin-bottom: 20px;

}

#rightbar {
	width: 100%;
}

#eventslist{
	width: 95%;
	overflow: hidden;
	margin: auto;
	margin-bottom: 10px;
}

#eventslist #event{
	position: relative;
	height: 100px;
	width: 100%;
	background-color: #ffffff;
	margin-top: 10px;
	margin-bottom: 10px;
	overflow: hidden;

}
#event_border {
	border-top-style: solid;
	border-color: #dcdcdc;
	border-width: 1px;
}

#desc_font {
	display: none;
	font-size: 12px;
	overflow: hidden;
	height: 30px;
	line-height: 15px;
	width: 95%;
	margin: 10px;
}

#event img{
	width: auto;
	height: 100%;
	overflow: hidden;
	border-style: none;
	position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

#event #thumbnail {
	width: 125px;
	height: 100%;
	position: relative;
	float: left;
	overflow: hidden;
	border-radius: 2px;
}

#desc {
	overflow: hidden;
	padding: 5px;
	padding-left: 10px;
	font-size: .6em;
}
#bot_desc{
	position: absolute;
	width: 100%;
	bottom: 5px;
}

#recommended_events {
	height: 270px;
	padding-right: 15px;
	white-space: nowrap;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

#recommended_events #event {
	display: inline-block;
	height: 240px;
	width: 140px;
	margin-left: 5px;
	margin-right: 5px;
	background-color: #ffffff;
	overflow: hidden;
}

#recommended_events #desc {
	font-size: 10px;
	height: 45%;
	width: 100%;
	padding-left: 0;
	white-space: pre-wrap;
	overflow: hidden;
}


#recommended_events #event #thumbnail {
	height: 55%;
	width: 100%;
	display: block;
	overflow: hidden;
	border-style: none;
}

#post_event_btn {
	border-style: none;
	width: 90%;
	color: white;
	border: 1px solid #3079ed;
	margin: auto;
	margin-bottom: 10px;
	border-radius: 3px;
	line-height: 50px;
	font-size: 18px;
	font-family: Raleway;
	display: block;
 /* For browsers that do not support gradients */
    background-color: #4d90fe;
    background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
    background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
    background-image: -ms-linear-gradient(top,#4d90fe,#4787ed);
    background-image: -o-linear-gradient(top,#4d90fe,#4787ed);
    background-image: linear-gradient(top,#4d90fe,#4787ed);

}
#post_event_btn:hover {
	cursor: pointer;
	-webkit-box-shadow: inset 0px -12px 0px -10px rgba(3,71,107,1);
	-moz-box-shadow: inset 0px -12px 0px -10px rgba(3,71,107,1);
	box-shadow: inset 0px -12px 0px -10px rgba(3,71,107,1);
}
#post_event_btn:active {
	cursor: pointer;
	-webkit-box-shadow: inset 0px -12px 0px -10px rgba(3,71,107,1);
	-moz-box-shadow: inset 0px -12px 0px -10px rgba(3,71,107,1);
	box-shadow: inset 0px -12px 0px -10px rgba(3,71,107,1);
}


#event a  {
	text-decoration: none;
	color: black;
}
/*#event a:hover h2 {
	color: #ffee00;
}*/
/*inbetween*/
@media only screen and (min-width: 500px){
	#desc_font {
		display: block;

	}
}

/*tablet*/
@media only screen and (min-width: 600px){
	#featured_events{
		float: left;
		width: 70%;
	}

	#leftbar{
		float: left;
		width: 70%;
		min-height: 625px;
	}

	#rightbar{
		float: left;
		width: 100%;
	}

	
	#eventslist #event{
		height: 125px;
	}
	#eventslist #thumbnail{
		width: 175px;
	}
}

/*desktops*/
@media only screen and (min-width: 800px){
	.header{
		padding-left: 15px;
	}
	#leftbar{
		display: block;
	}

	#rightbar{
		display: inline-block;
		float: none;
		width: 30%;
	}
	#eventslist {
		width: 95%;
	}

	#desc{
		font-size: .8em;
	}

	#recommended_events {
		width: 90%;
		height: auto;
		white-space: nowrap;
		overflow: hidden;
		margin: auto;
		padding: 0;
	}

	#recommended_events #event {
		display: block;
		height: 75px;
		width: 100%;
		margin: auto;
		margin-bottom: 20px;
	}

	#recommended_events #desc {
		font-size: 10px;
		height: 75px;
		width: auto;
		padding-left: 10px;
		overflow: hidden;
	}

	#recommended_events #event #thumbnail {
		height: 75px;
		width: 75px;
		display: inline-block;
	}
}