
/* Responsive CSS Style */

@media only screen and (min-width: 960px) and (max-width: 1119px) {
	.container {
		width: 940px;
	}
	#primary {
		width: 615px;
	}
	.sf-menu li {
		a {
			font-size: 13px;
		}
		li a {
			font-size: 13px;
		}
	}
	.search-icon .genericon {
		font-size: 13px;
	}
	#primary-menu {
		margin-left: 15px;
	}
	#featured-content {
		.bx-wrapper,
		.bxslider,
		.thumbnail-link {
			height: 316px;
		}
	}
	.content-list {
		.thumbnail-link {
			width: 200px;
		}
	}
	.footer-columns {
		.footer-column-1,
		.footer-column-2,
		.footer-column-3,
		.footer-column-4 {
			width: 212px;
		}			
	}
	.entry-related .hentry {
		width: 270px;
		&.last {
			margin-right: 25px;
		}
		&:nth-of-type(2n) {
			margin-right: 0;
		}
		&:nth-of-type(2n+1) {
			clear: left;
		}
		&:nth-of-type(3n+1) {
			clear: none;
		}
	}
	.comment-form {
		.comment-form-author,
		.comment-form-email,
		.comment-form-url {
			width: 171px;
		}
	}

}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {

	#primary-nav {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
	#slick-mobile-menu {
		display: block;
	}

	.container {
		width: 98%;
	}
	.site-header {
		height: 75px;
		.search-icon {
			right: 1%;
		}		
	}
	.search-icon span span {
		display: none;
	}
	#featured-content {
		background-color: transparent;		
		padding: 0;
	}

	.bxslider {
		display: none;
		height: 100%;
	}	
	#featured-content {
		.bx-wrapper,
		.bxslider,
		.thumbnail-link {
			height: 100%;
		}
	}	
	.bx-wrapper {
		background-color: transparent;
		background: none;
	}	
	#primary {
		float: none;
		width: 100%;
		margin-bottom: 25px;
	}
	#secondary {
		float: none;
		width: 100%;
	}

	.sidebar,
	.site-footer {
		.widget_ad .widget-title {
			text-align: left;
		}
		.widget_newsletter {
			background-image: none;
		}
	}	
	#site-bottom {
		text-align: center;
		.site-info {
			float: none;
			margin-bottom: 10px;
		}		
		.footer-nav {
			float: none;
			ul li {
				padding: 0 5px;
			}
		}
	}
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	.entry-related .hentry {
		width: 31.33333%;
		margin-right: 3%;
	}
	.footer-columns {
		.footer-column-1,
		.footer-column-2,
		.footer-column-3,
		.footer-column-4 {
			width: 49%;
			margin-right: 2%;
		}
		.footer-column-2,
		.footer-column-4 {
			margin-right: 0;
		}
		.footer-column-3 {
			clear: left;
		}		
	}
	.comment-form {
		.comment-form-author,
		.comment-form-email {
			width: 32%;
			margin-right: 2%;			
		}
		.comment-form-url {
			width: 32%;
		}
	}
	
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	.site-content {
		padding: 15px 0;
	}
	#featured-content {
		.featured-slide .entry-header {
			bottom: 0;
		}
	}
	.entry-summary {
		clear: both;
		display: block;
		&:before {
			content: " ";
			display: block;
			clear: both; 
		}
	}	
	.single .entry-header {
		margin-bottom: 20px;
		.entry-author {
			display: none;
		}
	}
	.comment-form {
		.comment-form-author,
		.comment-form-email,
		.comment-form-url {
			width: 100%;
		}
	}	
	.footer-columns {
		.footer-column-1,
		.footer-column-2,
		.footer-column-3,
		.footer-column-4 {
			width: 100%;
			margin: 0 0 0 0;
		}
		.footer-column-4 {
			border-bottom: none;
			margin-bottom: 0;
		}
	}
	.content-search {
		.thumbnail-link {
			width: 48px;
		}
		.entry-title {
			display: table;
		}
		.entry-meta {
			display: none;
		}
	}
	.error-404 {
		.page-content .search-form input.search-field {
			width: 200px;
		}
	}
	#site-bottom {
		text-align: center;
		.site-info {
			float: none;
			margin-bottom: 10px;
		}
		.footer-nav li {
			margin: 0 5px;
		}
	}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.site-main {
		padding: 15px;
	}	
	#featured-content {
		margin-bottom: 15px;
		.featured-slide .entry-title {
			font-size: 24px;
		}
	}
	.content-list {
		.thumbnail-link {
			width: 140px;
			margin: 0 20px 20px 0;
		}
		.entry-title {
			display: table;
			font-size: 18px;
		}

		.entry-comment {
			display: none;
		}
	}
	.entry-related {
		.hentry {
			width: 48%;
			margin: 0 4% 20px 0;
			&.last {
				margin-right: 4%;
			}			
			&:nth-of-type(2n) {
				margin-right: 0;
			}		
			&:nth-of-type(2n+1) {
				clear: left;
			}
			&:nth-of-type(3n+1) {
				clear: none;
			}
		}
	}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	.site-content {
		padding: 10px 0;
	}
	.site-branding { 
		img {
			max-height: 60px;
		}
	}
	.site-title {
		font-size: 24px;
	}
	.site-main {
		padding: 10px;
	}	
	.slicknav_btn {
		margin-right: 40px;
	}
	#featured-content {
		margin-bottom: 10px;
		.featured-slide .entry-title {
			font-size: 18px;
		}
	}
	.bx-wrapper .bx-controls-direction a {
		height: 54px;
		margin-top: -27px;
	}
	.bx-wrapper .bx-prev {
		background-position: 0 -83px;
	}
	.bx-wrapper .bx-prev:hover {
		background-position: 0 -9px;
	}
	.bx-wrapper .bx-next {
		background-position: -40px -83px;
	}
	.bx-wrapper .bx-next:hover {
		background-position: -40px -9px;
	}		
	.content-list {
		.hentry {
			margin-bottom: 15px;
			padding-bottom: 15px;
		}
		.thumbnail-link {
			float: none;
			display: block;
			width: 100%;
			margin: 0 0 10px 0;
		}
		.entry-comment {
			display: none;
		}
		.entry-title {
			font-size: 18px;
		}
		.entry-category a {
			height: 24px;
			line-height: 24px;
			padding: 0 6px;
		}
	}	
	.single #primary .entry-comment {
		display: none;
	}
	.entry-related {
		.hentry {
			width: 100%;
		}
	}	
	.pagination .page-numbers {
		font-size: 13px;
		padding: 0 10px;
		height: 30px;
		line-height: 30px;
	}
	.page-title,
	.single h1.entry-title, 
	.page h1.entry-title {
		font-size: 24px;
	}

	#comments,
	.comment-respond {
		.comment-metadata {
			display: none;
		}
	}
}