@import "variables";

.wrap_import {
   padding-top: 150px;

   .tt_auto_logo {
    display: block;
    margin: 0 auto;
  }
  .container{
    background: $white;
    border-radius: 15px;
    padding: 25px;
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
  }
  h2{
    color: #23282d;
    font-size: 24px;
    margin: 1em 0;
    text-align: center;
  }
  #tt_import {
    background-color: $green;
    border: none;
    color: $white;
    width: 150px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 0 auto;

    &.loading{
      text-indent: -9999px;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      background: $white;
      border: 3px solid $grey;
      border-left: 3px solid $green;
      animation: rotate-loader 1s 0.25s linear infinite;

      &:hover{ background-color: $white; box-shadow: none }
      &:after{ content: ''; }
    }
    &:disabled {
      background: $grey;
      &:hover {
        box-shadow: none;
      }
    }
    &:active,
    &:focus{
      outline: none;
    }
    &:hover {
      box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
  }

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

  .alert{
    padding: 10px;
    margin: 20px auto 5px auto;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    max-width: 300px;

    &.alert-danger{
      background: $wheat;
      color: $red;
    }
    &.alert-success{
      background: $light-green;
      color: $dark-green;
    }
  }
  .show_process{
    text-align: center;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 600;
  }
}

.progress {
  height: 20px;
  margin: 20px 0;
  overflow: hidden;
  background-color: $grey;
  border-radius: 10px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
.progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: $white;
  text-align: center;
  background-color: $blue;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  -webkit-transition: width .6s ease;
  transition: width .6s ease;
}
.progress-striped .progress-bar {
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
}
.progress.active .progress-bar {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
}

.progress-bar-info {
  background-color: $blue;
}
