/*
Theme Name: Eagle Research 2018
Version: 1.0.28
Description: Custom theme for eagle research
Author: Joshua Richet
Author URI: https://jr1.ca
Template: storefront
*/
#post-229 h1 , .jrstroke  {
  /* text-stroke: 6px #ddd; doesn't work yet, requires -webkit- */
  /* -webkit-text-stroke: 6px #ddd; */
  /* text-shadow: 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd, 0 0 3px #ddd */
  text-shadow: 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666, 
  0 0 1px #666 
  !important;}

#masthead.site-header {
	border-bottom: none!important;
  height: 135px;
  display: block;
}

ul.products li.product img {
  max-width:150px;
    margin: 0 auto !important;
}

ul.products li.product.product-category img {
  max-width:50px;
    margin: 0 auto !important;
}
.storefront-primary-navigation{
  background-color: yellow;
  width: 100vw;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0px;
  border-top:1px dotted #666;
  border-bottom:1px dotted #666;
}


p.site-description, .site-header, .storefront-handheld-footer-bar {
  color: #404040;
  height: 4.2em;
}
.header_div_jr {
  background-image: url("//eagle-research.com/wp-content/uploads/2018/05/ER-logo_0_0.jpg");
  background-repeat: no-repeat;
  background-position: 0;
  background-size: contain;
}
#mission{
  background-color: rgba(255,255,255,0.7);
	text-shadow: none;
	padding: 30px 80px;
	font-weight: 400;
	color: #424242;
}


#masthead{
  padding-top:5px !important;
}

.site-header .site-branding {
  width: auto !important;
  padding-top: 0px !important;
  margin-left: 12em;
  height: 108px;
}
@media(max-width: 750px){
	.site-header .site-branding {
	  margin-bottom: 14px;
	}
}
.site-description{
  margin-bottom: 1.5em !important;
}

/* .main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
  padding-left: 0.5em;
  padding-right: 0.5em;
}


.main-navigation ul.menu > li.menu-item-has-children > a:after, .main-navigation ul.menu > li.page_item_has_children > a:after, .main-navigation ul.nav-menu > li.menu-item-has-children > a:after, .main-navigation ul.nav-menu > li.page_item_has_children > a:after {
  margin-left: 0.3em;
}
 */
.entry-header h1.entry-title {
	margin-top: 50px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2)!important;
	font-weight: 600;
}

body.page-template-template-homepage .entry-header h1.entry-title {
	color: gold !important;
}

.entry-title{
  text-align: center;
}

.no-mt {
	margin-top: 0!important;
}

.woocommerce-breadcrumb {
  text-align:right;
  
}

@media (min-width: 768px){
  .storefront-full-width-content .woocommerce-products-header, .storefront-full-width-content.woocommerce-account .entry-header, .storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header {
      padding: 0 0 2em;
  }
}

@media (min-width: 768px){
  .footer-widgets {
      padding-top: 0;
  }
}

/* @media (min-width: 768px){
  .storefront-breadcrumb {
      margin: 0 0 1em;
  }
} */

@media (max-width: 750px){
  .header_div_jr {
    background-position: 0 2px;
    background-image: none;
  }
  .site-header .site-branding {
    padding-top: 0em;
    margin-left: 2em;
    height:auto;
  }
/* 
  .main-navigation ul.menu > li > a, .main-n	avigation ul.nav-menu > li > a {
    padding: 5px !important;
  } */

  .site-header-cart .cart-contents {
    padding: 5px !important;
  }
  

}
/* 
@media (min-width: 768px) {
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    font-size: 14px;
  }
}
 */
@media all and (max-width: 615px) {
  ul.products li.product img {
    width:100%;
    max-width:100vw;
  }
}
/* .storefront-primary-navigation .col-full{
  margin:0px;
  padding:10px;
  max-width:100%;
}

.main-navigation,
.main-navigation ul {
  width:100%;
}
.main-navigation ul li:first-child{
  min-width:100px;
}
.main-navigation ul li:last-child{
  border-right:none;
} */

@media (min-width: 768px){
.main-navigation ul li, .secondary-navigation ul li {
  position: relative;
  display: table-cell;
  text-align: left;
  border-right: 1px dotted #dedede;
}

  .woocommerce-active .site-header .site-header-cart {   
	/* width: 21.7391304348%; */
    /* clear: both; */
    /* margin-right: 0; */
    /* margin-bottom: 0; */
    /* position: fixed; */
    /* right: 0px; */
    /* top: 80px; */
      background:rgba(255,255,255,0.75);
  }
}
@media (min-width: 768px){
.site-header-cart .cart-contents {
  background:rgba(255,255,255,0,75);
}
/* 
.main-navigation ul.menu, .main-navigation ul.nav-menu {
    width: 100%;
    display: table-row;
}

.woocommerce-active .site-header .main-navigation {
    width: 100%;
    margin-right:0px;
    clear: both;
}
 */
.sub-menu ul {
  background:#ddd;
  width:200px;
}
.sub-menu ul li{
  background:#ddd;
  width:200px;
}
.sub-menu ul li a{
  display:inline-block;
  width:200px;
}

/* 
.primary-menu .sub-menu {
  background:#ddd;
  width: 200px;
  width: 100px;
 } */

}

.site-header-cart .cart-contents {
    padding: 0px 4px;
    display: block;
    position: relative;
    background-color: transparent;
    height: auto;
    width: auto;
    text-indent: 0;
}

#jr1-user-icon{
  position:absolute;
  top:40px;
  right:5px;
  z-index:1000;
}
@media (max-width:767px){
	#jr1-user-icon{
		display:none;
	}
}
@media (min-width: 768px) {
  .main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
    padding: 0.01em 1em;
  }
}

.site-title{
  margin-top: -7px !important;
}


.widget_shopping_cart .buttons a {
    margin-bottom: .6180469716em !important;
}

iframe.signupformiframe{
	height:220px;
	border:0px;
}

.entry-header h1.entry-title {
  margin-top: 15px;
}

body, .secondary-navigation a {
  color: #000;
}

ul.products {
  width:100%;
}

/**
fix layout of homepage reccomends
**/


.upsells {
  margin-bottom:2em;
}

.up-sells ul.products{
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
}

.up-sells  ul.products li  {
  width: 25% !important;
}
ul.products li:not(.product-category) {
  margin-right: 0 !important;
  border: 3px solid #666 !important;
  outline: 1px solid #fff !important;
  padding: 1em 0px 1em 0px !important;
}

.up-sells  ul.products li.product img {
  padding:0px;
  margin:0 auto;
}

.up-sells  ul.products li.product .price, ul.products li.product, ul.products li.product .woocommerce-loop-product__title {
  margin:0px;
  padding:0px;
    min-height: 50px;
}
li.product .button {
  background:#000;
  border:1px solid yellow;
  color:yellow;
  
}

.up-sells ul.products li.product .woocommerce-loop-product__title {
  display: block;
  height: 2.5em;
}

ul.products li.product img {
  max-width: none;
  max-height: 60px;
  width: auto !important;
}

.content-area {
  margin-bottom: 0;
}
.storefront-product-sharing {
  padding: 0 !important;
}

.dashicons-lock:before {
  color: red;
}
.dashicons-unlock:before {
  color: forestgreen;
}
.dashicons-yes-alt:before {
  color: forestgreen;
}

/** 
03/20/23 - fixing mobile render issues.
**/

@media (max-width: 768px) {
  section.storefront-featured-products ul.products {
    margin:0px !important;
  }
  section.elementor-section {
    width: 100% !important;
    padding: 0px !important;
  }
  .alignright, .alignleft {
    clear:both !important;
    display:block !important;
    width: 100% !important;
  }
  .footer-widgets img {
    width: auto !important;
  }
  .elementor-element-56cdab9a .elementor-widget-wrap {
    padding:0px 3px;
  }
  .elementor-element
   {
    background:none !important;
    position:relative !important;
    left:0 !important;
  }

  .elementor-element-5b135065 .elementor-widget-wrap, 
  .elementor-457 .elementor-element.elementor-element-8db0c3b > .elementor-element-populated > .elementor-widget-wrap,
  .elementor-element.elementor-element-36ab84e0 .elementor-widget-wrap,
  .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated>.elementor-widget-wrap
  {
    padding: 0px;
  }

  * {
    box-shadow:none !important;
  }
  .elementor-346 .elementor-element.elementor-element-24f2e9f img, .elementor-widget-container img {
    width: 100%;
  }
  #post-682 .entry-content img,
  #post-699 .entry-content img,
  #post-714 .entry-content img,
  #post-701 .entry-content img
  {
    clear: both  !important;
    float: none  !important;
    margin: 0 auto !important;
  }
}