/*@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&display=swap");*/
@font-face {font-family: "Hiragino Sans GB W3";
  src: url("../fonts/3b2646a48566403a55f62ceddbecbe18.eot"); /* IE9*/
  src: url("../fonts/3b2646a48566403a55f62ceddbecbe18.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/3b2646a48566403a55f62ceddbecbe18.woff2") format("woff2"), /* chrome、firefox */
  url("../fonts/3b2646a48566403a55f62ceddbecbe18.woff") format("woff"), /* chrome、firefox */
  url("../fonts/3b2646a48566403a55f62ceddbecbe18.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("../fonts/3b2646a48566403a55f62ceddbecbe18.svg#Hiragino Sans GB W3") format("svg"); /* iOS 4.1- */
}

@font-face {font-family: "Hiragino Sans GB W6";
  src: url("../fonts/3f086dbc376893f56b4a9c4d3cac5df9.eot"); /* IE9*/
  src: url("../fonts/3f086dbc376893f56b4a9c4d3cac5df9.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/3f086dbc376893f56b4a9c4d3cac5df9.woff2") format("woff2"), /* chrome、firefox */
  url("../fonts/3f086dbc376893f56b4a9c4d3cac5df9.woff") format("woff"), /* chrome、firefox */
  url("../fonts/3f086dbc376893f56b4a9c4d3cac5df9.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("../fonts/3f086dbc376893f56b4a9c4d3cac5df9.svg#Hiragino Sans GB W6") format("svg"); /* iOS 4.1- */
}

body {
  font-family: "Hiragino Sans GB W6";
  color: #464646;
}

.header {
  height: 80px;
}

.header_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header_left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 360px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 68px;
}

.header_logo h1 {
  margin: 0;
}

.header_logo img {
  display: block;
}

.logo_title h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  line-height: 20px;
  letter-spacing: 0.28px;
}

.header_right {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.header_action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}

.header_btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header_btn button {
  position: relative;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.7px;
  font-weight: 700;
  color: #ffffff;
  border: none;
  height: 80px;
  width: 250px;
}

.header_total {
  width: 210px;
  background-color: #ffffff;
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  font-size: 14px;
  margin-right: 18px;
}

.total_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 6px;
}

.total_item span {
  text-align: right;
  font-weight: 700;
}

.total_item span:last-child {
  /* font-size: 20px; */
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.7px;
  color: #CE5146;
  width: calc(100% - 80px);
}

/* .total_item.total_item_size span {
  font-size: 16px;
} */

.total_item span:first-child {
  font-size: 15px;
  line-height: 24px;
  color: #464646;
  width: 80px;
}

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .header_logo img {
    width: 100px;
  }

  .header_btn button {
    width: 200px;
    font-size: 18px;
  }

  .header_left {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }

  .logo_title {
    margin-left: 10px;
  }

  .logo_title h2 {
    font-size: 12px;
  }

  .main_sidebar .stone-item {
  }
}

.menu {
  height: 80px;
  background-color: #F0F0F0;
  color: #464646;
  display: flex;
  align-items: center;
}

.menu_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.menu_wrap h3 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.7px;
  color: #464646;
  margin-bottom: 0;
}

.menu_wrap .select_title {
  width: 345px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 68px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.menu_wrap .dropdown {
  margin-left: 16px;
}

.menu_wrap .dropdown .btn {
  background-color: #ffffff;
  border: none;
  border-radius: 5px;
  width: 200px;
  height: 50px;
  color: #000000;
  text-align: left;
  padding: 6px 18px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.56px;
  box-shadow: 1px 2px 4px #00000029;
}

.menu_wrap .select_material {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: 36px;
  position: relative;
}

.menu_wrap .select_material ul {
  list-style: none;
  margin: 0 0 0 14px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.menu_wrap .select_material button {
  background: transparent;
  border: 0;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 3px auto;
  outline: none;
}

.menu_wrap .select_material button .btn_icon {
  margin: 0;
}

.menu_wrap .select_material button span {
  font-size: 12px;
  letter-spacing: 0.42px;
  font-weight: 400;
  color: #464646;
  margin-top: 1px;
}

.menu_wrap .select_material button.btn_edit {
  position: absolute;
  top: 18px;
  right: 0;
  padding: 0;
  flex-direction: row;
}

.menu_wrap .select_material button.btn_edit span {
  line-height: 1;
  color: #A68E47;
  font-size: 16px;
  margin-left: 2px;
  text-decoration: underline;
}

.dropdown-toggle::after {
  color: #ACACAC;
  position: absolute;
  right: 14px;
  font-size: 27px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  border-top: 13px solid;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
}
/*.dropdown-toggle.disable {*/
/*  border-color: #ccc!important;*/
/*  background-color:#ccc!important;*/
/*}*/
/*.dropdown-toggle.disable:after {*/
/*  content: none !important;*/
/*}*/
.dropdown-menu {
  width: 100%;
  padding: 0;
}

.dropdown-menu li {
  padding: 8px 10px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background-color: #f5f5f5;
}

.main_wrap {
  height: calc(100vh - 136px);
  height: calc(var(--vh, 1vh) * 100 - 136px);
  padding: 40px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.main_sidebar {
  width: 294px;
  height: 100%;
  position: relative;
}

.main_sidebar.loading_sidebar::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../img/icon-loading-v2.gif) rgba(250, 253, 255, 0.8) center
    center no-repeat;
  background-size: 100px;
  top: 0;
  left: 0;
  z-index: 1;
}

.disable_move .main_sidebar::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 253, 255, 0.64);
  top: 0;
  left: 0;
  z-index: 1;
}

.disable_rotate .wrap-draw-tool {
  background: none;
}

.main_sidebar h3 {
  color: #505050;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.7px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.main_sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.main_sidebar .stone-item {
  height: 166px;
  padding: 22px 13px 19px;
  border: 2px solid #cdcdcd;
  background-color: #ffffff;
  overflow: hidden;
}

.main_sidebar li {
  width: calc((100% - 18px)/2);
  height: 166px;
  margin-right: 18px;
  margin-bottom: 18px;
}

.main_sidebar li:nth-child(2n) {
  margin-right: 0;
}
/* .main_sidebar .image-charm img { */
/* margin-top: calc(-100% / 4); */
/* } */

.main_sidebar .material_img {
  width: 51px;
  height: 51px;
  margin: auto;
  position: relative;
}

.main_sidebar .material_img img {
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: pointer;
  width: 100%;
}

.main_sidebar .material_content {
  text-align: center;
  margin-top: 34px;
}

.main_sidebar .material_content h4 {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main_sidebar .material_content span {
  font-size: 16px;
  line-height: 1;
}

.main_sidebar .material_tray {
  height: calc(100% - 26px);
  margin: 30px 0 0;
}

/* main content */
.main_content {
  width: calc(100% - 327px);
  background-color: #f4f4f4;
}

.content_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

.fortune_wrap {
  width: 150px;
  margin-top: 1px;
}

.fortune_wrap ul {
  margin: 0;
  padding: 0;
}

.fortune_wrap li {
  width: 100%;
  height: 80px;
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 18px;
  background-color: forestgreen;
}

.draw_tool {
  width: calc(100% - 150px);
}

.wrap-draw-tool {
  /* width: calc(100% - 116px); */
  background-image: url(/img/circle.png);
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-size: 8%;
}

.wrap-draw-tool.draw_tool_earing {
  background: none;
}

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .main_content {
    width: calc(100% - 280px);
  }

  .main_sidebar {
    width: 260px;
  }

  /* .main_sidebar .stone-item {
    width: 113px;
  } */
  .fortune_wrap {
    width: 100px;
  }

  .draw_tool {
    width: calc(100% - 100px);
  }
}

/* Custom scroll bar */
.scroll_bar_style {
  overflow: auto;
  overflow-x: hidden;
}

@media (min-width: 1230px) {
  /* If chrome */
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
    .scroll_bar_style::-webkit-scrollbar-track {
      /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
      background-color: #FAFAFA;
    }
    .scroll_bar_style::-webkit-scrollbar {
      width: 20px;
      background-color: #E2E2E2;
    }
    .scroll_bar_style::-webkit-scrollbar-thumb {
      background-color: #E2E2E2;
    }

    /* If fifox */
    @-moz-document url-prefix() {
      .scroll_bar_style {
        overflow-y: auto;
        scrollbar-color: #c1c1c1 #E2E2E2;
        scrollbar-width: thin;
      }
    }
  }
}

.modal_fullW.modal-dialog {
  max-width: 1200px;
}

.modal_fullW .modal-content {
  max-height: none;
  /*height: calc(100vh - 66px);*/
  /*height: calc(var(--vh, 1vh) * 100 - 55px);*/
  height: 910px;
  border-radius: unset;
  box-shadow: 0px 3px 6px #00000029;
}

.modal_custom .modal-content {
  position: relative;
}

.modal_custom .modal_close {
  position: absolute;
  background: transparent;
  padding: 0;
  margin: 0;
  right: -20px;
  top: -20px;
  border: 0;
  border-radius: 50%;
  z-index: 1060;
}

.modal_custom .modal-body {
  padding: 0;
}

.modal_tabs {
  margin: 0;
  padding: 15px 0;
  font-size: 0;
  list-style: none;
  text-align: center;
  background: #F0F0F0;
}

.modal_tabs li {
  display: inline-block;
  margin-right: 10px;
}

.modal_tabs li:last-child {
  margin-right: 0;
}

.modal_tabs button {
  border: 0;
  font-size: 16px;
  line-height: 24px;
  width: 140px;
  height: 50px;
  color: #2b2b2b;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  box-shadow: 1px 2px 4px #00000029;
  border-radius: 5px;
}

.modal_tabs button.active {
  color: #464646;
  box-shadow: none;
}

.tab_content .tab_content_wrap {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab_content .tab_content_img {
  border: 1px solid #cdcdcd;
}

.tab_content .tab_content_name {
  font-size: 20px;
  line-height: 24px;
  margin: 0;
  font-weight: 700;
}

.tab_content .tab_content_price {
  font-size: 18px;
  line-height: 24px;
  color: #CE5146;
  font-weight: 600;
}

.tab_content img {
  width: 100%;
  height: auto;
}

.tab_content .sub_tab {
  margin: 30px auto 50px;
  width: 900px;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 0;
}

.tab_content .sub_tab.center_mode .swiper-wrapper {
  justify-content: center;
}

.tab_content .sub_tab_item {
  margin-left: 12px;
  display: inline-block;
  width: auto;
}

.tab_content .sub_tab_item:last-child button {
  margin-left: 0;
}

.tab_content .sub_tab button {
  font-size: 14px;
  min-width: 140px;
  height: 50px;
  padding: 0 14px;
  line-height: 1;
  background: #ffffff;
  border: 1px solid #46464687;
}

.tab_content .sub_tab button.active {
  background: #C6C6C6;
  color: #ffffff;
  border: none;
}

.tab_content .material_list_wrap {
  position: relative;
  height: 610px;
  width: 95%;
}

.material_list_wrap .loading {
  position: absolute;
}

.tab_content .material_list {
  margin: 0 auto;
  list-style: none;
  padding: 0px 85px 0 170px;
}

.tab_content .material_list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  border-bottom: 1px dashed #d3d3d3;
  padding: 0 155px 20px 0;
  margin-top: 20px;
}

.tab_content .material_list li:first-child {
  padding-top: 0;
  margin-top: 0;
}

.tab_content .material_list_img {
  width: 140px;
  height: 140px;
  border: 1px solid #c6c6c6;
  position: relative;
}

.tab_content .material_list_img img {
  height: 52px;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tab_content .material_list_content {
  margin-left: 20px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.tab_content .material_list_content h3 {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 7px;
}

.tab_content .material_list_content p {
  font-size: 16px;
  line-height: 30px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.tab_content .material_list_content span {
  font-size: 20px;
  line-height: 28px;
  color: #CE5146;
}

.tab_content .material_list_btn {
  position: absolute;
  width: 110px;
  height: 60px;
  background: #D87B73;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.7px;
  font-weight: 700;
  color: #ffffff;
  border: 0;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-80%);
}

.tab_content .material_list_btn.disable {
  font-size: 18px;
  background-color: #cccccc;
  /*box-shadow: 0px 3px 0px 0px rgba(132, 132, 132, 0.5);*/
}

/* tab ring */
.tab_rings .tab_content_wrap ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -14px 0 -12px;
  list-style: none;
  padding: 0;
}

.tab_rings .tab_content_wrap {
  height: calc(100vh - 270px);
  height: calc(var(--vh, 1vh) * 100 - 270px);
}

.tab_rings li {
  padding: 20px 0 24.5px;
  min-height: 204.5px;
  width: 731px;
  margin: auto;
  border-top: 1px dashed #C6C6C6;;
}

.tab_rings .tab_content_item {
  width: 100%;
  cursor: pointer;
}

.tab_rings .tab_content_img {
  width: 180px;
  height: 180px;
  position: relative;
  float: left;
}

.tab_rings .tab_content_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px;
}

.tab_rings .tab_content_img.active {
  border-color: #007bc3;
}

.tab_rings .tab_content_info {
  width: 73%;
  float: right;
}

.tab_rings .tab_content_info p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.tab_rings .tab_content_name {
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab_action {
  height: 75px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.tab_action .tab_action_btn {
  background: #D87B73;
  width: 300px;
  height: 80px;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.7px;
  font-weight: 700;
  color: #ffffff;
  border: 0;
  margin-left: 10px;
}

.tab_action .dropdown {
  margin-left: 22px;
  width: 200px;
}

.tab_action .dropdown .btn {
  height: 50px;
  width: 100%;
  color: #464646;
  text-align: left;
  padding: 6px 18px;
  font-size: 18px;
  line-height: 24px;
  background: #FFFFFF;
  box-shadow: 1px 2px 4px #00000029;
  border-radius: 5px;
}

.tab_action .tab_select {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 7px;
}

.tab_action .tab_select:last-child {
  margin: 0 30px;
}

.tab_action .tab_select span {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.56px;
  margin: 0;
  font-weight: 700;
  color: #464646;
}

.popup_title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  background: #F0F0F0;
  padding: 20px 15px;
}

.design_list_wrap {
  height: calc(100vh - 168px);
  height: calc(var(--vh, 1vh) * 100 - 168px);
  /*margin: 0 -10px;*/
  padding: 0 15px;
}

.design_list {
  margin: 0 -9px;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.design_list > li {
  width: 50%;
  padding: 0 9px;
  margin-bottom: 16px;
}

.design_list .design_item {
  padding: 13px 12px;
  border: 1px solid #b6b6b6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  /* min-height: 216px; */
}

.design_list .design_material_list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 15px;
}

.design_list .design_material_list li {
  display: inline-block;
  font-size: 16px;
}

.design_list .design_material {
  /* line-height: 1; */
  font-size: 15px;
}

.design_list .design_img {
  width: 134px;
  height: 134px;
  border: 1px solid #b6b6b6;
  text-align: center;
}

.design_list .design_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design_list .design_content {
  margin-left: 15px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-weight: 700;
  font-size: 16px;
}

.design_list .design_category_name {
  line-height: calc(20 / 16);
  margin-bottom: 9px;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.design_list .design_category_type {
  line-height: 1;
  margin: 0 0 5px -6px;
}

.design_list .design_action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -6px;
  padding: 20px 0 10px;
}

.design_list .design_action .design_action_btn {
  padding: 0 6px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.design_list .design_action .btn_gray button {
  -webkit-box-shadow: 0px 3px 0px 0px #000000;
  box-shadow: 0px 3px 0px 0px #000000;
  background-color: #474747;
}

.design_list .design_action button {
  width: 100%;
  height: 53px;
  /*border-radius: 53px;*/
  font-weight: 700;
  -webkit-box-shadow: 0px 3px 0px 0px #bf574e;
  box-shadow: 0px 3px 0px 0px #bf574e;
  background-color: #D87B73;
  font-size: 16px;
  border: 0;
  color: #ffffff;
}

.birth-stone {
  margin-top: 15px;
  padding: 0 0 0 69px !important;
  position: relative;
}

.birth-stone:first-child {
  margin-top: 0;
}

.birth-stone .wrap-month {
  position: absolute;
  font-weight: 700;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}

.birth-stone .birth_stone_list {
  width: 100%;
  min-height: 93px;
  margin: 0;
  padding: 0;
}

.birth-stone .birth_stone_list li {
  border: 0;
}

.modal_select_size .image-large {
  margin-bottom: 35px;
  text-align: center;
}

.modal_select_size .desc-detail {
  padding: 0 5px;
  text-align: left;
  line-height: 30px;
}

.modal_select_size .desc-detail .desc-detail_name {
  font-size: 20px;
}

.modal_select_size .desc-detail_new .desc-detail_detail {
  font-size: 16px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal_select_size .wrap-image {
  margin-bottom: 18px;
}

.modal_select_size .wrap-image-slide {
  position: relative;
}

.modal_select_size .swiper-slide {
  height: 290px;
  padding: 20px 10px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  background-color: #f7f7f7;
}

.modal_select_size .swiper-slide.selected-item {
  background-color: #dddddd;
}

.modal_select_size .swiper-slide .price {
  margin-top: 3px;
  color: #CE5146;
  font-weight: bold;
}


.modal_select_size .wrap-image-slide-new .swiper-slide .price {
  margin-top: 8px;
}

.modal_select_size .swiper-slide button {
  width: 110px;
  height: 60px;
  color: #ffffff;
  background-color: #D87B73;
  text-decoration: none;
  font-size: 15px;
  margin-top: 15px;
  border: 0;
}

.modal_select_size .swiper-slide button.selected-button {
  background-color: #cccccc;
}

.modal_select_size .swiper-button {
  height: 26px;
  background-size: contain;
}

.modal_select_size .swiper-button.swiper-button-next {
  right: -10px;
}

.modal_select_size .swiper-button.swiper-button-prev {
  left: -10px;
}

.modal_select_size .modal-body {
  min-height: 700px;
  width: 670px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 40px 90px;
}

.modal_select_size .center-mode .swiper-button {
  display: none;
}

.modal_select_size .center-mode .swiper-wrapper {
  justify-content: center;
}

.modal_select_size .center-mode .swiper-wrapper .swiper-slide:last-child {
  margin-right: 0 !important;
}

.modal {
  background: #2f2f2f52;
}

.modal-backdrop {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

.modal-dialog-centered::before {
  height: calc(100vh - 1rem);
  height: calc(var(--vh, 1vh) * 1rem);
}

@media (min-width: 576px) {
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
    height: calc(var(--vh, 1vh) * 3.5rem);
  }
}

.custom-alert {
  width: 1140px;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1060;
  text-align: center;
  transform: translate(-50%, -50%);
}

.form-error {
  display: block;
  text-align: left;
  font-size: 13px;
  margin-top: 5px;
  color: #ce0000;
}

.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 254, 254, 0.8);
  z-index: 1060;
}

.loading img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
}

.btn.disabled,
.btn:disabled {
  opacity: 0.25;
}

button:focus {
  /* outline: none; */
}

button.disabled {
  opacity: 0.25;
}

/* dialog */
.modal-dialog-centered.dialog_custom {
  text-align: center;
}

.modal-dialog-centered.dialog_custom .modal-footer {
  justify-content: center;
}

.modal-content *:focus {
  outline: none;
}

.modal_tutorial img {
  width: 100%;
}

.modal_tutorial {
  max-width: 868px !important;
}

.delete_material {
  display: none;
  position: absolute;
  background: rgba(90, 90, 90, 0.9);
  width: 100%;
  left: 0;
  bottom: 35px;
  text-align: center;
  padding: 15px 10px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.delete_material img {
  width: 20px;
  vertical-align: unset;
  margin-right: 12px;
}

.remove_material .delete_material {
  display: block;
}

.disableSave {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.img_move {
  position: fixed;
  width: 30px;
  height: 30px;
  z-index: 10;
  top: 50%;
  left: 50%;
}

.img_move img {
  height: 100%;
  width: auto;
}

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .modal_fullW.modal-dialog {
    max-width: 930px;
  }

  .tab_rings li {
    width: 20%;
    padding:0;
    border-top: none;
  }

  .design_list .design_action button {
    font-size: 11px;
    height: 39px;
    border-radius: 39px;
  }

  .custom-alert {
    width: 900px;
  }

  .tab_action .dropdown {
    width: 150px;
  }

  .tab_action .tab_select:last-child {
    margin: 0 20px;
  }

  .tab_action .dropdown {
    margin-left: 10px;
  }
}

.show_sp {
  display: none;
}

@media (min-width: 1230px) {
  .container {
    max-width: 1230px;
  }
}

@media screen and (max-width: 1230px) and (min-width: 1199px) {
  .modal_fullW.modal-dialog {
    max-width: 1170px;
  }
}

/* ========================================== style sp =======================================*/
@media screen and (max-width: 1023px) {

  .tab_content .container-fiuld .swiper-container {
    padding: 0;
  }

  .tab_content .container-fiuld .swiper-container:before {
    content: none;
  }

  .tab_content .container-fiuld .swiper-container:after {
    content: none;
  }

  .container {
    max-width: 100%;
  }

  .hidden_sp {
    display: none;
  }

  .show_sp {
    display: block;
  }

  /* Header */
  .header {
    height: 43px;
    position: fixed;
    top: 0;
    width: 100%;
  }

  .header_logo img {
    height: 45px;
    width: auto;
  }

  .header_wrap {
    align-items: center;
    margin-right: -15px;
  }

  .header_left {
    height: 43px;
    width: 60%;
  }

  .header_right {
    width: 40%;
  }

  .header_right button {
    border: 0;
    padding: 0 20px 0 0;
    display: flex;
    align-items: center;
    color: #fff;
    background: #6C6C6C;
  }

  .header_right button:last-child {
    padding: 0;
    height: 43px;
    width: 100%;
    justify-content: center;
  }

  .header_right button img {
    height: 25px;
    width: auto;
  }

  .header_right button span {
    font-size: 12px;
    display: block;
    margin-top: 3px;
    padding-left: 8px;
  }

  /* Menu */
  .menu {
    height: 39px;
    margin-top: 43px;
    background-color: transparent;
  }

  .select_material h3,
  .select_material ul{
    display: none !important;
  }

  .menu_wrap .select_title {
    width: 70%;
    height: 39px;
    justify-content: space-between;
  }

  .menu_wrap .select_material {
    width: 30%;
    margin-left: 0;
  }

  .menu_wrap .dropdown {
    margin: 0;
  }

  .menu_wrap .dropdown .btn {
    font-size: 12px;
    width: 145px;
    line-height: 1;
    height: 30px;
    border-radius: 6px;
    box-shadow: 1px 1px 3px #00000029;
  }

  .dropdown-menu li {
    font-size: 12px;
  }

  .menu_wrap .btn_edit img {
    display: none;
  }

  .menu_wrap .btn_edit {
    border: none;
    background: transparent;
    font-size: 12px;
    color: #6C6C6C;
  }

  .menu_wrap h3 {
    font-size: 12px;
    margin-right: 8px;
    line-height: 18px;
  }

  .dropdown-toggle::after {
    right: 8px;
    font-size: 20px;
    border-top: 8px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
  }

  .dropdown-menu li {
    font-size: 10px;
  }

  .menu_wrap .select_material button.btn_edit {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .menu_wrap .select_material button.btn_edit span{
    font-size: 12px;
    color: #464646;
  }

  .dropdown .dropdown-menu {
    min-width: 100%;
  }

  .header_total {
    height: 100%;
  }

  /* main content */
  main .container{
    background-color: #fafafa;
  }

  .main_wrap {
    height: calc(100vh - 259px);
    height: calc(var(--vh, 1vh) * 100 - 259px);
    flex-direction: column;
    overflow: hidden;
    padding: 0;
  }

  .main_wrap .wrap-draw-tool::after {
    content: "";
    position: absolute;
    background: url("/img/icon-loading-v2.gif") center #f4f4f4 no-repeat;
    background-size: 86px;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.1s;
    opacity: 0;
    visibility: hidden;
  }

  .main_wrap.is_loading .wrap-draw-tool::after {
    opacity: 1;
    visibility: visible;
  }

  .main_wrap .main_sidebar {
    display: none;
  }

  .main_content {
    width: 100%;
    height: 100%;
    background: #fafafa;
  }

  .content_wrap {
    flex-direction: column;
  }

  .fortune_wrap ul {
    display: flex;
  }

  .fortune_wrap li {
    flex: 1;
    margin: 0 1px;
    height: 40px;
    font-size: 10px;
  }

  .fortune_wrap li span:last-child {
    font-size: 13px;
  }

  .content_wrap .draw_tool {
    order: 1;
    width: 100%;
    height: 100%;
    /* margin-top: -20px; */
  }

  .content_wrap .fortune_wrap {
    z-index: 1;
    width: 100%;
    background: transparent;
  }

  .content_wrap .draw_tool .wrap-draw-tool {
    top: 50%;
    position: relative;
    transform: translateY(-50%);
  }

  .prd_infor_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  .prd_infor_wrap button {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.7px;
    font-weight: 700;
    color: #ffffff;
    border: 0;
    height: 45px;
    width: 45%;
  }

  .prd_infor_wrap .btn_stock {
    background: #D87B73;
  }

  .prd_infor_wrap .total_item_size {
    align-items: center;
  }

  .prd_infor_wrap .show_stock_new {
    width: 20%;
    margin-right: 8px;
  }

  .total_item {
    padding: 8px 0;
  }

  .prd_infor_wrap .header_total .total_item_price {
    padding-top: 5px;
  }

  .total_item span:first-child {
    font-size: 12px;
    line-height: 1;
    /*margin-bottom: 9px;*/
  }

  .total_item span:last-child {
    font-size: 14px;
    line-height: 1;
  }

  .main_sidebar {
    padding: 10px 15px 0;
    width: 100%;
    height: 70px;
    background-color: transparent;
  }

  .main_sidebar .material_tray {
    margin: 0;
    height: 100%;
  }

  .main_sidebar .stone-item {
    height: auto;
    border: 0;
    margin: 0;
    padding: 0;
  }

  .main_sidebar .material_img {
    height: 40px;
  }

  .main_sidebar .material_content {
    margin-top: 0;
  }

  .main_sidebar .material_content h4,
  .main_sidebar .material_content span {
    font-size: 10px;
    display: block;
  }

  .main_sidebar .material_tray .swiper-button-next {
    height: 30px;
    background-size: contain;
    margin: 0;
    right: 0;
    opacity: 1;
    outline: none;
    background: url("../img/next_new.png") no-repeat;
  }

  .main_sidebar .material_tray .swiper-button-prev {
    height: 30px;
    background-size: contain;
    margin: 0;
    left: 0;
    opacity: 1;
    outline: none;
    background: url("../img/prev_new.png") no-repeat;
  }

  .main_sidebar .material_tray .hidden_arrow .swiper-button-prev,
  .main_sidebar .material_tray .hidden_arrow .swiper-button-next {
    display: none;
  }

  .main_sidebar .material_tray .swiper-container {
    width: 100%;
  }

  .main_sidebar .material_tray .swiper-slide {
    border-right: 0;
  }

  .main_sidebar .material_tray .swiper-slide-prev,
  .main_sidebar .material_tray .swiper-slide-active,
  .main_sidebar .material_tray .swiper-slide-next {
    border-right: 1px dotted #dddddd;
  }

  /* footer */
  .footer_sp {
    /*background-color: #0d0c0b;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1;
    bottom: 0;
    padding: 0 15px;
  }

  .footer_sp > span {
    width: 15%;
    color: #464646;
    display: block;
    height: 50px;
    line-height: 50px;
    /*background-color: #373737;*/
    font-size: 12px;
    position: relative;
    font-weight: bold;
  }

  /*.footer_sp > span::after {*/
  /*  left: 100%;*/
  /*  top: 50%;*/
  /*  border: solid transparent;*/
  /*  content: " ";*/
  /*  height: 0;*/
  /*  width: 0;*/
  /*  position: absolute;*/
  /*  pointer-events: none;*/
  /*  border-color: rgba(136, 183, 213, 0);*/
  /*  border-left-color: #373737;*/
  /*  border-width: 25px;*/
  /*  margin-top: -25px;*/
  /*}*/

  .footer_sp ul {
    width: 85%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .footer_sp li {
    display: inline-block;
    margin-right: 6px;
    width: calc((100% - 18px)/2);
  }

  .footer_sp li:last-child {
    margin-right: 0;
  }

  .footer_sp li.tab_active button {
    color: #007bc3;
  }

  .footer_sp li button {
    width: 100%;
    padding: 8px 7px;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    font-size: 10px;
    box-shadow: 1px 2px 4px #00000029;
    border-radius: 5px;
  }

  .footer_sp li button span {
    color: #464646;
    padding-left: 3px;
    padding-top: 2px;
  }

  .footer_sp li button img {
    height: 14px;
    width: auto;
  }

  /* modal */
  .is_show.menu,
  .is_show .prd_infor_wrap,
  .is_show .main_sidebar,
  .is_show .fortune_wrap {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    margin-top: 45px;
  }

  .is_show .main_wrap {
    height: 168px;
    transition: all 0.3s ease-in-out;
  }

  .is_show .modal_sp {
    height: calc(100% - 260px);
    opacity: 1;
    transition: all 0.3s ease-in-out;
    z-index: 1;
  }

  .tab_content.modal_sp {
    padding-top: 30px;
  }

  .tab_content .sub_tab_item {
    width: 90px;
  }

  .show_sp.is_show {
    position: relative;
  }

  .close_tab img {
    width: 30px;
  }

  .close_tab {
    opacity: 0;
    position: absolute;
    padding: 0;
    right: 10px;
    top: -65px;
    z-index: 99;
    border: none;
    background: transparent;
  }

  .is_show .close_tab {
    opacity: 1;
    /* z-index: 1; */
    transition: all 0.3s ease-in;
  }

  .is_show .content_wrap .draw_tool {
    margin-top: 0;
  }

  .is_show .wrap-draw-tool {
    background: none;
  }

  .modal_sp {
    position: fixed;
    bottom: 50px;
    background: #fff;
    padding: 15px;
    height: 0;
    opacity: 0;
    left: 0;
    right: 0;
    z-index: -1;
  }

  .modal_sp .tab_action {
    border: 0;
    display: block;
    height: auto;
    text-align: center;
  }

  .modal_sp .select_wrap {
    display: flex;
    justify-content: center;
    margin: 0 30px;
    padding-top: 10px;
  }

  .tab_action .tab_select {
    display: block;
    text-align: left;
    margin-bottom: 13px;
    width: 40%;
  }

  .modal_sp .tab_action .tab_select_new {
    width: 50%;
    margin-right: 0;
  }

  .tab_action .tab_select_new:last-child {
    margin-left: 20px;
  }

  .tab_action .tab_select:first-child .dropdown {
    margin-right: 10px;
  }

  /*.tab_action .tab_select:last-child .dropdown {*/
  /*  margin-left: 10px;*/
  /*}*/

  .tab_action .tab_select .dropdown {
    width: 100% !important;
  }

  .modal_sp .tab_action .dropdown {
    margin: 10px 0 0;
    width: calc(50vw - 30px);
  }

  .modal_sp .tab_rings {
    height: calc(100% - 120px);
    margin-top: 0;
  }

  .tab_rings .tab_content_info p {
    font-size: 10px;
    line-height: 22px;
    margin-bottom: 3px;
  }

  .tab_rings .tab_content_wrap,
  .modal_sp .tab_rings_ct .tab_content_wrap {
    height: 100%;
  }


  .tab_rings .tab_content_wrap ul {
    margin: 0;
  }

  .tab_rings li {
    padding: 10px 0 0;
    width: 100%;
    margin-bottom: 10px;
    min-height: auto;
  }

  .tab_rings ul li:first-child {
    padding-top: 10px;
  }

  .tab_rings .tab_content_item {
    width: auto;
    padding: 0 5px;
  }

  .tab_rings .tab_content_img {
    width: 40%;
    max-width: 90px;
    height: 90px;
    margin: 0 auto;
  }

  .tab_rings .tab_content_info {
    margin-left: 10px;
    width: 70%;
    float: left;
  }

  .tab_content .tab_content_name {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .tab_content .tab_content_price {
    font-size: 12px;
    line-height: 1.2;
  }

  .modal_sp .tab_action .dropdown .btn {
    font-size: 11px;
    line-height: 1;
    height: 35px;
    border-radius: 6px;
    border-width: 1px;
    padding: 6px 20px 6px 10px;
  }

  .modal_sp .dropdown-menu {
    font-size: 10px;
  }

  .modal_sp .tab_action .tab_select span {
    font-size: 12px;
  }

  .modal_sp .tab_action .tab_action_btn {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.7px;
    font-weight: 700;
    color: #ffffff;
    background-color: #D87B73;
    border: 0;
    height: 45px;
    width: 160px;
  }

  .tab_content .sub_tab {
    width: 100%;
    margin: 0 auto 17px;
  }

  .tab_content .material_list_wrap {
    width: 100%;
    height: calc(100% - 36px);
    padding: 0 0 10px;
  }

  .tab_content .material_list {
    padding: 0;
  }

  .tab_content .material_list li {
    padding: 15px 0 55px 0;
    margin-top: 3px;
  }

  .tab_content .material_list li:first-child {
    padding-top:15px;
  }

  .tab_content .sub_tab button {
    border-width: 1px;
    font-size: 12px;
    min-width: 90px;
    height: 30px;
    padding: 3px 14px;
  }

  .tab_content .material_list_img img {
    height: 50%;
  }

  .tab_content .material_list_img {
    width: 90px;
    height: 90px;
  }

  .tab_content .material_list_content h3 {
    font-size: 12px;
    margin-bottom: 4px;
    /*margin-top: -2px;*/
  }

  .tab_content .material_list_content p {
    font-size: 10px;
    line-height: 18px;
  }

  .tab_content .material_list_content span {
    font-size: 14px;
    /*position: absolute;*/
    /*left: 0;*/
    line-height: 1.2;
    min-width: 42px;
    text-align: center;
    bottom: 2px;
  }

  /*.tab_content .material_list li:first-child .material_list_btn {*/
  /*  top: 0px;*/
  /*}*/

  .tab_content .material_list_btn {
    left: 0;
    top: 110px;
    height: 39px;
    transform: translate(0, 0);
    font-size: 14px;
    width: 90px;
  }

  .birth-stone {
    padding: 0 0 0 38px !important;
  }

  .birth-stone .wrap-month {
    left: 1px;
    font-size: 13px;
  }

  .modal_select_size .desc-detail_new {
    width: 100%;
    height: auto;
  }

  .modal_select_size .wrap-image {
    margin-bottom: 15px;
  }

  .modal_select_size .image-large {
    height: 60px;
  }

  .modal_select_size .image-large img {
    width: auto;
    height: 100%;
  }

  .modal_select_size_custom .image-large img {
    width: 76px;
    height: 76px;
  }

  .modal_select_size .desc-detail {
    font-size: 14px;
    line-height: 1.4;
    max-height: 77px;
    overflow: scroll;
  }

  .modal .modal_select_size .desc-detail_new {
    width: 100%;
  }

  .modal_select_size .modal-content .modal-body {
    width: auto;
    min-height: 386px;
    padding: 25px 28px;
  }

  .modal_select_size .wrap-image-slide {
    padding: 0;
  }

  .modal_select_size .swiper-slide {
    height: 150px;
    padding: 11px 12px;
  }

  .modal_select_size .swiper-slide button {
    font-size: 13px;
    width: 100%;
    height: auto;
  }

  .modal_select_size .wrap-image-slide-new .swiper-slide .price {
    margin-top: 3px;
  }


  .modal_select_size .swiper-button {
    height: 22px;
  }

  .modal_select_size .swiper-button.swiper-button-next {
    right: -22px;
    opacity: 1 !important;
  }

  .modal_select_size .swiper-button.swiper-button-prev {
    left: -22px;
    opacity: 1 !important;
  }

  .modal_select_size .swiper-slide button.selected-button {
    padding: 10px;
    width: 100%;
  }

  .modal_custom .modal_close img {
    width: 40px;
  }

  .tab_content .material_list_btn.disable {
    font-size: 9px;
  }

  .modal_fullW_sp {
    margin: 0;
  }

  .modal_fullW_sp .modal_close {
    display: none;
  }

  .modal_fullW_sp .modal-content {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    border: 0;
    border-radius: 0;
    margin: 0;
    max-width: 100%;
  }

  .modal-content {
    margin: 0 auto;
    max-width: 90%;
  }

  .modal_select_size_custom .modal-content {
    height: auto !important;
    width: 100% !important;
  }

  .modal_select_size .desc-detail .desc-detail_name {
    font-size: 14px;
  }

  .modal_select_size .desc-detail_new .desc-detail_detail {
    font-size: 10px;
    line-height: 20px;
    -webkit-line-clamp: unset;
  }

  .delete_material {
    width: calc(100% - 2px);
    left: 50%;
    position: fixed;
    padding: 19px 10px;
    bottom: 1px;
    transform: translateX(-50%);
  }

  .modal_fullW_sp .modal-content .modal-body {
    padding: 0;
  }

  .design_list {
    margin: 0;
  }

  .design_list > li {
    width: 100%;
    position: relative;
    padding: 0;
  }

  .design_list .design_item {
    border: 0;
    padding: 0 0 51px;
    border-bottom: 1px dashed #b6b6b6;
  }

  .design_list .design_img {
    width: 80px;
    height: 80px;
  }

  .design_list .design_category_type {
    margin: 0 0 3px -6px;
  }

  .design_list .design_content {
    margin-left: 10px;
    font-size: 14px;
  }

  .design_list .design_category_name {
    margin-bottom: 0;
  }

  .design_list .design_material_list {
    font-size: 12px;
  }

  .design_list .design_action {
    position: absolute;
    padding: 20px 0 10px;
    width: 100%;
    left: 0;
    bottom: 0;
    margin: 0;
  }

  .design_list .design_action button {
    height: 36px;
    font-size: 13px;
    box-shadow: 0px 2px 0px 0px #bf574e;
  }

  .modal_fullW_sp .popup_title {
    margin: 0 0 10px;
    padding: 0 15px;
    height: 43px;
    line-height: 43px;
    /*background: url(../img/bg_header.jpg) repeat-x;*/
    color: #464646;
    font-size: 14px;
  }

  .modal_fullW_sp .popup_title img {
    display: inline-block;
    width: 28px;
    margin-right: 5px;
  }

  .design_list_wrap {
    height: calc(100vh - 60px);
    height: calc(var(--vh, 1vh) * 100 - 60px);
    margin: 0;
  }

  .modal_tutorial .modal-content {
    width: auto;
    margin: 0 auto;
  }

  .modal_tutorial {
    text-align: center;
  }

  .modal_tutorial img {
    width: 38vh;
    width: calc(var(--vh, 1vh) * 38);
  }

  .modal-dialog {
    margin: 0 auto !important;
  }

  .delete_material {
    padding: 12px;
  }

  .swiper-wrapper .swiper-slide:first-child {
    margin: 0;
  }

  button:active,
  button:focus {
    outline: none;
  }

  .tab_content .sub_tab button,
  .modal_sp .tab_action .dropdown .btn,
  .footer_sp li button span,
  .tab_rings_ct .tab_content_info p,
  .fortune_wrap li,
  .main_sidebar .material_content,
  .btn_zoom_out span,.btn_zoom_in span, .dropdown-menu li {
    font-family: "Hiragino Sans GB W3" !important;
  }

  /* .horizontal .header {
    height: 30px;
  } */
}

/* ========================================== style sp fix screen ipad =======================================*/
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .modal_tutorial img {
    width: 386px;
  }

  .modal_sp .tab_rings {
    height: calc(100% - 200px);
  }

  .modal_sp .tab_action .dropdown .btn {
    height: 50px;
    font-size: 15px;
  }

  .modal_sp .tab_action .tab_select span {
    font-size: 16px;
  }

  .modal_sp .dropdown-menu {
    font-size: 16px;
  }

  .modal_sp .tab_action .tab_action_btn {
    height: 50px;
    width: 183px;
    font-size: 18px;
  }

  .tab_content .sub_tab button {
    min-width: 83px;
    height: 38px;
  }

  /*.tab_content .material_list_img {*/
  /*  width: 63px;*/
  /*  height: 63px;*/
  /*}*/

  .tab_content .material_list_content span {
    min-width: 63px;
    font-size: 15px;
  }

  .tab_content .material_list li {
    padding: 7px 0 50px 0;
  }

  .tab_content .material_list li:first-child {
    padding-top: 7px;
  }

  .tab_content .material_list_content h3 {
    font-size: 18px;
  }

  .tab_content .material_list_content p {
    font-size: 15px;
    line-height: 1.3;
    min-height: 35px;
  }

  .is_show .content_wrap .draw_tool {
    margin-top: -45px;
  }

  .tab_content .material_list_btn {
    font-size: 15px;
    width: 90px;
  }

  .tab_content .material_list_btn.disable {
    font-size: 12px;
  }

  .close_tab {
    top: -80px;
    font-size: 16px;
    border-bottom: 0;
    padding: 8px 20px;
  }

  .close_tab img {
    width: 40px;
  }

  .modal_select_size .modal-content .modal-body {
    min-height: 463px;
  }

  .modal_select_size .swiper-slide {
    height: 236px;
  }

  /*.footer_sp > span {*/
  /*  width: 83px;*/
  /*  height: 68px;*/
  /*  font-size: 16px;*/
  /*  line-height: 62px;*/
  /*}*/

  .footer_sp > span::after {
    border-width: 33px;
    margin-top: -33px;
  }

  .prd_infor_wrap button {
    height: 42px;
    width: 172px;
    font-size: 16px;
  }

  .total_item span:first-child {
    font-size: 14px;
  }

  .total_item span:last-child {
    font-size: 15px;
  }

  .modal_sp {
    bottom: 68px;
  }

  .is_show .modal_sp {
    height: calc(100% - 431px);
  }

  .tab_content .tab_content_name {
    font-size: 16px;
  }

  .tab_content .tab_content_price {
    font-size: 16px;
  }

  .main_sidebar {
    height: 100px;
  }

  .main_sidebar .material_content h4,
  .main_sidebar .material_content span {
    font-size: 15px;
  }

  .main_sidebar .material_img {
    height: 60px;
  }

  .delete_material {
    padding: 21px;
  }

  .menu {
    margin: 45px 0 5px;
  }

  .header_total {
    height: 60px;
  }

  .total_item_price {
    padding-top: 12px;
  }

  .modal_sp .select_wrap {
    padding-top: 20px;
  }
}

/* ========================================== style sp fix screen max 375px =======================================*/
@media screen and (max-width: 375px) {
  .header_right button {
    padding: 0 12px 0 0;
  }
  /*.tab_rings .tab_content_info {*/
  /*  width: 55%;*/
  /*}*/

  /*.footer_sp li button {*/
  /*  padding: 8px 5px;*/
  /*}*/

  /*.footer_sp ul {*/
  /*  padding: 0 10px 0 25px;*/
  /*}*/

  .total_item span:last-child {
    font-size: 18px;
  }

  .modal_select_size .swiper-slide button {
    font-size: 10px;
    padding: 10px;
    margin-top: 8px;
  }

  .modal_select_size .wrap-image-slide-new .swiper-slide .price {

  }

  .modal_custom .modal-body {
    padding: 12px;
  }

  .prd_infor_wrap button {
    font-size: 12px;
  }

  .modal_select_size .swiper-slide .decs {
    font-size: 12px;
  }
  .modal-confirm-select-new-stone.modal-dialog-centered.dialog_custom .btn{
    font-size: 10px;
  }
}

/* fix disabled scroll ios */
html,
body {
  position: fixed;
}

html,
body {
  position: relative;
  overflow: hidden;
}

body {
  position: fixed;
  overflow: hidden;
}

body {
  position: fixed;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

/* ========================================== style sp fix screen max 479px orientation_horizontal=======================================*/
/* @media screen and (max-width: 480px) { */
/* Header */
.orientation_horizontal .header {
  height: 30px;
}

.orientation_horizontal .header_logo img {
  height: 19px;
}

.orientation_horizontal .header_left {
  height: 23px;
}

.orientation_horizontal .header_right button img {
  height: 10px;
}

.orientation_horizontal .header_action {
  margin-top: 3px;
}

.orientation_horizontal .header_right button span {
  font-size: 8px;
}

/* Menu */
.orientation_horizontal .menu {
  margin-top: 30px;
  height: 30px;
}

.orientation_horizontal .is_show.menu,
.orientation_horizontal .is_show .prd_infor_wrap,
.orientation_horizontal .is_show .main_sidebar,
.orientation_horizontal .is_show .fortune_wrap {
  height: 0;
}

.orientation_horizontal .menu_wrap .select_title {
  height: 30px;
}

.orientation_horizontal .menu_wrap .dropdown .btn {
  height: 27px;
}

/* Fortune */
.orientation_horizontal .fortune_wrap li {
  height: 30px;
  font-size: 9px;
}

.orientation_horizontal .wrap-draw-tool {
  background-size: 2%;
}

.orientation_horizontal .fortune_wrap li span:last-child {
  font-size: 11px;
}

/* Footer */
.orientation_horizontal .footer_sp > span {
  height: 40px;
  line-height: 40px;
}

.orientation_horizontal .footer_sp li button img {
  height: 22px;
}

.orientation_horizontal .footer_sp li button {
  font-size: 9px;
}

.orientation_horizontal .footer_sp > span::after {
  border-width: 20px;
  margin-top: -20px;
}

/* Design infor */
.orientation_horizontal .prd_infor_wrap {
  padding: 5px 10px 5px;
}

.orientation_horizontal .prd_infor_wrap button {
  font-size: 12px;
  height: 30px;
}

.orientation_horizontal .total_item span:first-child {
  font-size: 10px;
  margin-bottom: 6px;
}

.orientation_horizontal .total_item span:first-child {
  width: 100px;
}

.orientation_horizontal .total_item span:last-child {
  font-size: 11px;
}

/* Tabs */
.orientation_horizontal .modal_sp {
  bottom: 50px;
}

.orientation_horizontal .is_show .modal_sp {
  height: calc(100% - 146px);
}

.orientation_horizontal .close_tab img {
  width: 10px;
}

.orientation_horizontal .close_tab {
  top: -26px;
  font-size: 12px;
  padding: 4px 8px;
}

.orientation_horizontal .tab_action .tab_select {
  margin-bottom: 5px;
}

.orientation_horizontal .modal_sp .tab_action .tab_select span {
  font-size: 10px;
  line-height: 20px;
}

.orientation_horizontal .modal_sp .tab_action .dropdown .btn {
  height: 24px;
}

.orientation_horizontal .modal_sp .tab_rings {
  height: calc(100% - 60px);
}

.orientation_horizontal .tab_action .tab_select span {
  line-height: 1;
}

.orientation_horizontal .modal_sp .tab_action .tab_action_btn {
  height: 25px;
}

.orientation_horizontal .main_sidebar .material_content h4,
.orientation_horizontal .main_sidebar .material_content span {
  font-size: 10px;
}

.orientation_horizontal .main_sidebar .material_img {
  height: 36px;
}

.orientation_horizontal .delete_material {
  padding: 7px;
}

/* Modal size */
.orientation_horizontal ~ .modal .modal_select_size .modal-content .modal-body {
  min-height: 280px;
}

.orientation_horizontal ~ .modal .modal_select_size .image-large {
  height: 28px;
  margin-bottom: 9px;
}

.orientation_horizontal ~ .modal .modal_select_size .desc-detail {
  font-size: 10px;
  max-height: 45px;
}

.orientation_horizontal ~ .modal .modal_select_size .swiper-slide {
  height: 168px;
}

.orientation_horizontal ~ .modal .modal-dialog-centered {
  min-height: 100%;
}

.orientation_horizontal ~ .modal .modal_tutorial img {
  width: 38vh;
  width: calc(var(--vh, 1vh) * 38);
}

.orientation_horizontal ~ .modal .modal_custom .modal_close img {
  width: 40px;
}
.btn.btn-red {
  color: #fff;
  background-color: #ce0000;
}
.content_btn_zoom {
  display: none;
}
@media screen and (max-width: 767px) {
  .content_btn_zoom {
    order: 2;
    text-align: right;
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    width: fit-content;
    z-index: 10;
    flex: 0 0 auto;
    transform: translateY(-10px);
  }
  .content_wrap .draw_tool {
    margin-bottom: -70px;
  }
  .btn_zoom {
    border: 1px solid #a3a3a3;
    background: #f4f4f4;
    /*padding: 2px 15px 6px 15px !important;*/
    width: 45px;
    height: 45px;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #a3a3a3;
  }
  .btn_zoom.is_show {
    padding: 2px 10px 4px 10px !important;
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
  .btn_zoom_in {
    transform: translateY(-15px)
  }

  .btn_zoom_in span {
    transform: translateY(-1px);

  }
  .btn_zoom_out span {
    transform: translateY(-4px);
    /*font-family: "Hiragino Sans GB W3";*/
  }

  .btn_zoom.disabled_button{
    color: #000;
    background: #cccccc;
  }
  .content_wrap {
    align-items: flex-end;
  }
  .content_wrap .draw_tool {
    margin-top: -40px !important;
  }

  .content_wrap .draw_tool.is_show {
    margin-bottom: -70px !important;
    margin-top: -50px !important;
  }
}

@media screen and (max-width: 367px) {
  .content_wrap .draw_tool {
    margin-bottom: -90px;
  }

  .btn_zoom {
    width: 35px !important;
    height: 35px !important;
    font-size: 20px !important;
  }
  .content_wrap .draw_tool {
    margin-top: -33px !important;
  }
}

/*new design*/

.header_btn .btn_stock {
  background: #D87B73;
}

.header_btn .btn_cart {
  background: #6C6C6C;
}

.header_btn button span {
  padding-left: 40px;
}

.total_item .span_text {
  text-align: left;
  /* letter-spacing: 0.56px; */
}

.header_total .total_item_size {
  border-bottom: 1px dashed #d1d1d1;
  padding:0 0 6px;
}

.header_total .total_item_price {
  padding:0;
}

.total_item_size span,
.total_item_size span:last-child{
  color: #464646;
}

.menu_wrap .select_material li {
  background: #FFFFFF ;
  box-shadow: 1px 2px 4px #00000029;
  border-radius: 5px;
  width: 60px;
  height: 50px;
  margin-right: 10px;
}

.total_item_price span:first-child {
  color: #CE5146;
}

.total_item_price .span_text {
  color: #464646 !important;
}
.list_btn_popup {
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.tab_rings ul li:first-child {
  border:none;
  padding-top: 0;
}

.tab_rings {
  margin-top: 40px;
}

.tab_action .select_wrap {
  display: flex;
}

.tab_action .tab_select_new .dropdown{
  width: 240px;
}

.tab_content .material_list li:last-child {
  border-bottom: none;
}

.list_btn_popup img {
  margin-right: 20px;
}

.header_logo {
  height: 100%;
}

.modal_select_size .swiper-slide .image {
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header_btn .show_stock_new,
.header_btn .show_cart_new {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.header_btn .show_stock_new {
 width: 33px;
}

.header_btn .show_cart_new {
  width: 36px;
}


@media (max-width: 320px) {
  .footer_sp li button img {
    height: 12px;
  }

  .footer_sp li button {
    font-size: 8px;
  }

  .tab_rings .tab_content_info {
    width: 62%;
  }

  .modal_sp .tab_rings {
    height: calc(100% - 115px);
  }

  .footer_sp > span {
    width: 20%;
  }

  .content_wrap .draw_tool.is_show {
    margin-top: -65px !important;
  }

  .prd_infor_wrap button {
    font-size: 8px;
  }

  .modal_sp .tab_action .tab_select_new {
    width: 60%;
  }
}

.modal-content .modal-footer button {
  border-radius: unset;
  padding: 10px;
}

.modal-content .modal-footer .btn-red {
  background: #D87B73;
}

.modal-open .modal-content {
  border-radius: unset;
  background-clip: unset;
}
/*end new design*/
/* } */


.container-fiuld .stone-list .swiper-container {
  position: relative;
  padding: 0 40px !important;
}

.container-fiuld .stone-list .swiper-container::after {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  content: '';
  width: 40px;
  height: 100%;
  background: white;
  z-index: 2;
}

.container-fiuld .stone-list .swiper-container::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  content: '';
  width: 40px;
  height: 100%;
  background: #fff;
  z-index: 2;
}

.container-fiuld .swiper-button-next, .swiper-button-prev {
  transform: translateY(-50%);
}

.modal .modal_custom_fullW {
margin-top: 70px;
}

.popup_storn_new {
  width: 20px;
  height: 23px;
}

.popup_storn_new {
  width: 29px;
  height: 22.91px;
}

.popup_weather_star_new {
  width: 20.66px;
  height: 21px;
}

.popup_hart_new {
  width: 20.38px;
  height: 18.46px;
}

.modal_select_size_custom {
  max-width: 670px;
}

.modal_select_size_custom .modal-content {
  height: 700px;
  width: 670px;
}

.modal-dialog-centered .modal-body span {
  padding: 5px;
}

.modal-dialog-centered .modal-footer .btn-danger{
  background: #C6C6C6;
  border-color: #C6C6C6;
}

.modal-dialog-centered .modal-footer .btn-primary{
  background: #d87b73;
  border-color: #d87b73;
}

.menu button,
.menu .btn_edit span,
.main_wrap .main_sidebar .material_content,
.menu .dropdown-menu,
.modal-content .list_btn_popup span,
.modal-content .tab_content_info p,
.modal-content .dropdown,
.modal-content .swiper-slide button,.tab_content .material_list_content p,.modal_select_size .desc-detail .desc-detail_detail, .wrap-image-slide .no-p-b span{
  font-family: "Hiragino Sans GB W3" !important;
}

.modal-dialog-centered .modal-body .tab_content_price {
  padding-left: 0;
}

.modal_select_size .desc-detail_new {
  width: 583px;
  height: 104px;
}

.modal-dialog-centered .modal-body .material_list_content .list_content_price {
  padding-left: 0;
}

.tab_content .sub_tab_item:first-child {
  margin-left: 0;
}

.modal_custom_fullW .tab_action .tab_select {
  margin-bottom: 0;
}

.tab_rings_ct .tab_content_wrap {
  height: calc(var(--vh, 1vh) * 100 - 260px);
}

.modal_select_size_custom .swiper-button.swiper-button-next {
  background: url(../img/next_new.png) no-repeat;
}

.modal_select_size_custom .swiper-button.swiper-button-prev {
  background: url(../img/prev_new.png) no-repeat;
}

.modal_select_size_custom .swiper-button {
  height: 30px;
}

.modal_custom_continue .modal-body {
  padding: 7px;
}

.modal_custom_continue .modal_close {
  position: absolute;
  background: transparent;
  padding: 0;
  margin: 0;
  right: -20px;
  top: -20px;
  border: 0;
  border-radius: 50%;
  z-index: 1060;
  width: 50px;
  height: 50px;
}

.modal_custom_continue .modal_close img {
  width: 100%;
}
