
/* === Ajaxify === */
.loadingPopup > * {
    opacity:0.2;
}
.loadingPopup:before {
    position:fixed;
    content: "";
    font-size:2em;
    padding: 22px;
    background: #000;
    background: url(../images/loading.gif) no-repeat center center;
    color: #777;
    width: 50%;
    height:50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    text-align:center;
}

.woocommerce .cross-sells{
	display:none;
    position: fixed;
    z-index: 9999; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
}
.woocommerce .cross-sells ul,
.woocommerce .cross-sells h2,
.woocommerce .cross-sells .links{
    background-color: #fefefe;
    margin: 0 auto !important;
    padding: 10px !important;
    /*border: 1px solid #888;*/
    width: 100%;
}

.woocommerce .cross-sells .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.woocommerce .cross-sells .close:hover,
.woocommerce .cross-sells .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.sl-popup-cross-sells {
  max-width: 100%;
  margin: auto;
}

.woocommerce div.product .cross-sells.products ul.products li.product{
	width: calc(50% - 20px);
}
@media screen and (min-width: 800px) {
  .woocommerce div.product .cross-sells.products ul.products li.product {
	width: calc(50% - 20px);
  }
 .woocommerce .cross-sells ul,
.woocommerce .cross-sells h2,
  .woocommerce .cross-sells .links{
    background-color: #fefefe;
    margin: 0 auto !important;
    padding: 10px !important;
    /*border: 1px solid #888;*/
    width: 100%;
		justify-content: center; 
}
.sl-popup-cross-sells {
  max-width: 25%;
  margin: auto;
}
/*
.upclose {
    width: 40%;
    margin: auto;
}
*/
}
.button.green {
  background-color: #23A455 !important;
}

@media only screen and (min-width: 1024px) and (max-width: 1440px) {
  .sl-popup-cross-sells {
    max-width: 40%;
  }
}