/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

select.tinh-thanh-pho{
	  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
 background-image: url(/wp-content/uploads/2025/05/cdx1wmyt.svg) !important;
      background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 30px 30px;

  padding-right: 40px;
  width: 100%;
  cursor: pointer;

  /* Kế thừa style */
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  background-color: inherit;
  border-radius: inherit;
  height: 40px;
  line-height: inherit;
}


select.loai-bien{
	  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
 background-image: url(/wp-content/uploads/2025/05/phweattv.svg) !important;
      background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 30px 30px;

  padding-right: 40px;
  width: 100%;
  cursor: pointer;

  /* Kế thừa style */
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  background-color: inherit;
  border-radius: inherit;
  height: 40px;
  line-height: inherit;
}

.nut-loc {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex
;
    flex-direction: column;
    flex-wrap: nowrap;
}

/* Nền form */
.wpcf7 .custom-form {
 
  padding: 0px;
  margin: auto;
}
.wpcf7 .custom-form-1 {
  background-color: ;
  padding: 20px;
  margin: auto;
}

/* Trường nhập */
.wpcf7 .custom-form input[type="text"],
.wpcf7 .custom-form input[type="tel"],
.wpcf7 .custom-form textarea {
  width: 100%;
  padding-left: 10px;
  font-size: 18px;
  background: #f0f3f8;
  border: none;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.wpcf7 .custom-form-1 input[type="text"],
.wpcf7 .custom-form-1 input[type="tel"],
.wpcf7 .custom-form-1 textarea {
  width: 100%;
  padding-left: 10px;
  font-size: 18px;
  color: black;
  background: #f0f3f8;
  border: none;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.custom-form textarea {
    height: 130px;
    line-height: inherit !important;
    min-height: 90px;
    padding: 10px 12px;
}
.custom-form-1 select { 
  background: #f0f3f8;
}	
/* Submit button */
.wpcf7 .custom-form input[type="submit"] {
  background-color: #ffc553;
  color: #003322;
  font-weight: bold;
  padding: 10px 25px;
  font-size: 20px;
  border: none;
  cursor: pointer;
  display: block;
  margin: auto;
}
.wpcf7 .custom-form-1 input[type="submit"] {
  background-color: #ffc553;
  color: #003322;
  font-weight: bold;
  padding: 10px 25px;
  font-size: 20px;
  border: none;
  cursor: pointer;
  display: block;
  margin-top: 20px;
  margin-left: 50px;
}
/* Placeholder dấu * màu đỏ */
.wpcf7 .custom-form input::placeholder,
.wpcf7 .custom-form textarea::placeholder {
  color: #000;
}

.wpcf7 .custom-form input:required::placeholder,
.wpcf7 .custom-form textarea:required::placeholder {
  color: #000;
}

.wpcf7 .custom-form input:required::after,
.wpcf7 .custom-form textarea:required::after {
  content: '*';
  color: red;
}

.custom-toc-container {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e0e0e0;
  font-family: 'sans-serif';
}

.custom-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 12px 16px;
  border-bottom: 3px solid #003e2e;
  cursor: pointer;
}

.custom-toc-header .title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 18px;
  color: #003e2e;
}

.custom-toc-header .icon {
  font-size: 20px;
}

.custom-toc-header .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.custom-toc-header .arrow.rotate {
  transform: rotate(180deg);
}

.custom-toc-body {
  padding: 16px;
}

.custom-toc-body ol {
  margin: 0;
  padding-left: 1.2em;
}

.custom-toc-body li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #003e2e;
  font-weight: 500;
}

.toc-list {
  counter-reset: toc-counter; /* Khởi tạo bộ đếm */
  list-style: none; /* Ẩn ký hiệu mặc định */
  padding-left: 0;
}

.toc-list-item {
  counter-increment: toc-counter; /* Tăng số đếm */
  margin-bottom: 8px;
  position: relative;
}

.toc-list-item::before {
  content: counter(toc-counter) ". ";
  font-weight: bold;
  color: #333;
  position: absolute;
  left: 0;
}

.toc-link {
  padding-left: 24px; /* Dịch link sang phải để tránh chồng lên số */
  display: inline-block;
}


@media (max-width: 767px) {
  .nut-loc {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex
;
    flex-direction: row;
    flex-wrap: nowrap;
}
}