/*
Theme Name: Marketify - Child Theme
Theme URI: http://astoundify.com/themes/marketify
Author: Astoundify
Author URI: http://astoundify.com
Description: Your beautiful handcrafted digital marketplace.
Version: 1.1.0
License: GNU General Public License
License URI: license.txt
Text Domain: marketify
Domain Path: /languages/
Tags: white, two-column, one-column, right-sidebar, left-sidebar, flexible-width, custom-background, custom-header, theme-options, full-width-template, featured-images, flexible-header, custom-menu, translation-ready
Template: marketify
*/


/**
 * Place Custom CSS Below this.
 */

.site-content {
	margin-top: 1em;
	margin-bottom: 3em;
}

.album.edd_download_inner {
	-webkit-box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3);
	box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3);
	border: 2px solid white;
	padding-bottom: 90%;
	width: 100%;
	position: relative;
}

.edd_download {
	padding: 2rem;
}

.album .content-grid-download__entry-image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.album .content-grid-download__entry-header {
	position: absolute;
	bottom: -10px;
	top: 20%;
	left: -10px;
	right: -10px;
	border: 2px solid #e0e0e0;
}

.album .content-grid-download__entry-header h3.entry-title {
	text-align: center;
	width: auto;
	font-size: 2em;
	line-height: 1.1;
	top: 50%;
	position: absolute;
	-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
			transform: translateY(-50%);
	display: block;
	left: 0px;
	right: 0px;
}

.album .content-grid-download__entry-image img {
	min-width: 100%;
	max-height: 100%;
}

.album-purchase-link {
	position: absolute;
	bottom: 15px;
	right: 15px;
	left: 15px;
}

.sign-in {
	display: inline-block !important;
}

.logged-in .sign-in {
	display: none !important;
}

.profile {
	display: none !important;
}

.logged-in .profile {
	display: inline-block !important;
}

.sign-out {
	display: none !important;
}

.logged-in .sign-out {
	display: inline-block !important;
}

.montage-modal__loader {
	display: block !important;
	border-color: #BDC3C7;
	margin: 1em auto;
}

@media (min-width: 1200px) {
	.montage-modal__loader {
		max-width: 1170px;
	}
}

.logged-in .montage-modal__loader {
	display: inline-block;
}

.edd-points-apply-discount-button {
	border-color: #1fa67a !important;
	background: #1fa67a !important;
	color: white !important;
}

.edd-point-remove-discount-link {
	border-color: #a81e1e !important;
	background: #a81e1e !important;
	color: white !important;
}

.edd_download_file_link {
	text-decoration: none;
	text-shadow: none;
	text-align: center;
	display: inline-block;
	padding: 10px 15px;
	border-style: solid;
	border-width: 2px;
	border-radius: 0;
	height: auto;
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	transition: all .2s ease;
}

/* Hides the checkout menu */
.current-cart > ul.sub-menu {
	display: none !important;
}

.current-cart > ul.sub-menu, li.current-cart.menu-item.menu-item-has-children:after {
	display: none !important;
}

/* Hides the search icon in the menu - use with Disable Search plugin */
.nav-menu-search {
	display: none !important;
}

.user-points {
	text-align: center;
}

.user-points-container {
	background: #DDDDDD;
}

.user-points {
	padding: 1rem;
	margin-bottom: 0px !important;
}

/* Centers the checkout select for shipping items*/
.edd-select.edd-existing-shipping-addresses {
	margin: 0px auto;
}

/* Makes the Purchases table responsive at lower resolutions */
@media screen and (max-width: 768px) {
	#edd_user_history {
		border-collapse: collapse;
	}

	#edd_user_history > thead {
		display: none;
	}

	#edd_user_history > tbody > tr {
		width: 100%;
		border: 18px solid white;
	}

	#edd_user_history > tbody > tr > td {
		width: 100%;
		display: block;
		border: 1px solid #eee;
		border-bottom-width: 0px;
	}

	#edd_user_history > tbody > tr > td:last-child {
		border-bottom: 1px solid #eeeeee;
	}
	
	#edd_user_history > tbody > tr > .edd_purchase_id {
		font-weight: 700 !important;
	}
}

/* Forces the EDD "Add to Basket" button on a single photo to be always-present */

.edd_purchase_submit_wrapper > .edd-has-js.edd-add-to-cart[data-price-mode="multi"] {
	display: inline-block !important;
}

.edd_purchase_submit_wrapper > .edd_go_to_checkout {
	margin: 10px;
}

.download-header__info.download-header__info--actions {
	display: none !important;
}

@media screen and (max-width: 500px) {
	.edd-add-to-cart[data-price-mode="single"] > .edd-add-to-cart-label > .edd-purchase-button-separator, .edd-purchase-button-text {
		display: none !important;
	}
}

@media screen and (max-width: 1200px) {
	.edd-add-to-cart[data-price-mode="single"] > .edd-add-to-cart-label > .edd-purchase-button-text {
		display: block;
	}
	
	.edd-add-to-cart[data-price-mode="single"] > .edd-add-to-cart-label > .edd-purchase-button-separator {
		display: none;
	}
}

.entry-content table tr:last-child td {
	word-break: normal;
}

.entry-content table tr:last-child th {
	word-break: normal;
}

/* Hide Stripe cards from appearing, even if JS fails */
#edd-stripe-manage-cards {
	display: none;
	visibility: hidden;
	content: '';
}

/* Hide "No downloadable files found" for non-downloadable items */
.edd_purchase_receipt_files > li:not([class]) {
	display: none;
	visibility: hidden;
	content: '';
}

.img-container {
	overflow: hidden;
	width: 100%;
	padding-bottom: 67%;
	position: relative;
}

.img-container > img {
	position: absolute;
}