:root {
  --main1: #42a2f8;
  --main2: #f7e7c6;
  --main3: #d8ba89;
}

body {
  background-color: var(--main1);
  font-family: tahoma;
  font-size: 12px;
}

.wrapper {
  padding-top: 12px;
  max-width: 850px;
  margin: 0 auto;
}

.text-nav-login {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-login {
  margin: 0 auto;
  text-align: center;
  min-height: 30px;
  display: flex;
  gap: 3px;
  justify-content: center;
}

.icon-area.icon-hide {
  height: 0px;
  visibility: hidden;
}

.icon-area {
  height: 80px;
  transition: height 0.4s ease-in-out;
}

.bxh-hide {
  display: none;
}

.nav-login svg {
  color: red;
}

.button-black,
.nav-login button {
  color: #fff;
  background-color: #353535;
  border: none;
  min-height: 30px;
  padding: 0px 10px;
  border-radius: 4px;
}

.button-black:hover,
.nav-login button:hover {
  background-color: #585858;
  cursor: pointer;
}

.btn-baimoi {
  padding: 8px 10px;
  background-color: white;
  border: 1px solid gray;
  border-radius: 4px;
  margin-top: 8px;
}

.btn-baimoi:hover {
  cursor: pointer;
  background-color: green;
}

.link-u {
  text-decoration: none;
}

.link-u:hover {
  text-decoration: underline;
  color: black;
}

.link-u span:hover {
  color: black;
}

.btn-page {
  background-color: #353535;
  border: none;
  width: 25px;
  height: 25px;
  color: #AE9964;
}

.btn-dangky {
  text-decoration: none;
  color: white;
}

.link-page button:hover,
.link-page:hover {
  cursor: pointer;
  background-color: white;
  color: black;
}

.btn-send-quote {
  padding: 10px 10px;
  background-color: white;
  border: none;
}

.btn-send-quote:hover {
  cursor: pointer;
  background-color: green;
}

.btn-register {
  padding: 10px 10px;
  border: none;
  background-color: white;
  border-radius: 2px;
}

.btn-register:hover {
  cursor: pointer;
}

.link-page {
  color: #AE9964;
}

.btn-in-page button:hover,
.btn-in-page:hover {
  cursor: pointer;
  background-color: #AE9964;
  color: black;
}

.btn-in-page {
  color: white;
  background-color: #AE9964;
}

.box-baidang-mem {
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.box-cmt-mem {
  display: flex;
  gap: 10px;
}

.content {
  display: flex;
}

.header {
  margin-bottom: 10px;
}

.header-banner {
  position: relative;
}

.header-banner-img {
  position: relative;
  z-index: -1;
}

.header-banner-img,
.footer-banner-img {
  width: 100%;
}

.header-banner-fanpage {
  position: absolute;
  top: 0px;
  right: 0px;
}

.header-banner-fanpage:hover {
  cursor: pointer;
}

.header-nav {
  display: flex;
  justify-content: space-around;
}

.main-content {
  flex: 1;
  margin: 0px 10px;
  padding: 10px;
  background-color: var(--main2);
  border: 5px solid transparent;
  border-image: url(content-bg.png) 10 round;
  background-image: url(bg-content-top.jpg), url(bg-content-bot.jpg);
  background-position: right top, left bottom;
  background-repeat: no-repeat;
}

.sidebar {
  flex: 0.45;
}

.sidebar img {
  width: 100%;
}

.tbl-taive {
  margin: 0 auto;
}

.tbl-taive {
  border-collapse: collapse;
  border-style: hidden;
}

.tbl-taive td {
  border: 1px solid var(--main3);
  /* height: 120px; */
  padding: 10px;
}

.sidebar-content {
  width: auto;
  padding: 5px 10px;
  background: url('mid-menu-sb.png') repeat-y;
  background-size: contain;
}

.xemthem-img {
  margin: -10px auto 3px auto;
  text-align: center;
  width: 90%;
}

.xemthem-img img {
  margin-bottom: -10px;
  width: auto;
}

.xemthem-img img:hover {
  cursor: pointer;
}

.bxh-title-img {
  margin: 0 auto;
  background: #d8ba89;
  padding: 3px 1px;
  border-radius: 5px;
  width: 90%;
  text-align: center;
  margin-bottom: -8px;
}

.bxh-title-img img {
  width: auto;
}

.bottom-header-banner {
  background: url('bg-top-menu.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 24px;
  margin-bottom: -25px;
  margin-top: -5px;
  position: relative;
  z-index: -1;
}

.top-footer-banner {
  background: url('bg-top-menu.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 24px;
  margin-bottom: -10px;
  margin-top: 10px;
  position: relative;
  z-index: -1;
}

.modal-bg {
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  visibility: visible;
}

.login-modal {
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #999;
  border-radius: 6px;
  outline: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 30%;
  width: 30%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.1s linear;
  transition: top 0.2s linear;
}

.hide {
  top: 10%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  transition: visibility 0.5s ease;
  transition: top 0.5s ease;
}

.login-box-input {
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
}

.login-box-input input {
  padding: 10px;
  border: 1px solid #cccccc;
}

.login-box-input input:nth-child(2) {
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.login-box-input input:nth-child(1) {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.login-box-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 5px;
}

#login-close {
  color: #aaaaaa;
  position: absolute;
  top: 5px;
  right: 13px;
  font-size: 28px;
  font-weight: bold;
  width: 20px;
  height: 20px;
}

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

.btn-l{
        padding: 8px 25px;
    border: none;
    background-color: #d8ba89;
    border-radius: 4px;
    width: 100%;
    color: white;
    font-size: 16px;
}

.btn-l:hover {
    cursor: pointer;
    color: black;
}

@media only screen and (max-width: 430px) {
  .content {
    flex-direction: column;
  }

  .login-modal {
    width: 80%;
  }

  .box-cmt-mem {
    gap: 38px;
  }

  .star01 {
    left: 10px !important;
  }
  .icon-area {
    height: 220px;
  }
  .btn-l{
    font-size: 12px;
}
}