/**********************
*   MEDIA QUERIES      *
***********************/ 

@media only screen and (max-width: 1080px)  {
	#primary-nav ul li.nav-home,
	.showMobile ul li.nav-home {
		display: none;
		visibility: hidden;
	}
	
	#primary-nav ul.nav02,
	article .post-type {
		float: left;
	}
	
	#primary-nav ul.nav01 li a,
	#primary-nav ul.nav02 li a {
		margin: 0 20px 0 0;
	}
	
	.profile-list-item {
		margin-right: 0;
		width: auto;
		float: none;
	}
	
	#primary-content .content-wrap img {
		max-width: 95%;
		height: auto;
	}
	
}




@media only screen and (max-width: 959px)  {
	
	article .post-info {
		float: none;
		width: auto;
		text-align: left;
		padding: 0;
		border: 0;
	}
	
		article .post-info .post-meta {
			padding: 0;
		}
	
		article .post-info time {
			display: inline;
			border: 0;
			padding: 0 0.5em 0 0;
		}
	
		article .post-info time div {
			display: inline;
			font-size: 1.0em;
		}
		
		article .post-info .meta-author {
			display: inline;
			padding: 0 0.5em 0 0;
		}
		
		article .post-info .meta-comments {
			display: inline;
			padding: 0 0.5em 0 0;
			font-family: 'merriweather';
			font-size: 1.0em;
		}
		
		article .post-info .share-menu {
			font-family: 'merriweather';
			font-size: 1.0em;
			
		}
		
			article .post-info .share-menu ul {
				background: #fff;
				padding: 1em !important;
				
			}
			
		.single-post #primary-content .post-categories {
			border-top: 0;
			padding: 0.4em 0 0;
			margin: 0;
		}
			
		.single-post #primary-content .post-categories span,
		.single-post #primary-content ul.single-post-categories,
		.single-post #primary-content ul.single-post-categories li {
			display: inline;
			margin: 0 0.5em 0 0;
		}
		
		
		.single-post #primary-content .post-categories {
			line-height: 1.1em;
			padding: 0 0 1.0em;
		}
		
		.single-post h1 {
			font-size: 1.5em;
		}
		
		.single-post p.lead {
			font-size: 1.1em;
		}
	
	article .the-content {
		width: auto;
		float: none;
	}
	
	h3.comments-header {
		font-size: 1.1em;
	}

	.pagination {
		width: auto;
		float: none;
	}

	.archive-item-category {
		width: auto;
		padding: 0;
		float: none;
	}
	
	.archive-item-category ul {
		padding-bottom: 0 !important;
	}

}


/* move second ad below 1240px */
@media only screen and (min-width: 700px) and (max-width: 1240px) { 

	/* Advertisements */
	#header-boxes{
		display: block;
		width: 100%;
		max-width: 600px;
		margin:0 auto;
	}

	#header-boxes .item01 {
		/* comment all out for single? */ 
		display: block !important;
		visibility: visible !important;
		width: 100%;
		max-width: 600px;
		float: none;
		margin:0 auto;
	}

	#header-boxes img {
		display: block;
		width: 100%;
		height: auto;
		margin:0 auto;
	}

	#header-boxes .item02, #header-boxes .item02 {
		display:none;
	}
	
	#mobileadspace01,
	#mobileadspace02,
	#mobileadspace03 {
		display: block;
		visibility: visible;
		padding: 0 0 3.0em;
		width: 100%;
		max-width: 600px;
		margin:0 auto;
	}
	/* use this to hide if no second ad
	#mobileadspace02{
		display:none;
	}
	*/

	/* use this to hide if no third sidebar ad */
	#mobileadspace03{
		display:none;
	}
	
		.single-post #mobileadspace01,
		.single-post #mobileadspace02,
		.single-post #mobileadspace03 {
			padding: 0 0 0.7em;
		}
	
		#mobileadspace01 img,
		#mobileadspace02 img,
		#mobileadspace03 img {
			display: block;
			width: 100%;
			height: auto;
		}

}


@media only screen and (min-width: 700px) and (max-width: 959px) { 
    /* iPad - vertical */


	#primary-nav ul.nav01 li a,
	#primary-nav ul.nav02 li a {
 		margin: 0 10px 0 0;
	}

    #main-contain {
	
	
    }

	#footer-connect {
		display: none;
		visibility: hidden;
	}

	#footer-slawnet {
		width: 55%;
	}
	
	
	#footer-lawblogs {
		width:40%;
	}
   


}

/* ON PHONES */
@media only screen and (max-width: 699px) { 
	#primary-nav {
		display: none;
	}
	
	#static-header {
		-o-box-shadow: 0 0 10px #114369;
		-moz-box-shadow: 0 0 10px #114369;
		-webkit-box-shadow: 0 0 10px #114369;
		box-shadow: 0 0 10px #114369;
	}

	#slogan,
	#header-boxes .item01,
	#header-boxes .item02,
	#header-search,
	#recent-comments,
	#secondary-content,
	#footer-connect,
	.showMobile ul li.nav-more {
		display: none;
		visibility: hidden;
	}
	
	

	/* Advertisements */
	#header-boxes .item01 {
		display: block !important;
		visibility: visible !important;
		width: 100%;
		max-width: 600px;
		float: none;
	}
	
	#header-boxes img{
		display: block;
		width: 100%;
		height: auto;
	}

	#mobileadspace01,
	#mobileadspace02,
	#mobileadspace03 {
		display: block;
		visibility: visible;
		padding: 0 0 3.0em;
		width: 100%;
		max-width: 600px;
	}
	
		.single-post #mobileadspace01,
		.single-post #mobileadspace02,
		.single-post #mobileadspace03 {
			padding: 0 0 0.7em;
		}
	
		#mobileadspace01 img,
		#mobileadspace02 img,
		#mobileadspace03 img {
			display: block;
			width: 100%;
			height: auto;
		}
		
	/* use to hide 2nd mobile ad if there is none
	#mobileadspace02{
		display:none;
	}
	*/

	/* use to hide 2nd mobile ad if there is none
	#mobileadspace03{
		display:none;
	}	
	*/
	
	.showMobile {
		position: fixed;
		visibility: visible;
	}
	
		.customize-support .showMobile {
			top: 88px;
		}
		

	.showMobile ul,
	.showMobile ul li {
		float: none;
	}
	
	.showMobile ul li div {
		display: none;
	}
	
	#menu-toggle {
		display: block;
		visibility: visible;
	}

	#main-contain {
		padding-top: 60px;
		width: 96%;
		padding-left: 2%;
		padding-right: 2%;
	}
	

	#primary-content,
	#secondary-content {
		width: 100%;
		float: none;
border:0px solid #ccc;
	}
	
	/* comments */
	
	h3.comments-header,
	#primary-content .comments ol,
	#comment-block .comment-author,
	#comment-block .comment-meta,
	#primary-content .comments-reply-area {
		float: none;
		width: auto;
	}
	
	h3.comments-header {
		padding: 0 0 1.0em;
	}
	
	#comment-block .comment-author {
		font-size: 1.0em;
	}
	
	.comments-reply-area input,
	.comments-reply-area textarea {
		width: 90%;
	}
	
	.comments-reply-area span.label-note,
	.comment-submit button {
		float: none;
	}
	
	
	/* author archive pages */
	.author-bio .author-img {
		display: none;
	}
	
	.author-text {
		float: none;
		width: auto;
	}
	
	/* archives */
	.archive-item {
		width: auto;
		padding: 0 0 2em 0;
		float: none;
	}

		#primary-content .archive-group ul {
			padding: 0 0 1.0em;
		}
		
	/* Search */
	
	.search-page input {
		float: none;
		padding: 0.5em 1%;
		width: 98%;
		margin: 0 0 0.5em 0;
	}

	.search-page button {
		float: none;
	}

	/* Footer */
	
	#footer-slawnet {
		width: 57%;
	}
	
	#footer-lawblogs {
		width: 38%;
	}
	

	
	
		
}

@media only screen and (max-width: 499px) { 	
	#footer-slawnet,
	#footer-lawblogs {
		display: none;
		visibility: hidden;
	}
	
	.copyright {
		padding: 0;
		border: 0;
	}
	
		.copyright a {
			display: block;
		}
		
	
	
}


 