/*--------------------------------------------------------------
Large Devices
--------------------------------------------------------------*/

@media (max-height: 1280px) and (max-width: 960px) {

	ul.hero-slider, .offset-img-left a, .full-img-left .full-img-wrap {
		height: 50vh;
	}

	ul.hero-slider {
		margin-top: 20px;
	}

	.home-header-wrap .inner {
		padding: 0 50px;
	}

	.nav-mobile-pop {
		padding-top: 40px;
	}

}


/*--------------------------------------------------------------
Large Devices
--------------------------------------------------------------*/

@media  screen and (max-width: 1280px) {

	.author-list li {
		max-width: calc(33.333333333% - 15px);
		min-height: 340px;
	}

	.footer-menu ul {
		margin: 0 -10px;
	}

	.footer-menu li {
		margin: 0 10px;
	}

	.footer-menu li a {
		font-size: 10px;
	}

	.offset-img-left .hero-box-wrap {
		flex: 0 0 40%;
	}

	.site-header .inner {
		padding: 0 15px;
	}

	#drop-nav ul {
		margin-top: 20px;
		padding-bottom: 0;
	}

	.product-slider > .slick-next {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 7px;
		width: 20px;
		height: 20px;
	}

	.product-slider > .slick-prev {
		left: 7px;
		right: inherit;
		top: 50%;
		transform: translateY(-50%);
		width: 20px;
		height: 20px;
	}

	.product-slider .slick-prev:before {
		right: 0;
		width: 20px;
		height: 20px;
	}

	.product-slider .slick-next:before {
		right: 0;
		width: 20px;
		height: 20px;
	}

	#drop-nav ul {
		max-width: 1200px;
		margin: 0 auto;
		padding-top: 20px;
	}

	.offset-img-left .offset-img-wrap {
		flex: 0 0 60%;
	}

	.hero-box-wrap h1 {
		font-size: 32px;
	}

	.offset-img-left .offset-img-wrap {
		padding-right: 20px;
	}

	.offset-right .offset-img-wrap {
		padding-right: 0;
		padding-left: 20px;
	}

	.flex-spacer {
		flex: 0 0 60%;
	}

	.full-img-left .hero-box-wrap {
		flex: 0 0 40%;
	}

	.full-img-left .hero-box-wrap h1 {
		font-size: 32px;
	}

	.second-feature-wrap {
		flex: 0 0 75%;
	}

	.home-latest-wrap {
		flex: 0 0 25%;
	}

	/* .list-content-wrap > h2 {
		font-size: 20px;
	} */

	.home-latest-wrap li {
		margin-bottom: 10px;
	}

	.subscribe-wrap p {
		font-size: 14px;
	}

	.sub-img {
		max-width: 90%;
	}

	ul.post-list .thumb-wrap {
		height: 230px;
	}

	.prod-img-wrap {
		height: 220px;
	}

	ul.product-slider li h2 {
		font-size: 16px;
	}

	.related-post {
		padding-bottom: 20px;
	}

	/* h2.post-title-link {
		font-size: 18px;
	} */

	.page-title {
		font-size: 44px;
		width: 90%;
	}

	.related-posts-wrap {
		padding-bottom: 60px;
	}

	.nav-center li {
		margin: 0 15px;
	}
	.main-menu li a {
	    font-size: 12px;
	}

}


/*--------------------------------------------------------------
Large Devices
--------------------------------------------------------------*/

@media  screen and (max-width: 1024px) {

	ul.post-list .thumb-wrap {
		height: 200px;
	}

	.prod-img-wrap {
		height: 200px;
	}

	.nav-center li {
		margin: 0 11px;
	}

	#subscribe-btn a {
		padding: 10px 20px;
	}

	.product-slider > .slick-next {
		right: 5px;
	}

	.product-slider > .slick-prev {
		left: 5px;
	}

	.nav-search-box .search-form .search-field {
		padding: 6px;
	}

	.sub-btn a {
		padding: 0 !important;
	}

	#quadmenu.quadmenu-default_theme .quadmenu-navbar-nav > li.quadmenu-item > a, #quadmenu.quadmenu-default_theme .quadmenu-navbar-nav > li.quadmenu-item > form {
		font-size: 12px !important;
	}

}


/*--------------------------------------------------------------
Landscape Tablet
--------------------------------------------------------------*/

@media (max-width: 1000px) {

#mobile-hide {
	display: none;
}

.related-posts-wrap h2.post-title-link {
	font-size: 18px;
}

.mobile-info {
	display: flex;
	margin-bottom: 20px;
}

.mobile-info .column {
	flex-grow: 1;
	flex-basis: 0;
}

.mobile-info .footer-menu ul {
	display: flex;
	justify-content: space-between;
	align-content: center;
	flex-direction: column;
}

.mobile-info .footer-menu li {
	display: block;
	width: auto;
	margin-bottom: 12px;
}

.mobile-info #text-center {
	text-align: right;
}

.footer-menu li a {
	font-size: 12px;
}

#gray {
	position: relative;
	top: 10px;
}

.masthead-wrap {
	margin-bottom: 60px;
	margin-top: 60px;
}

.page-title {
	font-size: 48px;
	max-width: 70%;
}

#desktop-hide {
	display: block;
}

.gal-slide-wrap {
	display: none;
}

.cd-popup-container {
	margin-top: -60px;
}

.cd-popup-close {
	position: absolute;
	top: -70px;
}
	.nav-center li {
		margin: 0 15px;
	}
		.inner, .ab-inner {
			padding: 0 1.25rem;
		}

	#subscribe-btn a {
		padding: 10px 20px;
	}



	body {
		overflow: inherit !important;
	}
	.main-menu {
		display: none;
	}

	a.logo-link {
		margin: 0;
	}

	#social-float-right {
		display: none;
	}

	#sticky-nav-wrap {
		display: none;
	}

	.site-header {
		background: #fff;
		position: sticky;
		z-index: 101;
		top: 0;
	}

	#nav-icon4 {
		display: inherit;
		top: 47%;
	}

	.header-top {
		display: flex;
		align-items: center;
	}

	.mobile-nav-sub {
		display: inherit;
	}

	.ad-block-inner {
		flex-direction: column;
	}

	.ad-image-wrap, .ad-content-wrap {
		max-width: 100%;
	}

	.vid-wrap-inner {
		display: flex;
		flex-direction: column;
	}

	.vid-wrap {
		max-width: 100%;
	}

	.vid-content-wrap {
		position: relative;
		transform: none;
		width: 100%;
	}

	.video-wrap {
		padding: 3rem 0 0;
	}

}

@media (max-width: 860px) {

.author-list li {
	max-width: calc(50% - 15px);
	min-height: 330px;
}

	.wp-block-latest-posts__featured-image {
	width: 100% !important;
	height: 0 !important;
	padding-bottom: 100% !important;
	position: relative;
}

.wp-block-latest-posts__featured-image img {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

ul.latest-widget li > a {
	flex: 0 0 100%;
}

ul.latest-widget li {
	row-gap: 12px;
	flex-wrap: wrap;
}

}


@media (max-width: 768px) {

ul.latest-widget {
	display: none;
}

	.gallery-item {
	text-align: left;
	flex: 0 0 48%;
	max-width: 48%;
	}

	.nav-mobile-pop {
		padding-top: 100px;
	}

	ul.new-listicle li {
		flex: 0 0 100% !important;
	}

	.two-up-inner {
		display: block;
	}

	.archive-header {
		margin: 0;
	}

	.page-title {
		font-size: 44px;
		max-width: 80%;
	}

	#social-float-right {
		display: none;
	}

	.ab-inner {
		padding: 0 1rem;
	}

.alert-bar-menu {
	display: none;
}

.ab-inner {
	justify-content: center;
}

.second-feature-wrap > ul.archive-head-list li:first-child #second-img-wrap {
	height: 500px;
}

.page-title {
	font-size: 30px;
	max-width: 100%;
}

.img-left {
	margin-bottom: 50px;
}

.subtitle {
	max-width: 85%;
	font-size: 18px;
}

a.cat-link, p.cat-link {
	font-size: 12px;
}

.full-img-wrap {
	height: auto;
}

.site-header #social-float-right {
		display: none;
	}

.header-top {
	padding: 10px 0;
}

#sticky-nav-wrap {
	display: none;
}

.site-header {
	background: #fff;
	position: sticky;
	z-index: 101;
	top: 0;
}

.masthead-rule {
	display: none;
}

.second-feature-wrap > ul {
	margin: 0;
}

.double-rule {
	border-bottom: none;
	height: 0 !important;
	margin-bottom: 0 !important;
}

.inner {
	padding: 0 20px;
	overflow-x: hidden;
}

.mobile-search {
	display: inherit !important;
}

.mobile-slide-hide {
	display: none !important;
}

/* .owl-nav {
	display:none;
} */

.page-header {
	margin: 60px 0 20px;
}


ul.post-list li {
	flex: 0 0 100%;
}

ul.post-list .thumb-wrap {
	height: auto;
}

.related-posts-wrap {

}

#text-right {
	text-align: left;
	flex: 0 0 70%;
}

.sidebar-wrap {
	max-width: 100%;
	padding: 0 20px;
	overflow: hidden;
}

/* .subscribe-inner {
	display: flex;
	align-items: center;
}

.sub-img-wrap {
	flex: 0 0 25%;
	position: relative;
	left: -113px;
	top: 17px;
}

.sub-img {
	max-width: 280%;
}

.sub-widget-text {
	flex: 0 0 67%;
	margin-left: 33px;
} */

.feature-wrap {
	display: block;
}

.home-header-wrap .slick-prev, .home-header-wrap .slick-next {
	display: none !important;
}

ul.archive-head-list li:first-child > .title-block-wrap h2.post-title-link {
	font-size: 24px;
}

ul.archive-head-list li:first-child .title-block-wrap {
	margin: 0 auto;
	max-width: 80%;
	max-width: calc(100% - 40px);
}

.second-feature-wrap > ul.archive-head-list li:first-child {
	margin-bottom: 60px;
}

.home-latest-wrap {
	border-top: 1px solid rgba(0,0,0,.4);
	border-left: none;
	padding: 0;
}

.home-latest-wrap .posts-header-wrap {
	padding-top: 20px;
}

.prod-img-wrap {
height: 380px;
}

.product-slider > .slick-next, .slick-prev {
	right: 20px;
}

#mobile-home-slider {
	display: inherit;
	height: auto;
	margin-top: 0px;
}

#desktop-home-slider {
	display: none;
}

.offset-img-left a {
	display: block;
	position: relative;
	height: auto;
}

.offset-img-left .offset-img-wrap {
	padding: 0;
	height: 400px;
}

.offset-img-left .hero-box-wrap {
	z-index: 2;
	background: #fff;
	padding: 30px 40px;
	border: none;
	width: 100%;
	max-width: calc(100% - 40px);
	margin: 0 auto;
	top: 0px;
	position: relative;
}

.offset-img-left a {
	padding-bottom: 1rem;
}

.hero-box-wrap h3 {
	font-size: 24px;
	margin: 20px 0;
}

.hero-box-wrap p {
	margin-bottom: 20px;
}

.hero-box-wrap .fsco-icon {
	max-height: 22px;
}

.home-header-wrap ul.slick-dots {
	/* bottom: 20px; */
}

.search-wrap input[type="search"] {
	width: 100%;
}

.search-wrap .search-submit {
	position: inherit;
	padding: 20px;
	width: 100%;
	margin-top: 20px;
}

.search-wrap:after {
	top: 25%;
}

.article-wrap {
	display: block;
}

.contact-sidebar {
	width: 100%;
	max-width: 100%;
	padding: 0 20px;
	margin-top: 80px;
}

.content {
	margin-bottom: 0;
}

.two-up-img-wrap {
	column-gap: 20px;
}

.grad-block-btm {
	height: 40px;
}

#archive-title {
	font-size: 36px;
}

#no-pad-side {
	padding: 0;
}

.related-post {
	flex: 0 0 50%;
}

.related-post:nth-child(2n) {
	border-right: none;
}

h2.post-title-link {
	font-size: 18px;
}
.related-posts-wrap h2.post-title-link {
	font-size: 16px;
	line-height: 1.3em;
}

.video-wrap {
	padding: 20px 0;
}

.vid-wrap {
	max-width: 100%;
}

.vid-content-wrap {
	position: inherit;
	width: 100%;
	margin: 0 auto;
	transform: none;
	padding: 20px;
	float: none;
}

.vid-content-wrap h1 {
	font-size: 22px;
}

.title-block {
	margin: 30px auto 45px;
	text-align: center;
}

.newsletter-wrap p {
	font-size: 20px;
}

.newsletter-wrap h5 {
	font-size: 18px;
}
	.button-row {
	flex-direction: column;
	row-gap: 14px;
}

.button-row .button {
	width: 100%;
}

		.main-mobile-menu {
	margin-top: 0;
}

.cd-popup-close {
	position: sticky;
	top: 20px;
}

.cd-popup-container {
margin-top: -80px;
padding: 20px 0;
}

}


@media (max-width: 650px) {

	.author-list li {
		max-width: 100%;
		padding: 40px 10px 40px;
	}

	.second-feature-wrap > ul.archive-head-list li:first-child #second-img-wrap {
		height: 320px;
	}

.ad-content-wrap {
	padding: 30px;
}

.ad-content-wrap h1 {
	font-size: 32px !important;
	margin-bottom: 14px;
}

.ad-content-wrap p {
	font-size: 16px;
}

.ad-image-wrap {
	height: 220px;
}

.wp-block-latest-posts__featured-image {
	display: block;
	width: 100px !important;
	height: 100px !important;
	position: inherit;
	padding-bottom: 0 !important;
}

.wp-block-latest-posts__featured-image img {
	position: inherit !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

ul.latest-widget li > a {
	font-size: 14px;
	flex: 0 0 55%;
}

ul.latest-widget li {
	display: flex;
}

ul.latest-widget {
	display: block !important;
}

	.page-header {
		margin: 20px 0 0;
	}

	#no-padding {
	margin-top: 12px;
	padding-bottom: 0;
	}

	ul.archive-head-list {
		flex-direction: column;
	}

	ul.archive-head-list li {
		max-width: 100%;
		padding: 0;
		margin-bottom: 0;
	}

	ul.archive-head-list li .title-block-wrap h2.post-title-link {
		font-size: 22px;
	}

	.nav-mobile-pop {
		padding-top: 0px;
	}

	.home-latest-wrap li {
	margin-bottom: 60px;
	}

		.main-mobile-menu {
			margin-top: 0;
		}

	.title-block {
	margin: 30px auto 45px;
	text-align: center;
	}

	.full-img-wrap img {
		height: auto;
	}

	a.logo-link {
		max-width: 160px;
	}

	.site-header .inner {
	padding: 0 10px;
	}

	.footer-terms {
		display: none;
	}

	.mobile-info #text-center {
		width: 100%;
		text-align: center;
	}

	.footer-terms-mobile {
		margin-bottom: 20px;
		display: block;
		text-align: center;
	}

	.site-header .inner {
	padding: 0 10px;
	}

	.mobile-nav-sub {
		margin-left: 17px;
		font-size: 12px;
		padding: 10px 22px;
	}

	a.logo-link {
		max-width: 160px;
	}

	#subscribe-btn, .main-mobile-menu #subscribe-btn a {
		display: block !important;
		text-align: center;
	}

	#subscribe-btn {
		border-top: none;
		padding-top: 0;
		margin-top: 40px;
	}

	#subscribe-btn a {
	padding: 15px 20px;
	}

	.main-mobile-menu {
		margin-top: 140px;
	}


	.button-row .button {
		width: 100%;
		margin-bottom: 10px;
	}

	.partner-logo {
		max-width: 80%;
	}

	.newsletter-signup form {
		flex-direction: column;
	}

	.newsletter-signup .wpforms-field-container {
	width: 100% !important;
	}

	.newsletter-signup .wpforms-submit-container {
		width: 100% !important;
	}

	.newsletter-signup .wpforms-submit {
		border: none !important;
		border: 1px solid rgba(0,0,0,.2) !important;
		border-radius: 4px !important;
	}

	.newsletter-signup form {
		padding: 0 0 20px 0;
	}

	.newsletter-signup .email-form input {
		padding: 12px 0 !important;
	}

}

@media (max-width: 375px) {

	.mobile-nav-sub {display: none;}

	.main-mobile-menu {
		margin-top: 100px;
	}

	.ad-image-wrap {
		height: 200px;
	}
	.pagination a {
	    padding: 5px 11px 3px;
	}

}
