@import "reset.css";

@font-face {
    font-family: "Source Sans Pro";
    src: url("../fonts/SourceSansPro-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("../fonts/SourceSansPro-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("../fonts/SourceSansPro-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

html {
    height: 100%;
}
body {
    min-height: 100%;
    font-family: "Source Sans Pro", sans-serif;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    margin-bottom: 40px;
    background-color: #034580;
    padding: 12px 0;
}

.header__logo {
    text-align: center;
}

.footer {
    margin-top: 50px;
    padding: 55px 0 41px;
    background-color: #034580;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 744px;
    margin: 0 auto;
}

.footer__callback {
    margin-bottom: 15px;
}

.footer__callback,
.footer__instruction {
    display: block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.footer__logo {
    align-self: flex-end;
}

.app__content {
    width: 741px;
    margin: 0 auto;
}

.app__caption {
    margin-bottom: 25px;
    font-size: 20px;
    color: #242424;
}

.upload-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 174px;
    background: #F8FBFC;
    border: 2px dashed #E2E2E2;
    box-sizing: border-box;
    border-radius: 3px;
    transition: .3s;
    cursor: pointer;
}

.upload-container.highlight {
    border-color: #008FC5;
    background-color: #E1F6FF;
}

.upload-container__inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.upload-container__icon {
    margin-right: 17px;
}

.upload-container__label {
    margin: 5px 0;
    font-size: 18px;
    line-height: 23px;
    color: #6A6A6A;
}

.upload-container__label strong {
    font-weight: bold;
    color: #008FC5;
}

.upload-container__notice {
    font-style: italic;
    font-size: 12px;
    line-height: 20px;
    color: #9F9F9F;
}

.upload-container__input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.last-items {
    margin-top: 57px;
}

.last-items__item {
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    justify-content: flex-start;
}

.last-items__item:last-child {
    margin-bottom: 0;
}

.last-items__name {
    margin-right: 25px;
    color: #008FC5;
}

.last-items__size {
    color: #ACACAC;
}

.last-items__list {
    margin-bottom: 35px;
}

.last-items__show-more {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 1px solid #DADADA;
    border-radius: 3px;
    width: 201px;
    height: 44px;
    font-size: 16px;
    color: #0A467E;
    font-weight: bold;
    transition: .3s;
    cursor: pointer;
}

.last-items__show-more:hover {
    background-color: #F2F9FC;
}

.loader {
  font-size: 25px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0) scale(0.15);
}
@-webkit-keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.5), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.5), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.5), 2.5em 0em 0 0em rgba(3, 69, 128, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.5), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.5), 0em 2.5em 0 0em rgba(3, 69, 128, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.5), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.5), -2.6em 0em 0 0em rgba(3, 69, 128, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}
@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.5), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.5), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.5), 2.5em 0em 0 0em rgba(3, 69, 128, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.5), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.2), -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.5), 0em 2.5em 0 0em rgba(3, 69, 128, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(3, 69, 128, 0.2), -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.5), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(3, 69, 128, 0.2), 1.8em -1.8em 0 0em rgba(3, 69, 128, 0.2), 2.5em 0em 0 0em rgba(3, 69, 128, 0.2), 1.75em 1.75em 0 0em rgba(3, 69, 128, 0.2), 0em 2.5em 0 0em rgba(3, 69, 128, 0.2), -1.8em 1.8em 0 0em rgba(3, 69, 128, 0.5), -2.6em 0em 0 0em rgba(3, 69, 128, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}

.upload-loader {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: #F8FBFC;
}

.loading .upload-loader {
    display: flex;
}

.upload-loader__icon {
    width: 23px;
    height: 23px;
    margin-right: 10px;
}

.upload-loader__label {
    font-size: 18px;
    color: #6A6A6A
}

.upload-error {
    display: none;
    margin-top: 20px;
    color: #FF0000;
}

.upload-error.show {
    display: block;
}

.upload-error .app__caption {
    color: #FF0000;
}

.upload-error__message {
    line-height: 24px;
    font-size: 14px;
    font-style: italic;
    color: #FF8888;
}

.item-detail {
    flex: 1;
}

.item-detail > .app__caption {
    text-align: center;
}

.item-detail__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 801px;
    margin: 0 auto;
}

.item-detail__info {
    width: 477px;
    flex-shrink: 0;
}

.item-detail__name {
    margin-bottom: 22px;
    font-size: 18px;
    color: #008FC5;
    word-break: break-all;
}

.item-detail__btns {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    margin-bottom: 36px;
}

.item-detail__upload {
    margin-right: 30px;
}

.item-detail__delete {
    color: #FF0000;
}

.item-detail__code {
    margin-bottom: 25px;
    display: block;
    background: #F8FBFC;
    border: 1px solid #E2E2E2;
    border-radius: 3px;
    padding: 30px;
    font-family: monospace;
    color: #7C00DE;
    font-size: 12px;
}

.item-detail .last-items {
    width: 801px;
    margin-left: auto;
    margin-right: auto;
}

.item-detail .app__caption {
    margin-bottom: 35px;
}

.item-detail__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    background-color: #F8FBFC;
}

.item-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.auth {
    text-align: center;
}

.auth form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth__block {
    display: block;
    margin-bottom: 16px;
}

.auth__block input {
    padding: 5px;
    width: 201px;
    height: 32px;
    box-sizing: border-box;
}

.auth__label {
    margin-bottom: 10px;
    font-size: 16px;
}