/*-----------------------------------------------------------------------------

KENBURNER RESPONSIVE BASIC STYLES OF HTML DOCUMENT

Screen Stylesheet

version:   	1.0
date:      	07/27/11
author:		themepunch
email:     	support@themepunch.com
website:   	http://www.themepunch.com
-----------------------------------------------------------------------------*/

.boxedcontainer {
  max-width: 1170px;
  margin: auto;
  padding: 0px 30px;
}

/*********************************************
	-	SETTINGS FOR BANNER CONTAINERS	-
**********************************************/

.tp-banner-container {
  width: 100%;
  position: relative;
  padding: 0;
}

.tp-banner {
  width: 100%;
  position: relative;
}

.tp-banner-fullscreen-container {
  width: 100%;
  position: relative;
  padding: 0;
}

.header-search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  max-width: 280px;
}

.header-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: transparent;
}

.header-search-input::placeholder {
  color: #aaa;
}

.header-search-btn {
  width: 46px;
  height: 42px;
  background: #6a9a2a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.header-search-btn:hover {
  background: #5a8520;
}

.header-search-btn i {
  color: #fff;
  font-size: 15px;
}

.container-search {
  display: flex;
  align-items: center;
  position: relative;
}

/* Ô input — ẩn mặc định */
.form-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition:
    max-width 0.35s ease,
    opacity 0.25s ease;
  pointer-events: none;
}

/* Khi active thì mở ra */
.container-search.open .form-search {
  max-width: 280px;
  opacity: 1;
  pointer-events: all;
}

.form-control-search {
  display: flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  white-space: nowrap;
}

.form-control-search .tu_khoa {
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 13px;
  width: 220px;
  color: #333;
  background: transparent;
}

.form-control-search button {
  width: 38px;
  height: 36px;
  border: none;
  background: #6a9a2a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.form-control-search button:hover {
  background: #5a8520;
}

.form-control-search button i {
  color: #fff;
  font-size: 14px;
}

/* Icon kính lúp toggle */
.icon-search {
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 6px;
  color: #555;
  font-size: 18px;
  transition: color 0.2s;
}

.icon-search:hover,
.container-search.open .icon-search {
  color: #6a9a2a;
}

/* Ẩn icon2 thừa */
.icon-search .icon2 {
  display: none;
}
