@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.logo-wrapper img {
  max-height: 130px;
}
@media (max-width: 991px) {
  .logo-wrapper img {
    max-height: 100px;
  }
  .prc-gld > p:last-child,
  .mobile-head,
  .prc-gld .text-green.text-base-4xl.font-semibold,
  .prc-gld .text-red.text-base-4xl.font-semibold {
    font-size: 1.25rem;
  }
  .prc-gld img {
    width: 20px;
  }
  .price--detail > div {
    padding: 0.25rem;
  }
  h1.text-base-5xl.leading-8 {
    font-size: 1.5rem;
    text-align: center;
  }
  .dayt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .dayt * {
    font-size: 0.95rem;
  }
}

.hover\:text-2nd:hover {
  color: #e5bf44;
}
@media (min-width: 992px) {
  .lg\:w-58 {
    width: 15rem;
  }
}
@media (min-width: 576px) {
  .sm\:asp-15b11 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 15;
  }

  .sm\:asp-15b11 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .sm\:asp-15b11 {
    --tw-aspect-h: 11;
  }
}
.news-d-area .news-card-item .article-card .img-wrapper {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

@media (min-width: 576px) {
  .news-d-area .news-card-col-2.news-sub-control .detail-wrapper {
    width: 50%;
    flex-basis: 50%;
  }
}

@media (min-width: 992px) {
  .news-d-area .news-card-item .article-card .img-wrapper .asp-1b1 {
    --tw-aspect-w: 2;
  }
}

@media (max-width: 575px) {
  .news-d-area .news-card-col-2 .news-card-item {
    width: 100%;
  }
  .news-d-area .news-card-col-2 .news-card-item .detail-wrapper .font-light{
    display: none;
  }
}


/* table silver */
.price-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 900px;
  margin: auto;
}

.title-box {
  background: linear-gradient(135deg, #76ad4c, #a9d18e);
  color: #fff;
  border-radius: 9px;
  padding: 13.5px 22.5px;
  font-size: 1.45em;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 3.6px 7.2px rgba(180, 180, 180, .3);
  width: 100%;
  order: 1;
}

.note-box {
  background-color: #e6f0e0;
  color: #444;
  border-radius: 9px;
  padding: 10px 22.5px;
  text-align: center;
  box-shadow: 0 1.8px 5.4px rgba(200, 200, 200, .3);
  border: 1px solid #d1e7d1;
  width: 100%;
  order: 3;
}

.note-text {
  font-size: 0.81rem;
  opacity: 0.9;
  font-style: italic;
}

.price-box,
.gold-price-wrapper {
  background: #fff;
  color: #333;
  border-radius: 9px;
  padding: 18px;
  border: 1px solid #bcd5c5;
  box-shadow: 0 3.6px 7.2px rgba(200, 200, 200, 0.3);
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1 350px;
  min-width: 300px;
  order: 2;
}
.gold-price-wrapper table{ 
  margin-bottom: 0;
  font-size: 17px;
}
.gold-price-wrapper table thead tr th,
.gold-iframe-content table thead tr th{
  color: #fff;
  --tw-bg-opacity: 1;
  background-color: rgb(114 95 40 / var(--tw-bg-opacity));
  border: none;
  font-weight: 500;
  font-size: 19px;
}
.gold-price-wrapper iframe{
  display: inline-block;
  width: 100%;
  height: 400px;
}
.gold-price-wrapper iframe html,
.gold-price-wrapper iframe body,
.gold-price-wrapper iframe .table1-1,
.gold-price-wrapper iframe .table1-2,
.gold-price-wrapper iframe .table2-1,
.gold-price-wrapper iframe .table2-3,
.gold-price-wrapper iframe .table2-4{
  font-family: "Prompt", sans-serif !important;
}

.gold-price-wrapper iframe .table2-4{
  font-family: "Prompt", sans-serif !important;
  display: flex;
align-items: center;
font-size: 17px;
font-weight: 500;
border-bottom: 1px solid #e6e6e6;
padding-bottom: 9px;
margin-bottom: 9px;
  color: #555;
}

.price-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.price-header .icon {
  font-size: 1.35em;
  margin-right: 9px;
  color: #4aa96c;
}

.price-header .time {
  margin-left: 10px;
  font-size: 0.81em;
  font-weight: normal;
  color: #999;
}

.price-values {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-grow: 1;
  align-items: center;
}

.price-item {
  width: 50%;
}

.price-item .value {
  font-size: 1.6em;
  font-weight: bold;
  color: #444;
}

.price-item .label {
  font-size: 17px;
  color: #888;
  margin-top: 4.5px;
}

.divider {
  width: 1px;
  background: #e6e6e6;
  align-self: stretch;
  margin: 0 9px;
}

@media (max-width: 600px) {
  .title-box {
      font-size: 1.17em;
      padding: 9px 13.5px;
  }

  .price-box {
      padding: 13.5px;
      gap: 13.5px;
      min-width: unset;
  }

  .price-header {
    font-size: 1em;
    color: #000;
  }

  .price-header .icon {
      font-size: 1.08em;
  }

  .price-item .value {
      font-size: 1.35em;
  }

  .note-text {
      font-size: 0.72rem;
  }
}

.price-item .value.buy {
  color: #1a6b17;
}

.price-item .value.sell {
  color: #b82a2a;
}

.table1-1,
.table1-2,
.table2-1,
.table2-2,
.gold-price-wrapper body{
  /* font-family: prompt-medium !important; */
  font-family: prompt-regular !important;
}
.silver-separate-iframe .price-container .title-box{ display: none;}

.table2-2{ color: #b82a2a !important;}
.table2-3{ color: #1a6b17 !important;}
.table2-4 {
	font-weight: normal;
	color: #303030;
	background-color: #FFFFFF;
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	border-top: 1px solid #DDDDDD;
	text-align: center;
	vertical-align: middle;
}

/* iOS Safari: cell text-align can be ignored vs Android; span fills cell and centers content */
.gold-price-wrapper table th.table2-4,
.gold-price-wrapper table td.table2-4 {
	text-align: center;
	vertical-align: middle;
}

.table2-4 span {
	position: relative;
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	line-height: 1.25;
}
.table2-4 span.up{ color: var(--bs-success);}
.table2-4 span.down{ color: var(--bs-danger);}

/* iOS WebKit: absolute ::before without top uses an inconsistent static position vs Chrome */
.table2-4 span.up::before,
.table2-4 span.down::before,
.table2-4 span.minus::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  left: 10px;
  /* top: 50%; */
  top: -1px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: left center;
}

.table2-4 span.up::before {
  background-image: url("../img/icon/up.svg");
  background-size: 13px;
}

.table2-4 span.down::before {
  background-image: url("../img/icon/down.svg");
  background-size: 13px;
}

.table2-4 span.minus::before {
  background-image: url("../img/icon/minus.gif");
  background-size: 12px;
}

.snpgold-font-gold {
	font-size: 15px;
	font-weight: normal;
	color: #303030;
}
.snpgold-lastupdate {
	font-size: 14px;
	font-weight: normal;
	color: #FFFFFF;
	text-align: center;
	background-color: #76AD4C;
	border: 1px solid #DDDDDD;
}

.sect-price-display .cleft{
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 18px;
}
.sect-price-display .cright{ padding-left: 20px;}
.sect-price-display{
  padding: 60px 0 40px 0;
  --tw-bg-opacity: 1;
background-color: rgb(229 191 68 / var(--tw-bg-opacity));
}
.header-title{
  display:flex;
  justify-content: space-between;
  align-items: center;
}
.header-title h2{
  font-size: 2em;
  line-height: 1;
}
.header-title .rgh-text{
  text-align: right;
}
.text-link-phone{
  /* padding: 0 10px;
  border-radius: 20px;
  background: #aa8f06;
  color: #82650f;
  background: linear-gradient(to left, #c09f53, #eedaad); */
  background: rgba(255, 255, 255, 0.69);
  padding: 0 10px;
  border-radius: 50px;
  color: #745b11;
}
.text-link-phone:hover{ 
  background: #fff;
}

@media(max-width: 768px){
  .sect-price-display .cleft,
  .sect-price-display .cright{
    width: 100%;
    padding: 0 15px;
  }
  .sect-price-display .cright{ margin-top: 40px;}
  .price-container{ max-width: 100%;}
  .price-item .value{ font-weight: 500;}
  .sect-price-display .bottom-bar p, .header-title p{ font-size: 15px !important;}
}
@media(max-width: 600px){
  .gold-price-wrapper table thead tr th{ font-size: 16px;}
  .price-header{ font-size: 1.35em; color: #000;}
}
@media(max-width: 480px){
  .gold-price-wrapper table{ font-size: 16px;}
  .gold-price-wrapper table thead > tr > th:first-child{ width: 16%;}
  .gold-price-wrapper table thead tr th{
    font-size: 14px;
    padding: 10px 3px;
  }
}
@media(max-width: 430px){
  .gold-price-wrapper{
    padding: 0;
    overflow: hidden;
  }
  .gold-price-wrapper > p{ display: none;}
}
@media(max-width: 395px){
  .gold-price-wrapper{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    min-width: initial;
  }
  .gold-price-wrapper table{
    width: 373px;
    overflow: scroll;
  }
  .header-title{
    display: inline-block;
    width: 100%;
  }
  .header-title .rgh-text{ text-align: left;}
  .header-title .rgh-text p{
    display: inline-block;
    float: left;
    font-size: 14px;
    margin-bottom: 0px;
    margin-right: 0.35em;
  }
}
@media(max-width: 320px){
  .price-header{ font-size: 1.2em;}
}