﻿#Index div.Region a.ObjName span {
	color:#999;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
}
a {
    font-family:Avo;
}

h1 span {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 5px 15px;
  border-radius: 8px;
  position: relative;
}
div.RegionDark {
    padding: 20px 0px;
    background: url('/page/img/bg/RegionDarkBg.jpg') repeat-y;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #FFF;
    transition: 0s linear;
    transition-property: background-position;
}
a.ObjName {
    font:bold 16px Avo;
}
div.ObjSummary {
    font:normal 16px Avo;
}
div.RegionDark a.ObjName {
    color:#FFF;
}
a.GioiThieu {
    margin-bottom:30px;
	font-size:20px;
	color:#999;
}
a.GioiThieu:hover {
	color:#007bff;
}
div.DetailContent {
    margin-bottom:60px;
}
div.DetailContent div.Text {
    margin-bottom:20px;
    font:normal 18px Avo;
    line-height:30px;
    text-align:justify;
    color:#000;
}

#Index div.Region {
    margin-top:-30px;
    margin-bottom:-50px;
}

div.LinkCover {
    text-align:center;
    margin-bottom:30px;
}
a.HomeLink {
    font:bold 20px Avo;
    display:inline;
    padding:8px 25px;
    border-radius:30px;
    border:solid 1px #AAA;
    background: url(/page/img/bg/RegionDarkBg.jpg) repeat-y;
    background-position: center;
    color:#FFF;
}



/******************************/
/* Gạch chân nhẹ nhàng */
h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #007bff;
  margin: 10px auto 0;
  border-radius: 2px;
}

#Index div.TinHoc a.ObjName {
	height:34px;
}
#Index img.GiaiNhi {
	width: 50%;
	height: auto;
	cursor: pointer; /* hiện con trỏ tay khi hover */
	display: block;
	margin: 20px auto;
}
#popupOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px; /* thêm padding để tránh ảnh chạm mép */
  box-sizing: border-box;
  overflow: auto; /* cho phép cuộn nếu ảnh quá lớn */
}

#popupImageContainer img {
	margin-top:20px;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
	border: 5px solid white;
	box-shadow: 0 0 15px black;
	background: white;
	border-radius: 5px;
}

/* Container hàng */
div.row.DataList {
  display: flex;
  flex-wrap: wrap;
}

/* Box chính */
div.row.DataList > div.Obj.Obj_NameSummary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fdfdfd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /*height: 100%;*/
  height:170px;
  flex: 1 1 25%; /* khoảng 4 box trên 1 hàng */
  box-sizing: border-box;
}

/* Hover effect */
div.row.DataList > div.Obj.Obj_NameSummary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Tiêu đề */
div.Obj.Obj_NameSummary > a.ObjName {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  margin-bottom: 10px;
}

/* Mô tả */
div.Obj.Obj_NameSummary > div.ObjSummary {
	font-size: 0.97em;
	color: #555;
	line-height: 1.5;
}
@media (max-width: 991px) {
  div.row.DataList > div.Obj.Obj_NameSummary {
    flex: 1 1 50%;
  }
}

@media (max-width: 767px) {
  div.row.DataList > div.Obj.Obj_NameSummary {
    flex: 1 1 100%;
    height: auto;
  }
}


a.RegionLink {
  font-family: 'Avo', sans-serif;
  font-size: 3rem; /* Tăng size chữ */
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Hiệu ứng gạch chân trượt lên */
a.RegionLink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

a.RegionLink:hover {
  color: #0056b3;
}

a.RegionLink:hover::after {
  transform: scaleX(1);
}

div.Hotline {
  display: flex;
  margin-top:-20px;
  justify-content: center;
  align-items: center;
  max-width: fit-content;
  margin: 20px auto;
}

div.Hotline a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: bold;
  color: red;
  text-decoration: none;
  transition: color 0.3s ease;
}

div.Hotline a:hover {
  color: #0056b3;
}

div.Hotline i {
  font-size: 20px;
}


#Index div.Hotline a:hover {
  text-decoration: underline;
}

/* Khối chính */
div.ContactBox {
  background-color: #f9f9f9;
  border-left: 5px solid #007bff;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: Avo, Arial, sans-serif;
}

/* Mỗi dòng thông tin */
div.ContactItem {
  margin-bottom: 12px;
  line-height: 1.6;
  display: flex;
  font-size:18px;
}

/* Nhãn */
div.ContactItem span.Label {
  font-weight: bold;
  color: #333;
  min-width: 120px;
  vertical-align: top;
}

/* Giá trị */
div.ContactItem span.Value,
div.ContactItem a.Value,
div.ContactItem span.Value a{
  color: #555;
  text-decoration: none;
  text-align:left;
  vertical-align: middle;
  word-break: break-word;
  font-size:18px;
}
div.ContactItem span.Value a {
    margin-top:1px;
}
div.ContactItem span.Value a:hover {
    color:#007bff;
}
div.ContactItem a.Value {
	display:inline;
	margin-top:1px;
    font-family:Avo;
}

div.ContactItem a.Value:hover {
  color: #007bff;
  text-decoration: underline;
}

/*FooterMenu*/
/* Style cho toàn bộ khu vực AllMon */
div.AllMon {
    width: 100%;
    padding: 0 15px;
    margin-top:50px;
}

/* Style cho container */
div.AllMon .container {
    margin-top: 30px;
    max-width: 100%; /* Loại bỏ giới hạn chiều rộng mặc định của Bootstrap */
    padding: 0;
}

/* Style cho hàng */
div.AllMon .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/* Style cho từng cột */
div.AllMon .col-xs-12 {
    padding: 0 10px;
    margin-bottom: 20px;
    flex: 1 1 25%; /* 4 cột chia đều mỗi cột 25% */
    box-sizing: border-box;
}

/* Style cho tiêu đề */
div.AllMon h1 {
    font-family:Avo;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    text-align:left;
}

/* Style cho link */
div.AllMon a.link {
    display: block;
    margin: 6px 0;
    font-size: 16px;
    font-weight:normal;
    color: #337ab7;
    text-decoration: none;
    text-align:left;
    transition: all 0.2s;
}

div.AllMon a.link:hover {
    color: #23527c;
    text-decoration: underline;
}
#GioiThieu div.RegionDescription {
    margin-top:20px;
    font:normal 18px Avo;
}
#GioiThieu div.RegionDescription b {
    color:#0056b3;
}

@media (max-width: 767px) {
    div.AllMon .row {
        flex-direction: column; /* Cho mỗi cột xuống 1 dòng */
    }

    div.AllMon .col-xs-12 {
        flex: 1 1 100%; /* Mỗi cột chiếm toàn bộ chiều rộng */
    }
}
