/*
Theme Name: pulse
Theme URI: http://wordpress.org/themes/pulse
Author: Lorne Kates
Author URI: http://sevenseventeen.ca/
Description: Custom theme for Phelous.com
Version: 0.0.1
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: black, blue, white, light, one-column, fluid-layout, responsive-layout, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: pulse

*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,
center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,
output,ruby,section,summary,time,mark,audio,video
{
	font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline;font-family:Verdana,Impact;
}
body
{
	line-height:1
}
ol,ul
{
	list-style:none
}
blockquote,q
{
	quotes:none
}
blockquote:before,blockquote:after,q:before,q:after
{
	content:'';
	content:none'
}
table
{
	border-collapse:collapse;border-spacing:0
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section
{
	display:block
}


.clear
{
	clear:both
}


.sticky
{

}

.bypostauthor
{

}

.wp-caption
{

}
.wp-caption-text
{

}
.gallery-caption
{

}
.alignright
{

}
.alignleft
{

}
.aligncenter
{

}

/* begin pulse customizations */

/* hyperlinks */
a
{
	text-decoration:none;
	outline: none !important;
}

a:hover
{
	text-decoration:underline;
}

/* branding */
#branding
{

	/*
	position:absolute;
	left:0px;
	top:50%;
	*/
	max-width:150px; /* Overridden by functions.php to be 1/(x+1)% width, where x is # of menu items */
	width:100%;
	/* overflow:hidden;*/
}

/* Bubble style */
#branding.bubble
{
	/* high enough for speech bubble */
/*    height:200px; */
}

#branding.bubble #pullquote
{
    /* custom */
    font-size:0.6em !important;
    display:block;
    text-align:center;
    color:black !important;
    background-color:white !important;
    background: none;
    margin:auto auto !important;
    padding:0.5em;
    border: outset 3px grey !important;
    top:0.25em;
    left:0.25em;
    text-decoration: none !important;
    
    /* bubble structure */
  position:relative;
  margin:1em 0 3em;
  color:#000;
  background:white; /* default background for browsers without gradient support */
  /* css3 */
  border-radius:10px;
  z-index:1;
}

/* creates triangle */
#branding.bubble #pullquote:after 
{
   z-index:9999;
  content:"";
  position:absolute;
  bottom:-15px; /* value = - border-top-width - border-bottom-width */
  right:5px; /* controls horizontal position */
  border-width:20px 0px 0px 20px; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color:white transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/* END Bubble Style */

/* Top banner */
#banner-logo 
{
	display:block;
	margin-bottom:2em;
	width:100%;
	text-align:center;
}
#banner-logo a
{
	/*display:block;*/
	width:100%;
	text-align:center;
}

#banner-logo a
{
}

#banner-logo a img
{
	border:outset 6px black;
	border-radius:6px;
	
}

/* end Top Banner


/* Top Menu */
#menu
{
	position:relative;
}
#menu>div.menu-top-navigation-container
{
	/* float:right;*/
	/* margin-right:166px; */
	/* margin-left:160px; */
	width: 100%;
	max-width:100%;
}

#menu ul
{
	/* margin-left:auto; */
}

#menu ul li
{

	float:left; /* This has to be float:left or the whitespace between li kills the menu fucking HTML */
	display:inline-block;
	color:white;

}




#menu ul li.menu-item
{
	border: inset 3px grey;
	border-bottom:none !important;
	padding: 1em;
	background-repeat: no-repeat; 
	background-position: left top; 
	background-size: 100% 100%; 
	background-image: url("images/bg2.png");
	background-color:#FF8600;
	
}



#menu ul li.current-menu-item,
#menu ul li.current-menu-parent,
#menu ul li.current-menu-ancestor,
#menu ul li.current-page-parent,
#menu ul li.current-page-ancestor,
#menu ul li.current-post-parent,
#menu ul li.current-post-ancestor,
#menu ul li.current-category-parent,
#menu ul li.current-category-ancestor
{
	background-color:#00248F;
	border-style: outset;
	border-left: outset 6px black !important;
	border-right: outset 6px black !important;
	border-top:outset 6px black;
	border-bottom:none;
	margin-bottom:-6px;
	margin-top:0x;
	/*
	border-top-left-radius:6px;
	border-top-right-radius:6px;
	*/
}

#menu ul li.current-menu-item:before
{
	border-right: none !important;
}
#menu ul li.current-menu-item:after
{
	border-left: none !important;
}

#menu ul li.menu-item:hover
{
	background-color:#FFCC00;
}



#menu ul li.menu-item:first-child
{
	border-top-left-radius: 6px;
}

#menu ul li.menu-item:last-child
{
	border-top-right-radius: 6px;
}


#menu ul li.menu-item a
{
	text-align:center;
	color: white;
	margin: 1em;
	text-decoration: none;
	font-family: Impact,Verdana;
	font-size:1.5em;
	text-shadow: 4px 5px 1px #000000;
	overflow:hidden;
	white-space:nowrap;
	
}

h1, h2, h3
{
	text-shadow: 4px 5px 1px #000000;
}

#sidebar h1, #sidebar h2, #sidebar h3
{
	text-shadow: none !important;
	font-weight:bold;
	text-align:center;

}

/* END Top Menu */

/* Comment reply link, others styled to look like it */
.wp-pagenavi>a,
.wp-pagenavi>span,
.fancy-link,
.comment-reply-link,
.form-submit #submit
{
	display:inline-block;
	background-color:#FF8600;
	color:white !important;
	text-decoration: none !important;
	padding:0.25em 0.5em 0.25em 0.5em;
	margin:0.25em 0 0 0;
	background-repeat: no-repeat;
	background-position:left top;
	background-size: 100% 100%;
	background-image: url("images/bg2.png");
	text-shadow: 2px 1px black;
	pointer:cursor;
	border:1px solid black;
	border-radius: 3px;
	pointer:cursor !important;
	
}

.wp-pagenavi>a:hover,
.wp-pagenavi>span:hover,
.fancy-link:hover,
.comment-reply-link:hover
{
	background-color:#FFCC00;
}

.wp-pagenavi>.current
{
	background-color:#00248F;
}



/* Begin general structure */
/* Structure */
/* div#wrapper header#header 
   div#wrapper div#container section#content
   div#wrapper div#container aside#sidebar
*/

body
{
	background-color:black;
	margin:0px;
	padding:0px;
	/* background-image:url(images/bgr.jpg); */
	/* background-image: url("images/bg_grunge.png");  */
/* 	background-image: url("images/bg_lined.jpg"); */

/* 	background-image: url("images/bg_grunge.png"); */

	background-image: url("images/bg_fade.jpg");
	background-position: top left;
/*	background-size: 100% 100%; */
	background-size: 100%;
	background-repeat: no-repeat;
}




div#wrapper
{
	/*margin-right:160px;*/ /* for left outer ad */
	/* margin-left:20px;*/ /* for just a touch of space. Auto? */
	/* height: 800px ? */	
	position:relative;
	max-width:1200px;
	margin-left:auto;
	margin-right:auto;
	background-color:transparent ; /* black */
	padding:0em;
	min-height:1000px;
}

#content
{
	position:relative;

}


#container
{
	clear:both; /* needed to make menu work? */
	position:relative;
	background-color:grey;
	border:outset 2px orange;
	/* background-image:url("images/bg_grain.jpg"); */
	background-image: url("images/bg_lined.jpg"); 

	background-repeat:no-repeat;
	background-size:100% 100%;
	background-position:top right;
	background-opacity:0.3;
	min-height:300px;
}


/* Sidebar */
/* aside#sidebar div.widget-area ul.xoxo li.widget-container */

aside#sidebar
{
	position:absolute;
	min-height:100%; /* 400px ? */
	width:165px; /* match margin right */
	background-color:#FAFAFA;
	border: 1px solid black;
	font-size:0.9em;
	top:0px;
	right:0px;

}

/* END sidebar */

/* begin site-wide ad spacing */

.ad
{
	height:700px;
	width:160px;
	/* temporary to remove */
	/*background-color:red;*/
	border:1px solid black;
	color:white;

}

.ad.left.outer
{
	position:absolute;
	right:0px;
	top:200px;
	max-width:160px;
	max-height:700px;
	
	display:none; /*temp */
}

.ad.left.inner
{
	display:block;
	margin:0 auto;

}

.ad.top
{
	max-width:728px;
	height:90px;
	width:100%;
	margin:0 auto;
}
/* end site-wide ad spacing */

/* colouring */

article
{
	background-color:#072A64;
	color:#ffffff;
}

#content a
{
	color:#FF9C00;
}

#content a:hover
{
	text-decoration:underline;
}

#content a:visited
{
	#color:AE6A00
}

/* END coloring */

/* ======= SEARCH FORM ====== */

header#header
{
position:relative;
}

#search
{
	 position:absolute; 
	 right:-0.5em;
	 /* bottom:0.125em;*/
	 /*
	top:0.5em;
	right:-168px;
	*/
}

#search.upper
{
	top:2em !important;
	right:1em !important;
}

.screen-reader-text
{
	display:none;
}

#s
{
	height:30px;
	border: inset 3px black;
	border-radius: 5px;
	margin:0px;
	display:inline;
	width:130px;
}

#search.upper #s
{
	width:250px;
}


#searchsubmit
{
	background-image:url(search.png);
	background-repeat:none;
	background-position: center center;
	width:25px;
	height:25px;
	padding:5px;
	content: " ";
	line-height:0px;
	font-size:0px;
	margin:0px;
	display:inline;	
	border-radius:3px;
}

/* ======= END SEARCH FORM ===== */


/* ======= FRONT PAGE ======== */

.front-page div
{
  vertical-align:top;
}

.front-page a
{
	text-decoration:none;
}


.front-page div.wrap
{
	/* padding: 0.5em; */ /* might need to drop this 0.5 padding */
	/*border: 1px solid black;*/
	border-collapse: collapse;
	background-color:#072A64;
}

/* Front page news feed and latest videos */
.front-page #latest-wrap
{
	clear:both;
	/*margin-top:1em;*/
	margin-top:0.5em;
	position:relative;
}


/*
.front-page .latest-wrapper
{
	margin:0px 0px;
	border:5px outset orange;
	background-color:#072A64;
	display:inline-block;	
}
*/

.front-page .latest-wrapper
{
	margin:0px 0.25em 0px 0.25em;
	border:1px solid black;
	border-bottom:5px solid black;
	border-right:5px solid #202020;
	background-color:#072A64;
	/* display:inline-block; */
	border-radius:5px;
}

.front-page .latest-wrapper>h2
{
	font-size:1.5em;
	padding:5px 0px;
	margin-top:0.5em;
	width:100%;
	text-align:center;
	display:block;
	color:white;


}

.front-page #latest-videos
{
/*
	max-width:630px;
	width:auto;
	margin-left:0px;
	width:80%;

*/
	float:left;

	width:60%;
	max-width:635px;
	
	height:auto;
}

.front-page #right
{
	/*
	position:absolute;
	top:0px;
	right:0px;
	max-width:385px;
	min-width:335px;
	display:inline-block;

	*/
	top:0px;

	width:auto;
	float:right;
	width:38%;
}

.front-page #news
{
	width:auto;
	display:block;
	position:static;
}

.front-page #news article iframe,
.front-page #news article img,
.front-page #phriends article iframe,
.front-page #phriends article object,
.front-page #phriends article embed,
.front-page #phriends article img

{
	max-width:300px !important;
	height:auto !important;

}

.front-page #phriends
{
	display:block;
	margin-top:0.75em;
}

.front-page #news #more-news,
.front-page .more-link
{
	text-align:right;
	margin:0.5em;
}

.front-page .latest-videos article, 
.front-page .latest-wrapper article 

{
	margin:0em 0em 0em 0em !important;
	position:relative;
	border-bottom: 1px solid black;
	border-top: 1px solid black;
	background-color:#072A64;
	padding-top:0.5em;
	padding-bottom:0.5em;
}

.front-page .latest-videos article img.icon
{
	height:32px;
	width:auto;
}


article.format-video h1.entry-title
{
	overflow:hidden; /* force word wrapping */
	padding-bottom:5px; /* make room for drop shadow */
	font-weight:bold;
}

article.format-video img.attachment-titlecard-thumb
{
	display:none; /* show on phone */
}

article.format-video .meta-sep
{
	display:none;
}

.front-page .latest-videos article h1
{
	font-weight:bold;
	font-size:1.1em;
}

.front-page .latest-videos article h1>a,
.front-page .latest-videos article h1 .entry-meta
{
	display:inline-block;
	vertical-align:top;
}


#newsfeed
{
	background-color:#072A64;

}
.front-page .latest-videos article 
{
	clear:both;
}
.front-page .latest-videos article .entry-body
{
	font-size:0.9em;
	
	width:100%;
	/*background-color:purple;*/
	min-height:168px;
	
}


.front-page .latest-videos img.attachment-titlecard-latest-thumb
{
	float:left;
	width:100%;
	height:auto;
	max-width:300px;
	max-height:168px;
	min-width:150px;
	margin-right:0.5em;


}

article.format-status
{
	border-collapse: collapse;
	border-top:1px solid black;
	border-bottom:1px solid black;

	padding:5px;
	font-size: 0.9em;
}

article.format-status h1.entry-title
{
	font-size:1.1em;
	font-weight:bold;
	margin-bottom:0.25em;
}

article.format-status .entry-meta
{
	font-size:1em;
	margin-bottom:0.5em;
}

article.format-status .entry-excerpt
{
	margin-left:1em;
	margin-right: 0.5em;
}

/* Front page news feed and latest videos */


/* .top-wrap front page wraps both latest and sidebar videos */

/* .category-wrap legacy name for wrap around primary first article */
.front-page .category-wrap
{
	background:grey;
	position:relative;
}

.front-page .top-wrap
{
	background-color:#072A64;
	/* 20140726 - make it rounded? */
	border:1px solid black;
	border-bottom: 5px solid black;
	border-right: 5px solid #202020;
	margin:5px 5px 0px 5px;
	border-radius:5px;
	padding-top:0px;
}

.front-page .top-wrap .category-wrap
{
	/* border:1px solid black;  */
}

div.wrap.first
{
	max-height:360px;
}

div.wrap.first article
{
	max-height:360px;
}

/* Front page primary video article */

div.wrap.first article h1
{
	font-weight:bold;
	font-size:1.1em;
}

div.wrap.first .meta-sep
{
	display:none;
}

div.wrap.first img.attachment-titlecard-latest-thumb
{
	width:100%;
	height:auto;
	max-width:640px;
	max-height:360px;
	padding-right:1em;
}

div.wrap.first img.attachment-titlecard-thumb
{
	display:none;
}

div.wrap.first .entry-excerpt
{
	font-size:0.9em;
}

article.format-video .entry-meta
{
	display:inline-block;
	font-size:0.8em;
	min-height:32px;
}

article.format-video .entry-date
{
	display:block;
}

article.format-video .entry-excerpt
{
	display:block;	
}

.front-page div.wrap.first .entry-excerpt p
{
	margin-top:0px;
	margin-bottom:0px;
	padding:0px;
}


/* ********* OTHER ************** */
/* Front page sidebar video article style */
/* Front page Thumbnail-style selector, do scrolling */

/* Pointer */
.front-page div.top-wrap div.wrap.other .article-wrap img.pointer
{
/*	display:none; */
	visibility:hidden;
	position:absolute;
}

.front-page div.top-wrap div.wrap.other .article-wrap.active img.pointer
{
	display:none;
	position:absolute;
	margin-left:-32px;
	margin-right:-32px;
	height:32px;
	width:32px;
	margin-top:1em;
	opacity:1 !important;
	z-index:9999;
}

.front-page div.top-wrap div.wrap.other .article-wrap:hover img.pointer
{
	display:block !important;
	position:absolute;
	margin-left:-32px;
	margin-right:-32px;
	height:32px;
	width:32px;
	margin-top:1em;
	opacity:0.5;
	
}

.front-page div.top-wrap div.wrap.other article.active img.pointer
{
	visibility:visisble;
}

/* "Comments" section. */
.front-page div.wrap.first article footer
{
	display:inline-block;
	
}


/* Tags */
.tag-links
{
	display:block;
	margin-top:1em;
	font-style: italic;
	/*padding-right:6em;*/
}

.front-page .tag-links
{
	margin-right: 90px;
}


/* Show logos */
/* On desktop, hide the small version */
article.format-video img.attachment-show-logo-thumb
{
	display:none;
}

/* Always show small version in Latest */
.front-page #latest-wrap article.format-video img.attachment-show-logo-thumb
{
	display:inline !important;
}

.front-page #latest-wrap article.format-video img.attachment-show-logo-large
{
	display:none !important;
}

article.format-video .show-logo
{
	position:absolute;
	bottom:0px;
	right:0px;

}



/* Give a container .fancy-tag-wrap to give everything inside fancy tag hyperlinks. Otherwise will use the standard italics */


/* All tags on the front-page need smaller tags */
/* .front-page  */
article .tag-links
{
	display:block;
}
/* .front-page */
article .tag-links a
{
	font-size:0.7em;
	padding:0.1em;
	display:inline-block;

}




.front-page div.top-wrap div.wrap.other article .entry-body,
.front-page div.top-wrap div.wrap.other article .attachment-titlecard-latest-thumb,
.front-page div.top-wrap div.wrap.other article footer
{
	display:none;
}


/* User widget */
.nd_logged_in>img
{
	display:block;
}

/* Navigation links */

#nav-below>div
{
	display:inline-block;
	margin:0.5em;
}

#phriends img.attachment-titlecard-latest-thumb
{
	display:none !important;
}

#phriends img.attachment-titlecard-thumb
{
	display:block !important;
}

section#comments h3.comments-title
{
	min-height:30px;
}

.rss-logo
{
	float:right;
}

/* Media queries for front page and there is probably some general content mixed in */

		#info-bar
		{
			position:fixed;
			width:100%;
			height:30px;
			background-color:pink;
			border:1px solid black;
			opacity:0.75;
			text-align:center;
			bottom:0px;
			display:none;
		}
		
		#info-bar div
		{
			display:none;
			opacity:1;
			font-weight:bold;
			color:black;
		}
		
		/* desktop large */
		@media (min-width:1200px)
		{
			#info-bar .desktop.large
			{
				/* display:block; */
				display:none;
				
			}
		
		}
		
		
		/* Desktop, all sizes */
		@media (min-width:992px)
		{

			#content
			{
				margin-right:165px; /* make room for ad */
			}

			.front-page div.wrap.first img.attachment-titlecard-latest-thumb
			{
				float:left;

			}
			
			.front-page .category-wrap
			{
				width:auto;
				max-height:360px;
				height:360px;
				margin-right:160px;
			}

			.front-page div.wrap.first article .entry-content
			{
				overflow-y:hidden;
				/*background-color:white;*/
				height:360px;
				min-width:500px;

			}

			.front-page div.wrap.first article .entry-content img.icon
			{
				width:10%;
				/*max-width:64px;*/
				max-height:64px;
				/*float:left;*/

			}


			.front-page div.wrap.other
			{
				max-height:360px;
				overflow-y:scroll;
				overflow-x:hidden;
				width:160px;
				height:360px;
				position:absolute;
				right:5px;
				top:1px;
				border-left:1px solid black;
			}


			div.wrap.other img.attachment-titlecard-thumb
			{
				display:block;
			}
			
			
			

		}

		/* medium desktop -- reduce font size, image size */
		@media (min-width: 992px) and (max-width:1199px)
		{
		
			#menu ul li.menu-item a
			{
				color: white;
				margin: 0.5em;
				text-decoration: none;
				font-family: Impact,Verdana;
				font-size:1.2em;

			}		

			#info-bar .desktop.large
			{
				display:hidden;
			}

			#info-bar .desktop.medium
			{
				/* display:block; */
				display:none;

			}

			.front-page .category-wrap
			{
				max-height:360px;
				height:360px;
			}

			.front-page div.wrap.first article .entry-content
			{
				font-size:0.8em;
				max-height:360px;
				height:360px;
			}
			
			.front-page div.wrap.first article .entry-content img.icon
			{
				max-width:32px;
				max-height:32px;
			}


			.front-page div.wrap.other
			{
				height:360px;
				max-height:360px;

			}
			
			.front-page div.wrap.first img.attachment-titlecard-latest-thumb
			{
				width:80%;
			}
			

		}


	/* Tablet */
		@media (min-width:769px) and (max-width:991px)
		{
			#menu ul li.menu-item a
			{
				color: white;
				margin: 0.25em;
				text-decoration: none;
				font-family: Impact,Verdana;
				font-size:0.8em;

			}		

			#info-bar .tablet
			{
				/* display:block; */
				display:none;

			}

			#content
			{
				/*max-width:780px;*/
				margin-right:165px;
			}
			
			.front-page div.top-wrap
			{
				height:360px;
			}

			.front-page div.wrap.first
			{
				height:360px;
			}

			div.wrap.first img.attachment-titlecard-latest-thumb
			{
				float:left;
				max-width:527px;
				max-height: 415px;
				height:auto;
				width:100%;

			}
			
			.front-page div.wrap.first .entry-body
			{
				clear:both;
				diplay:block;
				width:100%;
				max-width:527px;
			}
			
			.front-page div.wrap.first .entry-excerpt
			{
				margin-right:2em;
				font-size:0.9em;
				min-height:64px;
				


			}			


			.front-page .category-wrap
			{
				width:auto;
				max-height:360px;
				margin-right:160px;
				font-size:0.8em;
				border:none;
				background-color:white;


			}
			
			.front-page .category-wrap img.icon
			{
				max-width:64px;
				max-height:64px;
				/*float:left;*/
			}





			.front-page div.wrap.other
			{
				max-height:360px;
				overflow-y:scroll;
				overflow-x:hidden;
				width:160px;
				height:360px;
				position:absolute;
				right:0px;
				top:0px;

			}

			.front-page div.wrap.other img.attachment-titlecard-thumb
			{
				display:block;
			}


			/* make news feeds smaller */
			.front-page #news
			{
				font-size:0.8em;
			}
			
			.front-page .latest-videos img.attachment-titlecard-latest-thumb
			{
				float:left;
				width:100%;
				height:auto;
				max-width:300px;
				max-height:168px;
				min-width:150px;
				
			}
			
			.front-page .latest-videos .entry-excerpt
			{
				max-width:480px;
			}

			/* On smaller, hide the large version */
			article.format-video img.attachment-show-logo-thumb
			{
				display:inline;
			}

			article.format-video img.attachment-show-logo-large
			{
				display:none;
			}

		} /* END tablet */
		
		/* Phone */
		@media (min-width:0px) and (max-width:768px)
		{
		
			#banner-logo,
			#banner-logo img
			{
				/*display:none !important;*/
				max-height:90px !important;
			}
			
			div#wrapper
			{
				margin-left:0px;
			}
			/* Hide menu by default, take back that margin. Will do a fly-out */
			aside#sidebar
			{
				position:absolute;
				display:none;
			}
			
			#content
			{
				margin-right: 0px !important;
			}
		
			#branding
			{
				display:none; /* hide the main logo on a phone */
			}

			#menu>div.menu-top-navigation-container
			{
				float:none;
				margin-right:166px;
				margin-left:0px !important;
				max-width:100%;
			}
		
			#menu ul li.menu-item
			{
				max-width:20%;
				padding:.125px;
				height:2em;
				text-align:center;
				
			}
			#menu ul li.menu-item a
			{
				margin:0.25em
				color: white;
				text-decoration: none;
				font-family: Impact,Verdana;
				font-size:0.7em;
				height:2em;
				text-align:center;

			}		
		
			#info-bar
			{
				diplsay:block;
			}
			#info-bar .phone
			{
				display:block;
			}
			
			#content
			{
				/*max-width:780px;*/
				margin-right:165px;
				min-width:160px;
			}
			
			.front-page .pointer
			{
				display:none !important;
			}
			
			.front-page div.wrap.first .entry-excerpt
			{
				font-size:0.7em;
			}
			
			.front-page div.wrap.first img.attachment-titlecard-latest-thumb
			{
				float:left;
				max-width:480px;
				min-width:160px;
				height:auto;
				width:50%;

			}
			
			.front-page div.wrap.first img.icon
			{
				/*float:left;*/
				max-width:32px;
				max-height:32px;

			}
						
			
			.front-page div.wrap.other
			{
				height:106px;
				max-width:100%;
				overflow-y:hidden;
				overflow-x:scroll;
				clear:both;
				border:1px solid black;
				background-color:grey !important;
			}
			
			.front-page div.wrap.other .scroll-wrap
			{
				margin-top:0.125em;
				margin-bottom:0.125em;
				width:1320px;

			}
			
			.front-page div.wrap.other .article-wrap
			{
				display:inline-block;
				min-height:90px;

			}
			
			.front-page div.wrap.other article.format-video img.attachment-titlecard-thumb
			{
				display:inline-block;
			}
			
			.front-page #latest-wrap
			{
				font-size:0.8em;
			}


			
			
			/* TODO: tab control to switch between News and Latest */
			.front-page .latest-wrapper,
			.front-page #news,
			.front-page .latest-videos,
			.front-page #right
			{
				position:static !important;
				display:block !important;
				width:100% !important;
				max-width:100% !important;
				opacity:1 !important;
				float:none !important;

			}
			
			.front-page .latest-videos img.attachment-titlecard-latest-thumb			
			{
				max-width:160px;
			}
 			
			/* On smaller, hide the large version */
			article.format-video img.attachment-show-logo-thumb
			{
				display:inline;
			}

			article.format-video img.attachment-show-logo-large
			{
				display:none;
			}

		}
		

/* END media queries for front page */


/* Search Result */
#dwls_search_results
{
	position:absolute;
	background-color:white;
	font-size:0.9em;
	border: outset 3px black;
	padding:0em 0.25em;
}
/* li.daves-wordpress-live-search_result  a.daves-wordpress-live-search_result  */

pre
{
	background-color:white !important;
	color:black !important;
	font-size:0.8em !important;
	line-spacing:1em;
}

.small
{
	font-size:0.7em;
}

/* Responsive Captcha */

.recaptcha-error, #recaptcha-error
{
	background-color:red;
	color:white;
}

form.nd_form p a.forgotten
{
	font-size:0.8em !important;
	display:block !important;
	padding:0px !important;
	margin-top:0.0px !important;
	clear:both !important;
	float:none !important;
}

#recaptcha_widget #recaptcha_image,
#recaptcha_widget #recaptcha_image img
{
	width:150px !important;
	max-width:150px !important;
	height:auto !important;
	min-height:100px !important;

}

#recaptcha_widget #recaptcha_image img.zoom
{
	width:450px !important;
	max-width:450px !important;
	height: 228px !important;
	margin-left:-310px !important;
	border: 3px outset grey !important;
}


.recaptcha_options a.fancy-link.first
{
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
.recaptcha_options a.fancy-link.last
{
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

/* Gradient */
article2
{
	background: radial-gradient(ellipse at center, #455cb7 0%,#0023bf 100%); /* W3C */
	background: -moz-radial-gradient(center, ellipse cover, #455cb7 0%, #0023bf 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#455cb7), color-stop(100%,#0023bf)); 
	background: -webkit-radial-gradient(center, ellipse cover, #455cb7 0%,#0023bf 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover, #455cb7 0%,#0023bf 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover, #455cb7 0%,#0023bf 100%); /* IE10+ */

	background-image: url('/wp-content/themes/pulse/images/article_gradient.png');
	background-position: top;
	background-repeat: repeat-x;

	background-color: #455cb7 !important; /* Old browsers */
}

/* Gradient */
article
{


	background-image: url('/wp-content/themes/pulse/images/article_gradient.png');
	background-position: top;
	background-repeat: repeat-x;


}

.latest-wrapper, .latest-wrapper  > h2
{
	background-color: #041636 !important;
}

