/* upd.2018-03-07 */

/* 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;
	background-color: transparent !important;
}

#pw_modal.fade {
	top: -100%;
	left:calc((100% - 580px)/2);
	transform: none !important;
	-webkit-transform: none !important;	
}
#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%;
	max-width: none !important;
	margin: 0px !important;
	transform: none !important;
	-webkit-transform: none !important;
}

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

/*
Category Tiles CSS START
*/

.cards-page-element .row-fluid.text-center{
	display: flex;
  justify-content: center;
}

.pw_category_block{
	padding-right: 0px;
	padding-left: 0px;
   /* float: left;
    width: 181px;
    height: 181px;*/
	float: unset;
	width: 20%;
	height: 20%;
    position: relative;
    margin: 0 11px 11px 0 !important;
    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(183, 151, 121,.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(183, 151, 121, 0.9);
}
/*
Category Tiles CSS END
*/


.pw-modal-open{
  overflow: hidden;
  position: fixed;
  width:100%;
}

#pw_iframe{
       display:block;
}

.woocommerce-mini-cart p.lead{
    display: none;
}

.woocommerce-mini-cart .cart-item-name{
    padding: 20px;
    padding-bottom: 0px;
}


body.page-id-80776 .row.row-main{
	max-width: 1410px !important;
}


@media only screen and (max-width: 991px) {

  .pw_category_block{
     width: 45% !important;
     height: 45% !important;
   }
	
	.cards-page-element, .cards-page-element .container-fluid{
		padding: 0 !important;
	}
}