/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 #pw-add-greeting-card-btn{
    width: auto;
    margin-bottom: 12px;
    margin-top: 12px;
    background-color: rgba(0,0,0,0.10);
    padding: 8px 12px;
    border: none;
    box-shadow: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    color: rgb(28,28,28);
    cursor: pointer;
 }

@media all and (max-width:450px) {
	#pw-add-greeting-card-btn{
		font-size: 10px !important;
	}
}



/* anything that is less or equal to 579*819 display modal @ 95% width/height of parent window */
@media all and (max-width:579px) {
	#pw_modal_card {
		/*desired percentage width of modal window in relation to screen */
		width: 95% !important;
	}
	#pw_modal_card.fade.in {
		/*desired gap from left (usually half the remaining percentage */
		left:2.5% !important;
	}
	#pw_modal_card.fade {
		/*must be the same as .modal.fade.in left*/
		left:2.5% !important;
	}
}

@media all and (max-height:819px) {
	#pw_modal_card {
		/*desired percentage width of modal window in relation to screen */
		height: 95% !important;
	}
	#pw_modal_card.fade.in {
		/*desired gap from top (usually half the remaining percentage */
		top: 2.5% !important;
	}
}


#pw_modal_card.modal {
    height: 820px;
    width: 580px;
	z-index:9999;
	background-color: transparent !important;
}

#pw_modal_card.fade {
	top: -100%;
	left:calc((100% - 580px)/2);
	transform: none !important;
	-webkit-transform: none !important;	
}
#pw_modal_card.fade.in {
    top: calc((100% - 820px)/2);
    left: calc((100% - 580px)/2);
}

#pw_modal_card .modal-body {
    height: 100%;
    width: 100%;
    padding: 0px 0px 0px 0px;
}

#pw_modal_card .modal-dialog {
	height: 95%;
	max-width: none !important;
	margin: 0px !important;
	transform: none !important;
	-webkit-transform: none !important;
}

#pw_modal_card .modal-content {
   height: 100%;
   overflow:hidden;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    max-width: none !important;
}

.pw-additional-card{
	margin: 50px 0;
	background-color: #f2eee9;
	padding: 15px;
	max-width: 100%;
}
/*
.pw-additional-card .personalise-card{
	width: 80%;
}*/

.pw-additional-card #pw-add-greeting-card-btn{
	background-color: #df8600;
}

.pw-additional-card .personalise-card img#pw-card-preview{
	margin: 0 auto;
	display: flex;
}

.pw-additional-card .personalise-card img.pw-preview{
	width: auto;
}

.pw-additional-card .personalise-card img.pw-personalised{
	width: auto;
	height: 200px;
}

.pw-additional-card .personalise-card p.lead{
	text-align: center;
}

.pw-additional-card textarea{
	width: 100%;
	background: #fff !important;
	resize: none;
}

.card-custom-message p.center-me{
	text-align: center;
	font-weight: 800;
}