/*rtl:raw:
@import url('https://fonts.googleapis.com/css?family=Cairo');
*/
* {
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    padding: 0;
}

.payment-link-wrapper {
    background-color: #fff;
    color: #444;
    margin: 0;
    padding: 0;
    font-size: .9em;
    line-height: 1.4em;
    font-family: 'Montserrat', sans-serif/*rtl:prepend:'Cairo',*/;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    width: 100%;
    height: 100px;
    background: #f8f8fa;
    border-bottom: 1px solid #ecedef;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 1em;
}

.header-wrapper {
    width: 85%;
    max-width: 1024px;
    margin: auto;
}

.invoice-lbl {
    float: left;
    font-size: 3em;
    font-weight: bold;
    vertical-align: middle;
    margin-top: .9em;
}

.logo-wrapper {
    float: right;
    margin-top: .9em;
    height: 77px;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.logo {
    vertical-align: middle;
    max-height: 75px;
    max-width: 100%;
}

.wrapper {
    width: 85%;
    max-width: 1024px;
    margin: 1em auto;
    overflow: hidden;
}

.h-seperator {
    width: 100%;
    border-bottom: 2px dashed #E0E4EE;
    margin: 1em auto;
    display: block;
    opacity: .3;
}

.lead {
    font-size: 1.1em;
    color: #444;
    font-weight: 700;
    padding: 5px 2px 15px;
    display: inline-block;
    width: auto;
}

.icon {
    font-size: 1em;
    margin-right: .2em;
}

.lead .icon {
    color: #838F96
}

.lead.value {
    width: 100px;
}


/*****************order info******************/

.order-info {
    width: 40%;
    float: left;
    padding: 1em 1em 1em 0;
}

.order-info-content {
    width: 100%;
    border: 1px solid #E0E4EE;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    color: #838F96;
    margin-top: 5px
}

.invoice-header {
    padding: 2em .6em;
    text-align: center;
    display: block;
    background: #f8f8fa;
    font-weight: bold;
    border-bottom: 1px dashed #e0e4ee;
    color: #555;
    font-size: 1em;
}

.items, .price {
    width: 100%;
    height: auto;
}

.items li {
    font-size: 1em;
    /*overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;*/
    margin: .5em .5em .5em 3em;
    /*font-weight: 700;*/
}

.items li label.details-info, .price li label.details-info {
    float: left;
}

.details-info small{
  display: block;
}

.items .lead, .price .lead {
    /*text-transform: uppercase;*/
    padding: 0.5em .6em;
    float: left;
}

.items label, .price label {
    float: right;
    padding: 0.9em;
}

.price li {
    margin: .5em 3em;
    font-weight: 700;
}

.items>span, .price>span {
    overflow: hidden;
    float: left;
    display: block;
    width: 100%;
}


/*.merchant-name{
  font-weight: bold;
}*/


/*****************payment method customized v1******************/

.payment-method {
    width: 60%;
    float: left;
    padding: 1em 1em;
}

.payment-method-content {
    overflow: hidden;
}

.payment-method small {
    color: #838F96;
    font-size: 75%;
    font-weight: 400;
    text-transform: lowercase;
}

.payment-method>ul {
    overflow: hidden;
    width: 105%;
    margin-left: -3%;
}

.payment-method li {
    width: 25%;
    float: left;
    position: relative;
}

.payment-option {
    width: 100%;
    padding: 5% 12%;
    height: auto;
    min-height: 75px;
    display: block;
    color: #838F96;
}

.payment-option img {
    width: 100%;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    background: #F3F4F7;
    padding: 2em 1em;
    border-radius: 5px;
    border: 3px dashed #FFFFFF;
    -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66), -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
}

.payment-option img:hover {
    -webkit-transform: scale(.99, .99);
    transform: scale(.99, .99);
    border: 3px dashed #E0E4EE;
}

.payment-method input {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.payment-method li input:active+.payment-option>img {
    opacity: .9;
}

.payment-method li input:checked+.payment-option>img {
    border: 3px dashed #189D5B;
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

.payment-option span.name {
    text-align: center;
    margin-top: 1em;
    font-size: .9em;
    font-weight: 700;
    display: block;
}

.payment-option::after,
.agreement-label::after,
.remember-me-label::after{
    content: "";
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10%;
    top: 2.5%;
    color: #189D5B;
    font-size: 1.8em;
    background: white;
    border-radius: 50%;
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66), -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
}
.agreement-label::after{
  width: 15px;
  height: 15px;
}
input:checked+.payment-option::after,
input:checked+.agreement-label::after ,
input:checked+.remember-me-label::after{
    content: '\E807';
    font-family: "fontello";
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}
input:checked+.agreement-label::after,
input:checked+.remember-me-label::after{
content: '\e811';
}
/*****************terms******************/
.terms,
.remember-me{
  width: 100%;
margin: .2em 0;
padding: .8em;
border-radius: 4px;
font-size: 14px;
font-weight: 400;
color: #404d5b;
background: none;
padding-right: 0;
box-sizing: border-box;
position: relative;
padding-left: 2.8em;
}
.terms a{
  cursor: pointer;
      color: #4875B5;
      text-decoration: none;
    }
.agreement-label small,
.remember-me-label small{
  font-size: 100%;
text-transform: inherit;
color: #444444;
    }

    .agreement-label,
    .remember-me-label{
      cursor: pointer;
    }
/*****************actions******************/

.actions{
    width: 100%;
    height: auto;
    padding: 0 0 1em 0;
    overflow: hidden;
    margin: 1em auto;
}

.actions a{
    width: 100%;
    padding: 1em;
    display: block;
    float: none;
    background: #d8d8d8;
    text-align: center;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    line-height: 1.8;
}

.reattempt-container {
  display: block;
  width: 60%;
  float: right;
  margin: 0;
}

.reattempt-container .reattempt{
  width: 100%;
  padding: 1em;
  display: block;
  float: none;
  text-align: center;
  text-decoration: none;
  font-size: 1.1em;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 1.8;
  background: #189D5B;
  height: 60px;
  background: -webkit-linear-gradient(to left, #348F50, #56B4D3);
  background: -webkit-linear-gradient(right, #348F50, #56B4D3);
  background: linear-gradient(to left, #348F50, #56B4D3);
}


.actions a:hover {
    opacity: .9
}

.actions .back {
    background: #fff;
    color: #189D5B;
    border: 1px solid #189D5B
}

.actions .continue {
    background: #189D5B;
    height: 60px;
    background: -webkit-linear-gradient(to left, #348F50, #56B4D3);
    background: -webkit-linear-gradient(right, #348F50, #56B4D3);
    background: linear-gradient(to left, #348F50, #56B4D3);
}

.actions .btm {
    width: auto;
    max-width: 300px;
    float: none;
    background: #189D5B;
    text-align: center;
    margin: auto;
    padding: 1em 2em;
}

.error {
    padding: 1em 0 0 1em;
    color: #e63636;
    color: #bd0f1a;
}
#termsConditionErrorHolder{
  padding: 0 1em 1em;
}

/*****************Confirmation******************/

.confirmation {
    width: 60%;
    float: right;
    background: rgb(248, 248, 250);
    padding: 4em 2em;
    margin: 1.5em 0;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #e0e4ee;
}

.confirmation.fail i{
 color: #d24541;
 font-size: 6em;
}

.confirmation.success i{
  color: #189D5B;
  font-size: 6em;
}

.confirmation.success h2{
  color: #189D5B;
}

.confirmation.failed {
    border: 1px solid rgba(210, 69, 65, 0.6);
}

.confirmation h2 {
    color: #d24541;
    font-size: 1.3em;
    line-height: 180%;
    font-weight: 700;
    text-transform: capitalize;
}

.confirmation.proceed h2,
.confirmation.proceed i{
  color: #ef8c00;
}

.confirmation h3 {
    margin-top: 1em;
}

.confirmation i {
    font-size: 1.3em;
}

.confirmation label {
    display: block;
    width: 100%;
    font-size: 3em;
    margin-bottom: .7em;
    color: #189D5B;
    text-transform: uppercase;
}

.confirmation .failed {
    color: #d24541;
}

.confirmation small {
    font-size: 130%;
    color: #838F96;
    letter-spacing: 1px;
    font-weight: 400;
}

.order-confirmation {
    width: 100%;
    border: 1px solid #E0E4EE;
    padding: 3%;
    margin: 2em auto;
    border-radius: 4px;
    overflow: hidden;
    color: #838F96;
    text-align: center;
}


/*****************footer******************/

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    /*height: 100px;*/
    width: 100%;
    background: #869299;
    padding: 2em;
    color: #fff;
    text-align: center;
}


/*****************payment method customized v2******************/

.payment-method>ul {
    overflow: hidden;
    width: 100%;
    margin-left: 0;
}

.payment-method li {
    width: 100%;
    position: relative;
}

.payment-option {
    padding: .8em .5em .7em 3em;
    margin: .3em 0;
    color: #444444;
    overflow: hidden;
    cursor: pointer;
    background: rgba(243, 244, 247, 0.6);
    border-radius: 5px;
    border: 2px dashed #FFFFFF;
    -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66), -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
    -webkit-transition: all .3s;
    transition: all .3s;
}

.payment-option img {
    width: auto;
    max-width: 100%;
    height: 50px;
    float: right;
    padding: 0;
    border: none;
    background: none;
}

.payment-option img:hover {
    border: 0;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}
.payment-option img.VISA-img.MASTERCARD-img.AMEX-img {
  background-size: cover;
  background-position: 0 0;
  width: 150px;
  height: 55px;
}

.payment-option img.VISA-img.MASTERCARD-img {
  background-size: cover;
  background-position: 0 -84px;
  width: 150px;
  height: 55px;
}

.payment-option img.VISA-img.AMEX-img {
  background-size: cover;
  background-position: 0 -159px;
  width: 150px;
  height: 55px;
}

.payment-option img.MASTERCARD-img.AMEX-img {
  background-size: cover;
  background-position: 0 -234px;
  width: 150px;
  height: 55px;
}







.payment-option img.VISA-img.MASTERCARD-img.AMEX-img.MADA-img {
  background-size: cover;
  background-position: 20px -330px;
  width: 150px;
  height: 55px;
}


.payment-option img.VISA-img.MADA-img {
  background-size: cover;
  background-position: 0 -424px;
  width: 150px;
  height: 55px;
}


.payment-option img.MASTERCARD-img.MADA-img {
  background-size: cover;
  background-position: 0 -499px;
  width: 150px;
  height: 55px;
}


.payment-option img.AMEX-img.MADA-img {
  background-size: cover;
  background-position: 0 -574px;
  width: 150px;
  height: 55px;
}


.payment-option img.VISA-img.MASTERCARD-img.MADA-img {
  background-size: cover;
  background-position: 0 -649px;
  width: 150px;
  height: 55px;
}


.payment-option img.VISA-img.AMEX-img.MADA-img {
  background-size: cover;
  background-position: 0 -724px;
  width: 150px;
  height: 55px;
}

.payment-option img.MASTERCARD-img.AMEX-img.MADA-img {
  background-size: cover;
  background-position: 0 -799px;
  width: 150px;
  height: 55px;
}






/*test*/
/*#ccImgContainer.compat-object-fit {
  background-size: cover;
  background-position: center center;
}
#ccImgContainer.compat-object-fit .sprite-image {
  opacity: 0;
}
.sprite-image {
  width: 150px;
  height: 55px;
  object-fit: cover;
}*/
/*test*/




.payment-method li input:checked+.payment-option>img {
    border: none;
}

.payment-option:hover {
    border: 2px dashed #E0E4EE;
}

.payment-method li input:active+.payment-option {
    opacity: .9;
}

.payment-method li input:checked+.payment-option {
    border: 2px dashed #189D5B;
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

.payment-option span.name {
    height: 50px;
    display: table-cell;
    vertical-align: middle;
}

.payment-option::before,
.agreement-label::before,
.remember-me-label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 15px;
    top: 32px;
    border: 1px solid #D3DAEB;
    border-radius: 50%;
    box-sizing: content-box;
    background-color: #fff;
}

.agreement-label::before,
.remember-me-label:before {
  top:11px;
  border-radius: 4px;
  width: 18px;
  height: 18px;
}

.remember-me-label:before{
  top: 9px;
  left: 11px;
}

.payment-option::after,
.agreement-label::after,
.remember-me-label::after {
    left: 15px;
    top: 32px;
}
.agreement-label::after,
.remember-me-label::after{
  top: 12px;
  border-radius: 4px;
  left: 16px;
    font-size: 17px;
    background: none;
}

.remember-me-label::after {
  top: 10px;
left: 13px;
}

/*
   Animation example, for spinners
*/

.animate-spin {
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
    display: inline-block;
    margin: 6px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate (359deg);
        transform: rotate (359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate (359deg);
        transform: rotate (359deg);
    }
}

.animated {
    display: none;
}



/*new enhancments*/


/*
.icon{
  display: none;
}*/

.items li, .price li {
    margin: 0;
}

.order-info-content li {
    border-bottom: 1px dashed #E0E4EE;
    overflow: hidden;
}


/*.order-info-content li:last-child{
  border-bottom: 0;
}*/

.price li {
    border-bottom: 0;
    color: #555;
}

.price li label {
    background: #f8f8fa;
    border-left: 1px dashed #e0e4ee;
    width: 50%;
    text-align: center;
    font-size: 1em;
}

.price li label.details-info {
    background: #fff;
    border-left: 0;
}




/***********************
        CCstyle BASE STYLE
************************/
*, *:after, *:before {box-sizing: border-box; -moz-box-sizing: border-box; }
input::-ms-clear {display: none;}
html{height: 100%;}
body {
    color: #404d5b;
    font-weight: 500;
    font-size: 1em;
    min-height: 100%;
    margin:0;
    padding:0;
    /*line-height: 1*/
}

.noPadding{padding: 0 !important;}
/***********************
        Wrapper Style
************************/

.wrapper {
  width:100%;
  font-family:sans-serif;
  padding: 1%;;
}
.card-container {
width: 100%;
margin: 1em 1em 0.5em -1em;
padding-top: 1em;
border-top: 1px solid #e0e4ee;
}
/***********************
        inputs
************************/

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #404d5b !important;
}

.input {
  background: #fff;
  padding: 3px 0 1px;
  border:1px solid rgb(233, 237, 246);
  position: relative;
  display: inline-block;
  margin: 2px 0;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.input.visible{
  overflow: visible;
}
.input.visible .input-label{
overflow: visible;
}

.input-field {
  position: relative;
  display: block;
  float: right;
  padding: 0.8em;
  border: none;
  font-weight: 400;
  -webkit-appearance: none; /* for box shadows to show on iOS */
  appearance: none;
  font-size: 14px;
  background: transparent;
  width: 100%;
  color: #404d5b;
  padding:19px 1.25em 7px 3em !important;
  background-image: none !important;
  font-weight: bold;
}
.input-field:focus {
  outline: none;
}
.input-label {
  display: inline-block;
  float: right;
  padding: 1px 1em;
  padding-left: 3.3em;
  color: #D3DAEB;
  font-weight: bold;
  font-size: 80%;
  position: absolute;
  width: 100%;
  text-align: left;
  overflow: hidden;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;

}
.input-label-content {
  position: relative;
  font-size:100%;
  width: 100%;
  padding: .9em 0;
  display: inline-block;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
.input-label-content span {
  display: inline-block;
}

.error .input-label-content{
  color: #bd0f1a;
  font-weight: lighter;
  opacity: 0.9;
}

.icon {
  width: 2em;
  position: absolute;
  top: 0;
  left: 0;
  padding: .9em 0 0 .7em;
  font-size: 120%;
  color:#D3DAEB;
}

.icon.icon-right{
  left: auto;
  right:1em;
}

/* Individual styles */
.name{
  text-transform: capitalize;
}
.input.br-bottom{
overflow: hidden;
}

/***********************
inputs Animations - span
************************/
.input-field:focus + .input-label .input-label-content,
.input-filled .input-label-content {
  -webkit-animation: input-span 0.3s forwards ;
  animation: input-span 0.3s forwards;
  padding: 1.50em 0;
}

@-webkit-keyframes input-span {
  50% {
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0);
  }
  51% {
    -webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
  }
  100% {
    color: #D3DAEB;
    -webkit-transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
  }
}

@keyframes input-span {
  50% {
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0);
  }
  51% {
    -webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
  }
  100% {
    color: #D3DAEB;
    -webkit-transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
  }
}
/***********************
    Animation spinner
************************/

.animate-spin {
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
  display: inline-block;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.animated {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  display: none;
}
/*.error {
  font-size: 11px;
  padding: 7px 4px 1px 4px;
  color: #CA0202;
}*/

.pay span {
  line-height: 200%;
}
.loading .animated {
  display: block;
  opacity: 1;
}
.loading span {
  display: none;
}


/***********************
    End of Animations
************************/

.pay{
  width: 100%;
  height: 50px;
  font-size: 1.2em;
  background-color: #189D5B;
  cursor: pointer;
  -webkit-appearance: none;
  border: none;
  outline: 0;
  color: #fff;
  margin: .4em 0;
}

.pay:hover{
  opacity: .95
}

.pay:active{
  opacity: 1;
}

/***********Remember me************/

.remember-me{
  margin: .6em 0;
  border-radius: 4px;
  border: 1px solid #E9EDF6;
}

.remember-me .remember-me-label{
    color: #404d5b;
    line-height: 1.2;
    font-size: .85em;
}

/***********PopOver************/

.popover{
  background: rgba(255, 0, 0, 0.06);
  border-radius: 4px;
  padding: .6em;
  font-size: 12px;
  display: block;
  margin: .3em 0 .6em 0;
  border: 1px solid #DAC1C1;
  clear: both;
  display: none;

}

.popover.block{
  display: block !important;
}


.popover .content{
  font-size:11px;
  font-family: 'Gotham-Light', sans-serif;
}

.content em{
  font-style: normal;
}

/***********************
        Visa
************************/
i.visa{
  width: 1.7em;
  position: absolute;
  top: 12px;
  right: 6px;
  /*rtl:raw:right: auto;*/
  color: #189d5b;
  font-size: 170%;
}

i.mastercard{
  width: 1.7em;
  position: absolute;
  top: 12px;
  right: 6px;
  /*rtl:raw:right: auto;*/
  color: #189d5b;
  font-size: 170%;
}

i.amex{
  width: 1.7em;
  position: absolute;
  top: 12px;
  right: 6px;
  /*rtl:raw:right: auto;*/
  color: #189d5b;
  font-size: 170%;
}

i.mada{
  width: 1.7em;
  position: absolute;
  top: 12px;
  right: 6px;
  /*rtl:raw:right: auto;*/
  color: #189d5b;
  font-size: 170%;
}


i.mada {
  background: url(https://sbcdn.payfort.com/internal/payment_page_redirection/desktop/images/mada_logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 60px;
  top: 11px;
  right: 11px;
}

.icon-cc-mada:before {
  content: '\e801e' !important;
  visibility: hidden;
}


i.visa {
  background: url(https://m.media-amazon.com/images/G/01/APS/website/visa_logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 32px;
  top: 15px;
  right: 11px;
}

.icon-cc-visa:before {
  content: '\e801e' !important;
  visibility: hidden;
}



i.nps{
  width: 1.7em;
  position: absolute;
  top: 12px;
  right: 6px;
  /*rtl:raw:right: auto;*/
  color: #189d5b;
  font-size: 170%;
}

.btm{
  padding: .8em;
  margin: 1em;
  display: inline-block;
  background: none;
  border-color:#189d5b;
  border:1px solid;
  color: #189d5b;
  font-size: 14px;
  text-decoration:none;
  transition:background-color .2s ease;

}
.btm:hover{
  cursor: pointer;
  background: #189d5b;
  border: 1px solid #189d5b;
  color: #fff;
}

.tooltip{
  position: absolute !important;
  top: 1em;
  padding: 8px;
  left: auto;
  right:1em;
  pointer-events: all;
  outline: 0;
}

@media screen and (max-width: 420px) {
		.container{
			width:100%;
      padding: 1em;
		}
}


.half-containter{
  width: 50%;
  float: left;
}

.half-containter .popover{
  width:96%;
  margin:2%;
}

.half1{
  width: 100%;
}



.half2{
  width: 98%;
  margin-left:2%;
}

.container{
width: 100%;
margin: 0;
margin-top: 1em;
background: #FAFAFA;
}


/*.input{
	min-height:50px;
}*/


input[type="checkbox"], input[type="radio"]{
  display: none;
}

.verified{
  display: none;
}


/*****************Media Query******************/

@media screen and (max-width: 960px) {
    .wrapper {
        width: 95%;
    }
    .price li {
        margin-right: 0;
    }
    
    .logo-wrapper{
      max-width: 500px;
    }
}

@media screen and (max-width: 780px) {
    body {
        padding-bottom: 60px;
    }

    .wrapper{
      padding: 1% .5em
    }
    .payment-method, .order-info {
        width: 100%;
        padding: 0;
        padding-top: .5em;
    }

    .payment-method .lead{
      text-align: center;
          display: block;
    }

    .confirmation{
      width: 100%;
      margin: 0;
    }

    .confirmation{
      width: 100%;
      margin: 0;
    }
    .order-info>.lead {
        /*text-transform: uppercase;*/
    }
    .items, .price {
        width: 100%;
    }
    .nav ul li {
        width: 32%;
        padding: 1em;
    }
    .payment-method>ul {
        overflow: hidden;
        width: 100%;
        margin-left: 0;
    }
    .payment-method li {
        width: 100%;
        position: relative;
    }
    .payment-option {
        padding: 1em 0em 1em 4em;
        margin: .3em 0;
        color: #444444;
        overflow: hidden;
        cursor: pointer;
        background: #F3F4F7;
        border-radius: 5px;
        border: 2px dashed #FFFFFF;
        -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
        transition: -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
        transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
        transition: transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66), -webkit-transform 0.2s cubic-bezier(0.8, -0.66, 0.1, 1.66);
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    .payment-option img {
        width: auto;
        max-width: 100%;
        height: 50px;
        float: right;
        padding: 0;
        border: none;
        background: none;
    }
    .payment-option img:hover {
        border: 0;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    .payment-method li input:checked+.payment-option>img {
        border: none;
    }
    .payment-option:hover {
        border: 2px dashed #E0E4EE;
    }
    .payment-method li input:active+.payment-option {
        opacity: .9;
    }
    .payment-method li input:checked+.payment-option {
        border: 2px dashed #189D5B;
        -webkit-filter: none;
        -moz-filter: none;
        filter: none;
    }
    .payment-option span.name {
        height: 50px;
        display: table-cell;
        vertical-align: middle;
    }
    .payment-option::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 20px;
        left: 20px;
        top: 36px;
        border: 1px solid #D3DAEB;
        border-radius: 50%;
        box-sizing: content-box;
        background-color: #fff;
    }
    .payment-option::after {
        left: 20px;
        top: 36px;
    }
    
    .logo-wrapper{
      max-width: 300px;
    }
    
}

@media screen and (max-width: 600px) {
    .lead {
        text-transform: initial;
    }
    small {
        display: none;
    }

    .agreement-label small,
    .remember-me-label small{
      display: inline-block;
    }
    
    .logo-wrapper{
      max-width: 150px;
    }
}




@media screen and (max-width: 375px) {
    .logo-wrapper{
      max-width: 130px;
    }
    .invoice-lbl{
      font-size: 2em;
      margin-top: 1.4em
    }
}





.grid { 
  display: -ms-grid; 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(33%, 1fr));
  grid-gap: 0px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  float: right;
  width: 150px;
  height: 55px;
  justify-items: center;
}
.grid img {
  max-width: 100%;
  height: auto;
}
li > label > img[alt="MADA"] {
    content: url(https://cdn.payfort.com/internal/payment_page_redirection/desktop/images/mada_logo.svg);
    width: 60px;
    margin-right: 10px;
}
