:root {
	--yith-ywgc-border-color: #d9d9d9;
	--yith-ywgc-upload-text-color: #9a9a9a;
	--yith-ywgc-bg-color: #f3f3f3;
}

.virtual.product-type-gift-card .woocommerce-product-gallery__wrapper {
	border: 1px solid var(--yith-ywgc-border-color);
	border-radius: 20px;
}

.product-type-gift-card .woocommerce-breadcrumb{
	display: none;
}

.virtual.product-type-gift-card .woocommerce-product-gallery__wrapper img {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	width: 100%;
}

.virtual.product-type-gift-card .ywgc-main-form-preview-container {
	height: auto;
	padding: 2em;
}

.virtual.product-type-gift-card .ywgc-form-preview-title {
	line-height: 30px;
}

.gift-cards-list{
	font-size: 0px;
}

.gift-cards-list h3 {
	font-size: initial;
}

.gift-cards-list button {
	font-size: initial;
}

.gift-cards-list .ywgc-amount-buttons {
	border-radius: 0;
	border: 1px solid var(--yith-ywgc-border-color);
	border-right: unset;
	color: #404040;
	vertical-align: top;
	margin: 0;
	padding: 0 4%;
	height: 4em;
	width: 20%;
	max-width: 20%;
	font-weight: normal;
}

.gift-cards-list .ywgc-amount-buttons:not(.selected_button) {
	background-color: var(--yith-content-bg);
}

.gift-cards-list .ywgc-amount-buttons:first-of-type {
	border-top-left-radius: 12px;
	border-bottom-left-radius: 12px;
}

.gift-cards-list .ywgc-amount-buttons:last-of-type {
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
}

.ywgc-manual-amount-container.ywgc-manual-amount{
	background: unset;
	padding: 0;
}

#ywgc-manual-amount{
	border: none;
	text-align: center;
	height: 100%;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
}

.gift-cards-list button:last-of-type{
	border-right: 1px solid var(--yith-ywgc-border-color);
}

input#ywgc-manual-amount::placeholder{
	font-size: 16px;
	opacity: 1;
}

#ywgc-manual-amount:focus {
	box-shadow: unset;
}

#ywgc-manual-amount:focus::placeholder {
	color: transparent;
}

.ywgc-label-above-input input, .ywgc-label-above-input label {
	display:block;
}

.ywgc-recipient-name, .ywgc-sender-name {
	float: left;
	width: 49%;
}

.ywgc-recipient-email, .ywgc-postdated {
	float: right;
	width: 49%;
}

.gift-cards_form  .gift-card-content-editor.step-content input {
	width: 100%;
	height: 50px;
	border-radius: 5px;
	margin: 1em 0 2em 0;
}

.gift-cards_form  .gift-card-content-editor.step-content input#ywgc-delivery-date, .gift-cards_form  .gift-card-content-editor.step-content input#ywgc-sender-name {
	margin-bottom: 0;
}

.gift-cards_form  .gift-card-content-editor.step-content textarea{
	height: 8em;
	width: 100%;
	border-radius: 5px;
	margin: 1em 0 2em 0;
	resize: none;
}

.ywgc-preset-image.ywgc-preset-image-view-all {
	border: 2px dashed var(--yith-ywgc-border-color);
}

.ywgc-preset-image.ywgc-custom-picture {
	border: 2px solid var(--yith-ywgc-border-color);
	background-color: var(--yith-ywgc-bg-color);
}

.ywgc-choose-image.ywgc-choose-template{
	position: absolute;
	font-size: 14px;
	background: unset;
	border: unset;
	color: #404040;
	width: 100%;
	height: 100%;
	font-weight: normal;
}

.ywgc-preset-image.ywgc-custom-picture .ywgc-custom-upload-label{
	position: absolute;
	font-size: 12px;
	color: var(--yith-ywgc-upload-text-color);
	text-align: center;
	width: 100%;
	bottom: 0;
	text-transform: uppercase;
}

.ywgc-choose-image.ywgc-choose-template:hover{
	background: white !important;
	color: #404040 !important;
}

.ywgc-preset-image.ywgc-custom-picture .ywgc_upload_plus_icon{
	width: 50px;
	margin-top: -15px;
	margin-left: auto;
	margin-right: auto;
}

.gift-cards_form h3.ywgc_choose_design_title{
	margin-top: 0;
}

.ywgc-manual-amount-error {
	font-size: 14px !important;
	color: red;
	float: left;
	margin-top: 5px;
}

.ywgc-delivery-notification-checkbox-container{
	text-align: left;
}

.ywgc-custom-picture .yith-plugin-fw-file{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

input#ywgc-upload-picture{
	width: 100%;
	height: 100%;
}

a.add-recipient {
	float: right;
}

.ywgc-additional-recipient {
	position: relative;
}

.ywgc-additional-recipient label {
	margin-bottom: 15px;
}

#ywgc-delivery-notification-checkbox{
	margin: 0;
}

.ywgc-recipient-sender-container .ywgc-recipient-name{
	float: left;
	width: 49%;
}

.ywgc-recipient-sender-container .ywgc-sender-name{
	float: right;
	width: 49%;
}

.yith-plugin-fw-file__message .yith-plugin-fw-file__suggested_size {
	display: none;
}

.gift-cards_form .gift_card_template_button{
	margin-top: 3em;
}

/* Responsive */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 992px) {
	.ywgc-recipient-name, .ywgc-sender-name, .ywgc-recipient-email, .ywgc-postdated {
		width: 100%;
	}

	.gift-cards-list .ywgc-amount-buttons{
		width: 25%;
		max-width: 30%;
		border: 1px solid var(--yith-ywgc-border-color);
		border-radius: 0 !important;
	}

	input#ywgc-manual-amount::placeholder{
		font-size: 14px;
		opacity: 1;
	}
}

