/* Payment dialog */

#paymentdialogbox {
    width: 100%;
    transform-style: preserve-3d;
    -webkit-transition: inherit;
    -ms-transition: inherit;
    transition: inherit;
    color: #ccc8c8;
    touch-action: none;
}

.brstatuspanel {
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    text-align: center;
    -webkit-transform: scale(5, 5);
    -ms-transform: scale(5, 5);
    transform: scale(5, 5);
    opacity: 0;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
    pointer-events: none;
}

.brstatuspanel .icon-wifi-off {
    display: none;
}

.brstatuspanel .main_wifi_off {
    font-size: 400%;
    padding-left: 0.5em;
}

.brstatuspanel .wifi_off {
    vertical-align: baseline;
    padding: 0;
    margin: 0 -0.5em 0 0;
}

.brstatuspanel p {
    color: #b1b1b1;
    font-weight: 700;
    font-size: 100%;
    line-height: 2em;
}

.brstatuspanel img {
    display: none;
    width: 20%;
}

.brstatuspanel span.receivedcrypto {
    text-transform: uppercase;
    font-size: 120%;
}

.brstatuspanel span.receivedfiat {
    text-transform: uppercase;
    font-size: 120%;
}

.brstatuspanel h2 {
    color: #707070;
    font-size: 250%;
    font-weight: 700;
    line-height: 1em;
    margin: 0.3em 0;
}

.brstatuspanel .paymentdate {
    display: inline-block;
}

.brstatuspanel .confbox {
    display: inline-block;
    color: #FFF;
    font-weight: 700;
    padding: 0.3em 0.75em;
    border-radius: 0.7em;
    background-color: #377bb5;
    -webkit-transition: background-color 500ms ease;
    -ms-transition: background-color 500ms ease;
    transition: background-color 500ms ease;
}

.brstatuspanel .confbox.blob {
    animation: blob 750ms ease forwards;
}

#paymentdialogbox[data-status="new"] .brstatuspanel .confbox {
    background-color: #ed4a72;
}

#paymentdialogbox[data-status="expired"] .brstatuspanel h2>span {
    color: #eeac57;
}

#view_tx {
    cursor: pointer;
    color: #009788;
    text-decoration: underline;
    margin-top: 1em;
    font-size: 120%;
    pointer-events: none;
    display: none;
}

#view_pending_tx {
    cursor: pointer;
    color: #009788;
    font-weight: 700;
}

#paymentdialogbox[data-status="expired"] #view_tx {
    display: inline-block;
    pointer-events: all;
}

#paymentdialogbox.transacting {
    pointer-events: none;
}

#paymentdialogbox.transacting #view_tx {
    display: inline-block;
    pointer-events: all;
}

html.inframe #paymentdialogbox.transacting #view_tx {
    display: none;
    pointer-events: none;
}

html.inframe #paymentdialogbox[data-pending="no"].transacting #view_tx {
    display: inline-block;
    pointer-events: all;
}

#paymentdialogbox.transacting .brstatuspanel,
.requestlist li.shownotification .brstatuspanel {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
}

#paymentdialogbox.transacting .actionbar,
#paymentdialogbox.transacting #request_front #qrcode,
#paymentdialogbox.transacting #request_front #qrwrap > .cmc_icon {
    opacity: 0;
}

#paymentdialogbox.transacting #request_front #cl_wrap {
	position:absolute;
    top:0;right:0;bottom:0;left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    pointer-events:none;
}

#paymentdialogbox.transacting #request_front #cl_wrap img.cmc_icon {
    bottom: -10%;
    left: -10%;
    width: 70%;
    opacity: 0.2;
}

#paymentdialogbox[data-status="paid"] .brstatuspanel img,
.requestlist .rqli .brstatuspanel img {
    display: inline-block;
}

#ibstatus {
    display: inline-block;
    margin: 0.5em 0 0 0;
}

#paymentdialogbox[data-status="paid"] #ibstatus,
#paymentdialogbox[data-status="expired"] #ibstatus {
    display: none;
}

#statusbox {
    display: inline-block;
    color: #424242;
    font-weight: 700;
    margin: 0 0.5em 0 0.5em;
}

@keyframes blob {
    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    display: inline-block;
    position: relative;
    height: 2em;
    width: 2em;
}

#mainpulse {
    font-size: 300%;
}

#inlinepulse {
    font-size: 60%;
    vertical-align: text-bottom;
}

#paymentdialogbox[data-status="paid"] .pulse,
#paymentdialogbox[data-status="insufficient"] .pulse,
#paymentdialogbox[data-status="expired"] .pulse {
    display: none;
}

.pulse:before,
.pulse:after {
    box-shadow: 0 0 0.2em #b5becb;
    border-radius: 50%;
    border: 0.1em solid #b5becb;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    animation: pulse 3s ease infinite;
}

.pulse:after {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.requestlist li .brstatuspanel h2 {
    color: #FFF;
    padding: 0 0 0 0.5em;
}


/* structure */

#paymentdialog {
    perspective: 1200px;
}

#request_front,
#request_back {
    position: relative;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.poweredby {
	position:absolute;
	font-size:12px;
	bottom:-2em;
	left:0;
	width:100%;
	text-align:center;
	display:none;
	pointer-events:all;
}

.poweredby a {
	color: #3498db;
}

html.inframe .poweredby {
	display:block;
}

html.inframe #request_front,
html.inframe #request_back {
	overflow:visible;
}

#request_front {
    padding-top: 0;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

#request_back {
    position: absolute;
    padding-top: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    background-color: #e7e7e7;
}

#payment #paymentdialogbox.flipped {
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

/* elements */

.inputbreak {
    text-align: center;
    line-height: 1.2em;
    padding: 0;
    vertical-align: baseline;
}

.inputbreak form {
    margin: 0;
    padding: 0;
}

.mirrordiv {
    display: inline-block;
    position: relative;
    width: auto !important;
    max-width: 100%;
    font-size: inherit;
    font-weight: inherit;
    color: rgba(255, 255, 255, 0);
    padding: 0 0 0 0.1em;
    margin: 0;
    line-height: normal;
    vertical-align: baseline;
    overflow: visible;
    text-indent: 0.1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
}

.mirrordiv>input {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #ccc8c8;
    font-size: inherit;
    font-weight: inherit;
    padding: 0 0 0 0;
    line-height: inherit;
    vertical-align: inherit;
    text-indent: inherit;
    margin: 0;
    background-color: transparent;
    text-indent: inherit;
}


/* request_front */

#request_front #cl_wrap img.cmc_icon {
    position: absolute;
    bottom: -80%;
    left: -80%;
    z-index: -1;
    width: 20%;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -ms-filter: blur(5px);
    -o-filter: blur(5px);
    filter: blur(5px);
    opacity: 0;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    transition: all 500ms ease;
}

.actionbar {
    width: 100%;
    padding: 0 0 0.2em 0;
    min-height: 2.5em;
    text-align: center;
}

#paymentdialogbox.request .actionbar .openwallet {
    display: inline-block;
    float: none;
}

.actionbar > div {
    color: #009788;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 0.15em solid rgba(0, 151, 136, 0.2);
    cursor:pointer;
}

.actionbar .abl {
    float: left;
    padding: 1em 0.25em 0.1em 0;
}

.actionbar .abr {
    float: right;
    padding: 1em 0 0.1em 0.25em;
}


/* wqrcode */

#qrwrap {
    position: relative;
    margin: 1em 0 0.5em 0;
    overflow: visible;
}

#qrcode {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: auto;
}

#qrcode canvas {
    width: 100%;
    margin: auto;
}

#qrwrap img.cmc_icon {
    position: absolute;
    width: 20%;
    height: auto;
    margin: auto;
    background-color: #FFF;
    border-radius: 50%;
    -webkit-transform: translate3d(0, 0, 0);
}

#paymentdialogbox.transacting #rf_wrap {
    visibility: hidden;
}

#amountbreak {
    font-size: 250%;
    font-weight: 700;
}

#amountbreak input {
    color: #3e3e3e;
}

#iblc {
    font-size: 170%;
    display: none;
    padding: 0 0 0 0;
    margin: -0.2em 0 0 0;
    font-weight: 700;
    text-transform: uppercase;
}

#ibsat {
    font-weight: 600;
    font-size: 110%;
    margin-top: -0.2em;
    display: none;
}

#satinputmirror {
    font-weight: 700;
}

#txibreak {
    font-weight: 700;
    font-size: 120%;
    padding: 0 0 0 0;
    margin: 0 0 0.17em 0;
}

#ccinputmirror,
#labelbttn {
    font-size: 108%;
}

#shareccinputmirror input {
    color: #b7b7b7;
    margin-left:0.2em;
}

#labelbttn {
    cursor: pointer;
    color: #009788;
    font-weight: 700;
    padding-left: 0.2em;
    text-transform: capitalize;
}

#paymentdialogbox.request #labelbttn {
    pointer-events: none;
}

#pickcurrency {
    color: #009788;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    margin: 0;
}

#paymentaddress {
    text-align: center;
    font-weight: 700;
    width: 100%;
    word-wrap: break-word;
    padding: 0;
    margin: 0;
    color: #6a6a6a;
    border: none;
    -webkit-user-select: all !important;
    -moz-user-select: all !important;
    -ms-user-select: all !important;
    -khtml-user-select: all !important;
    pointer-events: all;
}

#apisrc {
    text-align: center;
    font-size: 12px;
    padding: 1em;
    color: #aaaaaa;
    cursor: pointer;
     pointer-events: all;
}

#xratestats {
    font-size: 8px;
    line-height: 1.4em;
    text-align: center;
    color: #9f9f9f;
    padding: 0;
    display: none;
}

#xratestats div {
    display: inline;
}

#xratestats.show {
    display: block;
}

.cpool .ratesspan {
    text-transform: uppercase;
}

#chainstatus {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 0.5em;
    font-size: 1.2rem;
    color: #aaaaaa;
    font-weight: 400;
    pointer-events: none;
    opacity: 0.6;
    display: none;
    display: none !important;
}

#chainstatus>span {
    display: inline-block;
    margin-right: 0.3em;
    vertical-align: middle;
}

#chainstatus div {
    display: inline-block;
    vertical-align: middle;
}

#chainstatus .icon-wifi-off {
    display: none;
}

#chainstatus.offline .pulse {
    display: none;
}

#chainstatus.offline .icon-wifi-off {
    display: inline;
}

/* request_back */

#request_back .actionbar {
    height: 10%;
    display: none;
}

#backwraptop {
    width: 100%;
    color: #a8a8a8;
}

#backwrapbottom {
    position: relative;
}

#backwrapbottom .brstatuspanel {
    background-color: #e7e7e7;
}

.norequest #backwraptop {
    height: 45%;
}

.norequest #backwrapbottom {
    height: 55%;
}

.request #backwraptop {
    height: 55%;
}

.request #backwrapbottom {
    height: 45%;
}

.request.transacting #backwraptop {
    height: 40%;
}

.request.transacting #backwrapbottom {
    height: 60%;
}

#requestinfo {
    margin: auto 0;
    width: 100%;
    line-height: 2em;
    text-align: center;
}

#sharetitle {
    width: 100%;
    font-size: 210%;
    line-height: 1.1em;
    margin: 0 0 0.3em 0;
    font-weight: 700;
    text-align: center;
    padding: 0.3em 0.2em;
    color: #707070;
    word-break: break-word;
}

#sharetitle.title_exceed>span {
    opacity: 0.6;
    cursor: pointer;
}

#sharetitle.longtext {
    font-size: 105%;
}

#shareamount {
    font-size: 300%;
    text-transform: uppercase;
    font-weight: 700;
}

#sharecryptowrap {
    position: relative;
    padding-left: 0.8em;
}

#sharecryptowrap>img {
    position: absolute;
    height: 0.8em;
    top: 0.333em;
    left: 0;
    border-radius: 50%;
}

#sharecurrency {
    margin-left: 0.06em;
}

#currencynamebox {
    font-size: 180%;
    font-weight: 700;
    margin: -0.35em 0 0.25em 0;
}

#ccamountbox {
    font-size: 150%;
    color: #b7b7b7;
    text-align: center;
    font-weight: 700;
}

#ccamount img {
    display: inline;
    height: 1.1em;
    margin: 0 0 0.2em 0.19em;
    vertical-align: middle;
    background-color: #FFF;
    border-radius: 50%;
}

#sharelcname {
    display: inline;
    margin-left: 0.25em;
}


/* share request form */

#shareformbox {
    width: 100%;
    text-align: center;
}

#shareform label {
    display: block;
    font-size: 160%;
    font-weight: 700;
    color: #a5a5a5;
}

#shareform input {
    text-align: center;
    color: #009788;
    font-weight: 700;
    margin-top: 0.15em;
    padding: 0 0 0 0;
    font-size: 105%;
    background-color: rgba(255, 255, 255, 0);
}

#sharebox {
    float: left;
    width: 100%;
    font-size: 120%;
    margin: 2em 0 0 0;
}

#sharebutton {
    opacity: 0.4;
    cursor: not-allowed;
}

#sharebutton.sbactive {
    opacity: 1;
    cursor: pointer;
}

/* request_back request */

#paymethods {
    position: relative;
    float: left;
    width: 100%;
    margin: auto;
    text-align: center;
}

#requestnamep {
    font-weight: 700;
    font-size: 200%;
    color: #707070;
    padding: 0 0 0.6em 0;
    width: 100%;
}

#scanqrib {
    display: block;
    float: left;
    width: 100%;
    margin: 0;
    text-align: center;
}

#scanqr {
    display: inline-block;
    margin: 1em 0 0 0;
}

#openwallet {
    display: inline-block;
    margin: 1em 0 0 0;
    text-decoration: none;
}

/* show/hide elements */

#paymentdialogbox #mainccinputmirror,
#paymentdialogbox #sharecryptowrap,
#paymentdialogbox #sharelcinputmirror,
#paymentdialogbox #ibsat,
#currencynamebox .quote,
#paymentdialogbox #iblc {
    display: none;
}

#paymentdialogbox.showcc #mainccinputmirror,
#paymentdialogbox.showcc #sharecryptowrap,
#paymentdialogbox.showcc #sharelcinputmirror,
#paymentdialogbox.showcc #currencynamebox .quote {
    display: inline-block;
}

#paymentdialogbox[data-showsat="true"].showsat #ibsat {
    display: block;
}

#paymentdialogbox.showcc #amountinputmirror,
#paymentdialogbox.showcc #shareinputmirror,
#paymentdialogbox.showcc #ccamount {
    display: none;
}

#paymentdialogbox.showcc #iblc {
    display: block;
}

#paymentdialogbox.showcc #currencynamebox,
#paymentdialogbox.showcc #currencynamebox input {
    color: #b7b7b7;
}

#paymentdialogbox.request #sharerequest,
#paymentdialogbox.request .actionbar.hideshare #sharerequest {
    display: none;
}

#paymentdialogbox.br_offline #pickcurrency {
    pointer-events: none;
}

#paymentdialogbox.br_offline #sharerequest,
#paymentdialogbox.br_offline #ibsat,
#paymentdialogbox.br_offline #iblc,
#paymentdialogbox.br_offline #apisrc,
#paymentdialogbox.br_offline #currencynamebox {
    display: none;
}

#paymentdialogbox.br_offline .actionbar .openwallet {
    display: inline-block;
    float: none;
}

#sharerequest>span {
    display: none;
}


/* block inputs */

#paymentdialogbox.request input,
#paymentdialogbox.request #pickcurrency {
    pointer-events: none;
}

#paymentdialogbox.request.iszero input,
#paymentdialogbox.request.iszero #pickcurrency {
    pointer-events: all;
}