/*
 Theme Name:   FEED Child Theme
 description: >-
   A child theme of the FEED default WordPress theme
 Author:       Tom Miller-Jones
 Template:     bright-theme
 Version:      1.0.0
*/
#header-logo {
    margin:0; 
}
.container.banner-full {
	margin-top: 0em;
	margin-bottom: 2em;
}

@media only screen and (max-width: 768px) {
.sidebar {
    display: block; 
}
	.issue-container {
		display: none;
	}
	.sidebar-row {
		display: none;
	}
		.row.sidebar-row.sidebar-ads {
		display: block;
	}
	.sidebar-ad {
		width: 100%;
	}
}

#newsletter_banner {
	text-align: center;
}


#newsletter_banner h4 {
	font-size: 20px;
}

#newsletter_banner .btn {
	margin-top: 1rem;
}


#newsletter_banner input.emailInput-footer {
    border: 1px solid #dedede;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    outline: none;
    background: none;
    display: block;
    font-size: 12px;
    padding: 11px 20px;
    margin-bottom: 20px;
    letter-spacing: 0;
    width: 100%;
    max-width: 500px;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: auto;
    height: auto;
    vertical-align: baseline;
    line-height: normal;
    margin: 20px auto;
}

@media only screen and (min-width: 768px) {
	.menu-main-container #menu-main .sub-menu:hover {
		overflow: visible;
	}
	.menu-main-container #menu-main .sub-menu li .sub-menu {
		opacity: 0;
		pointer-events: none;
		top: 0;
		left: calc(100%);
	}
	.menu-main-container #menu-main .sub-menu li .sub-menu:before {
		content: '';
		height: 46px;
		width: 60px;
		position: absolute;
		left: -30px;
		top: 0;
	}
		.menu-main-container #menu-main .sub-menu li:hover .sub-menu {
		opacity: 1;
		pointer-events: initial;
	}
	#menu-main .sub-menu li {
    padding: 12px;
    margin: 0; 
}
}



/* Image comparison */ 
.compare-slider-container {
	margin: 3rem 0;
  }
  .compare-slider-container.limit-width .compare-slider {
	width: 50%;
	margin-left: 25%;
  }
  .compare-slider-container.limit-width p {
	width: 50%;
	margin-left: 25%;
  }
  .compare-slider-container + .single-image .post-image {
	margin-top: 0;
  }
  .compare-slider-container + h2, .compare-slider-container + h3 {
	margin-top: 0;
  }
  .compare-slider-container p {
	background: #f4f4f4;
	font-size: 14px;
	padding: 0.5rem 1rem;
	font-style: italic;
  }
  .compare-slider-container .resize {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 50%;
	overflow: hidden;
  }
  .compare-slider-container .handle {
	position: absolute;
	z-index: 9;
	width: 3px;
	height: 100%;
	top: 0;
	bottom: 0;
	background: #fff;
	left: 50%;
	transform: translateX(-50%);
	cursor: ew-resize;
  }
  .compare-slider-container .compare-slider-middle {
	position: absolute;
	z-index: 1;
	width: 9px;
	height: 54px;
	border-radius: 8px;
	background: #fff;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	cursor: ew-resize;
  }
  .compare-slider-container .compare-slider-middle:before {
	content: '';
	border-style: solid;
	border-width: 0.25rem 0.25rem 0 0;
	display: inline-block;
	height: 18px;
	right: 16px;
	position: relative;
	top: 18px;
	transform: rotate(-135deg);
	width: 18px;
	color: #fff;
  }
  .compare-slider-container .compare-slider-middle:after {
	content: '';
	border-style: solid;
	border-width: 0.25rem 0.25rem 0 0;
	display: inline-block;
	height: 18px;
	left: 7px;
	position: relative;
	top: -2px;
	transform: rotate(45deg);
	width: 18px;
	color: #fff;
  }
  .compare-slider {
	position: relative;
	overflow: hidden;
  }
  .compare-slider img {
	width: 100%;
	display: block;
	max-width: 861.5px !important;
	margin: 0!important;
  }
  @media only screen and (max-width: 768px) {
	.compare-slider-container.limit-width .compare-slider {
	  width: initial;
	  margin-left: initial;
   }
	.compare-slider-container.limit-width p {
	  width: initial;
	  margin-left: initial;
   }
  }
  
   
  /* Product comparison */
  .slick-source {
	display: none;
  }
  .product-compare {
	text-align: center;
	margin-bottom: 3rem;
  }
  .product-compare .product-links a {
	display: table;
	margin: 0 auto;
	position: relative;
  }
  .product-compare .product-links a:last-of-type {
	margin-top: 0.5rem;
  }
  .product-compare .product-links button {
	padding: 0.5rem 0;
	min-width: 8rem;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	position: relative;
  }
  .product-compare .product-links .learn-btn:hover .grad-overlay-state {
	opacity: 1;
  }
  .product-compare .product-links .learn-btn button {
	color: #fff;
	transition: background-image 300ms ease-out;
	z-index: 1;
	position: relative; 
  }
  .product-compare .product-links .learn-btn .grad-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	top: 0;
	left: 0;
	margin-bottom: 1rem;
	bottom: -1px;
	background-image: linear-gradient(#8ac664, #6da24c);
  }
  .product-compare .product-links .learn-btn .grad-overlay-state {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	top: 0;
	left: 0;
	margin-bottom: 1rem;
	bottom: -1px;
	background: #8ac664;
	transition: opacity 300ms ease-out;
	opacity: 0;
  }
  .product-compare .product-links .buy-btn:hover .grad-overlay-state {
	opacity: 1;
  }
  .product-compare .product-links .buy-btn button {
	color: #fff;
	transition: background-image 300ms ease-out;
	z-index: 1;
	position: relative; 
  }
  .product-compare .product-links .buy-btn .grad-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	top: 0;
	left: 0;
	margin-bottom: 1rem;
	bottom: -1px;
	background-image: linear-gradient(#4a4a4a, #252724);
  }
  .product-compare .product-links .buy-btn .grad-overlay-state {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	top: 0;
	left: 0;
	margin-bottom: 1rem;
	bottom: -1px;
	background: #4a4a4a;
	transition: opacity 300ms ease-out;
	opacity: 0;
  }
  .product-compare h3 {
	font-size: 20px;
	margin-bottom: 1rem;
  }
  .product-compare .product-compare-detail {
	font-size: 40px;
	margin: 1rem 0;
	font-family: 'Fjalla One', sans-serif;
  }
  .product-compare .product-details {
	margin: 3rem 0;
	position: relative;
  }
  .product-compare .product-details .product-details-seperator {
	position: absolute;
	height: 1px;
	width: 4rem;
	background: #000;
	bottom: -1.5rem;
	left: 50%;
	transform: translateX(-50%);
	margin: 1px 0;
  }
  .product-compare .product-details:first-of-type {
	margin-top: 1.5rem;
  }
  .product-compare .product-details:last-of-type {
	margin-bottom: 1.5rem;
  }
  .product-compare .product-details:last-of-type .product-details-seperator {
	display: none;
  }
  .product-compare .slick-slide {
	height: auto;
	cursor: grab;
  }
  .product-compare .slick-slide img {
	margin: 0 auto;
  }
  .product-compare .slick-slide:focus {
	outline: 0;
  }
  .product-compare .slick-next:before {
	color: black;
	border-style: solid;
	border-width: 0.25em 0.25em 0 0;
	content: '';
	display: inline-block;
	height: 0.85em;
	left: 0.15em;
	position: relative;
	top: 0.15em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.85em;
	transform: rotate(45deg);
  }
  .product-compare .slick-next, .product-compare .slick-prev {
	overflow: visible;
	text-indent: 0;
  }
  .product-compare .slick-prev:before {
	color: black;
	border-style: solid;
	border-width: 0.25em 0.25em 0 0;
	content: '';
	display: inline-block;
	height: 0.85em;
	left: 0.15em;
	position: relative;
	top: 0.15em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.85em;
	transform: rotate(-135deg);
  }
  .product-compare .slick-next {
	right: 30px;
  }
  .product-compare .slick-prev {
	left: 30px;
	z-index: 99;
  }
  .product-compare .slick-next, .product-compare .slick-prev {
	-webkit-transform: translate(0);
	-ms-transform: translate(0);
	transform: translate(0);
	top: 312px;
  }
  .product-compare .slick-next:before, .product-compare .slick-prev:before {
	opacity: 1;
  }
   
  
  @media only screen and (max-width: 768px) {
	.slick-source {
	  display: block;
   }
	.row.product-compare {
	  display: none;
   }
  }
  
  /* image carousel */
  .image-carousel.slick-slider {
	margin: 3rem 0 4rem;
  }
  .image-carousel.slick-slider.limit-width {
	width: 50%;
	left: 25%;
  }
  .image-carousel.slick-slider .slide {
	padding-bottom: 4px;
	cursor: grab;
  }
  .image-carousel.slick-slider .slide img {
	width: 100%;
	margin:0!important;
  }
  .image-carousel.slick-slider li {
	width: 8px;
	height: 8px;
	display: inline-block;
	border: 1px solid #000;
	border-radius: 50%;
	margin: 0 0.45rem;
	transition: background 300ms ease-out;
	cursor: pointer;
  }
  .image-carousel.slick-slider li.slick-active {
	background: #000;
  }
  .image-carousel.slick-slider .slick-dots li button:before {
	content: none;
  }
  .image-carousel.slick-slider .slick-dots {
	bottom: -20px;
  }
  .image-carousel.slick-slider .copyright p {
	background: #f4f4f4;
	font-size: 14px;
	padding: 0.5rem 1rem;
	font-style: italic;
	display: block;
	width: 100%;
	margin-bottom: 0;
  }
  .image-carousel.slick-slider .slick-dots li button:before {
	font-size: 60px;
	line-height: 60px;
  }