* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
a,
a:hover {
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
}
a:hover {
  color: #f60;
}
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1194px !important;
  }
}
.row {
  margin-left: 0;
  margin-right: 0;
}
body {
  background-color: #f5f5f5;
}
.mg-t90 {
  margin-top: 90px;
}
.boder-ra-5 {
  border: 1px solid #ccc;
  border-radius: 5px;
}
.input-disabled {
  background-color: #e9ecef;
}
.form-focus:focus,
.input-content:focus {
  color: #495057;
  background-color: #fff;
  outline-color: #41ff00;
}
.btn {
  height: 40px;
  border-radius: 5px;
  border: 1px solid #3961fb;
  background: #3961fb;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0 10px;
  margin: 5px 0;
}
.btn:hover {
  color: #ffffff;
  text-decoration: underline;
}
.btn-submit:hover {
  text-decoration: none;
  background-color: #5572df;
}
.form-validator.invalid input,
.form-validator.invalid select,
.form-validator.invalid .textarea {
  border: 1px solid red;
}
.form-validator input,
.form-validator select {
  margin-bottom: 5px;
}
.form-validator .form-message {
  color: red;
  margin-bottom: 10px;
  margin-top: 5px;
}
.errorWrap {
  padding: 10px;
  margin: 0 0 20px 0;
  background: #ffb2b2;
  border-left: 4px solid #dd3d36;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.succWrap {
  padding: 10px;
  margin: 0 0 20px 0;
  background: #aaff74;
  border-left: 4px solid #5cb85c;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.col-red {
  color: red;
}
.col-green {
  color: #31bf03;
}
.col-blue {
  color: #1266dd;
}
.btn-active {
  background: #31bf03 !important;
}
/* dáshboard */
.frame {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.frame-item {
  width: clamp(145px, 45%, 200px);
  padding: 4px;
  border: 1px solid #ccc;
  position: relative;
  margin: 10px 8px;
  max-height: 380px;
}
.frame-image {
  position: relative;
  width: 100%;
  max-height: 350px;
  height: 190px;
}
.frame-image img {
  width: 100%;
  height: 100%;
}
.frame-image .frame-type {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 3px 6px;
  border: 1px solid #ccc;
  border-radius: 30px;
  background-color: red;
  color: #fff;
  font-weight: 700;
}
.frame-image .frame-type span {
  font-size: 12px;
}
.frame-info {
  padding: 8px;
}
.frame-name {
  margin: 6px 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}
.frame-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}
.price-old {
  text-decoration: line-through;
}
.price-news,
.product-sale {
  font-size: 16px;
  font-weight: 700;
  color: red;
}
.product-num {
  margin: 0 8px;
  padding: 4px 8px;
  border: 1px solid #006e3b;
  border-radius: 50%;
  background: #006e3b;
  color: #fff;
  font-weight: 700;
}
.frame-date {
  display: flex;
  margin: 6px 0;
  flex-direction: column;
}
.frame-note {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 4px;
  font-size: 12px;
}

/* ----- input image----- */
.input-file {
  margin: 15px 0;
}

.input-file .input-img {
  padding: 8px 16px;
  background: #00ad2d;
  border: 1px solid #00ad2d;
  position: relative;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  float: left;
  cursor: pointer;
}
.input-file .input-img i {
  margin-right: 5px;
}
.input-file .input-img .upload-img {
  position: absolute;
  z-index: 1000;
  opacity: 0;
  cursor: pointer;
  right: 0;
  top: 0;
  height: 100%;
  font-size: 0px;
  width: 100%;
}
#display-img {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 8px;
}
#display-img img {
  max-height: 200px;
  height: 200px;
  margin-right: 15px;
  object-fit: cover;
  margin-bottom: 15px;
}
/* ---- login ----- */
.body-login {
  color: #fff;
  text-align: center;
}
.login-form {
  min-width: 345px;
  max-width: 380px;
  margin: 0 auto;
  background: rgb(143 58 179 / 40%);
  padding: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.login-title {
  font-size: 35px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}
.login-form .errors {
  margin-bottom: 10px;
}
.login {
  text-align: left;
}
.login .login-input {
  width: 100%;
  padding: 10px 8px 10px;
  font-size: 16px;
  outline: none;
  margin-top: 5px;
  margin-bottom: 26px;
}
.login label {
  text-transform: uppercase;
}
.login-input:not(:placeholder-shown) + label,
.login-input:focus + label {
  top: 0;
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  padding: 0 5px;
}
.forgot-pass {
  float: right;
  margin-right: 10%;
  margin-bottom: 10px;
  color: #fff;
}
.login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-btn input {
  font-size: 16px;
  padding: 10px 50px;
  background-color: #17b700;
  color: #fff;
  border: none;
  outline: none;
  float: none;
  text-transform: uppercase;
}
.login-btn input:hover {
  background-color: #fff !important;
  color: #537b35 !important;
}

/* header */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 50px;
  background: #237269;
  z-index: 20;
  line-height: normal;
}
.header {
  display: flex;
  align-items: center;
  align-content: center;
  line-height: 50px;
}
.header-title {
  float: left;
  margin-left: 25px;
}
.header-title p {
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}
/* menu-header */
.header-menu {
  /* display: none; */
}
.menu-mobile {
  position: relative;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  margin-left: 25px;
}
.menu-mobile span {
  background: rgb(255, 255, 255);
  width: 20px;
  height: 1px;
  position: absolute;
  border-radius: 10px;
  left: 10px;
}
.menu-mobile .btn-1 {
  top: auto;
  bottom: 11px;
}
.menu-mobile.open .btn-1 {
  transform: rotate(45deg);
  top: 50%;
  height: 2px;
}

.menu-mobile .btn-2 {
  top: 50%;
}
.menu-mobile.open .btn-2 {
  display: none;
}
.menu-mobile .btn-3 {
  top: 13px;
}
.menu-mobile.open .btn-3 {
  transform: rotate(-45deg);
  top: 50%;
  height: 2px;
}
.hidden{
  display: none !important;
}
/* sidebar */
#sidebar {
  background: #eaecef;
  width: 230px;
  float: left;
  overflow: hidden;
  position: fixed;
  z-index: 2;
  max-height: 100%;
  bottom: 0;
  top: 50px;
  overflow-y: auto;
  border-right: 1px solid #ccc;
  padding-bottom: 40px;
  visibility: hidden;
  transition: 0.5s;
  opacity: 0;
  margin-left: -230px;
}
#sidebar.open {
  visibility: visible;
  opacity: 1;
  margin-left: 0;
}
.sidebar-title {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sidebar-title h1 {
  font-size: 23px;
  text-transform: uppercase;
  font-weight: 700;
}
.sidebar-menu > .menu-item.active {
  background-color: #ffd43b;
}

.sidebar-menu > .menu-item > a {
  color: #000;
}
.sidebar-menu > .menu-item a {
  text-decoration: none;
  padding: 12px 15px;
  display: flex;
  align-content: center;
  align-items: center;
  position: relative;
}
.sidebar-menu .menu-item .icon {
  margin-right: 8px;
}
.sidebar-menu .menu-item .down {
  position: absolute;
  right: 15px;
  transition: transform 0.5s;
}
.sidebar-menu-mini {
  background-color: #fff;
}

#sidebar .menu-item-mini a {
  color: #001c40;
  padding: 12px 15px 12px 35px;
}
#sidebar .menu-item-mini:hover a {
  background-color: #efeded;
  padding-left: 45px;
}
.sidebar-menu-mini {
  display: none;
}
.menu-item.active .down {
  transform: rotate(180deg);
}
/* footer */
#footer {
  background-color: #237269;
  height: 40px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  position: fixed;
}
.copyright {
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
}
/* select2 */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  margin-top: 3px;
}
.select2-container .select2-selection--single {
  height: 38px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 38px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  height: 36px;
  color: red;
}

/* main-right */
#main-right {
  padding: 60px 24px 50px 24px;
}
#main-right .breadcrumb {
  background-color: #eaecef;
  padding: 10px 20px;
  margin-bottom: 0;
}
#main-right li,
#main-right a {
  font-size: 14px;
}
#main-right a:hover {
  text-decoration: underline;
}
.main-right-title {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
}
.main-right-filter {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.main-right-filter .btn {
  height: 30px;
  font-size: 14px;
  font-weight: 400;
  margin: 5px;
}
.main-right-filter form {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}
.filter-btn.open {
  background-color: red;
}
.filter-none {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.filter-none.open {
  display: flex;
  opacity: 1;
}
#main-right .table-bordered th,
.table-bordered td {
  text-align: center;
  font-size: 14px;
}
.main-right-table .table-post-list {
  border-collapse: collapse;
}
.table-post-list td {
  vertical-align: middle !important;
  white-space: normal;
}
.dataTables_filter {
  margin-bottom: 6px;
}
.form-title {
  margin: 5px 0;
}
.form-title h1 {
  font-weight: 700;
}
/* input */
.input-flex {
  display: flex;
  justify-content: flex-start;
  width: 50%;
}
.input-flex .form-input,
.input-flex .search-item {
  width: 25%;
}

.input-flex .form-input input,
.input-flex .form-input select {
  width: 95%;
}

.form-input {
  margin: 10px 0;
}
.form-input input {
  height: 38px;
  padding-left: 8px;
  outline-color: #41ff00;
  width: 50%;
}
.search-item .item-name,
.form-input .item-name,
.input-file .item-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.search-item .autobox {
  width: 50% !important;
  height: 38px !important;
  padding-left: 8px !important;
}
.form-input .textarea {
  width: 50%;
  padding: 8px 6px;
}
.submit-form {
  width: 50%;
}
.search-item span.select2 {
  width: 50% !important;
}
/* form-act */
.form-act {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(33, 33, 45, 0.3);
  z-index: 999;
  display: none;
}
.form-act-edit {
  margin-top: 35px;
  padding: 20px;
  max-width: 810px;
  width: 80%;
  background-color: rgba(255, 255, 255, 1);
  position: relative;
  left: 50%;
  transform: translate(-50%);
}
.form-close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  padding: 12px;
}
.form-close i {
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
}
.form-half {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.form-half .form-contact {
  width: 48%;
}
.form-contact {
  margin-top: 10px;
}
.form-contact .contact-title {
  font-size: 16px;
  text-transform: uppercase;
  margin: 10px 0;
}
.form-contact input {
  font-size: 16px;
  width: 100%;
  height: 40px;
  border-radius: 5px;
  padding: 0 10px;
  border: 1px solid #ccc;
  outline-color: #41ff00;
  margin: 4px 0 5px;
}

/* form detal */
#result {
  display: none;
}
#result.active {
  display: block;
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 30%);
}
#result.active .table-detail {
  width: 50vw;
  margin: 20px auto;
  background: #fff;
  position: relative;
}
#result.active #close_x {
  position: absolute;
  background: none;
  border: none;
  top: -25px;
  right: -25px;
  width: 50px;
  height: 50px;
  text-align: center;
  z-index: 100000000;
}
#result.active #close_x i {
  font-size: 25px;
  color: red;
  background: #fff;
  border-radius: 50%;
}
#result.active .title {
  color: #000;
  font-weight: 700;
  text-align: center;
}
#result.active table {
  text-align: center;
  color: #000;
}
.question {
  position: relative;
  cursor: pointer;
}

.question-info {
  padding: 10px;
  border: 1px solid #ccc;
  display: none;
  position: absolute;
  z-index: 100;
  background: #fff;
  left: -175px;
}
.question > i {
  margin-left: 15px;
  font-size: 20px;
}
.question table {
  border-collapse: collapse !important;
  width: 200px;
}
.question tr,
.question th,
.question td {
  border: 1px solid #ccc !important;
  border-width: 1px !important;
  text-align: center;
  padding: 5px;
}
.question .question-info td i {
  border: 1px solid #000;
  border-radius: 50%;
}
.question-info p {
  margin-bottom: 10px;
  text-align: center;
}
.post-button-cod,
.post-button {
  background: none !important;
}

/*  */
::-webkit-scrollbar {
  display: none;
}
html {
  scrollbar-width: none;
}
body {
  -ms-overflow-style: none;
}

.regulation-item:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.regulation-item .title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  cursor: pointer;
  padding: 12px 20px 12px 0;
  position: relative;
}
.regulation-item .title:before {
    content: '\2b';
    position: absolute;
    right: 5px;
    font-size: 14px;
    font-weight: 400;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.regulation-item.active .title::before {
    content: '\f068';
}
.regulation-item .title i {
  transition: all 0.5s;
}
.regulation-item .content {
  display: none;
  padding: 0 12px 15px;
}
.regulation-item .content a {
  text-decoration: underline;
}
.regulation-item .content > ul {
  padding-left: 30px;
}
.regulation-item .content > ul li {
    margin-bottom: 5px;
}
.regulation-item .content > ul li ul {
    padding: 8px 20px;
}
.regulation-item .content > ul, .regulation-item .content > ul li {
  list-style: square;
}
.regulation-item .content > ul li li {
    list-style: circle;
}
.regulation-item .content > p {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
}
.regulation-item .content > p:before {
  content: '\f058';
  position: absolute;
  left: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.regulation-item .content > p.sos:before {
  color: red;
  content: '\f071';
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  width: 50%;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e0e4eb;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(16,24,40,0.03);
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

.tag.selected {
  background: #3b82f6;
  color: #fff;
  border-color: rgba(59,130,246,0.9);
  box-shadow: 0 8px 20px rgba(59,130,246,0.12);
}

/* keyboard focus */
.tag:focus {
  outline: 3px solid rgba(59,130,246,0.18);
  outline-offset: 2px;
}

textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #d7dbe6;
  resize: vertical;
  box-sizing: border-box;
}

.hint {
  margin-top: 8px;
  color: #536179;
  font-size: 13px;
}