/**
 * Dual sidebars around main content — desktop only (see media queries).
 */

.layout-sidebar-wrapper {
	max-width: 1700px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	gap: 0;
	position: relative;
}

.layout-sidebar-left,
.layout-sidebar-right {
	width: 180px;
	flex-shrink: 0;
}

.layout-sidebar-main {
	width: 1320px;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	flex: 1 1 auto;
}

.layout-sidebar-inner {
	position: sticky;
    top: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    min-height: calc(100vh - 10rem);
    padding-block: clamp(1rem, 3vh, 2.5rem);
    box-sizing: border-box;
    gap: 0;
}

.home-layout-sidebar {
	display: flex;
	justify-content: center;
	height: auto;
}

.home-layout-sidebar-left, .home-layout-sidebar-right {
	width: 180px;
	z-index: 999;
}

.home-layout-sidebar-left .sidebar-inner-content, .home-layout-sidebar-right .sidebar-inner-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: auto;
	position: sticky;
	top: 0;
	z-index: 999;
	gap: 10px;
}

.sidebar-inner-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: auto;
	gap: 10px;
}

.group-btn {
	position: relative;
	z-index: 999;
}

.list-main-link {
	padding-left: 10px;
	padding-right: 10px;
}

#popupCorner {
  position: fixed;
  bottom: 20px;
  right: 15px;
  width: 180px;
  max-width: 90%;
  z-index: 999999;

  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s ease;
}

/* khi hiện */
#popupCorner.show {
  transform: translateY(0);
  opacity: 1;
}

/* ảnh */
#popupCorner img {
  width: 100%;
  border-radius: 10px;
/*   box-shadow: 0 0 15px rgba(0,0,0,0.4); */
}

/* nút đóng */
.closeCorner {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: #fff;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}


@media (max-width: 1600px) {
	.layout-sidebar-main, .home-layout-sidebar-content {
		width: calc(100% - 360px);
	}

	.home-layout-sidebar-content .row.row-collapse {
		max-width: calc(100% - 20px);
	}
}

@media (max-width: 1360px) {
	.layout-sidebar-main, .home-layout-sidebar-content {
		width: calc(100% - 300px);
	}

	.home-layout-sidebar-content .row.row-collapse {
		max-width: calc(100% - 20px);
	}

	.home-layout-sidebar-left, .home-layout-sidebar-right {
		width: 150px;
		z-index: 999;
	}
}

@media (max-width: 1024px) {
	.layout-sidebar-left,
	.layout-sidebar-right,  .home-layout-sidebar-left, .home-layout-sidebar-right  {
		display: none;
	}

	.layout-sidebar-wrapper {
		max-width: 100%;
		padding: 0;
	}

	.layout-sidebar-main, .layout-sidebar-main, .home-layout-sidebar-content {
		width: 100%;
		padding: 0;
	}
}

.qc-space .col:first-child {
	padding-right: 5px !important;
}

.qc-space .col:last-child {
	padding-left: 5px !important;
}

@media (max-width: 768px) {
	.qc-space .col:first-child {
		padding-right: 0px !important;
	}

	.qc-space .col:last-child {
		padding-left: 0px !important;
	}
	
	#popupCorner {
		right: 12px;
		bottom: 7rem;
	}
}

