#wrapper {
  background: url("/common/design/user/img/template/bg_t1.jpg") no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

#wrapper #header {
  background: transparent !important;
}

#wrapper #footer {
  background: transparent;
}

.background-page {
  background: unset !important;
}

.btn_form_search .fa-search {
  font: normal normal normal 18px/1 FontAwesome;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.template_t1 #delivery-date {
  width: auto;
  float: unset;
  background: #d0c3bb8a;
  line-height: 20px;
  font-weight: bold;
  padding: 8px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wrap_temt1 .wrap_content_temt1 .content-search--input input{
  margin-left: 10px;
}
.template_t1 #delivery-date .date {
  font-size: 16px;
  margin-left: 5px;
}

.template_t1 #delivery-date h3 {
  font-size: 24px;
  font-weight: bold;
  color: #D40102;
}

#header .wrap_tem1 {
  margin: 0 auto 60px;
  max-width: 1100px !important;
  width: 1100px !important;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.wrap_tem1 .header-logo {
  text-align: center;
}
.wrap_tem1 .box-select {
  display: flex;
  justify-content: flex-end;
}
.wrap_temt1 .search-box .wrap select{
  background: #fff;
  padding: 10px;
}
.wrap_tem1 .search-box .category span {
  padding-right: 5px;
}
.wrap_temt1 .search-box .sort {
  margin-right: 0;
  padding-right: 0;
  margin-left: 5px;
}
.wrap_temt1 .search-box .category {
  color: #ffffff !important;
}
.wrap_temt1 .search-box .wrap select{
  color: #000 !important;
}
.btn_form_search {
  position: absolute;
  right: 0;
  top: 70%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

.btn_form_search:after {
  content: '\f002';
  font-family: FontAwesome;
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
}

.name_sample {
  font-weight: 600;
  font-size: 24px;
}

#header .wrap_tem1 .wrap {
  display: flex !important;
  /*justify-content: center;*/
  flex-direction: column;
  /*align-items: center;*/
  margin: 40px auto 0;
}

#header .link button {
  color: #ffffff;
  background: none;
  border-radius: unset;
  padding: 12px;
  margin-top: 0;
  border: unset;
  outline: none;
}

.custom-item-page {
  width: 100%;
  padding: 0;
  margin: 20px 0 0;
  background: transparent;
}

.wrap_temt1 {
  min-height: 100vh;
}

#wrapper .wrap_temt1 .wrap_content_temt1 .page_navi {
  padding: 0;
  margin-top: 30px;
  border: unset;
}

.wrap_temt1 .item-list ul.links {
  display: flex;
  flex-wrap: wrap;
}

.wrap_temt1 .item-list li.bl-hot:hover {
  opacity: unset;
}

.wrap_temt1 .item-list li.bl-hot .img-box img {
  /*padding: 10px 0;*/
}

.wrap_temt1 .item-list li.bl-hot {
  width: 31.5%;
  background: #fff;
  transition: .3s ease;
}

#footer .wrap:first-child {
  padding-bottom: 25px;
}

#footer .wrap:first-child div:first-child {
  font-weight: 500;
  margin-bottom: 5px;
}

.wrap_temt1 .wrap_content_temt1 {
  width: 1100px !important;
  max-width: 1100px;
  margin: 25px auto 0;
  padding: 0 0 20px 0;
}

.wrap_temt1 .form_search {
  position: absolute;
  right: 0;
  top: 35px;
  width: 220px;
  background: #000000bf;
  padding: 15px;
  border-radius: 10px;
  z-index: 999;
}

.wrap_temt1 .box_input_search {
  display: flex;
  margin-top: 5px;
}

.wrap_temt1 .form_search_main {
  display: flex;
  flex-direction: column;
}

#wrapper #header .form_search .search-box {
  background: transparent;
}

.wrap_temt1 .box_input_search input {
  background: #273e4d;
  border: none;
  width: 90px;
}

.wrap_temt1 .box_input_search select:first-child {
  margin-right: 5px;
}

.wrap_temt1 .box_input_search select:last-child {
  margin-left: 5px;
}

.wrap_temt1 .form_search_main select {
  background: #273e4d;
  width: 90%;
  padding: 3px 0 5px;
  font-size: 14px;
  border-radius: 5px;
  outline: none;
  border: 1px solid #fff;
}

.wrap_temt1 .form_search_main .search button {
  background: #002b54;
  width: 100%;
  border: 1px solid #000;
  padding: 10px 5px;
  border-radius: 5px;
  margin-top: 8px;
  outline: none;
}

.wrap_temt1 .form_search .search-box .price,
.wrap_temt1 .form_search .search-box .category,
.wrap_temt1 .form_search .search-box .search {
  padding-right: 0;
}

.wrap_temt1 .form_search .search-box .price,
.wrap_temt1 .form_search .search-box .category {
  font-weight: 500;
}

.wrap_temt1 .form_search .search-box .category {
  margin: 10px 0;
}

.wrap_temt1 .box_form_search {
  position: relative;
}

.wrap_temt1 .form_search .search-box .category select {
  margin-top: 5px;
}

.wrap_temt1 .search_list_t1 .item-info .category {
  text-align: right;
}

.wrap_temt1 .search_list_t1 .item-info .category .price {
  float: unset;
}

.wrap_temt1 .page_navi li span {
  padding: 9px 10px;
  border: unset;
}

.wrap_temt1 .item .page_navi ul li a {
  background: #000;
  padding: 9px 10px;
  border: unset;
}

#wrapper #footer a {
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.wrap_temt1 #contents.item-detail .item_info .top_detail .left {
  width: 51% !important;
}

.wrap_temt1 #contents.item-detail .item_info .top_detail .right {
  width: 47% !important;
}

#contents.item-detail .item_info .top_detail .left .preview-image ul li {
  background: #F3F3F3;
  margin-right: 10px;
  width: 85px;
  height: 85px;
  border: 1px solid #e5e5e5;
}

#contents.item-detail .item_info .top_detail .right .extra-section .slider {
  border: none;
  border-radius: unset;
  padding: 0 15px;
  background: #f3f3f3a6;
  margin-top: 10px;
  /*height: 70px;*/
}

/*#contents.item-detail .item_info .top_detail .right .extra-section .size-slider {*/
/*  height: 85px;*/
/*}*/

.wrap_temt1 .top_detail .extra-section .slider .slick-next {
  right: 0;
  background-image: url(../img/template/btn_next.png);
}

.wrap_temt1 .top_detail .extra-section .slider .slick-prev {
  left: 0;
  background-image: url(../img/template/btn_prev.png);
}

.template_t1 .top_detail {
  color: #fff;
}

.wrap_temt1 #contents.item-detail .item_info .top_detail .right .item-name {
  background: transparent;
}

.wrap_temt1 #contents .item_info .top_detail .right .item-name h2 {
  text-align: left;
  padding: 10px 0 5px;
  color: #fff;
}

.wrap_temt1 .top_detail .extra-section .title {
  color: #fff;
  font-weight: 500;
}

.wrap_temt1 .wrap_content_temt1 .item_info .top_detail .left .main-image {
  padding: 25px;
}

.wrap_temt1 .wrap_content_temt1 .item_info .top_detail .left #imgMain {
  height: 460px;
  width: auto;
  padding: 20px;
}

.wrap_temt1 #imgMain img {
  max-height: 100%;
  max-width: 100%;
}

.wrap_temt1 .item-actions .qtty .qtty-input {
  border: 1px solid #d0d0d0;
  width: 65px;
  height: 35px;
  border-radius: 7px;
  text-align: right;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 16px;
  color: #000;
  outline: unset;
  border-radius: unset;
}

.wrap_temt1 .item-actions .qtty {
  margin-left: 15px;
  border: none;
  height: auto;
  width: 130px;
  margin-right: 0;
}

.wrap_temt1 .wrap_content_temt1 .item_info .top_detail .right .item-actions .quantity {
  display: flex;
  align-items: center;
  font-weight: 500;
}

#contents.item-detail .item_info .top_detail .right .item-cost {
  padding: 10px 20px;
  font-size: 20px;
  font-weight: unset;
  color: #ffffff;
  background: #FE0036;
}

.wrap_temt1 .item-info .item-name {
  text-align: left !important;
  font-weight: unset;
  min-height: 36px;
}

.no-js .owl-carousel, .owl-carousel.owl-loaded {
  height: 541px;
}

.owl-carousel .owl-stage-outer {
  height: 100%;
}

.changeStoreItem button {
  font-weight: 500;
}

.item h2 {
  color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 20px auto;
  border: none;
}

#contents.item-detail .item_info .top_detail .right .item-description {
  line-height: 24px;
}

.es-loading:after {
  font-size: 16px;
}

#contents.item-detail .item_info .top_detail .right .item-actions .purchase-button .cart-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contents.item-detail .item_info .top_detail .right .item-actions .purchase-button .cart-btn img {
  height: auto;
}

.cate_item_name {
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}
/*-------------------------------*/
.wrap_temt1_2 .template_t1 #delivery-date {
  background: #a400008a;
}
#wrapper .wrap_temt1_2 #header .box-select.change-color-search {
  background-color: transparent !important;
}
.wrap_temt1_2 #delivery-date h3,
.wrap_temt1_2 .content-search--input{
  color: #fff;
}
.wrap_temt1_2 #delivery-date .date{
  color: #fff !important;
}
.wrap_temt1_2 .content-search--input input{
  color: #000;
}
.wrap_temt1.wrap_temt1_2 .item .page_navi ul li a {
  background: #a40000;
}
.wrap_temt1_3 .template_t1 #delivery-date {
  background: #0544268a;
}
.wrap_temt1.wrap_temt1_3 .item .page_navi ul li a {
  background: #00431f;
}
.wrap_temt1_4 .template_t1 #delivery-date {
  background: #0f007fd1;
}
.wrap_temt1.wrap_temt1_4 .item .page_navi ul li a {
  background: #0f007f;
}
.wrap_temt1_5 .template_t1 #delivery-date {
  background: #8f4606d1;
}
.wrap_temt1.wrap_temt1_5 .item .page_navi ul li a {
  background: #8f4606;
}
#wrapper #footer.footer_47{
  background-color: #a40000 ;
}
#wrapper #footer.footer_48{
  background-color: #00431f ;
}
#wrapper #footer.footer_49{
  background-color: #0f007f;
}
#wrapper #footer.footer_50{
  background-color: #8f4606;
}
/*-------------------------------*/
@media screen and (max-width: 1023px) {
  #wrapper {
    background-repeat: repeat-y;
  }

  .wrap_temt1 .wrap_content_temt1,
  #header .wrap_tem1 {
    width: 100% !important;
  }

  .template_t1 #delivery-date {
    border-bottom: 1px solid #fff;
    background: #ffffffb0;
  }

  .template_t1 #delivery-date h3 {
    font-size: 16px;
    padding: 0;
  }

  .template_t1 #delivery-date .date {
    color: #000;
    font-size: 10px;
  }

  .name_sample {
    font-size: 20px;
  }

  #header .link button {
    padding: 3px 10px;
  }

  #header .wrap_tem1 .wrap {
    margin-top: 25px;
  }

  .btn_form_search {
    width: 22px;
    height: 22px;
    top: 40%;
    right: 10px;
  }

  .wrap_temt1 .box_form_search {
    position: unset;
  }

  .btn_form_search:after {
    font-size: 14px;
  }

  .changeStoreItem button {
    width: calc((100% - 11px) / 2) !important;
    margin-right: 5px;
  }

  .changeStoreItem button:last-child {
    margin-right: 0;
  }

  .tabcontent {
    padding: 0 10px;
  }

  .wrap_temt1 .item-list li.bl-hot {
    width: calc((100% - 30px) / 2);
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .wrap_temt1 .item-list li.bl-hot:nth-child(2n) {
    margin-right: 0;
  }

  .wrap_temt1 .item-list li.bl-hot a {
    display: block;
    padding: 10px;
    background: #f3f3f3;
  }

  .bl-hot p {
    padding: 10px 10px 0;
    font-size: 16px;
    line-height: 20px;
  }

  .wrap_temt1 .item-list li.bl-hot hr {
    display: none;
  }

  .bl-hot .category-title {
    margin: 10px 10px 5px;
    border: 2px solid #949494;
  }

  .bl-hot .quantity-size {
    color: #949494;
    font-size: 14px;
  }

  .template_t1 .top_detail {
    padding: 0 12px;
  }

  .wrap_temt1 #imgMain img {
    height: auto;
    width: 100%;
  }

  .wrap_temt1 #contents.item-detail .item_info .top_detail .left,
  .wrap_temt1 #contents.item-detail .item_info .top_detail .right {
    width: 100% !important;
  }

  .wrap_temt1 .wrap_content_temt1 {
    margin-top: 0;
    align-items: end;
  }

  #contents.item-detail .item_info .top_detail .left .main-image {
    height: 300px;
    width: auto;
    padding: 20px;
    background: #f3f3f3;
    margin-bottom: 15px;
  }

  .preview-image .float-left {
    display: flex;
  }

  #contents.item-detail .item_info .top_detail .left .preview-image ul li:last-child {
    margin-right: 0;
  }

  #contents.item-detail .item_info .top_detail .left .preview-image ul li {
    width: calc((100% - 30px) / 4);
    height: auto;
  }

  .float-left li a {
    display: block;
    padding: 5px;
  }

  #contents.item-detail .item_info .top_detail .right .item-cost {
    float: left;
    border-radius: 20px;
  }

  .right .extra-section .title:first-letter {
    color: #fff;
  }

  .right .extra-section {
    margin: 35px 0 20px;
  }

  /*#contents.item-detail .item_info .top_detail .right .extra-section .size-slider {*/
  /*  height: 70px;*/
  /*}*/

  .wrap_temt1 .form_search {
    top: 65px;
    right: 10px;
    width: 170px;
    padding: 10px;
    text-align: left;
  }

  .wrap_temt1 .form_search_main .search {
    margin: 0;
  }

  .wrap_temt1 .search-box {
    background: transparent !important;
  }

  .changeStoreItem {
    margin: 0 10px;
  }

  /*------------*/
  .wrap_temt1 .template_t1 .header--box-content .text {
    flex-direction: column;
  }
  .wrap_temt1 .wrap_content_temt1 .content-search--input input{
    max-width: 130px;
    border-radius: 0;
  }
  .wrap_temt1 .search-box .wrap_content_temt1 .search button {
    margin-top: 0;
  }
  .wrap_temt1 .search-box .wrap select,
  .wrap_temt1 .search-box .category{
    font-size: 12px;
  }
  #header .wrap_tem1{
    display: block;
    /*margin-bottom: 0;*/
  }
  .wrap_temt1 .wrap_tem1 .box-select{
    margin-right: 15px;
  }
  .wrap_temt1 .search-box .sort{
    margin-left: 20px;
  }
  .wrap_tem1 .header-logo{
    margin-bottom: 0;
  }

}
.wrap_temt1 #imgMain img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.wrap_temt1 .wrap_content_temt1 .item_info .top_detail .left #imgMain {
  position: relative;
}

/*update search box 8/2/2022*/

.header--box-content * {
    box-sizing: border-box;
}

.header--box-content,
.header--box-content-search,
.content-search--input,
.header--box-content .text {
    display: flex;
    align-items: center;
}

.header--box-content {
    justify-content: space-between;
}

.content-search--input label,
.content-search--input input {
    margin-right: 10px;
}

.content-search--input input {
    border-radius: 5px;
    border: 1px solid #000;
    height: 32px;
    padding: 0 10px;
    max-width: 200px;
}

.header--box-content-search .search {
    margin: 0;
}

.header--box-content-search .search button {
    color: #fff;
    height: 32px;
    background: #d40000;
    border-radius: 5px;
    border: 1px solid #d40000;
    padding: 2px 15px;
}
@media screen and (max-width: 320px) {
  .wrap_temt1 .wrap_content_temt1 .content-search--input input{
    max-width: 85px;
  }
}
/*end update search box 8/2/2022*/

.back-to-home {
  text-decoration: underline !important;
  font-weight: 600;
  color: #0782c1 !important;
}

.not-found-text {
  padding: 10px;
  font-size: 18px;
  text-align: center;
  color: white;
  font-weight: 600;
}

@media screen and (max-width: 991px) {
  .not-found-text {
    font-size: 16px;
  }
}