/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.3;
    font-family:Calibri,Arial,sans-serif;
}

::-moz-selection { /* Code for Firefox */
    background: #345D9D;
    color: #fcfcfc;
}

::selection {
  background: #345D9D;
  color:#fcfcfc;
}
/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
  background-image: url('../images/currency_light.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size:cover;
  text-align:center;
  }

#container1 {
  background-color:transparent;
}




#payform, #slider-c {text-align:center;}


#slider-c {
  width:88%;
  border-radius: 15px;
  height:10px;
  background-color:#345D9D;
  -webkit-appearance: none;  
  appearance: none;
  height: 10px; 
  background: #345D9D; 
  outline: none;
  opacity: 1;
  -webkit-transition: .2s ease-in-out; /* 0.2 seconds transition on hover */
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity: 2s ease-in-out;

}

#slider-c:hover{
  background-color:#345D9D;
  opacity:1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border: 0;
  background: url('../images/icons/dollar_blue_25x25.png');
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border: 0;
  background: url('../images/icons/dollar_blue_25x25.png');
  cursor: pointer;
}




#cash {
  line-height:1.25;
  text-align:left;
  font-size:3em;
  font-weight:bolder;
  font-family: Calibri, sans-serif;
  color:#345D9D;
  display:inline;
  border:0px;


}

#cash {
  display:inline-block;
  width:200px;
}

#animate {
  display:inline-block;
  width:150px;
}

@media (max-width:400px){
  #cash {
    text-align:center;
    display:inline-block;
    position:relative;
    right:.25em;
  }
}



input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
 
input[type="number"] {
    -moz-appearance: textfield;
    border-color: #ccc !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background : transparent;
    border : none
}


.qrcode {
  display:inline-block;
  word-wrap: break-word;
  vertical-align: text-top;

}
#bitcoin {
  text-align:center;
  width:50%;
  font-size:1em;
  /*font-size:1vw;*/

}

#lightning {
   text-align:center;
   width:50%;
   font-size:1em;
   /*font-size:1vw;*/

}

.proof {
  font-weight:bolder;
  color:#333333;
}


#datafeed p{
  text-align:left;
  font-size:.8em;
  color:#6D6D6D;
  font-family:Calibri,sans-serif;
  line-height:1;
  margin-left:5px;
}


#lightningsmall, #btcsmall {
  width:75%;
  display:inline-block;
  word-wrap:break-word;
  text-align:center;
}

.smalltype {
  color:#345D9D;
  font-size:.5em;
}

.qrcode img {
  width:75%;
}






@media (min-width:250px){
  
  #bitcoin, #paid {
    width:200px;
  }
  #lightning {
    width:200px;
  }

  .qrcode img{
  /*  width:200px; */
  width:75%;
  }
  #lightningsmall, #btcsmall {
  width:100%;
  }

}


@media (min-width:300px){
  
  #bitcoin, #paid {
    width:250px;
  }
  #lightning {
    width:250px;
  }

  .qrcode img{
  /*  width:200px; */
  width:75%;
  }
  #lightningsmall, #btcsmall {
  width:100%;
  }
}



@media (min-width:400px){
  
  #bitcoin, #paid {
    width:375px;
  }
  #lightning {
    width:375px;
  }

  .qrcode img{
  /*  width:200px; */
  width:50%;
  }
  #lightningsmall, #btcsmall {
  width:75%;
  }
  .smalltype{
  font-size:.6em;
  }
}



@media (min-width:500px){
  
  #bitcoin, #paid {
    width:475px;
  }
  #lightning {
    width:475px;
  }

  .qrcode img{
  /*  width:200px; */
  width:50%;
  }
  #lightningsmall, #btcsmall {
  width:50%;
  }
  .smalltype{
  font-size:.7em;
  }
}

@media (min-width:900px){
   #bitcoin {
    text-align:left;
    width:49%;
  }
  #lightning {
    text-align:right;
    width:49%;
  }
  #lightning {
    margin-top:0;
  }
  #btcsmall{
    text-align:left;
  }
  #payform #slider-c, #container2 {
  width:90%;
  }
  .qrcode img{
   /* width:420px; */
   width:70%;
  }
  #lightningsmall, #btcsmall {
  width:70%;
  }
  .smalltype{
  font-size:.8em;
  }
}

@media (min-width:1200px){
   #bitcoin {
    text-align:left;
    width:49%;
  }
  #lightning {
    text-align:right;
    width:49%;
  }
  #payform #slider-c, #container2 {
  width:70%;
  }
  .qrcode img{
   /* width:420px; */
   width:60%;
  }
  #lightningsmall, #btcsmall {
  width:60%;
  }
  .smalltype{
  font-size:.8em;
  }
}

@media (min-width:1420px){
  #bitcoin {
    text-align:left;
    width:49%;
  }
  #lightning {
    text-align:right;
    width:49%;
  }
  #payform #slider-c, #container2 {
  width:70%;
  }
  .qrcode img{
  /*  width:500px; */
  width:50%;
  }
  #lightningsmall, #btcsmall {
  width:50%;
  }
  .smalltype{
  font-size:.8em;
  }
}

a:link, a:visited, a:hover, a:active  {
  
  font-family: Calibri,sans-serif;
  font-style:bold;
  text-decoration:none;
  color:#345D9D;
}

/*#pay, #cancel, #startover{
  font-size:3em;
  position: relative;
  top: -4px;
}
*/

.paybutton, .cancelbutton, .startoverbutton {
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Calibri,Arial;
  color: #ffffff!important;
  font-size: 1.5em;
  padding: 5px 25px 5px 25px;
  text-decoration: none;
  position:relative;
  top:-7px;
}

.paybutton {
  background: #345c9d;
  background-image: -webkit-linear-gradient(top, #345c9d, #2c4c80);
  background-image: -moz-linear-gradient(top, #345c9d, #2c4c80);
  background-image: -ms-linear-gradient(top, #345c9d, #2c4c80);
  background-image: -o-linear-gradient(top, #345c9d, #2c4c80);
  background-image: linear-gradient(to bottom, #345c9d, #2c4c80);
}

.paybutton:hover {
  background: #345c9d;
  background-image: -webkit-linear-gradient(top, #345c9d, #345c9d);
  background-image: -moz-linear-gradient(top, #345c9d, #345c9d);
  background-image: -ms-linear-gradient(top, #345c9d, #345c9d);
  background-image: -o-linear-gradient(top, #345c9d, #345c9d);
  background-image: linear-gradient(to bottom, #345c9d, #345c9d);
  text-decoration: none;
}

.cancelbutton {
  background: #949494;
  background-image: -webkit-linear-gradient(top, #949494, #333333);
  background-image: -moz-linear-gradient(top, #949494, #333333);
  background-image: -ms-linear-gradient(top, #949494, #333333);
  background-image: -o-linear-gradient(top, #949494, #333333);
  background-image: linear-gradient(to bottom, #949494, #333333);
  
}

.cancelbutton:hover {
  background: #ff0000;
  background-image: -webkit-linear-gradient(top, #ff0000, #f00000);
  background-image: -moz-linear-gradient(top, #ff0000, #f00000);
  background-image: -ms-linear-gradient(top, #ff0000, #f00000);
  background-image: -o-linear-gradient(top, #ff0000, #f00000);
  background-image: linear-gradient(to bottom, #ff0000, #f00000);
  text-decoration: none;
}

.startoverbutton {
  background: #949494;
  background-image: -webkit-linear-gradient(top, #949494, #333333);
  background-image: -moz-linear-gradient(top, #949494, #333333);
  background-image: -ms-linear-gradient(top, #949494, #333333);
  background-image: -o-linear-gradient(top, #949494, #333333);
  background-image: linear-gradient(to bottom, #949494, #333333);
}

.startoverbutton:hover {
  background: #adadad;
  background-image: -webkit-linear-gradient(top, #adadad, #4a4a4a);
  background-image: -moz-linear-gradient(top, #adadad, #4a4a4a);
  background-image: -ms-linear-gradient(top, #adadad, #4a4a4a);
  background-image: -o-linear-gradient(top, #adadad, #4a4a4a);
  background-image: linear-gradient(to bottom, #adadad, #4a4a4a);
  text-decoration: none;
}


#container1 {text-align:center;}
#container2 {
  padding-top:10px;
}





.bigprice {
  font-size:3em;
  font-weight:bolder;
  font-family : Calibri,sans-serif;
  font-weight:bolder;
  color:#345D9D;
}

input:required {
    border-color: #ccc !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background : transparent;
    border : none
    width:20%;
}

#status {
  font-family: Calibri,sans-serif;
  font-style:bold;
  font-size:1.5em;
}



#paid, .receipt {
  font-family: Calibri,sans-serif;
  font-style:bold;
  font-size:.9em;
  color:#345D9D;

}

#paidqr {
  font-size:.5em;
}


.unpaid {color:red;}
.processing {color:#FF9900;}
.paid {color:green;}
.waiting {color:#345D9D;}

#credits {
  font-family: Calibri, sans-serif;
  font-style:bold;
  font-size:.6em;
}

@media (min-width:500px){
  #credits {
    font-size:.75em;
  }
}



#credits {
  position: fixed;
  left: 50%;
  bottom: -10px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  color: #dedede;
  z-index:-1;
}

#credits a:link {
  color: #dedede;
}
#credits a:visited {
   color: #dedede; 
}

#credits a:hover {
  color: #dedede;  
}

#credits a:active {
   color: #dedede; 
}

.thinking{
  cursor:progress;
}

.buffer, .hidden{
  display:none;
}









 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hiddens {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


