/******************************************************************
Theme Name: FAMM
Theme URI: http://www.famm.org
Description: This is a responsive layout for FAMM.
Author: White+Partners
Author URI: http://www.whiteandpartners.com
Version: 1.0
Tags: responsive

License: WTFPL
License URI: http://sam.zoy.org/wtfpl/
Are You Serious? Yes.
******************************************************************/


.navbar-inner {
	  background-color: #fff; /* background color will be black for all browsers */
	  background-image: none;
	  border:0 !important;
	  background-repeat: no-repeat;
	  box-shadow:none !important;
	  -webkit-box-shadow:none !important;
	  filter: none;
	  max-height:40px !important;
	}
	
	#container1, #container2 {
		max-height:40px !important;
	}

	@media (max-width: 864px) {
		.navbar-fixed-top {
			margin-bottom: 11px !important;
		}
	
	
		.navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
			padding:0 !important;
		}
	
		.brand {
			margin-left:0;
			margin-right:0;
			margin-bottom:0;
			margin-top:-13px !important;
			padding:0 !important;
		}
	}

	@media (max-width: 979px) {
		#container1, #container2 {
  			width:96% !important;
  		}
  		
  		#email_scroll {
			width: 178px;
			height: auto;
		}
		
		#slogan {
			line-height:47px !important;
		}
	}
	
	@media (max-width: 1199px) {
		#dropdownM {
			display:block;
		}
		
		.hide1200 {
			display:none;
		}
		
		#show968 {
			display:none;
		}
	}
	
	@media (min-width: 1200px) {
		#dropdownM {
			display:none;
		}
	}
	
	@media (max-width: 969px) {
		#show968 {
			display:block;
		}
		
		#hide968 {
			display:none;
		}
	}
	
	@media (max-width: 767px) {
		#topButtonsResponse {
			display:block;
		}
	
		#topButtons {
			display:none;
		}
	}
	
	@media (min-width: 768px) {
		#topButtonsResponse {
			display:none;
		}
	}
		
	.search-query {
		width:150px;
	}
	
	.brand {
		max-height: 40px;
		overflow: visible;
		padding-top: 0;
		padding-bottom: 0;
		margin-top:-20px;
		margin-right:50px;
	}
	
	.subnav {
		z-index:333;
    	top: 40px;
	}
	

	
	.nav li {
		text-transform:uppercase;
	}
	
	.sidebar-nav li {
		text-transform:none;
		margin-top:8px;
	}
	
	#mnu1 a, #mnu2 a, #mnu3 a, #mnu4 a, #mnu5 a, #mnu6 a, #mnu7 a {
		padding-left:0;
	}
	
	#subnavlist li a {
		padding-left:0;
	}
	
	#frontright img {
		margin-top:15px;
		margin-bottom:15px;
		margin-right:15px;
	}
	
	.row a {
		color:#0099cc;
	}
	
	#topnav1, #topnav2 {
		font-size:14px;
		text-shadow:none;
	}
	
	#topnav1 {
		margin-right:-10px;
	}




@media all and (min-width: 1088px) {
    #topnav2 { margin-right:-52px; }
}

@media all and (max-width: 1087px) {
    #topnav2 { margin-right:-16px; }
}



	body {
	  	margin-top:89px;
	}
	
	.span4 p {
		text-align:left;
	}
	
	#bottomcol1, #bottomcol2, #bottomcol3, #bottomcol4, #bottomcol5, #bottomcol6, #bottomcol7 {
		float:left;
		font-size:14px;
		color:#999999;
		margin-right:13px;
		margin-top:20px;
	}






#galleria{
  	width: 100%;
  	height: 400px;
  	max-width:1400px;
  	background: #000l;
	margin-top:90px;
}

.galleria-container {
	background-color:black !important;
	margin:0 !important;
	padding:0 !important;
}


#galleria img{
  	width: 1400px;
  	max-width:1400px;
}
  		
.galleria-stage { 

	height:400px;
	width:100%;
	position: absolute; 
	top: 0; 
	bottom: 0; 
	left: 0; 
	right: 0; 
	overflow:hidden;
}

#galleria2 .galleria-stage { 

	height:242px !important;
	max-height:242px;
	width:100%;
	position: absolute; 
	top: 0; 
	bottom: 0; 
	left: 0; 
	right: 0; 
	overflow:hidden;
}
.galleria-image {
	background:none !important;
}


#slide2 {
  /* black for browsers which cannot support rgba */
  background-color: #000;

  /* 70% opacity for supported browsers */
  background-color: rgba(0, 0, 0, 0.7);

  /* IE 5.5+ support #BB000000 is ~70% opacity on black */
  filter:progid:DXImageTransform.Microsoft.gradient(
    startColorstr=#BB000000, endColorstr=#BB000000
  );

  /* IE 8 support */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(
    startColorstr=#BB000000, endColorstr=#BB000000
  )";
}

#slide2 h2, #slide2 h4 {
	text-shadow: 0px 0px 9px black;
}



.galleria-stage { 
position: absolute !important; 
top: 0 !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
overflow:hidden; 
}

.galleria-thumbnails-container, .galleria-counter {
	display:none !important;
}

.dropdownf, .dropdownf2 {
	width:292px;
	position:absolute;
	display:none;
	background-color:white;
	z-index:100000;
}



.leftsearchrow {
	float:left;
}

.rightsearchrow {
	float:left;
	margin-left:12px;
}

#advSearchDiv {
	width:100%;
}

body, h1, h2, h3, h4, h5, h6, p, span, a, div {
	font-family: 'Metrophobic', Arial, serif !important;
}

ol, ul, p {
	padding-bottom:10px;
}

.span9 p {
	padding-bottom:0px;
	margin-bottom:25px;
}

footer a{
	color:#999 !important;
}

footer span a{
	color:white !important;
}

.footnote-identifier-link {
	font-weight:bold;
}

#topnav1, #topnav2 li a{
	color:black;
	font-weight:bold;
}

.bottomHeader {
	color:white !important;
}

@media (min-width: 1200px) {
	.footercenter {
	  	margin-left:auto;
		margin-right:auto;
		max-width:985px;
  }
}


@media (max-width: 1199px) {
	.footercenter {
	  	margin-left:auto;
		margin-right:auto;
		max-width:700px;
  }
}



ul.nav li.dropdown:hover > ul.dropdown-menu{
    display: block;    
}

.navbar .dropdown-menu {
	margin-top: 0px;
}

input.search-query {
    background-color:#c2c2c2 !important;
    color:black !important;
	border-radius: 0px !important;
	text-shadow:none !important;
  	height:16px;
  	margin-top:4px;
}

#searchButton {
	margin-top:5px;
  	margin-right:10px;
}


input.search-query::-webkit-input-placeholder {
    color: black !important;
}

input.search-query:-moz-placeholder {
    color: black !important;
}

.slb_container {
	width:100% !important;
	max-width:500px !important;
}

.slb_content {
	margin-left:auto !important;
	margin-right:auto !important;
 	height:auto !important;
  	width:100% !important;
}

.slb_data_desc {
	font-size:120%;	
}

.slb_data_title {
	font-size:23px !important;
}

.slb_data_title .subTag {
	font-size:20px !important;
}

.imageTableExperts {
	width:100%;
}

.imageItem {
  width: 25%;
}

.span9 li {
margin: 14px 0 !important;
}

a.shifted_anchor {
  position: relative;
  top: -85px;
  margin: 0;
  padding: 0;
  float: left;
}

blockquote{background:#f9f9f9;border-left:1em solid #eee;margin:1.5em 1em;padding:.5em 1em;quotes:"\201C""\201D";}

blockquote:before{color:#808080;content:open-quote;font-size:4em;line-height:.1em;margin-right:.25em;vertical-align:-.4em;}

blockquote :first-child{display:inline;}

blockquote :last-child{margin-bottom:0;}

blockquote:after {color:#808080;content:close-quote;font-size:4em;line-height:.1em;margin-left: .20em;vertical-align:-.4em;}

.playbutton {
   position: absolute;
   display: block;
   background: url(/img/play.png);
   height: 48px;
   width: 48px;
   margin-top: -24px;
   margin-left: -24px;
   left:50%;
   top:50%;
}
  
.video {
	   position:relative;
  	   width:400px;
}

#commentform {
    border: 3px solid lightgray;
    padding: 5px;
    border-radius: 4px;
    background: rgb(249, 249, 249);
}

#comment {
  width:97%;
  height:120px;
}

.load-gravatar.avatar.avatar-48.photo {
	  display:none;
}

.commentlist li article {
		margin-top:0px;
}
	  
.commentlist li {
		  padding:6px;
		  border: 3px solid lightgray;
		  border-radius:4px;
		  background:rgb(249, 249, 249);
}

.twitter-share-button.twitter-count-horizontal {
	  width:84px !important;
	  margin-left:10px;
}
	
.emailButton {
	border: 1px solid #cad4e7;
	border-radius: 3px;
	background: #eceef5;
	padding-top: 4px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 11px;
	margin-right:8px;
}

.storiesTable td img {
	max-width:100px;
	height:auto;
  }

  
.story-thumb-table img {
	width:100px !important;
	height:auto !important;
}
  
.story-thumb-table {
	width:100px;	
}
	  
.story-spacer {
	width:20px;		
}



#galleria {
	height:400px;
	overflow:hidden;
}


.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:11px;
line-height:13px;
}
 
.pagination span, .pagination a {
display:block;
float:left;
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#fff;
background: #555;
}
 
.pagination a:hover{
color:#fff;
background: #3279BB;
}
 
.pagination .current{
padding:6px 9px 5px 9px;
background: #3279BB;
color:#fff;
}


@media (max-width: 842px) {
	#galleria img {
		margin-left:209px !important;
	}
}
  
@media (min-width: 843px) {
	#galleria img {
		margin-left:0px !important;
	}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


@media (max-width: 767px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom,
  .navbar-static-top {
    margin-right: 0px !important;
    margin-left: 0px !important;
  }
  }
	
.imageItem div p  {
	font-size:14px !important;
}
  
.imageItem div {
	font-size:14px !important;
	min-height:346px;
}

.copyright {
	color:#999 !important;
}

.dc {
	margin-top:-6px;
	margin-left:-20px;
	height:18px;
	width:18px;
}




.gallery-columns-3 .gallery-item {
	  width:30%;
	  float:left;
	  margin:3px;
	  padding-top:20px;
}
	
dd {
  margin-left:0;
  font-size:80%;
}

.gallery-icon  {
	overflow:hidden;
	height:123px;
	width:210px;
}

#TB_caption {
  font-size:120%;
}

#aswift_0_anchor, #adunit, #aswift_0, #aswift_0_anchor, #gaiframe, #pf-dialog, .pf-dialog, #pf-dialog-ads {
  display:none !important;
  height:1px !important
  width:3px !important;
  visibility:hidden !important;
}

#pf-dialog-ads {
	height:0 !important;
}

#WidgetLauncher {
	margin:0 !important;
}

/* EDITS BY WPLC */
/* body.home .span4 {
  width: 190px;
}

body.home .row {
  max-width: 670px;
float: left;
}

body.home #twitterarea {
  display: block;
  float: right;
  margin-top: -213px;
  width: 333px;
}

*/

/* THIS IS THE CODE TO EDIT INFOGRAPHIC POSTS. CHANGE THE POSTID NUMBER TO THE CORRECT POST ID */ 
body.postid-10045 h1.entry-title {display: none;} /* REMOVES THE TITLE */
body.postid-10045 .span9 > p {display: none;} /* REMOVES THE DATE */
body.postid-10045 .row-fluid .span3 {display: none;} /* REMOVES THE SIDEBAR */
body.postid-10045 .row-fluid .span9 {width: 100%;overflow:hidden;} /* MAKES THE MAIN AREA FULL WIDTH */
/********************/

/* THIS IS THE CODE TO EDIT INFOGRAPHIC POSTS. CHANGE THE POSTID NUMBER TO THE CORRECT POST ID */ 
body.postid-9240 .row-fluid .span3 {display: none;} /* REMOVES THE SIDEBAR */
body.postid-9240 .row-fluid .span9 {width: 100%;overflow:hidden;} /* MAKES THE MAIN AREA FULL WIDTH */
/********************/

/* THIS IS THE CODE TO EDIT INFOGRAPHIC POSTS. CHANGE THE POSTID NUMBER TO THE CORRECT POST ID */ 
body.postid-9898 h1.entry-title {display: none;} /* REMOVES THE TITLE */
body.postid-9898 .span9 > p {display: none;} /* REMOVES THE DATE */
body.postid-9898 .row-fluid .span3 {display: none;} /* REMOVES THE SIDEBAR */
body.postid-9898 .row-fluid .span9 {width: 100%;overflow:hidden;} /* MAKES THE MAIN AREA FULL WIDTH */
/********************/

/* THIS IS THE CODE TO EDIT INFOGRAPHIC POSTS. CHANGE THE POSTID NUMBER TO THE CORRECT POST ID */ 
.page-id-10848 .entry-title {display: none;}
body.page-id-10848 .entry-title {display: none;}
/********************/

/* THIS IS THE CODE TO EDIT INFOGRAPHIC POSTS. CHANGE THE POSTID NUMBER TO THE CORRECT POST ID */ 
body.postid-12141 .span9 > p {display: none;} /* REMOVES THE DATE */
/********************/

.page-id-11044  .entry-title {display: none;}

.story-thumb-table img {
  height: 175px !important;
  width: auto !important;
max-width: none;
margin: -100%;
}

.storyThumb {
  overflow: hidden;
  width: 100px;
text-align: center;
height: 175px;
line-height: 175px;
}

#largeimage img {
  height: auto;
  width: 950px;
}


body.page-template-page-featured-image .row-fluid [class*="span"] {
  margin-left: 0;
}

body.page-template-page-featured-image .row-fluid .span3 {
  margin-left: 23px;
  width: 20.077%;
}

#twitterarea {display: none;}
body.home #twitterarea {display: block;}

#twitterarea {
  border: 1px solid #ccc;
  float: right;
  margin-right: 63px;
  margin-top: -261px;
  padding: 5px 10px;
}

.timeline-footer {
    display: none;
}

body.tag .story-thumb-table img {
    margin: -50%;
}


@media all and (max-width: 768px) {body.home #twitterarea {display: none;}}




/* added 6-9-2016 to fix admin bar */
.admin-bar.logged-in .navbar-inverse {
    top: 32px;
}

.admin-bar.logged-in .subnav {
    top:69px;
}

.admin-bar.logged-in {
    margin-top: 124px;
}

body #wpadminbar {
    width:100% !important;
}

@media(max-width:782px) {
	.admin-bar.logged-in .navbar-fixed-top {
	    top: 46px;
	}
}

@media(max-width:600px) {
	.admin-bar.logged-in .navbar-fixed-top {
	    top: 0px;
	}
}