
/* Responsive CSS Style */

@media only screen and (min-width: 960px) and (max-width: 1119px) {
	.container {
		width: 940px;
	}
	#primary {
		width: 615px;
	}
	.sf-menu li a {
		text-transform: none;
	}
	#primary-menu {
		margin-left: 15px;
	}
	.menu-item-home {
		display: none;
	}
	.bxslider {
		height: 316px;
	}
	.content-loop {
		.thumbnail-link {
			width: 200px;
		}
		.entry-category {
			position: absolute;
			left: 0;
			top: 0;
		}
		.entry-comment,
		.read-more {
			display: none;
		}
	}
	.content-grid {
		.hentry {
			width: 267px;
		}
		.entry-comment {
			display: 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;
	}
	.header-toggles {
		display: block;
	}
	.container {
		width: 98%;
	}
	.site-header {
		height: 75px;
		.search-icon {
			right: 1%;
		}		
	}
	#featured-content {
		background-color: transparent;		
		padding: 0;
	}
	.bxslider {
		display: none;
		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;
		}
	}	
	#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) {

	.content-grid {
		.hentry {
			width: 48%;
			margin-right: 4%;
			&:nth-of-type(2n) {
				margin-right: 0;
			}
			.entry-comment {
				display: none;
			}
		}
	}

	.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: 10px;
			padding-left: 10px;
			padding-right: 10px;
		}
	}
	.bx-wrapper .bx-controls-direction {
		display: none !important;
	}
	.single .breadcrumbs {
		.post-title {
			display: none;
		}
		.post-category a {
			background: none;
		}
	}
	.entry-share a {
		margin-right: 2px;
		span {
			display: none;
		}
	}
	.entry-summary {
		clear: both;
		display: block;
		&:before {
			content: " ";
			display: block;
			clear: both; 
		}
	}	
	.single .entry-header {
		margin-bottom: 20px;
	}
	.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;
			padding: 0 10px;
		}
		.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-loop {
		.thumbnail-link {
			width: 140px;
			margin: 0 20px 20px 0;
		}
		.entry-title {
			display: table;
			font-size: 18px;
		}

		.entry-comment {
			display: none;
		}
	}
	.content-loop {
		.entry-title {
			font-size: 24px;
		}
	}
	.content-grid {
		.hentry {
			float: none;
			width: 100%;
			margin: 0 0 25px 0;
		}
		.entry-title {
			font-size: 24px;
		}
	}
}

/* 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: 22px;
		}
	}
	.home-featured-ad {
 	   margin: 0 0 4px 0;
	}
	.content-loop {
		.thumbnail-link {
			float: left;
			width: 80px;
			margin: 0 12px 10px 0;
		}
		.entry-meta {
			clear: both;
			margin-top: 10px;
			.entry-category a {
				padding: 0;
			}
		}
		.entry-meta .entry-author,
		.read-more {
			display: none;
		}
		.entry-title {
			font-size: 16px;
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 3;
			-webkit-box-orient: vertical;			
		}
		.entry-category a {
			height: 24px;
			line-height: 24px;
			padding: 0 6px;
		}
	}
	.content-loop {
		.entry-title {
			font-size: 22px;
		}
		.entry-comment {
			display: none;
		}
	}
	.content-grid {
		.hentry {
			float: none;
			width: 100%;
			margin: 0 0 25px 0;
		}
		.entry-title {
			font-size: 22px;
		}
		.entry-comment {
			display: none;
		}		
	}	
	.single #primary .entry-comment {
		display: none;
	}
	.entry-related {
		.hentry {
			float: none;
			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;
	}
	#post-nav {
		.post-previous {
			margin-bottom: 20px;
			&:after {
				clear: both;
				content: " ";
				display: block;
			}
		}
		.post-next {
			border-left: none;
			padding: 0;
			text-align: left;
			.thumbnail-wrap {
				float: left;
				margin: 0 15px 0 0;
			}
		}
	}
	#comments,
	.comment-respond {
		.comment-metadata {
			display: none;
		}
	}
	.sidebar {
		.widget {
			margin-bottom: 10px;
			padding: 10px;
		}
	}
}