
/* Responsive CSS Style */
@media only screen and (max-width: 1240px) {
	.side-ad {
		display: none !important;
		visibility: hidden !important;
	}
}
@media only screen and (min-width: 960px) and (max-width: 1079px) {
	body {
		font-size: 15px;
	}
	.container {
		width: 950px;
	}
	.header-search {
		width: 260px;
		margin-left: -130px;
		.search-input {
			width: 260px;
		}
	}
	#primary-menu li a {
		font-size: 13px;
	}
	.main-menu {
		padding-left: 0;
	}
	.main-menu li a {
		font-size: 13px;
		margin-left: 5px;
	}
	.home-content {
		width: 630px;
	}
	#primary {
		width: 630px;
	}
	.home-headline h2 {
		font-size: 26px;
	}
	.home-latest ul li:nth-of-type(1), 
	.home-latest ul li:nth-of-type(6), 
	.home-latest ul li:nth-of-type(11),
	.home-latest ul li {
		font-size: 15px;
		margin-bottom: 5px;
	}
	.primary-block-3 .post-big .entry-title,
	.primary-block-3 .post-small .entry-title {
		font-size: 14px;
	}
	.sideba .widget,
	.sidebar .widget ul > li {
		font-size: 15px;
	}
	.content-loop {
		.thumbnail-link {
			width: 240px;
		}
		.entry-title {
			font-size: 1.2em;
		}
		.entry-meta {
			display: none;
		}
	}

}

@media only screen and (min-width: 959px) {
	.mobile-menu {
		display: none;
	}
}
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	.main-nav {
		display: none;
	}
	.site-desc {
		top: 16px;
	}	
	/* Mobile Menu */
	.mobile-nav {
		margin: 0;
		padding: 9px 0 9px 15px;	
		&:after {
			clear: both;
			content: " ";
			display: block;
		}			
		li {
			float: left;
			a {
				color: #fff;
				font-size: 14px;
				.fa {
					display: none;
				}
			}
		}
	}	
	#secondary,
	.footer-partners {
		display: none;
	}		
	.site-content {
		margin-top: 10px;
		&:before {
			display: none;
			content: none;
		}	
	}
	.site-header {
		height: 60px;
		position: relative;
		.search-icon {
			margin-right: 0;
		}		
	}
	.site-branding {
		height: 60px;
		#logo {
			height: 58px;
			margin-top: 1px;
		}
		img {
			max-height: 58px;
		}
		.site-title {
			line-height: 60px;
			margin: 0;
		}
		.site-description {
			display: none;
		}
	}	
	.site-start {
		height: 60px;
		position: relative;
	}
	#primary-bar,
	.header-icons {
		display: none;
	}
	.header-search {
		top: 10px;
		left: auto;
		right: 0;
		margin-left: 0;
		width: 235px;
		.search-input {
			width: 235px;
		}
		.search-submit {
			padding: 0 10px;
		}
	}
	.container {
		width: 98%;
	}
	#primary{
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}		
	.site-footer {
		width: 100%;
	}
	#secondary-nav,
	#primary-nav {
		display: none;
	}
	#secondary-bar {
		border-bottom: none;
		height: 0;
		position: absolute;
	}

	#primary {
		float: none;
	}
	#secondary {
		display: none;
	}
	.site-footer {
		.widget_ad {
			text-align: center;
		}
	}
	#site-bottom {
		text-align: center;
		.site-info {
			float: none;
			margin-bottom: 5px;
		}		
		.footer-nav {
			float: none;
			ul li {
				padding: 0 5px;
			}
		}
	}
	.breadcrumbs {
		padding-bottom: 10px;
	}
	.content-loop {
		.entry-meta {
			font-size: 12px;
		}
		.entry-date {
			display: none;
		}
	}		
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.mobile-nav {
		&.tablet_menu_col_1 ul li {
			width: 100%;
		}
		&.tablet_menu_col_2 ul li {
			width: 50%;
		}
		&.tablet_menu_col_3 ul li {
			width: 33.3333%;
		}
		&.tablet_menu_col_4 ul li {
			width: 25%;
		}
		&.tablet_menu_col_5 ul li {
			width: 20%;
		}
		&.tablet_menu_col_6 ul li {
			width: 16.6666%;
		}
		&.tablet_menu_col_7 ul li {
			width: 14.2857%;
		}
		&.tablet_menu_col_8 ul li {
			width: 12.5%;
		}
		&.flexible-menu {
		}				
	} 	
	.header-ad {
		margin-top: 10px;
	}		
	.ztbb_grid_1_3 {
		width: 50%;
	}

	.section-links .section-links-wrap {
		&.row-num-1 .link-item {
			width: 100%;		
		}
		&.row-num-2 .link-item {
			width: 50%;		
		}
		&.row-num-3 .link-item {
			width: 33.33333%;						
		}		
		&.row-num-4 .link-item {
			width: 25%;		
			&:nth-of-type(4n+1) {
				clear: left;
			}
		}	
		&.row-num-5 .link-item {
			width: 20%;		
			&:nth-of-type(5n+1) {
				clear: left;
			}
		}	
		&.row-num-6 .link-item {
			width: 20%;		
			&:nth-of-type(6n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}
		&.row-num-7 .link-item {
			width: 20%;		
			&:nth-of-type(7n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}
		&.row-num-8 .link-item {
			width: 20%;		
			&:nth-of-type(8n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}	
		&.row-num-9 .link-item {
			width: 20%;		
			&:nth-of-type(9n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}	
		&.row-num-10 .link-item {
			width: 20%;		
			&:nth-of-type(10n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}
		&.row-num-11 .link-item {
			width: 20%;		
			&:nth-of-type(11n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}
		&.row-num-12 .link-item {
			width: 20%;		
			&:nth-of-type(12n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}
		&.row-num-13 .link-item {
			width: 20%;		
			&:nth-of-type(13n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}	
		&.row-num-14 .link-item {
			width: 20%;		
			&:nth-of-type(14n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}	
		&.row-num-15 .link-item {
			width: 20%;		
			&:nth-of-type(15n+1) {
				clear: none;
			}
			&:nth-of-type(5n+1) {
				clear: left;
			}			
		}																		
	}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	.mobile-nav {
		&.phone_menu_col_1 ul li {
			width: 100%;
		}
		&.phone_menu_col_2 ul li {
			width: 50%;
		}
		&.phone_menu_col_3 ul li {
			width: 33.3333%;
		}
		&.phone_menu_col_4 ul li {
			width: 25%;
		}
		&.phone_menu_col_5 ul li {
			width: 20%;
		}
		&.phone_menu_col_6 ul li {
			width: 16.6666%;
		}
		&.phone_menu_col_7 ul li {
			width: 14.2857%;
		}
		&.phone_menu_col_8 ul li {
			width: 12.5%;
		}
		&.flexible-menu {

		}				
	} 		
	.site-desc {
		display: none;
	}
	.header-ad {
		margin-top: 10px;
	}		
	.ztbb_grid_1_2, 
	.ztbb_grid_1_3, 
	.ztbb_grid_1_4, 
	.ztbb_grid_1_5, 
	.ztbb_grid_1_6 {
		padding: 0;
	}
	.home-content {
		float: none;
		width: 100%;
	}	
	.bx-controls-direction {
		display: none;
	}
	.ztbb_grid_1_3,
	.footer-area {
		float: none;
		width: 100%;
	}
	.footer-area {
		padding: 0;
		margin-bottom: 20px;
		&:after {
			clear: both;
			content: " ";
			display: block;
		}
	}
	.single #primary {
		.entry-header {
			.entry-meta {
				float: none;
				margin: 0 0 15px 0;
			}
		}
	}	
	#post-nav {
		.post-previous,
		.post-next {
			float: none;
			width: 100%;
		}
	}
	.error-404,
	.search-no-results {
		.page-content .search-form input.search-field {
			width: 170px;
		}
	}
	.comment-form {
		.comment-form-author,
		.comment-form-email,
		.comment-form-url {
			width: 98.5%;
		}
	}		
	#site-bottom {
		text-align: center;
		.site-info {
			float: none;
			margin-bottom: 5px;
		}
		.footer-nav li {
			margin: 0 5px;
		}
	}
	.bottom-right {
		right: 5px;
		bottom: 5px;
	}
	.section-links {
		border-radius: 0;
		margin-bottom: 10px;
		.widget-title {
			padding: 7px 10px;
		}
	}
	.section-links .section-links-wrap {
		&.link-bold .link-item .link-title {
			font-weight: normal;
		}
		.link-item {
			&.link-image.no-desc .link-title {
				position: static;
				top: 0;
			}
			a {
				border-radius: 0;
				padding: 10px 0 10px 10px;
				&:hover {
					background-color: transparent;
				}
			}
			img {
				max-height: 16px;
				height: 16px;
				margin-right: 5px;
				position: relative;
				top: 0;				
			}
			.link-title {
				font-size: 0.95em;
			}
			.link-desc {
				display: none;
			}
		}
		padding: 0;
		&.row-num-1 .link-item {
			width: 100%;		
		}
		&.row-num-2 .link-item {
			width: 50%;		
		}
		&.row-num-3 .link-item {
			width: 50%;	
			&:nth-of-type(3n+1) {
				clear: none;
			}	
			&:nth-of-type(2n+1) {
				clear: left;
			}						
		}
		&.row-num-4 .link-item {
			width: 50%;		
			&:nth-of-type(2n+1) {
				clear: left;
			}
		}	
		&.row-num-5 .link-item {
			width: 50%;	
			&:nth-of-type(5n+1) {
				clear: none;
			}				
			&:nth-of-type(2n+1) {
				clear: left;
			}
		}	
		&.row-num-6 .link-item {
			width: 50%;		
			&:nth-of-type(6n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}
		&.row-num-7 .link-item {
			width: 50%;		
			&:nth-of-type(7n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}
		&.row-num-8 .link-item {
			width: 50%;		
			&:nth-of-type(8n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}	
		&.row-num-9 .link-item {
			width: 50%;		
			&:nth-of-type(9n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}	
		&.row-num-10 .link-item {
			width: 50%;		
			&:nth-of-type(10n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}
		&.row-num-11 .link-item {
			width: 50%;		
			&:nth-of-type(11n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}
		&.row-num-12 .link-item {
			width: 50%;		
			&:nth-of-type(12n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}
		&.row-num-13 .link-item {
			width: 50%;		
			&:nth-of-type(13n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}	
		&.row-num-14 .link-item {
			width: 50%;		
			&:nth-of-type(14n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}	
		&.row-num-15 .link-item {
			width: 50%;		
			&:nth-of-type(15n+1) {
				clear: none;
			}
			&:nth-of-type(2n+1) {
				clear: left;
			}			
		}																		
	}	
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.content-loop {
		.thumbnail-link {
			width: 180px;
			margin-bottom: 15px;
		}
		.entry-title {
			font-size: 18px;
		}
	}
	.single h1.entry-title {
		font-size: 26px;
	}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	.mobile-nav {
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.header-ad {
		margin-top: 10px;
	}
	.site-title {
		font-size: 22px;
	}
	.search-icon {
		display: block;
	}	
	.header-search {
		background-color: #f5f5f5;
		border: none;
		border-radius: 0;
		display: none;
		width: 100%;
		height: 40px;
		top: 60px;
		.search-input {
			background-color: #f5f5f5;
			border: none;			
			width: 100%;
			&:focus {
				background-color: #f0f0f0;
			}
		}
		.search-submit {
			border-radius: 0;
			top: 0;
			right: 0;
			height: 40px;
			line-height: 40px;
		}
	}
	.container {
		width: 100%;
	}
	.tooltip .bottom {
		min-width: 136px;
		max-width: 136px;
		h3 {
			font-size: 12px;
		}
	}
	.site-content {
		margin-top: 10px;
	}
	.home {
		.site-footer {
			margin-top: 0;
		}
	}
	#primary {
		border-radius: 0;
		padding: 15px;
	}
	.content-loop {
		.hentry {
			padding: 10px 0;
		}
		.entry-header {
			margin-bottom: 0;
		}
		.thumbnail-link {
			width: 32%;
			margin: 0 10px 0 0;
		}
		.entry-title {
			font-size: 1em;
			font-weight: normal;
			line-height: 1.3;
			margin-bottom: 5px;
		}
		.entry-summary {
			display: none;
		}
	}	
	.content-loop .widget_ad {
		padding: 10px 0;
	}
	.site-footer {
		padding: 0 2%;
	}
	#site-bottom {
		padding: 10px 0;
	}
	.single #primary {
		article.hentry {
			padding: 10px 0;
		}
		h1.entry-title {
			font-size: 18px;
			margin-bottom: 10px;
		}
		.custom-share {
			display: none !important;
		}	
		.entry-footer .entry-like {
			//float: none;
		}
		.entry-author,
		.entry-source,
		.single-excerpt,
		.author-box .avatar {
			display: none;
		}
		.entry-content {
			font-size: 1em;
			p {
				text-indent: 0;
			}
		}
		.entry-tags {
			float: none;
			text-align: center;
			span span {
				display: none;
			}
		}	
	}

	.single .navigation {
		padding: 15px 0;
		&:after {
			content: none;
		}
		.nav-left {
			border-bottom: 1px solid #e5e5e5;
			margin-bottom: 15px;
			padding-bottom: 15px;
			padding-right: 15px;
		}
		.nav-right {
			padding-left: 15px;
		}
		.nav-left,
		.nav-right {
			display: block;
			float: none;
			width: 100%;
		}
	}
	.single .entry-related, 
	.single .author-box, 
	.single .comments-area {
	}
	.modal-content {
		width: 290px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.author-box .avatar {
		width: 42px;
	}
	.pagination {
		padding: 20px 0 0 0;
		.page-numbers {
			font-size: 13px;
			padding: 0 10px;
			height: 32px;
			line-height: 32px;
		}
	}
	.page-title,
	.single h1.entry-title, 
	.page h1.entry-title {
		font-size: 24px;
	}
	#comments,
	.comment-respond {
		.comment-metadata {
			display: none;
		}
	}
}