#slideshow_holder,
#h_407 {
	height: 407px;	
}
.overlay_pattern {
	position: absolute;
    left: 0;
    top: 0;
    width: 1404px;
    height: 407px;
    background-image: url(../_img/home/slides/overlay.png);
    z-index: 200;
}
header {
	display: none;	
}

#text_anim_holder {
	width: 860px;
	height : 187px;
	margin: 0 auto;	
	position: relative;
	top: -220px;
	z-index: 200;	
}
#text_anim {
	width: 330px;
	font-size: 13px;
	line-height: 21px;
	color: #000;
	font-weight: 400;
}
#text_anim p {
	width: 330px;
	margin-bottom: 20px;	
}
#text_anim p.more {
	margin-bottom: 0;	
	display: block;
	width: auto;
}
#text_anim p.more a {
	border: none;
	background: #366685;
	color: #fff;
	text-decoration: none;
	padding: 5px 12px;
	border-radius: 2px;
	transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
	cursor: pointer;
}


/* pager */
.cycle-pager {
	text-align: right;
}
.cycle-pager span {
	display: inline-block;	
	background: #fff;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 16px;
	cursor: pointer;
	margin-left: 6px;
	transition: background-color 0.5s ease-in-out;
}
.cycle-pager span.cycle-pager-active  {
	background: #366685;
}



/* upcoming_and_filters */
#upcoming_and_filters {
	margin: 0 auto;
	width: 860px;	
	height: 205px;
}

/* home page tweaks for Upcoming Show widget */
.home .upcoming_widget {
	width: 624px;	/* (3 x 192px widths) + (2 x 16px margins) */
	float: left;
	margin-left: 0;
}
.home .upcoming_widget .row {
	width: 624px
}
.home .upcoming_widget .brand {
	margin-right: 16px;
}
.home .upcoming_widget #next {
	left: 620px;
}
.home h2.upcoming_heading {
	padding-top: 30px;
}
#upcoming_and_filters #filters {
	display: inline-block;
	float: left;	
	width: 200px;
	margin-left: 36px;
	text-align: right;
	opacity: 0;
 	transition: opacity 1s ease-in;
	margin-top: 56px;
}
#upcoming_and_filters #filters.load {
	opacity: 1;
}
#upcoming_and_filters #filters form {
	display: block;
	margin-bottom : 8px;	
}
#upcoming_and_filters #filters p.button {
	padding-top: 12px; 	
}

#upcoming_and_filters #filters p.button a {
	font-size: 13px;
	font-weight: 400;	
}

/* other widgets */
.wide_outer_simple + .container {
	margin-top: 40px;
}
.home_panel {
	width: 276px; /* equal sizes */
	float: left;
	margin-right: 16px;	
	font-size: 13px;
	line-height: 18px;
}
.home_panel:last-of-type {
	margin-right: 0;	
}

/* odd sizes
#news_widget {
	width: 428px;
}
.home_panel {
	width: 200px;
}
 */


.home_panel h3 {
	background: #4d84ba;
	color: #fff;
	line-height: 30px;
	padding: 0 15px;
	border-bottom: 10px solid #fff;
	font-weight: 600;
}
.home_panel img {
	max-width: 100%;
	height: auto;
}
.home_panel a {
	text-decoration: none;
}
.home_panel a:hover {
	text-decoration: underline;
}
.home_panel h4 {
	background: #e7e7e8;
	font-weight: normal;
	font-size: 13px;
	color: #555;
	line-height: 18px;
	padding: 0 15px;
	margin-bottom: 5px;
}
.home_panel p.more {
	padding-top: 12px !important;

}
.home_panel p.more a {
	font-style: normal !important;
	color: #444;
	font-weight: 600;
}

/* Just for vacancies */
.home_panel#job_vacancies_widget p {
	padding: 0px 10px 5px 15px;
}
.home_panel#job_vacancies_widget p a {
	color: #444;
}
.home_panel#job_vacancies_widget p a:hover {
	color: #0e76bc;
}


/* Just for news */
.home_panel#news_widget p {
	padding: 5px 10px 5px 15px;
	border-top: 1px solid #d2d2d2;
	color: #444;
}
.home_panel#news_widget p a {
	color: #444;
}
.home_panel#news_widget p a:hover {
	color: #0e76bc;
}
.home_panel#news_widget p:first-of-type {
	padding-top: 0;	
}
.home_panel#news_widget p:first-of-type,
.home_panel#news_widget p:last-of-type {
	border-top: none;
}





@media (max-width: 960px) {
	#slideshow_holder,
	#h_407 {
		height: auto;	
	}

	header {
		display: block;	
	}
	
	.wide_outer {
		position: static;	
		overflow: auto;
		padding-top: 0;
	}
	.wide_outer .balance {
		position: relative;
		margin: 0 auto;
		width: 100%;
	}
	.wide_outer .inner {
		position: relative;
		top: 0px;
		width: 100%;
		left: 0px;
	}
	
	#photos_anim img {
		max-width: 100%;
		height: auto;	
	}
	.overlay_pattern,
	.cycle-pager {
		display: none;
	}
	#text_anim_holder {
		width: auto;
		height : auto;
		margin:  20px;	
		position: relative;
		top: 0px;
		z-index: 200;	
	}
	#text_anim,
	#text_anim p {
		width: auto;	
		font-size: 15px;
		line-height: 23px;
	}
	
	#text_anim section {
		width: 100%;	
	}
	#text_anim p {
		padding-right: 10px;
		margin-bottom: 5px;
	}
	#text_anim p.more {
		margin-bottom: 0;
	}
	#text_anim p.more a {
		padding: 0;
		color: #4d84ba;
		background: none;
	}
	
	/* upcoming */
	.wide_outer_simple.widget_BG {
		background-image: none;
	}

	.home h2.upcoming_heading {
		margin: 0 20px;
		padding-top: 20px;
		border-top: 1px solid #888;
		width: auto;
		display: block;
	}
	.home .upcoming_widget #next,
	.home .upcoming_widget #prev {
		display: none;
	}
	#upcoming_and_filters {
		display: block;
		width: auto;
		height: auto;
		margin: 0 20px;
	}
	
	#upcoming_and_filters #filters {
		display: block;
		float: none;
		width: auto;
		margin-left: 0;
		text-align: left;
		opacity: 1;
		transition: none;
		margin-top: 20px;
		margin-bottom: 40px;
	}
	#upcoming_and_filters #filters p.button a {
		font-weight: 700;	
	}

	.home .upcoming_widget {
		display: block;
		width: auto;
		height: auto;
		float: none;
	}
	.home .upcoming_widget .row {
   	 	width: auto;
		display: none;
	}
	.home .upcoming_widget .row:first-of-type {
		display: block;	
	}
	.home .upcoming_widget .brand {
		margin-right: 16px;
		margin-bottom: 16px;
		float: none;
	}
	#upcoming_and_filters #filters form {
		display: none;	
	}	
	.upcoming_widget .brand {
		width: 100%;
		max-width: 300px;
		transition: none;
	}
	.upcoming_widget .brand .description {
		width: 100%;
		height:auto;
		font-size: 4vw; 
		line-height: normal;
		transition: none;
	}
	
	.upcoming_widget .brand .description p.date_and_location {
		padding-top: 20px;
	}
	.upcoming_widget .brand.active .logo {
		background: #4d84ba;
	}
	
	.upcoming_widget .brand .logo img {
		width: 100%;
		height: auto;
		
	}
	.upcoming_widget .brand.active .logo img {
		background: #4d84ba;
		display: block;
		opacity: 0;
	}
	.upcoming_widget .brand .secondary {
		box-sizing: border-box;
		font-size: 14px;
		font-size: 4vw; 
		line-height: normal;
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
		width: 100%;
	}


	/* other widgets */
	.wide_outer_simple + .container {
		margin-top: 10px;
		clear: both;
	
	}
	.home_panel {
		width: auto;
		float: none;
		margin-right: 0;
		font-size: 13px;
		line-height: 18px;
		padding-bottom: 20px;
	}
	.home_panel:last-of-type {
		margin-right: 0;	
	}

}

/* make sure font size doesn't get too big on larger layouts */
@media screen and (min-width:400px) and (max-width: 959px) {
	.upcoming_widget .brand .description,
	.upcoming_widget .brand .secondary  {
		font-size: 16px;
	}
}