@import "https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css";
/*.starter-template {
  padding: 3rem 1.5rem;
  text-align: center;
}*/

/*h1{
  color:#0000FF;
}

h2{
  color:#FF0000;
}*/

.metal-prices th {
    text-align: left;
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 8px;
}

.metal-prices {
    width: 100%;
}

.button {
    background-color: #ffcc00;
    border: none;
    border-color: white;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius:4px;
    cursor: pointer;
}
/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tablinks {
    font-size: x-large;
    font-weight: bold;
}

.table-responsive table, .table-responsive th, .table-responsive td {
    border:1px solid black;
}

th, td {
    padding:  10px;
}

.metal-title {
    font-size: x-large;
    color: gold;
}

.metal-widget-alert {
    padding: 20px;
    background-color: #f44336;
}

.metal-widget-alert-message {
    color: white;
}

/* The Modal (background) */
.calculator-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.calculator-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.calculator-close {
    /*color: white;*/
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.calculator-close:hover,
.calculator-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.calculator-modal-header {
    padding: 2px 16px;
    /*background-color: #5cb85c;
    color: white;*/
}

.calculator-modal-body {padding: 16px;}

/*.calculator-modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}*/

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.metal-increase {
    color: limegreen;
}

.metal-decrease {
    color: red;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
body{font-family: 'Roboto', sans-serif;}
.metalWrap{background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 3px; padding: 19px;}
.goldColor{color: #E59F06;}
.f-20 { font-size: calc(1rem + .34vw);}
.br-1{border-right: 1px solid #B6B6B6;}
.btn-primary,.btn-primary:focus,.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle{background: #FFC700; border-color: #E59F06; color: #000;}
.btn-primary:hover{background: #FFD233; border-color: #FFD233;color: #000;}
.btn-primary:focus,.btn-check:focus+.btn,.btn:focus{box-shadow: 0 0 0 0.25rem rgb(255 226 139);}
.modal-title span { border-bottom: 3px solid;}
.modal-body, .modal-header {
    padding: 1.8rem;
}
.nav-link{border: 1px solid #B6B6B6!important; margin-right: 6px;}
.nav-pills .nav-link.active.goldColor { background: #E59F06; color: #fff !important }
.nav-pills .nav-link:hover.goldColor{ color: #E59F06;}
.nav-pills .nav-link.goldColor{ background: #FFFADB; border-color:#E59F06 !important}
.nav-pills .nav-link.active{border-color:#0067C6 ; background-color: #939393;outline: 3px solid #0067C6;}
.nav-link.silver{background: #E0E0E0; color: #000; border-color: #939393;}
.nav-link.platinum{background: #F2F2F1; color: #000; border-color: #B6B6B6;}
.nav-link.palladium{background: #E0E0DD; color: #000; border-color: #9B9B97;}
.modal-dialog {
    max-width: 676px;
}
thead { background: #B3D6F2; font-size: calc(1rem - 2px); position: sticky;top: 0;}
thead th{font-weight: normal;border: none;}
.table-responsive tbody{background: #E7F3FF;}
.form-control{border: 1px solid #B3D6F2; text-align: center;}
td { vertical-align: middle;}
.table-responsive {
    max-height: calc(100vh - 20rem);
    overflow: auto;
}
html {
    --scrollbarBG: #CFD8DC;
    --thumbBG: #90A4AE;
}
.table-responsive::-webkit-scrollbar {
    width: 11px;
}
.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
.table-responsive::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}
.table-responsive::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG) ;
    border-radius: 6px;
    border: 3px solid var(--scrollbarBG);
}

/*media screens*/
@media screen and (max-width:575px) {
    .mb-xs-2{margin-bottom: 1rem;}
    .noBorder{border: none;}
}
@media screen and (max-width:767px) {
    li.nav-item {
        width: 50%;
    }

    li.nav-item button {
        width: 100%;
    }
    li.nav-item img{display: none;}
    .noBorder {border: none;}
}
@media screen and (max-width:1200px){
    .h3,h3 {
        font-size: calc(1rem + .3vw);
    }
    .f-20 {
        font-size: calc(.8rem + .34vw);
    }
}

#send-sms-button::placeholder {
    font: 12px sans-serif;
}
#staticBackdrop1 table{
    margin-bottom: 0px;
}
.metal-header{
    display: none;
}
.modal-title .goldColor{
    border-bottom: 3px solid #e0dfdf;
}
.popup-head-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-right: 10px;
}
.popup-head-container h5{
    flex: 1 0 40%;
}
.get-quote-sec input, .get-quote-sec button{
    height: 35px;
    line-height: 1;
    padding: 7px 10px;
}
.get-quote-sec{
    display: flex;
    flex: 1 0 60%;
}
.get-quote-sec label{
    margin-bottom: 0;
}
.get-quote-sec input{
    width: 217px;
}
.get-quote-sec form{
    flex: 1;
}
.get-quote-sec button{
    background: #0275d8;
    color: #fff;
    font-size: 14px;
    width: 90px !important;
}
.get-quote-sec form{
    margin-bottom: 0px;
}
/* Calculator Table */
.calculator-box{
    border: 1px solid;
}
.calculator-box .calculator-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.calculator-box .calculator-row.head{
    background-color: #b3d6f2;
    position: sticky;
    top: 0;
}
.calculator-box .calculator-row.cont{
    border-top: 1px solid;
    background: #E7F3FF;
}
.calculator-box .calculator-row.head .calculator-col select{
    width: 100%;
}
.calculator-box .calculator-row .calculator-col{
    flex: 1 0 20%;
    padding: 0.75rem;
}
.calculator-box .calculator-row .calculator-col:not(:last-child){
    border-right: 1px solid;
}
.calculator-box .calculator-row .calculator-col:nth-child(2){
    flex: 1 0 20%;
}
.calculator-box .calculator-row .calculator-col:last-child{
    flex: 1 0 55%;
}
@media only screen and (max-width: 600px) {
    .m-hide{
        display: none;
    }
    .metal-header{
        display: block;
        color: #000;
        font-size: 23px;
        font-weight: 700;
        margin: 20px 0px
    }
    .metal-header span{
        color: #E59F06;
        border-bottom: 3px solid #e0dfdf;
    }
    .metalWrap{
        box-shadow:none;
        padding: 0;
    }
    .metalWrap>*:not(:last-child){
        border-right: none;
        border: 1px solid #e0dfdf;
        border-radius: 3px;
        padding: 15px 20px;
        margin-bottom: 8px !important;
    }
    .metalWrap>*:last-child{
        padding: 0px;
    }
    .metalWrap>*:last-child .btn-primary{
        padding: 10px;
        font-size: 20px;
        font-weight: 500;
        border-radius: 2px;
        border: none;
    }
    .metalWrap .metal-item .w-auto{
        width: 100% !important;
    }
    .metalWrap .metal-item .w-auto .goldColor{
        font-size: 17px;
    }
    .metalWrap .metal-item .w-auto .d-flex{
        width: 100%;
        justify-content: space-between;
    }
    .metalWrap .metal-item .w-auto .d-flex div{
        display: flex;
        flex-direction: row;
    }
    .metalWrap .metal-item .w-auto .d-flex div img{
        order: 2;
    }
    .metalWrap .metal-item .w-auto .d-flex div span{
        order: 1;
        padding-right: 10px;
    }
    .metalWrap .metal-item .w-auto .d-flex h3,  .metalWrap .metal-item .w-auto .d-flex h3 span{
        font-size: 25px;
        font-weight: 600;
    }
    .metalWrap .metal-item .w-auto .d-flex span{
        font-weight: 500;
        font-size: 20px;
    }


    /* Popup style */
    .modal-dialog{
        margin: 0px !important;
        height: 100%;
        max-height: 100%;
    }
    .modal-header{
        border-bottom: 0px;
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    }
    .modal-header .get-quote-sec{
        position: absolute;
        bottom: 0;
        height: 80px;
        padding: 20px 10px 10px 25px;
        width: 100%;
        left: 0;
        z-index: 1;
    }
    .get-quote-sec form input{
        border-radius: 2px;
        border: 1px solid #a7d2f4;
    }
    .modal-content{
        border: none;
        border-radius: 0px;
    }
    .modal-dialog-scrollable .modal-content{
        height: 100%;
        max-height: 100%;
    }
    .modal-body{
        padding: 1rem;
    }
    #staticBackdrop1 .modal-body ul{
        gap: 5px;
        display: flex;
        justify-content: space-between;
    }
    #staticBackdrop1 .modal-body li.nav-item{
        width: auto;
        flex: 1 0 20%;
    }
    #staticBackdrop1 .modal-body li.nav-item button{
        font-size: 14px;
        padding: 10px 7px;
    }
    .table-responsive {
        max-height: calc(100vh - 14rem);
        overflow: auto;
    }
    .calculator-box{
        border: none;
    }
    .calculator-box .calculator-row.head{
        flex-direction: column;
        background-color: #fff;
    }
    .calculator-box .calculator-row.head .calculator-col{
        order: 2;
        border-right: none;
    }
    .calculator-box .calculator-row.head .calculator-col select,  .calculator-box .calculator-row.cont .calculator-col input{
        width: 100%;
        padding: 10px;
        border-radius: 2px;
        border: 1px solid #a7d2f4;
    }
    .calculator-box .calculator-row.head .calculator-col:nth-child(2){
        display: none;
    }
    .calculator-box .calculator-row.head .calculator-col:last-child{
        order: 1;
        text-align: center;
        color: rgb(0,0,0,.5);
    }
    .calculator-box .calculator-row.cont{
        display: -webkit-flex;
        display: flex;
        -webkit-flex-flow: column wrap; /* Safari 6.1+ */
        flex-flow: column wrap;
        height: 80px;
        border-top: none;
        background: #fff;
    }
    .calculator-box .calculator-row.cont> .calculator-col{
        -webkit-flex-grow: 1;
        flex-grow: 1;
        order: 2;
        padding: 0 0.7rem;
        border-right: none;
        width: 50%;
    }
    .calculator-box .calculator-row.cont> .calculator-col:nth-child(2){
        order: 1;
        padding-top: 10px
    }
    .calculator-box .calculator-row.cont .calculator-col:last-child{
        display: flex;
        order: 3;
        padding-top: 10px;
        width: 50%;
    }
    .calculator-box .calculator-row.cont .calculator-col:last-child h5{
        align-self: center;
        margin-top: 20px;
    }
}