/**
 * Adviser Portals API CSS styles
 * Andy Griffiths <hello@adviserportals.co.uk>
 * Version 2.0 21 April 2016
 */

/* Disable Menu options */
#ccm-white-label-message {
	display:none!Important;
}
 
@media only screen and (max-width: 40em) {
	div.ap-article-thumbnail,
	div.ap-calculator-thumbnail,
	div.ap-plugin-thumbnail,
	div.ap-researchlink-thumbnail,
	div.ap-newsletter-thumbnail,
	div.ap-video-thumbnail,
	div.ap-newsfeed-thumbnail,
	div.ap-wrap-thumbnail,
	div.ap-articlecategory-thumbnail,
	div.ap-biography-thumbnail {
		display: none;
	}
}

/* Articles */

div.ap-article {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-article-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Article Categories */

div.ap-articlecategory {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-articlecategory-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Business Info */

div.ap-businessinformation {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-businessinformation-legalstatus {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #F5F5F5;
}

/* Calculators */

div.ap-calculator {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-calculator-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Office Locations */

div.ap-officelocation {
	margin-bottom: 20px;
}

@media only screen and (min-width: 40em) {
	div.ap-officelocation {
		max-width: 245px;
		margin-right: 20px;
		float: left;
	}
}

div.officepostcode {
	margin-bottom: 10px;
}

/* Market Data */

div#ap-marketindices-wrap,
div#ap-marketwinners-wrap,
div#ap-marketlosers-wrap,
div#ap-currencymarket-wrap,
div#ap-marketsummary-wrap {
	margin-bottom: 50px;
}

div#ap-marketindices-wrap div.note,
div#ap-marketwinners-wrap div.note,
div#ap-marketlosers-wrap div.note,
div#ap-currencymarket-wrap div.note,
div#ap-marketsummary-wrap div.note {
	font-size: 12px;
}

div#ap-marketindices-wrap table {
	table-layout: auto;
}

/* Newsfeed */

div.ap-newsfeeditem {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #F5F5F5;
}

/* Newsfeeds */

div.ap-newsfeed {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-newsfeed-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Newsletters */

div.ap-newsletter {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-newsletter-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Biographies */

div.ap-biography {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-biography-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

div.ap-biography-person {
	font-weight: bold;
}

div.ap-biography-contact {
	margin-bottom: 20px;
}

/* Plugins */

div.ap-plugin {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-plugin-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Mortgage Warning */

div.ap-mortgage-disclosure-wrap {
	margin-top: 20px;
	margin-bottom: 20px;
	background-color: #ffffff;
	border: 1px solid #e2e2e2;
	box-sizing: border-box;
	padding: 15px;
	text-align: left;
}

div.ap-mortgage-repossession-warning {
	font-weight: 700;
	margin-bottom: 10px;
}

div.ap-mortgage-fee-statement {
	margin-bottom: 10px;
}

/* Equity Release Warning */

div.ap-equity-release-disclosure-wrap {
	margin-top: 20px;
	margin-bottom: 20px;
	background-color: #ffffff;
	border: 1px solid #e2e2e2;
	box-sizing: border-box;
	padding: 15px;
	text-align: left;
}

/* Research Links */

div.ap-researchlink {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-researchlink-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Videos */

div.ap-video {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-video-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Wraps */

div.ap-wrap {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	justify-content: flex-start;
	border-bottom: 1px solid #F5F5F5;
}

div.ap-wrap-thumbnail {
	margin-right: 20px;
	flex-shrink: 0;
}

/* Market Data */

.stockarrow img {
display: inline;
}

#ifapmarketindices-wrap {
	width:100%;height:auto;padding: 0;margin: 0 auto;
}
#ifapmarketwinners-wrap {
	width:100%;height: auto;padding: 0;margin: 0 auto;
}
#ifapmarketlosers-wrap {
	width:100%px;height: auto;padding: 0;margin: 0 auto;
}
#ifapcurrencymarket-wrap {
	width:100%;height: auto;padding: 0;margin: 0 auto;
}
.marketdata table {
	overflow: hidden;border: 1px solid #E0E0E0;background: #fefefe;width: 100%;margin: 5px auto 0;
	-moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.marketdata table th, .marketdata table td {
	padding: 5px; 
}
.marketdata table td {
	border-top: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0;background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}
.marketdata table tr:nth-child(even) td {
	background:#f6f6f6;background: -moz-linear-gradient(100% 25% 90deg, #f6f6f6, #f1f1f1);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f1f1f1), to(#f6f6f6));
}
.marketdata table th {
	background: -moz-linear-gradient(100% 20% 90deg, #e8eaeb, #ededed);
	background: -webkit-gradient(linear, 0% 0%, 0% 20%, from(#ededed), to(#e8eaeb));
}
.marketdata .heading {
	text-align: left;font-weight: bold;font-size: 18px;
}
.marketdata table tr td.region {
	text-align: left;font-weight: bold;font-size: 14px;color: white;background:#808080;
	background: -moz-linear-gradient(100% 50% 90deg, #808080, #BFBFBF);background: -webkit-gradient(linear, 0% 0%, 0% 50%, from(#BFBFBF), to(#808080));
	border-top: none; border-right: none;
}
.marketdata .market {
	text-align: left;font-weight: bold;font-size: 14px;background: #ffffff!important;
}
.marketdata .wldatahead {
	font-weight: bold;
}
.marketdata .datahead {
	font-weight: bold;
}
.marketdata .datarowtitle {
	font-weight: bold;
}
.marketdata .datarow {
	font-weight: normal;
}
.marketdata .note, .marketdata .wlnote {
	font-size:10px; line-height: 14px; text-align:center;margin-top:10px;
}
.marketdata .datarowup, .marketdata .wldatarowup {
	color:#009933;
}
.marketdata .datarowdown, .marketdata .wldatarowdown {
	color:#F10000;
}
.marketdata table tr td{
	font-size:11px;
}	
.marketdata table tr td.wldatahead {
	background: #fefefe;background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}
.marketdata table tr td.wldatarowup {
	border-bottom: 2px solid #e0e0e0;background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}
.marketdata table tr td.wldatarowdown {
	border-bottom: 2px solid #e0e0e0;
	background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}
.marketdata table tr td.wlsection {
	text-align: left;font-weight: bold;font-size: 16px;
	color: white;background:#808080;
	background: -moz-linear-gradient(100% 50% 90deg, #808080, #BFBFBF);
	background: -webkit-gradient(linear, 0% 0%, 0% 50%, from(#BFBFBF), to(#808080));
	border-top: none; border-right: none;
}

.marketdata td.wlcompany {
	background:#f6f6f6;
	background: -moz-linear-gradient(100% 25% 90deg, #f6f6f6, #f1f1f1);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f1f1f1), to(#f6f6f6));
	font-weight: bold;
}

#ifapmarketsummary-wrap {
	width:100%;height: auto;padding: 0;margin: 0 auto;;
}
.marketsummary table {
	border: 1px solid #E0E0E0;background: #fefefe;width: 100%;margin-bottom:15px;
	-moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.marketsummary table th, .marketsummary table td {
	padding: 5px; 
}
.marketsummary table td {
	border-top: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0;background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}
.marketsummary table tr:nth-child(even) td {
	background:#f6f6f6;background: -moz-linear-gradient(100% 25% 90deg, #f6f6f6, #f1f1f1);
	background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f1f1f1), to(#f6f6f6));
}
.marketsummary table th {
	background: -moz-linear-gradient(100% 20% 90deg, #e8eaeb, #ededed);
	background: -webkit-gradient(linear, 0% 0%, 0% 20%, from(#ededed), to(#e8eaeb));
}
.marketsummary .section {
	text-align: left;font-weight: bold;font-size: 14px;
}
.marketsummary table tr td.region {
	text-align: left;font-weight: bold;font-size: 16px;color: white;background:#808080;
	background: -moz-linear-gradient(100% 50% 90deg, #808080, #BFBFBF);background: -webkit-gradient(linear, 0% 0%, 0% 50%, from(#BFBFBF), to(#808080));
	border-top: none; border-right: none;
}
.marketsummary .market {
	text-align: left;font-weight: bold;font-size: 14px;background: #ffffff!important;
}
.marketsummary .wldatahead {
	font-weight: bold;
}
.marketsummary .datahead {
	font-weight: bold;
}
.marketsummary .datarowtitle {
	font-weight: bold;
}
.marketsummary .datarow {
	font-weight: normal;
}
.marketsummary .note, .marketsummary .wlnote {
	font-size:10px; text-align:center;margin-top:10px;
}
.marketsummary .datarowup, .marketsummary .wldatarowup {
	color:#009933;
}
.marketsummary .datarowdown, .marketsummary .wldatarowdown {
	color:#F10000;
}
.marketsummary table tr td{
	font-size:11px;
}	