/** 
 * NestPay payment module
 * PrestaShop 1.7.x - 8.x
 * CSS
 * Front-office
 */

/* START > MODULE CUSTOM ICONS FORMATING */

/* Here you can modify design and size of the icons 
 * displayed in custom hook {hook h='displayCmNestpayIcons'} 
 */

.cm_nestpay-custom {
  margin: 20px 0; 
  text-align: center;
}

.cm_nestpay-logos-custom img {
  max-width: 50px;
  border-radius: 4px;
  text-align: center;
}

/* END > MODULE CUSTOM ICONS FORMATING */


/* Currency list */
ul.currency-list-cm_nestpay { 
  margin-left: 40px; 
  list-style-type: circle; 
}

/* Payments icons */
/*
.block-payment-logo-cm_nestpay {
  background: #fff none repeat scroll 0 0;
  box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5625rem 1.25rem;
  text-align: center;
  margin: 10px 0;
}
.block-payment-logo-cm_nestpay img {
  margin: .25rem 0;
}
*/
img.cm_nestpay-logo {
  float: right;
}
img.cm_nestpay-loading-icon {
  display: block;
  width: 100px;
  margin: 10px auto;
}
.cm_nestpay-text-center {
  text-align: center;
}
button.cm_nestpay-center-button {
  display: block; 
  margin: 0 auto!important;
}

/* Debug & Testing mode */
.debug-area-cm_nestpay {
  border-color: #cc0000
}
.debug-area-cm_nestpay h3,
p.cm_nestpay-red-text {
  color: #cc0000;
}
.cm_nestpay-red-background {
  background-color: #ffeaea;
}
.cm_nestpay-nowrap {
  width: 100%;
  word-wrap: break-word;
}
.debug-list-cm_nestpay dl {
  display: flex;
  flex-wrap: wrap;
}
.debug-list-cm_nestpay dl dt, .debug-list-cm_nestpay dl dd {
  -moz-box-flex: 0;
  background: #ebebeb none repeat scroll 0 0;
  margin: 0.125rem;
  padding: 0.625rem;
}
.debug-list-cm_nestpay dl dt {
  flex: 0 0 20%;
}
.debug-list-cm_nestpay dl dd {
  flex: 0 0 78%;
}
.cm_nestpay-notification .alert {
  font-weight: bold;
  font-size: 110%;
}

/* Icons */
.cm_nestpay-logos img, 
.cm_nestpay-logos-execution img,
.cm_nestpay-logos-90 img, 
.cm_nestpay-logos-70 img,
.cm_nestpay-logos-custom img {
  margin: 0 12px 12px 0;
  background-color: #fff;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
  box-shadow: 0px 1px 1.19px 0.81px rgba(0, 0, 0, 0.22);
}
.cm_nestpay-logos img {
  max-width: 130px;
  border-radius: 6px;
}
.cm_nestpay-logos-execution img {
  max-width: 90px;
  border-radius: 6px;
}
.cm_nestpay-logos-90 img {
  max-width: 90px;
  border-radius: 4px;
}
.cm_nestpay-logos-70 img {
  max-width: 70px;
  border-radius: 4px;
}
.cm_nestpay-last {
  margin-bottom: 25px; 
}
.cm_nestpay-top-ident { 
  margin-top: 30px; 
}
/* EOF */