/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
button[name='update_cart'] {
    visibility: hidden;
}

/* Vault Widgets */


:root {
    --gf-gold: #998355;
    --gf-gold-light: #c3a363;
    --gf-silver: #c0c0c0;
    --gf-blue: #002649;
    --gf-green: #1ed3a2;
    --gf-red: #f55d5d;
    --gf-orange: #fe945a;
    --form-control-color: var(--gf-gold);
    --form-control-disabled: var(--gf-gold);

    --gf-vault-width: 680px;
}

.gf-vault-gold-background{ background-color: var(--gf-gold) !important; }
.gf-vault-gold-text{ color: var(--gf-gold) !important; }
.gf-vault-gold-border{ border: 2px solid var(--gf-gold) !important; }
.gf-vault-silver-background{ background-color: var(--gf-silver) !important; }
.gf-vault-silver-text{ color: var(--gf-silver) !important; }
.gf-vault-silver-border{ border: 2px solid var(--gf-silver) !important; }
.gf-vault-euro-background{ background-color: var(--gf-blue) !important; }
.gf-vault-euro-text{ color: var(--gf-blue) !important; }
.gf-vault-euro-border{ border: 2px solid var(--gf-blue) !important; }

.woocommerce-MyAccount-content{
    width: var(--gf-vault-width) !important;
}

.widget_vault_contents_widget{
    width: var(--gf-vault-width) !important;
}

.gf-vault-visualizer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    height: 35px;
    margin-top: 110px;
    margin-bottom: 40px;
    border-radius: 10px;
}
.gf-vault-bars {
    width: 475px;
    overflow: visible;
}
.gf-vault-bar{
    display: table-cell;
    width: 77px;
    /* float: left; */
}
.gf-vault-img-empty, .gf-vault-img{
    position: absolute;
    width: inherit;
    margin: -98px 15px 0 15px;
    padding-right: 25px;
    /* box-shadow: -2px 0 3px white;
    background-color: white; */
}

.gf-vault-weight{
    margin-right: 1em;
}

/* balance */
.gf-vault-balance-group{
    display: inline-block;
    width: 169px;
    /* border-radius: 5px; */
    overflow: hidden;
}

.gf-vault-balance-label{
    display: inline-block;
    color: white;
    height: 30px;
    padding: 3px 15px 0 0;
    width: 169px;
}

#gf-vault-balance-summary{
    text-align: end;
}

/* #gf-vault-balance-summary>SPAN {
    display: block;
} */

#gf-vault-balance-summary HR{
    border: 2px solid var(--gf-blue);
    width: 50%;
    margin: 0 0 10px auto;

}

#gf-vault-balance-summary-devider{
    width: 100%;
    margin-right: -10px;
    margin-top: -10px;
}

#gf-vault-balance-summary H1{
    color: var(--gf-blue);
    font-size: 30px;
    text-align: end;
    margin: 5px -25px -15px auto;
}

/* transaction widget */

.gf-vault-amount{
    font-weight: 500;
}

.gf-vault-converter{
    padding: 0 10px 0 10px;
    color: white;
    font-weight: 400;
    text-align: end;
}

.gf-vault-converter input[type=text], .gf-vault-converter input[type=text]:focus{
    font-size: 1em;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 6px;
    margin: 16px 8px 8px 8px;
    font-weight: 400;
    text-align: end;
    width: 43.8%;
}

.gf-vault-calculator{
    position: absolute;
    width: var(--gf-vault-width);
    margin: 0 0 50px 0;
}

#gf-vault-calculator-gold-sell, #gf-vault-calculator-silver-sell
{
    text-align: end;
}

.gf-vault-spot-price-timer-bar, #gf-vault-spot-price-timer-bar{
    display: inline-block;
    width: 678px;
    margin-bottom: -3px;
}

.gf-vault-spot-price-timer-bar span{
    position: absolute;
    left: 0;
    background-color: var(--gf-gold);
    height: 5px;
    /* animation: progress 180s infinite linear;     */
}

@keyframes progress{
    0%{
    width: inherit;
    }
    100%{
        width: 0px;
    }
};

/* Checkbox Styles */

.form-control {
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.1;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

.form-control + .form-control {
    margin-top: 1em;
}

.form-control--disabled {
    color: var(--form-control-disabled);
    cursor: not-allowed;
}

input[type=checkbox] {
    /* Add if not using autoprefixer
    -webkit-appearance: none;
    /* Remove most all native input styles */
    -moz-appearance: none !important;
        appearance: none !important;
    /* For iOS < 15 */
    background-color: var(--form-background);
    /* Not removed via appearance */
    margin: 0 10px 0 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.1em);
    display: inline-flex;
    place-content: center;
}

input[type=checkbox]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    /* transform-origin: bottom left; */
    transition: 30ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    /* Windows High Contrast Mode */
    background-color: CanvasText;
}

input[type=checkbox]:checked::before {
    transform: scale(1);
}

/* input[type=checkbox]:focus {
    outline: max(2px, 0.15em) solid currentColor;
    outline-offset: max(2px, 0.15em);
} */

input[type=checkbox]:disabled {
    --form-control-color: var(--form-control-disabled);
    color: var(--form-control-disabled);
    cursor: not-allowed;
}

input[type='range'] {
    width: 97.5%;
    margin: 18px 8px;
    -webkit-appearance: none;
}

/* webkit */
input[type='range']::-webkit-slider-runnable-track {
    background: white;
    border-radius: 50%;
    height: 8px;
    cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    background: white;
    border-radius: 50%;
    /* border: 2px solid var(--gf-gold); */
    box-shadow: 0 0 8px #4d3a14;
    margin-top: -9px;
}

/* Firefox */
input[type='range']::-moz-range-track {
    background: purple;
    border-radius: 4px;
    height: 10px;
    cursor: pointer;
}

input[type='range']::-moz-range-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    background: white;
    border-radius: 50%;
    border: 1px solid purple;
    margin-top: -7px;
}

input[type=range]:hover{
    opacity: 1;
}


.gf-vault-calculator LABEL{
    display: inline-block;
    margin: 0;
    /* height: 30px; */
    width: 49%;
    text-align: center;
}

.gf-vault-max-checks{
    width:100%;
    /* margin: -15px 0 -30px 0; */
}

.gf-vault-allocation-widget{
    height: 355px;
    margin-top: 20px;
}

.gf-vault-button-sell,  .gf-vault-button-buy{
    color: white;
    border-radius: 15px;
    /* width: 45%; */
    margin: 15px;
    display: inline-block;
    text-align: center;
    padding: 15px 45px;
    cursor: pointer;
}

.gf-vault-button-sell {
    background-color: var(--gf-red);
}

.gf-vault-button-buy{
    background-color: var(--gf-green);
}

.gf-vault-mutation-buy, .gf-vault-mutation-sell{
    text-align: left;
    padding: 15px;
}

.gf-vault-mutation-buy::before{
    content: 'The actual purchase price, displayed in the button below, is equal to the price of the maximum of whole grams that can be acquired for the amount you specified.';
}
.gf-vault-mutation-sell::before{
    content: 'The actual sell price, displayed in the button below, is equal to the price of the maximum of whole grams that can be sold for the amount you specified.';
}

.gf-vault-tabs{
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.gf-vault-tab{
    width: 46%;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(rgb(238, 238, 238) 0%, rgba(238,238,238,1) 50%, rgba(230, 230, 230, 1) 100%);
    font-weight: 400;
    color: var(--gf-silver);
    padding:5px 10px 3px 10px;
    margin-bottom: 2px;
    cursor: pointer;
    height: 35px;
    margin-top: auto;
    /* border-top: 2px solid var(--gf-gold);
    border-left: 2px solid var(--gf-gold);
    border-right: 2px solid var(--gf-gold); */
}



.gf-vault-calculator-sell{
    display: none;
    /* opacity: 0; */
}

.gf-vault-tabs .gf-vault-tab-gold-active, .gf-vault-tabs .gf-vault-tab-silver-active {
    background: var(--gf-gold);
    padding: 8px 10px 5px 12px;
    border: none !important;
    margin-bottom: 0;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500 !important;
    height: 40px;
}

.gf-vault-tabs .gf-vault-tab-silver-active {
    background: var(--gf-silver);
}

/* popup */
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    /* transition: opacity 500ms; */
    visibility: hidden;
    opacity: 0;
}

.overlay-direct{
    transition: none;
}

.overlay-visible {
    visibility: visible !important;
    opacity: 1 !important;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 40%;
    position: relative;
    top: 120px;
    transition: all 5s ease-in-out;
}

.popup h2 {
    width: 85%;
    margin: 16px;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    width: 85%;
    margin : 16px;
    max-height: 30%;
    overflow: auto;
}

#gf-popup-terms-and-conditions{
    margin:0 16px;
    visibility: none;
}

/* loader */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 13px;
  }
  .lds-ellipsis div {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }