/* General Styles */
.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.white-bg {
  background-color: #fff;
}

.font-gothic {
  font-family: "HGGothicE";
}

.font-cooper {
  font-family: "Young Serif", serif !important;
  font-weight: 400;
  font-style: normal;
}

.font-cursive {
  font-family: "Brush Script Std", cursive !important;
  font-weight: 400;
  font-style: normal;
}

.table-thick-borders {
  border-width: 2px !important;
}

.table-thick-borders th,
.table-thick-borders td {
  border-width: 2px;
}

.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

select.input-sm {
  height: 30px;
  line-height: 30px;
}

select[multiple].input-sm,
textarea.input-sm {
  height: auto;
}

.form-group-sm .form-control {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.form-group-sm select.form-control {
  height: 30px;
  line-height: 30px;
}

.form-group-sm select[multiple].form-control,
.form-group-sm textarea.form-control {
  height: auto;
}

.form-group-sm .form-control-static {
  height: 30px;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #ccc;
}

.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}

.hasDatepicker {
  height: 38px;
}

/* Label styles */
.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.label:empty {
  display: none;
}

.btn .label {
  position: relative;
  top: -1px;
}

.label-default {
  background-color: #777;
}

.label-default[href]:focus,
.label-default[href]:hover {
  background-color: #5e5e5e;
}

.label-primary {
  background-color: #337ab7;
}

.label-primary[href]:focus,
.label-primary[href]:hover {
  background-color: #286090;
}

.label-success {
  background-color: #5cb85c;
}

.label-success[href]:focus,
.label-success[href]:hover {
  background-color: #449d44;
}

.label-info {
  background-color: #5bc0de;
}

.label-info[href]:focus,
.label-info[href]:hover {
  background-color: #31b0d5;
}

.label-warning {
  background-color: #f0ad4e;
}

.label-warning[href]:focus,
.label-warning[href]:hover {
  background-color: #ec971f;
}

.label-danger {
  background-color: #d9534f;
}

.label-danger[href]:focus,
.label-danger[href]:hover {
  background-color: #c9302c;
}

/* Home Styles */
.suits-wrapper {
  overflow: hidden;
  margin: 60px auto;
  flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    align-items: end;
}

.suits-wrapper .suits-item {
  padding: 15px;
  margin-bottom: 30px;
  padding-right: 25px;
  padding-left: 25px;
  text-align: center;
  outline: none;
  text-decoration: none;
  border-right: 1px solid #e1e1e1;
}
.suits-wrapper .suits-item:last-of-type,
.suits-wrapper .suits-item:nth-of-type(5n) {
  border-right: none;
}

.suits-item > a {
  display: block;
  text-decoration: none;
}

.suits-item .item-img {
  /*max-width: 150px;*/
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.suits-item .item-name,
.suits-item .item-sku {
  font-size: 20px;
  font-weight: normal;
  color: #000;
  text-align: left;
}

/* Suit Details / Simulation Styles */
h1.suit-heading {
  float: left;
  width: 50%;
  font-size: 32px;
  font-weight: 500;
  margin-top: 15px;
}

span.series-heading {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

#pcSuitBanner {
  height: 100px;
  background-image: url("../images/subpage-banner.png");
  background-size: cover;
  background-position: center;
  padding: 15px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#homeBanner {
  position: relative;
  height: 60vh;
  background-image: url("../images/top_image_bg.jpg");
  background-size: cover;
  background-position: bottom right;
  padding: 15px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#homeBanner #navLogo {
  position: absolute;
  top: 15px;
  left: 30px;
}

#homeBanner #topImageBnner {
  width: 80%;
  max-width: 992px;
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#navLogo {
  display: block;
  outline: none;
  height: 100%;
  max-height: 70px;
  float: left;
}

#navLogo > img {
  width: auto;
  height: 100%;
}

#wdccBanner {
  width: 100%;
  height: auto;
  max-width: 768px;
  margin: 0 auto;
}

#suit-details-main .details-left {
  padding-right: 30px;
  margin-bottom: 30px;
}

#suit-details-main .details-left img {
  /* max-width: 85%; */
  height: auto;
}

#suit-details-main .show-next,
#suit-details-main .show-prev {
  display: none;
  max-width: 130px;
}

#suit-labels {
  margin: 0 auto;
  z-index: 10;
}

.main-suit-wrapper {
  position: relative;
  text-align: center;
}

.main-suit-wrapper > img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.main-suit-wrapper #whole-suit {
  position: relative;
  margin: 0 auto;
  z-index: 5;
}

.show-desktop {
  display: block;
}

.show-sp {
  display: none;
}

.fxn-wrapper {
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 15px;
  justify-content: center;
}

.fxn-wrapper button {
  border: none;
  outline: 0;
  background: none;
  max-width: 45px;
  margin: 0 10px;
}

.fxn-wrapper button img {
  width: 100%;
}

.fxn-wrapper button#print-btn {
  max-width: 110px;
  float: right;
}

.specs-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px solid #cbdfef;
}

.specs-header h2 {
  font-size: 18px;
  font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  letter-spacing: -0.03em;
}

.specs-header h3 {
  font-size: 16px;
  font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  letter-spacing: -0.03em;
  background-color: #cbdfef;
  margin: 0;
  padding: 5px;
}

.specs-body {
  padding: 15px 0;
}

span.color-btn {
  display: inline-block;
  width: 60px;
  height: 30px;
  border: 1px solid #ccc;
}

span.mark-btn {
  display: inline-block;
  height: 85px;
  width: 85px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 12px;
  background-color: #eeeeee;
}

#selectColor .specs-btn.active .color-btn {
  outline: solid 2px #96cfdd;
  outline-offset: -2px;
}

.specs-btn {
  text-decoration: none !important;
}

.specs-btn.active img {
  border: 2px solid #5e9eff;
}

#selectMark .specs-btn.active .mark-btn,
#addName .specs-btn.active .mark-btn {
  background-color: #96cfdd;
}

#chestMark {
  position: absolute;
  top: 11.5%;/*17.5%;*/
  left: 23.5%;
  width: 6%;
  background-position: top center;
  /*background-size: 110px 50px;*/
  height: 4%;
  z-index: 10;
  /*background-position: center;*/
  background-repeat: no-repeat;
  background-size: contain;
}

#wristMark {
  position: absolute;
  top: 40%;
  left: 2%;
  width: 5%;
  height: 4%;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#shoulderMark {
  position: absolute;
  top: 23%; /*28%;*/
  right: 13%;
  width: 4%;
  height: 3%;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#waistMark {
  position: absolute;
  top: 46%;
  right: 15%;
  width: 4%;
  height: 3%;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#legMark {
  position: absolute;
  bottom: 13%; /*18%;*/
  right: 34%;
  width: 4%;
  height: 3%;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#leftThigh,
#rightThigh {
  position: absolute;
  top: 48%;
  width: 90px;
  height: 18px;
  z-index: 10;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 85px 65px;
}

#leftThigh {
  left: 7%;
  transform: rotate(96deg);
}

#rightThigh {
  transform: rotate(-98deg);
  left: 30.8%;
}

#namingSpecsWrapper {
  display: none;
}

span.position-btn,
span.font-btn,
span.size-btn {
  display: inline-block;
  width: 115px;
  height: 50px;
}

#namingSpecsWrapper .specs-btn.active .position-btn.pos-right {
  background-image: url("../images/right-pos-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .position-btn.pos-left {
  background-image: url("../images/left-pos-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .font-btn.fontA {
  background-image: url("../images/name-font-1-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .font-btn.fontB {
  background-image: url("../images/name-font-2-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .font-btn.fontC {
  background-image: url("../images/name-font-3-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .size-btn.sizeA {
  background-image: url("../images/name-size-1-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .size-btn.sizeB {
  background-image: url("../images/name-size-2-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .size-btn.sizeC {
  background-image: url("../images/name-size-3-active.png") !important;
}

#namingSpecsWrapper .specs-btn.active .color-btn {
  outline: solid 2px #96cfdd;
  outline-offset: -2px;
}

#rightName {
  display: none;
  position: absolute;
  top: 17%;
  left: 5%;
  width: 7%;
  height: 4%;
  z-index: 10;
  font-weight: bold;
  background-color: #fff;
}

#leftName {
  display: none;
  position: absolute;
  top: 17%;
  left: 41%;
  width: 7%;
  height: 4%;
  z-index: 10;
  font-weight: bold;
  /*background-color: #fff;*/
}

#zoomWrapper {
  background-size: 85%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  margin: 0 auto;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#zoomWrapper > img {
  width: 80%;
  height: auto;
}

#zoomNameWrapper {
  background-color: #fff;
  margin: 0 auto;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#zoomNameWrapper > div {
  font-size: 40px !important;
  font-weight: bold !important;
}

.zoom-logo,
.zoom-name {
  cursor: pointer;
}

.zoom-logo {
  position: absolute;
  top: 11.5%;
  left: 23.5%;
  width: 6%;
  background-position: top center;
  height: 4%;
  z-index: 10;
  background-repeat: no-repeat;
  background-size: contain;
}

#screenshotModal .modal-body img {
  max-width: 100%;
  height: auto !important;
}

/* Generate PDF */
#headerGPDF {
  margin: 30px auto 15px;
}

#headerGPDF h1 {
  font-size: 36px;
  line-height: normal;
  margin: 0;
}

#headerGPDF #backBtn {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
}

.container.gpdf {
  max-width: 800px;
}

#generatePDFWrapper > table,
#itemDataWrapper > table {
  margin-bottom: 30px;
}

#generatePDFWrapper .table-bordered > thead > tr > th,
#itemDataWrapper .table-bordered > thead > tr > th {
  border: 1px solid #aaa;
}

#generatePDFWrapper .table > tbody > tr > th,
#itemDataWrapper .table > tbody > tr > th {
  background-color: #e6e6e6;
  color: #6d6d6d;
}

#generatePDFWrapper .table > thead > tr > th,
#itemDataWrapper .table > thead > tr > th {
  color: white;
  text-align: center;
  background-color: #999;
}

#generatePDFWrapper .table-bordered > tbody > tr > th,
#itemDataWrapper .table-bordered > tbody > tr > th {
  border: 1px solid #aaa;
}

#generatePDFBtn {
  color: #fff;
}

#generatePDFWrapper #submit_customer {
  color: #fff;
}

/* Download PDF */
#suitSummary {
  max-width: 800px;
  margin: 30px auto;
}

#suitSummary table td.label {
  text-align: center;
  width: 30%;
}

#suitSummary table td.value {
  text-align: left;
  width: 70%;
}

#mainSuitWrapper {
  height: 768px;
  max-width: 600px;
  margin: 0 auto;
}

.suit-part {
  position: absolute;
  height: 100%;
}

.suit-part.masked {
  background-repeat: repeat;
  background-size: auto;
  background-position: top;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: top;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: top;
  position: absolute;
  height: 100%;
  width: 100%;
}

.suit-part.masked > img {
  display: none !important;
}

#suit-body-wrapper {
  z-index: 3;
}

#suit-sides-wrapper {
  z-index: 1;
}

#suit-sleevs-wrapper {
  z-index: 1;
}

#itemDataWrapper {
  margin: 100px auto 60px;
}

#generatePDFWrapper,
#itemDataWrapper {
  font-size: 14px;
  font-family: Arial, sans-serif;
  line-height: 20px;
}

/* Customize radio button and checkbox styles */
.button-radio input[type="radio"],
.button-radio input[type="checkbox"] {
  opacity: 0;
  width: 1px;
}
.button-radio label {
  display: inline-block;
  color: #fff;
  background-color: #fff;
  padding: 5px 20px;
  color: #ababab;
  border: solid 1px rgba(165, 206, 237, 0.95);
  border-radius: 5px;
  margin: 3px 3px;
  cursor: pointer;
}

.button-radio .disabled,
.button-radio input[type="checkbox"]:disabled + label {
  background-color: #ccc !important;
  border: solid 1px #ccc;
  color: #666 !important;
  cursor: not-allowed;
}

.button-radio input[type="radio"]:checked + label,
.button-radio input[type="checkbox"]:checked + label {
  background-color: rgba(165, 206, 237, 0.95);
  color: #333;
}

/* User Data PDF */
#userDataWrapper {
  margin: 30px auto;
}

#userDataWrapper table.table-bordered {
  border: 3px solid #000;
}

#userDataWrapper table.small {
  font-size: 10px !important;
  margin-bottom: 10px !important;
}

#userDataWrapper .table.no-padding td {
  padding: 0 !important;
}

#userDataWrapper .table.no-padding-sides td {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#userDataWrapper .border-top-0 {
  border-top: none !important;
}

#userDataWrapper .border-bot-0 {
  border-bottom: none !important;
}

#userDataWrapper .border-left-0 {
  border-left: none !important;
}

#userDataWrapper .border-right-0 {
  border-right: none !important;
}

#userDataWrapper .border-sides-0 {
  border-left: none !important;
  border-right: none !important;
}

#userDataWrapper h5 {
  font-size: 12px;
}

#userDataWrapper #custom-suit {
  max-width: 85%;
  height: auto;
  margin: 0 auto 30px;
}

#userDataWrapper table td {
  padding: 5px;
}

#userDataSuitSummary {
  margin: 60px auto 30px;
}

#userDataSuitSummary table td.label {
  text-align: center;
  width: 30%;
}

#userDataSuitSummary table td.value {
  text-align: left;
  width: 70%;
}
/*loader*/
.loading-results {
  opacity: 0.3;
  height: 100vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  width: 100%;
  z-index: 99;
  background: #000;
}
.loader {
  position: absolute;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #6b8bb7;
  border-bottom: 16px solid #6b8bb7;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.z-indexed {
  /*z-index: 9 !important;*/
}
@media screen and (max-width: 1400px) {
  #homeBanner {
    height: 50vh;
  }

  #homeBanner #topImageBnner {
    max-width: 768px;
  }
}

@media screen and (max-width: 1024px) {
  .suits-wrapper .suits-item,
  .suits-wrapper .suits-item:nth-of-type(5n) {
    border-right: 1px solid #e1e1e1;
  }
  .suits-wrapper .suits-item:last-of-type,
  .suits-wrapper .suits-item:nth-of-type(3n) {
    border-right: none;
  }
}

@media screen and (max-width: 992px) {
  #homeBanner {
    height: 40vh;
  }

  #homeBanner #topImageBnner {
    max-width: 768px;
    bottom: 30px;
  }

  #wdccBanner {
    max-width: 600px;
  }
}

@media screen and (max-width: 768px) {
  .show-desktop {
    display: none;
  }

  .show-sp {
    display: block;
  }

  .main-wrapper .navbar {
    /*display: none;*/
    margin-bottom: 0;
  }

  .suits-wrapper.d-flex {
    display: flex !important;
    align-items: start;
    justify-content: start;
  }

  .suits-wrapper .suits-item {
    width: 50%;
    float: left;
  }

  #suit-details-main .details-left {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    text-align: center;
  }

  #suit-details-main button {
    border: none;
    outline: 0;
    background: none;
  }

  #suit-details-main .details-right {
    display: none;
    text-align: center;
  }

  #suit-details-main .details-right #specs-wrapper {
    max-height: 70vh;
    overflow-y: scroll;
  }

  #suit-details-main .show-next {
    display: block;
    max-width: 150px;
    margin: 30px auto;
  }

  #suit-details-main .show-prev {
    display: block;
    max-width: 150px;
    margin: 0 auto;
  }

  #suit-details-main .details-right img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  #zoomWrapper,
  #zoomNameWrapper {
    width: 100px;
    height: 100px;
  }

  footer {
    min-height: auto;
    margin: 0;
  }

  footer a {
    display: none;
  }

  #pcSuitBanner {
    display: none;
  }

  #homeBanner {
    height: 30vh;
  }

  #homeBanner #topImageBnner {
    max-width: 480px;
  }

  .suits-wrapper .suits-item:nth-of-type(odd) {
    border-right: 1px solid #e1e1e1;
  }

  .suits-wrapper .suits-item:last-of-type,
  .suits-wrapper .suits-item:nth-of-type(even) {
    border-right: none;
  }
}

@media screen and (max-width: 480px) {
  #menubar .nav-item a {
    padding: 10px;
    margin-bottom: 15px;
  }
  #chestMark {
    top: 13%;
  }
  #legMark {
    bottom: 13%;
  }
  #shoulderMark {
    top: 23%;
  }
  #waistMark {
    top: 43%;
  }
  /*#mainSuitWrapper {
    height: 405px;
  }
  #wristMark {
    top: 47%;
  }
  
  */
}

@media screen and (max-width: 425px) {
  .suits-wrapper .suits-item:nth-of-type(odd) {
    border-right: 1px solid #e1e1e1;
  }
  .suits-wrapper .suits-item:last-of-type {
    border-right: none;
  }
}
