/*
    Random Events v2.0
    by Andrew Kaser & Tom Lambert
*/
.jre_widget {
	width: 100%;
	position: relative;
	text-align: center;
	margin: 0;
	background-color: #f9f9f9
}

.jre_container {
	max-width: 600px;
	width: 90%;
	position: fixed;
	text-align: center;
	margin: 0;
	z-index: 9000;
	background-color: #f9f9f9;
	box-shadow: 0px 0px 10px 0px #444444
}
.jre_title {
	font-size: 20px;
	color: #f9f9f9;
	background-color: #ce2f2e;
	padding: 15px 20px 14px 10px;
	margin: 0;
	text-align: left
}
.jre_image {
	margin: 0px 15px 15px 0
}
.jre_description {
	font-size: 18px;
	color: #000000;
	margin: 0;
	text-align: center;
	padding: 0
}

.jre_cta:link,
.jre_cta:visited
{
	color: #0000ff;
	text-decoration: underline;
	text-align: center;
	display: block;
	margin: 0;
	font-size: 15px;
	font-weight: bold;
	padding-right: 15px
}
.jre_cta:hover, .jre_cta:active { }

/* Modal Styles */
.jre_modal {
		top: 25%;
		margin: 0;
	}
@media (min-width: 600px)
{
	.jre_modal {
		top: calc( 50% - 60px );
		left: calc( 50% - 300px );
		margin: 0;
	}
	.jre_modal_description { 
		max-width:340px;
	}
}

.jre_modal_overlay {
	background-color: #000000;
	opacity: 0.6;
	z-index: 9998;
	margin: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0
}

.jre_modal_container {
	width: 100%;
	max-width: 600px;
	position: fixed;
	text-align: center;
	margin: 0;
	z-index: 9999;
	background-color: #f9f9f9;
	box-shadow: 0px 0px 10px 0px #444444
}

.jre_modal_title {
	font-size: 20px;
	color: #f9f9f9;
	margin: 0;
	background-color: #ce2f2e;
	padding: 20px 20px 20px 10px;
	text-align: left
}

.jre_modal_title span {
	text-align: right;
	margin: 0;
	float: right
}

.jre_modal_container img {
    padding: 10px;
}

.jre_modal_image {
	float: left;
	margin: 0;
	margin: -40px 15px 15px 15px
}

.jre_modal_description {
	float: left;
	font-size: 18px;
	margin: 0;
	color: #000000;
	width: 100%;
	text-align: center;
	padding: 30px 0 30px 30px;
}

.jre_modal_cta:link, .jre_modal_cta:visited {
	color: #0000ff;
	text-decoration: underline;
	text-align: center;
	margin: 0;
	display: block;
	font-size: 15px;
	padding-top: 30px;
	font-weight: bold
}
.jre_modal_cta:hover, .jre_modal_cta:active { }
.jre_close_modal {
	cursor: pointer;
	margin: 0;
	text-decoration: underline
}

/* pop up positions */
.jre_top_left { top: 0; left: 0 }
.jre_top_center {
	top:0px;
	left: 50%;
	margin-left: -250px
}
.jre_top_right { top: 0px; right: 0px }
.jre_bottom_left { bottom: 0px; left: 0px }
.jre_bottom_center {
	bottom: 0px;
	left: 50%;
	margin-left: -250px
}
.jre_bottom_right { bottom: 0px; right: 0px }
.jre_widget_container { display: none }