#main .tab {
  background: url(../../images/common/tab/hotel/background.jpg) no-repeat top
    center;
}

#main .tab__search {
  border-radius: 10px;
}

#main .tab__search .section .article {
  height: 60px;
}

#main .tab__search .section .article > dl {
  width: 300px;
}

#main .tab__search .section .article > dl > dd > input {
  width: 300px;
}

#main .tab__search .action {
  align-items: flex-end;
}

#main .tab__search .layer__room {
  width: 400px;
  right: 120px;
}

#main .tab__search .layer__room .room {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

#main .tab__search .layer__room .room .list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#main .tab__search .layer__room .room .list > li {
  width: calc(100% / 2 - 1rem / 2);
  height: 40px;
  font-size: 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main .tab__search .layer__room .room .list > li.is-active {
  color: var(--text-color-5);
  background: var(--color-2);
}

#main .tab__search .layer__room .personnel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main .tab__search .layer__room > .action {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

#main .tab__search .layer__room > .action .btn-room {
  height: 4rem;
}

#main > .container {
  display: flex;
}

#main > .container .snb {
  width: 240px;
  display: flex;
  flex-direction: column;
}

#main > .container .snb input,
#main > .container .snb select {
  width: 100%;
}

#main > .container .snb label.checkbox {
  min-width: 1.4rem;
  min-height: 1.4rem;
  line-height: 1.4rem;
}

#main > .container .snb label.checkbox > .mark {
  width: 1.4rem;
  height: 1.4rem;
  border-width: 1px;
}

#main > .container .snb label.checkbox > .mark:after {
  font-size: 1.2rem;
  line-height: initial;
}

#main > .container .snb label.checkbox > input[type="checkbox"] ~ .text {
  font-size: 1.4rem;
  margin-left: 2.4rem;
}

#main > .container .snb__title {
  font-size: 1.6rem;
  padding: 2rem 0px 1rem;
}

#main > .container .snb dl {
  padding: 2rem 0px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#main > .container .snb dl:last-child {
  border-bottom: 0px;
}

#main > .container .snb dl > dt {
  font-size: 1.6rem;
  color: var(--color-default);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#main > .container .snb .snb__hotel label {
  height: 40px;
  position: relative;
  display: block;
}

#main > .container .snb .snb__hotel label > input {
  padding-right: 4rem;
}

#main > .container .snb .snb__hotel label > .btn-search {
  width: 24px;
  height: 24px;
  font-size: 16px;
  color: #999999;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  right: 10px;
}

#main > .container .snb .snb__price label > .text {
  display: flex;
  align-items: center;
}

#main > .container .snb .snb__price label > .text::before {
  content: " ";
  width: 10px;
  height: 10px;
  background: url(../../images/common/icon/won-sign.svg) no-repeat;
  background-size: contain;
  margin-right: 5px;
  display: block;
  transform: scaleY(1.2);
}

#main > .container .snb .snb__rating {
  flex-direction: row;
  flex-wrap: wrap;
}

#main > .container .snb .snb__rating > dt {
  width: 100%;
}

#main > .container .snb .snb__rating > dd {
  min-width: calc(50% - 1rem / 2);
  color: #f3d063;
}

#main > .container .list {
  width: 890px;
  max-width: 890px;
  padding: 2rem 5rem;
  padding-right: 0px;
  position: relative;
}

#main > .container .list .filter {
  height: 35px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main > .container .list .filter__result {
  font-size: 1.6rem;
}

#main > .container .list .filter__sort {
  display: flex;
}

#main > .container .list .filter__sort > div {
  width: 75px;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  position: relative;
}

#main > .container .list .filter__sort > div .btn-sort {
  display: flex;
  align-items: center;
  cursor: pointer;
}

#main > .container .list .filter__sort > div .btn-sort::after {
  content: "\f0dd";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  color: var(--text-color-4);
  padding-left: 10px;
  padding-bottom: 5px;
}

#main > .container .list .filter__sort > div .btn-sort.is-asc::after {
  content: "\f0d8";
  padding-top: 5px;
  padding-bottom: 0px;
}

#main > .container .list .filter__sort > div .btn-sort.is-active::after {
  color: var(--text-color-1);
}

#main > .container .list .filter ~ div > img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#main > .container .list .summary .item {
  border-bottom: 1px solid var(--color-border);
}

#main > .container .list .summary .item__def {
  display: flex;
  padding: 1rem 0px;
}

#main > .container .list .summary .item__def .thumb {
  width: 200px;
  min-width: 200px;
  height: 140px;
  background: black;
}

#main > .container .list .summary .item__def .thumb > img {
  width: 100%;
}

#main > .container .list .summary .item__def .exp {
  flex: 1;
  padding: 0px 2rem;
}

#main > .container .list .summary .item__def .exp__row {
  font-size: 1.4rem;
  display: flex;
}

#main > .container .list .summary .item__def .exp__row:nth-child(1) {
  align-items: flex-end;
  justify-content: space-between;
}

#main > .container .list .summary .item__def .exp__row:nth-child(2) {
  height: 90px;
  color: var(--color-default);
  justify-content: space-between;
}

#main
  > .container
  .list
  .summary
  .item__def
  .exp__row:nth-child(2)
  > div:first-child {
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

#main
  > .container
  .list
  .summary
  .item__def
  .exp__row:nth-child(2)
  > div:last-child {
  height: 90px;
  display: flex;
  align-items: center;
}

#main > .container .list .summary .item__def .exp__row:nth-child(3) {
  align-items: flex-end;
  justify-content: space-between;
}

#main > .container .list .summary .item__def .exp__row .title {
  font-size: 1.8rem;
  font-weight: bold;
}

#main > .container .list .summary .item__def .exp__row .rating {
  display: flex;
  gap: 1.5rem;
}

#main
  > .container
  .list
  .summary
  .item__def
  .exp__row
  .rating
  > span:nth-child(2) {
  color: #f3d063;
}

#main > .container .list .summary .item__def .exp__row .address {
  color: var(--text-color-2);
}

#main > .container .list .summary .item__def .exp__row .price {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

#main > .container .list .summary .item__def .exp__row .price.is-active {
  color: var(--color-2);
}

#main
  > .container
  .list
  .summary
  .item__def
  .exp__row
  .price
  > div:nth-child(2) {
  font-size: 2.4rem;
  font-weight: 800;
}

#main > .container .list .summary .item__def .exp__row .price .btn-price {
  width: 42px;
  height: 30px;
  font-size: 1.4rem;
  font-weight: 400;
  color: black;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main > .container .list .summary .item__def .exp__row .link > a {
  font-size: 1.2rem;
  color: var(--color-default);
  text-decoration: underline;
}

#main > .container .list .summary .item__def .exp__row .info {
  font-weight: 500;
  display: flex;
  gap: 2rem;
}

#main > .container .list .summary .item__def .exp__row .info > div {
  cursor: pointer;
}

#main > .container .list .summary .item__def .exp__row .info > div::before {
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  padding-right: 8px;
}

#main > .container .list .summary .item__def .exp__row .info__hotel::before {
  content: "\f05a";
}

#main > .container .list .summary .item__def .exp__row .info__img::before {
  content: "\f03e";
}

#main > .container .list .summary .item__def .exp__row .info__map::before {
  content: "\f3c5";
}

#main > .container .list .summary .item__def .exp__row .info > div.is-active {
  color: var(--color-2);
}

#main > .container .list .summary [class^="item__"]:not(.item__def) {
  padding: 1rem 0px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#main > .container .list .summary [class^="item__"]:not(.item__def) {
  display: none;
}

#main > .container .list .summary [class^="item__"]:not(.item__def) > .title {
  font-size: 1.6rem;
  color: var(--color-default);
  display: flex;
  align-items: center;
}

#main
  > .container
  .list
  .summary
  [class^="item__"]:not(.item__def)
  > .title::after {
  content: "";
  flex: 1;
  border-top: 1px dashed var(--color-border);
  margin-left: 1.5rem;
}

#main
  > .container
  .list
  .summary
  [class^="item__"]:not(.item__def)
  > .title::before {
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  padding-right: 8px;
}

#main > .container .list .summary [class^="item__"]:not(.item__def) > .action {
  font-size: 1.2rem;
  padding: 0px 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

#main
  > .container
  .list
  .summary
  [class^="item__"]:not(.item__def)
  > .action
  .btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main
  > .container
  .list
  .summary
  [class^="item__"]:not(.item__def)
  > .action
  .btn-close::before {
  content: "\f00d";
  font-family: "Font Awesome 6 Free";
  font-size: 3rem;
  font-weight: bold;
}

#main > .container .list .summary .item__hotel > .title::before {
  content: "\f05a";
}

#main > .container .list .summary .item__hotel > dl {
  font-size: 1.4rem;
}

#main > .container .list .summary .item__hotel > dl > dt {
  font-weight: 500;
  padding-bottom: 1rem;
}

#main > .container .list .summary .item__hotel > dl > dd {
  color: var(--text-color-2);
}

#main > .container .list .summary .item__img > .title::before {
  content: "\f03e";
}

#main > .container .list .summary .item__map > .title::before {
  content: "\f3c5";
}

#main > .container .list .summary .item__price > .title::before {
  content: "\\";
}

#main > .container .list .summary .item__img > .img-box {
  width: 100%;
  padding-bottom: 1rem;
  display: flex;
  position: relative;
  gap: 1rem;
}

.main_gallery {
  position: relative;
  top: 0;
  left: 0;
  width: 446px;
  height: 374px;
  margin-right: 40px;
  float: left;
  background-color: #363;
}

.main_gallery img {
  width: 100%;
  height: 100%;
}

.thumbs_gallery {
  width: 404px;
  height: 374px;
  float: left;
  margin: 0;
  padding: 0;
  overflow: auto;
}

.thumbs_box_img {
  display: block;
  position: relative;
  top: -7px;
  left: -7px;
  width: 120px;
  height: 120px;
  margin: 3px 0px 0px 3px;
  float: left;
  background-color: #bfbfbf;
  cursor: pointer;
}

#main > .container .list .summary .item__img > .img-box > div {
  flex: 1;
}

#main > .container .list .summary .item__img > .img-box img {
  width: 100%;
  height: 100%;
}

#main > .container .list .summary .item__img > .img-box > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#main > .container .list .summary .item__img > .img-box > div:last-child > div {
  flex: 1;
  display: flex;
  gap: 1rem;
}

#main
  > .container
  .list
  .summary
  .item__img
  > .img-box
  > div:last-child
  > div
  > div {
  width: calc(100% / 3 - 2rem / 3);
  cursor: pointer;
}

#main > .container .list .summary .item__map > .map {
  width: 100%;
  height: 420px;
}

#main > .container .list .summary .item__price .tb-price {
  overflow: hidden;
}

#main > .container .list .summary .item__price .tb-price > table {
  table-layout: fixed;
  border-top: 1px solid var(--color-border);
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  > table
  > thead
  > tr
  > th {
  min-width: 130px;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  > table
  > thead
  > tr
  > th:nth-child(2) {
  width: 305px;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  > table
  > thead
  > tr
  > th:nth-child(6) {
  width: 150px;
}

#main > .container .list .summary .item__price .tb-price tbody td {
  text-align: center;
}

#main > .container .list .summary .item__price .tb-price tbody td:nth-child(2) {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  tbody
  td:nth-child(4)
  > span {
  cursor: pointer;
}

#main > .container .list .summary .item__price .tb-price tbody td .button {
  width: 60px;
  font-size: 1.2rem;
  margin: 0px auto;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--conditions
  > span
  + div {
  width: 335px;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--conditions
  > span
  + div
  > dl {
  font-size: 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--conditions
  > span
  + div
  > dl
  > dd {
  font-weight: initial;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--type:hover
  > span
  + div {
  width: 700px;
  transform: translate(-140px, 13px);
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--type:hover
  > span
  + div::before {
  left: 137px;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--type:hover
  > span
  + div::after {
  left: 137px;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--type
  > span
  + div
  > dl {
  font-size: 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--type
  > span
  + div
  > dl
  > dd {
  font-weight: initial;
  padding-left: 1rem;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .tooltip--type
  > span
  + div
  > dl
  > dd::before {
  content: "\00B7";
  font-weight: bold;
  position: absolute;
  left: 0px;
}

#main > .container .list .summary .item__price .tb-price .btn-rule .table {
  overflow: initial;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .btn-rule
  .table
  table {
  border-top: 1px solid var(--color-border);
}

#main > .container .list .summary .item__price .tb-price .btn-rule .table tr {
  height: 30px;
}

#main > .container .list .summary .item__price .tb-price .btn-rule .table th {
  text-align: center;
  padding: 0px;
}

#main > .container .list .summary .item__price .tb-price .btn-rule .table td {
  padding: 0.5rem;
}

#main > .container .list .summary .item__price .tb-price .btn-rule > span {
  cursor: pointer;
  color: blue;
  font-weight: bold;
}

#main > .container .list .summary .item__price .tb-price .btn-rule__layer {
  width: 340px;
  height: 280px;
  text-align: left;
  background: white;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  right: 0px;
  transform: translateY(10px);
  overflow: auto;
}

#main
  > .container
  .list
  .summary
  .item__price
  .tb-price
  .btn-rule__layer
  .title {
  font-size: 1.2rem;
  font-weight: bold;
}
