@import "./tailwind.css";
@import "_variables.scss";
@import "_mixin.scss";
@import "../fonts/style.css";
@import "_custom.scss";
*,
::before,
::after {
  box-sizing: border-box;
}
*:focus {
  outline: unset !important;
}
.earth-opacity-1 {
  opacity: 1 !important;
}
html {
  margin: 0 auto;
  padding: 0;
  font-size: $font-size;
  color: $sub-text-color;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "Roboto Regular", Helvetica, Arial, sans-serif;
  scroll-behavior: auto;
  outline: none;
  max-width: 100%;
}
@media (max-width: 639px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 414px) {
  html {
    font-size: 12px;
  }
}
.title {
  font-family: "Roboto Bold", Helvetica, Arial, sans-serif;
  font-weight: bold;
}
body {
  min-width: 1000px;
  background-color: #f9fafc;
  background-position: top;
  overflow-x: hidden;
  position: relative;
  fill: currentColor !important;
}
@media (max-width: 1000px) {
  body {
    min-width: 100%;
  }
}
.wrapper {
  padding-left: 7%;
  padding-right: 7%;
}
svg.icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor !important;
  vertical-align: bottom;
}
h1.title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0.6rem;
  text-transform: uppercase;
}
.breadcrumb {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0.6rem;
  text-transform: uppercase;
  @include phone {
    font-size: 1.3rem;
  }
  &-primary {
    color: $secondary-color;
  }
}
.link {
  color: $secondary-color;
  font-style: italic;
  cursor: pointer;
  text-decoration: underline;
}
.link:hover {
  text-decoration: underline;
}

.helper-text {
  font-size: 0.9em;
  color: #767676;
}

.time {
  color: $secondary-color;
  font-style: italic;
  font-size: 0.8em;
}

.text-primary {
  color: $primary-color;
}

.text-danger {
  color: $danger-color;
}

.text-secondary {
  color: $secondary-color;
}

.text-success {
  color: $success-color;
}

.text-info {
  color: $sub-text-color;
}

.text-info-light {
  color: $text-info-light;
}

.text-orange {
  color: $orange-color;
}

.bg-primary {
  background-color: $primary-color;
}

.bg-success {
  background-color: $success-color;
}
.bg-danger {
  background-color: $background-danger;
}

.label {
  font-weight: bold;
}
li {
  &.square {
    list-style-type: square;
    &-primary::marker {
      color: $primary-color;
    }
    &-inside {
      list-style-position: inside;
    }
  }
  &.disc {
    list-style-type: disc;
    &-inside {
      list-style-position: inside;
    }
  }
}
.side-border {
  padding-left: 20px;
  border-left: 4px solid #0c2ea5;
  font-size: 1.2rem;
  font-weight: bold;
}
.column-count-2 {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
}

.font-family-bold {
  font-family: $font-bold;
}

//@todo make this more general
.register-card {
  .el-form-item__label,
  label.item-label {
    color: #aba9a9;
  }
}

.large-form {
  font-size: $font-size;
  label {
    padding: 0 !important;
    font-size: $font-size;
  }
  input,
  select {
    font-size: $font-size;
    height: 3rem;
  }
  button {
    font-size: $font-size;
    padding: 1rem 0;
    width: 10rem;
  }
  .el-checkbox__inner {
    width: $font-size;
    height: $font-size;
    &::after {
      height: 11px;
      left: 5px;
      top: 0px;
      width: 5px;
    }
  }
  .el-checkbox__label {
    font-size: $font-size;
  }
}

.right-asterisk-form {
  .el-form-item {
    position: relative;
    &.is-required:not(.is-no-asterisk) {
      .el-form-item__label {
        &:before {
          display: none;
        }
        INFORMATION DECLARATION &:after {
          content: '*';
          color: #ea4335;
          margin-right: 10px;
          position: absolute;
          right: 0;
        }
      }
    }
  }
}
.el-loading-mask {
  svg {
    display: inline-block;
  }
}

.el-form-item__error {
  position: initial !important;
  margin-bottom: 0 !important;
}

.icon_badge {
  .el-badge__content.is-fixed.is-dot {
    right: 42%;
    top: 19%;
  }
}

.box-4-3 {
  width: 100%;
  padding-top: 75%;
  position: relative;
  height: 0px;
}

.box-16-9 {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  height: 0px;

  & > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    &.object-contain {
      object-fit: contain !important;
    }
  }

  & > iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
}

.border-primary {
  border-color: $primary-color;
}
.border-success {
  border-color: $success-color;
}

#dialog-rate {
  .el-rate__icon {
    font-size: 3rem;
  }
  .el-rate {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100px;
    &__item {
      cursor: pointer !important;
    }
  }
}
#star_review {
  .el-rate__icon {
    font-size: 1.375rem;
  }
}
.el-pagination {
  text-align: right;

  span,
  li {
    font-size: 1rem !important;
    color: #606266 !important;
  }
  .el-pager li.active {
    color: $primary-color !important;
  }
  button:disabled span {
    color: #c0c4cc !important;
  }
}
.pagination__container {
  padding: 2px 5px;
  &--left {
    color: #a2a2a2;
  }
}
.rating-support {
  .el-rate__item {
    cursor: pointer !important;
  }
}
.base-input {
  input {
    font-size: 1rem !important;
  }
  .el-input {
    input {
      font-size: 1rem !important;
    }
  }
}

.right-asterisk-required-form {
  .el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before,
  .el-form-item.is-required:not(.is-no-asterisk)
  .el-form-item__label-wrap
  > .el-form-item__label:before {
    display: none !important;
  }
  .el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:after,
  .el-form-item.is-required:not(.is-no-asterisk)
  .el-form-item__label-wrap
  > .el-form-item__label:after,
  .el-form-item:not(.is-no-asterisk) > .el-form-item__label[for*='time']:after {
    content: '*' !important;
    color: #ea4335;
    margin-left: 4px;
  }
}

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