@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local('Inter Regular'), local('Inter-Regular'), url(fonts/Inter-Regular.woff2) format('woff2'), url(fonts/Inter-Regular.woff) format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: local('Inter Medium'), local('Inter-Medium'), url(fonts/Inter-Medium.woff2) format('woff2'), url(fonts/Inter-Medium.woff) format('woff');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url(fonts/Source-Sans-Pro-Semi-Bold.woff2) format('woff2'), url(fonts/Source-Sans-Pro-Semi-Bold.woff) format('woff');
}

:focus {
  outline: none;
}

*, ::after, ::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #797C84 #F3F4F5;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar,
::-webkit-scrollbar-track {
  background: rgba(243,244,245, .8);
  width: 5px;
  margin: 0 3px;
}

::-webkit-scrollbar-thumb {
  background: #797C84;
  border-radius: 5px;
}

body, html {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.body_full {
  height: 100%;
}

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.539;
  font-weight: 400;
  background-color: #E5E5E5;
  color: #42454D;
}

.o-h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: #2F3137;
  margin-bottom: 32px;
}

.o-link, .o-link:visited, a {
  color: #ba4075;
  text-decoration: none;
  cursor: pointer;
}

.o-link:hover, a:hover {
  text-decoration: underline;
}

.o-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(66,69,77, .75);
  z-index: 1;
}

.o-dialog {
  width: 740px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px 28px 28px;
  position: relative;
  top: 80px;
}

.o-dialog_s {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 568px;
  z-index: 2;
}

.o-dialog_hide,
.o-dialog_hide + .o-mask {
  display: none;
}

.o-dialog__header-close {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 4px;
  right: 4px;
  cursor: pointer;
}

.o-dialog__header-close:hover {
  background-color: #F3F4F5;
  border-radius: 4px;
}

.o-dialog__footer {
  margin-top: 52px;
  text-align: right;
}

.o-dialog_s .o-dialog__footer {
  margin-top: 16px;
}

.o-form {
  padding-bottom: 16px;
  margin: 0;
  border: none;
}

.o-form::after {
  display: table;
  content: '';
  clear: both;
}

.o-form__title {
  float: left;
  width: 172px;
  padding-top: 16px;
  padding-right: 32px;
  color: #2F3137;
  font-weight: 500;
}

.o-form__content {
  margin-left: 172px;
}

.o-form__label {
  position: absolute;
  margin-top: 16px;
  margin-left: 12px;
  transition: all 200ms linear 0s;
  cursor: text;
}

.o-form__label_focused {
  margin-top: 7px;
  font-size: 10px;
  color: #9397a1;
}

.o-form__label_focused.o-form__label_textarea {
  width: calc(100% - 24px);
  margin-top: 1px;
  padding-top: 6px;
  background-color: #FFFFFF;
}

input::-ms-clear {
  display: none;
}

.o-form__input,
.o-form__input_textarea {
  display: block;
  width: 100%;
  border: 1px solid #E7EAED;
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-style: normal;
  color: #42454D;
}

.o-form__input {
  height: 52px;
  padding: 24px 12px 8px;
}

.o-form__input:not(textarea) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o-form__input_textarea {
  height: 120px;
  padding: 24px 12px 16px;
  resize: none;
}

.o-form__input:focus,
.o-form__input_textarea:focus {
  border-color: rgba(95,140,229, 0.52);
  box-shadow: 0 0 0 2px rgba(95,140,229, 0.32);
}

.o-form__input.invalid {
  border: 1px solid rgba(231,86,113, 0.72)
}

.o-invalid-message {
  display: block;
  margin: -12px 0 16px;
  font-size: 12px;
  line-height: 16px;
  color: #E75671;
}

.o-form__label_static {
  display: block;
  margin-bottom: 8px;
}

.l-row {
  margin-bottom: 28px;
}

.l-row_24px {
  margin-bottom: 24px;
}

.l-text_row {
  margin-bottom: 8px;
}

.l-position_relative {
  position: relative;
}

.l-hidden {
  display: none;
}

.o-text_semibold {
  font-weight: 500;
}

.o-form__info-block {
  padding: 8px 16px;
  background-color: rgba(95, 140, 229, 0.12);
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 16px;
  color: #5F8CE5;
}

.o-form__input-attach {
  cursor: pointer;
}

.o-form__attach-icon,
.o-form__delete-attach-icon {
  width: 32px;
  height: 32px;
  position: absolute;
  right: 9px;
  top: 10px;
  cursor: pointer;
}

.o-form__attach-icon:hover,
.o-form__input-attach:hover + .o-form__attach-icon {
  background-color: #F3F4F5;
  border-radius: 4px;
}

.o-form__delete-attach-icon {
  width: 20px;
  height: 20px;
  top: 16px;
}

[class*="o-button"] {
  display: inline-block;
  cursor: pointer;
  height: 44px;
  padding: 0 20px;
  line-height: 42px;
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  text-align: center;
  font-weight: 400;
  text-decoration: none !important;
  transition: color, background-color, opacity 300ms ease 0s;
}

[class*="o-button"] + [class*="o-button"] {
  margin-left: 8px;
}

.o-button {
  background-color: transparent;
  border-color: rgba(186,64,117, .32);
  color: #BA4075;
}

.o-button:hover {
  background-color: rgba(186,64,117, .08);
  border-color: rgba(186,64,117, 0.32);
}

.o-button_primary {
  background-color: #ba4075;
  color: #FFFFFF;
  border-color: #ba4075;
}

.o-button_primary:hover {
  background-color: rgba(186,64,117, .92);
  border-color: rgba(186,64,117, 0.92);
}

.o-select {
  height: 52px;
  padding: 16px 12px;
  border: 1px solid #E7EAED;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin-bottom: 28px;
}

.o-select__icon {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 18px;
  right: 12px;
}

.o-select__list {
  display: none;
  width: 100%;
  position: absolute;
  margin-top: 0;
  left: 0;
  top: 100%;
  padding: 4px 0;
  border-radius: 2px;
  box-shadow: 0 0 20px 1px rgb(69 72 80 / 20%);
  background-color: #FFFFFF;
  border: 1px solid #E7EAED;
}

.o-select__list.show {
  display: block;
}

.o-select__item {
  padding: 10px 12px;
  cursor: pointer;
}

.o-select__item:hover {
  background-color: #F3F4F5;
}

.o-select__caption {
  margin-top: -20px;
  margin-bottom: 16px;
  color: #9397A1;
  font-size: 12px;
}


.o-cert-path {
  margin-bottom: 8px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .o-form__label_textarea.o-form__label_focused {
    width: calc(100% - 30px);
  }
}
