/*
Theme Name: Grachtenatelier
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.upsell-modal {
	display: none;
	position: fixed;
	z-index: 9999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.upsell-modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 30%;
}

.upsell-modal__image {
	height: 250px;
	width: 100%;
	margin-bottom: 1rem;
}

.upsell-modal__product {
	display: grid;
    column-gap: 1.5rem;
    grid-template-columns: repeat(2, minMax(0,1fr));
}

@media (max-width: 768px) {
	.upsell-modal__product {
		display: grid;
		column-gap: 1.5rem;
		grid-template-columns: minMax(0,1fr);
	}
}

.upsell-modal__more {
	display: flex;
	margin-bottom: 24px;
}

.upsell-modal__old-price, .upsell-modal__old-price span.amount {
	font-weight: 600;
	color: #757575;
}



.upsell-modal__image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

@media (max-width: 1500px) {
	.upsell-modal-content {
		width: 50%;
	}
}

@media (max-width: 768px) {
	.upsell-modal-content {
		width: 90%;
	}
}

.js-add-upsell span.amount {
	color: white !important;
}


.upsell-modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.upsell-modal-close:hover,
.upsell-modal-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.overflow-hidden {
	overflow: hidden;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


.packages__heading {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 8px;
	align-items: end;
	margin-bottom: 16px;
}

.packages__heading h3 {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	font-size: 16px;
	line-height: initial;
}

.packages__heading span {
	font-size: 12px;
}

.packages__item-blocks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 16px;
	margin-bottom: 16px;
}

.packages__item input {
	display: none;
}

.packages__item label {
	transition: all .3s ease;
	display: flex !important;
	width: 100%;
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 16px 12px;
	cursor: pointer;
	box-shadow: 0 0 8px 0 rgb(0 0 0 / 20%);
	flex-direction: column;
}

.packages__item input:checked + label {
	border: 1px solid #cf2d64;
}

.packages__item-heading {
	display: grid;
	width: 100%;
	grid-template-columns: auto 1fr auto;
	grid-gap: 8px;
	margin-bottom: 5px;
}

.packages__item-description {
	font-weight: normal;
	font-size: 12px;
	color: #757575;
}

.packages__optional-item {

}

.packages__optional-item input[type="checkbox"] {
	display: none;
}

.packages__optional-item input[type="checkbox"]:checked + label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='6.34 7.76 11.31 8.49'%3E%3Cpath d='m10.5858 13.4142-2.82845-2.8284L6.34314 12l4.24266 4.2427 7.071-7.0711-1.4142-1.41421-5.6568 5.65681Z' fill='%23cf2d64'/%3E%3C/svg%3E");
	background-size: 75%;
	background-position: center center;
	background-repeat: no-repeat;
}

.packages__optional-item label::before {
	position: relative;
	content: "";
	height: 20px;
	width: 20px;
	background: #fff;
	display: inline-flex;
	margin-right: 15px;
	align-items: center;
	border-radius: 6px;
	box-shadow: 0 0 8px 0 rgb(0 0 0 / 20%);
}

.packages__optional-item label {
	display: grid !important;
	grid-template-columns: auto 1fr;
	align-items: center;
	margin-bottom: 10px;
	cursor: pointer;
}

@media (max-width: 768px) {
	.packages__item-blocks {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 425px) {
	.packages__heading {
		grid-template-columns: 1fr;
	}
}


/**
 * Tooltip Styles
 */
[data-tooltip] {
	position: relative;
	z-index: 2;
	cursor: pointer;
	display: inline-flex;
}

[data-tooltip] svg {
	display: flex;
	width: 14.4px;
	height: 14.4px;
	margin-top: 5px;
}

[data-tooltip]:before,
[data-tooltip]:after {
	visibility: hidden;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	pointer-events: none;
}

[data-tooltip]:before {
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-bottom: 5px;
	margin-left: -80px;
	padding: 7px;
	width: 160px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #000;
	background-color: hsla(0, 0%, 20%, 0.9);
	color: #fff;
	content: attr(data-tooltip);
	text-align: center;
	font-size: 14px;
	line-height: 1.2;
}

[data-tooltip]:after {
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	width: 0;
	border-top: 5px solid #000;
	border-top: 5px solid hsla(0, 0%, 20%, 0.9);
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
	content: " ";
	font-size: 0;
	line-height: 0;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
	visibility: visible;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}

.d-none {
	display: none !important;
}
