*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    display: table;
    min-height: 100%;
    height: 100%;
    width: 100%;
    background: none
}

body {
    display: table-cell;
    vertical-align: middle;
    background: -webkit-gradient(linear,left top,right top,color-stop(15%,#005b82),to(#0082bb));
   /* background: url(../img/banner.jpg) 0px 0px no-repeat ;*/
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  background-attachment: fixed;
}

body {  font-family: Montserrat; }

i.fa.fa-fw.fa-mobile.phone {
    font-size: 25px;
    margin-bottom: 5px
}

.ellipsis {
    overflow:hidden;
    text-overflow: ellipsis;
}

.hyphenate {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.display-amount-text {

    background: #0a4bab;
    color: #fff !important;
    font-size: 18px;
    line-height: 35px;
    padding: 3px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .4), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.display-invoice-text {
    font-size: small;
    font-weight: bold;
    word-wrap: break-word;
}

.display-description-text {
    font-size: small;
    font-style: italic;
}

.btnclose {
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
    color: #FFF;
    width: 21px;
    height: 21px;
    background-color: #ff6e6e;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .2);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    z-index: 100;
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.animated {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.alert {
    font-size: 12px;
    margin: 20px;
}

.error-message {
    font-size: 10px; 
    color:red; 
    display:none;
}

.alert-test-mode{
    font-size: 12px;
    text-align: initial; 
    display:none;
}

.float-right{
    float: right;
}

.float-left{
    float: left;
}

/*.card-details-input {
    margin-right: -15px !important;
    margin-left: -15px !important;
}*/

.i-pay-screen {
    /*width: 300px;*/
    position: relative;
    background: #fff;
    border-radius: 5px;
    /*z-index: 999;*/
    height: 100%;
}

.i-pay-screen {
    width: 22rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.i-pay-screen .row {
    margin: 0 !important;
}

.i-pay-screen .top {
    position: relative;
    /*padding: 15px 20px;*/
    padding: 15px 20px 10px;
    border-radius: 5px 5px 0 0;
    width: 100%;
    /*background: url('/checkout/img/backg.png');
    background-size: cover;
    background-position: center;*/
}

.i-pay-screen .top .payment-details {

}

.i-pay-screen .top .payment-details .top-table {
    -js-display: flex;
    display: flex;
    align-items: stretch;
    align-content: center;
    width: 100%;
}

.i-pay-screen .top .payment-details .top-table .merchant-logo {
    margin-right: 10px;
}

.i-pay-screen .top .payment-details .top-table .merchant-logo {
    /*height: 65px;
    width: 130px;*/
    width: 60%;
    display: block;
    border-radius: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-right: 15px;
    align-self: center;
    background-color: #ffffff;
}

.i-pay-screen .top .payment-details .top-table .top-text {
    text-align: left;
    align-self: center
}

.i-pay-screen .top .payment-details .top-table .top-amount-col {
    padding-right: 0 !important;
}

.i-pay-screen .top .payment-details .top-table .top-amount {
    text-align: right;
    align-self: center
}

.i-pay-screen .top .payment-details .top-table .top-text p {
    font-size: 15px;
    line-height: 20px;
}

.i-pay-screen .top .payment-details .top-table .top-text .merchant-name {
    font-weight: bold;
    margin-top: 10px;
}

.i-pay-screen .top .payment-details .top-table .top-text p small {
    font-size: 75%
}

.i-pay-screen .bottom {
    background: linear-gradient(180deg, rgba(245, 245, 245, .37), transparent);
    border-top: solid 1px #e5e5e5;
    padding: 20px 20px 0;
    position: relative;
    margin-top: 3px;
    width: 100%;
}

.i-pay-screen input, .i-pay-screen select, .i-pay-screen button {
    display: block;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 4px;
    padding: 10px 15px;
    border: 1px solid #e4e4e4;
    font-size: 14px
}

.i-pay-screen input:focus, .i-pay-screen select:focus, .i-pay-screen button:focus {
    outline: 0
}

.i-pay-screen input:focus, .i-pay-screen select:focus {
    border-color: #febe12
}

.i-pay-screen label {
    text-align: left;
    font-size: 10px;
    display: block;
    margin-bottom: 5px;
    padding-left: 5px;
    text-transform: uppercase
}

.tabs {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*font-weight: 400;
    font-size: 17px;
    display: table;
    table-layout: fixed;
    white-space: nowrap;
    width: 300px;*/
    /* position: absolute; */
    /*bottom: 0;
    left: 0;
    right: 0;*/
    /* border-radius: 0 0 5px 5px; */
    width: 21.6rem;
    margin-left: 4px;
    box-shadow: 0px 0px 2px 3px #2f2e2eb5;
}

/*@media (max-width: 450px) {
    .i-pay-screen, .tabs {
        width: 25rem;
    }
}*/

.state-controls {
    position: relative;
}

.state-controls label {
    color: grey;
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 10px !important;
}

.state-controls input,
.state-controls select {
    color: #000000;
    padding: 23px 15px 5px 15px !important;
    font-size: 15px !important;
    display: block !important;
}

.btn-pay {
    color: #fff;
    background: #0a4bab;
    border: 1px solid #0a4bab !important;
    cursor: pointer;
    padding: 10px !important;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-pay:hover {
    outline: 0;
    background: #0a4bab;
}

.btn-pay:hover {
    outline: 0;
    background: #0a4bab;
}

.btn-cancel {
    color: #fff;
    background: #dc3545;
    border: 1px solid #dc3545 !important;
    cursor: pointer;
    padding: 10px !important;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-cancel:hover {
    outline: 0;
    background: #dc3545;
}

.btn-cancel:hover {
    outline: 0;
    background: #dc3545;
}

select {
    background-color: #fff !important;
    background-position: center right 10px;
    background-size: 20px 15px;
    background-repeat: no-repeat;
}

.tool-tip {
    position: relative;
    display: inline-block;
}

.tool-tip .tooltiptext {
    visibility: hidden;
    width: 180px;
    font-family: 'Nunito', sans-serif;
    text-transform: none;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -85px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-tip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.text-align-center {
  text-align:center;
}

.checkout-form h5 {
    display: inline-block;
    color: #ffb210;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.i-copyright {
    margin-top: 15px;
}

.i-copyright p {
    color: #fff;
    font-size: 10px;
    width: 21rem;
}

.i-powered-by {
    padding: 5px;
}

.i-powered-by {
    margin-bottom: 5px;
}

.i-powered-by a {
    color: #005b82;
    font-size: 10px;
}

.i-powered-by img {
    margin-top: -5px;
}

/*.i-powered-by{
    border: 1px solid;
    border-radius: 20px;
}*/

.blockMsg {
    padding:	0;
    margin:		0;
    width:		20%;
    top:		40%;
    left:		40%;
    text-align: center;
    color:		#fff;
    border:		3px solid #aaa;
    background-color:#000;
    cursor:		wait;
}

@media (max-width: 425px) {
    .blockMsg {
        width:	45%;
        left:   30%
    }
}

#qr-confirm-section h6 {
    padding-top: 15px;
    color: #0a4bab;
}

/* select with custom icons */
.ui-selectmenu-menu .ui-menu.customicons .ui-menu-item-wrapper {
    padding: 0.5em 0 0.5em 3em;
}
.ui-selectmenu-menu .ui-menu.customicons .ui-menu-item .ui-icon {
    height: 24px;
    width: 60px;
    top: 0.1em;
}
.ui-icon.option {
    background: url("../img/ipay-option.png") 0 0 no-repeat;
}
.ui-icon.mtn {
    background: url("../img/ipay-mtn.png") 0 0 no-repeat;
}
/*.ui-icon.airtel {
    background: url("../img/ipay-airtel.png") 0 0 no-repeat;
}*/
.ui-icon.vodafone {
    background: url("../img/ipay-vcash.png") 0 0 no-repeat;
}
/*.ui-icon.tigo {
    background: url("../img/ipay-tigo.png") 0 0 no-repeat;
}*/
.ui-icon.airteltigo {
    background: url("../img/ipay-airteltigo.png") 0 0 no-repeat;
}
.ui-icon.qrp {
    background: url("../img/ipay-qrp.png") 0 0 no-repeat;
}
.ui-icon.visa_mastercard {
    background: url("../img/ipay-visamastercard.png") 0 0 no-repeat;
}

.ui-selectmenu-button.ui-button {
    text-align: left;
    white-space: nowrap;
    width: 21em !important;
}

.ui-button {
    background: #ffffff !important;
    padding: 23px 15px 5px 15px !important;
    font-size: 15px !important;
    display: block !important;
    margin-bottom: 15px !important;
}

#ipay-cursor {
    cursor: progress;
    width: 100%;
    height: 100%;
    background: url(../img/ipay-loader-small.gif) scroll no-repeat 50% 50% transparent;
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    z-index: 10000;
}

#cyb_iframe {
    height:100%;
    width:100%;
}