/* Printzware v2.3 */

/* 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 {
		/*desired percentage width of modal window in relation to screen */
		width: 95% !important;
	}
	#pw_modal.fade.in {
		/*desired gap from left (usually half the remaining percentage */
		left:2.5% !important;
	}
	#pw_modal.fade {
		/*must be the same as .modal.fade.in left*/
		left:2.5% !important;
	}
}

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


#pw_modal.modal {
    height: 820px;
    /* width: 580px; */
	z-index:9999;
}

#pw_modal.fade {
	top: -100%;
	left:calc((100% - 580px)/2);
}
#pw_modal.fade.in {
    top: calc((100% - 820px)/2);
    left: calc((100% - 580px)/2);
}

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

#pw_modal .modal-dialog {
	height: 95%;
	margin: 0px !important;
}

#pw_modal .modal-content {
	height: 100%;
	overflow:hidden;
}
.pw-modal-open{
	overflow: hidden;
	position: fixed;
	width:100%;
}
#pw_iframe{
	display:block;
}

/*
Category Tiles CSS START
*/


.pw_category_block{
	padding-right: 0px;
	padding-left: 0px;
    float: left;
    width: 181px;
    height: 181px;
    position: relative;
    margin: 0 11px 11px 0;
    overflow: hidden;
    border: 1px solid #d4cdd5;
    background-color: rgba(179, 234, 224,.3);
}

.pw_category_block_title {
    width: 100%;
    position: absolute;
    display: block;
    height: 50px;
    background: rgba(24,188,156,.9);
    font-family: arial;
    font-weight: bold;
    color: #FFF;
    font-size: 20px;
    text-align: center;
    -webkit-text-stroke-width: 0;
    line-height: 50px;
    bottom: 0;
    //padding: 0 0 0 10px;
}

.pw_category_block img {
    width: 100%;
    height: auto;
    margin-top: 0;
    transition: all .5s ease;
}

.pw_category_block:hover img {
    /*margin-top: -10px;*/
	transition: all 1s ease;
	transform:scale(1.25);
}

.pw_category_block:hover .pw_category_block_title {
    background: rgba(15, 121, 101, 0.9);
}

.personalise-btn-wrapper {
	display: inline-block;
	margin: 0 auto;
}
.personalise-btn-wrapper button {
	width: 200px !important;
}
/*
Category Tiles CSS END
*/

#pw_modal {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

#pw_modal .modal-dialog{
	max-width: none !important;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0); 
}
#pw-modal .modal-dialog .modal-content{
	height: 820px !important;
}