@charset "UTF-8";

.rfhead,
.rfhead * {
  box-sizing: border-box;
}

.rfhead {
  display: flex;
  align-items: flex-end;
  width: 100%;
}

.rfhead ul,
.rfhead li {
  margin: 0;
  padding: 0;
  float: none;
  list-style: none;
}

.rfhead img {
  display: block;
  border: 0;
}

.rflogo {
  flex: none;
  margin-right: 20px;
}

.rflogo img {
  width: 65px;
  height: auto;
}

.rflang {
  flex: none;
  display: flex;
}

.rflang img {
  width: 56px;
  height: auto;
}

.rflang a:hover img {
  opacity: 0.7;
}

.rfmain {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rfsearch {
  margin-bottom: 8px;
}

.rfsearch form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rfsearch input[type="text"] {
  width: 150px;
  padding: 2px 4px;
  border: 1px solid #767676;
  font-size: 12px;
}

.rfsearch input[type="image"] {
  flex: none;
}

.rfbnr {
  display: flex;
  gap: 8px;
}

.rfbnr img {
  width: auto;
  height: 52px;
}

.rfbnr a:hover img {
  opacity: 0.7;
}

#footer_bnr {
    display: block;
    font-size: 0;
    height: auto;
    width: 98%;
    margin: 0 auto;
    padding: 0 1% 0% 1%;
    /* background: #c1c1c1; */
}
#livemoni_section{padding: 10px 0 0 0;}

.gnav {
  background: #3a3a3d;
  position: relative;
  margin: 16px auto 8px;
  z-index: 100;
}

.rfmenu {
  display: flex;
  list-style: none;
}

.rfmenu > li {
  position: relative;
  flex: 1;
  text-align: center;
}

.rfmenu > li > a,
.rfmenu > li > label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -4px 0 #e60012;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.rfmenu > li > a:hover,
.rfmenu > li > label:hover {
  background: #5a5a5f;
  box-shadow: inset 0 -4px 0 #ff4d57;
}

.rfmenu > li + li > a,
.rfmenu > li + li > label {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.ext::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8 8'/%3E%3Cpath d='M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8 8'/%3E%3Cpath d='M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rfsub input {
  display: none;
}

.rfsub label::before {
  content: "";
  order: 2;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}

.rfsub input:checked + label {
  background: #5a5a5f;
  box-shadow: none;
}

.rfsub input:checked + label::before {
  transform: rotate(225deg) translateY(-2px);
}

.sub {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  list-style: none;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0 7px 12px -3px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.rfsub input:checked ~ .sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub a {
  display: block;
  padding: 14px 12px;
  color: #3a3a3d;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sub li:last-child a {
  border-bottom: none;
}

.sub a:hover {
  background: #e5e5e5;
}