/* Custom CSS for Marc Chabot Fine Arts on Shopify */
/* Updated October 25, 2017 */

/* @MEDIA RULES FOR MOBILE DEVICES */

/* Hide Descriptions in Collections */
/* For Artists these contain biographical information */
@media screen and (max-width: 768px) {
  .rte.rte--header {
    display: none;
	}
}


/* Set height of home page slide show images to stop home page resizing on mobile devices */
@media screen and (max-width: 768px) {
  div#flexslider--slider {
    height: 600px !important;
	}
}

/* HEADER BAR */

/* Format the search bar */
.header-bar__search {
    position: relative;
    background-color: #fff;
    border: 0 none;
    border-radius: 2px;
    min-width: 200px;
}

/* Header bar when mobile*/
@media only screen and (max-width: 769px) {
	.header-bar {
    	font-size: 1.5em !important;
    }
}
/* Cart link */
.cart-page-link,
.mobile-cart-page-link {
    font-size: 1em !important;
}

/* LOGO AND TAG LINE */

/* Tag line, aka Header Message */
.header-bar__message, .header-message {
    max-width: 100%;
    overflow: hidden;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    font-size: 1.25em;
    letter-spacing: 0.25px;
}

/* NAVIGATION */

/* Increase size of Page Nav menu */
.pagination-custom>li>a, .pagination-custom>li>span {
	 font-size: 1.5em;
}

/* HOME PAGE */

/* Shrink size of first Custom HTML object that contains <style> and SEO information */
.index-section {
    padding: 0px !important;
}
@media screen and (min-width: 769px) {
	.index-section {
    padding: 0px !important;
	}
}

/* BUTTONS */
.btn, .btn--secondary, input.btn--secondary, .btn--tertiary, input.btn--tertiary, input[type="submit"] {
	/* background-color: #3c8475; */
  	border-radius: 6px;
  
}

.tinyBtn {
    color: white;
    background-color: red;
    border-radius: 6px;
    padding: 2px 6px;
    width: 80px;
    text-align: center;
}

/* Format breadcrumb menu */
.breadcrumb {
    font-size: 1em;
}

/* Hide breadcrumb menu */
.section-header--breadcrumb {
	display: none;
}

/* SEARCH FORM */
.search-bar {
    max-width: 100%;
}

/* SEARCH RESULTS */

/* Set height of images to auto so they line up horizontally */
.grid-link__image {
	height: auto !important;
}

/* Lower position and change color of the SOLD OUT badge */
.badge--sold-out {
    top: 80%;
    background-color: /*!setting.color_secondary{*/#767676/*}*/;
    color: /*!setting.color_button_secondary_text{*/white/*}*/;
}

/* Hide SOLD OUT badge */
.badge--sold-out {
	visibility: hidden;
}

/* Darken background when in letterbox view */
.mfp-container,
img.mfp-img {
    background-color: black;
}

/* Reduce size of buttons within found items */
.template-search .grid span>.btn {
    padding: 2px 8px;
    margin-bottom: 6px;
}

/* Format price in search results */
.template-search span {
    font-weight: bold;
}

/* COLLECTIONS */

/* Tighten rows between images by disabling height setting */
.grid-link__image {
	height: auto !important;
}

/* Format item title in collections */
.grid-link__title {
    color: #555;
    font-size: 1em;
    line-height: 1.4;
    font-weight: normal;
    text-align:left;
}

/* Format price in collections */
.grid-link__meta {
    font-size: 1em;
    line-height: 1.5;
    color: #6e6e6e;
    text-align:left;
}

/* PRODUCT DETAIL */

/* Hide compare or sale to price */
.product-single__sale-price {
	display:none !important;
}


/* DISABLED BUTTONS */

/* Set to same color and background as SOLD OUT plaques */
.btn[disabled], [disabled].btn--secondary, [disabled].btn--tertiary, input[disabled][type="submit"], .btn.disabled, .disabled.btn--secondary, .disabled.btn--tertiary, input.disabled[type="submit"] {
    cursor: default;
    color: white;
    background-color: #767676;
}

/* SOLD OUT */

/* Change opacity of sold out items in search results and collections */
.sold-out .grid-link__image-sold-out img {
    opacity: 100;
    filter: alpha(opacity=100);
}

 
/* Hide SOLD OUT badge */
.badge--sold-out { visibility: hidden; }

/*
.sold-out img,
a.sold-out>img {

	opacity:0.4 !important;  
	border: 2px solid red !important;
*/
}


/* STYLES FOR CATALOG IMAGES */

.itemImage-ListView {
	display: inline-block; 
	width: 58%; 
	text-align: left; 
	vertical-align: top;
	padding: 1em;
}
.itemImage-ListView img {
	width: 100%; 
}
.itemDescription-ListView {
	display: inline-block; 
	width: 38%; 
	text-align: left; 
	vertical-align: top;
	padding: 1em;
}
.itemTitle {
	text-align: left;
    font-size: 1.4em; 
    padding-bottom: 0.5em;
}
.itemDescription {
	text-align: left; 
	padding-bottom: 0.5em;
}
.itemPrice {
	text-align: left; 
    font-size: 1.2em;
	padding-bottom: 1.2em;
}
.itemButton {
	text-align: left;
}
.itemButton:hover,
.itemButton:active {
    color: #3c8475;
    background-color: #fff;
    border-color: #3c8475;
}

@media only screen and (max-width: 600px) {
	.itemImage-ListView {
		display: inline-block; 
		width: 100%; 
		text-align: center; 
		vertical-align: top;
		padding: 1em;
		padding-bottom: 0em;
		margin-bottom: 0em;
	}
	.itemImage-ListView img {
		width: 100%; 
	}
	.itemDescription-ListView {
		display: inline-block; 
		width: 100%; 
		text-align: left; 
		vertical-align: top;
		padding: 1em;
		padding-top: 0em;
		margin-top: 0em;
	}
	.itemTitle {
	text-align: left; 
	}
	.itemDescription {
		text-align: left; 
	}
	.itemPrice {
		text-align: center; 
	}
	.itemButton {
		text-align: center; 
	}
}

/* CART   */

/* Center cart title  & all text */
.cart .section-header * {
    text-align: center;
}

/* Hide shield showing quantity in the checkout */
.product-thumbnail__quantity {
    display: none;
}