/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/templates/modern-business)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */
.bg-navyblue {
  /*background-color: #005793;*/
  background-color: #044c7c;
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}

.buyTokenTop {
  padding: 12px 60px;
  width: 100%;
  background: #FFF;
  position: fixed;
  top: 56px;
  left: 0px;
}
.buyTokenBottom {
  padding: 12px;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  box-shadow: rgba(33, 35, 37, 0.08) 0px -2px 6px;
  background: rgb(255, 255, 255);
  transition-duration: 0.2s;
  transition-timing-function: linear;
  visibility: visible;
  opacity: 1;
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 2;
}
.buyTokenButtonDeco {
  text-decoration: none;
}
.buyTokenButton {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 64px;
  height: 32px;
  padding: 8px 20px;
  background-color: #17A2B8;
  border-width: 1px;
  border-color: #17A2B8;
  border-style: solid;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: rgba(33, 35, 37, 0.12) 0px 4px 8px;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  transition: min-width 150ms ease-in-out 0ms, height 150ms ease-in-out 0ms, padding 150ms ease-in-out 0ms, background-color 150ms ease-in-out 0ms, border-color 150ms ease-in-out 0ms;
}
.backgroundYellow {
  background-color: #FFC107;
  border-color: #FFC107;
}
.backgroundGray {
  background-color: #545b62;
  border-color: #545b62;
}
.buyTokenSentence {
  margin: 0px;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  color: rgb(255, 255, 255);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  user-select: none;
  transition: color 150ms ease-in-out 0ms, font-size 150ms ease-in-out 0ms, font-weight 150ms ease-in-out 0ms;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.form-group.required .col-form-label:after {
    content:" *";
    color:red;
}

/* body, もしくは全体をかこう要素に配置すること */
.footer-fix-contents {
  min-height: 100vh;
  position: relative;
  padding-bottom: 60px;
  box-sizing: border-box;
}

/* .footer-fix-contentsとのセットとなるクラス <footer>に配置すること */
.fix-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.w-25_btn {
  width: 25%!important;
}
.w-50_btn {
  width: 50%!important;
}
@media (max-width: 480px) { /* スマホサイズ用 */
  .w-25_btn {
    width: 100%!important;
  }
  .w-50_btn {
    width: 100%!important;
  }
}

.account_list input {
  display: none;
}
.account_list input[type="radio"]:checked + label {
  color: #3275bc;
  border: 2px solid #3275bc;
  background-color: #d0e6fd;
}
.account_list label {
  color: #ddd;
  border: 2px solid #ddd;
  text-align: center;
  display: inline-block;
  padding: 5px 0px;
}
.account_list label:hover {
    color: #aaa;
    border: 2px solid #aaa;
    cursor: pointer;
}

.psw-box {
  position: relative;
  margin-bottom: 65px;
  text-align: initial;
}
.psw-box input {
  display: inline-block;
  padding: 10px;
  object-fit: cover;
  position: absolute;
  top: 0;
}
.psw-box span {
  display: inline-block;
  padding: 0 10px;
  width: 50px;
  border-radius: 0 15px 15px 0;
  background: transparent;
  position: absolute;
  top: 16px;
  right: 0;
  object-fit: cover;
}

.result span {
  font-weight: bold;
  font-size: initial;
}
.result-box {
  text-align: center;
}

.check-password-box {
  background: #fff;
  padding: 10px;
}
.check-password-box .main-box {
  width: 100%;
  height: 57px;
  border: 3px solid #5bb254;
  border-radius: 10px;
  padding: 10px;
}
.check-password-box .main-box input {
  width: 100%;
  height: 50px;
  border: none;
  font-size: 25px;
}
.check-password-box .main-box input:focus {
  border: none;
  outline: none;
}
.check-password-box .main-box .strength-box {
  margin: 0 -5px;
}
.how-strong-password .result-box {
  margin: 15px 0;
}
.col-sm-12 {
  width: 555px;
  float: left;
}
.strength-box {
  padding: 10px 5px;
  display: none;
}
.strength-box div {
  margin: 0 5px;
  float: left;
  width: calc(25% - 10px);
  height: 5px;
  background-color: #c3c3c3;
  transition: all 0.3s;
}

:root {
  --color0: #ff0000;
  --color1: #ff9900;
  --color2: #ffcc00;
  --color3: #99FF00;
  --color4: #00FF00;
}

.strength-box .line-weak {
  background-color: var(--color1);
}
.strength-box .line-medium {
  background-color: var(--color2);
}
.strength-box .line-good {
  background-color: var(--color3);
}
.strength-box .line-strong {
  background-color: var(--color4);
}

.result span.too_weak {
color: var(--color0);
}
.result span.weak {
color: var(--color1);
}
.result span.medium {
color: var(--color2);
}
.result span.good {
color: var(--color3);
}
.result span.strong {
color: var(--color4);
}