/* Large desktop */
@media (min-width: 1001px) {
	ul.menu ul {
		background: #e5e5e5;
	}
	.primary-navigation .main-nav ul.menu > li {
		border-left: 1px solid #e2e0e0;
	}
	.primary-navigation ul.menu li:hover,
	.primary-navigation ul.menu li.current-menu-parent,
	.primary-navigation ul.menu li.current-menu-ancestor,
	.primary-navigation ul.menu li.current-menu-item {
		background: #e2e0e0;
	}
	.secondary-navigation .main-nav ul.menu > li {
		border-left: 1px solid #e2e0e0;
	}
	.primary-navigation .main-nav ul.menu > li:first-child,
	.secondary-navigation .main-nav ul.menu > li:first-child {
		border: none;
	}
	.primary-navigation .main-nav ul.menu > li {
		border-color: #333333;
	}
	.secondary-navigation ul.menu li:hover,
	.secondary-navigation ul.menu li.current-menu-parent,
	.secondary-navigation ul.menu li.current-menu-ancestor,
	.secondary-navigation ul.menu li.current-menu-item {
		background: #e2e0e0;
	}
	.primary-navigation ul.menu li:hover a,
	.primary-navigation ul.menu li.current-menu-parent a,
	.primary-navigation ul.menu li.current-menu-ancestor a,
	.primary-navigation ul.menu li.current-menu-item a {
		color: #000222;
	}
	.secondary-navigation ul.menu li:hover a,
	.secondary-navigation ul.menu li.current-menu-parent a,
	.secondary-navigation ul.menu li.current-menu-ancestor a,
	.secondary-navigation ul.menu li.current-menu-item a {
		color: #010101;
	}
}
/* Portrait tablet to landscape and desktop */
@media screen and (max-width: 1030px) {
	.inner {
		width: 100%;
		max-width: 980px;
		padding: 0 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	ul.menu li.menu-item-has-children > a {
		padding-right: 30px;
	}
	.content-left {
		width: 620px;
		margin-right: 20px;
	}
	.post-item-grid-view > article {
		margin: 0 10px 30px 0;
	}
}
/* Landscape phone to portrait tablet */
@media screen and (max-width: 1023px) {
	* {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.site-branding .logo {
		width: 100%;
		text-align: center;
		margin: 0;
	}


	/* Default Menu */
	ul.menu li a,
	ul.menu > li:first-child > a {
		padding: 10px 15px;
	}

	ul.menu li {
		float: none;
	}

	ul.menu li:hover {
		background: none;
		opacity: 0.9;
	}

	ul.menu li:hover > ul {
		display: none;
	}

	ul.menu li:hover,
	ul.menu li.current-menu-parent, 
	ul.menu li.current-menu-ancestor,
	ul.menu li.current-menu-item {
		background: none !important;
	}

	ul.menu li .arrow-sub-menu {
		display: block;
	}

	ul.menu li .fa-chevron-down {
		padding: 13px;
	}

	ul.menu ul ul {
		left: 0;
	}

	/* Mobile Menu */
	.primary-navigation .inner,
	.secondary-navigation .inner {
		padding: 0;
	}

	.primary-navigation .main-nav ul,
	.secondary-navigation .main-nav ul {
		display: none;
	}

	.primary-navigation .main-nav ul ul {
		width: 100%;
		position: relative;
		background: inherit;
	}

	.primary-navigation .main-nav ul li {
		width: 100%;
		display: inline-block;
		float: none;
		border-bottom: 1px solid #333333;
	}

	.primary-navigation .main-nav ul ul {
		border-top: 1px solid #333333;
	}

	.primary-navigation .main-nav ul ul li:last-child {
		border: none;
	}

	.mobile-menu {
		width: 100%;
		display: inline-block;
		padding: 12px 20px;
		text-decoration: none;
		font-size: 16px;
		color: #333333;
		background: #f3f2f2;
		padding: 10px 15px;
		font-size: 16px;
	}

	.toggle-top-menu {
		color: #e2e0e0;
		background: #000222;
	}

	.mobile-menu:hover {
		text-decoration: none;
	}

	.mobile-menu ul li a {
		color: #010101;
	}

	.mobile-menu > i {
		float: right;
		margin-top: 3px;
	}

	.mobile-menu .mobile-menu .fa-close {
		float: right !important;
	}

	#mobile-menu-wrapper {
		position: fixed;
		top: 0;
		left: 0;
		width: 75%;
		height: 100%;
		min-height: 100%;
		max-height: 100%;
		overflow: scroll;
		background: #f3f2f2;
		-ms-transform: translate(-100%,0);
		-webkit-transform: translate(-100%,0);
		transform: translate(-100%,0);
		-webkit-transition: -webkit-transform 500ms ease;
		transition: transform 500ms ease;
		overflow-x: hidden;
	}

	#mobile-menu-wrapper .inner {
		padding: 0;
	}

	#mobile-menu-wrapper.wpadminbar-active {
		top: 45px;
	}

	.mobile-menu-active #mobile-menu-wrapper {
		-ms-transform: translate(0,0);
		-webkit-transform: translate(0,0);
		transform: translate(0,0);
	}

	.mobile-menu-active .container {
		-ms-transform: translate(75%,0);
		-webkit-transform: translate(75%,0);
		transform: translate(75%,0);
		position: fixed;
		top: 0;
		width: 100%;
	}

	#mobile-menu-wrapper ul li .arrow-sub-menu {
		color: #333333;
	}

	#mobile-menu-wrapper ul li {
		border-bottom: 1px solid #e2e0e0;
	}

	#mobile-menu-wrapper ul ul {
		border-top: 1px solid #e2e0e0;
	}

	#mobile-menu-wrapper ul ul li:last-child {
		border: none;
	}

	#mobile-menu-wrapper ul li a {
		color: #010101;
	}

	#mobile-menu-wrapper .mobile-menu {
		background: #010101;
		color: #ffffff;
	}

	#mobile-menu-wrapper ul li {
		float: none;
	}

	#mobile-menu-wrapper .sub-menu {
		position: relative;
		list-style: square;
	}

	#mobile-menu-wrapper .mobile-menu.active {
		border-bottom: 1px solid #e2e0e0;
	}


	/* Banner Ads */
	.ads-728x90 {
		width: 100%;
		text-align: center;
		padding: 0 20px;
	}
	.ads-728x90 img {
		max-width: 100%;
		margin: 0 auto;
		float: none;
	}
}

/* Landscape phone to portrait tablet */
@media screen and (max-width: 1000px) {

	body {
		line-height: normal;
		min-width: 100%
	}

	.container {
		-ms-transform: none;
		-webkit-transform: none;
		transform: none;
		-webkit-transition: -webkit-transform 500ms ease;
		transition: transform 500ms ease;
	}

	.no-sidebar .post-item-grid-view > article,
	.no-sidebar .post-item-grid-view > article:nth-child(2n),
	.no-sidebar .post-item-grid-view > article:nth-child(3n),
	.no-sidebar .post-item-grid-view > article:nth-child(3n+1) {
		width: 23%;
		margin-right: 2%;
	}
	.no-sidebar .post-item .thumbnail,
	.post-item .thumbnail {
		width: 30%;
	}
	.post-item .thumbnail {
		margin-right: 3%;
	}
	.post-item .thumbnail img {
		width: 100%;
	}
	.post-item .full-width-content {
		width: 100%;
	}
	.post-item-grid-view > article,
	.post-item-grid-view > article:nth-child(3n),
	.post-item-grid-view > article:nth-child(3n+1) {
		clear: none;
		width: 48%;
		margin: 0 4% 20px 0;
		float: left !important;
	}
	.post-item-grid-view > article:nth-child(2n) {
		margin-right: 0;
	}
	.post-item-grid-view > article:nth-child(2n+1) {
		clear: left;
	}

	/* Slider Block */
	#bannerSlide {
		width: 100%;
	}
	#bannerSlide ul li {
		float: left !important;
	}
	.flex-caption {
		width: 100%;
	}
	.flex-caption, .flex-caption a {
		font-size: 12px;
	}
	.flex-direction-nav .flex-next,
	.flex-direction-nav .flex-prev {
		position: absolute;
		bottom: auto;
		margin-top: -30px;
		top: 50%;
		right: 5px;
	}
	.flex-direction-nav .flex-prev {
		right: auto;
		left: 5px;
	}
	.flex-direction-nav a {
		width: 30px;
	}

	/* Sidebar Block */
	.content-left {
		width: 100%;
		margin: 0 0 20px 0;
	}
	.content-left {
		width: 60%;
		margin: 0 5% 20px 0;
	}
	.sidebar {
		width: 35%;
	}
	.sidebar .search-field {
		width: 100%;
		box-sizing: border-box;
	}

	/* Banner Ads */
	.ads-970x90 {
		margin: 0 0 20px 0;
	}
	.ads-970x90 img {
		max-width: 100%;
	}
	.ads-468x60 img {
		max-width: 100%;
	}

	/*--------------------------------------------------------------
	# Back To Top
	--------------------------------------------------------------*/
	.back-to-top {
		width: 40px;
		height: 40px;
		right: 5px;
	}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	h2 {
		font-size: 20px;
	}
	.site-branding {
		margin: 10px 0 15px 0;
	}
	.site-branding .logo {
		margin-bottom: 10px;
	}
	.post-item .thumbnail {
		float: left !important;
		margin: 0 3% 10px 0;
	}
	.post-item-grid-view > article,
	.post-item-grid-view > article:nth-child(3n),
	.post-item-grid-view > article:nth-child(4n),
	.post-item-grid-view > article:nth-child(3n+1),
	.no-sidebar .post-item-grid-view > article,
	.no-sidebar .post-item-grid-view > article:nth-child(2n),
	.no-sidebar .post-item-grid-view > article:nth-child(3n),
	.no-sidebar .post-item-grid-view > article:nth-child(4n),
	.no-sidebar .post-item-grid-view > article:nth-child(3n+1) {
		width: 33.33%;
		margin-right: 0;
	}
	.post-item-grid-view > article:nth-child(3n) {
		padding-right: 0;
	}
	.post-item-grid-view > article:nth-child(2n+1),
	.no-sidebar .post-item-grid-view > article:nth-child(4n+1) {
		clear: none;
	}
	.post-item-grid-view > article:nth-child(3n+1),
	.no-sidebar .post-item-grid-view > article:nth-child(3n+1) {
		clear: left;
	}
	.content-left {
		width: 100%;
		margin: 0 0 20px 0;
	}
	.sidebar {
		width: 100%;
	}
	.banner-125 ul li {
		float: left !important;
	}
	.ads-banner-block.ad-left,
	.ads-banner-block.ad-right,
	.ads-banner-block.ad-center {
		margin: 0 0 20px 0;
		text-align: center;
	}

	.f-left {
		width: 100%;
		text-align: center;
		padding: 0 0 10px 0;
	}
	.f-right {
		width: 100%;
		text-align: center;
	}
	.f-right ul.menu {
		width: 100%;
	}
	.f-right ul.menu li {
		display: inline-block;
		float: none;
	}
	.post-item-grid-view > article {
		display: inline-block;
		width: 33.33%;
		margin: 0;
		padding: 0 10px 20px 0;
		min-height: none;
		max-height: none;
	}
	.next-prev-pagination .page-next {
		float: right !important;
	}
	.nav-links .nav-prev {
		float: left !important;
	}
	.paging-navigation .nav-links .nav-next a,
	.nav-links .nav-next {
		float: right !important;
	}
	img.alignleft,
	img.alignright {
		display: block;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	/*--------------------------------------------------------------
	# Related Post
	--------------------------------------------------------------*/
	/* Grid Style */
	.related-posts ul.grid li {
	    float: left !important;
	}

}

@media (max-width: 640px) {
	.post-item-grid-view > article:nth-child(3n+1),
	.post-item-grid-view > article,
	.post-item-grid-view > article:nth-child(3n),
	.no-sidebar .post-item-grid-view > article,
	.no-sidebar .post-item-grid-view > article:nth-child(2n),
	.no-sidebar .post-item-grid-view > article:nth-child(3n),
	.no-sidebar .post-item-grid-view > article:nth-child(4n),
	.no-sidebar .post-item-grid-view > article:nth-child(3n+1) {
		float: left !important;
		clear: none;
		width: 50%;
		margin-right: 0;
	}
	.post-item-grid-view > article:nth-child(2n) {
		padding-right: 0;
	}
	.post-item-grid-view > article:nth-child(2n+1),
	.no-sidebar .post-item-grid-view > article:nth-child(2n+1) {
		padding-right: 10px;
		clear: left;
	}
	.superads-social-icons li {
		margin-bottom: 7px;
	}

}
@media screen and (max-width: 600px) {
	.post-item-grid-view .thumbnail {
		width: 100%;
		text-align: center;
	}
	.post-item-grid-view .thumbnail img {
		display: inline;
	}
	.post-item-grid-view h2 {
		text-align: center;
	}
}
@media (max-width: 480px) {
	.no-sidebar .post-item .thumbnail,
	.post-item .thumbnail {
		width: 100%;
		margin: 0 0 10px 0;
	}
	.no-sidebar .post-item .thumbnail img,
	.post-item .thumbnail img {
		width: 100%;
		height: auto;
	}
	.no-sidebar .post-item.has-post-thumbnail .post-item-desc,
	.post-item.has-post-thumbnail .post-item-desc {
		width: 100%;
	}
	.post-item-grid-view > article,
	.post-item-grid-view > article:nth-child(2n),
	.post-item-grid-view > article:nth-child(2n+1),
	.post-item-grid-view > article:nth-child(4n),
	.post-item-grid-view > article:nth-child(4n+1),
	.post-item-grid-view > article:nth-child(3n),
	.post-item-grid-view > article:nth-child(3n+1) {
		width: 48%;
		margin: 0 4% 15px 0;
		float: left !important;
	}
	.post-item-grid-view > article:nth-child(3n+1) {
		clear: none;
	}
	.post-item-grid-view > article:nth-child(2n) {
		width: 48%;
		margin-right: 0;
	}
	.post-item-grid-view > article:nth-child(4n+1),
	.post-item-grid-view > article:nth-child(2n+1) {
		clear: left;
	}

	/*--------------------------------------------------------------
	# Related Post
	--------------------------------------------------------------*/
	/* Grid Style */
	.related-posts ul.grid li,
	.related-posts ul.grid li:nth-child(3n) {
	    list-style: outside none none;
	    margin: 0 6% 15px 0;
	    width: 47%;
	}
	.related-posts ul.grid li:nth-child(2n) {
		padding-right: 0;
		margin-right: 0;
	}
	.related-posts ul.grid li:nth-child(2n+1) {
		clear: left;
	}
	.related-posts ul.grid li:nth-child(3n+1) {
		clear: none;
	}
	.gallery-columns-4 .gallery-item {
		max-width: 35%;
	}
	/*--------------------------------------------------------------
	# Author Post
	--------------------------------------------------------------*/
	.bio-avatar {
		float: none !important;
		margin-right: 0;
	}
	/*--------------------------------------------------------------
	# Social Sharing Button
	--------------------------------------------------------------*/
	.superads-social-icons li {
		float: left !important;
		margin-right: 6px;
		min-width: 0;
	}
}
@media (max-width: 400px) {
	.alignleft {
		margin-right: 0;
	}
	.alignright {
		margin-left: 0
	}
	.post-item-grid-view .thumbnail img {
		max-width: 300px;
		height: auto;
		max-height: none;
		min-height: 0;
	}
	.no-sidebar .post-item .thumbnail img,
	.post-item .thumbnail img {
		width: 100%;
	}
	.post-item-grid-view > article,
	.post-item-grid-view > article:nth-child(2n),
	.post-item-grid-view > article:nth-child(2n+1),
	.post-item-grid-view > article:nth-child(4n),
	.post-item-grid-view > article:nth-child(4n+1),
	.post-item-grid-view > article:nth-child(3n),
	.post-item-grid-view > article:nth-child(3n+1) {
		clear: both;
		width: 100%;
		padding: 0;
		margin: 0 0 15px 0;
	}

}