/*
Theme Name: Dogster Theme
Theme URI: 
Author: i5 Publishing
Version: 1.0.1
*/


/*
Required WordPress CSS
*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.bypostauthor {
}
.gallery-caption {
}
.sticky {
}
.wp-caption-text{
	color:#777;
	font-size:12px;
        font-style:italic;
}
.wp-caption-text a{
	color:#777;
	text-decoration:underline !important;
        font-style:italic;
}
span.fb_button_text {
	display:none;
}
#dmg-home-hero a div.meta {
	background:#000000;
	position:relative;
	width:100%;
}
#dmg-home-hero a div.topic-name {
	margin:0 4px 8px -18px;
}
@media(min-width:992px) and (max-width:1200px){
	#dmg-nav-bar ul#dmg-topnav {
		font-size: 0.8em;
	}
	#dmg-nav-bar ul#dmg-topnav li a {
		padding: 11px 18px;
	}
}
@media(max-width:991px){
	div#dmg-container.container {
	width: 100%;
  padding: 0px 5px;
	}
	#dmg-home-hero a div.meta {
  background: #000;
  height: auto;
  margin: 0;
  overflow:visible;
  padding: 18px 15px 15px 18px;
  position: relative;
  display:block;
  right: 0;
  text-overflow: ellipsis;
  top: 0;
  bottom: 0;
  width: auto;
	}
	.dmg-home-hero a div.title {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.0em;
  border-bottom: 1px solid #777777;
  color: white;
  padding: 5px 0 15px 0;
	}
	#dmg-home-hero a div.topic-name {
  color: white;
  font-family: rooney-web, "Rockwell", "Chaparral Pro", Helvetica, Arial, Verdana, serif;
  font-style: normal;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5em;
  background-color: #286d32;
  background-repeat: repeat-x;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #47ab58), color-stop(100%, #286d32));
  background-image: -webkit-linear-gradient(#47ab58, #286d32);
  background-image: -moz-linear-gradient(#47ab58, #286d32);
  background-image: -o-linear-gradient(#47ab58, #286d32);
  background-image: -ms-linear-gradient(#47ab58, #286d32);
  background-image: -khtml-gradient(linear, left top, left bottom, from(#47ab58), to(#286d32));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#47ab58', endColorstr='#286d32', GradientType=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#47ab58', endColorstr='#286d32', GradientType=0)";
  background-image: linear-gradient(#47ab58, #286d32);
  height: auto;
  letter-spacing: 0.05em;
  margin: 0 4px 8px -20px;
  max-width:none;
  overflow: visible;
  display:inline-block;
  padding: 3px 6px;
  text-transform: uppercase;
  z-index: 1;
	}
	#dmg-coverlines .coverline {
		max-width: 100%;
		margin:10px 0;
	}
	span.dmg-img img {
		display: block;
		margin: 0px auto;
	}
	#dmg-nav-bar ul#dmg-topnav li a {
		font-size: 0.8em;
		padding: 8px;
	}
	div.tertiary-links {
		max-width: 100%;
	}
}



/* for responsive video
    This element defines the size the iframe will take.
   In this example we want to have a ratio of 25:14 
   https://stackoverflow.com/questions/25302836/responsive-video-iframes-keeping-aspect-ratio-with-only-css */
.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56%; /* The height of the item will now be 56% of the width. */
}

/* Adjust the iframe so it's rendered in the outer-width and outer-height of it's parent */
.aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* sortable leaderboard ad*/
@media screen and (min-width: 767px) {
[data-ad-name="homepage_leaderboard_top_728x90"]
{ width: 728px; height: 90px; }

}