/*
Theme Name: NAPSG
Author: Joslex, LLC
Author URI: http://joslex.com
*/

/* v2 */

img{
	max-width: 100%;
	height:auto;
}

.resource-search-results {
	padding-top: 30px; 
}

.resource-search-results article.hentry {
	margin-top: 30px;
	padding-bottom: 30px;
	border-bottom: solid 1px #ddd; 
}

.resource-search-results .byline ul.resource-cat-list,
.resource-search-results .byline ul.resource-cat-list li {
    margin: 0;
    display: inline-block;
    padding: 0;
    float: none;
    list-style: none;
}

.paging-navigation {
	padding: 20px 0 40px;
    border-bottom: solid 1px #ddd;
}

.paging-navigation .nav-previous {
	float: left;
}

.paging-navigation .nav-next {
	float: right;
}

.related-recent-posts p {
	margin-bottom: 12px;
}

.related-recent-posts p a {
	text-decoration: none;
}

.related-recent-posts p a:hover {
	color: #000;
}

#swp_category_limiter {
    margin-bottom: 10px;
    font-size: 16px;
}

.search-field,
.widget #swpquery {
    width: 185px;
}

.widget .searchwp-search-form label {
	display: none;
}

.page-template .site-content.full-width {
	width: 100%;
	float: none;
}

.page-template .site-content .resource-container{
	padding: 20px 20px 40px;
	background-color: rgba(247,247,247, 1);
	margin-bottom: 50px;
}

.page-template .site-content .resource-container .pagination {
	margin-top: 30px;
}

.page-template .site-content .resource-title {
	margin-bottom: 20px;
}

.page-template .site-content .hentry {
	margin-top: 30px;
    border-bottom: 1px solid #b0c2cc;
    padding-bottom: 15px;
	position: relative;
}

.page-template .site-content .hentry .entry-title {
	text-transform: inherit;
    font-size: 14px;
    margin-bottom: 30px;
}

.page-template .site-content .hentry .entry-title a {
	color: #2a2a2a;
	text-decoration: none;
}

.page-template .site-content .hentry .napsg-read-more {
	background-color: #b0c2cc;
    border: 1px solid #a4b6c0;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    display: inline-block;
}

.page-template .site-content .hentry .napsg-read-more:hover {
	background: #1e73b4;
    border: 1px solid #1267a8;
}

.page-template .site-content .hentry .excerpt {
	padding-right: 20%;
}

.page-template .archive-header .archive-title {
	font-size: 26px;
	margin-bottom: 20px;
}

.page-template .archive-description {
	width: 65%;
	float: left;
}

.page-template .archive-extras {
	width: 32%;
    float: right;
}

.page-template .archive-extras .search-title {
	font-size: 20px;
}

.page-template .archive-extras label {
	display: none;
}

.page-template .archive-extras #swp_category_limiter {
	width: 100%;
}

.page-template .archive-header {
	margin-bottom: 60px;
}

.page-template .recent-posts {
	
}

.page-template .recent-posts .posts {
	width: 47.5%;
	float: left;
}

.page-template .recent-posts .right {
	float: right;
}

.page-template .recent-posts .left {
	border-right: 1px solid #b0c2cc;
    padding-right: 20px;
    margin-right: 20px;
}

.page-template .recent-posts .post-title {
	font-size: 20px;
	margin-bottom: 30px;
}

.page-template .recent-posts ul {
    padding-left: 0;
    list-style: none;
    font-weight: 700;
}

.page-template .recent-posts ul li {
	margin-bottom: 12px;
}

.page-template .recent-posts ul li a {
    color: #1e74b4;
	text-decoration: none;
}



.page-template-napsg-resource-template #sidebar {
	float: left;
	width: 30%;
	border: 0;
    padding: 0;
    margin: 0;
}

.has-sidebar.page-template-napsg-resource-template #content {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.page-template-napsg-resource-template .site-content .hentry .excerpt {
    padding-right: 30%;
}

.page-template-napsg-resource-template .archive-header {
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.sidebar .resource-categories {
    border: 2px solid #000;
    padding: 20px;
}

.sidebar .resource-categories h2 {
	margin-bottom: 30px;
}

.resource-categories ul {
	list-style: none;
	padding-left: 0;
	text-align: center;
	
}

.resource-categories ul li {
	margin-bottom: 30px;
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ddd;
	width: 225px;
    margin-right: 20px;
    padding: 30px 0px;
    font-weight: 400;
}

.resource-categories ul li .inner {
    width: 140px;
    margin: 0 auto;
}

.resource-categories ul li span {
	margin-top: 5px;
	display: block;
}

.resource-categories ul li#library span {
	padding: 0 40px;
}

.resource-categories ul li .category-icon{
    width: 80px;
    height: 65px;
    margin: 0 auto;
}
.resource-categories ul li a {
	color: #333;
    text-decoration: none;
}

.resource-categories ul li:hover {
	border-color: #999;
	transition:all .3s ease;
	-webkit-transition:all .3s ease;
	-moz-transition:all .3s ease;
	-o-transition:all .3s ease;
}

.resource-categories ul li:hover a {
	color: #999;
	transition:all .3s ease;
	-webkit-transition:all .3s ease;
	-moz-transition:all .3s ease;
	-o-transition:all .3s ease;
}

.box{
	background: #f7f7f7;
    border: 1px solid #ddd;
    padding:30px;
    margin:1em 0;
    display:block;
    width:25%;
}

.box:hover{
	border-color: #999;
	transition:all .3s ease;
	-webkit-transition:all .3s ease;
	-moz-transition:all .3s ease;
	-o-transition:all .3s ease;
}

.box .box-icon{
	margin:0 auto 10px auto;
	clear:both;
	display:block;
}

.box span{
	clear:both;
	text-align: center;
	display:block;
}

@media only screen and (max-width: 980px) {
.page-template-napsg-resource-template #sidebar,
.has-sidebar.page-template-napsg-resource-template #content {
	width: 100%;
	float: none;
	margin: 0;
}
.page-template-napsg-resource-template #sidebar {
	margin-bottom: 30px;
}

}

@media only screen and (max-width: 860px) {
.page-template .recent-posts .posts {
	width: 46.5%;
}
}

@media only screen and (max-width: 835px) {
.page-template .archive-extras input[type="submit"] {
	margin-top: 5px;
}
}

@media only screen and (max-width: 768px) {
.page-template .site-content .hentry .napsg-read-more {
position: relative;
    top: auto;
    right: auto;
}

.page-template .site-content .hentry .excerpt {
padding-right: 0;
}
}

@media only screen and (max-width: 625px) {
.page-template .recent-posts .posts {
    width: 46.3%;
}
}

@media only screen and (max-width: 600px) {
.page-template .archive-description,
.page-template .archive-extras {
    width: 100%;
    float: none;
}
 
.page-template .archive-extras #swp_category_limiter {
padding: 8px;
}

.page-template .archive-description {
margin-bottom: 20px;
}

.page-template .recent-posts .posts {
	width: 100%;
	float: none;
	margin-bottom: 30px;
	padding-right: 0;
	border: 0;
	margin-right: 0;
}
.page-template .recent-posts .posts.right {
	margin-bottom: 0;
}
.box{
	width:80%;
}
}

@media only screen and (max-width: 500px) {
.resource-categories ul li {
	width: 210px;
	margin: 0 auto 30px;
}
.resource-categories ul li:nth-of-type(2n) {
    margin-right: auto;
}
}

.event-buttons{
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}

.event-button{
	width:45%;
	margin:10px 0;
}

@media(min-width:769px){
	.event-button{
		width:16%;
	}
}