
:root {
    --bg-color:rgb(0, 119, 255);
    --bg-color2: rgb(20, 238, 60);
    --bg-2-color: rgb(19, 160, 44);
    --color:rgb(255, 227, 227);
  }
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: 0.67em 0
}



small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"],
input[type="radio"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}

html {
    font-size: 13px;
    line-height: 1.5;
    color: #040404;
    background: #e7f3ff;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 10rem auto 0;
    max-width: 850px;
    background: #ffffff;
    border: 1px solid var(--bg-color);
    padding: 3rem
}

.container {
    max-width: 70%;
    margin: 0px auto 6px 17%;
}

*,
*:before,
*:after {
    -moz-box-sizing: inherit;
    box-sizing: inherit
}

[contenteditable]:hover,
[contenteditable]:focus,
input:hover,
input:focus {
    background: var(--color);
    outline: 1px solid var(--bg-color);
}
.group:after,
.row:after,
.invoicelist-footer:after {
    content: "";
    display: table;
    clear: both
}

a {
    color: var(--bg-color);
    text-decoration: none
}

p {
    margin: 0
}

.row {
    position: relative;
    display: block;
    width: 100%;
    font-size: 0
}

.col,
.logoholder,
.me,
.info,
.bank,
[class*="col-"] {
    vertical-align: top;
    display: inline-block;
    font-size: 1rem;
    padding: 0 1rem;
    min-height: 1px
}

.col-4 {
    width: 25%
}

.col-3 {
    width: 33.33%
}

.col-2 {
    width: 50%
}

.col-2-4 {
    width: 75%
}

.col-1 {
    width: 100%
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

/* 

*/

.control-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #090909;
    color: white;
    line-height: 5rem;
}
 

.control-bar  {
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 2rem
}

.control-bar label {
    margin-right: 2rem
}

.control-bar .boton {
    border-radius: 10px;
    margin: 0;
    padding: .5em 1em;
    color: rgb(255, 0, 0);
    background: rgb(255, 255, 255)
}

.control-bar .boton:hover {
    background: var(--color)
}

.control-bar input {
    margin: 0;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    padding: .1rem 0;
    max-width: 30px;
    text-align: center
}


.control-bar input:hover {
    background: rgba(255, 255, 255, 0.3)
}

#bmc-iframe{
    min-height: 560px !important;
    max-height: 560px !important;
}

.hidetax .taxrelated {
    display: none
}

.showtax .notaxrelated {
    display: none
}

.hidedate .daterelated {
    display: none
}

.showdate .notdaterelated {
    display: none
}

header {
    margin: 1rem 0 0;
    padding: 0 0 2rem 0;
    border-bottom: 1pt solid var(--bg-color);
}

header p {
    font-size: .9rem
}

header a {
    color: #000
}

.logo {
    margin: 0 auto;
    width: auto;
    height: auto;
    border: none;
    fill: var(--bg-color);
}

.logoholder {
    width: 14%
}

.me {
    width: 25%
}

.info {
    width: 32%
}

.bank {
    width: 28%
}

.section {
    margin: 2rem 0 0
}

.smallme {
    display: inline-block;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    font-size: .9rem
}

.client {
    margin: 0 0 3rem 0
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 2rem;
    color: var(--bg-color);
}

.details input {
    display: inline;
    margin: 0 0 0 .5rem;
    border: none;
    width: 60px;
    min-width: 0;
    background: transparent;
    text-align: left
}


.invoice_detail{
	border: solid 1px var(--bg-color);
	padding:10px;
	height:25px;
	text-align:center
}

.rate:before,
.price:before,
.sum:before,
.tax:before,
#total_price:before,
#total_tax:before {
    content: '$'
}

.invoicelist-body {
    margin: 1rem
}

.invoicelist-body table {
    width: 100%
}

.invoicelist-body thead {
    text-align: left;
    border-bottom: 1pt solid #666
}

.invoicelist-body td,
.invoicelist-body th {
    position: relative;
    padding: 1rem
}

.invoicelist-body tr:nth-child(even) {
    background: #ccc
}

.invoicelist-body tr:hover .removeRow {
    display: block
}

.invoicelist-body input {
    display: inline;
    margin: 0;
    border: none;
    width: 80%;
    min-width: 0;
    background: transparent;
    text-align: left
}
.btn-style {
    background-color: var(--bg-color);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    margin: 0;
    padding: .5em 1em;
  }
  
  .btn-style:hover {
    background-color: rgb(14, 57, 167);
  }


.invoicelist-body .control {
    display: inline-block;
    color: white;
    background: #000000;
    padding: 3px 7px;
    font-size: .9rem;
    text-transform: uppercase;
    cursor: pointer
}

.invoicelist-body .control:hover {
    background: var(--bg-color);
}

.invoicelist-body .newRow {
    margin: .5rem 0;
    float: left
}

.invoicelist-body .removeRow {
    display: none;
    position: absolute;
    top: .1rem;
    bottom: .1rem;
    left: -1.3rem;
    font-size: .7rem;
    border-radius: 3px 0 0 3px;
    padding: .5rem
}

.invoicelist-footer {
    margin: 1rem
}

.invoicelist-footer table {
    float: right;
    width: 25%;
}

.invoicelist-footer table td {
    padding: 1rem 2rem 0 1rem;
    text-align: right
}

.invoicelist-footer table tr:nth-child(2) td {
    padding-top: 0
}

.invoicelist-footer table #total_price {
    font-size: 2rem;
    color: var(--bg-color);
}

.note {
    margin: 1rem
}

.hidenote .note {
    display: none
}

.note h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold
}

.h2- {
    margin-bottom: -11px;
    font-size: 2rem;
    margin-top: -11px;
}

footer {
    display: block;
    margin: 1rem 0;
    padding: 1rem 0 0
}

footer p {
    font-size: .8rem
}

.boton-donaciones {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 9999999;
  
    /* Efecto de agrandar al pasar el cursor */
    &:hover {
      background-color: var(--bg-color);
      transform: scale(1.1); /* Aumenta el tamaño un 10% */
    }
  }
  
      .boton-donaciones img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        margin: auto;
      }
  
      .boton-donaciones:hover {
        background-color: var(--bg-color) ;
      }
  
      #mensaje {
        position: fixed;
        bottom: 70px;
        right: 70px;
        z-index: 999;
        padding: 10px;
        margin-top: 10px;
        background-color: #f7f7f7;
        border-radius: 5px;
        opacity: 0;
        transition: all 0.3s ease;
      }
  
      #mensaje.visible {
        opacity: 1;
      }

@media (max-width: 767px) {
    .logo {
      max-width: 50%;
    }
  }

@media print {
    html {
        margin: 0;
        padding: 0;
        background: #fff;
    }
    
    body {
        width: 100%;
        border: none;
        background: #fff;
        color: #000;
        margin: 0;
        padding: 0;
    }

    .control, 
    .control-bar {
        display: none !important;
    }

    .boton-donaciones {
        display: none !important;
    }

    .title-p {
        display: none !important;
    }

    [contenteditable]:hover,
    [contenteditable]:focus {
        outline: none;
    }
}
