/* @override http://birmingham-rep.devspace.net/mmlib/css/birmingham-rep/responsive.css */

/* @group iPad / Smaller Monitor */

/*		Tablet Layout: 768px.
		Outer margins: 36px.
		Gutters: 24px.
		Columns: 36px.
		Inherits styles from: Default Layout.
-------------------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8     9     10      11      12
px      0    60    120    180    132    156    180    240   300    360     420     480  */

@media only screen and (min-width: 768px) and (max-width: 991px) {


/* @group Global */

	#container,
	#header .wrapper,
	#footer .container {
		width: 696px;
		padding: 0 36px;
	}
	
	#unit-logo {
		height: 74px;
		width: 140px;
		margin-bottom: 10px;
	}
	
	#unit-primary-navigation  {
		margin: 0 auto;
		clear: both;
		width: 100%;
	}
	
	#unit-primary-navigation ul {
		width: 100%;
		text-align: left;
	}
	
	#unit-primary-navigation ul li a {
		padding: 2px;
		font-size: 14px;
	}
	
	body.box #unit-primary-navigation.oldrep {
		margin-top: 62px;
	}
	
	#unit-primary-navigation ul li.first {
		margin-left: 0;
	}
	
	#unit-primary-navigation ul li {
		margin-left: 14px;
		margin-right: 0;
	}
	
	#facebook-recommended {
		display: none;
	}

	.full-width-iframe { 
		width: 100%; 
	}

/* @group  Footer  */

#container {
	padding-bottom: 420px;}  /* must be same height as the footer */

#group-footer-links-info div#unit-footer-info {
	width: 720px;
}

#footer {
	margin-top: -420px; /* negative value of footer height */
	height: 420px;
} 


/* @end */

/* @end */

/* @group Homepage */



#group-featured-events {
	margin: 0 0 0 0;
	background: none;
}

#group-featured-events .featured-event {
	width: 100%;
	margin: 0 0 5px 0;
	background-color: #000;
	background-color: rgba(0,0,0,0.85);
	position: relative;
}


#group-featured-events .featured-event a {
	display: block;
}

#group-featured-events .featured-event figure {
	float: left;
	width: 260px;
	margin-right: 10px;
	border-radius: 12px 0 0 12px;
}

#group-featured-events .featured-event .event-info {
	width: 400px;
	float: left;
}

#group-featured-events .featured-event .unit-buttons {
	width: 415px;
	position: absolute;
	bottom: 0;
	right: 0;
}

#all-productions {
	margin: 0px 0 0 0;
}


.template-homepage #tertiary-content #unit-tweet {
	width: 100%;
	float: none;
	clear: left;
	margin-left: 0;
	display: block;
	margin-bottom: 24px;
}

.template-homepage #tertiary-content #unit-tweet #tweet-box {
	height: auto;
}

.template-homepage #tertiary-content #unit-about {
	width: 696px;
	float: none;
	clear: left;
	margin-right: 0;
	margin-bottom: 24px;
	display: block;
	height: auto;
}

.template-homepage #tertiary-content #unit-about a {
	height: auto;
}

#unit-main-event figure {
	width: 100%;
	border-radius: 12px 12px 0 0
}

#unit-main-event .show-info {
	width: 96%;
	padding: 2%;
}

.template-homepage #unit-featured-info,
.template-default-list #unit-featured-info,
.template-default #unit-featured-info {
	float: none;
	margin: 0 0 24px 0;
	width: 100%;
}

.template-homepage #unit-featured-info ul,
.template-default-list #unit-featured-info ul,
.template-default #unit-featured-info ul {
	margin: 0 -3px 0 0;
}

.template-homepage #unit-featured-info li,
.template-default-list #unit-featured-info li,
.template-default #unit-featured-info li {
	margin: 0 3px 3px 0;
	float: left;
}

#group-featured-articles {
	float: none;
	width: 666px;
	min-height: 0;
	margin: 0 0 24px;
}

/* @end */

/* @group Production Detail */

#unit-event-image,
#unit-season-image {
	float: none;
	margin: 0 0 12px 0;
	height: auto;
	width: auto;
}

#unit-event-image img,
#unit-event-image iframe,
#unit-season-image img,
#unit-season-image iframe,
.tab-panel iframe  {
	width: 100%;
	height: 400px;
	display: block;
}

#group-production-header {
	width: 100%;
}

#group-production-header .production-info {
	width: 100%;
	margin-right: 0;
}

.template-production-detail #primary-content {
	float: none;
	margin: 0 0 12px 0;
	width: 100%;
}

.template-production-detail #secondary-content,
.template-production-detail #secondary-content iframe {
	float: none;
	width: 100%;
}

.template-production-detail .unit-gallery ul {
	width: 675px;
}

.template-production-detail .unit-gallery ul li {
	width: 107px;
}

#group-cast-members {
	width: 680px;
	margin-left: -15px;
}

#group-cast-members .thumb{
	margin: 0 0 10px 15px;
}

div.jp-audio,
div.jp-audio ul.jp-controls {
	width: 676px;
}

div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 556px;
}


/* @end */

/* @group What's On List */

.template-whats-on-list #primary-content,
.template-whats-on-list #secondary-content {
	width: 100%;
}

#primary-content .production {
	margin: 0 3px 3px 0;
}

#group-upcoming-production,
#group-archived-production,
#group-season-productions {
	margin-right: 0;
	width: 699px;
}

#archive-filter {
	right: 23px;
}

.template-whats-on-list #unit-calendar .calendar table td a {
	padding: 12px 0;
	font-size: 24px;
}

#event-list-by-day .production {
	margin: 0 0 10px 0;
}

#event-list-by-day .production .production-details {
	width: 385px;
}


/* @end */

/* @group Information */

.template-default-list #primary-content,
.template-default #primary-content,
.template-default-list #secondary-content,
.template-default #secondary-content {
	float: none;
	margin: 0;
	width: 100%;
}

.template-default #primary-content {
	width: 656px;
	margin-bottom: 24px;
}

.template-default-list #primary-content {
	margin-bottom: 24px;
}

.template-default-list #primary-content #unit-content {
	width: 656px;
}

.template-default-list #unit-subnav {
	display: none;
}

.template-default #secondary-content div.jp-audio,
.template-news-detail #secondary-content div.jp-audio {
	width: 675px;
}

.template-default #secondary-content div.jp-audio div.jp-type-playlist div.jp-progress,
.template-news-detail #secondary-content div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 550px;
}

/* @end */

/* @group News */

.template-news-list #primary-content,
.template-news-list #secondary-content,
.template-news-detail #primary-content,
.template-news-detail #secondary-content {
	float: none;
	margin: 0;
	width: 100%;	
}

.template-news-detail #primary-content {
	width: 656px;
	margin-bottom: 24px;
}

#group-news-filter a.selected {
	background-image: url(/mmlib/images/birmingham-rep/arrow-white-touch.png);
}

/* @end */

/* @group Cast Search */

.cast-list #crew-list {
	margin-left: -18px;
}

.cast-list #crew-list li {
	margin: 0 0 10px 18px;
	width: 206px;
	
}

.cast-list #cast-search ul li {
	margin: 0 9px 0 0;
}

/* @end */

/* @group Search Page */

.search-page  #unit-page-search input.text {
	width: 652px;
}


.search-page .collapsible-content {
	width: 656px;
	padding: 10px;
}

.search-page #unit-content .collapsible-content ul {
	margin-left: -4px;
}

.search-page #unit-content .collapsible-content ul.no-thumbnails {
	margin-left: 0;
}

.search-page #unit-content .collapsible-content ul li.project {
	margin: 0 0 12px 4px;
}

/* @end */

/* @group Artifact Sidebar */
aside .related-artifacts li, aside .related-artifacts li.first{
	clear:none;
	margin:10px 21px 0 21px;
}
/* @end */

#the-box {
	position: relative;
	top: 0;
	margin-bottom: 10px;
}

}
/* @end*/

/* @group iPhone Portrait */

/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {

/* @group Global */

#container,
	#header .wrapper,
	#footer .container {
		width: 256px;
		padding: 0 20px;
	}
	
	#unit-account-links li {
		font-size: 12px;
		margin-right: 7px;
	}
	
	#unit-account-links li a{
		margin-right: 8px;
	}
	
	ul#unit-account-actions  {
		margin-top: 20px;
	}
	
	#unit-account-actions a {
		background-image: url(../../images/birmingham-rep/account-icons-invert.png);
		color: #404040;
	}
	
	#unit-account-actions li.basket {
		margin-left: 0;
	}
	
	#unit-primary-navigation  {
		float: none;
		clear: both;
		margin: 18px 0;
		width: 100%;
	}
	
	#unit-primary-navigation ul{
		width: 100%;	
	}
	
	body.box #unit-primary-navigation.oldrep {
		margin-top: 15px;
	}
	
	#unit-primary-navigation ul li {
		margin: 0 0 1px 0;
		float: none;
		width: 100%;
	}
	
	#unit-primary-navigation ul li a {
		display: block;
		text-align: center;
		background-color: #f3f3f3;
		font-size: 14px;
	}
	
	#unit-primary-navigation ul li.selected a {
		background-color: #e00c6b;
		color: #fff;
	}
	
	#unit-primary-navigation ul li.first a {
		-webkit-border-top-left-radius: 6px;
		-webkit-border-top-right-radius: 6px;
		-moz-border-radius-topleft: 6px;
		-moz-border-radius-topright: 6px;
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
	}
	
	#unit-primary-navigation ul li.last a {
		-webkit-border-bottom-left-radius: 6px;
		-webkit-border-bottom-right-radius: 6px;
		-moz-border-radius-bottomleft: 6px;
		-moz-border-radius-bottomright: 6px;
		border-bottom-left-radius: 6px;
		border-bottom-right-radius: 6px;
	}
	
	#unit-logo {
		margin: 0 0 18px 0;
		float: none;
		width: 96px;
		height: 50px;
	}
	
	#unit-search {
		margin: 10px 0;
		float: none;
		clear: both;
	}
	
	#unit-search .text {
		width: 198px;
	}
	
	#facebook-recommended {
		display: none;
	}

/* @group  Footer  */

#footer #group-footer-links-info {
	font-size: 12px;
}

#container {
	padding-bottom: 720px;}  /* must be same height as the footer */

#footer {
	margin-top: -720px; /* negative value of footer height */
	height: auto;
} 

#unit-social {
	width: 100%;
	margin-bottom: 24px;	
}

#unit-mailing-list {
	float: none;
	clear: both;
	width: 100%;
}

#unit-mailing-list input[type="email"] {
	width: 170px;
}

#group-footer-links-info div#unit-footer-info {
	width: auto;
}

#group-footer-links-info div#unit-footer-info ul li {
	float: none;
	width: 100%;
	margin: 0;

}

#group-footer-links-info div {
	width: 100%;
}

#group-footer-logos .sponsor{
	clear: both;
	margin: 0 auto 1em auto;
	float: none;
}

a.by-made {
	
}

/* @end */

/* @end */

/* @group Homepage */

#group-featured-events {
	margin: 0 0 0 0;
	background: none;
}

#group-featured-events .featured-event {
	width: 100%;
	margin: 0 0 5px 0;
	background-color: #000;
	background-color: rgba(0,0,0,0.85);
}

.template-homepage #tertiary-content #unit-about {
	width: 100%;
	float: none;
	clear: left;
	margin-right: 0;
	margin-bottom: 24px;
	display: block;
	height: auto;
}

.template-homepage #tertiary-content #unit-about a {
	height: auto;
}

.template-homepage #tertiary-content #unit-tweet {
	width: 100%;
	float: none;
	clear: left;
	margin-left: 0;
	display: block;
	margin-bottom: 24px;
}

.template-esro #page-content {
	width: 100%;
	background: #fff;
	margin: 25px 0;
	padding: 1em;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
  	box-sizing: border-box;         /* Opera/IE 8+ */
}

#unit-tweet a#twitter-link {
	padding-left: 60px;
	font-size: 16px;
	background-position-x: 30px;
}

.template-homepage #tertiary-content #unit-tweet #tweet-box {
	height: auto;
}

#unit-main-event .show-info {
	width: 96%;
	padding: 2%;
}

#unit-main-event figure {
	border-radius: 12px 12px 0 0;
	width: 100%;
}

#unit-main-event .show-info h2 a{
	font-size: 18px;
	line-height: 1.2em;
}


#unit-main-event h2, 
#unit-main-event .meta-venue, 
#unit-main-event .event-time {
	padding: 0 ;
}

.template-homepage #unit-featured-info {
	float: none;
	margin: 0 0 24px 0;
	width: 100%;
}

#all-productions {
	margin: 0;
}

#all-productions a {
	text-align: center;
}

.template-homepage #unit-featured-info ul,
.template-default-list #unit-featured-info ul {
	margin: 0;
}

.template-homepage #unit-featured-info li,
.template-default-list #unit-featured-info li,
.template-default #unit-featured-info li{
	margin: 0 0 10px 0;
	float: none;
	width: 100%;
	height: 180px;
}



#group-featured-articles {
	float: none;
	margin: 0 0 24px;
	width: 226px;
	min-height: 0;
}

#group-featured-articles article img {
	display: none;
}

#group-featured-articles article h3 {
	font-size: 16px;
}

/* @end */

/* @group What's On List */

.template-whats-on-list #primary-content,
.template-whats-on-list #secondary-content {
	width: 100%;
	float: none;
}

#group-upcoming-production,
#group-archived-production,
#group-season-productions {
	width: 100%;
	margin: 0 0 24px 0;
}

#primary-content .production {
	margin: 0 0 5px 0;
	width: 100%;
	
}

#archive-filter {
	position: relative;
	right: 0;
}

#event-list-by-day .production .production-details {
	width: 256px;
}

#group-close-performances a time {
	width: 206px;
	font-size: 12px;
}

/* @end */



/* @group Production Detail */

#group-production-header h1 {
	font-size: 28px;
}

#unit-event-image,
#unit-season-image {
	float: none;
	margin: 0 0 12px 0;
	height: auto;
	width: auto;
}

#unit-event-image img,
#unit-event-image iframe,
#unit-season-image img,
#unit-season-image iframe,
.tab-panel iframe {
	width: 100%;
	height: 140px;
	display: block;
}

#group-production-header {
	width: 100%;
	margin-bottom: 12px;
}


#group-production-header p.archived {
	background-size: 75%;
	height: 32px;
	margin: 12px 0;
}

#group-production-header .production-info {
	width: 100%;
	margin-right: 0;
}

.template-production-detail #primary-content {
	float: none;
	margin: 0 0 12px 0;
	width: 100%;
}

.template-production-detail #secondary-content {
	float: none;
	width: 100%;
}

#production-tab-panel-container .tab-panel  {
	display: block;
	border-bottom: 1px solid #ccc;
	margin-bottom: 24px;
	padding-bottom: 24px;
}

#production-tab-panel-container #unit-production-galleries {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

#primary-content #production-info-tabs {
	display: none;
}

.template-production-detail .unit-gallery ul {
	width: 231px;
}

.template-production-detail .unit-gallery ul li {
	width: 110px;
}

#group-cast-members {
	width: 256px;
	margin-left: 0;
}

#group-cast-members .thumb{
	margin: 0 0 10px 0;
	width: 226px;
}

div.jp-audio,
div.jp-audio ul.jp-controls {
	width: 235px;
}

div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 115px;
}

/* @end */

/* @group Information */

.template-default-list #primary-content,
.template-default #primary-content {
	float: none;
	margin: 0 0 24px 0;
	width: 100%;
}

.template-default #secondary-content,
.template-default-list #secondary-content {
	width: 100%;
}

.template-default #primary-content {
	width: 236px;
	padding: 10px;
}

.template-default-list #primary-content #unit-content,
.template-default-list #list-content article {
	width: 236px;
	padding: 10px;
}

.template-default-list #unit-subnav {

}

.template-default-list #list-content article .thumb {
	float: none;
	margin-bottom: 10px;
	width: 100%;
}

.template-default-list #list-content article .info {
	margin-left: 0;
	width: 100%;
}

.template-default #secondary-content div.jp-audio,
.template-news-detail #secondary-content div.jp-audio {
	width: 235px;
}

.template-default #secondary-content div.jp-audio div.jp-type-playlist div.jp-progress,
.template-news-detail #secondary-content div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 110px;
}

/* @end */

/* @group News */

.template-news-list #primary-content,
.template-news-list #secondary-content,
.template-news-detail #primary-content,
.template-news-detail #secondary-content {
	float: none;
	margin: 0;
	width: 100%;	
}

.template-news-detail #primary-content {
	width: 226px;
	padding: 15px;
	margin-bottom: 24px;
}

#group-news-list a img {
	float: none;
	margin: 0 0 12px 0;
	width: 100%;
}

.unit-article-info {
	margin: 0;
}

#group-news-filter a.selected {
	background-image: url(/mmlib/images/birmingham-rep/arrow-white-touch.png);
}

/* @end */

/* @group Cast & Crew */

.cast-list #crew-list li {
	width: 236px;
}

.cast-list #cast-search ul {
	width: 100%;
	float: none;
	
}

.cast-list #cast-search ul li {
	width: 20px;
	height: 20px;
	margin: 0 4px;
}

.cast-list #cast-search ul li a {
	display: block;
	width: 20px;
	height: 20px;
}

.cast-list #cast-search form {
	float: none;
	width: 100%;
	margin-bottom: 18px;
}

#cast-search input.search-input {
	width: 194px;
}

#cast-search ul li a {
	text-align: center;
}

#cast-search ul li .selected {
	color: #ffffff;
	border-bottom: none;
	background-color: #e00c6b;
	border-radius:12px;
}


/* @end */



/* @group Search Page */

.search-page  #unit-page-search input.text {
	width: 212px;
}


.search-page .collapsible-content {
	width: 208px;
	padding: 15px;
}

.search-page #unit-content .collapsible-content ul {
	margin-left: -4px;
}

.search-page #unit-content .collapsible-content ul.no-thumbnails {
	margin-left: 0;
}

.search-page #unit-content .collapsible-content ul li.project {
	height: auto;
	margin: 0 0 30px 0;
	float: none;
}

.search-page .collapsible-tab-header {
	display: block;
	float: none;
	margin: 0;
	border: none;
	margin: 0 0 0 0;
}

.search-page .collapsible-tab-header a {
	border-bottom: 0;
	margin-bottom: 5px;
}


/* @end */

#the-box {
	position: relative;
	top: 0;
	margin-bottom: 10px;
}



ul.sponsors-list {
	list-style: none;
	margin: 0;
}

ul.sponsors-list li{
	list-style: none;
	clear: both;
	border-bottom: 1px solid #f3f3f3;
	margin-bottom: 12px;
	padding-bottom: 12px;
}

ul.sponsors-list li .sponsor-logo {
	float: none;
	margin: 0 auto;
	width: 140px;
}

ul.sponsors-list li .sponsor-content {
	margin-left: 0;
}

/* @group Artifact Sidebar */
aside .related-artifacts li, aside .related-artifacts li.first{
		clear:none;
		margin:10px 6px 0 6px;
}
/* @end */

}

/* @end */

/* @group iPhone Landscape */

/*		Wide Mobile Layout: 480px.
		Outer margins: 32px.
		Gutters: 24px.
		Columns: 36px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4
px      0     100    220    330   */

@media only screen and (min-width: 480px) and (max-width: 767px) {

/* @group Global */

#container,
	#header .wrapper,
	#footer .container {
		width: 300px;
		padding: 0 10px;
	}
	

	

	
	#unit-logo {
		margin: 0 0 18px 0;
		float: left;
	}
	
	#unit-search {
		margin: 0;
		float: right;
		width: auto;
		clear: none;
	}
	
	#unit-search .text {
		width: 120px;
	}
	
	ul#unit-account-actions {
		margin-top: 11px;
	}
	
	#unit-account-actions a {
		background-image: url(../../images/birmingham-rep/account-icons.png);
		color: #fff;
	}
	
/* @group  Footer  */

#container {
	padding-bottom: 640px;}  /* must be same height as the footer */

#footer {
	margin-top: -640px; /* negative value of footer height */
	height: 640px;
} 


/* @end */

/* @end */
	
/* @group Homepage */



.template-homepage #secondary-content #unit-about {
	width: 416px;
}

#group-featured-articles {
	float: none;
	margin: 0 0 24px;
	width: 385px;
}

#group-featured-articles article img {
	display: block;
}

/* @end*/

/* @group What's On List */

#primary-content .production {
	margin: 0 8px 8px 0;
	width: 204px;	
}

#primary-content .production h2 {
	font-size: 16px;
}

#group-upcoming-production,
#group-archived-production,
#group-season-productions {
	width: 424px;
}

#archive-filter {
	position: absolute;
	right: 8px;
}

#event-list-by-day .production {
	width: 100%;
	margin: 0 0 10px 0;
}


#event-list-by-day .production img{
	width: 150px;
	margin-right: 10px;
}

#event-list-by-day .production .production-details {
	float: left;
	width: 235px;
}

.template-whats-on-list #unit-calendar .calendar table td a {
	padding: 8px 0;
	font-size: 24px;
}

#group-close-performances a time {
	width: 365px;
}

/* @end */

/* @group Production Detail */

#unit-event-image img,
#unit-event-image iframe,
#unit-season-image img,
#unit-season-image iframe,
.tab-panel iframe {
	width: 100%;
	height: 234px;
}

#group-production-header p.archived {
	background-size: 45%;
}

.template-production-detail .unit-gallery ul {
	width: 390px;
}

.template-production-detail .unit-gallery ul li {
	width: 125px;
}

#group-cast-members {
	width: 395px;
	margin-left: -11px;
}

#group-cast-members .thumb{
	margin: 0 0 10px 11px;
	width: 120px;
	height: 220px;
}

div.jp-audio,
div.jp-audio ul.jp-controls {
	width: 395px;
}

div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 275px;
}

/* @end */

/* @group Information */

.template-default #primary-content {
	width: 396px;
	padding: 10px;
}

.template-default-list #primary-content #unit-content,
.template-default-list #list-content article {
	width: 396px;
	padding: 10px;
}

.template-default #secondary-content div.jp-audio,
.template-news-detail #secondary-content div.jp-audio  {
	width: 396px;
}

.template-default #secondary-content div.jp-audio div.jp-type-playlist div.jp-progress,
.template-news-detail #secondary-content div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 260px;
}

/* @end */

/* @group News */

.template-news-detail #primary-content {
	width: 386px;
	padding: 15px;
	margin-bottom: 24px;
}



/* @end */

/* @group Cast & Crew */

.cast-list #crew-list li {
	width: 190px;
}


#cast-search input.search-input {
	width: 354px;
}


/* @end */





/* @group Search Page */

.search-page  #unit-page-search input.text {
	width: 372px;
}


.search-page .collapsible-content {
	width: 376px;
	padding: 10px;
}

.search-page #unit-content .collapsible-content ul {
	margin-left: -12px;
}

.search-page #unit-content .collapsible-content ul li.project {
	margin: 0 0 30px 12px;
	float: left;
	width: 182px;
}

/* @end */

#the-box {
	position: relative;
	top: 0;
	margin-bottom: 10px;
}

}
/* @end */

@media only screen and (max-width: 480px) {
	
/* @group Artifact Sidebar */
aside .related-artifacts li, aside .related-artifacts li.first{
		margin:10px 0 0 23px;	
}
/* @end */
	
}
@media only screen and (max-width: 960px) {
	.cookie-margins {
		width:90%;
		padding-left:5%;
		padding-right:5%;
	}
	#cookieNotification .explanation{
		width:auto;	
	}
	#cookieNotification .acceptance-area{
		margin-bottom:10px;	
	}
}