/*
 Theme Name:   RLM Storefront Child Theme
 Theme URI:    http://www.wpbeginner.com/
 Description:  RLM Storefront Child Theme
 Author:       WPBeginner
 Author URI:   http://www.wpbeginner.com
 Template:     storefront
 Version:      2.0.6
*/

/* General */
*{
	box-sizing:border-box;
}

a {
    color: #6c1b18;
}

.entry-content a {
	text-decoration:underline;
}

.widget-area .widget a, .hentry .entry-header .posted-on a, .hentry .entry-header .byline a {
	color:#6c1b18;
}

h1,h2,h3 {
	    color: #324960;
	    text-align:center;
}

.section-title{
	color:#6c1b18;
	font-weight:500;
}

.bgAccent {
	padding:20px;
	background-color: #ebe1d4;
}

button, input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button {
	color:white;
	transition: .3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover, .added_to_cart:hover,
.widget a.button:hover,
.site-header-cart .widget_shopping_cart a.button:hover {
	color:white;
}

input{
	max-width:100%;
}

.product-type-variable .simple-only {
	display:none;
}

.content-area.no-sidebar {
	width:100%;
}

@media (max-width: 767px) {
	.site-main ul.products li.product {
    width: 100%;
	}
}

@media (max-width: 510px) {
	.site-main ul.products li.product {
		width: 35%;
	}
	.site-main ul.products {
		justify-content: space-around;
	}
}

div.center {
	flex: 1;
	display: flex;
	align-items: center;
}

div.center > a > img {
	margin-bottom: 0;
}

.alignCenter {
	text-align:center;
}

.storefront-sorting{
  margin-top: 2rem;
}



.show-mobile {
	display:none;
}



/*Search bar*/

.site-search .widget_product_search input[type=search]{
  padding: 10px 40px;
}

.site-search .widget_product_search form:before{
  top: 1em;
  left: 1em;
}

.widget_search form:before, .widget_product_search form:before {
	color:#385571!important;
}


/* Header */
.site-header {
	background-repeat:no-repeat;
	padding-top:5px;
	position:fixed;
	width:100%;
	border-bottom: none;
}

#content {
	margin-top: 40px; /*for fixed header */
}

.home #content {
	margin-top: 135px;
}

.site-header .site-branding, .site-header .site-search {
	margin-bottom:0;
}

.site-header .site-branding {
	transform: translateY(3px);
}

.storefront-primary-navigation,
.site-header-cart .widget_shopping_cart,
.main-navigation ul.menu ul.sub-menu,
.main-navigation ul.nav-menu ul.children, .site-header-cart .widget_shopping_cart .buttons {
	background-color: #385471;
}

.site-header-cart .widget_shopping_cart .total,.site-header-cart .widget_shopping_cart .buttons .button{
	background-color:#ebe1d4;
	color:black;
	margin:0 20px;
	font-size:14px;
}

.site-header .site-search {
	margin-bottom: 15px;
	width: 30%!important;
}

body .site-header, .home.page:not(.page-template-template-homepage) .site-header {
	margin-bottom:1.235801em;
}

.main-navigation ul.nav-menu>li>a,.site-header-cart .cart-contents {
    padding-top:1em;
    padding-bottom:1em;
}

.cart-contents .count {
	color:#ebe1d4;
}

.woocommerce-breadcrumb {
	margin-bottom:0;
}

#woocommerce-product-search-field-0 {
	transform:translateY(5px);
}

.site-search .widget_product_search form:before {
	top: 19px;
    z-index: 555;
}

.main-navigation ul.nav-menu>li>a, .main-navigation ul.nav-menu>li>a, .site-header-cart .cart-contents {
	padding:10px 15px;
}

.product_list_widget li>a.remove_from_cart_button {
	display:none;
}

.site-header .site-branding img {
	max-width: 100%;
}

/* Homepage */

.woocommerce-homepage-content {
  margin-top: -1.5rem;
}

.home .entry-header {
	display:none;
}


.site-footer {
	padding: .5rem;
}

.site-info {
	padding: 0;
}

.footer-widgets {
	padding-top: 0;
}

.widget {
	margin: 0;
}

.product .button,
{
	color:white;
}

.storefront-product-section .section-title {
	margin-bottom:0;
}

.storefront-featured-products div.alignSelfEnd {
	display:block;
	flex-basis:0;
}

.site-main .storefront-featured-products .columns-4 ul.products li.product {
	width: 18.5%;
    margin-right: 3.6%;
    margin-bottom:20px;
}

.storefront-featured-products .product h2{
	margin-top:3px;
}

.site-main .storefront-featured-products .columns-4 ul.products {
	justify-content:center;
	padding-right:40px;
}

ul.products:before, ul.products:after {
	display: none;
}

.category-1716 .container button {
	display: none;
}
/* fix for storefront 2.3.1 */

header > .col-full {
	width:100%;
	max-width:none;
	padding:0;
	margin-left:0!important;
	margin-right:0!important;
}

.woocommerce-active .site-header .site-branding {
	width:auto;
}

@media (max-width:1074px) {
	.site-search {
		display:none;
	}

	.site-header .site-branding {
		transform:none;
		margin-bottom:6px;
	}
}

@media (max-width: 767px) {
	div.col-full {
		display: flex;
		flex-direction: column;
	}
	div#secondary {
		order: 2;
		margin-bottom: 1rem;
	}
	div#primary {
		order: 1;
	}
	footer#colophon {
		margin-bottom: 70px;
	}
	.site-main .storefront-featured-products .columns-4 ul.products {
		justify-content: space-around;
		padding-right: 0;
	}
	ul.products:before, ul.products:after {
		display: none;
	}
	ul.bgAccent {
		padding: 20px 0 0 0;
	}
}

@media (max-width: 380px) {
	.site-main .storefront-featured-products .columns-4 ul.products li.product {
    width: 30%;
	}
}

/* Sidebar */

div#secondary {
	background-color: #cbd4dd;
	padding:1rem;
}

.widget + .widget {
	margin-top:25px;
}

#wc_constant_contact_subscribe_widget_form {
	text-align:center;
}

#wc_constant_contact_subscribe_email {
	margin-bottom:10px;
}

.widget .widget-title {
    border-bottom:none;
    text-align: center;
	font-size: 175%;
	padding:0 0 .3em;
	margin-bottom:0;
	color: #385571;
    font-weight: 800;
    line-height: 1.2;
}

#secondary .widget {
	border-bottom: 1px solid rgba(0,0,0,.2);
	padding-bottom:20px;
}

#wc_constant_contact_subscribe_widget_form {
	margin-bottom:0;
}

.product_list_widget li img {
    max-width: 3.617924em;
}




/* Single Product */

form.cart .woo-social-buttons {
	display:none;
}

.woocommerce-tabs {
	padding-top:0;
}

.single-product div.product .images .woocommerce-main-image {
	margin-bottom:0;
}

.single-product div.product .images {
	margin-bottom:20px;
}

.single-product div.product form.cart {
  text-align: center;
}

.single-product div.product form.cart .quantity {
	margin-right: 0;
}

.entry-summary .woo-social-buttons {
	display:none;
}

#social-container {
	float:left;
}




.woo-social-buttons .fb-share-button {
	top:2px;
}

.flex-control-nav {
	display: flex;
    justify-content: space-between;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width:30%;
	float:left;
	margin:0;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	background-color:#f0e5d9;
}

 
.related.products {
	 display:none; /* Removes related products from bottom of product page */
}

#petersPricing h2 {
	display:none;
}

#product-9242 .simple-only {
	display:none; /*gets rid of peter's pricing header on calendar page*/
}

.product-type-simple #tab-title-bulk-pricing {
	display:none;
}

/* Products List */

div.upsells {
  background-color: #ebe1d4;
  padding: 1rem;
}

ul.products {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

ul.products li.product.product-category img {
  height: 175px;
}

div.woocommerce ul.bgAccent li.product {
  margin: 0;
  margin-left: 3.8%;
  min-height: 0;
}

div.bgAccent div.woocommerce ul.products li.product {
  min-height: 0;
}

div.woocommerce ul.bgAccent li.product img {
  margin: 0;
}

@media (max-width: 767px) {
  ul.products li.product.product-category img {
    height: auto;
  }
  div.bgAccent div.woocommerce ul.products {
    flex-direction: column;
  }
}

.single-product div.product form.cart .button, .single-product div.product form.cart .quantity {
  float: none;
}

.single-product div.product form.cart {
    margin-bottom: 0;
    padding: 0;
}

.site-main ul.products li.product {
  margin-right: 0
}

ul.products li.product {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
	align-items: center;
}

ul.products li.product img {
	margin-bottom: 0;
}

ul.featuredPosters {
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-around;
}

ul.flexed {
  display: flex;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: space-between;
}

li.quartered {
  width: 21%;
  text-align: center;
  margin-top: 1.5rem
}

div.alignSelfEnd {
	margin:20px 0;
  display: flex;
  flex-direction: column;

}

div.alignSelfEnd form {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  li.quartered {
    width: 50%;
  }
}

ul.products form {
	margin-bottom:15px;
}

ul.products .quantity, .product .quantity {
	width: 75px;
    display: inline-block;
    margin-right: 10px;
    height: 40px;
    margin-bottom:5px;
}

ul.products .quantity input, .product .quantity input {
	height:40px;
	width:75px;
}

@media (min-width:768px) {

	ul.products button[type=submit], .product button[type=submit], .products button, .products .button {
		height: 40px;
	    padding: 5px 10px;
	}

	.products .directCheckoutHolder {
		width:105px;
		display:inline-block;
	}
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {

   opacity: 1; /*always show plus/minus increment arrows */

}

.woocommerce-loop-product__title, ul.products li.product .price, .products .directCheckoutHolder, ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
	margin-bottom:7px;
}

.products button.details {
	padding: 5px 20px;
}

ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
	font-weight:600;
}





/* end products list */

/* Sidebar Menu Widget */

#woocommerce_product_categories2-2 {
	visibility:hidden; /* hiding until javasript is done running */
}

.trigger {
	margin-left:8px;
	cursor: pointer;
	position: relative;
    bottom: 1px;
}

.widget_product_categories ul li {
    margin-bottom: .4em;
}

.widget_product_categories ul li:before {
	content:'';
}

.widget_product_categories ul .children {
	margin-top:.5em;
}

#wc_constant_contact_subscribe_email {
	margin-bottom:10px;
}

#wc_constant_contact_subscribe {
	display:block;
	margin:0 auto;
}

.widget + .widget {
	margin-top:20px;
}

@media (min-width:768px) {

	.site-header .custom-logo-link {
		width:650px;

	}

	.woocommerce-product-search {
		margin-left: 20px !important;
	}

	.page-header {
		min-height: 75px !important;
	}

}

@media (max-width: 768px) {

	.site-branding {
		width:100%;
	}

	.site-branding .custom-logo-link img{
		max-width:none;
		width:100%;
		margin-bottom:15px;
	}

	nav {
		padding-bottom:15px;
	}

	.site-header {
		padding-bottom:0;
	}
}

@media (max-width:1070px) {

}

@media (max-width:768px) {

	.col-full {   /* Makes content full width */
	    margin-left: 10px;
	    margin-right: 10px;
	    padding: 0;
	}
}

/* Responsive Tables */

@media (max-width:600px) {
	.responsive-table, .responsive-table tr, .responsive-table td {
		display:inline-block!important;
	}

	.responsive-table tr {
		text-align:center;
		width:100%;
	}

	.responsive-table td {
		padding: 10px 5px;
		width:49%;
	}
}


/* Sidebar settings */

.widget_product_categories ul li.current-cat:before {
    content: "";
}

.widget-area .widget a:not(.button):hover {
    text-decoration: underline;
}

.widget-area .widget a:not(.button) {
    text-decoration: none;
    font-size: 18px;
}

/* News Page */

.hfeed .post .entry-meta {
	display:none;
}

.post .alpha.entry-title {
	margin-top:0;
}

ul.post-categories {
	display:inline;
	margin:0;
}

ul.post-categories li{
	display:inline;
	font-size:15px;
}

ul.post-categories:before {
	content:", ";
}

.hentry {
    margin: 0 0 3.2em;
}

.hentry .entry-header {
    margin-bottom: 1.5em;
}

@media (min-width: 768px) {

	.hentry.type-post .entry-content {
	    width: 100%;
	    float: none;
	    margin-right: 0;
	}

}

.archive .page-header {
    border-bottom: 1px solid rgba(0,0,0,.05);
    margin-bottom: 25px;
}

/* Miscellaneous */

.archive.term-calendar .storefront-sorting {
	display:none;
}

.product_type_variable.add_to_cart_button {
	width: 170px;
    margin-left: auto;
    margin-right: auto;
}

body .toggle .wps_togglet {
	background-color:#ebe1d4;
}

body .toggle .wps_togglet span {
	color:black;
	text-shadow:none;
}

.wc-amazon-checkout-message {
	display: none;
}

footer .social-container img{
	display:inline-block;
	width: 40px;
    height: auto;
    margin: 10px 5px 0 5px;
}

.site-footer .social-container a {
	text-decoration: none!important;
}

footer {
	text-align:center;
}

.site-footer .mc4wp-form-fields {
	display: inline-flex;
    justify-content: center;
    padding: 20px;
    background-color: #dfd2be;
}


.site-footer .mc4wp-form-fields > * {
	margin: 0 15px;
}


.site-footer .mc4wp-form-fields > p {
	margin-top:0!important;
}

/* Featured Items Widget */

.FeaturedItem {
	list-style: none;
	position:relative;
}

.FeaturedItem, .grid-sizer {
	width:25%;
}

.FeaturedItem img {
	margin:0;
	width:100%;
}

.FeaturedItem.horizontal {
	width:50%;
}

.FeaturedItem.horizontal img {
	width:100%;
}


.FeaturedItem .container {
	position:absolute;
	top:0;
	display:none;
	background-color:rgba(0,0,0,.8);
	width:100%;
	pointer-events:none;
	padding:10px;
}

.FeaturedItem:hover .container {
	display:flex;
	flex-direction: column;
	justify-content:center;
	height:100%;
	width:100%;
	text-align:center;
}

.FeaturedItem:hover .container .titleBox {
    line-height: .8;
    pointer-events:auto;
}

.FeaturedItem:hover h3{
	font-size:26px;
	color:#fffaf5;
	width:100%;
	margin: 0 0 10px 0;
}

.FeaturedItem .button.add-to-cart {
	width: 126px;
    display: block;
    margin: 0 auto;
}

.FeaturedItem:hover .container .button, .FeaturedItem:hover .container button {
	font-size:17px;
	padding:8px;
	margin-bottom:10px;
	pointer-events:auto;
}

.FeaturedItem .quantity-field {
	width: 40px;
    height: 45px;
    font-size: 20px;
    margin-left: 5px;
    padding-left: 5px;
	pointer-events:auto;
}

.mobile-title {
	display:none;
}

.FeaturedItem.category-1716 .directCheckoutHolder {
	display:none; /* disable direct checkout on bumper stickers because there's not enough space */
}


/* union page */

#post-10811 {
	display:none;
}

.unions {
	margin-top:0;
}

.unions h2 {
	font-family:"Antic Slab",serif;
	color:#701819;
}

.unions p {
	font-family:serif;
	color:#701819;
	font-size:18px;
	line-height:1.5;
	font-weight:bold;
	margin-bottom:0;
}

.unions p a {
	font-weight:bold;
	text-decoration:underline;
}

.unions .text-block {
	background-color:transparent;
	padding:0 20px 20px 20px;
}

.unions  .product{
	margin:5px;
}

.unions .products1 {
	margin-bottom:20px;
}

.unions .row {
	display:flex;
	flex-direction:row;
}

.unions .col {
	display:flex;
	flex-direction:column;
	padding:0 10px;
}

#cust-button-images {
	margin-top:20px;
}

.two-thirds {
	flex-basis:66%;
	max-width:66%;
}

.one-third {
	flex-basis:33%;
}

.two-fifths {
	flex-basis:40%;
}

.three-fifths {
	flex-basis:60%;
}

#md-button {
	width: 70%;
    display: block;
    margin: auto;
}

.small-buttons .product {
	width:120px;
}

.unions .mobile {
	display:none;
}

/* Cart page */

.woocommerce-cart.page-template-template-fullwidth-php .site-main ul.products.columns-3 li.product img,
.woocommerce-checkout.page-template-template-fullwidth-php .site-main ul.products.columns-3 li.product img{
	max-width: 200px;
}

.woocommerce-cart ul.products, .woocommerce-checkout ul.products {
	justify-content: space-evenly;
}

.woocommerce-cart ul.products .alignSelfEnd, .woocommerce-checkout ul.products .alignSelfEnd {
	align-items:center;
}

.woocommerce-cart ul.products .post-2319 img, .woocommerce-checkout ul.products .post-2319 img {
	max-width:150px!important;
}

/* misc */

.storefront-product-pagination {
	display:none;
}

body .site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button) {
    color: #8e241c;
}

@media(max-width:950px) {
	.unions .desktop {
		display:none;
	}

	.unions .mobile {
		display:flex;
		flex-wrap:wrap;
		align-items:center;
	}

	.unions .mobile .product {
		width:31%;
		margin:1%;
	}


}

@media(max-width:500px) {
	.unions .mobile .product {
		width:48%;
	}
}

/* Media Queries */


@media (max-width:1200px) {
	.FeaturedItem, .grid-sizer {
		width:33%;
	}

	.FeaturedItem.horizontal {
		width:66%;
	}
}

@media (max-width:978px) {
	.site-search {
		visibility:hidden;
	}
}

@media (max-width:767px) {
	.site-header {
		position:static;
	}

	.site-search {
		visibility:visible;
	}

	#content {
		margin-top: 0;
	}

	.FeaturedItem, .grid-sizer {
		width:50%;
	}

	.FeaturedItem.horizontal {
		width:100%;
	}

	.directCheckoutHolder {
		display:none;
	}

	.FeaturedItem:hover .container {
		display:none!important; /* get rid of overlay on mobile for the time being */
	}

	.show-mobile {
		display:block;
	}

	.site-header .custom-logo-link {
		display:none;
	}

	#mobile-logo {
		margin-bottom:15px;
	}

	.storefront-primary-navigation {
		background-color:transparent;
	}

	#masthead .col-full {
		margin:0;
	}

	.handheld-navigation {
		background-color: #385571;
    	padding: 0 20px;
    	margin-top:15px;
	}

	.main-navigation ul li a {
		padding:.4em 0;
	}

	button.menu-toggle, button.menu-toggle:hover {
		background-color:#6e1819;
		margin: 0 15px 15px 0;
	}

	nav {
    	padding-bottom: 0;
	}

	.mobile-title {
		display:block;
		width:100%;
		text-align:center;
		line-height:1.2;
	}

	.site-footer .storefront-handheld-footer-bar a:not(.button), .storefront-handheld-footer-bar ul li.cart .count {
		    color: #6f1819;
	}

	/* product single */

	.single-product .woo-social-buttons {
		display:none;
	}

}

@media (max-width:550px) {
	.woocommerce-checkout-review-order-table th {
		width:25%;
	}

	.woocommerce-checkout-review-order-table td {
		width:75%;
	}
}