/*=================================
  Button
=================================*/
input[type="button"]:focus,
input[type="submit"]:focus{
  outline: none;
}

/*Primary
---------------------------------*/
.btn {
  display: block;
  width: 100%;
  max-width: 220px;
  padding: 7px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
  border: 1px solid;
  border-radius: 5px;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.8;
}
/*Small
---------------------------------*/
.btn-sm,
.btn-signup {
  position: relative;
  display: block;
  width: 110px;
  padding: 5px 7px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  border: 1px solid;
  border-radius: 5px;
  cursor: pointer;
}
.btn-sm:hover,
.btn-signup:hover {
  opacity: 0.8;
}
div.btn-signup {
  padding: 0;
  overflow: hidden;
}
div.btn-signup input {
  display: block;
  width: 100%;
  padding: 7px;
  font-size: 16px;
  color: inherit;
  background: transparent;
  border: none;
  vertical-align: bottom;
}
.btn-signup::before {
  content: "+";
  position: absolute;
  top: 48%;
  left: 14px;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.btn-signup,
div.btn-signup input {
  padding-left: 14px;
}
@media screen and (max-width: 767px) {
  .btn,
  .btn-sm,
  .btn-signup {
    font-size: 13px;
  }
}
/*Icon
---------------------------------*/
.btn-upload,
.btn-download{
  cursor: pointer;
}
.btn-upload,
.btn-download,
.input-upload input,
.input-download input {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid;
  border-radius: 5px;
  text-align: center;
  max-width: 230px;
  width: 100%;
  margin: 0 auto;
}
.btn-upload:hover,
.btn-download:hover,
.input-upload:hover,
.input-download:hover {
  opacity: 0.8;
}
.btn-upload i, .btn-download i {
  margin-right: 2px;
}
.btn-upload input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.input-upload,
.input-download {
  position: relative;
}
.input-upload input,
.input-download input {
  padding-left: 30px;
}
.input-upload i,
.input-download i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .btn-upload,
  .btn-download,
  .input-upload input,
  .input-download input {
    font-size: 14px;
  }
}

/*=================================
  Input
=================================*/
input[type="text"],
input[type="number"],
input[type="mail"],
input[type="password"] {
  display: block;
  width: 100%;
  max-width: 800px;
  padding: 4px 8px !important;
  font-size: 13px;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 5px;
  height: 32px;
}
.input-icon-right,
.input-icon-left {
  position: relative;
  display: block;
  width: 100%;
  max-width: 350px;
}
.input-icon-right input[type="text"],
.input-icon-right input[type="number"],
.input-icon-right input[type="mail"],
.input-icon-right input[type="password"] {
  border-right-width: 48px;
}
.input-icon-left input[type="text"],
.input-icon-left input[type="number"],
.input-icon-left input[type="mail"],
.input-icon-left input[type="passwrod"] {
  border-left-width: 48px;
}
.input-icon {
  position: absolute;
  display: flex;
  top: 0;
  width: 48px;
  height: 100%;
  font-size: 22px;
  color: #fff;
  align-items: center;
  justify-content: center;
}
.input-icon-right .input-icon {
  right: 0;
}
.input-icon-left .input-icon {
  left: 0;
}
textarea {
  width: 100%;
  max-width: 800px;
  padding: 8px 8px;
  font-size: 13px;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 5px;
  vertical-align: bottom;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="mail"]:focus,
input[type="passwrod"]:focus,
textarea:focus {
  border-color: #5DBAEE;
}
input[type="text"].error,
input[type="number"].error,
input[type="mail"].error,
input[type="password"].error,
textarea.error {
  background: #FFEAEA;
  border-color: #F39192;
}
@media screen and (max-width: 767px) {
  input[type="text"],
  input[type="number"],
  input[type="mail"],
  input[type="password"] {
    height: 32px;
    font-size: 12px;
  }
  textarea {
    font-size: 12px;
  }
  input[type="checkbox"]::before,
  input[type="radio"]::before {
    top: 4px;
    left: 4px;
    border-width: 0 0 2px 2px;
  }
}

/*=================================
  Alert
=================================*/
.alert-red,
.alert-gary {
  display: flex;
  width: 100%;
  min-height: 49px;
  padding: 4px 20px 4px 26px;
  font-size: 16px;
  font-weight: bold;
  align-items: center;
  justify-content: space-between;
}
.alert-red p,
.alert-red i,
.alert-gary p,
.alert-gary i {
  color: #fff;
}
.alert-red p,
.alert-gary p {
  margin-right: 16px;
}
.alert-red i,
.alert-gary i {
  cursor: pointer;
}
.alert-red {
  background: #F39192;
}
.alert-gary {
  background: #CFCFCF;
}

/*=================================
  Modal
=================================*/
.modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 500px;
  padding: 48px 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translate3d(-50%,-50%,0);
  transition: ease-out 0.2s;
  z-index: 1000;
  pointer-events: none;
}
.modal-box.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 17px;
  line-height: 1;
  color: #C4C5C4;
  cursor: pointer;
}
.modal-content {
  text-align: center;
}
.modal-content p {
  margin-bottom: 48px;
  line-height: 1.8;
}
.modal-btns {
  display: flex;
  max-width: 304px;
  margin: 0 auto;
  justify-content: space-between;
}
.modal-btn {
  width: 100%;
  max-width: 120px;
  margin: 0 24px 0 0;
  padding: 8px;
  letter-spacing: 2px;
  border: 1px solid;
  border-radius: 5px;
}
.modal-btn:last-child {
  margin-right: 0;
}
.modal-btn-log {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 8px;
  font-weight: 500;
  letter-spacing: 2px;
  border: 1px solid;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  .modal-box {
    padding: 32px 24px;
  }
  .modal-content p {
    margin-bottom: 32px;
  }
}

/*=================================
  Dropdown
=================================*/
.dropdown-input-wrap{
  display: flex;
  align-items: center;
}
.dropdown-input-wrap > span{
  margin: 0 10px;
  white-space: nowrap;
  padding: 0 0 6px;
}
.dropdown-input-box {
  position: relative;
  width: 100%;
  max-width: 800px;
}
.dropdown-input {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
}
.input-shot input {
  max-width: 164px;
}
.wrap04 input {
  pointer-events: none;
}
.dropdown-input::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.dropdown-input::after {
  content: "\f078";
  position: absolute;
  top: 50%;
  right: 16px;
  font-size: 20px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  transform: translateY(-50%);
}
.dropdown-item {
  position: absolute;
  display: none;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 5px;
  transform: translateY(100%);
  overflow: hidden;
  z-index: 10;
}
.dropdown-item li {
  padding: 10px 15px;
  cursor: pointer;
}
.dropdown-item li:first-child {
  padding-top: 14px;
}
.dropdown-item li:last-child {
  padding-bottom: 14px;
}
.dropdown-input.active {
  pointer-events: none;
}

/*=================================
  checkbox & radio
=================================*/
.check-box,
.radio-box {
  display: flex;
  align-items: center;
  padding-left: 2px;
  margin-bottom: 4px;
}
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: 1px 12px 1px 1px;
}
input[type="checkbox"]::after,
input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #CFCFCF;
  transform: translate(-50%,-50%);
}
input[type="checkbox"]::before,
input[type="radio"]::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 5px;
  border: solid #000;
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg)scale(0,0);
  z-index: 1;
}
input[type="checkbox"]:checked::before {
  transform: rotate(-45deg)scale(1,1);
}

input[type="radio"],
input[type="radio"]::after {
  border-radius: 50%;
}
input[type="radio"]::before {
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-width: 4px;
  border-radius: 50%;
  transform: translate(-50%,-50%)rotate(-45deg)scale(0,0);
}
input[type="radio"]:checked::before {
  transform: translate(-50%,-50%)rotate(-45deg)scale(1,1);
}

/* cancel
---------------------------------*/
.cancel-x {
  margin: 0;
  font-size: 17px;
  color: #C4C5C4;
  line-height: 1;
  background: none;
  border: none;
}

/* loading
---------------------------------*/
.loader-area {
  position: relative;
  width: 38px;
  height: 38px;
  overflow: hidden;
}
.loader {
  position: relative;
  width: 38px;
  height: 38px;
  font-size: 0;
  border: 4px solid #C4C5C4;
  border-radius: 50%;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: loader 1.1s infinite linear;
  animation: loader 1.1s infinite linear;
}
@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.loader-dot-area {
  display: flex;
  width: 80px;
  justify-content: center;
}
.loader-dot,
.loader-dot:before,
.loader-dot:after {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: loader-dot 1.8s infinite ease-in-out;
  animation: loader-dot 1.8s infinite ease-in-out;
}
.loader-dot {
  position: relative;
  color: #009B6D;
  font-size: 0;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader-dot:before,
.loader-dot:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader-dot:before {
  left: -23px;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader-dot:after {
  left: 23px;
}

/* band
---------------------------------*/
.band {
  margin: 10px 0;
  padding: 2px 12px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.5;
  color: #fff;
  border-radius: 3px;
  max-width: 1000px;
}
@media screen and (max-width: 767px) {
  .band {
    font-size: 13px;
  }
}

/* table primary
---------------------------------*/
.table-primary {
  width: 700px;
  margin-bottom: 30px;
}
.table-primary thead tr th{
  padding: 10px 0;
}
.table-primary tbody tr th,
.table-primary tbody tr td{
  padding: 10px;
}
.table-primary tbody tr th{
  font-weight: normal;
  width: 150px;
  vertical-align: top;
}
@media screen and (max-width: 767px){
  .table-primary tbody tr th{
    vertical-align: top;
  }
}

/* table secondary
---------------------------------*/
.table-secondary {
  width: 900px;
  margin-bottom: 30px;
}
.table-secondary tr th,
.table-secondary tr td{
  padding: 10px;
}
.table-secondary tr th{
  font-weight: normal;
  width: 120px;
}
.table-secondary tr td{
  text-align: left;
}
@media screen and (max-width: 767px){
  .table-secondary tr th{
    vertical-align: top;
  }
}
