/*
Theme Name: Kyoto Child
Theme URI: https://www.kyototheme.com
Description: Kyoto Child Theme.
Author: Twisttheme
Template: kyoto
Version: 1.0.0.2
Text Domain: kyoto-child
*/

:root {
  --color-blue: #1e45ef;
  --color-light-blue: #15ace6;
  --color-dark-blue: #031c52;
  --color-green: #00c300;
  --color-red: #a80f0f;
  --color-text: #303133;
  --color-grey-text: #9ca4a1;
  --gradient: linear-gradient(
    90deg,
    rgba(10, 65, 184, 1) 0%,
    rgba(30, 69, 239, 1) 50%,
    rgba(21, 172, 230, 1) 100%
  );
  --gradient-button: linear-gradient(
    90deg,
    rgba(30, 69, 239, 1) 0%,
    rgba(21, 172, 230, 1) 100%
  );
  --gradient-yt-subbox: linear-gradient(0deg, #7e0101 0%, #fe0000 100%);
  --gradient-tt-subbox: linear-gradient(
    60deg,
    #b30134 0%,
    #21000a 15%,
    #21000a 75%,
    #047c98 100%
  );

  --color-exchange: #419b18;
  --color-exchange-background-odd: #f5faf3;
  --color-exchange-background-even: #e2f0dc;
  --color-oil-background-odd: #f8f8fc;
  --color-oil-background-even: #e9e8f3;
}

.static {
  position: static !important;
}

.mb-box-radius .kyt-background-overlay {
  border-radius: 10px;
}

/****** NAVBAR ******/

.kyt-side-navbar--fixed .kyt-navbar-wrapper {
  display: block;
}
.kyt-side-navbar--fixed .kyt-nav-menu {
  line-height: 2;
}
.bordernav {
  width: 70px;
}
.bordernav hr {
  border: 0;
  border-bottom: 1.5px solid #ddd;
}
.kyt-side-navbar .widget {
  margin-top: 0px;
}
.kyt-side-navbar #menu-sidenav li a {
  color: #0c537f;
  font-size: 20px;
}
#btnspac {
  line-height: 1.3;
  padding: 8px 37px !important;
}
.kyt-side-navbar--fixed .kyt-navbar-footer {
  display: block;
  position: absolute;
  bottom: 30px;
}
.kyt-side-navbar .kyt-search-form input {
  width: 80% !important;
  padding: 8px 10px;
  border: 1px solid #ddd !important;
  border-right: 0px !important;
  border-radius: 50px 0px 0px 50px;
}
.kyt-side-navbar .kyt-search-form .kyt-form-group button {
  width: 20% !important;
  padding-right: 10px !important;
  color: #ddd !important;
  border: 1px solid !important;
  border-left: 0px !important;
  border-radius: 0px 50px 50px 0px !important;
}
.kyt-side-navbar .kyt-navbar-footer .kyt-widgets {
  padding-right: 30px;
  padding-left: 30px;
  font-family: "db adman", sans-serif;
}

#custom_html-2 {
  display: flex;
  height: 60px;
  align-items: center;
}

.mb-navbar-icon {
  display: flex;
  gap: 12px;
}

/**********  MEGA MENU **********/

.kyt-navbar-inner {
  overflow: visible !important;
}

.menu-item-26482,
.menu-item-26499,
.menu-item-32075 {
  position: relative;
}

li.menu-item-26482:hover .sub-menu,
li.menu-item-26499:hover .sub-menu,
li.menu-item-32075:hover .sub-menu {
  display: block !important;
}

.menu-item-26482 .sub-menu,
.menu-item-26499 .sub-menu,
.menu-item-32075 .sub-menu {
  display: none;
  position: absolute;
  padding: 20px 10px;
  top: 0;
  left: 100%;
  width: 300px;
  background-color: #fff !important;
  border-radius: 10px;
  box-shadow: 0px 4px 18px -5px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 768px) {
  li.menu-item-26482:hover .sub-menu,
  li.menu-item-26499:hover .sub-menu {
    display: none !important;
  }

  .menu-item-26482 .sub-menu,
  .menu-item-26499 .sub-menu {
    position: unset;
    padding: unset;
    top: unset;
    left: unset;
    width: unset;
    background-color: unset;
    border-radius: unset;
    box-shadow: unset;
  }

  .menu-item-26482 .sub-menu:before,
  .menu-item-26499 .sub-menu:before {
    content: unset;
    position: unset;
    top: unset;
    left: unset;
    width: unset;
    height: unset;
    border-top: unset;
    border-bottom: unset;
    border-right: unset;
    box-shadow: unset;
  }

  li.menu-item-26482:hover .sub-menu,
  li.menu-item-26499:hover .sub-menu {
    display: unset;
  }
}

/****** NAVBAR MOBILE ******/

.kyt-widgets.navbar-widgets.right .twf-line {
  color: #00c300;
  font-size: 1.2em;
}

.kyt-navbar--mobile .kyt-navbar-header {
  margin-right: 12px;
}

.kyt-navbar--mobile .navbar-widgets.right {
  margin-left: 0;
}

/**********  HOME **********/

/****** tag หน้าแรก ******/
/*ul.mb-trending-tag:before{
	content:"TRANDING";
}*/
li.mb-trending-tag {
  display: inline-block;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  list-style-type: none;
}
/****** footer ******/
.footermenu .widget .kyt-menu a {
  font-family: "BaiJamjuree-bold", sans-serif;
}
/****** หน้า contact ******/
.quotecontact:before {
  content: "“";
  position: absolute;
  line-height: 0.1;
  color: var(--color-blue);
  font-family: "db adman light", sans-serif;
  font-size: 120px;
}
.contactbox select,
.contactbox input,
.contactbox textarea {
  width: 100%;
  margin-bottom: 15px;
  font-family: "BaiJamjuree", sans-serif;
  font-size: 16px;
  color: #050708;
  background: #fff;
  border: 1px solid #c2c2c2;
  border-radius: 25px;
  resize: none;
}
.contactbox input[type="submit"],
.contactbox input[type="submit"]:hover {
  background: var(--gradient);
  border-radius: 35px;
}
.contactbox p {
  color: #4a4a4a;
  font-family: "db adman", sans-serif;
}
.contactbox input::placeholder {
  color: #050708;
}
input[type="submit"] {
  margin-top: 20px;
  color: #fff;
  background: #2f6a90;
  border: 0;
  border-radius: 25px;
}
input[type="submit"]:hover {
  color: #fff;
  background: #2f6a90;
  border: 0;
  border-radius: 25px;
}
/****** End หน้า contact ******/
.footermenu {
  font-size: 16px;
}
/******* คำศัพท์หน้าแรก ******/
.glossary .kyt-entry-title a {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glossary .kyt-entry-excerpt {
  font-size: 20px;
}
.glossary .kyt-entry-body-wrapper-inner > * {
  margin-bottom: 0px;
}
#glossary-moblie
/****** ปรับ height เมนู ******/
.kyt-side-navbar--fixed .kyt-navbar-body {
  display: block;
  height: auto;
}
/* ปรับ padding เมนู */
.kyt-side-navbar--fixed .kyt-navbar-body-inner {
  padding-bottom: 0px;
}
/****** ปรับ margin logo ******/
@media only screen and (min-width: 1080px) {
  .kyt-navbar-header.kyt-navbar-header .kyt-navbar-brand {
    margin-top: 20px;
    margin-bottom: 40px;
  }
}
/****** ขอบรูป ******/
.home .kyt-media-wrapper,
.search .kyt-media-wrapper,
.archive .kyt-media-wrapper,
.postpoppular .post .kyt-media-wrapper {
  border-radius: 7px;
}
/****** ปรับ margin post หน้าแรก ******/
.contenth .kyt-entry-body-wrapper-inner,
.archive .kyt-entry-body-wrapper-inner,
.search .kyt-entry-body-wrapper-inner {
  max-width: 400px;
  padding-right: 40px;
}
/*หัวข้อ*/
.kyt-entry-title {
  line-height: 1;
}

@media screen and (max-width: 480px) {
  /****** หัวข้อหน้าแรก ******/
  .heading-line.kyt-heading {
    margin-top: -55px !important;
  }
  .recom-post .kyt-media-wrapper {
    border-radius: 7px 7px 0px 0px;
  }
}
/****** ปรับ widget MOSTPOPULAR ******/
.mostpop .kyt-heading-inner {
  padding: 15px 0px;
  background: #eee;
  border-radius: 50px;
}
.mostpop ul {
  padding: 15px 0px;
  background: #eee;
  border-radius: 50px;
}
.mostpop span,
.twotone,
#twotone {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mostpopwidget .popular-posts .kyt-heading-inner,
.kyt-sidebar .popular-posts .kyt-heading-inner {
  border-radius: 50px;
  border-top: 0;
  background: #eee;
  text-align: center;
}
.mostpopwidget .popular-posts h3,
.kyt-sidebar .popular-posts h3 {
  font-size: 24px;
  padding: 14px;
  border-top: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mostpopwidget .popular-posts.widget li,
.kyt-sidebar .popular-posts.widget li {
  width: 100%;
  line-height: 1;
  padding: 20px 10px;
  border-bottom: 1px solid #ddd;
  font-family: "db admin bd", sans-serif;
}
.mostpopwidget .mb-popular-posts,
.kyt-sidebar .mb-popular-posts {
  display: inline-block;
  padding-left: 40px;
  margin-bottom: 10px;
}
.mostpopwidget .popular-posts.widget,
.kyt-sidebar .popular-posts.widget {
  counter-reset: number;
  list-style-type: none;
}
.mostpopwidget .popular-posts li:before,
.kyt-sidebar .popular-posts li:before {
  content: counter(number) "\a0";
  display: inline-block;
  position: absolute;
  line-height: 0.8;
  padding-top: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  counter-increment: number;
  vertical-align: top;
}
.mostpopwidget .popular-posts span.wpp-meta,
.kyt-sidebar .popular-posts span.wpp-meta {
  display: block;
  width: 90%;
  padding-top: 5px;
  color: #a7a7a8;
  font-family: "BaiJamjuree-Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
}
.mostpopwidget .popular-posts.widget a,
.kyt-sidebar .popular-posts.widget a {
  display: inline-block;
  padding-bottom: 5px;
  color: var(--color-dark-blue);
}
.mostpopwidget .kyt-widget-item {
  padding-top: 20px;
  padding-bottom: 12px;
}
.mostpopwidget .kyt-widget-item:last-child {
  padding-bottom: 15px;
  border-bottom: 1px solid #e3e3e3 !important;
}
.mostpopwidget .kyt-widget-title {
  line-height: 20px;
  font-size: 19px;
  font-family: "db admin bd", sans-serif;
}
.mostpopwidget .kyt-widget-number {
  margin-top: -5px;
  border: none;
  background: linear-gradient(to right, #052f4a 0%, #0c5582 100%);
  background: -moz-linear-gradient(to right, #052f4a 0%, #0c5582 100%);
  background: -o-linear-gradient(to right, #052f4a 0%, #0c5582 100%);
  background: -webkit-linear-gradient(to right, #052f4a 0%, #0c5582 100%);
  background: -ms-linear-gradient(to right, #052f4a 0%, #0c5582 100%);
  background: linear-gradient(to right, #052f4a 0%, #0c5582 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 35px;
  font-family: "db admin bd", sans-serif;
}
@media only screen and (min-width: 1080px) {
  .mostpopwidget .kyt-widget-number {
    margin-top: -15px;
  }
}
/****** End ปรับ widget MOSTPOPULAR ******/
.viewmorebtn {
  z-index: 1;
}
/******* ปรับ heading .บทความล่าสุด. ******/

.mb-heading .kyt-heading-text {
  padding-top: 8px;
}

.gradient-heading .kyt-heading-text,
.mb-heading .kyt-heading-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 0;
}
.mb-heading.kyt-heading {
  border-bottom: 1px solid #ddd;
}
.mb-heading .kyt-heading-text:after {
  z-index: 999;
  bottom: -1px;
  width: 100%;
  height: 2px;
  border: 0px;
  background: var(--gradient);
  background-size: 100% 5px;
}

/****** SUBSCRIBE BOX *******/
.subbox {
  max-height: 250px;
  min-height: 204px;
  background: var(--gradient);
}

.subbox.new-youtube-subbox,
.subbox.new-tiktok-subbox {
  max-height: unset;
}

.subbox.new-youtube-subbox .kyt-box-body,
.subbox.new-tiktok-subbox .kyt-box-body {
  padding-bottom: 30px;
}

.subbox.new-youtube-subbox {
  background: var(--gradient-yt-subbox);
}

.subbox.new-tiktok-subbox {
  background: var(--gradient-tt-subbox);
}

.mb-subscribe-absolute {
  position: absolute;
  right: 0;
  bottom: 0;
}

.mb-specific-bold span span span {
  font-family: "db admin bd", sans-serif;
  font-weight: 400 !important;
}

.subbox .mc4wp-alert p {
  margin-top: 10px;
  font-size: 12px;
}

.mc4wp-form-submitted .mc4wp-form-fields {
  display: none;
}
.mc4wp-form-submitted .mc4wp-response {
  color: #fff;
}
.linesubbox {
  max-height: 250px;
  min-height: 204px;
  background: #00c300;
}
/* ทำขอบแบนเนอร์ หน้าแรก*/
.boxs {
  background: #efefef;
  border-radius: 7px;
}
.boxs-shadow {
  background: #efefef;
  border-radius: 7px;
  box-shadow: 0px 4px 18px -5px rgba(0, 0, 0, 0.35);
}
.form-email input[type="email"] {
  padding-left: 10px !important;
  padding-top: 18px;
  padding-bottom: 18px;
  color: #113151 !important;
  background: #fff;
  border: 1px solid #fff !important;
  border-right: 0px !important;
  border-radius: 35px 0px 0px 35px !important;
  font-family: "BaiJamjuree-Regular", sans-serif;
  font-size: 12px;
}
.form-email input[type="email"]::placeholder {
  color: #113151 !important;
  background: #fff;
}
/***********
.form-email form#mc4wp-form-1 {
  padding-right: 80px;
}
***********/
.form-email .kyt-form-group > button[type="submit"] {
  padding-right: 16px !important;
  background: #fff;
  border: 1px solid #fff !important;
  border-left: 0 !important;
  border-radius: 0 35px 35px 0 !important;
}
.form-email .kyt-form-group > button[type="submit"] i {
  color: #113151;
}
/*รูปควายปรับให้ขอบข้างล่างและหัวโผล่ */
.imgbu .kyt-item {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
}
@media only screen and (max-width: 767px) {
  .imgbu .kyt-item {
    position: relative;
  }
}

/*text กับ button แถวเดียวกัน  */
.text-inline {
  display: inline-block;
}
/*button ไร้สี  */
.btn-custom {
  width: fit-content;
  line-height: 1.3;
  padding: 8px 37px;
  border-radius: 50px;
  background: var(--gradient);
}
.btn-custom .btnx {
  color: #fff !important;
}
/*** เพิ่ม border ที่ content สุดท้ายของ post ***/
.kyt-entries--list.with-separator .kyt-entry:last-child {
  border-bottom-width: 1px;
}
/*  post บทความแนะนำ */
.recom-post .kyt-entry-taxonomy a {
  border-radius: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.recom-post .kyt-entry-body-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  margin-top: 0;
  background: var(--color-blue);
  border-radius: 7px 0px 0px 7px;
}
.recom-post .kyt-entry-body-wrapper-inner {
  display: table-cell;
  padding: 0 5%;
  vertical-align: middle;
}
.recom-post .kyt-entry-header {
  width: 55% !important;
  margin-left: auto;
  order: 2;
}
.recom-post .kyt-entry-body {
  width: 45% !important;
}
.recom-post .kyt-entry-inner {
  display: flex;
}
.recom-post .kyt-entry-body-inner {
  padding: 3% 0;
}

.recom-post .kyt-entry-title a:hover {
  opacity: 0.75;
}

p .mb-post-img-desktop {
  display: block;
}

p .mb-post-img-mobile {
  display: none;
}

@media only screen and (max-width: 1116px) {
  .recom-post .kyt-entry-body a {
    font-size: 20px;
  }
  .recom-post .kyt-entry-title {
    display: block;
    line-height: 0.7;
  }
}
@media only screen and (max-width: 768px) {
  .recom-post .kyt-entry-inner {
    display: block;
  }
  .recom-post .kyt-entry-body-wrapper {
    margin-top: 0;
    background: var(--gradient);
    border-radius: 0px 0px 7px 7px;
  }
  .recom-post .kyt-media-wrapper {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .recom-post.kyt-entries--list .kyt-entry-body-wrapper-inner {
    padding: 5%;
  }
  .recom-post .kyt-entry-body-inner {
    padding: 0;
  }
  .recom-post .kyt-entry-header {
    width: 100% !important;
  }
  .recom-post .kyt-entry-body {
    width: 100% !important;
  }
  p .mb-post-img-desktop {
    display: none;
  }

  p .mb-post-img-mobile {
    display: block;
  }
}
.recom-post .kyt-entry-header {
  border-radius: 7px;
  box-shadow: 0px 4px 18px -5px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.recom-post .kyt-entry-title a,
.recom-post .kyt-entry-title:hover a {
  color: #fff;
}

.recom-post .kyt-entry-date,
.recom-post .kyt-entry-author {
  color: #fff;
}

.recom-post .kyt-entry-taxonomy {
  display: block;
  line-height: 1;
  width: max-content;
  padding: 6px 13px;
  color: #ddd;
  border-radius: 50px;
  background: #fff;
}
/*end post บทความแนะนำ */
/*slider catagory  */
.cat .slick-prev.kyt-carousel-arrow {
  visibility: hidden;
}

/* .cat .kyt-entry-header {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  z-index: 0;
} */
.cat .kyt-carousel-arrow {
  color: #15425d;
  background-color: #ffffff;
  box-shadow: 0px 4px 18px -5px rgba(0, 0, 0, 0.35);
}
.cat .slick-next {
  right: -10px;
}
.cat .slick-prev {
  left: -10px;
}

/* end slider catagory  */
/* หน้าอื่น most popular */
.kyt-widget-post,
.widget_most_popular_post_widget {
  line-height: 1.2;
  font-family: "db adman", sans-serif;
}
.widget_most_popular_post_widget .kyt-heading-text {
  display: table-cell;
  line-height: 10px;
  padding-top: 5px;
  margin-bottom: 30px;
  color: #000;
  font-size: 22px !important;
  font-family: "db adman", sans-serif;
  border-top-width: 0px !important;
  border-bottom: 5px solid #ffc760;
}
.kyt-widget-post .kyt-heading-text {
  display: table-cell;
  line-height: 10px;
  padding-top: 5px;
  margin-bottom: 30px;
  color: #000;
  border-top-width: 0px !important;
  border-bottom: 5px solid #ffc760;
  font-size: 22px !important;
  font-family: "db adman", sans-serif;
}
.kyt-widget-post .kyt-widget-item {
  padding-top: 20px;
  padding-bottom: 12px;
}
.kyt-widget-post .kyt-widget-item {
  padding-bottom: 15px;
  border-bottom: 1px solid #e3e3e3 !important;
}
.kyt-widget-post .kyt-widget-title {
  font-size: 20px;
  line-height: 20px;
}
.kyt-widget-post .kyt-widget-number {
  font-size: 35px;
  border: none;
}
/* end หน้าอื่น most popular */
/* หน้า search result */
.search header.kyt-dark-scheme .kyt-s-bg-bg {
  background: #fff;
}
.widget_search .twf-ln-arrow-right:before,
.kyt-search-form .twf-ln-arrow-right:before {
  content: "\ebbf" !important;
}
.search .kyt-page-title-content h1 {
  font-family: "db adman", sans-serif;
  color: #000;
  line-height: 1;
}
.search .kyt-page-title-content {
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}
.search .kyt-main {
  padding-top: 40px;
}
.search .kyt-page-title .kyt-search-form input {
  width: 90% !important;
  padding: 8px 20px;
  color: #000 !important;
  border: 1px solid #ddd !important;
  border-right: 0px !important;
  border-radius: 50px 0px 0px 50px;
  font-family: "db adman", sans-serif;
  font-size: 22px;
}
.search .kyt-page-title .kyt-search-form .kyt-form-group button {
  width: 10% !important;
  padding-right: 20px !important;
  color: #ddd !important;
  border: 1px solid !important;
  border-left: 0px !important;
  border-radius: 0px 50px 50px 0px !important;
}
/*หน้า post*/
.mb-advertorial {
  padding: 10px 10px;
  margin-bottom: 20px;
  color: rgb(47, 106, 144);
  background: #efefef;
  border-radius: 10px;
  font-family: "db adman", sans-serif;
  font-size: 24px;
  text-align: center;
  box-shadow: 0px 4px 18px -5px rgba(0, 0, 0, 0.35);
}
.post .kyt-sidebar {
  padding-top: 20px;
}
.post .kyt-post-tag {
  width: 100%;
  padding: 20px 0px;
  text-align: left;
  float: left;
}
.post .kyt-post-tag-sign {
  position: absolute;
  padding-right: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 30px;
}
.kyt-post-tag-key {
  margin-left: 25px;
}
.post .kyt-post-tag a.kyt-s-text-color {
  padding: 4px 16px;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 16px;
}
.post .kyt-post-tag a.kyt-s-text-color:hover {
  background: var(--gradient);
  -webkit-text-fill-color: #fff;
}
.kyt-layout-responsive .kyt-post-body {
  padding-bottom: 10px;
}
.post .kyt-post-content a {
  /* display: inline-block; */
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(70%, transparent),
    color-stop(10%, #fbd762)
  );
  background-image: linear-gradient(180deg, transparent 70%, #fbd762 0);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  -webkit-transition: background-size 0.2s ease;
  transition: background-size 0.2s ease;
}
.post .kyt-post-content a:hover {
  animation: animate 1s;
}

.post .kyt-post-content .mb-brief-box a:after {
  margin-top: -10px;
}

@keyframes animate {
  0% {
    background-size: 0 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}
.post .kyt-post-content a,
.post .kyt-post-content .mb-brief-box a {
  font-weight: normal;
  font-family: "BaiJamjuree-Bold", sans-serif;
  color: var(--color-blue);
}
.post .kyt-post-content {
  padding-left: 45px;
  padding-right: 45px;
  color: var(--color-text);
}
.post .kyt-main.blueprint-inactive {
  padding-bottom: 0;
}
@media (max-width: 960px) {
  .kyt-layout-responsive .kyt-post-content {
    padding-right: 0;
    padding-left: 0;
  }
  .post .kyt-main.kyt-left,
  .post .kyt-sidebar.kyt-left {
    padding-right: 0;
  }
}
@media (max-width: 480px) {
  .post .kyt-main.kyt-left,
  .post .kyt-sidebar.kyt-left {
    padding-right: 0px;
  }
}
.post .kyt-main.kyt-right,
.post .kyt-sidebar.kyt-right {
  padding-left: 20px;
}
@media (max-width: 480px) {
  .post .kyt-main.kyt-right,
  .post .kyt-sidebar.kyt-right {
    padding-left: 0px;
  }
}
.post .kyt-post-content h1,
.post .kyt-post-content h2,
.post .kyt-post-content h3,
.post .kyt-post-content h4,
.post .kyt-post-content h5,
.post .kyt-post-content h6 {
  margin-top: 80px;
  font-family: "db admin bd", sans-serif;
}
.post .kyt-post-content h1:first-child,
.post .kyt-post-content h2:first-child,
.post .kyt-post-content h3:first-child,
.post .kyt-post-content h4:first-child,
.post .kyt-post-content h5:first-child,
.post .kyt-post-content h6:first-child {
  margin-top: 0px;
}
.post .kyt-post-content h1 b,
.post .kyt-post-content h2 b,
.post .kyt-post-content h3 b,
.post .kyt-post-content h4 b,
.post .kyt-post-content h5 b,
.post .kyt-post-content h6 b {
  font-family: "db admin bd", sans-serif;
}
.post b,
.post optgroup,
.post p strong,
.post ul strong,
.post ol strong {
  font-weight: normal;
  font-family: "BaiJamjuree-Bold", sans-serif;
}
@media only screen and (max-width: 768px) {
  .post .kyt-post-content p,
  .post .kyt-post-content h1,
  .post .kyt-post-content h2,
  .post .kyt-post-content h3,
  .post .kyt-post-content h4,
  .post .kyt-post-content h5,
  .post .kyt-post-content h6 {
    padding-left: 0px;
    padding-right: 0px;
  }
  .kyt-main.kyt-left,
  .kyt-sidebar.kyt-left {
    padding-right: 0px;
  }
}

.post .kyt-post-content b {
  color: var(--color-dark-blue);
}

.post blockquote::before {
  position: absolute;
  content: "“";
  color: var(--color-blue);
  font-family: "db adman light", sans-serif;
  font-size: 120px;
  line-height: 0.1;
  left: -20px;
}

.post .kyt-post-content blockquote p {
  line-height: 46px;
  margin-top: 100px;
  margin-left: -45px;
  margin-bottom: 80px;
  margin-right: -45px;
  padding-left: 0px;
  padding-bottom: 0px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "db adman light", sans-serif;
  font-size: 36px;
  letter-spacing: 0.02em;
}
.post .kyt-post-content blockquote strong {
  font-family: "db adman light", sans-serif;
}
.post .kyt-post-content li {
  word-break: break-word;
}
.post .kyt-post-content li a:after {
  margin-top: -7px;
}
.post .kyt-post-content li + li {
  margin-top: 0px;
}
@media screen and (max-width: 960px) {
  .post .kyt-post-content blockquote p {
    margin-left: 0;
    margin-right: 0;
  }
  .kyt-layout-responsive .kyt-post-content {
    max-width: none;
  }
}
.post .kyt-main.kyt-left {
  padding-top: 20px;
}
.post .kyt-post-content p {
  margin-bottom: 30px;
}
.taxo-post .kyt-entry-taxonomy {
  padding: 5px 20px;
  color: #fff;
  background: var(--gradient);
  border-radius: 20px;
}
.taxo-post .kyt-entry-taxonomy-recommend a {
  margin-left: 5px;
  padding: 5px 20px;
  color: #000;
  background: #fbd762;
  border-radius: 20px;
  font-size: 16px;
}
.kyt-item.js-item-text.kyt-text.taxo-post {
  display: inline-block;
}
.meta-post {
  font-size: 11px;
}
.meta-post.kyt-item .twf {
  margin-left: 10px;
}

.meta-post.kyt-item .twf.twf-book {
  margin-left: 0;
}

.meta-post .twf {
  padding-right: 5px;
}
.post .kyt-comment {
  display: none;
}
.post .kyt-relatedpost-heading {
  display: none;
}
.post .kyt-relatedpost .kyt-entry-title {
  font-family: "db adman", sans-serif;
  color: #000;
}
.post .kyt-media-wrapper-inner {
  width: 100%;
}
.post .kyt-media-wrapper.with-placeholder img {
  width: 100%;
}
.headcustom span {
  display: table-cell;
  line-height: 10px;
  padding-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 30px;
  color: #000;
  border-bottom: 3px solid #ffc760;
  letter-spacing: 2.83px;
}
.headcustom span.font-style {
  padding-left: 0px;
  padding-right: 0px;
}
.postcat .kyt-entry-overlay,
.postcat .kyt-media-wrapper {
  border-radius: 8px;
}
.postcat h4 a {
  color: #fff;
  font-family: "db adman", sans-serif;
  font-size: 20px;
  text-align: center;
}
/*social */
.kyt-social-instagram .kyt-icon-fill {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.contact-meta .kyt-feature-description {
  color: #050708;
  font-size: 20px;
}
input[type="submit"].submitsub {
  width: 20%;
  margin-top: 0;
  padding: 14px 13px 13px 13px;
  background-color: #02304d;
  border-radius: 0px 25px 25px 0px;
  border: 1px solid #c2c2c2;
  border-left: 0px;
  font-family: kyoto;
  font-size: 12px;
}
input[type="submit"].submitsub:hover {
  background-color: #02304d;
}
/****** คำศัพท์ ******/
.glossary span {
  display: inline-block;
  line-height: 0.5;
  padding: 20px;
  color: #fff;
  border-radius: 50%;
  background: #0e83c9;
}
/****** achive title ******/
#bg-title .kyt-background-overlay {
  background: var(--gradient);
}
/****** ฉบับย่อ ******/
.mb-brief-box {
  position: relative;
  margin-right: -45px;
  margin-bottom: 30px;
  margin-left: -45px;
  padding: 40px 45px;
  border-radius: 10px;
  background: #e8f7fd;
}
@media screen and (max-width: 960px) {
  .mb-brief-box {
    position: relative;
    margin-right: 0px;
    margin-bottom: 30px;
    margin-left: 0px;
    padding: 40px 20px;
  }
}
.mb-brief-box:after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 300px;
  background-image: url(https://www.moneybuffalo.in.th/wp-content/uploads/2019/05/act05-re.jpg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 100%;
  opacity: 0.1;
}
.mb-brief-box ul {
  position: relative;
  line-height: 1.6;
  padding-left: 20px;
  margin: 0;
  color: var(--color-text);
  font-size: 17px;
  z-index: 1;
}
.mb-brief-box .kyt-heading {
  padding-left: 0px !important;
  margin-top: 0px;
  margin-bottom: 16px;
  margin-left: 0px;
  font-family: "db admin bd";
  font-size: 30px;
}
.mb-brief-box li {
  line-height: 1.6 !important;
  padding-left: 20px;
  padding-bottom: 20px;
}
.mb-brief-box li:last-child {
  padding-bottom: 0;
}
.mb-brief-box li + li {
  margin-top: 0 !important;
}
@media screen and (max-width: 960px) {
  .contenth .kyt-entry-body-wrapper-inner,
  .archive .kyt-entry-body-wrapper-inner,
  .search .kyt-entry-body-wrapper-inner {
    max-width: none;
  }
}
/****** คำศัพท์ หน้าแรก ******/
.glossary h4 {
  display: flex;
  float: left;
}
.mb-glossary-traslate::before {
  content: "● ";
  line-height: 1.8;
  padding-right: 6px;
  font-size: 19px;
}

.mb-glossary-traslate {
  display: flex;
  line-height: 1.4;
  padding-left: 10px;
  font-size: 24px;
  font-family: "db adman", sans-serif;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .home .mb-glossary-traslate {
    width: 100%;
  }
}
.glossary .kyt-entry-excerpt {
  padding-top: 10px;
}
a.mb-glossary-link {
  color: #96959e;
  font-size: 16px;
  font-family: "db admin bd", sans-serif;
}
.glossary .twf {
  font-size: 13px;
}
/****** element post ******/
.kyt-entry-date:before {
  display: none;
}
.kyt-entry-meta > * {
  margin-right: 10px;
}
/****** ปุ่มโหลดเพิ่ม ******/
.kyt-pagination--click.kyt-button > .btnx,
.kyt-pagination--click.kyt-button > .btnx:hover {
  color: #fff;
  border-radius: 35px;
  border-width: 2px;
}
/****** footer social ******/
@media only screen and (max-width: 768px) {
  .social-footer a {
    margin-left: 5px;
    margin-right: 5px;
  }
}
/****** หน้า glossary ******/
.single-mb_glossary .kyt-wpcontent a:after {
  content: "";
  display: block;
  width: 100%;
  height: 9px;
  margin-top: -15px;
  background: #fbd762;
  transition: width 0.3s;
}
.single-mb_glossary .kyt-wpcontent a:hover:after {
  animation: animate 0.5s;
}
.single-mb_glossary .kyt-wpcontent a {
  display: inline-block;
}
.kyt-wpcontent {
  color: var(--color-text);
}
.single-mb_glossary .kyt-s-bg-bg {
  background-color: #fff;
}
.single-mb_glossary .kyt-post-tag {
  display: none;
}
/****** google recap ******/
.grecaptcha-badge {
  display: none;
}

/****** trending หน้าแรก ******/
ul.mb-trending-tags {
  display: inline;
  margin: 0;
}
.mb-trending-headind {
  position: relative;
  display: inline;
  margin-right: 32px;
  font-family: "BaiJamjuree-Bold", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-dark-blue);
  letter-spacing: 2.4px;
}
.mb-trending-headind:after {
  content: "#";
  position: absolute;
  line-height: 1;
  top: -8px;
  margin-left: 8px;
  margin-right: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: "db admin bd", sans-serif;
  font-weight: normal;
}
li.mb-trending-tag a {
  line-height: 1;
  margin-right: 8px;
  margin-bottom: 10px;
  white-space: nowrap;
  padding: 6px 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 20px;
  font-family: "db admin bd", sans-serif;
  font-weight: normal;
}
li.mb-trending-tag a:hover {
  background: var(--gradient);
  -webkit-text-fill-color: #fff;
  border: 1px solid transparent;
}
.glossary-heading span {
  padding: 0;
  margin: 0 auto;
  vertical-align: middle;
}
.glossary-heading {
  width: 60px;
  height: 60px;
  color: #fff;
  border-radius: 50%;
  background: var(--gradient);
}
.book_banner img {
  margin-bottom: 20px;
}
.book_banner_moblie {
  display: none;
  margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
  .book_banner_moblie {
    display: block;
    margin-bottom: 20px;
  }
  .book_banner {
    display: none;
  }
}

/********* RATE BOX *********/

#mb-rate .kyt-row {
  margin-right: -10px;
  margin-left: -10px;
}

#mb-rate .kyt-col-4,
#mb-rate .kyt-col-6,
#mb-rate .kyt-col-12 {
  padding-right: 10px;
  padding-left: 10px;
}

.current-date {
  padding: 10px 20px 10px 0;
  margin-left: 20px;
  line-height: 1.5;
  color: #96959e;
  font-size: 12px;
  font-style: italic;
}

.mb-exchange-heading {
  line-height: 1.2;
  font-family: "db admin bd", sans-serif;
  font-weight: normal;
  text-align: left;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-rate-wrapper h2,
.mb-rate-history-wrapper h2 {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 20px;
  line-height: 1.2;
  font-family: "db admin bd", sans-serif;
  font-weight: normal;
  text-align: left;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-rate-wrapper thead,
.mb-rate-history-wrapper thead {
  line-height: 1.5;
  color: #008dc6;
  font-size: 18px;
  font-family: "db admin bd", sans-serif;
  font-weight: normal;
}

.mb-rate-wrapper table {
  margin-top: 0;
  margin-bottom: 0;
}

.mb-rate-wrapper table td,
.mb-rate-history-wrapper table td {
  padding: 4px 6px;
  font-size: 16px;
  color: #474747;
  text-align: left;
  letter-spacing: 0.025em;
}

.mb-rate-wrapper table td:first-child,
.mb-rate-wrapper table th:first-child,
.mb-rate-history-wrapper table td:first-child,
.mb-rate-history-wrapper table th:first-child {
  padding-left: 20px;
}

.mb-rate-wrapper table td:last-child,
.mb-rate-wrapper table th:last-child,
.mb-rate-history-wrapper table td:last-child,
.mb-rate-history-wrapper table th:last-child {
  padding-right: 25px;
  text-align: right;
}

.mb-rate-wrapper table th,
.mb-rate-history-wrapper table th {
  padding: 15px 6px 4px 6px;
  font-weight: normal;
}

.mb-rate-wrapper table tr,
.mb-rate-history-wrapper table tr {
  border-bottom: 1px solid #e3e3e3;
}

.mb-rate-wrapper table thead tr:first-child {
  border-bottom: none;
  line-height: 1;
}

.mb-rate-heading {
  position: relative;
  overflow: visible;
  margin-bottom: 20px;
}

.mb-rate-heading h2 {
  font-size: 28px;
  margin-left: 10px;
}

.image-heading {
  position: absolute;
  top: -80px;
  right: 5px;
  width: 100px;
}

.mb-banner-banks .kyt-box-body {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 30px;
}

.mb-banner-bank .kyt-banner-content-inner {
  padding: 0;
}

.mb-banner-bank .kyt-banner-media {
  margin-bottom: 16px;
}

.mb-banner-bank .kyt-banner-title {
  color: var(--color-grey-text);
  font-size: 20px;
  line-height: 1;
}

@media (min-width: 769px) {
  .mb-rate-wrapper table td,
  .mb-rate-history-wrapper table td {
    font-size: 18px;
  }
}

.mb-rate-title-box .kyt-background-overlay {
  border-radius: 20px;
}

.mb-rate-cartoon {
  position: absolute;
  right: 30px;
  bottom: 0;
}

/********* RATE HISTORY *********/

.mb-history-heading {
  margin-top: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-rate-history-wrapper {
  overflow-x: auto;
  overflow: visible;
}

.mb-rate-history-wrapper table {
  margin-top: 15px;
  width: max-content;
  min-width: 100%;
  font-size: 14px;
  border-radius: 10px;
}

.mb-rate-history-wrapper table td {
  text-align: center;
}

.mb-rate-history-wrapper thead tr:first-child th:first-child,
.mb-rate-history-wrapper table td:first-child {
  text-align: left;
}

.mb-rate-history-wrapper table tr:hover td {
  background-color: #fafafa;
}

.ref-image {
  /* position: absolute;
  bottom: 15px;
  left: 20px; */
}

.ref-image img {
  height: 35px;
}

@media (max-width: 767px) {
  .ref-image {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 20px;
    margin-bottom: 0px;
  }
}

/********* OIL *********/

.oil-wrap {
  color: #000;
  border-radius: 10px;
}

.oil-history {
  margin-top: 15px;
  overflow-x: auto;
}

.oil-wrap h3 {
  color: #0c5582;
}

.oil-wrap table {
  width: 100%;
}

.oil-wrap.mb-rate-wrapper table:not(.home) td:first-child {
  padding: 0;
}

.oil-wrap.mb-rate-wrapper table th:first-child,
.oil-wrap.mb-rate-wrapper table td:nth-child(2) {
  text-align: right;
}

.mb-rate-history-wrapper.oil-history-wrap table img {
  margin-right: auto;
  margin-left: auto;
}

.oil-history th:first-child,
.oil-history td:first-child {
  position: absolute;
  background-color: #fff;
  width: 130px;
}

.oil-history table th {
  padding: 0;
}

.oil-history table th:first-child {
  min-height: 49px;
}

.oil-history td:nth-child(2),
.oil-history th:nth-child(2) {
  padding-left: 130px;
}

.oil-description {
  display: block;
  line-height: 1.5;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 12px;
  font-style: italic;
}

@media only screen and (max-width: 1030px) and (min-width: 768px) {
  .oil-wrap .image-heading {
    display: none;
  }
}

/********* GOLD *********/

.gold-wrap {
  border-radius: 10px;
  max-width: 600px;
}

.gold-wrap table {
  width: 100%;
  border-top: 0;
}

.mb-gold-rate table tr {
  border-bottom: none;
}

.mb-gold-rate table td {
  font-size: 48px;
  font-family: "db admin bd", sans-serif;
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-wrap .mb-rate-heading,
.mb-gold-rate table.other-gold tr {
  color: #fff;
}

.gold-wrap h1 {
  margin-left: 10px;
  color: #8c7728;
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-gold-heading-2 {
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mb-gold-heading-box {
  padding: 5px 15px;
  margin-left: 20px;
  margin-top: 20px;
  width: max-content;
  border-radius: 10px;
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%);
}

.mb-gold-heading-box h2 {
  margin: 0;
  padding: 0;
  background: -webkit-linear-gradient(0deg, #fff 0%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* .gold-wrap .current-date {
  color: #8c7728;
} */

.mb-gold-rate {
  display: grid;
  padding-bottom: 15px;
  margin-bottom: 20px;
  background-color: #f9f6f0;
  border-radius: 10px;
}

.gold-wrap.mb-rate-wrapper table th,
.gold-wrap.mb-rate-wrapper table:not(.other-gold) td {
  line-height: 1;
}

.gold-wrap.mb-rate-wrapper table th {
  border-top: 0;
  color: #050708;
  font-size: 24px;
  width: 50%;
  font-family: "db adman", sans-serif;
  font-weight: 400;
}

.gold-wrap.mb-rate-wrapper table td {
  color: #050708;
  letter-spacing: 0;
}

.gold-wrap.mb-rate-wrapper table th:last-child,
.gold-wrap.mb-rate-wrapper table td:last-child {
  text-align: left;
}

.mb-gold-rate:last-child {
  margin-bottom: 0px;
}

.mb-gold-margin {
  font-size: 36px;
}

.mb-gold-margin.up {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #00c300;
  font-family: db admin bd, sans-serif;
  line-height: 45px;
}

.mb-gold-margin.up::before {
  content: "";
  border-style: solid;
  border-width: 10px 13px 10px 0;
  border-color: transparent #00c300 transparent transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  left: -20px;
}

.mb-gold-margin.down {
  position: absolute;
  top: 16px;
  right: 25px;
  color: #cd0909;
  font-family: db admin bd, sans-serif;

  line-height: 45px;
}

.mb-gold-margin.down::before {
  content: "";
  border-style: solid;
  border-width: 10px 13px 10px 0;
  border-color: transparent #cd0909 transparent transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  left: -25px;
}

.mb-gold-up .mb-symbol {
  display: inline-block;
  border-style: solid;
  border-width: 10px 13px 10px 0;
  border-color: transparent #00c300 transparent transparent;
  transform: rotate(90deg);
  height: 15px;
  margin: 0;
  width: 15px;
  margin-right: 10px;
}

.mb-gold-down .mb-symbol {
  display: inline-block;
  border-style: solid;
  border-width: 10px 13px 10px 0;
  border-color: transparent #cd0909 transparent transparent;
  transform: rotate(-90deg);
  height: 15px;
  margin: 0;
  width: 15px;
  margin-right: 10px;
}

.gold-wrap td:nth-child(2),
.gold-wrap th:nth-child(2),
.gold-wrap td:last-child,
.gold-wrap th:last-child {
  text-align: center;
}

.gold-history {
  width: 100%;
  max-width: 600px;
  overflow-x: auto;
}

.gold-history-wrap.mb-rate-history-wrapper table th {
  vertical-align: bottom;
}

.gold-history-wrap.mb-rate-history-wrapper table th:nth-child(2),
.gold-history-wrap.mb-rate-history-wrapper table td:nth-child(2) {
  text-align: right;
}

.mb-tradingview-wrapper iframe {
  min-height: 500px;
}

.gold-history th {
  font-size: 24px;
  font-family: "db adman", sans-serif;
  font-weight: 400;
  color: #050708;
}

.gold-history tr:hover td {
  background: -webkit-linear-gradient(0deg, #fff 0%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-history td {
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "db admin bd", sans-serif;
  font-size: 28px;
  text-align: right;
}

.gold-history tbody tr:nth-child(odd),
.gold-history tbody tr:nth-child(odd) td:first-child {
  background: #f9f6f0;
}

.gold-history tbody tr:nth-child(even),
.gold-history tbody tr:nth-child(even) td:first-child {
  background: #f1eadb;
}

.gold-history table {
  margin-top: 0;
  width: 100%;
  min-width: max-content;
  font-size: 28px;
  border-collapse: separate;
  border-spacing: 0 2px;
  line-height: 1.5;
}

.gold-history tbody tr:hover {
  background: #814f00;
}

.gold-history th:first-child {
  padding-left: 10px;
}

.gold-history td:first-child {
  position: sticky;
  left: 0;
  border-radius: 6px 0 0 6px;
  padding-left: 10px;
  color: #050708;
  font-family: "db adman", sans-serif;
  font-weight: 400;
  text-align: left;
  -webkit-text-fill-color: unset !important;
  z-index: 10;
}

.gold-history tbody td:last-child,
.gold-history th:last-child {
  border-radius: 0 6px 6px 0;
  text-align: right;
  padding-right: 10px;
}

.gold-heading h1,
.gold-heading h2 {
  color: #8c7728 !important;
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%) !important;
  -webkit-background-clip: text !important;
}

.mb-heading.gold-heading .kyt-heading-text:after {
  z-index: 999;
  bottom: -1px;
  width: 100%;
  height: 2px;
  border: 0px;
  background: -moz-linear-gradient(to right, #814f00 0%, #b27d00 100%);
  background: -o-linear-gradient(to right, #814f00 0%, #b27d00 100%);
  background: -webkit-linear-gradient(to right, #814f00 0%, #b27d00 100%);
  background: -ms-linear-gradient(to right, #814f00 0%, #b27d00 100%);
  background: linear-gradient(to right, #814f00 0%, #b27d00 100%);
  background-size: 100% 5px;
}

.exchange-box .kyt-background-overlay {
  border-radius: 10px;
}

.exchange-wrap {
  border-radius: 10px;
}

.exchange-wrap table {
  width: 100%;
}

.noflag .exchange-wrap .flag-col img {
  display: none;
}

.exchange-wrap th:nth-child(3),
.exchange-wrap th:nth-child(4),
.exchange-wrap td:nth-child(3),
.exchange-wrap td:nth-child(4) {
  text-align: right;
}

.mb-rate-wrapper .table-exchange-today th {
  color: #008dc6;
}

.table-exchange-today.home td:nth-child(2),
.table-exchange-today.home th:nth-child(2) {
  text-align: right;
}

.table-exchange-today tr {
  border-bottom: 1px solid #e3e3e3;
}

.flag-col img,
.flag-col picture {
  display: inline-table;
  vertical-align: middle;
  width: 18px;
}

.flag-col span {
  display: inline-table;
  vertical-align: middle;
}

.exchange-history-wrap.mb-rate-history-wrapper table th:nth-child(2),
.exchange-history-wrap.mb-rate-history-wrapper table td:nth-child(2) {
  text-align: right;
}

/************ FILTER DATE *************/

.filter-date {
  margin-top: 15px;
  max-width: 500px;
  padding-right: 20px;
}

.filter-date label {
  font-size: 16px;
  font-family: "db admin bd", sans-serif;
}

.filter-col {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
}

.filter-col + .filter-col {
  margin-left: 10px;
}

.filter-date .twf-calendar {
  position: absolute;
  top: 0;
  left: 15px;
  line-height: 40px;
  font-size: 14px;
}

.filter-date input {
  width: 220px;
  padding-left: 40px;
  font-size: 16px;
  border-radius: 20px;
  text-align: left;
}

.mb-filter-button {
  width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0;
  color: #fff;
  background: #0a5582;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 18px;
  font-family: "db admin bd", sans-serif;
  text-align: center;
  cursor: pointer;
  border-width: 0;
}

.mb-filter-button.gold {
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%) !important;
}

.mb-filter-button:hover {
  border-width: 0;
}

.dropdown-filter {
  padding-right: 40px;
  font-size: 16px;
  border-radius: 20px;
  line-height: 1.5;
  cursor: pointer;
  background-image: url(https://www.moneybuffalo.in.th/wp-content/uploads/2020/07/mb-angle-down.png) !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

.no-post {
  text-align: center;
}

/************ CALCULATOR *************/
/* new */

.mb-new-rate-container {
  max-width: 600px;
  margin: auto;
  position: relative;
}

.mb-new-rate-cal-select-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border-radius: 10px;
  background-color: #e8f7fd;
  margin: 5px 0px;
}

select.mb-rate-change {
  display: flex;
  max-width: 120px;
  height: 45px;
  border: none;
  background-color: #bde7f7;
  border-radius: 25px;
  color: #050708;
  line-height: 1.3 !important;
  font-weight: 400;
  font-family: db adman, sans-serif;
  font-size: 28px;
  align-self: center;
}

select.mb-rate-change option {
  background-color: #fff;
}

.mb-rate-ratio {
  text-align: right;
  color: var(--color-text);
  font-family: "db adman", sans-serif;
  font-size: 24px;
}

.mb-new-rate-cal-heading h2 {
  color: #000;
}

.mb-new-rate-from input,
.mb-new-rate-to input {
  height: auto;
  padding: 0px 10px 0px 10px;
  line-height: 1;
  color: var(--color-blue);
  border: none;
  background: transparent;
  font-family: db admin bd, sans-serif;
  font-size: 48px;
  vertical-align: middle;
}

.mb-new-rate-from input::placeholder,
.mb-new-rate-to input::placeholder {
  color: var(--color-blue);
  opacity: 1;
}

/*  */
.mb-rate-cal-heading h2 {
  line-height: 1.5;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 20px;
  color: #fff;
  font-family: "db admin bd", sans-serif;
}

.mb-rate-cal-heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.mb-rate-cal-wrapper {
  padding-bottom: 10px;
}

.mb-rate-cal-wrapper .current-date {
  text-align: center;
}

.mb-rate-cal-button-wrapper,
.mb-rate-cal-select-wrapper {
  max-width: 320px;
  margin-top: 15px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.mb-rate-cal-button-wrapper {
  text-align: center;
}

.mb-rate-cal-select-wrapper + .mb-rate-cal-select-wrapper {
  margin-top: 10px;
}

.mb-rate-cal-select-label {
  display: inline-block;
  font-family: "db admin bd", sans-serif;
  min-width: 70px;
}

.mb-rate-cal-wrapper .dropdown-filter {
  display: inline-block;
  float: right;
  width: 180px;
  margin-left: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: url(https://www.moneybuffalo.in.th/wp-content/uploads/2020/07/mb-angle-down-white.png);
  background-repeat: no-repeat;
  background-position: center right;
}

.rate-name {
  padding: 10px 20px 0px 20px;
  font-size: 18px;
  font-family: "db admin bd", sans-serif;
}

#thb-rate {
  display: inline-block;
  float: right;
  width: 180px;
  margin-left: 20px;
  color: #fff;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  text-align: right;
}

#currency-type-exchange {
  display: inline-block;
  width: 160px;
}

.mb-rate-cal-button {
  min-width: 280px;
  padding: 8px 24px;
  color: #0a5582;
  background-color: #fff;
  border-radius: 30px;
  border: 2px solid transparent;
}

.mb-rate-cal-button:hover,
.mb-rate-cal-button:focus {
  color: #0a5582;
}

#guest-rate {
  display: none;
  width: 100%;
  margin-top: 20px;
  color: #fff;
  background: none;
  border: none;
  font-size: 24px;
  text-align: center;
}

#guest-rate strong {
  color: #fff;
  font-weight: 700;
}

/*************** COOKIE BANNER **************/

#cookie-law-info-bar {
  background-color: rgba(0, 0, 0, 0.8) !important;
  box-shadow: none !important;
}

#cookie-law-info-bar[data-cli-style="cli-style-v2"] .cli_messagebar_head {
  font-size: 24px;
  color: #ffffff;
}

.cli-style-v2 {
  line-height: 1.5;
}

.cli-style-v2 .cli-bar-message {
  width: 80%;
}

.cli-style-v2 .cli-bar-btn_container .cli-plugin-button {
  padding-right: 36px;
  padding-left: 36px;
  border-radius: 40px;
  font-family: "db admin bd", sans-serif;
  font-size: 18px;
}

/*************** SPINNER **************/

:root {
  --yellow: #96959e;
  --red: #0a5482;
  --blue: #96959e;
  --violet: #0a5482;
}

div.loading {
  display: none;
  margin-top: 80px;
  margin-bottom: 80px;
  justify-content: center;
  align-items: center;
}
.loading > .circle {
  width: 1vw;
  height: 1vw;
  border-radius: 100%;
  margin: 1vw;
  background-image: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  animation: bounce 1.5s 0.5s linear infinite;
}

.yellow {
  background-color: var(--yellow);
  animation-delay: 0s !important;
  -webkit-animation-delay: 0s !important;
}

.red {
  background-color: var(--red);
  animation-delay: 0.1s !important;
  -webkit-animation-delay: 0.1s !important;
}

.blue {
  background-color: var(--blue);
  animation-delay: 0.2s !important;
  -webkit-animation-delay: 0.2s !important;
}

.violet {
  background-color: var(--violet);
  animation-delay: 0.3s !important;
  -webkit-animation-delay: 0.3s !important;
}

@keyframes bounce {
  0%,
  50%,
  100% {
    transform: scale(1);
    filter: blur(0px);
  }
  25% {
    transform: scale(0.6);
    filter: blur(3px);
  }
  75% {
    filter: blur(3px);
    transform: scale(1.4);
  }
}

.series-banner > div {
  border-radius: 20px;
  overflow: hidden;
}

.mb-series-img img {
  transition: all 0.4s ease;
}

.mb-series-img:hover img {
  transform: translate(-50%, -50%) scale(1.1);
  transition: all 0.4s ease;
}

/*****************  MOST POPULAR ******************/

#kyoto_widget_html-5 li {
  padding-left: 40px;
  font-family: db admin bd, sans-serif;
  position: relative;
  border-bottom: 1px solid #ddd;
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1.2;
}

#kyoto_widget_html-5 li a {
  color: var(--color-dark-blue);
}

#kyoto_widget_html-5 li a:hover {
  color: var(--color-blue);
}

#kyoto_widget_html-5 li a #kyoto_widget_html-5 ol {
  list-style: none;
}

#kyoto_widget_html-5 li::before {
  position: absolute;
  left: 0;
  top: 15px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  counter-increment: number;
  vertical-align: top;
  line-height: 1;
}

#kyoto_widget_html-5 .post-views {
  display: none;
  /* display: block; */
  color: #62636b;
  font-family: "BaiJamjuree-Regular", sans-serif;
  font-size: 10px;
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#kyoto_widget_html-5 li:nth-child(1)::before {
  content: "1";
}

#kyoto_widget_html-5 li:nth-child(2)::before {
  content: "2";
}

#kyoto_widget_html-5 li:nth-child(3)::before {
  content: "3";
}

#kyoto_widget_html-5 li:nth-child(4)::before {
  content: "4";
}

#kyoto_widget_html-5 li:nth-child(5)::before {
  content: "5";
}

.mb-most-popular {
  padding: 15px;
  margin-bottom: 10px;
  font-family: db admin bd, sans-serif;
  color: #fff;
  background: var(--gradient);
  border-radius: 50px;
  font-size: 24px;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
}

.mb-related-post .kyt-media-wrapper {
  border-radius: 10px;
}

@media (max-width: 985px) {
  .cli-style-v2 .cli-bar-message {
    width: 100%;
  }
}

.mb-tax-scroll {
  overflow-x: scroll;
}

.mb-tax-scroll .kyt-entries-content {
  width: max-content;
  height: auto !important;
}

.mb-tax-scroll .kyt-entry {
  display: flex;
  width: 226px !important;
  position: static !important;
  /* left: unset !important; */
}

.mb-tax-scroll::-webkit-scrollbar-track
{
	background-color: #F5F5F5;
}

.mb-tax-scroll::-webkit-scrollbar
{
	height: 6px;
	background-color: #F5F5F5;
}

.mb-tax-scroll::-webkit-scrollbar-thumb
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #0071B9;
}

.kyt-social-weibo svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
}

.kyt-social-item--color.kyt-social-weibo .kyt-icon-fill {
  background-color: #151515 !important;
}

.kyt-social-item--color.kyt-social-twitter,
.kyt-social-item--color.kyt-social-twitter .kyt-icon-border,
.kyt-social-item--color.kyt-social-twitter .kyt-icon-border-square,
.kyt-social-item--color.kyt-social-twitter .kyt-icon-plain {
  color: #14181a;
}

.kyt-social-item--color.kyt-social-twitter.box:hover,
.kyt-social-item--color.kyt-social-twitter.btnx,
.kyt-social-item--color.kyt-social-twitter.btnx:hover,
.kyt-social-item--color.kyt-social-twitter .kyt-icon-fill,
.kyt-social-item--color.kyt-social-twitter .kyt-icon-fill-square {
  background-color: #14181a;
}

.kyt-social-item--color.kyt-social-facebook,
.kyt-social-item--color.kyt-social-facebook .kyt-icon-border,
.kyt-social-item--color.kyt-social-facebook .kyt-icon-border-square,
.kyt-social-item--color.kyt-social-facebook .kyt-icon-plain {
  color: #1877f2;
}

.kyt-social-item--color.kyt-social-facebook.box:hover,
.kyt-social-item--color.kyt-social-facebook.btnx,
.kyt-social-item--color.kyt-social-facebook.btnx:hover,
.kyt-social-item--color.kyt-social-facebook .kyt-icon-fill,
.kyt-social-item--color.kyt-social-facebook .kyt-icon-fill-square {
  background-color: #1877f2;
}

.kyt-social-item--color.kyt-social-youtube,
.kyt-social-item--color.kyt-social-youtube .kyt-icon-border,
.kyt-social-item--color.kyt-social-youtube .kyt-icon-border-square,
.kyt-social-item--color.kyt-social-youtube .kyt-icon-plain {
  color: #cd201f;
}

.kyt-social-item--color.kyt-social-youtube.box:hover,
.kyt-social-item--color.kyt-social-youtube.btnx,
.kyt-social-item--color.kyt-social-youtube.btnx:hover,
.kyt-social-item--color.kyt-social-youtube .kyt-icon-fill,
.kyt-social-item--color.kyt-social-youtube .kyt-icon-fill-square {
  background-color: #cd201f;
}

.mb_hl_title_box h2 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0px;
}

.mb_hl_title_box {
  border-bottom: 1px solid #e3e3e3;
  margin-bottom: 0px;
  line-height: 1.5;
  padding: 15px 20px;
}

.mb_hl_divider {
  padding: 0px 20px;
  border-bottom: 1px solid #e3e3e3;
}

.kyt-box-content .mb_hl_text {
  font-size: 16px;
  color: #474747;
}

.mb_hl_permalink {
  color: #0a5582;
  font-size: 20px;
  font-family: db admin bd, sans-serif;
}

.oil-today-container {
  text-align: center;
}

.oil-table-container table td {
  color: #474747;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #000;
}

.oil-table-container table {
  width: 900px;
  margin: auto;
}

@media only screen and (max-width: 900px) {
  .oil-table-container {
    overflow-x: scroll;
  }
}

.mb-exchange-input {
  text-align: right;
}

.mb-exchange-container-tab ul.kyt-tab-nav-inner li {
  text-align: center;
  padding: 0px 20px !important;
  border-radius: 25px;
  line-height: 1.4 !important;
}

.mb-exchange-container-tab ul.kyt-tab-nav-inner li:first-child {
  margin-right: 0px !important;
}

.mb-exchange-container-tab ul.kyt-tab-nav-inner li.active {
  text-align: center;
  padding: 0px 20px !important;
  background: var(--gradient);
  color: #fff;
}

.mb-exchange-container-tab .kyt-tab-nav-inner {
  max-width: 600px;
  margin: auto;
}

.mb-swap-container {
  position: absolute;
  width: 100%;
  top: 80px;
}

.mb-swap-exchange {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  margin: auto;
  background: #e8f7fd;
  border: 4px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.mb-swap-icon {
  font-size: 16px;
  margin-top: 0px;
  color: var(--color-dark-blue);
}

.home .mb-exchange-table table {
  width: 100%;
  line-height: 1;
}

.home .mb-oil-table table {
  width: 100%;
}

.mb-exchange-table {
  overflow-x: auto;
}

.mb-exchange-table thead tr th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
}

.mb-exchange-table tbody td:first-child {
  position: sticky;
  left: 0;
  padding-left: 10px;
  padding-bottom: 0;
  padding-top: 0;
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  -webkit-text-fill-color: unset !important;
}

.mb-exchange-table tbody td:last-child {
  padding-left: 10px;
  padding-bottom: 0;
  padding-top: 0;
  padding-right: 10px;
  border-radius: 0 6px 6px 0;
  overflow: hidden;
}

.mb-exchange-table table {
  margin-top: 0;
  width: max-content;
  min-width: max-content;
  border-collapse: separate;
  border-spacing: 0 2px;
  line-height: 1.5;
}

.mb-exchange-table th {
  font-size: 26px;
  font-family: db adman, sans-serif;
  font-weight: 400;
  color: var(--color-dark-blue);
  position: sticky;
  top: 0;
  line-height: 1;
}
.mb-exchange-table td {
  font-size: 26px;
  font-family: db admin bd, sans-serif;
}

.mb-exchange-table tbody tr:nth-child(odd) td:first-child,
.mb-exchange-table tbody tr:nth-child(odd) {
  background: #f4fbfe;
}

.mb-exchange-table tbody tr:nth-child(even) td:first-child,
.mb-exchange-table tbody tr:nth-child(even) {
  background: #e8f7fd;
}

.mb-exchange-table th:first-child img {
  margin-left: 10px !important;
  margin-right: auto !important;
}

.mb-exchange-table td {
  color: var(--color-blue);
}

.black {
  color: var(--color-dark-blue);
}
.mb-exchange-table td.black {
  font-family: db adman, sans-serif;
  font-weight: 400;
  color: var(--color-dark-blue);
}

.mb-exchange-table tr:hover td {
  color: #fff;
}

.mb-exchange-table tbody tr:hover {
  background: var(--gradient);
  background-attachment: fixed;
}

/* .mb-exchange-table tbody tr:hover td:first-child {
  background: linear-gradient(90deg,rgba(10,65,184,1) 0%,rgba(30,69,239,1) 200%)!important;
} */

.mb-text-center {
  text-align: center;
  margin: 0 auto;
}

.mb-exchange-table th img {
  margin: 0 auto;
}

.mb-top-logo-exchange {
  margin-bottom: -75px;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
}

.mb-top-logo-exchange .media-placeholder {
  width: 100px !important;
}

.mb-top-logo-exchange img {
  z-index: 2;
}

.mb-exchange-container-tab .kyt-tab-body {
  padding: 10px 0 !important;
}

@media only screen and (max-width: 1200px) {
  .mb-subscribe-absolute .media-placeholder {
    width: 280px !important;
  }
}

@media only screen and (max-width: 960px) {
  .subbox.subbox.new-youtube-subbox .kyt-box-body .kyt-media-wrapper,
  .subbox.new-tiktok-subbox .kyt-box-body .kyt-media-wrapper {
    max-width: 240px !important;
  }
}

@media only screen and (max-width: 767px) {
  .mb-new-rate-container {
    max-width: 100%;
    padding: 0px;
  }
}

.mb-gold-date {
  line-height: 1.5;
  color: var(--color-dark-blue);
  font-family: db admin bd, sans-serif;
  font-size: 24px;
  font-weight: normal;
}

.mb-gold-time {
  line-height: 1;
  font-size: 18px;
  font-family: db adman, sans-serif;
  color: #96959e;
  margin-bottom: 20px;
}

.mb-gold-rate th {
  font-size: 24px;
}
.home .mb-gold-rate td {
  font-size: 40px;
}

.mb-gold-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 20px;
  margin-right: 20px;
  column-gap: 10px;
  row-gap: 15px;
}
.mb-gold-grid-col > div:first-child {
  line-height: 1;
  color: #050708;
  font-size: 24px;
  font-family: "db adman", sans-serif;
  font-weight: 400;
}

.mb-gold-grid-col > div:last-child {
  line-height: 1;
  font-family: db adman, sans-serif;
  font-size: 36px;
  font-family: "db admin bd", sans-serif;
  background: -webkit-linear-gradient(0deg, #814f00 0%, #b27d00 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-button-youtube .btnx > .twf-youtube-play {
  color: #f00;
}

.new-mb-youtube-btn .btnx > .kyt-button-label,
.new-mb-tiktok-btn .btnx > .kyt-button-label {
  color: #031c52;
}

/************ NEW TABLE EXCHANGE ************/

.mb-exchange-table tbody tr {
  cursor: pointer;
}

.mb-exchange-rate-card-container table {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.mb-exchange-rate-card-container .home thead th:first-child {
  position: sticky;
  left: 0;
  padding-left: 35px;
  padding-bottom: 0;
  padding-top: 0;
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  -webkit-text-fill-color: unset !important;
}

.mb-exchange-rate-card-container thead th.black {
  padding-left: 0 !important;
}

.mb-exchange-rate-card-container thead .mb-exchange-table-space-heading {
  padding-left: 10px;
}

.mb-exchange-rate-card-container
  .mb-exchange-table.home
  table
  tbody
  tr
  td.flag-col {
  color: #3b4a44;
}

.mb-first-col-50 thead th {
  width: 25%;
}

.mb-first-col-50 thead th:first-child {
  width: 50%;
}

.mb-exchange-rate-card-container th,
.mb-exchange-rate-card-container th.mb-text-center {
  color: rgba(150, 149, 158, 0.5) !important;
}

.mb-exchange-rate-card-container .mb-heading.mb-exchange-heading h2 {
  padding-top: 6px;
  padding-bottom: 10px;
}

.mb-exchange-card-container table thead .mb-text-center {
  padding-right: 10px;
}

/* .mb-exchange-today-container tr td > img {
  margin-right: 6px;
} */

.mb-heading.mb-exchange-heading h2,
.mb-exchange-heading h1 {
  background: -webkit-linear-gradient(
    0deg,
    #0b9a5c 0%,
    #41d17f 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.mb-heading.mb-exchange-heading .kyt-heading-text:after {
  background: -moz-linear-gradient(to right, #0b9a5c 0%, #41d17f 100%);
  background: -o-linear-gradient(to right, #0b9a5c 0%, #41d17f 100%);
  background: -webkit-linear-gradient(to right, #0b9a5c 0%, #41d17f 100%);
  background: -ms-linear-gradient(to right, #0b9a5c 0%, #41d17f 100%);
  background: linear-gradient(to right, #0b9a5c 0%, #41d17f 100%);
}

.mb-exchange-rate-card-container .mb-exchange-table tbody tr:nth-child(odd) {
  background: var(--color-exchange-background-odd);
  height: 51px;
}

.mb-exchange-rate-card-container
  .mb-exchange-table
  tbody
  tr:nth-child(odd)
  td:first-child {
  background: var(--color-exchange-background-odd);
  transition: 0.2s;
}

.mb-exchange-rate-card-container .mb-exchange-table tbody tr:nth-child(even) {
  background: var(--color-exchange-background-even);
  height: 51px;
}

.mb-exchange-rate-card-container
  .mb-exchange-table
  tbody
  tr:nth-child(even)
  td:first-child {
  background: var(--color-exchange-background-even);
  transition: 0.2s;
}

.mb-exchange-rate-card-container
  .mb-exchange-table.home
  tbody
  tr
  td:nth-child(2) {
  border-left: 2px solid #fff;
}

.mb-exchange-rate-card-container .mb-exchange-table tbody tr {
  transition: 0.2s;
}

.mb-exchange-rate-card-container .mb-exchange-table thead th {
  color: #9ca4a1 !important;
  font-size: 22px;
  padding-right: 10px;
}

.mb-exchange-rate-card-container .mb-exchange-table tbody .mb-text-center {
  color: var(--color-exchange) !important;
}

.mb-exchange-rate-card-container tbody tr:hover {
  background: var(--color-exchange) !important;
}

.mb-exchange-rate-card-container tbody tr:hover td:first-child {
  background: var(--color-exchange) !important;
}

.mb-exchange-rate-card-container tbody tr:hover td,
.mb-exchange-rate-card-container tbody tr:hover .mb-text-center {
  color: #fff !important;
}

.mb-exchange-rate-card-container .current-date,
.mb-gold-card-container .current-date,
.mb-oil-card-container .current-date {
  font-size: 14px;
  font-family: db adman, sans-serif;
  font-style: normal;
}

.mb-exchange-container-tab-g-color ul.kyt-tab-nav-inner li.active {
  padding: 4px 25px !important;
  background: #479620 !important;
}

.mb-exchange-container-tab-g-color input,
.mb-exchange-container-tab-g-color input::placeholder {
  color: var(--color-exchange) !important;
}

.mb-exchange-container-tab-g-color .mb-new-rate-cal-select-container,
.mb-exchange-container-tab-g-color .mb-swap-exchange {
  background: #e3f0dd;
}

.mb-exchange-container-tab-g-color select.mb-rate-change {
  color: #479620;
  background: #f5faf3;
}

.mb-exchange-container-tab-g-color .mb-swap-icon {
  color: #479620;
}

.mb-exchange-container-tab-g-color .mb-rate-ratio span {
  color: #3b4a44;
}

.mb-new-heading h1,
.mb-new-heading h2 {
  font-size: 48px;
}

.mb-exchange-rate-card-container .mb-border-r-1 {
  border-right: 1px solid #fff;
}

.mb-exchange-rate-card-container .mb-border-l-1 {
  border-left: 1px solid #fff;
}

.mb-exchange-rate-card-container .mb-filter-button {
  background: linear-gradient(to right, #0b9a5c 0%, #41d17f 100%);
}

.mb-exchange-rate-card-container .mb-exchange-table td.black {
  color: #3b4a44;
}

.mb-exchange-rate-card-container .mb-exchange-table th img {
  border-radius: 11px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/************************************ NEW OIL TABLE *************************************/

.mb-oil-card-container .mb-heading.mb-oil-heading h2,
.mb-oil-card-container .mb-oil-heading h1,
.mb-new-oil-heading h1,
.mb-new-oil-heading h2 {
  background: -webkit-linear-gradient(
    0deg,
    #201f6d 0%,
    #9594a3 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.mb-oil-card-container .mb-heading.mb-oil-heading .kyt-heading-text:after,
.mb-new-oil-heading .kyt-heading-text:after {
  background: -moz-linear-gradient(to right, #201f6d 0%, #9594a3 100%);
  background: -o-linear-gradient(to right, #201f6d 0%, #9594a3 100%);
  background: -webkit-linear-gradient(to right, #201f6d 0%, #9594a3 100%);
  background: -ms-linear-gradient(to right, #201f6d 0%, #9594a3 100%);
  background: linear-gradient(to right, #201f6d 0%, #9594a3 100%);
}

.mb-oil-card-container .mb-oil-table tbody tr:nth-child(odd) {
  background: var(--color-oil-background-odd);
}

.mb-oil-card-container .mb-oil-table tbody tr:nth-child(odd) td:first-child {
  background: var(--color-oil-background-odd);
}

.mb-oil-card-container .mb-oil-table tbody tr:nth-child(even) {
  background: var(--color-oil-background-even);
}

.mb-oil-card-container .mb-oil-table tbody tr:nth-child(even) td:first-child {
  background: var(--color-oil-background-even) !important;
}

.mb-oil-card-container .mb-oil-table tbody tr td:first-child {
  transition: 0.2s;
}

.mb-oil-card-container .mb-oil-margin,
.mb-oil-card-container .mb-oil-today,
.mb-oil-card-container .mb-oil-tomorrow {
  color: #4f5458;
}

.mb-oil-card-container
  .mb-oil-table
  tbody
  tr:nth-child(odd):hover
  td:first-child,
.mb-oil-card-container
  .mb-oil-table
  tbody
  tr:nth-child(even):hover
  td:first-child {
  background: #3c3b7a !important;
}

.mb-oil-card-container .mb-oil-table thead th.mb-oil-today,
.mb-oil-card-container .mb-oil-table thead th.mb-oil-margin,
.mb-oil-card-container .mb-oil-table thead th.mb-oil-tomorrow {
  color: var(--color-grey-text);
  font-size: 22px;
  opacity: 1;
}

.mb-oil-card-container .mb-oil-table thead tr th {
  padding: 0;
}

.mb-oil-card-container .mb-oil-table th {
  font-family: db adman, sans-serif;
}

.mb-oil-card-container .mb-oil-table tbody tr {
  height: 51px;
  transition: 0.2s;
}

.mb-oil-card-container .mb-oil-table tbody td {
  color: #201f6d;
}

.mb-oil-card-container .mb-oil-table tbody td.mb-oil-today {
  color: var(--color-grey-text);
  opacity: 1;
}

.mb-oil-card-container .mb-oil-table tbody td.grey {
  color: #b3b3b3;
  font-family: db adman, sans-serif;
}

.mb-oil-card-container .mb-oil-table tbody td.green {
  color: #479620;
}

.mb-oil-card-container .mb-oil-table tbody td.red {
  color: #cd0909;
  background-color: transparent;
}

.mb-oil-card-container .mb-oil-table.home thead th {
  padding: 8px 12px;
  color: var(--color-grey-text) !important;
  font-size: 22px;
  font-family: "db adman", sans-serif;
  text-align: center;
}

.mb-oil-card-container .mb-oil-table.home thead th:first-child {
  text-align: left;
}

.mb-oil-card-container table {
  width: 100% !important;
}

.mb-oil-card-container .mb-oil-table table thead tr th:first-child {
  text-align: left !important;
  color: #373d4b !important;
}

.mb-oil-card-container table tr td:not(:first-child),
.mb-oil-card-container table tr th {
  text-align: center !important;
}

.mb-oil-card-container .mb-oil-table table tr td {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}

.mb-oil-card-container
  .mb-oil-table:not(.mb-oil-history)
  table
  tr
  td:nth-child(1) {
  border-right: none;
}

.mb-oil-card-container
  .mb-oil-table:not(.mb-oil-history)
  table
  tr
  td:nth-child(2) {
  border-left: none;
}

.mb-oil-card-container .mb-oil-table.home thead th:first-child {
  text-align: left !important;
}

.mb-oil-card-container .mb-oil-table tbody tr:hover {
  background: #3c3b7a !important;
}

.mb-oil-card-container .mb-oil-table tbody tr:hover td {
  color: #fff !important;
  opacity: 1 !important;
}

.mb-oil-card-container .mb-oil-table.home th:first-child {
  width: 50%;
}

.mb-oil-card-container .mb-oil-table tbody tr:nth-child(even) td:first-child {
  background: none;
}

.mb-oil-card-container .mb-filter-button {
  background: #3c3b7a;
}

/***************************** NEW GOLD HOME TABLE *****************************/

.mb-gold-card-container .current-date {
  margin-left: 0px;
  margin-top: -10px;
}
.mb-gold-card-container.home .gold-wrap {
  margin-top: 70px;
}

.mb-gold-card-container .mb-gold-rate {
  height: 152px;
  margin-bottom: 15px;
}

.mb-gold-card-container .mb-gold-margin {
  font-size: 36px;
}

.mb-gold-card-container.home .mb-gold-margin {
  font-size: 24px;
}

.mb-gold-card-container .mb-gold-margin.up:before {
  border-width: 8px 10px 8px 0;
}

.mb-gold-card-container .mb-gold-heading-box h2 {
  font-size: 24px;
}

.mb-gold-card-container .mb-gold-grid-col div:first-child {
  color: #7e7d7b;
  font-size: 20px;
  letter-spacing: 0.6;
}

.mb-gold-card-container table,
.mb-exchange-card-container table,
.mb-oil-card-container table {
  margin-bottom: 0;
}

.mb-oil-card-container.mb-oil-today-table table thead th:nth-child(7) img {
  height: 55px;
}

.mb-gold-card-container:not(.home) .mb-gold-grid-col > div:last-child {
  font-size: 44px;
}

.mb-gold-card-container .gold-history tbody tr td:first-child {
  font-size: 26px;
}

.mb-gold-card-container .gold-history th {
  background: -webkit-linear-gradient(
    0deg,
    #814f00 0%,
    #b27d00 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.mb-gold-card-container .gold-history th {
  text-align: center;
}

.mb-gold-card-container .gold-history th:first-child {
  text-align: left;
}

.mb-gold-card-container .gold-history td {
  text-align: center;
}

.mb-gold-card-container .gold-history td:first-child {
  text-align: left;
}

.mb-gold-card-container .gold-history td:last-child {
  text-align: center;
}

.gold-history tbody tr:hover td:first-child {
  color: #fff;
  background: #814f00 !important;
}

.mb-gold-card-container .gold-history th:first-child {
  position: sticky;
  left: 0;
  z-index: 10;
}

.mb-gold-card-container .gold-wrap {
  max-width: 100%;
}

.mb-gold-card-container .gold-history {
  max-width: 100%;
}

.mb-gold-card-container .gold-history td:nth-child(2) {
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.mb-gold-card-container .mb-gold-up {
  text-align: left;
  color: var(--color-green);
}

.mb-gold-card-container .mb-gold-down {
  text-align: left;
  color: var(--color-red);
}

.mb-gold-card-container tr:hover .mb-gold-up,
.mb-gold-card-container tr:hover .mb-gold-down {
  color: #fff;
}

.mb-gold-card-container .gold-history .mb-symbol {
  margin-left: 10vh;
}

.mb-hide-desktop {
  display: none;
}

.mb-gold-seo-text {
  color: #fff;
  font-size: 12px;
}

.mb-gold-seo-text::selection {
  background: transparent;
}

@media only screen and (min-width: 1600px) {
  .mb-exchange-table {
    overflow-x: auto;
  }

  .subbox.new-youtube-subbox .kyt-box-body,
  .subbox.new-tiktok-subbox .kyt-box-body {
    padding-right: 240px !important;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 1600px) {
  .mb-subscribe-absolute {
    max-width: 180px;
  }
}

@media screen and (max-width: 1340px) {
  .mb-oil-table thead th {
    font-size: 20px;
  }

  .mb-exchange-table thead th {
    font-size: 20px;
  }
}

@media screen and (max-width: 1280px) {
  #mb-section-home .kyt-row:nth-child(2) .kyt-col-4 {
    width: 50%;
  }

  #mb-test-exchange .kyt-row:first-child .kyt-col-4 {
    width: 50%;
  }

  .mb-gold-card-container .mb-gold-margin {
    font-size: 28px;
  }

  .mb-gold-card-container .mb-gold-grid-col > div:last-child {
    font-size: 38px;
  }

  .mb-banner-banks .kyt-box-body {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width: 1200px) {
  .subbox.new-youtube-subbox .kyt-box-body,
  .subbox.new-tiktok-subbox .kyt-box-body {
    padding-bottom: 100px;
  }
}

/********** TABLET LANDSCAPE ***********/

@media screen and (max-width: 960px) {
  /* .mb-exchange-table table:not(.home) tr:nth-child(2) th:nth-child(2),
  .mb-exchange-table table:not(.home) td:nth-child(2) {
    display: none;
  }

  .mb-exchange-table table:not(.home) tr:nth-child(2) {

  } */
}

/********** IPAD ***********/

@media screen and (max-width: 768px) {
  #mb-section-home .kyt-row:nth-child(2) .kyt-col-4 {
    width: 100%;
  }

  #mb-test-exchange .kyt-row:first-child .kyt-col-4 {
    width: 100%;
  }

  .mb-banner-banks .kyt-box-body {
    grid-template-columns: repeat(3, 1fr);
  }
}

/********** MOBILE ***********/

@media screen and (max-width: 767px) {
  .kyt-item#featured .kyt-entry-title {
    font-size: 44px !important;
  }

  .subbox.new-youtube-subbox .kyt-box-body,
  .subbox.new-tiktok-subbox .kyt-box-body {
    padding-right: 30px !important;
    padding-bottom: 20px !important;
  }
}

@media screen and (max-width: 480px) {
  .kyt-layout-responsive .kyt-tab--top .kyt-tab-nav-list {
    display: inline-block;
    margin-bottom: 0;
  }

  .subbox.new-youtube-subbox .kyt-box-body,
  .subbox.new-tiktok-subbox .kyt-box-body {
    padding-bottom: 100px !important;
  }
}

.mb-flag-icon {
  display: inline-block;
  width: 20px;
  height: 25px;
  background-size: 100%;
  vertical-align: middle;
  margin-right: 10px;
  background-repeat: no-repeat;
}
/* @media only screen and (max-width: 767px) {
  .exchange-wrap table:not(.home) th:nth-child(2),
  .exchange-wrap table:not(.home) td:nth-child(2) {
    display: none;
  }
}

@media only screen and (max-width: 1028px) and (min-width: 768px) {
  .flag-col img {
    display: none;
  }
}

@media only screen and (max-width: 1180px) and (min-width: 768px) {
  .exchange-wrap .image-heading {
    display: none;
  }

  .exchange-wrap .image-heading.exchange-history-img {
    display: block;
  }
} */
