/**---------------------------------------------------------------------------/

  * ! account policy body 태그 들어가면 안됨
  
  *  #PolicyWrap : 약관 style
  *  #PolicyHistory : 이전 약관 리스트 페이지 style
  *  #PolicyHistoryLink : 이전 약관 리스트 넘어가는 버튼 style
  *  #PolicySelectBox : 이전 약관 셀렉 style

/**--------------------------------------------------------------------------*/

/* reset style */
*::-webkit-scrollbar-track,
.modal_container::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-top: 5px;
  margin-bottom: 0px;
}
*::-webkit-scrollbar,
.modal_container::-webkit-scrollbar {
  width: 5px;
  background-color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
}
*::-webkit-scrollbar-thumb,
.modal_container::-webkit-scrollbar-thumb {
  background-color: #717171;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}
*:focus {
  outline: none;
}
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  margin: 0;
  padding: 0;
  font-style: normal;
  vertical-align: baseline;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
}
::selection {
  background-color: #d9f7e8;
}
select::-ms-expand {
  display: none;
}
body {
  padding: 20px;
  background-color: #ffffff;
}
/* policy style */
#PolicyWrap {
  width: 100%;
  height: 100%;
  font-size: 13px;
  line-height: 1.56;
  color: #353535;
  font-family: "NanumSquare", "sans-serif";
  background-color: #ffffff;
  word-break: keep-all;
}
#PolicyWrap h1 {
  margin-bottom: 15px;
  font-size: 18px;
  font-family: "NanumSquareExtraBold", "sans-serif";
  color: #1e1e1e;
}
#PolicyWrap > div {
  padding: 14px 0 14px 0;
}
#PolicyWrap h4 {
  font-size: 14px;
  color: #1e1e1e;
  font-family: "NanumSquareExtraBold", "sans-serif";
}
#PolicyWrap hr {
  height: 1px;
  background-color: #d7d7d7;
  border: none;
}
#PolicyWrap a {
  color: #00cc66;
  font-family: "NanumSquareBold", "sans-serif";
  text-decoration: none;
  border-bottom: 1px solid #00cc66;
  padding-bottom: 2px;
  white-space: pre-wrap;
  word-break: break-all;
}
#PolicyWrap div > p {
  margin-top: 6px;
}
#PolicyWrap ul {
  padding: 10px 10px 0 10px;
  list-style: none;
}
#PolicyWrap ul li ul {
  padding: 10px 25px;
}
#PolicyWrap ul li div,
#PolicyWrap ul li ul li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
#PolicyWrap ul li div p:first-of-type {
  width: fit-content;
  min-width: 18px;
  flex-shrink: 0;
  font-size: 13px;
}
#PolicyWrap ul li div p:last-of-type {
  flex-grow: 1;
}
#PolicyWrap table {
  width: 100%;
  table-layout: fixed;
  text-align: left;
  border-spacing: 1px;
  margin-top: 10px;
  background-color: #dcdcdc;
}
#PolicyWrap tbody th {
  width: fit-content;
}
#PolicyWrap table td,
#PolicyWrap table th {
  padding: 8px;
  white-space: revert;
  word-break: break-all;
}
#PolicyWrap table th {
  font-family: "NanumSquareBold", "sans-serif";
  background-color: #f2f2f2;
}
#PolicyWrap table td {
  background-color: #ffffff;
}
#PolicySelectBox {
  cursor: pointer;
  position: relative;
  width: 100%;
  margin-top: 20px;
  text-decoration: none;
  cursor: pointer;
  padding: 0 !important;
  border: 1px solid #acacac;
  color: #1e1e1e;
}
#PolicySelectBox select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 10px 43px 10px 14px;
  background-color: inherit;
  color: #1e1e1e;
  white-space: pre-wrap;
  width: 100%;
  min-width: 149px;
  word-break: break-all;
  font-size: 13px;
}
#PolicySelectBox select::-ms-expand {
  display: none;
}
#PolicySelectBox select option {
  background-color: inherit;
  color: #1e1e1e;
  word-break: break-all;
}
#PolicySelectBox::before {
  display: block;
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  background-size: 100%;
  background-position: center;
  background-image: url("https://platform.yanadoocdn.com/resource/images/common/policy/arrow_icon.png");
}
#PolicyWrap #PolicyHistoryLink {
  position: relative;
  display: inline-block;
  padding: 10px 35px 10px 15px;
  border: 0;
  font-family: "NanumSquareBold", "sans-serif";
  background-color: #00cc66;
  color: #ffffff;
  font-size: 13px;
}
#PolicyWrap #PolicyHistoryLink::before {
  display: block;
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  background-size: 100%;
  background-position: center;
  background-image: url("https://platform.yanadoocdn.com/resource/images/common/policy/PolicyHistoryLink_icon.png");
}
/* PolicyHistory style */
#PolicyHistory h1 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: "NanumSquareExtraBold", "sans-serif";
  color: #1e1e1e;
  white-space: pre-wrap;
  word-break: keep-all;
  line-height: 1.4;
}
#PolicyHistory ul {
  padding: 10px 0;
  margin: 10px 0;
  list-style: none;
}
#PolicyHistory ul li {
  position: relative;
  font-size: 14px;
  padding: 15px 10px;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  color: #1e1e1e;
}
#PolicyHistory a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  padding-bottom: 0;
  font-family: "NanumSquareBold", "sans-serif";
  text-decoration: none;
  padding-bottom: 2px;
  white-space: pre-wrap;
  word-break: break-all;
}
#PolicyHistory hr {
  height: 1px;
  background-color: #d7d7d7;
  border: none;
}
#PolicyHistory ul li::before {
  display: block;
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  background-size: 100%;
  background-position: center;
  background-image: url("https://platform.yanadoocdn.com/resource/images/common/policy/PolicyHistory_icon.png");
}
