/* 	***	VANILLA MOBILE THEME v0.2 - May 2013

Contents with Shortcuts Key:

MAIN LAYOUT						[ML]

BASIC ELEMENTS					[BE]

COMMON ELEMENTS					[CE]
- Admin Links					[CEal]
- Back to Top Link				[CEbtt]
- Messages						[CEmess]
- QTip							[CEqtip]
- Ads							[CEads]
- Views							[CEview]
- Breadcrumb					[CEbc]
- Button Style					[CEbut]
- Forms							[CEform]
- Pagination					[CEpag]
- Ads							[CEads]

HEADER THEMING					[HEAD]
- Main Site Logo				[HEADlogo]

TOP AD							[TPAD]

NAVIGATION						[NAV]
- Mobile Menu Search			[NAVsrch]
- Mobile Menu Dashboard			[NAVdshb]
- Text Size Controls			[NAVtxt]
- Secondary Navigation			[NAVsec]

SEARCH							[SRCH]

CONTACT US						[CONT]

MAGAZINE						[MAG]

TABBED BLOCKS					[TB]

BACKGROUND TAKEOVER				[BGT]

ADVERTORIALS					[ADVT]
- Directory						[ADVTdir]

CREATE CONTENT PAGES			[CCP]

NODES							[NODE]
- Related Topics Links			[NODErtl]
- Taxonomy Section Links		[NODEtsl]
- Nodes & Articles Navigation	[NODEnav]

ARTICLES						[ART]

NEWS							[NEWS]
- Latest Headlines				[NEWSltst]
- More News						[NEWSmore]
- Archive News					[NEWSarch]

TV & RADIO						[TVR]

BLOGS							[BLOG]
- Blog Blocks					[BLOGblck]

COMPETITIONS					[COMP]

QUIZ							[QUIZ]

GALLERIES						[GALL]

PHOTO CONTEST					[PHOC]

PODCASTS						[POD]

SUBSCRIBE						[SUBS]

RIGHT SIDEBAR					[RSB]
- Quick Newsletter Signup		[RSBqsu]

CKEditor						[CKE]
- Boxout						[CKEboxout]

DISQUS							[DISQ]

LIGHTBOX						[LBOX]

INTERSTITIAL VIEWS AD			[INTR]

USER & REGISTATION				[USER]
-CRM Registration				[USERcrm]

FOOTER							[FOOT]

*/

/* 	***	MAIN LAYOUT																				[ML]	***	*/
* {
	margin: 0;
	padding: 0;
}

/* For mobile safari */

input {
	border-radius: 0;
	webkit-appearance: none;	
}

/* For CK editors */
body {
	background-color: #FFFFFF;
	background-image: none;
}

/* Not inherited by CK editors */
body.site-body {
	background-color: #EEEEEE;
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-family: Arial, sans-serif;
	color: #494949;
}

#whole-wrapper {
	background-color: #FFFFFF;
	max-width: 768px;
	min-width: 320px;
	width: 100%;
	margin: 0 auto;
	position: relative; /* This is necessary to ensure that #whole-wrapper sits above background takeovers */
}

#header-wrapper {
	width: 100%;
	background-color:#575757;
}

#header-wrapper #header {
	overflow: hidden;
	width: 100%;
}

#content-wrapper {
	background-color: #FFFFFF;
	clear: both;
	overflow: hidden;
	padding: 0 0 10px 0;
	position: relative;
}

#top-full-width {
	clear: both;
	overflow: hidden;
}

#main-content-wrapper {
	margin: 0 0 20px 0;
	max-width: 748px;
	overflow: hidden;
	padding: 10px 10px 0;
}

#page,
#page .main-page {
	float: left;
	width: 100%;
}

#upper-content,
#lower-content {
	clear: both;
	float: left;
	margin-bottom: 10px;
	width: 100%;
}

#right-sidebar {
	overflow: hidden;
	padding: 0 10px;
}

#footer {
	background-color: #FFFFFF;
	clear: both;
	margin: 0 auto;
	max-width: 768px;
	overflow: hidden;
	width: 100%;
}

/* 	***	BASIC ELEMENTS																			[BE]	***	*/
h1 {
	margin: 0 0 10px 0;
	font-size: 2.5em;
}

h2 {
	margin: 0 0 10px 0;
	font-size: 1.2em;
}

h3,
h4,
h5,
h6,
p {
	margin: 0 0 10px 0;
}

#content .node p,
#content .node ul,
#page .view-header p,
#page .view-header ul {
  margin-bottom: 10px;
}

a,
a:visited,
a:link {
	color: #00a0b2;
	text-transform: none;
	text-decoration: none;
	-moz-transition-duration: 0.3s;
	-moz-transition-property: color;
	-webkit-transition-duration: 0.3s;
	-webkit-transition-property: color;
	transition-duration: 0.3s;
	transition-property: color;
}

a:hover,
a:active{
	color: #00a0b2;
	text-transform: none;
	text-decoration: none;
}

a img {
	border: none;
}

img {
	max-width: 100%;
	height: auto !important;
}

.title span {
	position: absolute;
	overflow: hidden;
}

.page-title {
	overflow: hidden;
	clear: both;
}

.form-item {
	margin: 0;
}

.form-item label {
	margin-bottom: 2px;
}

.form-text {
	border-color: #C9C9C9;
	border-style: solid;
	border-width: 1px;
	padding: 2px 1%;
}

.form-select option {
	padding: 1px 5px;
}

input.form-submit,
.button-style {
	border-color: #00A0B2;
	border-style: solid;
	border-width: 2px;
	background-color: #00A0B2;
	padding: 5px 3px;
	cursor: pointer;
	color: #FFFFFF;
	-webkit-appearance: none;
	width:100%;
	font-size:1.2em;
}

input.form-submit:hover,
input.form-submit:active,
.button-style:hover,
.button-style:active {
	background-color: #FFFFFF;
	color: #00A0B2;
	-webkit-appearance: none;
}

.front input.form-submit,
front .button-style,
.sidebar input.form-submit,
.sidebar .button-style {
	width:auto;
}

ul {
	padding-left: 15px;
}

/* 	***	COMMON ELEMENTS																			[CE]	***	*/
/*		Admin Links																				[CEal]		*/
.view .views-admin-links ul li {
	border: 1px solid #C9C9C9;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #00a0b2;
	margin-right: 5px;
	padding: 2px 5px;
	float: left;
}

.view .views-admin-links ul li a {
	color: #FFFFFF !important;
}

#page .tabs {
	margin: 0 0 20px 0;
}

/*		Back to Top Link																		[CEbtt]		*/
#back-to-top-link {
    bottom: 10px;
    margin: 0 auto;
    text-align: center;
    width: 100px;
}

#back-to-top-link a {
	font-size: 0.9em;
	text-transform: uppercase;
}

/*		Messages																				[CEmess]	*/
.messages-label {
	display: none;
}

.messages,
.status {
	border: 1px solid #C9C9C9;
	padding: 9px;
	margin-bottom: 10px;
}

#better-messages-wrapper {
	overflow: hidden !important;
}

#better-messages-wrapper .message-close {
	float: left !important;
}

/*		QTip																					[CEqtip]	*/
.qtip-link {
	border-bottom: 0;
	text-transform: none;
	text-decoration: none;
	color: #00a0b2;
}

.qtip .qtip-wrapper .qtip-tooltip {
	overflow: hidden;
}

.qtip .qtip-wrapper .qtip-tooltip .qtip-title {
	margin-bottom: 5px;
}

.qtip .qtip-wrapper .qtip-tooltip .qtip-image {
	margin: 0 10px 5px 0;
	float: left;
}

/*		Ads																						[CEads]		*/
#top-full-width .half-mpu-block {
	margin: 10px auto 10px auto;
	text-align: center;
}

/*		Views																					[CEview]	*/
.block-views {
	margin: 0 0 20px 0;
}

.block-views .title {
	border-color: #494949;
	border-style: solid;
	border-width: 0 0 2px 0;
	font-size: 1.4em;
	padding-bottom: 2px;
}

.view-content .item-list ul,
.view-content .item-list ul li {
	margin: 0;
	padding: 0;
}

.view-content .views-row {
	clear: both;
	margin: 0 0 20px 0;
	overflow: hidden;
}

.view-content .views-row .views-row-left {
	float: left;
	margin: 0 10px 0 0;
}

.view-content .views-row .views-row-right {
	overflow: hidden;
}

.view-content .views-row .views-field-title a {
	font-size: 1.16em;
	font-weight: bold;
	color: #494949;
}

.views-exposed-widgets {
	margin: 0;
}

.views-exposed-form .views-exposed-widget {
	margin: 0 10px 10px 0;
	padding: 0;
	overflow: hidden;
}

.views-exposed-form .views-exposed-widget label {
	margin-bottom: 2px;
	display: block;
}

.view-content .views-row .views-row-left {
	height: auto !important;
	max-width: 30%;
}

.view-content .views-row .views-row-left img {
	height: auto !important;
	max-width: 100%;
}

/*		Breadcrumb																				[CEbc]		*/
.breadcrumb {
	padding: 0;
}

/*		Button Style																			[CEbut]		*/
.button-style {
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background: -moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	background-color: #ededed;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	color: #777777;
	font-family :arial;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 1px 1px 0px #ffffff;
}

.button-style:hover {
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background: -moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	background-color: #dfdfdf;

}

.button-style:active {
	position: relative;
	top: 1px;
}

.button-style a {
	display: block;
	padding: 6px 24px;
}

.button-style a:hover {
	text-decoration: none;
}

/*		Forms																					[CEform]	*/
form label,
form input.form-text,
form textarea {
	max-width: 98%;
}

form.webform-client-form {
	margin-top: 20px;
}

fieldset {
	background-color: none;
	border: 0;
	padding: 0;
}

fieldset legend {
	font-size: 1.5em;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.webform-component-fieldset {
	background-color: #FAFAFA;
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 5px 10px;
}

.webform-component-fieldset.collapsed {
	padding: 0 10px;
}

.webform-component-fieldset legend {
	margin: 0 0 5px 10px;
}

.webform-component-fieldset .fieldset-wraper p {
	margin: 0 0 10px 0;
}
	
.webform-component-fieldset .webform-component {
	margin: 0;
}

.webform-component-fieldset .webform-component {
	margin-bottom: 20px;
}

.page-user #content #user-profile-form fieldset {
    padding: 10px;
    margin-bottom: 10px;
}

.page-user #content #user-profile-form .contact-preferences {
	padding: 10px 10px 0 10px;
}

.page-user #content #user-profile-form .contact-preferences .form-item {
    margin: 0 0 10px 0;
	padding: 0;
}

@media all AND (max-width: 550px) {

	form label,
	form input.form-text,
	form textarea {
		
	}
	
	.webform-component-fieldset {
		background-color: transparent;
		border: none;
		margin-bottom: 10px;
		padding: 0;
	}

	.webform-component-fieldset legend {
		margin: 0 0 10px 0;
	}
	
	.webform-component-fieldset .webform-component {
		padding: 0;
	}
	
}

/*		Pagination																				[CEpag]		*/
#page .item-list ul.pager {
	padding: 20px 0 0 0;
}

#page .item-list ul.pager li {
	display: inline-block;
	margin: 1px;
	padding: 0;
}

#page .item-list ul.pager li a {
	display: inline-block;
	font-weight: normal;
	font-size: 1.2em;
	padding: 2px 5px;
}

#page .item-list ul.pager li a:hover,
#page .item-list ul.pager li a:active {
	text-decoration: none;
	-moz-transition-duration: 0.3s;
	-moz-transition-property: background-color;
	-webkit-transition-duration: 0.3s;
	-webkit-transition-property: background-color;
	transition-duration: 0.3s;
	transition-property: background-color;
}

#page .item-list ul.pager li.pager-current {
	border-width: 0;
	font-weight: normal;
	font-size: 1.2em;
	padding: 2px 5px;
}

@media all AND (max-width: 450px) {
	
	#page .item-list ul.pager .pager-previous,
	#page .item-list ul.pager .pager-first {
		display: block;
		margin: 0 0 5px 0;
	}
	
	#page .item-list ul.pager .pager-next,
	#page .item-list ul.pager .pager-last {
		display: block;
		margin: 5px 0 0 0;
	}
	
}

/*		Ads																						[CEads]		*/
#right-sidebar .block-im_dfp {
	text-align: center;
}

/* 	***	HEADER THEMING																			[HEAD]	***	*/
#leaderboard {
	margin-bottom: 11px;
}

#header-right {
	background-color: #575757;
	float: right;	
}

#header-right .menu-button {
	background-color: #575757;	
	background-image: url(images/menu-btn.png);
	background-position: -48px 0;
	background-repeat: no-repeat;
	cursor: pointer;
	height: 48px;
	width: 48px;
	/* For larger style:
	background-image: url(/sites/all/themes/vanilla-mobile/styles/images/alt-menu-button-large-trans-sprite.png);
	background-position: -73px 0;
	background-size: 146px 73px;
	height: 73px;
	width: 73px;
	*/
}

#header-right .menu-button-selected {
	background-color: #c7c7c7;	
	background-image: url(images/menu-btn.png);
	background-position: 0 0;
	background-repeat: no-repeat;	
}

/* 		Main Site Logo																			[HEADlogo]	*/
#logo {
	float: left;
	overflow: hidden;
	padding: 8px 0 0 8px;
}

#logo .title {
	height: 40px;
	margin: 0px;
	overflow: hidden;
	padding: 0px;
	width: 255px;
}

#logo .title .logo-span {
	background-image: url(images/default_logo.gif);
	background-repeat: no-repeat;
	background-size: auto 100%;
	height: 40px;
	width: 255px;
}

#logo .title .text-behind-logo {
	width: 0px;
	height: 0px;
	overflow: hidden;
}

#logo .below-logo-text {
	display: none;
}

/*      ***     TOP AD 																			[TPAD] ***	*/
#top-full-width .block-openx,
#page .block.half-mpu-block {
	text-align: center;
	margin-bottom: 10px;
}

#top-full-width .block-openx  h2 {
	background: none;
	color: grey;
	font-size: 12px;
	margin: 0;
	text-transform: none;
	font-weight: normal;
}

/* 	***	NAVIGATION																				[NAV]	***	*/
.mobile-dropdown-menu {
	float: left;
	background-color: #c7c7c7;
	width: 100%;
	clear: both;
	/*display:none;*/
}

.mobile-dropdown-menu .block-menu .title {
	display: none;
}

.mobile-dropdown-menu .block-menu .menu {
	float: left;
	margin: 0;
	padding: 0px 2% 13px 2%;
	width: 96%;	
}

.mobile-dropdown-menu .block-menu .menu li:nth-child(odd) {
	clear: left;
	float: left;
	text-align: right;
}

.mobile-dropdown-menu .block-menu .menu li:nth-child(even) {
	clear: right;
	float: right;
	text-align: right;	
}

.mobile-dropdown-menu .block-menu .menu li {
	border-bottom: 1px solid #B7B7B7;
	font-size: 1.2em;
	list-style: none;
	margin: 0;
	padding: 8px 2%;
	width: 44%;
}

.mobile-dropdown-menu .block-menu .menu a {
	color: #575757;
	display: block;
}

/*		Mobile Menu Search																		[NAVsrch]	*/
.mobile-dropdown-menu .block-search {
	float: left;	
	overflow: hidden;
	width: 100%;
}

.mobile-dropdown-menu .block-search .title,
.mobile-dropdown-menu .block-search label {
	display: none;	
}

.mobile-dropdown-menu .block-search .form-item {
	float:left;
	width:90%;
	margin-left:8px;
	margin-top:8px;
	margin-bottom:8px;
	padding-right:32px;
}

.mobile-dropdown-menu .block-search input.form-text {
	width:98%;
	height:32px;
	border:none;
	padding:0px 1%;
}

.mobile-dropdown-menu .block-search .form-submit {
	background-color: #575757;
	background-image: url(images/search-icon-white-trans.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	border-width: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	float: left;
	height: 32px;
	margin-top: 8px;
	margin-bottom: 8px;
	margin-right: 8px;
	margin-left: -32px;
	padding: 0px;
	width: 32px;
}

/*		Mobile Menu Dashboard																	[NAVdshb]	*/
.mobile-dropdown-menu .simple-logged-out {
	float: right;
}

.mobile-dropdown-menu .register-link {
	float:right;
	padding-right:10px;
}

.mobile-dropdown-menu .log-in-link {
	float:right;
}

.mobile-dropdown-menu .log-in-link a,
.mobile-dropdown-menu .register-link a {
	color: white;	
}

.mobile-dropdown-menu #user-dashboard {
	background-color: #494949;
	color: white;
	float:left;
	width: 100%;
}

.mobile-dropdown-menu #user-dashboard a {
	color: white;	
	font-weight: 900;
}

.mobile-dropdown-menu #user-dashboard .user-info {
	float: left;
	padding: 5px 5px 5px 10px;
	max-width: 35%;
}

.mobile-dropdown-menu #user-dashboard ul {
	float: right;
	margin: 0;
	padding: 5px 10px 5px 5px;
	max-width: 55%;
}

.mobile-dropdown-menu #user-dashboard ul li {
	float: right;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.mobile-dropdown-menu #user-dashboard ul li.first {
	padding-left: 10px;	
}

.mobile-dropdown-menu #user-dashboard ul li.last {
	padding-right: 10px;
	border-right: 1px solid white;	
}

/*		Text Size Controls																		[NAVtxt]	*/
.mobile-text-size-controls-list {
	float:left;
}

.mobile-text-size-controls-list div {
	cursor: pointer;
	float:left;
	height: 32px;
	margin: 5px 0 5px 5px;
	width: 32px;
}

.mobile-text-size-controls-list .mobile-decrease-font {
	background: url(images/decrease_32.png) no-repeat;
}
.mobile-text-size-controls-list .mobile-increase-font {
	background: url(images/increase_32.png) no-repeat;
}
.mobile-text-size-controls-list .mobile-reset-font {
	background: url(images/reset_32.png) no-repeat;
	opacity:0.5;
}

/*		Secondary Navigation																	[NAVsec]	*/
#mobile-secondary-menus {
	background-color: #C7C7C7;
}

#mobile-secondary-menus .responsive-submenu .title {
	display: none;
}

#mobile-secondary-menus .responsive-submenu ul {
	margin: 0;
	padding: 0;
}

#mobile-secondary-menus .responsive-submenu ul li {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 5px 10px;
	position: relative;
}

#mobile-secondary-menus .responsive-submenu ul li.active {
	background-color: #FFFFFF;
}

#mobile-secondary-menus .mobile-responsive-submenu {
	background-color: #E0E0E0;
}

#mobile-secondary-menus .mobile-responsive-submenu ul {
	border-color: #000000;
	border-style: solid;
	border-width: 0 0 2px 0;
}

#mobile-secondary-menus .mobile-responsive-submenu ul li {
	max-width: 50%;
	padding: 0;
	width: 100%;
}

#mobile-secondary-menus .mobile-responsive-submenu ul li a {
	display: block;
	padding: 6px 10px 7px 10px;
	text-align: right;
}

#mobile-secondary-menus .responsive-menu-controls {
	background-color: #FFFFFF;
	text-align: center;
	width: 100%;
}

#mobile-secondary-menus .responsive-menu-controls .responsive-menu-tab {
	border-color: #000000;
	-webkit-border-radius: 0 0 7px 7px;
	-moz-border-radius: 0 0 7px 7px;
	border-radius: 0 0 7px 7px;	
	border-style: solid;
	border-width: 0 2px 2px 2px;
	cursor: pointer;
	margin: 0 auto;
	padding: 3px;
	width: 30%;
}

#mobile-secondary-menus .responsive-submenu .mobile-responsive-submenu ul li {
	padding: 0;
}

#mobile-secondary-menus .mobile-responsive-submenu li {
	margin-right: -2px !important;
}

/*	***	SEARCH PAGE																				[SRCH]	***	*/
.page-search .search-no-results-title {
	display: none;
}

.page-search #page .search-results-wrapper {
	float:left;
	margin-bottom:5px;	
}

.page-search #page .search-form #edit-apachesolr-search-retain-filters-wrapper {
	float:left;
	margin-top:5px;	
}

.page-search #page .search-results-wrapper .search-results-sort-block .search-sort-button {
	background-color: #00A0B2;
    color: white;
    display: block;
    float: left;
    font-size: 16px;
    margin: 0;
    padding: 5px 10px;
    margin-right:5px;	
    cursor:pointer;
}

.page-search #page .search-results-wrapper .search-results-sort-block .search-filter-button {
	background-color: #00A0B2;
    color: white;
    display: block;
    float: left;
    font-size: 16px;
    padding: 5px 10px;
    cursor:pointer;
}

.page-search #page .search-results-wrapper .search-results-sort-block .title {
	padding:2px;
	margin-bottom:8px;	
}

.page-search #page .search-results-wrapper .search-results-sort-block .search-sort-button.active {
	background-color: #C6E4EC;
	color:black;
}

.page-search #page .search-results-wrapper .search-results-sort-block .search-filter-button.active {
	background-color: #C6E4EC;	
	color:black;
}

.page-search #page .search-results-wrapper .search-results-sort-block ul {
	background: none repeat scroll 0 0 #C6E4EC;
    clear: both;
    padding: 5px;
}

.page-search #page .search-results-wrapper .search-results-sort-block li {
	border-bottom: 1px solid #575757;
    list-style: none outside none;
    margin-left: 0;
    margin-top: 5px;
    padding: 5px;
}

.page-search #page .search-results-wrapper .search-results-sort-block li a.active {
	font-weight: 900;
}

.page-search #page .search-results-wrapper .search-results-sort-block li a {
	color:#000;	
}

/*filters*/

.page-search #page .search-results-wrapper .search-filters-block ul {
	background: none repeat scroll 0 0 #C6E4EC;
    clear: both;
    padding: 5px;
}

.page-search #page .search-results-wrapper .search-filters-block li {
	border-bottom: 1px solid #575757;
    list-style: none outside none;
    margin-left: 0;
    margin-top: 5px;
    padding: 5px;	
}

.page-search #page .search-results-wrapper .search-filters-block li a.active {
	color:#FFF;	
}

.page-search #page .search-results-wrapper .search-filters-block li a {
	color:#000;	
}

.page-search #page .search-results-wrapper .search-filters-block .title {
	display:none;	
}

.page-search #page .search-results-wrapper .search-results {
	clear:both;
	margin-top: 10px;
	float:left;
	border-top:1px solid #b7b7b7;
}

.page-search #page .search-results-wrapper .search-results a {
	color:#575757;	
}

.page-search #page .search-results-wrapper .search-results .search-result-item {
	border-bottom: 1px solid #B7B7B7;
    display: block;
    float: left;
    padding: 5px 0;
    width: 100%;
}

.page-search #page .search-results-wrapper .search-results .search-result-item  .search-result-text-wrapper {
	overflow: hidden;
}

.page-search #page .search-results-wrapper .search-results .search-result-item .search-result-thumb {
	float: left;
	margin-right: 5px;	
}

.page-search #page .search-results-wrapper .search-results .search-result-item .search-result-date {
	padding:1px 0px;	
	font-size: 10px;
}

.page-search #page .search-results-wrapper .search-results .search-result-item .title {
	padding:1px 0px;	
	font-size: 1.3em;
	font-weight: 800;
}

.page-search #page ul.pager {
	margin-top:5px;	
}

.page-search #page ul.pager li {
	font-size: 1.6em;
	margin:0;
	padding:5px 8px;	
}

.page-search #page ul.pager li.pager-current {
	font-weight:900;	
	border-top:none;
	border-bottom:none;
}

.page-search #page ul.pager li.pager-item {
	border:none;	
}

.page-search .search-form #edit-keys-wrapper .container-inline {
	width:100%;
	float:left;	
	overflow:hidden;
	border:1px solid #575757;
	max-height:23px;
}

.page-search .search-form #edit-keys-wrapper .container-inline #edit-keys-wrapper {
	/*display:block;*/
	float:left;
	padding-right:23px;
	width:80%;
}

.page-search .search-form #edit-keys-wrapper .form-text {
	width:98%;
	padding:2px 1%;
	border:none;	
	height: 19px;
}

.page-search .search-form .form-submit {
	width:23px;
	height:23px;
	background: url(images/search-btn-small.jpg) no-repeat;
	background-color: #575757;	
	background-size: 100% 100%;
	border:none;	
	padding:0;
	margin-left:-23px;
	float:left;
}

.page-search .search-no-results-title {
	margin-bottom: 20px;
}

.page-search .search-no-results .search-no-results-subtext {
	margin-bottom: 10px;
	display: block;
}

.page-search .search-no-results .search-no-results-suggestions li {
	margin-bottom: 2px;
}

/*	*** HOMEPAGE																				[HOME]	***	*/
.homepage-MPU-block {
	clear: both;
	margin: 0 0 10px 0;
	text-align: center;
}

/*	***	CONTACT US																				[CONT]	***	*/
.contact-us #content-wrapper .webform-client-form #webform-component-name,
.contact-us #content-wrapper .webform-client-form #webform-component-email-address {
	width:94%;	
}

.contact-us #content-wrapper .webform-client-form #webform-component-name input,
.contact-us #content-wrapper .webform-client-form #webform-component-email-address input {
	width:100%;
}


/*	***	MAGAZINE																				[MAG]	***	*/
.ms-magazine-pages-module #main-content-wrapper {
	padding: 10px 10px 0;
	width: auto;
}

.ms-magazine-pages-module #main-content-wrapper #page {
	width: 100%;
}

.ms-magazine-pages-module #main-content-wrapper #page .view-Magazine .view-content {
	float: none;
}

.ms-magazine-pages-module #page .node-issue {
	width: 100%;
}

.node-type-issue #page .node-issue {
	margin: 0 0 20px 0;
}

.node-type-issue #page .quick-newsletter-signup-block-newsletter #close-button {
	display: none;
}

.node-issue object {
	display: none;
}

.node-issue img {
	height: auto !important;
	max-width: 100%;
}

.view-Magazine #bookflip-container #bookflip {
	max-width: 100%;
}

.view-Magazine #bookflip-container {
	background-size: 100% auto;
}

.view-Magazine #bookflip-container #bookflip .bookflip-page {
	height: auto !important;
	max-width: 50%;
}

.view-Magazine #bookflip-container #bookflip .bookflip-page-even {
	left: 50% !important;
}

.view-Magazine #bookflip-container #bookflip .bookflip-page div,
.view-Magazine #bookflip-container #bookflip .bookflip-page div img {
	height: auto !important;
	max-width: 100%;
}

/*	***	TABBED BLOCKS																			[TB]	***	*/
.tabbed-block-tab {
	cursor: pointer;
}

/*	***	BACKGROUND TAKEOVER																		[BGT]	***	*/
.takeover-active {
	background-position: top center;
	background-repeat: no-repeat;
	overflow: hidden;
}

/*	***	ADVERTORIALS																			[ADVT]  ***     */
.node-type-advertorial #main-content-wrapper {
	margin: 0;
	max-width: 748px;
	width: auto !important;
}

.node-type-advertorial #main-content-wrapper #page {
	width:100% !important;
	margin: 0 !important;
}

.node-type-advertorial #main-content-wrapper #page h1.title {
	float: none;
	font-size: 2.5em;
}

.node-type-advertorial #main-content-wrapper #page .ad-feature-header {
	background-size: 100% auto;
	float:none;
	width: 100%;
}

.node-type-advertorial #page .main-page .node-advertorial {
	width:50%;
}

.node-type-advertorial #page #advertorial-filters {
	position: static;
}

.node-type-advertorial #page .main-page .node-advertorial .content {
	width: auto;
	margin-top: 0px;
	color: inherit;
	position: relative;
	float: none;
	bottom:0px;
	left: 0px;
}

.node-type-advertorial #page .main-page .node-advertorial .content #advertorial-filters .vocab-container {
	margin-bottom: 5px;
}

.node-type-advertorial #page .main-page .node-advertorial .content #advertorial-filters .vocab-container select {
	margin-top: 5px;
}

.node-type-advertorial #page .main-page .node-advertorial .content #advertorial-filters button {
	margin: 15px 0px 15px 0px;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_2 {
	width:50%;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_2 .gmap {
	margin-right: 0px;
	width: 100% !important;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 {
	width: 100%;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row {
	margin: 0 !important;
	width: 100% !important;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row .node-advert_unit {
	float: none;
	height: auto;
	margin: 0 0 20px 0;
	min-width: 0;
	padding: 10px;
	width: auto !important;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row .node-advert_unit .more-link {
	float: none !important;
	top: 0px;
	padding: 2px;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row .node-advert_unit .field-advert-image {
	float: right;
	margin-left: 10px;
	padding: 0px;
}

.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row h3.title {
	background: none;
	padding: 5px 0px 0px 0px; 
}

.node-type-advertorial #page .map-open-close {
	background-color: #D1D2D4;
	border-radius: 5px;
	padding: 5px;
	text-align: center;
	cursor: pointer;
	display:none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.node-type-advertorial #page .map-open-close .map-close {
	display:none;
}

@media all and (min-width: 640px) {
	.node-type-advertorial #page .main-page #block-views-Advertorial-block_2 .gmap {
		display: block !important;
	}
}

@media all and (max-width: 640px) {
	
	.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row .node-advert_unit .field-advert-image {
		max-width: 50%;
	}
	
	.node-type-advertorial #page .main-page #block-views-Advertorial-block_1 .views-row .node-advert_unit .field-advert-image img {
		height: auto !important;
		max-width: 100%;
	}
	
	.node-type-advertorial #page .main-page .ad-feature-header,
	.node-type-advertorial #page .main-page #block-views-Advertorial-block_2 .gmap {
		display: none;
	}
	
	.node-type-advertorial #page .main-page #block-views-Advertorial-block_2 {
		width:100%;
	}
	
	.node-type-advertorial #page .main-page .node-advertorial {
		width:100%;
	}
	
	.node-type-advertorial #page .map-open-close {
		display: block;
	}
	
}

/*		Directory																				[ADVTdir]	*/
.page-directory #main-content-wrapper {
	padding: 10px 10px 0;
	width: auto;
}

.page-directory #page {
	padding: 0;
	width: 100%;
}

.directory.page-directory #page #block-views--exp-directory-page_1 .views-exposed-widget {
	margin-bottom: 20px;
	min-height: 0;
}

.directory.page-directory #page #block-views--exp-directory-page_1 .views-widget-filter-distance {
	clear: left;
}

.directory.page-directory #page #block-views--exp-directory-page_1 .views-submit-button,
.directory.page-directory #page #block-views--exp-directory-page_1 .views-exposed-widget.submit {
	clear: both;
	position: static;
	top: auto;
	bottom: auto;
	margin: 0;
}

.page-directory #page #block-views--exp-directory-page_1 .views-widget-filter-distance .description {
  clear: left;
}

.page-directory #page .ad-feature-header {
  margin: 0 0 10px;
}

.page-directory #page #block-views-directory-block_1 {
  width: auto;
}

.page-directory #page #block-views-directory-block_1 .views-row .views-row-right {
  width: auto;
  background-color: transparent;
  padding: 0;
}

.page-directory .view-directory .title {
	background-color: transparent;
	padding: 0;
	color: inherit;
	border: none;
}

.page-directory #page .view-directory-solr {
	width: 100%;
}

#im-directory-search-form .search-fields-3 {
	clear: both;
	float: left;
	margin: 10px 0 20px 0;
	max-width: 100%;
	text-align: left;
}

/*	***	NODES																					[NODE]	***	*/

.page-node .main-page .node p {
	margin: 0 0 10px;
}

#article-top .article-info .author-info,
#article-top .article-info .date {
	max-width: 50%;
}

#article-top .article-info .author-info {
	text-align: right;
}

/*		Related Topics Links																	[NODErtl]	*/
.page-node .block-associated-topics {
	margin-bottom: 10px;
	float: left;
	clear: both;
}

.page-node .block-associated-topics .associated-topics-title {
	margin-bottom: 5px;
	clear: both;
	font-size: 1.2em;
}

/*		Taxonomy Section Links																	[NODEtsl]	*/
.taxonomy-sections-links-block {
	clear: both;
}

#taxonomy-section-links {
	margin-bottom: 10px;
	overflow: hidden;
}

#taxonomy-section-links .taxonomy-sections-links-title {
	margin-bottom: 10px;
}

#taxonomy-section-links .back-to-link {
	margin-bottom: 10px;
}

/*		Nodes & Articles Navigation																[NODEnav]	*/
#article-node-navigation {
	width: 100%;
	overflow: hidden;
	clear: both;
}

#article-node-navigation .article-navigation-boxes {
	border-color: #C9C9C9;
	border-style: solid;
	border-width: 1px 0;
	overflow: hidden;
	padding: 9px 5px;
}

#article-node-navigation .article-navigation-box {
	width: 45%;
	margin-bottom: 10px;
	overflow: hidden;
}

#article-node-navigation .article-navigation-box .article-navigation-image {
	margin-bottom: 5px;
}

#article-node-navigation .article-previous-box,
#article-node-navigation .article-previous-box .previous-article-image {
	float: left;
}

#article-node-navigation .previous-article-box .previous-article-image {
	margin-right: 10px;
}

#article-node-navigation .article-next-box,
#article-node-navigation .article-next-box .next-article-image {
	float: right;
	text-align: right;
}

#article-node-navigation .next-article-box .next-article-image {
	margin-left: 10px;
}

#article-node-navigation .article-navigation-box .article-navigation-title {
	margin-bottom: 5px;
	font-weight: bold;
}

#article-node-navigation .article-navigation-box .article-navigation-title a {
	color: #494949;
}

#article-node-navigation .article-navigation-box .article-navigation-link a {
	clear: both;
	text-transform: capitalize;
}

/*	*** ARTICLES																				[ART]	***	*/
.node-type-article #page #content .node-article {
	margin-bottom: 10px;
	width: 100%;
}

#article-top {
	clear: both;
	margin: 0 0 20px 0;
}

#article-top .article-info {
	border-color: #000000;
	border-style: solid;
	border-width: 1px 0 0 0;
	clear: both;
	float: left;
	padding: 10px 0 5px 0;
	width: 100%;
}

#article-top .article-info .date {
	float: left;
}

#article-top .article-info .author-info {
	float: right;
}

#article-top .article-top-buttons {
	border-color: #000000;
	border-style: solid;
	border-width: 0 0 1px 0;
	clear: both;
	float: left;
	margin: 0 0 20px 0;
	padding: 5px 0 10px 0;
	width: 100%;
}

#article-top .article-top-buttons .social-buttons-top {
	float: left;
}

#article-top .article-top-buttons #font-size {
	float: right;
}

#article-top .article-summary {
	font-size: 1.2em;
	line-height: 1.3em;
}

#article-top .article-image {
	text-align: center;
}

#article-top .article-image img {
	max-width: 100%;
	height: auto;
	width: auto;
}

#article-top .article-image-caption {
	font-size: 0.8em;
	font-style: italic;
	margin: 5px 0 0 0;
}

.node-type-article #page #content #article-main {
	width: 100%;
}

.node-type-article #page #content #article-main .content img {
	max-width: 100%;
	height: auto !important;
	width: auto;
}

#article-bottom-links {
	margin-bottom: 0;
	width: 100%;
}

#article-bottom-links .bottom-social-buttons {
	border-color: #C9C9C9;
	border-style: solid;
	border-width: 1px;
	float: none;
	margin: 0 0 10px 0;
	overflow: hidden;
	padding: 5px 0px 5px 20px;
	width: auto;
}

#article-bottom-links .bottom-social-buttons .bottom-social-title  {
	float: left;
	margin: 2px 25px 0 0;
}

#article-bottom-links .bottom-social-buttons .social-share-link {
	float: left;
	margin: 0;
}

#article-bottom-links .bottom-social-buttons #social-share-links {
	float: left;
}

#article-bottom-links .bottom-social-buttons #social-share-links .facebook-share-link {
	margin-right: 25px;
}

#article-bottom-links .bottom-social-buttons .bottom-social-email {
	background-image: url(/sites/all/modules/ms_core/ms_articles/styles/images/email.gif);
	background-repeat: no-repeat;
	color: #494949;
	float: left;
	font-weight: bold;
	height: 17px;
	padding: 3px 0 0 30px;
	text-transform: uppercase;
}

#article-bottom-links .block-im_dfp {
	text-align: center;
}

#article-node-navigation,
#block-ms_articles-article-block-navigation {
	width: 100%;
}

@media all AND (max-width: 500px) {
	
	#article-bottom-links .bottom-social-buttons {
		border-width: 0;
		padding: 0;
	}
	
	#article-bottom-links .bottom-social-buttons .bottom-social-title  {
		border-color: #C9C9C9;
		border-style: solid;
		border-width: 1px;
		float: none;
		margin: 0 0 10px 0;
		padding: 2px 0;
		font-size: 1.3em;
		text-align: center;
	}
	
	#article-bottom-links .bottom-social-buttons .social-share-link,
	#article-bottom-links .bottom-social-buttons #social-share-links {
		float: none;
	}
	
	#article-bottom-links .bottom-social-buttons .social-share-link {
		margin: 0 auto 10px auto;
	}
	
	#article-bottom-links .bottom-social-buttons .bottom-social-email {
		margin-bottom: 0;
	}
	
	#article-node-navigation .article-navigation-box {
		float: none;
		width: auto;
	}
	
	#article-node-navigation .article-next-box {
		text-align: left;
	}
	
}

/*	***	NEWS																					[NEWS]	***	*/
.news.node-type-article #page h1.title {
	margin-bottom: 10px;
}

.page-news #page .view-news-articles .view-content .views-row {
	margin-bottom: 10px;
}

/*	Latest Headlines																			[NEWSltst]	*/
.news #page .news-latest-headlines .view-header .news-intro-text {
	margin-bottom: 10px;
}

.news #page #content .view-news-articles .view-header .latest-headlines-title {
	border-bottom: 2px solid #494949;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 2px;
}

.news #page .news-latest-headlines .view-content {
	margin-bottom: 20px;
	overflow: hidden;
}

.news #page .news-latest-headlines .view-content .views-row .views-field-created,
.page-news #page #content .view-news-articles .view-content .views-row .views-field-created,
.news #page .more-news-block .view-content .views-row .views-field-created,
.news #page .archive-news-block .view-content .views-row .views-field-created {
	margin-bottom: 2px;
	font-style: italic;
}

/*	More News																					[NEWSmore]	*/
.news #page .more-news-block {
	margin-bottom: 20px;
	overflow: hidden;
	clear: both;
}

.news #page .more-news-block .attachment-before .more-news-images .view-content {
	width: 623px;
	float: left;
	clear: both;
}

.news #page .more-news-block .attachment-before .more-news-images .view-content .views-row-first {
	width: 300px;
	float: left;
	clear: none;
}

.news #page .more-news-block .attachment-before .more-news-images .view-content .views-row-last {
	width: 300px;
	float: right;
	clear: none;
}

.news #page .more-news-block .attachment-before .more-news-images .view-content .views-row .views-row-left {
	width: 85px;
}

.news #page .more-news-block .attachment-before .more-news-images .view-content .views-row .views-row-right {
	width: 205px;
	float: right;
}

.news #page .more-news-block .view-content,
.news #page .archive-news-block .view-content {
	float: left;
}

.news #page .more-news-block .view-content .views-row {
	margin-bottom: 10px;
}

.news #page .more-news-block .attachment-after,
.news #page .archive-news-block .attachment-after {
	width: 300px;
	float: right;
}

.news #page .more-news-block .more-link {
	clear: both;
}

/*	Archive News																				[NEWSarch]	*/
.news #page .archive-news-block {
	overflow: hidden;
	clear: both;
}

.news #page .archive-news-block .more-link {
	clear: both;
}

/*	TV & RADIO																					[TVR]	***	*/
/* Core / Vanilla styling still to be determined */

/*	***	BLOGS																					[BLOG]	***	*/
.page-blogs #page .view-blogs-articles .views-row {
	border: 1px solid #C9C9C9;
	margin-bottom: 10px;
	padding: 9px;
}

.page-blogs #page .view-blogs-articles .views-row-even {
	background-color: #EEEEEE;
}

.page-blogs #page .view-blogs-articles .views-row .views-row-left {
	width: 95px;
	margin: 0 10px 0 0;
	float: left;
}

.page-blogs #page .view-blogs-articles .views-row .views-row-right {
	overflow: hidden;
}

.page-blogs #page .view-blogs-articles .views-row .views-field-title {
	margin-bottom: 5px;
}

.page-blogs #page .view-blogs-articles .views-row .views-field-field-contributor-nid,
#right-sidebar .blogs-right-block .views-row .views-field-field-contributor-nid {
	margin-bottom: 5px;
}

.page-blogs #page .view-blogs-articles .views-row .views-field-created,
#right-sidebar .blogs-right-block .views-row .views-field-created,
#middle-narrow .blogs-popular-posts-middle-block .view-content .views-row .views-field-created {
	font-style: italic;
}

.node-type-blog #page .node-blog .content img {
	height: auto !important;
	max-width: 100%;
}

/*		Blog Blocks																				[BLOGblck]	*/
#middle-narrow .blogs-popular-posts-middle-block .view-content .views-row {
	margin-bottom: 10px;
}

.page-blogs .view-blogs-articles .view-content ul li,
#middle-narrow .blogs-archive-middle-block .view-content ul li {
	margin: 2px 0;
	padding: 1px 0;
	list-style: none;
}

.page-blogs .view-blogs-articles .view-content ul li a,
#middle-narrow .blogs-archive-middle-block .view-content ul li a {
	font-size: 1.1em;
	font-weight: bold;
	color: #494949;
}

#middle-narrow .blogs-archive-middle-block .view-content ul li a.active {
	background-color: #C9C9C9;
	padding: 2px 5px;
	display: block;
	color: #FFFFFF;
}

#middle-narrow .contributors-middle-block .view-content .views-row {
	margin-bottom: 5px;
}

#middle-narrow .contributors-middle-block .view-content .views-row .views-field-title a {
	font-size: 1em;
	font-weight: normal;
}

/*	***	COMPETITIONS																			[COMP]	***	*/
.page-competitions #page .view-competitions .views-row {
	margin-bottom: 10px;
}

.competition #page .field-field-competition-dates {
	margin-bottom: 10px;
}

/*	***	QUIZ																					[QUIZ]	***	*/
.node-quiz img {
	height: auto;
	max-width: 100%;
}

/*	***	GALLERIES																				[GALL]	***	*/
.node-type-gallery #page .gallery-top-strip {
	clear: both;
	float: left;
	margin-bottom: 20px;
	width: 100%;
}

.node-type-gallery #page .gallery-top-strip #node-top-buttons {
	clear: both;
	overflow: hidden;
}

.node-type-gallery #page .gallery-top-strip #social-share-links-top {
	clear: none;
	float: left;
}

.node-type-gallery #page #back-to-galleries-link a {
	padding-left: 15px;
	float: right;
	font-weight: bold;
	font-size: 1.2em;
	text-decoration: none;
}

#gallery-thumbs {
	clear: both;
	height: auto;
	margin: 0;
	overflow: hidden;
	padding: 0;
	text-align: center;
}

#gallery-thumbs .gallery-nav {
	display: inline-block;
	font-size: 0;
	height: 75px;
	margin: 0 0 10px 0;
	overflow: hidden;
	position: relative;
	width: 10%;
}

#gallery-thumbs .gallery-nav span {
	background-repeat: no-repeat;
	display: block;
	height: 75px;
	position: absolute;
	width: 20px;
}

#gallery-thumbs .gallery-nav.previous span {
	background-image: url(images/nav-bar-prev-trans.png);
	background-position: left center;
	padding: 0 7px 0 0;
	right: 0;
}

#gallery-thumbs .gallery-nav.next span {
	background-image: url(images/nav-bar-next-trans.png);
	background-position: right center;
	left: 0;
	padding: 0 0 0 7px;
}

#content ul#gallery {
	display: inline-block;
	margin: 0 -3px 10px -3px;
	padding: 0;
	text-align: center;
	max-width: 79%;
}

#gallery li.thumb {
	cursor: pointer;
	display: inline-block;
	height: 75px;
	list-style: none;
	margin: 0 5px 10px 5px;
	max-width: 15%;
	overflow: hidden;
	position: relative;
	width: 75px;
}

#gallery li img.thumb {
	cursor: pointer;
	top: auto;
	left: auto;
	display: block;
	width: auto;
	height: auto;
	opacity: 0.5;
	filter: alpha(opacity = 50);
}

#gallery li.active img.thumb {
	opacity: 1;
	filter: alpha(opacity = 100);
}

.node-gallery .galleria_container .galleria_wrapper {
	height: auto;
	margin: 0 auto 10px auto;
	overflow: hidden;
}

.node-gallery .galleria_container .galleria_wrapper img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

.node-gallery .galleria_container {
	margin: 0 0 20px 0;
}

.node-gallery .galleria_container .caption {
	padding: 0 5px;
	margin: 0 auto;
	text-align: left;
}

.node-type-gallery .gallery-lower-section .about-gallery {
	background: #ECF5FB;
	border: 1px solid #B6C2C9;
	margin: 0 0 20px 0;
	padding: 10px;
}

.node-type-gallery .gallery-lower-section .about-gallery .about-gallery-title {
	margin-bottom: 10px;
}

.node-type-gallery .gallery-lower-section .node-advert {
	margin: 0 0 10px 0;
	text-align: center;
}

.node-gallery .links {
	float: right;
}

.node-gallery .links ul.links.inline {
	margin-top: 10px;
}

.node-gallery .galleria_container .description {
	margin: 0 auto 10px auto;
	font-size: 1.4em;
	color: #464646;
	clear: both;
}

.node-gallery .galleria_container .caption {
	margin-bottom: 10px;
}

.node-type-gallery .about-gallery .about-gallery-title {
	font-size: 1.4em;
	color: #464646;
	clear: both;
}

#mobile-gallery .mobile-gallery-list {
	margin: 0;
	overflow: hidden;
	padding: 0;
	text-align: center;
}

#mobile-gallery .mobile-gallery-list li {
	display: inline-block;
	list-style: none;
	margin: 0 5px 10px 5px;
	position: relative;
}

.node-type-gallery #lightbox #imageData #caption {
	font-weight: normal;
}

@media (max-width: 500px) {
	.node-type-gallery #page #back-to-galleries-link a {
		float: left;
		padding: 5px 0 0 0;
	}
}

/*	***	IM GALLERIES																				[IMGL]	***	*/
#im-gallery-wrapper {
	margin: 0 0 20px 0;
}

/*	***	PHOTO CONTEST																				[PHOC]	***	*/
.ms-gallery #page .view-ms-gallery .view-header {
	float: left;
	width: 100%;
	margin-bottom: 15px;
}

.ms-gallery #page .view-ms-gallery .view-header h2.your-photos-current-entries {
	margin-bottom: 5px;
	font-size: 2.2em;
	float: left;
}

.ms-gallery #page .view-ms-gallery .view-header .your-photos-click-to-enlarge {
	margin-bottom: 10px;
	font-size: 0.8em;
	float: left;
	clear: left;
}

.ms-gallery #page .view-ms-gallery .view-header .your-photos-report-key {
	float: right;
	margin: 0 0 0 10px;
}

.ms-gallery #page .view-ms-gallery .view-content .views-row {
	margin: 0;
	text-align: center;
	height: 130px;
	width: 100%;
}

.ms-gallery #page .view-ms-gallery .view-content .views-row .content {
	margin: 0 10px 10px 0;
	background: #eee;
	padding: 5px 4px;
	float: left;
}

.ms-gallery #page .your-photos-bottom-block .view-header {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 10px;
}

@media only screen and (max-width : 295px) {
	
	.ms-gallery #page .view-ms-gallery .view-content .views-row {
		width: 100%;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row .content {
		margin: 0 0 10px 0;
	}
	
}

@media only screen and (min-width : 296px) {
	
	.ms-gallery #page .view-ms-gallery .view-content .views-row {
		width: 50%;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row-even .content {
		margin: 0 0 10px 0;
	}
	
}

@media only screen and (min-width : 445px) {
	
	.ms-gallery #page .view-ms-gallery .view-content .views-row {
		width: 33%;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row .content {
		margin: 0 10px 10px 0;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row-3 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-6 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-9 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-12 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-15 .content {
		margin: 0 0 10px 0;
	}
}

@media only screen and (min-width : 592px) {
	
	.ms-gallery #page .view-ms-gallery .view-content .views-row {
		width: 25%;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row .content {
		margin: 0 10px 10px 0;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row-4 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-8 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-12 .content {
		margin: 0 0 10px 0;
	}
}

@media only screen and (min-width : 728px) {
	
	.ms-gallery #page .view-ms-gallery .view-content .views-row {
		width: 20%;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row .content {
		margin: 0 10px 10px 0;
	}

	.ms-gallery #page .view-ms-gallery .view-content .views-row-5 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-10 .content,
	.ms-gallery #page .view-ms-gallery .view-content .views-row-15 .content {
		margin: 0 0 10px 0;
	}
}

.vud-widget-ms-gallery {
	width: 103px;
}

.ms-gallery #page .view-ms-gallery .view-content .views-row a {
	width: 100%;
	float: left;
	margin-bottom: 5px;
}

.ms-gallery #page .view-ms-gallery .view-content .views-row .vud-widget-ms-gallery a {
	width: auto;
}

.ms-gallery #page .view-footer {
	margin-top: 15px;
}

#block-views-taxonomy_blocks-block_2 .views-row {
	clear: none;
	display: inline-block;
	margin: 5px 10px 0 0;
	text-align: center;
}

#block-views-taxonomy_blocks-block_2 .views-row .views-field-image-gallery-latest-thumbnail,
#block-views-taxonomy_blocks-block_2 .views-row .views-field-name,
#block-views-taxonomy_blocks-block_2 .views-row .views-field-nothing-1 {
	text-align: center;
}

.ms-gallery #page .view-ms-gallery .view-content .views-row span.abuse-report-link a {
	position: relative;
}

.ms-gallery #page .view-ms-gallery .view-content .views-row span.abuse-report-link a span {
	right: 1px;
}

/*	***	POLLS																					[POLL]	***	*/
.page-astronomy-polls #page .content .field-field-article-thumb {
	margin: 0 0 20px 0;
	text-align: center;
}

/*	***	PODCASTS																				[POD]	***	*/
.page-podcasts #page .podcast-teaser-title {
	margin: 0 0 10px 0;
	font-size: 1.2em;
	font-weight: bold;
}

/*	***	SUBSCRIBE																				[SUBS]	***	*/
.im-subscribe-pages #whole-wrapper {
	max-width: 768px;
}

.im-subscribe-pages #header-wrapper {
	border-width: 0;
}

.im-subscribe-pages #header {
	padding: 0;
}

.im-subscribe-pages.im-mobile-site #header #logo {
	float: left;
}

.im-subscribe-pages.im-mobile-site #header #logo .title {
	max-width: 240px;
}

.im-subscribe-pages.im-mobile-site #header #logo .logo-span {
	background-size: auto 100%;
}

/* 	***	RIGHT SIDEBAR																			[RSB]	***	*/
#right-sidebar-title {
	border-color: #000000;
	border-style: solid;
	border-width: 1px 0 1px 0;
	margin: 0 0 20px 0;
	padding: 10px 0 10px 0;
	text-align: center;
}

#right-sidebar .block {
	clear: both;
	margin-bottom: 20px;
}

#right-sidebar .block-openx {
	text-align: center;
}

/*		Quick Newsletter Signup																	[RSBqsu]	*/
.quick-newsletter-signup-block-newsletter .qsu-email-input-wrapper label,
.quick-newsletter-signup-block-newsletter .qsu-email-input-wrapper input.form-text{
	float: none;
}

.quick-newsletter-signup-block-newsletter form div.qsu-email-input-wrapper {
	display: inline-block;
	float: none;
	margin: 0 10px 10px 0;
}

.quick-newsletter-signup-block-newsletter form input.form-submit {
	display: inline-block;
	float: none;
	margin: 0;
}

.quick-newsletter-signup-block-newsletter form .qsu-third-party-wrapper {
	margin-top: 10px;
}

.block-phpbbforum .phpbbforum_recent_subject img {
	display: none;
}

/* 	***	CKEditor																				[CKE]	***	*/

/* 		Boxout																					[CKEboxout] */
.boxout {
	border: 1px solid #000;
	width: 200px;
}

.boxout.left {
	float: left;
	margin: 0 10px 5px 0;
	padding: 10px;
}

.boxout.right {
	float: right;
	margin: 0 0 5px 10px;
	padding: 10px;
}

/*	*** DISQUS																					[DISQ]	***	*/
.block-disqus {
	border-color: #333333;
	border-style: solid none solid none;
	border-width: 2px 0 2px 0;
	padding: 8px 0;
}

.block-disqus #disqus_thread {
	margin-bottom: 0;
}

.block-disqus #dsq-content #dsq-global-toolbar {
	margin: 0 0 10px 0;
}

.block-disqus #dsq-content h3 {
	margin-bottom: 10px;
}

.block-disqus #dsq-content #dsq-reply {
	margin-top: 0;
}

.block-disqus #dsq-content #dsq-reply h3,
.block-disqus #dsq-content #dsq-reply .dsq-textarea {
	margin-bottom: 10px;
}

.block-disqus #dsq-content #dsq-footer {
	margin: 0 0 10px 0;
}
	
@media all AND (max-width: 400px) {
	
	.block-disqus #dsq-reply h3 {
		margin-bottom: 5px;
	}
	
	.block-disqus #dsq-reply .dsq-avatar {
		display: none;
	}
	
	.block-disqus #dsq-reply .dsq-textarea {
		margin: 0 0 5px 0;
	}
	
}

/*	***	LIGHTBOX																				[LBOX]	***	*/
#lightbox2-overlay {
	width: 100% !important;
}

#lightbox #outerImageContainer,
#lightbox #imageContainer img,
#lightbox #imageDataContainer,
#lightbox #modalContainer img {
	height: auto !important;
	max-width: 100%;
}

#lightbox #modalContainer {
	height: auto !important;
	max-width: 100%;
	width: auto !important;
}

#lightbox #imageData #caption {
	display: block;
	margin-bottom: 5px;
}

#lightbox #imageData #numberDisplay {
	font-size: 0.9em;
}

/* 	***	INTERSTITIAL VIEWS AD																	[INTR]	***	*/
.interstitial-view-ad {
	margin-bottom: 10px;
}

/*	***	USER & REGISTRATION																		[USER]	***	*/

/* log in fields */
.page-user #user-login .form-item {
	margin:25px 0;
	font-size: 1.3em;
}

.page-user #user-login input[type=text],
.page-user #user-login input[type=password] {
	height: 20px;
	margin: 5px 0 10px;
	width:100%;
}

/*@media all and (max-width: 370px) {
	.page-user #page ul.tabs {
		border: none;
		padding-left:0;	 
	}
	
	.page-user #page ul.tabs li {
		clear:both;
		width: 83%;
	}
	.page-user #page ul.tabs li a { 
		clear:right;
		border-bottom:1px solid #BBBBBB;
		width:100%;
	}
	
	.page-user #page ul.tabs li.active a.active {
		border-bottom:1px solid #BBBBBB;
	}
	.page-user #main-content-wrapper .tabs.secondary li a {
		border: 1px solid #BBBBBB;	
	}
	.page-user #main-content-wrapper .tabs.secondary li {
		padding:0;
		border:none;
	}
	.page-user #main-content-wrapper .tabs.secondary {
		width:100%;
	}
}

.page-user #page ul.tabs {
	overflow:hidden;
}

.page-user #page ul.tabs li { 
	display:block;
	float:left;	
}

.page-user #page ul.tabs li.active a {
	border-bottom: none;	
}

.page-user #page ul.tabs li a {
	display:block;	
	padding: 4px 5%;
}

.user-account #page #user-login .form-item {
	margin-bottom: 20px;
	overflow: hidden;
}

.user-account #page #user-login .form-item label {
	margin-right: 20px;
	float: left;
}

.user-account #page #user-login .form-item input.form-text {
	max-width: 340px;
    width: 94%;
}

.user-account #page #user-login .form-item .description {
	margin-top: 5px;
	clear: both;
}

.user-account #page #user-pass #edit-name {
	max-width:420px;
	width:90%;	
}

#user-register .form-item {
	margin-bottom: 10px;
	clear: both;
}

#user-register .form-item label {
	margin-right: 10px;
}

#user-register .form-item label.option,
#user-register fieldset .form-item label {
	width: auto;
}

#user-register .form-item input.form-text {
    background-color: #F9F9F9;
    border: 1px solid #CCCCCC;
    margin-bottom: 3px;
    max-width:420px;
    width:90%;
}

#user-register .form-item input.form-text:focus {
	background-color: #FFFFFF;
}

#user-register .form-item .form-item {
	margin-bottom: 0;
}

#user-register .form-item .description {
	color: #696969;
}
    
#user-register fieldset {
    border: 0;
	padding: 0;
}

#user-register fieldset legend {
	display: none;
}

#user-register .qsu-third-party-wrapper {
	margin-top: 10px;
}

#user-register #edit-tc-check-wrapper {
	margin-bottom: 20px;
}

#user-register .date_of_birth {
	overflow: hidden;
}

#user-register .date_of_birth .form-item div {
	width: 70px;
	float: left;
}

#user-register .group-profile-subscriber {
	margin: 10px 0;
}

#user-register .group-profile-subscriber .form-radios {
	margin: 5px 0 0 0;
	float: left;
	clear: both;
}

#user-register .group-profile-subscriber .form-radios .form-item {
	margin-right: 5px;
	float: left;
	clear: none;
}

#user-register .captcha {
	margin-bottom: 10px;
}

#user-register .captcha .description {
	margin-bottom: 10px;
	font-size: 0.85em;
	color: #696969;
}

.page-user #main-content-wrapper #user-profile-form .fieldset {
	width:100%;	
}

.page-user #main-content-wrapper #user-profile-form .fieldset .form-item #edit-name,
.page-user #main-content-wrapper #user-profile-form .fieldset .form-item #edit-mail {
	width:100%;
	max-width:430px;	
}

.page-user #main-content-wrapper #user-profile-form .fieldset .form-item #edit-name input,
.page-user #main-content-wrapper #user-profile-form .fieldset .form-item #edit-mail {
	width:100%;	
}*/

/*		CRM Registration											[USERcrm]	*/
/*.page-im-user #content .page-title {
	display: none;
}

.page-im-user #content-wrapper {
    padding: 25px;
    width: auto;
}

.page-im-user .col-xs-4,
.page-im-user .col-xs-6,
.page-im-user .col-xs-8 {
	float:left;
	padding: 0px 15px 0 0;
	box-sizing: border-box;
}

.page-im-user .col-xs-4 {
	width: 28%;
	margin-right: 15px;
}

.page-im-user .col-xs-4.first-name-field,
.page-im-user .col-xs-4.last-name-field {
	width: 33%;
	margin:0;
}

.page-im-user .col-xs-6 {
	width: 50%;
}

.page-im-user .col-xs-8 {
	width: 66.66666666666667%;
}

.page-im-user .row:before, .page-im-user .row:after {
display: table;
content: " ";
}

.page-im-user .row:after {
	clear:both;
}


.page-im-user #content-wrapper .col-xs-6 {
    width:100%;
}

.page-im-user #content-wrapper form#im-user-register label {
    font-size: 1.2em;
}

.page-im-user #content-wrapper form#im-user-register .confirm-password {
    margin-top:10px;
}

.page-im-user #content-wrapper form#im-user-register .form-text {
    padding: 5px;
    border: #ccc solid 1px;
    margin-bottom: 30px;
    box-shadow: none;
    font-size: 1.2em;
    width:100%;
    box-sizing: border-box;
    
}

.page-im-user #content-wrapper form#im-user-register .form-text.password-field,
.page-im-user #content-wrapper form#im-user-register .form-text.password-confirm {
    margin-bottom: 10px;
}

.page-im-user #content-wrapper form#im-user-register .form-text.password-confirm {
    margin-top:5px;
}

.page-im-user .password-parent {
	padding-top:3px;
}

.page-im-user .password-parent,
.page-im-user .confirm-parent,
.page-im-user #edit-mail-wrapper {
	overflow: hidden;
	clear:both;
}

.page-im-user .confirm-parent {
	margin-top:10px;
	margin-bottom: 10px;
}

.page-im-user .password-parent label,
.page-im-user .confirm-parent label,
.page-im-user #edit-mail-wrapper label{
	width: 28%;
	margin-right: 15px;
	float: left;
	font-weight: lighter;
}

.password-parent span.password-strength,
.confirm-parent span.password-confirm {
	float:right;
	margin-right: 17px;
	clear: both;
}

.page-im-user #content-wrapper form#im-user-register .password-parent .form-text.password-field,
.page-im-user #content-wrapper form#im-user-register .confirm-parent .form-text.password-confirm,
.page-im-user #content-wrapper form#im-user-register #edit-mail-wrapper .form-text {
	width: 63%;
	float: left;
}

.page-im-user .confirm-parent input.ok:focus,
.page-im-user .password-parent input.ok:focus {
	outline: none;
	-webkit-box-shadow: 0 0 5px rgba(31, 207, 3, 1);
	-moz-box-shadow:    0 0 5px rgba(31, 207, 3, 1);
	box-shadow: 0 0 5px rgba(31, 207, 3, 1);
}

.page-im-user .password-parent input.warning:focus {
	outline: none;
	-webkit-box-shadow: 0 0 5px rgba(223, 161, 0, 1);
	-moz-box-shadow:    0 0 5px rgba(223, 161, 0, 1);
	box-shadow: 0 0 5px rgba(223, 161, 0, 1);
}

.page-im-user .confirm-parent input.error:focus,
.page-im-user .password-parent input.error:focus {
	outline: none;
	-webkit-box-shadow: 0 0 5px rgba(223, 0, 0, 1);
	-moz-box-shadow:    0 0 5px rgba(223, 0, 0, 1);
	box-shadow: 0 0 5px rgba(223, 0, 0, 1);
}

.page-im-user .password-description,
.page-im-user .messages.error {
	font-size: 1.3em;
	line-height: 1.3em;
	padding: 10px;
	margin-bottom: 20px;
}

.page-im-user .password-description.error,
.page-im-user .messages.error {
	background-color: #fff;
	color: #D20000;
	display: block;
	max-width: 100%;
}

.page-im-user .password-description.warning {
	background-color: #fff;
	color: #e09010;
	display: block;
}

.page-im-user #edit-pass-wrapper .description {
	margin-bottom: 20px;
}

.page-im-user #content-wrapper form#im-user-register #edit-bbcww-email-wrapper {
	font-size: 0.8em;
	margin: 15px 0 20px 0;
}


.page-im-user #content-wrapper form#im-user-register input.form-submit {
    font-size: 1.2em;
    padding: 5px 0;
    margin-bottom: 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    -moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    width:100%;
    box-sizing: border-box;
    
}

.page-im-user #content-wrapper form#im-user-register input.form-submit:hover {
    -webkit-box-shadow: inset 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    -moz-box-shadow: inset 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    box-shadow: inset 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
}

.page-im-user #content-wrapper .signup-promo {
    padding:15px 20px;
    background-color: #EBEBEB;
    color:#4F4F4F;
    font-size: 1.3em;
    margin:20px 0;
}

.page-im-user #content-wrapper .signup-promo li {
    margin: 15px 0;
}

.page-im-user #content-wrapper .text-right a {
    color: #fff;
    background-color: #474747;
    padding: 6px 30px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    -moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    margin-left: 20px;
    font-weight: bold
}

.page-im-user #content-wrapper .text-right a:hover {
    background-color:#424242;
    -webkit-box-shadow: inset 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    -moz-box-shadow: inset 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
    box-shadow: inset 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
}
*/


/* 	***	FOOTER																					[FOOT]	***	*/
#footer #block-mobile_tools-mobile_tools_message {
	background-color: #EEEEEE;
	font-weight: bold;
	padding: 5px 0;
	text-align: center;
}

#footer .immediate-footer-block {
	padding-top: 15px;
}

#footer .footer-top-text-block,
#footer .immediate-footer-block {
	width: auto;
}

#footer .immediate-footer-block .content ul#footer-links {
	margin: 0 0 15px 0;
	padding: 10px 0 0 0;
}

#footer .immediate-footer-block .content ul#footer-links li {
	margin: 0 10px 10px 10px
}

#footer .immediate-footer-block .content #copyright-text {
	margin-bottom: 15px;
}

#footer .immediate-footer-block .content form {
	margin-bottom: 15px;
}

#footer-scripts {
	height: 0;
	overflow: hidden;
	width: 0;
}

/* END																									END	*/